Backed out 2 changesets (bug 1364025) for wpt2 failures in /css/css-tables/table-model-fixup-2.html on a CLOSED TREE
authorshindli <shindli@mozilla.com>
Fri, 23 Feb 2018 09:09:07 +0200
changeset 759107 a41cadccb3ae2882dc486e722fd9f6dec15bf722
parent 759106 6e3058771f18095d54e387713f60c15a6ff55fea
child 759108 3701ed1b61bb93f05551726af8610d4af7d14a1e
push id100272
push userrwood@mozilla.com
push dateFri, 23 Feb 2018 18:27:33 +0000
bugs1364025
milestone60.0a1
backs outd2a26faa304293e281cf1745e468ebf3026ca3ba
8f43644be461fc85d12226b6d35cb078cb5c4b8d
Backed out 2 changesets (bug 1364025) for wpt2 failures in /css/css-tables/table-model-fixup-2.html on a CLOSED TREE Backed out changeset d2a26faa3042 (bug 1364025) Backed out changeset 8f43644be461 (bug 1364025)
dom/webidl/Document.webidl
testing/web-platform/meta/fullscreen/interfaces.html.ini
testing/web-platform/tests/payment-request/interfaces.https.html
--- a/dom/webidl/Document.webidl
+++ b/dom/webidl/Document.webidl
@@ -229,17 +229,17 @@ partial interface Document {
   readonly attribute unsigned long referrerPolicy;
 
 };
 
 // https://fullscreen.spec.whatwg.org/#api
 partial interface Document {
   // Note: Per spec the 'S' in these two is lowercase, but the "Moz"
   // versions have it uppercase.
-  [LenientSetter, Unscopable, Func="nsDocument::IsUnprefixedFullscreenEnabled"]
+  [LenientSetter, Func="nsDocument::IsUnprefixedFullscreenEnabled"]
   readonly attribute boolean fullscreen;
   [BinaryName="fullscreen"]
   readonly attribute boolean mozFullScreen;
   [LenientSetter, Func="nsDocument::IsUnprefixedFullscreenEnabled", NeedsCallerType]
   readonly attribute boolean fullscreenEnabled;
   [BinaryName="fullscreenEnabled", NeedsCallerType]
   readonly attribute boolean mozFullScreenEnabled;
 
--- a/testing/web-platform/meta/fullscreen/interfaces.html.ini
+++ b/testing/web-platform/meta/fullscreen/interfaces.html.ini
@@ -1,12 +1,15 @@
 [interfaces.html]
   [Document interface: operation exitFullscreen()]
     expected: FAIL
 
+  [Unscopable handled correctly for fullscreen property on Document]
+    expected: FAIL
+
   [ShadowRoot interface: attribute fullscreenElement]
     expected: FAIL
 
   [Element interface: operation requestFullscreen()]
     expected: FAIL
 
   [Element interface: attribute onfullscreenchange]
     expected: FAIL
--- a/testing/web-platform/tests/payment-request/interfaces.https.html
+++ b/testing/web-platform/tests/payment-request/interfaces.https.html
@@ -2,24 +2,25 @@
 <meta charset=utf-8>
 <title>Payment Request interface IDL tests</title>
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script src=/resources/WebIDLParser.js></script>
 <script src=/resources/idlharness.js></script>
 <script>
 promise_test(async () => {
+  const idlURLs = ["/interfaces/dom.idl", "/interfaces/payment-request.idl"];
   const idlArray = new IdlArray();
-  const dom_idl = await fetch("/interfaces/dom.idl").then(r => r.text());
-  const pr_idl = await fetch("/interfaces/payment-request.idl").then(r => r.text());
-  idlArray.add_untested_idls(dom_idl);
-  idlArray.add_idls(pr_idl);
+  for(const url of idlURLs){
+    const idlText = await fetch(url).then(r => r.text());
+    idlArray.add_idls(idlText);
+  }
   // typedef EventHandler from HTML
   // https://html.spec.whatwg.org/#eventhandler
-  idlArray.add_untested_idls(`
+  idlArray.add_idls(`
     [TreatNonObjectAsNull]
     callback EventHandlerNonNull = any (Event event);
     typedef EventHandlerNonNull? EventHandler;
   `);
   const methods = "[{supportedMethods: 'foo'}]";
   const amount = "{currency: 'USD', value: '0'}";
   const details = `{total: {label: 'bar', amount: ${amount}} }`;
   idlArray.add_objects({