mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1434913 - Make FetchEvent.clientId non-nullable r=mrbkap
Make FetchEvent.clientId non-nullable Differential Revision: https://phabricator.services.mozilla.com/D2789 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
f2c9b6dc47
commit
7e5a46ddbc
@ -12,7 +12,7 @@
|
||||
Exposed=(ServiceWorker)]
|
||||
interface FetchEvent : ExtendableEvent {
|
||||
[SameObject] readonly attribute Request request;
|
||||
readonly attribute DOMString? clientId;
|
||||
readonly attribute DOMString clientId;
|
||||
readonly attribute boolean isReload;
|
||||
|
||||
[Throws]
|
||||
@ -21,6 +21,6 @@ interface FetchEvent : ExtendableEvent {
|
||||
|
||||
dictionary FetchEventInit : EventInit {
|
||||
required Request request;
|
||||
DOMString? clientId = null;
|
||||
DOMString clientId = "";
|
||||
boolean isReload = false;
|
||||
};
|
||||
|
@ -2,9 +2,6 @@
|
||||
[Service Worker responds to fetch event with the correct keepalive value]
|
||||
expected: FAIL
|
||||
|
||||
[Service Worker responds to fetch event with an existing client id]
|
||||
expected: FAIL
|
||||
|
||||
[Service Worker responds to fetch event with the correct isReloadNavigation value]
|
||||
expected: FAIL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user