зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
4a6fef5f14
Коммит
1d488d2230
|
@ -559874,7 +559874,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"dom/interfaces.html": [
|
||||
"3308c9f3341c12ce99217309eba608e50cca669d",
|
||||
"fc05c0e670c2b7ca72a958dc05dd34ffcaadadf5",
|
||||
"testharness"
|
||||
],
|
||||
"dom/lists/DOMTokenList-Iterable.html": [
|
||||
|
|
|
@ -19,10 +19,7 @@ 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()'],
|
||||
|
|
Загрузка…
Ссылка в новой задаче