Bug 1597356 [wpt PR 20304] - Update interfaces/html.idl, a=testonly
authorautofoolip <auto@foolip.org>
Tue, 26 Nov 2019 11:30:39 +0000
changeset 504665 e51dc063cb324982b287fcd6241ccfcff03e8e89
parent 504664 bc499875c01424630cbcdbfbf710fbf4b19ef345
child 504666 47c49171df3014360821e3168b0a1a8c414f60db
push id101897
push userwptsync@mozilla.com
push dateFri, 29 Nov 2019 11:10:32 +0000
treeherderautoland@47be1b3fdda6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1597356, 20304
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1597356 [wpt PR 20304] - Update interfaces/html.idl, a=testonly Automatic update from web-platform-tests Update interfaces/html.idl (#20304) Source: https://github.com/tidoust/reffy-reports/blob/adea44d/ed/idl/html.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/614299242 -- wpt-commits: de791ce15ebbacea695f3ee3aef4a64988f8bb70 wpt-pr: 20304
testing/web-platform/tests/interfaces/html.idl
--- a/testing/web-platform/tests/interfaces/html.idl
+++ b/testing/web-platform/tests/interfaces/html.idl
@@ -1161,19 +1161,20 @@ interface SubmitEvent : Event {
 
   readonly attribute HTMLElement? submitter;
 };
 
 dictionary SubmitEventInit : EventInit {
   HTMLElement? submitter = null;
 };
 
-[Exposed=Window,
- Constructor(DOMString type, optional FormDataEventInit eventInitDict = {})]
+[Exposed=Window]
 interface FormDataEvent : Event {
+  constructor(DOMString type, FormDataEventInit eventInitDict);
+
   readonly attribute FormData formData;
 };
 
 dictionary FormDataEventInit : EventInit {
   required FormData formData;
 };
 
 [Exposed=Window]
@@ -2006,18 +2007,18 @@ partial interface mixin NavigatorID {
 };
 
 interface mixin NavigatorLanguage {
   readonly attribute DOMString language;
   readonly attribute FrozenArray<DOMString> languages;
 };
 
 interface mixin NavigatorContentUtils {
-  void registerProtocolHandler(DOMString scheme, USVString url, DOMString title);
-  void unregisterProtocolHandler(DOMString scheme, USVString url);
+  [SecureContext] void registerProtocolHandler(DOMString scheme, USVString url, DOMString title);
+  [SecureContext] void unregisterProtocolHandler(DOMString scheme, USVString url);
 };
 
 interface mixin NavigatorCookies {
   readonly attribute boolean cookieEnabled;
 };
 
 interface mixin NavigatorPlugins {
   [SameObject] readonly attribute PluginArray plugins;