mirror of
https://github.com/servo/servo.git
synced 2025-07-12 09:53:40 +01:00
16 lines
334 B
JavaScript
16 lines
334 B
JavaScript
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
|
|
// https://w3c.github.io/webappsec-csp/embedded/
|
|
|
|
'use strict';
|
|
|
|
idl_test(
|
|
['csp-embedded-enforcement'],
|
|
['html', 'dom'],
|
|
idl_array => {
|
|
idl_array.add_objects({
|
|
HTMLIFrameElement: ['document.createElement("iframe")'],
|
|
});
|
|
}
|
|
);
|