Bug 1465551 [wpt PR 11252] - Add MouseEvent/MouseEventInit as untested DOM IDLs, a=testonly
authorChris Nardi <christopherncarmel@hotmail.com>
Wed, 06 Jun 2018 17:24:24 +0000
changeset 478974 afbc5459b7badb33b629464376dcb975cbeaf35a
parent 478973 0635f78c6bb2929187e53319a892e498257f7ecd
child 478975 ba86bff89ba46be04afa3807fc25cd63338f30d3
push id1757
push userffxbld-merge
push dateFri, 24 Aug 2018 17:02:43 +0000
treeherdermozilla-release@736023aebdb1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1465551, 11252
milestone62.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 1465551 [wpt PR 11252] - Add MouseEvent/MouseEventInit as untested DOM IDLs, a=testonly Automatic update from web-platform-testsMove HTML from untested IDL to a dependency IDL for DOM The DOM idlharness test would not run as dependencies for the HTML IDL file were not declared. However, we don't need to define HTML as untested IDL -- using the new dependency IDL feature generates the same tests but prevents the current dependency problem. -- wpt-commits: 2ae39a003cba3b1292d5239f6043281d9277d25b wpt-pr: 11252
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/dom/interfaces.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -559869,17 +559869,17 @@
    "291d078c4424d0491aeab7524d350eab7304f989",
    "testharness"
   ],
   "dom/interface-objects.html": [
    "05963c8b0a839f3e07b5478d99fc034e4654b515",
    "testharness"
   ],
   "dom/interfaces.html": [
-   "3308c9f3341c12ce99217309eba608e50cca669d",
+   "fc05c0e670c2b7ca72a958dc05dd34ffcaadadf5",
    "testharness"
   ],
   "dom/lists/DOMTokenList-Iterable.html": [
    "17630a28cb89baf746841d8cd9d61370b6183f63",
    "testharness"
   ],
   "dom/lists/DOMTokenList-coverage-for-attributes.html": [
    "d6cfd9d336f8933c0080126864bbb465bfff2ced",
--- a/testing/web-platform/tests/dom/interfaces.html
+++ b/testing/web-platform/tests/dom/interfaces.html
@@ -14,20 +14,17 @@ var xmlDoc = document.implementation.cre
 var detachedRange = document.createRange();
 detachedRange.detach();
 var element = xmlDoc.createElementNS(null, "test");
 element.setAttribute("bar", "baz");
 
 var idlArray = new IdlArray();
 
 function doTest([html, dom]) {
-  // HTML is needed for EventHandler. Provide a dummy interface for
-  // LinkStyle which HTML depends on but we're not testing.
-  idlArray.add_untested_idls('interface LinkStyle {};');
-  idlArray.add_untested_idls(html);
+  idlArray.add_dependency_idls(html);
   idlArray.add_idls(dom);
   idlArray.add_objects({
     EventTarget: ['new EventTarget()'],
     Event: ['document.createEvent("Event")', 'new Event("foo")'],
     CustomEvent: ['new CustomEvent("foo")'],
     AbortController: ['new AbortController()'],
     AbortSignal: ['new AbortController().signal'],
     Document: ['new Document()'],