mirror of
https://github.com/servo/servo.git
synced 2025-09-11 15:38:24 +01:00
Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d
This commit is contained in:
parent
c45192614c
commit
775b784f79
2144 changed files with 58115 additions and 29658 deletions
|
@ -0,0 +1,2 @@
|
|||
import r from "./script-module.js";
|
||||
postMessage(r);
|
|
@ -1 +1,6 @@
|
|||
importScripts('/resources/testharness.js');
|
||||
importScripts("script.js");
|
||||
test(() => {
|
||||
assert_equals(result, "gamma/script.js");
|
||||
});
|
||||
done();
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
export default 'gamma/script-module.js';
|
|
@ -1 +1 @@
|
|||
postMessage('gamma');
|
||||
var result = 'gamma/script.js';
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
importScripts('/resources/testharness.js');
|
||||
test(t => {
|
||||
var x = new XMLHttpRequest();
|
||||
x.open("GET", "test.txt", false);
|
||||
x.send();
|
||||
assert_equals(x.response, "gamma\n");
|
||||
});
|
||||
done();
|
Loading…
Add table
Add a link
Reference in a new issue