[webkit-changes] [WebKit/WebKit] 69414c: Implement UI process side of getFrame and getAllFr...

2023-11-11 Thread Brian Weinstein
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 69414c30375b5099697bf2b350d7c8f3576a5d58
  
https://github.com/WebKit/WebKit/commit/69414c30375b5099697bf2b350d7c8f3576a5d58
  Author: Brian Weinstein 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M 
Source/WebKit/UIProcess/Extensions/Cocoa/API/WebExtensionContextAPIWebNavigationCocoa.mm
M Source/WebKit/UIProcess/Extensions/WebExtensionContext.h
M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPIWebNavigation.mm

  Log Message:
  ---
  Implement UI process side of getFrame and getAllFrames
https://bugs.webkit.org/show_bug.cgi?id=264686
rdar://118278958

Reviewed by Timothy Hatcher.

This patch sets up basic frame traversal APIs to:
1) Iterate all frames, adding their WebExtensionFrameParameters to a vector
2) Find a frame in a subtree

* 
Source/WebKit/UIProcess/Extensions/Cocoa/API/WebExtensionContextAPIWebNavigationCocoa.mm:
(WebKit::frameParametersForFrame): Set up the various parts of the 
WebExtensionFrameParameters object.
(WebKit::WebExtensionContext::webNavigationTraverseFrameTreeForFrame): Traverse 
the frame and subframes recursively.
(WebKit::WebExtensionContext::webNavigationFindFrameIdentifierInFrameTree): 
Find the frame with the given identifier recursively.
(WebKit::WebExtensionContext::webNavigationGetFrame): Call into 
webNavigationFindFrameIdentifierInFrameTree.
(WebKit::WebExtensionContext::webNavigationGetAllFrames): Call into 
webNavigationTraverseFrameTreeForFrame.
* Source/WebKit/UIProcess/Extensions/WebExtensionContext.h:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPIWebNavigation.mm:
(TestWebKitAPI::TEST): Add tests for webNavigation.getAllFrames and 
webNavigation.getFrame (for both the main frame and subframes).

Canonical link: https://commits.webkit.org/270608@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 4a22b9: Add missing 'optional' for 'setConfiguration' in '...

2023-11-11 Thread Ahmad Saleem
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4a22b9997c9a0303a898d7b4838f70b5a0abfdda
  
https://github.com/WebKit/WebKit/commit/4a22b9997c9a0303a898d7b4838f70b5a0abfdda
  Author: Ahmad Saleem 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M 
LayoutTests/imported/w3c/web-platform-tests/webrtc/idlharness.https.window-expected.txt
M Source/WebCore/Modules/mediastream/RTCPeerConnection.idl

  Log Message:
  ---
  Add missing 'optional' for 'setConfiguration' in 'RTCPeerConnection.idl' as 
per WebIDL Specification

https://bugs.webkit.org/show_bug.cgi?id=264565

Reviewed by Eric Carlson.

This patch is to align WebKit with Gecko / Firefox, Blink / Chromium and 
Web-Specification [1].

[1] https://w3c.github.io/webrtc-pc/#interface-definition

This PR is adding missing 'optional' in 'setConfiguration' as required by web 
specification.

* Source/WebCore/Modules/mediastream/RTCPeerConnection.idl:
* 
LayoutTests/imported/w3c/web-platform-tests/webrtc/idlharness.https.window-expected.txt:
 Rebaselined

Canonical link: https://commits.webkit.org/270607@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] eec858: Allow run-jsc-stress-tests shell runner can be pau...

2023-11-11 Thread Zhifei Fang
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eec858ecd19fcaa0517ad063622481cdfe54577a
  
https://github.com/WebKit/WebKit/commit/eec858ecd19fcaa0517ad063622481cdfe54577a
  Author: Zhifei Fang 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M Tools/Scripts/jsc-stress-test-helpers/shell-runner.sh

  Log Message:
  ---
  Allow run-jsc-stress-tests shell runner can be paused when running
https://bugs.webkit.org/show_bug.cgi?id=263142
rdar://116938793

Reviewed by Alexey Proskuryakov.

Pausing the running of the test is needed when JSC test is running on embedded 
devices, specially, those devices will need some time to get charged. JSC test 
can drain the battery to 0 quickly.

* Tools/Scripts/jsc-stress-test-helpers/shell-runner.sh:

Canonical link: https://commits.webkit.org/270606@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 3a15e7: Sync 'setSelectionRange' in 'HTMLTextAreaElement.i...

2023-11-11 Thread Ahmad Saleem
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a15e783eb813a35b1fe3c651a0c5fc0c131e05d
  
https://github.com/WebKit/WebKit/commit/3a15e783eb813a35b1fe3c651a0c5fc0c131e05d
  Author: Ahmad Saleem 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M LayoutTests/fast/dom/non-numeric-values-numeric-parameters-expected.txt
M LayoutTests/fast/dom/non-numeric-values-numeric-parameters.html
M 
LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
M 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
M 
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
M 
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
M Source/WebCore/html/HTMLTextAreaElement.idl

  Log Message:
  ---
  Sync 'setSelectionRange' in 'HTMLTextAreaElement.idl' with WebIDL 
Specification

https://bugs.webkit.org/show_bug.cgi?id=264673

Reviewed by Chris Dumez.

This patch aligns WebKit with Blink / Chromium, Gecko / Firefox and 
Web-Specification [1].

[1] 
https://html.spec.whatwg.org/multipage/form-elements.html#htmltextareaelement

This patch removes 'optional' and '=0' from 'setSelectionRange' arguments as 
stated.

* Source/WebCore/html/HTMLTextAreaElement.idl:
* 
LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt:
 Rebaselined
* 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt:
 Rebaselined
* 
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt:
 Rebaselined
* 
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt:
 Rebaselined
* LayoutTests/fast/dom/non-numeric-values-numeric-parameters.html: Rebaselined
* LayoutTests/fast/dom/non-numeric-values-numeric-parameters-expected.txt: 
Rebaselined

Canonical link: https://commits.webkit.org/270605@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 1149ea: Sync 'HTMLIFrameElement.idl' with WebIDL Specifica...

2023-11-11 Thread Ahmad Saleem
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1149eaa3c4cb38346440415943f4567ad52b0e5f
  
https://github.com/WebKit/WebKit/commit/1149eaa3c4cb38346440415943f4567ad52b0e5f
  Author: Ahmad Saleem 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M Source/WebCore/html/HTMLIFrameElement.idl

  Log Message:
  ---
  Sync 'HTMLIFrameElement.idl' with WebIDL Specification

https://bugs.webkit.org/show_bug.cgi?id=264682

Reviewed by Chris Dumez.

This patch just aligns WebKit with Web-Specifications [1] & [2] and also add 
any missing '?' and 'SameObject'.

[1] 
https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmliframeelement
[2] 
https://html.spec.whatwg.org/multipage/obsolete.html#HTMLIFrameElement-partial

* Source/WebCore/html/HTMLIFrameElement.idl:

Canonical link: https://commits.webkit.org/270604@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 29d1f6: REGRESSION (270339@main): [ iOS17 ] TestWebKitAPI....

2023-11-11 Thread Tim Horton
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 29d1f69555f62b76db48809ab344b369e4e31603
  
https://github.com/WebKit/WebKit/commit/29d1f69555f62b76db48809ab344b369e4e31603
  Author: Tim Horton 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M Source/WebKit/UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm

  Log Message:
  ---
  REGRESSION (270339@main): [ iOS17 ] TestWebKitAPI.WebKit.InvalidConfiguration 
is a crash failure
https://bugs.webkit.org/show_bug.cgi?id=264609
rdar://118242512

Reviewed by Alex Christensen.

* Source/WebKit/UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm:
(-[WKWebViewContentProviderRegistry initWithConfiguration:]):
ObjC null rules stop applying when you start using C++ ivars.

Canonical link: https://commits.webkit.org/270603@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 741ed2: AX: Import accname WPTs 11/11/2023

2023-11-11 Thread Tyler Wilcock
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 741ed20387928339563f03fe09d3b5cb57b49a28
  
https://github.com/WebKit/WebKit/commit/741ed20387928339563f03fe09d3b5cb57b49a28
  Author: Tyler Wilcock 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_embedded_control-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_embedded_control.html
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_hidden_not_referenced-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_hidden_not_referenced.html
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_host_language_label-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_labelledby-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_labelledby.html
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content.html
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_text_node-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_text_node.html
M 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip.html
M LayoutTests/platform/mac/TestExpectations

  Log Message:
  ---
  AX: Import accname WPTs 11/11/2023
https://bugs.webkit.org/show_bug.cgi?id=264681
rdar://118277513

Reviewed by Chris Fleizach.

Import accname test at upstream commit:
https://github.com/web-platform-tests/wpt/commit/46476776fdbf0a62522621002ba8af68e4d478b6

* 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_embedded_control-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_embedded_control.html:
* 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_hidden_not_referenced-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_hidden_not_referenced.html:
* 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_host_language_label-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_labelledby-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_labelledby.html:
* 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content.html:
* 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_text_node-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_text_node.html:
* 
LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip.html:
* LayoutTests/platform/mac/TestExpectations:
accname/name/comp_host_language_label.html is not failing on Sonoma, so remove 
this expectation.

Canonical link: https://commits.webkit.org/270602@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] fed843: [WPE][Debug] Garden some more scrolling assertion ...

2023-11-11 Thread Claudio Saavedra
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fed843be93429ad9a7298a922754da371d5dfc06
  
https://github.com/WebKit/WebKit/commit/fed843be93429ad9a7298a922754da371d5dfc06
  Author: Claudio Saavedra 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M LayoutTests/platform/wpe/TestExpectations

  Log Message:
  ---
  [WPE][Debug] Garden some more scrolling assertion crashes
https://bugs.webkit.org/show_bug.cgi?id=264688

Unreviewed gardening

* LayoutTests/platform/wpe/TestExpectations:

Canonical link: https://commits.webkit.org/270601@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 819eeb: Remove getComputedStyle-transform.html in favor of...

2023-11-11 Thread Commit Queue
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 819eebeff6f56bd6bc6c6f77c220c35eb44d2d6e
  
https://github.com/WebKit/WebKit/commit/819eebeff6f56bd6bc6c6f77c220c35eb44d2d6e
  Author: Joone Hur 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
R 
LayoutTests/fast/css/getComputedStyle/getComputedStyle-transform-expected.txt
R LayoutTests/fast/css/getComputedStyle/getComputedStyle-transform.html

  Log Message:
  ---
  Remove getComputedStyle-transform.html in favor of WPT test case
https://bugs.webkit.org/show_bug.cgi?id=264640
Reviewed by Tim Nguyen.

The test file getComputedStyle-transform.html has been renamed to 
2d-transform-inline-js.html
and has been exported to the Web Platform Tests repository:
LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/2d-transform-inline-js.html

This change is detailed in PR: https://github.com/WebKit/WebKit/pull/19896.
As a result, we need to remove the original 
test(getComputedStyle-transform.html) and its expected result.

* 
LayoutTests/fast/css/getComputedStyle/getComputedStyle-transform-expected.txt: 
Removed.
* LayoutTests/fast/css/getComputedStyle/getComputedStyle-transform.html: 
Removed.

Canonical link: https://commits.webkit.org/270600@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 0ddbf5: Port CredentialPersistence to the new serializatio...

2023-11-11 Thread Claudio Saavedra
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0ddbf5c0c6b8f939705ff74f6008467bc92fad3f
  
https://github.com/WebKit/WebKit/commit/0ddbf5c0c6b8f939705ff74f6008467bc92fad3f
  Author: Claudio Saavedra 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M Source/WebCore/platform/network/CredentialBase.cpp
M Source/WebCore/platform/network/CredentialBase.h
M Source/WebCore/platform/network/cocoa/CredentialCocoa.mm
M Source/WebCore/platform/network/mac/ResourceHandleMac.mm
M Source/WebCore/platform/network/soup/NetworkStorageSessionSoup.cpp
M Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm
M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm
M Source/WebKit/NetworkProcess/curl/NetworkDataTaskCurl.cpp
M Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
M Source/WebKit/UIProcess/API/C/WKAPICast.h
M Source/WebKit/UIProcess/API/glib/WebKitCredential.cpp
M Source/WebKit/UIProcess/API/gtk/WebKitAuthenticationDialog.cpp

  Log Message:
  ---
  Port CredentialPersistence to the new serialization format
https://bugs.webkit.org/show_bug.cgi?id=264661

Reviewed by Chris Dumez.

Remove EnumTraits for CredentialPersistence and
port the enum to a serializable format.

* Source/WebCore/platform/network/CredentialBase.cpp:
(WebCore::CredentialBase::CredentialBase):
* Source/WebCore/platform/network/CredentialBase.h:
(): Deleted.
* Source/WebCore/platform/network/cocoa/CredentialCocoa.mm:
(WebCore::toNSURLCredentialPersistence):
(WebCore::toCredentialPersistence):
* Source/WebCore/platform/network/mac/ResourceHandleMac.mm:
(WebCore::ResourceHandle::createNSURLConnection):
(WebCore::ResourceHandle::tryHandlePasswordBasedAuthentication):
(WebCore::ResourceHandle::receivedCredential):
* Source/WebCore/platform/network/soup/NetworkStorageSessionSoup.cpp:
(WebCore::NetworkStorageSession::getCredentialFromPersistentStorage):
* Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:
(WebKit::NetworkDataTaskCocoa::NetworkDataTaskCocoa):
(WebKit::NetworkDataTaskCocoa::tryPasswordBasedAuthentication):
* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(WebKit::CompletionHandlerhttps://commits.webkit.org/270599@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] e55ad8: Remove EnumTraits for ResourceErrorBase::Type

2023-11-11 Thread Claudio Saavedra
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e55ad8994829d8db4a003596ca5ab79e613ab794
  
https://github.com/WebKit/WebKit/commit/e55ad8994829d8db4a003596ca5ab79e613ab794
  Author: Claudio Saavedra 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M Source/WebCore/platform/network/ResourceErrorBase.h
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  ---
  Remove EnumTraits for ResourceErrorBase::Type
https://bugs.webkit.org/show_bug.cgi?id=264662

Reviewed by Chris Dumez.

Use the generator instead.

* Source/WebCore/platform/network/ResourceErrorBase.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

Canonical link: https://commits.webkit.org/270598@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 29542e: [GTK][WPE] Mark flaky tests on Nov2023

2023-11-11 Thread Carlos Alberto Lopez Perez
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 29542e2053bb6c057512e42ec48665e5ce802316
  
https://github.com/WebKit/WebKit/commit/29542e2053bb6c057512e42ec48665e5ce802316
  Author: Carlos Alberto Lopez Perez 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M LayoutTests/platform/glib/TestExpectations
M LayoutTests/platform/gtk/TestExpectations
M LayoutTests/platform/wpe/TestExpectations

  Log Message:
  ---
  [GTK][WPE] Mark flaky tests on Nov2023
https://bugs.webkit.org/show_bug.cgi?id=264680

Unreviewed test gardening.

Mark several flaky tests found after bot data analysis
on the last two weeks.

* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/gtk/TestExpectations:
* LayoutTests/platform/wpe/TestExpectations:

Canonical link: https://commits.webkit.org/270597@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 6b051c: Generate IPC serialization for enumerations under ...

2023-11-11 Thread Žan Doberšek
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6b051cebfd814c82ce3f264fb2b3d96c4d42f964
  
https://github.com/WebKit/WebKit/commit/6b051cebfd814c82ce3f264fb2b3d96c4d42f964
  Author: Žan Doberšek 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M Source/WebCore/Modules/applepay/ApplePayLaterAvailability.h
M Source/WebCore/Modules/applepay/ApplePaySessionPaymentRequest.h
M Source/WebCore/Modules/applepay/ApplePayShippingContactEditingMode.h
M Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in

  Log Message:
  ---
  Generate IPC serialization for enumerations under WebCore/applepay/
https://bugs.webkit.org/show_bug.cgi?id=264408

Reviewed by Chris Dumez.

Move ApplePaySessionPaymentRequest::ShippingType enumeration outside the
ApplePaySessionPaymentRequest class scope and specify its underlying type alias
uint8_t, providing a type alias inside that class.

This allows specifying IPC serialization for this enumeration as well as the
ApplePayLaterAvailability and ApplePayShippingContactEditingMode enumerations,
enabling removal of the now-redundant EnumTraits specializations.

* Source/WebCore/Modules/applepay/ApplePayLaterAvailability.h:
* Source/WebCore/Modules/applepay/ApplePaySessionPaymentRequest.h:
* Source/WebCore/Modules/applepay/ApplePayShippingContactEditingMode.h:
* Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in:

Canonical link: https://commits.webkit.org/270596@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] ecd392: Generate IPC serialization for enumerations under ...

2023-11-11 Thread Žan Doberšek
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ecd3922c569d1ac9865d1d6040e3cc23ca5855c3
  
https://github.com/WebKit/WebKit/commit/ecd3922c569d1ac9865d1d6040e3cc23ca5855c3
  Author: Žan Doberšek 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M 
Source/WebCore/workers/service/background-fetch/BackgroundFetchFailureReason.h
M Source/WebCore/workers/service/background-fetch/BackgroundFetchResult.h
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  ---
  Generate IPC serialization for enumerations under WebCore/workers
https://bugs.webkit.org/show_bug.cgi?id=264563

Reviewed by Chris Dumez.

Remove EnumTraits specializations for the BackgroundFetchFailureReason and
BackgroundFetchResult enumerations. Instead, provide IPC serialization
specification for the two enumerations in the WebCoreArgumentCoders
serialization input file.

* 
Source/WebCore/workers/service/background-fetch/BackgroundFetchFailureReason.h:
* Source/WebCore/workers/service/background-fetch/BackgroundFetchResult.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

Canonical link: https://commits.webkit.org/270595@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 779341: [GStreamer] Media tests gardening

2023-11-11 Thread Philippe Normand
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 779341c3fd1e5f3f82de072b6ee495eaf2da4853
  
https://github.com/WebKit/WebKit/commit/779341c3fd1e5f3f82de072b6ee495eaf2da4853
  Author: Philippe Normand 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M LayoutTests/platform/glib/TestExpectations
M 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/media-capabilities/encodingInfo.webrtc-expected.txt
M LayoutTests/platform/gtk/TestExpectations
M LayoutTests/platform/wpe/TestExpectations

  Log Message:
  ---
  [GStreamer] Media tests gardening
https://bugs.webkit.org/show_bug.cgi?id=264670

Unreviewed.

* LayoutTests/platform/glib/TestExpectations:
* 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/media-capabilities/encodingInfo.webrtc-expected.txt:
* LayoutTests/platform/gtk/TestExpectations:
* LayoutTests/platform/wpe/TestExpectations:

Canonical link: https://commits.webkit.org/270594@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 76bc3f: [GStreamer] Ignore early EOS only when not looping

2023-11-11 Thread Commit Queue
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 76bc3f4aa79352cdd1693bc793f689ba87d8094c
  
https://github.com/WebKit/WebKit/commit/76bc3f4aa79352cdd1693bc793f689ba87d8094c
  Author: Marek Vasut 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

  Log Message:
  ---
  [GStreamer] Ignore early EOS only when not looping
https://bugs.webkit.org/show_bug.cgi?id=264398

Reviewed by Philippe Normand.

When playing video in a loop using HTML5 video element, the Gstreamer
debug log sometimes contains the following message, which prevents the
WPE from correctly stopping the playback before restarting it for the
next loop and the playback ends up paused forever:

```
webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1851:handleMessage: 
EOS received but position {2382333/10 = 23.82333} is still in 
the finite playable limits [{0/1 = 0}, {2382833/10 = 
23.82833}], ignoring it
```

Ignore early EOS only when not looping, otherwise unconditionally
indicate the stream has ended.

* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::handleMessage):

Canonical link: https://commits.webkit.org/270593@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] aabc9b: Make some JSC stress tests less chatty.

2023-11-11 Thread Commit Queue
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: aabc9b41ae910e7fd00bce6c7908580f07fa05f6
  
https://github.com/WebKit/WebKit/commit/aabc9b41ae910e7fd00bce6c7908580f07fa05f6
  Author: Mark Lam 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M JSTests/stress/date-set-time-purify-nan.js
M JSTests/stress/regress-109102631.js

  Log Message:
  ---
  Make some JSC stress tests less chatty.
https://bugs.webkit.org/show_bug.cgi?id=264659
rdar://118266600

Reviewed by Alexey Shvayka.

Convert their prints into silent result checks, and throw on failure.

* JSTests/stress/date-set-time-purify-nan.js:
* JSTests/stress/regress-109102631.js:

Canonical link: https://commits.webkit.org/270592@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 5374da: Remove some unused code in UnlinkedCodeBlockGenera...

2023-11-11 Thread Commit Queue
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5374daebf39eb25d60c2370214aa23dfe4c10842
  
https://github.com/WebKit/WebKit/commit/5374daebf39eb25d60c2370214aa23dfe4c10842
  Author: Mark Lam 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M Source/JavaScriptCore/bytecode/UnlinkedCodeBlockGenerator.cpp
M Source/JavaScriptCore/bytecode/UnlinkedCodeBlockGenerator.h

  Log Message:
  ---
  Remove some unused code in UnlinkedCodeBlockGenerator.
https://bugs.webkit.org/show_bug.cgi?id=264656
rdar://118265956

Reviewed by Alexey Shvayka.

* Source/JavaScriptCore/bytecode/UnlinkedCodeBlockGenerator.cpp:
(JSC::UnlinkedCodeBlockGenerator::getLineAndColumn const): Deleted.
* Source/JavaScriptCore/bytecode/UnlinkedCodeBlockGenerator.h:

Canonical link: https://commits.webkit.org/270591@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 9ff407: [CSS] @scope parsing

2023-11-11 Thread Matthieu Dubet
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9ff40711991962a45f64cc0c36beec81d5eb7367
  
https://github.com/WebKit/WebKit/commit/9ff40711991962a45f64cc0c36beec81d5eb7367
  Author: Matthieu Dubet 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/at-scope-parsing-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/at-scope-parsing.html
M 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/idlharness-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-cssom-expected.txt
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/CMakeLists.txt
M Source/WebCore/DerivedSources-input.xcfilelist
M Source/WebCore/DerivedSources-output.xcfilelist
M Source/WebCore/DerivedSources.make
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/bindings/js/JSCSSRuleCustom.cpp
M Source/WebCore/bindings/js/WebCoreBuiltinNames.h
M Source/WebCore/contentextensions/ContentExtensionParser.cpp
M Source/WebCore/css/CSSPageRule.cpp
A Source/WebCore/css/CSSScopeRule.cpp
A Source/WebCore/css/CSSScopeRule.h
A Source/WebCore/css/CSSScopeRule.idl
M Source/WebCore/css/CSSStyleRule.cpp
M Source/WebCore/css/StyleRule.cpp
M Source/WebCore/css/StyleRule.h
M Source/WebCore/css/StyleRuleType.h
M Source/WebCore/css/StyleSheetContents.cpp
M Source/WebCore/css/parser/CSSAtRuleID.cpp
M Source/WebCore/css/parser/CSSAtRuleID.h
M Source/WebCore/css/parser/CSSParser.cpp
M Source/WebCore/css/parser/CSSParser.h
M Source/WebCore/css/parser/CSSParserContext.cpp
M Source/WebCore/css/parser/CSSParserContext.h
M Source/WebCore/css/parser/CSSParserEnum.h
M Source/WebCore/css/parser/CSSParserImpl.cpp
M Source/WebCore/css/parser/CSSParserImpl.h
M Source/WebCore/css/parser/CSSSelectorParser.cpp
M Source/WebCore/css/parser/CSSSelectorParser.h
M Source/WebCore/dom/SelectorQuery.cpp
M Source/WebCore/inspector/InspectorStyleSheet.cpp
M Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
M Source/WebCore/style/RuleSetBuilder.cpp
M Source/WebCore/testing/Internals.cpp

  Log Message:
  ---
  [CSS] @scope parsing
https://bugs.webkit.org/show_bug.cgi?id=264498
rdar://118180841

Reviewed by Antti Koivisto.

This is boilerplate code to add initial
support for the @scope CSS rule and its parsing.

https://drafts.csswg.org/css-cascade-6/#scope-syntax

It also contains a renaming of "parseCSSSelector" to the more exact name 
"parseCSSSelectorList".

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/at-scope-parsing-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/at-scope-parsing.html:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/idlharness-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-cssom-expected.txt:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/JSCSSRuleCustom.cpp:
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
* Source/WebCore/contentextensions/ContentExtensionParser.cpp:
(WebCore::ContentExtensions::isValidCSSSelector):
* Source/WebCore/css/CSSPageRule.cpp:
(WebCore::CSSPageRule::setSelectorText):
* Source/WebCore/css/CSSScopeRule.cpp: Added.
(WebCore::CSSScopeRule::CSSScopeRule):
(WebCore::CSSScopeRule::create):
(WebCore::CSSScopeRule::styleRuleScope const):
(WebCore::CSSScopeRule::cssText const):
(WebCore::CSSScopeRule::start const):
(WebCore::CSSScopeRule::end const):
* Source/WebCore/css/CSSScopeRule.h: Added.
* Source/WebCore/css/CSSScopeRule.idl: Added.
* Source/WebCore/css/CSSStyleRule.cpp:
(WebCore::CSSStyleRule::setSelectorText):
* Source/WebCore/css/StyleRule.cpp:
(WebCore::StyleRuleBase::createCSSOMWrapper const):
(WebCore::StyleRuleBase::visitDerived):
(WebCore::StyleRuleWithNesting::StyleRuleWithNesting):
(WebCore::m_originalSelectorList):
(WebCore::StyleRuleWithNesting::create):
(WebCore::StyleRuleScope::create):
(WebCore::StyleRuleScope::copy const):
(WebCore::StyleRuleScope::StyleRuleScope):
(WebCore::StyleRuleScope::scopeStart const):
(WebCore::StyleRuleScope::scopeEnd const):
* Source/WebCore/css/StyleRule.h:
(WebCore::StyleRuleBase::isScopeRule const):
(isType):
* Source/WebCore/css/StyleRuleType.h:
* Source/WebCore/css/StyleSheetContents.cpp:
(WebCore::StyleSheetContents::traverseSubresources const):
* Source/WebCore/css/parser/CSSAtRuleID.cpp:
(WebCore::cssAtRuleID):
* Source/WebCore/css/parser/CSSAtRuleID.h:
* 

[webkit-changes] [WebKit/WebKit] f034bb: Add hasUAVisualTransition attribute to popState event

2023-11-11 Thread Rob Buis
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f034bb9b9246d75317a80d37f3f59e6f7520938d
  
https://github.com/WebKit/WebKit/commit/f034bb9b9246d75317a80d37f3f59e6f7520938d
  Author: Rob Buis 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M 
LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/PopStateEvent-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/PopStateEvent.html
M Source/WebCore/dom/PopStateEvent.cpp
M Source/WebCore/dom/PopStateEvent.h
M Source/WebCore/dom/PopStateEvent.idl

  Log Message:
  ---
  Add hasUAVisualTransition attribute to popState event
https://bugs.webkit.org/show_bug.cgi?id=259793

Reviewed by Brent Fulgham.

Add hasUAVisualTransition attribute to popState event as specified:
https://html.spec.whatwg.org/#dom-popstateeventinit-hasuavisualtransition

Also sync history-traversal/PopStateEvent.html *based on 17eb11d8d9) in order 
to test the attribute initial value.

* 
LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/PopStateEvent-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/PopStateEvent.html:
* Source/WebCore/dom/PopStateEvent.cpp:
(WebCore::PopStateEvent::PopStateEvent):
* Source/WebCore/dom/PopStateEvent.h:
* Source/WebCore/dom/PopStateEvent.idl:

Canonical link: https://commits.webkit.org/270589@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 3e2262: [WPE][GTK] Gardening of various layout test failur...

2023-11-11 Thread Philippe Normand
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3e2262b3476ecfb5666a35bcdd746d474c061b0d
  
https://github.com/WebKit/WebKit/commit/3e2262b3476ecfb5666a35bcdd746d474c061b0d
  Author: Philippe Normand 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M LayoutTests/platform/glib/TestExpectations
A LayoutTests/platform/glib/fast/dom/object-load-pdf-data-url-expected.txt
M LayoutTests/platform/glib/fast/overflow/line-clamp-expected.txt
M 
LayoutTests/platform/glib/fast/table/border-collapsing/002-vertical-expected.txt
A LayoutTests/platform/glib/fast/table/text-field-baseline-expected.txt
M LayoutTests/platform/glib/fetch/fetch-url-serialization-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-fonts/generic-family-keywords-002-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/ja/css-text-line-break-ja-in-loose-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/ja/css-text-line-break-ja-pr-normal-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/ja/css-text-line-break-ja-pr-strict-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/other-lang/css-text-line-break-de-in-loose-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/unknown-lang/css-text-line-break-cj-loose-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/unknown-lang/css-text-line-break-cj-normal-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/unknown-lang/css-text-line-break-in-loose-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/unknown-lang/css-text-line-break-iteration-loose-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/zh/css-text-line-break-zh-in-loose-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/zh/css-text-line-break-zh-pr-normal-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/zh/css-text-line-break-zh-pr-strict-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-001-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-first-line-001-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-ligature-001-expected.txt
M 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/fetch/metadata/report.https.sub-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=(Document_Window)-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8_include=history-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8_include=websocket-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251_include=history-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251_include=hyperlink-search-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251_include=websocket-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252_include=history-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252_include=hyperlink-search-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252_include=websocket-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252_include=websocket-search-expected.txt
M 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/semantics/disabled-elements/event-propagate-disabled-keyboard.tentative-expected.txt
M 

[webkit-changes] [WebKit/WebKit] f10ee4: Rework ArgumentCodersCocoa to get us much closer t...

2023-11-11 Thread Brady Eidson
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f10ee49ef636c10dd181239c2b624bf85a954ebc
  
https://github.com/WebKit/WebKit/commit/f10ee49ef636c10dd181239c2b624bf85a954ebc
  Author: Brady Eidson 
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
M Source/WebCore/platform/mac/SerializedPlatformDataCueMac.h
M Source/WebCore/platform/mac/SerializedPlatformDataCueMac.mm
M Source/WebKit/DerivedSources-input.xcfilelist
M Source/WebKit/DerivedSources.make
M Source/WebKit/Platform/IPC/Decoder.h
M Source/WebKit/Scripts/generate-serializers.py
M Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp
M Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.h
M Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm
A Source/WebKit/Shared/Cocoa/CoreIPCArray.h
A Source/WebKit/Shared/Cocoa/CoreIPCArray.serialization.in
A Source/WebKit/Shared/Cocoa/CoreIPCCFType.h
A Source/WebKit/Shared/Cocoa/CoreIPCCFType.serialization.in
A Source/WebKit/Shared/Cocoa/CoreIPCColor.h
A Source/WebKit/Shared/Cocoa/CoreIPCColor.serialization.in
M Source/WebKit/Shared/Cocoa/CoreIPCData.h
M Source/WebKit/Shared/Cocoa/CoreIPCDate.h
A Source/WebKit/Shared/Cocoa/CoreIPCDictionary.h
A Source/WebKit/Shared/Cocoa/CoreIPCDictionary.serialization.in
A Source/WebKit/Shared/Cocoa/CoreIPCFont.h
A Source/WebKit/Shared/Cocoa/CoreIPCFont.serialization.in
A Source/WebKit/Shared/Cocoa/CoreIPCNSCFObject.h
A Source/WebKit/Shared/Cocoa/CoreIPCNSCFObject.mm
A Source/WebKit/Shared/Cocoa/CoreIPCNSCFObject.serialization.in
A Source/WebKit/Shared/Cocoa/CoreIPCSecureCoding.h
A Source/WebKit/Shared/Cocoa/CoreIPCSecureCoding.mm
A Source/WebKit/Shared/Cocoa/CoreIPCSecureCoding.serialization.in
A Source/WebKit/Shared/Cocoa/CoreIPCString.h
A Source/WebKit/Shared/Cocoa/CoreIPCString.serialization.in
A Source/WebKit/Shared/Cocoa/CoreIPCURL.h
A Source/WebKit/Shared/Cocoa/CoreIPCURL.serialization.in
M Source/WebKit/Shared/Cocoa/WebIconUtilities.mm
M Source/WebKit/Shared/cf/CoreIPCNumber.h
M Source/WebKit/Shared/mac/WebCoreArgumentCodersMac.mm
M Source/WebKit/SourcesCocoa.txt
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
M Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm

  Log Message:
  ---
  Rework ArgumentCodersCocoa to get us much closer to generated serializers
https://bugs.webkit.org/show_bug.cgi?id=264588
rdar://118236121

Reviewed by Alex Christensen.

This changes introduces ObjC object wrappers.
Encoding an ObjC object directly creates a typed wrapper around it.

For wrappers around a type that we still do directly via ObjC (e.g. NSArray), 
encoding the wrapper
then ends up going down the old "encode ObjC directly" path.

This change has the following benefits:
1 - We now broadly use serialization.in files for all ObjC types.
2 - For catch-all types like SecureCoding, we can now easily break out 
individual types into
their own individual wrappers with individual serialization.
3 - So it follows, over time, the complicated logic in ArgumentCodersCocoa.mm 
can be whittled away.
4 - Having wrappers enables us to directly serialize collection types (like 
NSArray) without
relying on the existing ObjC code path

* Source/WebCore/platform/mac/SerializedPlatformDataCueMac.h:
* Source/WebCore/platform/mac/SerializedPlatformDataCueMac.mm:
(WebCore::SerializedPlatformDataCueMac::allowedClassesForNativeValues):
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/Platform/IPC/Decoder.h:
(IPC::Decoder::decodeWithAllowedClasses):
(IPC::Decoder::allowedClasses const):
* Source/WebKit/Scripts/generate-serializers.py:
(decode_type):
* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.h:
(IPC::CoreIPCRetainPtr::CoreIPCRetainPtr):
(IPC::isObjectClassAllowed):
(IPC::decodeRequiringAllowedClasses):
(IPC::ArgumentCoder>::encode):
(IPC::ArgumentCoder>::decode):
(IPC::decodeWithAllowedClasses): Deleted.
* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
(IPC::typeFromObject):
(IPC::encodeObjectDirectly):
(IPC::decodeObjectDirectlyRequiringAllowedClasses):
(IPC::encodeObjectDirectly):
(IPC::id>>):
(IPC::decodeObjectDirectlyRequiringAllowedClasses):
(IPC::encodeObjectDirectly):
(IPC::decodeObjectDirectlyRequiringAllowedClasses):
(IPC::encodeObjectDirectly>):
(IPC::shouldEnableStrictMode):
(IPC::decodeObjectDirectlyRequiringAllowedClasses>):
(IPC::encodeObjectDirectly):
(IPC::decodeObjectDirectlyRequiringAllowedClasses):
(IPC::encodeObjectWithWrapper):
(IPC::decodeObjectFromWrapper):
(IPC::encodeArrayInternal): Deleted.
(IPC::decodeArrayInternal): Deleted.
(IPC::encodeColorInternal): Deleted.
(IPC::decodeColorInternal): Deleted.
(IPC::encodeDataInternal): Deleted.
(IPC::decodeDataInternal): Deleted.
(IPC::encodeDateInternal): Deleted.
(IPC::decodeDateInternal): Deleted.
(IPC::encodeDictionaryInternal): Deleted.
(IPC::decodeDictionaryInternal):