Chromium Code Reviews
DescriptionDisallow constructing the Notification object in a Service Worker.
Following the steps for the Notification constructor, we should throw
a TypeError when its called on the ServiceWorkerGlobalScope.
https://notifications.spec.whatwg.org/#constructors
This is part of a two-sided patch:
[1] https://codereview.chromium.org/930963002
[2] This patch.
BUG=459038
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190271
Patch Set 1 #
Total comments: 4
Patch Set 2 : comments #
Messages
Total messages: 8 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||