Crash under PlatformPopupMenuData::encode when interacting with a select menu that...
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Sep 2018 19:30:46 +0000 (19:30 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Sep 2018 19:30:46 +0000 (19:30 +0000)
commite59fb902800e6e0825848553d1b2a4cc67f25952
treee8890cb381048fec514d69bc27534676486d7218
parenta8243fb21c840dd27560481095fd398b31ef7987
Crash under PlatformPopupMenuData::encode when interacting with a select menu that has variable fonts
https://bugs.webkit.org/show_bug.cgi?id=188008

Reviewed by Alex Christensen.

Source/WebKit:

This patch is a follow-up to https://bugs.webkit.org/show_bug.cgi?id=180307.
Variable fonts have CFDictionaries with non-string keys. We need to support that in our IPC code.

* Shared/cf/ArgumentCodersCF.cpp:
(IPC::encode):
(IPC::decode):

LayoutTests:

* fast/text/variations/ipc2-expected.txt: Added.
* fast/text/variations/ipc2.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/variations/ipc2-expected.txt [new file with mode: 0644]
LayoutTests/fast/text/variations/ipc2.html [new file with mode: 0644]
Source/WebKit/ChangeLog
Source/WebKit/Shared/cf/ArgumentCodersCF.cpp