Avoid using JSC::Strong in DeferredWrapper. This is needed to add “whenDefined” to CustomElementRegistry which needs to keep the promise until the global object goes away in some cases.
<rdar://problem/28091123>
Created attachment 287488 [details] Patch
Can you rebase to ToT please?
Created attachment 287494 [details] Updated for ToT
Attachment 287494 [details] did not pass style-queue: ERROR: Source/WebCore/bindings/js/JSDOMGlobalObject.h:37: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 26 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 287496 [details] CMake build fix attempt
Attachment 287496 [details] did not pass style-queue: ERROR: Source/WebCore/bindings/js/JSDOMGlobalObject.h:37: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 27 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 287496 [details] CMake build fix attempt View in context: https://bugs.webkit.org/attachment.cgi?id=287496&action=review r=me > Source/WebCore/Modules/applepay/ApplePaySession.cpp:736 > +void ApplePaySession::canMakePaymentsWithActiveCard(ScriptExecutionContext& scriptExecutionContext, const String& merchantIdentifier, Ref<DeferredWrapper>&& pasesdPromise, ExceptionCode& ec) passedPromise? > Source/WebCore/bindings/js/JSDOMGlobalObject.cpp:176 > + deferredWrapper->visitDeferred(visitor); We call functions like this "visitAggregate". I'm not sure I love that name, but let's use it to be consistent.
Committed r205257: <http://trac.webkit.org/changeset/205257>
Rebaselined binding tests in https://trac.webkit.org/changeset/205262.