mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
17 lines
437 B
JavaScript
17 lines
437 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', 'dom', 'cssom'],
|
|
idl_array => {
|
|
idl_array.add_objects({
|
|
HTMLScriptElement: ['document.createElement("script")'],
|
|
HTMLLinkElement: ['document.createElement("link")'],
|
|
});
|
|
},
|
|
'webappsec-subresource-integrity interfaces');
|