This will be because: [ EnabledAtRuntime=ServiceWorkerEnabled ] partial interface ServiceWorkerGlobalScope { attribute EventHandler onpush; attribute EventHandler onpushsubscriptionchange; }; This isn't gated on Push API being enabled.
<rdar://problem/89154452>
Created attachment 452554 [details] Patch
Comment on attachment 452554 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452554&action=review > LayoutTests/http/wpt/push-api/onpush-disabled-expected.txt:3 > +PASS onpush > +PASS onpushsubscriptionchange Can you use more descriptive PASS messages like "onpush is not exposed when pref is disabled"? > LayoutTests/http/wpt/push-api/onpush-enabled-expected.txt:3 > +PASS onpush > +PASS onpushsubscriptionchange ditto
Comment on attachment 452554 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452554&action=review > Source/WebCore/Modules/push-api/ServiceWorkerGlobalScope+PushAPI.idl:28 > + EnabledAtRuntime=PushAPIEnabled Shouldn't this be `EnabledAtRuntime=ServiceWorkerEnabled&PushAPIEnabled` ?
Created attachment 452556 [details] [fast-cq] Patch
Comment on attachment 452556 [details] [fast-cq] Patch Clearing flags on attachment: 452556 Committed r290156 (247495@trunk): <https://commits.webkit.org/247495@trunk>
All reviewed patches have been landed. Closing bug.