mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 9d5d9aa80785d9726ed0a5eaab1a8d144fd4b560
This commit is contained in:
parent
1343c7de50
commit
560e025ce7
68 changed files with 2084 additions and 260 deletions
|
@ -11,7 +11,7 @@
|
|||
var test5_load = event_test('no src, parser-inserted, has style sheets blocking scripts, script nesting level == 1', false, false);
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="resources/slow.py"></link>
|
||||
<link rel="stylesheet" href="/common/slow.py"></link>
|
||||
<!-- This is testing the case where an inline classic script is inserted
|
||||
by parser while there is an loading stylesheet. Therefore, it is critical to
|
||||
place a <link rel="stylesheet"> just above the <script> to be tested. -->
|
||||
|
|
|
@ -13,7 +13,7 @@ var test6_load = event_test('no src, parser-inserted, has style sheets blocking
|
|||
false, false);
|
||||
|
||||
document.write(
|
||||
`<link rel="stylesheet" href="resources/slow.py"></link>
|
||||
`<link rel="stylesheet" href="/common/slow.py"></link>
|
||||
<script onload="onLoad(test6_load);"
|
||||
onerror="onError(test6_load);">
|
||||
"use strict";
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
import time
|
||||
|
||||
def main(request, response):
|
||||
time.sleep(2)
|
||||
return 200, [], ''
|
|
@ -12,7 +12,7 @@ var t = async_test("Modify inline script element's text " +
|
|||
</script>
|
||||
|
||||
<!-- This is "a style sheet that is blocking scripts" and thus ... -->
|
||||
<link rel="stylesheet" href="resources/slow.py"></link>
|
||||
<link rel="stylesheet" href="/common/slow.py"></link>
|
||||
|
||||
<script src="resources/script-text-modifications.py" async></script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue