gecko-dev/testing/web-platform/tests/subresource-integrity/idlharness.window.js
Philip Jägenstedt d80cea12c2 Bug 1482975 [wpt PR 12429] - Fix dependency order in subresource-integrity/idlharness.window.js, a=testonly
Automatic update from web-platform-testsFix dependency order in subresource-integrity/idlharness.window.js (#12429)

With these 3 dependencies, there is only one order which doesn't
result in an error during setup, and this is it. The previous error
was "ProcessingInstruction includes LinkStyle, but
ProcessingInstruction is undefined.":
https://wpt.fyi/results/subresource-integrity/idlharness.window.html?sha=eea0b54014&labels=stable

Separate issue filed about the Edge failure:
https://github.com/web-platform-tests/wpt/issues/12428
--

wpt-commits: 0419ed819c9e98114fac9dfadf5c7283107a9901
wpt-pr: 12429
2018-08-15 16:50:45 +00:00

17 lines
390 B
JavaScript

// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// https://w3c.github.io/webappsec-subresource-integrity/
'use strict';
idl_test(
['SRI'],
['html', 'cssom', 'dom'],
idl_array => {
idl_array.add_objects({
HTMLScriptElement: ['document.createElement("script")'],
HTMLLinkElement: ['document.createElement("link")'],
});
}
);