Bug 1382120 - Add 'allowPaymentRequest' into HTMLIFrameElement interface. r=baku
authorAlphan Chen <alchen@mozilla.com>
Fri, 21 Jul 2017 10:27:42 +0800
changeset 370590 93aa802eeb9da6ef8b78d63d99b741506b0f7c0f
parent 370589 3d14ed20c13133113b428e3e2a8635ca616bc63d
child 370591 2ceb8a5a3e409b0daf26fc0715b57976f0bf7d6b
push id32228
push userkwierso@gmail.com
push dateTue, 25 Jul 2017 01:06:49 +0000
treeherdermozilla-central@dcfb58fcb6dd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
bugs1382120
milestone56.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 1382120 - Add 'allowPaymentRequest' into HTMLIFrameElement interface. r=baku
dom/webidl/HTMLIFrameElement.webidl
testing/web-platform/meta/MANIFEST.json
testing/web-platform/meta/html/dom/interfaces.html.ini
testing/web-platform/meta/html/dom/reflection-embedded.html.ini
--- a/dom/webidl/HTMLIFrameElement.webidl
+++ b/dom/webidl/HTMLIFrameElement.webidl
@@ -19,16 +19,18 @@ interface HTMLIFrameElement : HTMLElemen
            attribute DOMString srcdoc;
   [CEReactions, SetterThrows, Pure]
            attribute DOMString name;
   [PutForwards=value] readonly attribute DOMTokenList sandbox;
            // attribute boolean seamless;
   [CEReactions, SetterThrows, Pure]
            attribute boolean allowFullscreen;
   [CEReactions, SetterThrows, Pure]
+           attribute boolean allowPaymentRequest;
+  [CEReactions, SetterThrows, Pure]
            attribute DOMString width;
   [CEReactions, SetterThrows, Pure]
            attribute DOMString height;
   [CEReactions, SetterThrows, Pure]
            attribute DOMString referrerPolicy;
   [NeedsSubjectPrincipal]
   readonly attribute Document? contentDocument;
   readonly attribute WindowProxy? contentWindow;
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -409996,17 +409996,17 @@
    "a8192dcd62d73279885fb062926e4fac3b02999d",
    "testharness"
   ],
   "XMLHttpRequest/event-timeout.htm": [
    "5035e847bc8fcf16164cefeee293d149fe5f5fce",
    "testharness"
   ],
   "XMLHttpRequest/event-upload-progress-crossorigin.htm": [
-   "329b648fb3dc0169c5bf185ad9bb88245e7f889d",
+   "7a18f690ea1c7679d52ff0fd39ea931650d6b9c5",
    "testharness"
   ],
   "XMLHttpRequest/event-upload-progress.htm": [
    "4970811cfd2c1bdd1a08af6dd16eda8ffbff8ffd",
    "testharness"
   ],
   "XMLHttpRequest/folder.txt": [
    "4dca56d05a21f0d018cd311f43e134e4501cf6d9",
--- a/testing/web-platform/meta/html/dom/interfaces.html.ini
+++ b/testing/web-platform/meta/html/dom/interfaces.html.ini
@@ -3011,19 +3011,16 @@
     expected: FAIL
 
   [HTMLLinkElement interface: document.createElement("link") must inherit property "nonce" with the proper type (5)]
     expected: FAIL
 
   [HTMLIFrameElement interface: attribute allowUserMedia]
     expected: FAIL
 
-  [HTMLIFrameElement interface: attribute allowPaymentRequest]
-    expected: FAIL
-
   [Window interface: window must inherit property "oncancel" with the proper type (41)]
     expected: FAIL
 
   [Window interface: window must inherit property "oncuechange" with the proper type (48)]
     expected: FAIL
 
   [Window interface: window must inherit property "onmousewheel" with the proper type (79)]
     expected: FAIL
--- a/testing/web-platform/meta/html/dom/reflection-embedded.html.ini
+++ b/testing/web-platform/meta/html/dom/reflection-embedded.html.ini
@@ -966,105 +966,8 @@
   [iframe.allowUserMedia: IDL set to "\\0"]
     expected: FAIL
 
   [iframe.allowUserMedia: IDL set to object "test-toString"]
     expected: FAIL
 
   [iframe.allowUserMedia: IDL set to object "test-valueOf"]
     expected: FAIL
-
-  [iframe.allowPaymentRequest: typeof IDL attribute]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL get with DOM attribute unset]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to ""]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to " foo "]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to undefined]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to null]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to 7]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to 1.5]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to true]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to false]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to object "[object Object\]"]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to NaN]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to Infinity]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to -Infinity]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to "\\0"]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to object "test-toString"]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to object "test-valueOf"]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: setAttribute() to "allowPaymentRequest"]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to ""]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to " foo "]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to undefined]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to null]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to 7]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to 1.5]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to false]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to object "[object Object\]"]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to NaN]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to Infinity]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to -Infinity]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to "\\0"]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to object "test-toString"]
-    expected: FAIL
-
-  [iframe.allowPaymentRequest: IDL set to object "test-valueOf"]
-    expected: FAIL
-