mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed
This commit is contained in:
parent
4997ec26c2
commit
a5af9a106a
192 changed files with 3943 additions and 1927 deletions
|
@ -0,0 +1,9 @@
|
|||
var t = async_test('Test behavior of sync-script feature policy for different script types');
|
||||
|
||||
window.onload = t.step_func(function() {
|
||||
assert_equals(undefined, window.didExecuteInlineParsingBlockingScript, 'inline parser blocking script should be blocked');
|
||||
assert_equals(undefined, window.didExecuteExternalParsingBlockingScript, 'external parser blocking script should be blocked');
|
||||
assert_true(window.didExecuteExternalAsyncScript, 'external async script should not be blocked');
|
||||
assert_true(window.didExecuteExternalDeferredScript, 'external defer script should not be blocked');
|
||||
t.done();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue