Bug 1475560 [wpt PR 11963] - Add a test for the absence of XMLDocument.prototype.load, a=testonly
authorkaixinjxq <xiuqix.jiang@intel.com>
Mon, 13 Aug 2018 18:22:32 +0000
changeset 431492 3abcdaad2d3e3e64aa540dc93f7b8493301f125c
parent 431491 fa822c31ed77e4baa99433b6c87c017aeb4a65d7
child 431493 341b2f6072f63832890d144dafcb754411f4706c
push id106462
push userwptsync@mozilla.com
push dateTue, 14 Aug 2018 16:46:47 +0000
treeherdermozilla-inbound@6dedec0e4c5e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1475560, 11963
milestone63.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 1475560 [wpt PR 11963] - Add a test for the absence of XMLDocument.prototype.load, a=testonly Automatic update from web-platform-testsDOM: test for the absence of XMLDocument.prototype.load Fixes #3519. -- wpt-commits: 580e5b52e20a9a2b4f63e9d33e9c4b039c68ce08 wpt-pr: 11963
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/dom/historical.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -579125,17 +579125,17 @@
    "ebc83ceb209a7c18cdc722cd70352845409cd893",
    "testharness"
   ],
   "dom/events/resources/event-global-extra-frame.html": [
    "241dda8b66f8c8fe128e736bcb073479aee634a9",
    "support"
   ],
   "dom/historical.html": [
-   "b45bebfb662d4e393f5ddf2ba580d541b865e815",
+   "921fa07b3f6de0f9a579b75b14d6509039765205",
    "testharness"
   ],
   "dom/inert/inert-does-not-match-disabled-selector.html": [
    "74b8ac3f7dd5c3447bf47fd732fade9220497c93",
    "testharness"
   ],
   "dom/interface-objects.html": [
    "936d63517eada5521f814fabdbd785a57b9640b2",
--- a/testing/web-platform/tests/dom/historical.html
+++ b/testing/web-platform/tests/dom/historical.html
@@ -62,16 +62,22 @@ var documentNuked = [
 documentNuked.forEach(isNukedFromDocument)
 
 test(function() {
   // https://github.com/whatwg/html/commit/e236f46820b93d6fe2e2caae0363331075c6c4fb
   assert_false("load" in document);
 }, "document.load");
 
 test(function() {
+  // https://github.com/whatwg/html/commit/523f7a8773d2ab8a1eb0da6510651e8c5d2a7531
+  var doc = document.implementation.createDocument(null, null, null);
+  assert_false("load" in doc);
+}, "XMLDocument.load");
+
+test(function() {
   assert_equals(document.implementation["getFeature"], undefined)
 }, "DOMImplementation.getFeature() must be nuked.")
 
 function isNukedFromElement(name) {
   test(function() {
     var ele = document.createElementNS("test", "test")
     assert_equals(document.body[name], undefined)
     assert_equals(ele[name], undefined)