mirror of
https://github.com/servo/servo.git
synced 2025-09-06 13:08:21 +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 @@
|
|||
Access-Control-Allow-Origin: *
|
|
@ -0,0 +1 @@
|
|||
Access-Control-Allow-Origin: *
|
|
@ -0,0 +1,49 @@
|
|||
const testCases = [
|
||||
{
|
||||
scriptURL: 'resources/static-import-worker.js',
|
||||
expectation: ['export-on-load-script.js'],
|
||||
description: 'Static import.'
|
||||
},
|
||||
{
|
||||
scriptURL: 'resources/nested-static-import-worker.js',
|
||||
expectation: [
|
||||
'export-on-static-import-script.js',
|
||||
'export-on-load-script.js'
|
||||
],
|
||||
description: 'Nested static import.'
|
||||
},
|
||||
{
|
||||
scriptURL: 'resources/static-import-and-then-dynamic-import-worker.js',
|
||||
expectation: [
|
||||
'export-on-dynamic-import-script.js',
|
||||
'export-on-load-script.js'
|
||||
],
|
||||
description: 'Static import and then dynamic import.'
|
||||
},
|
||||
{
|
||||
scriptURL: 'resources/dynamic-import-worker.js',
|
||||
expectation: ['export-on-load-script.js'],
|
||||
description: 'Dynamic import.'
|
||||
},
|
||||
{
|
||||
scriptURL: 'resources/nested-dynamic-import-worker.js',
|
||||
expectation: [
|
||||
'export-on-dynamic-import-script.js',
|
||||
'export-on-load-script.js'
|
||||
],
|
||||
description: 'Nested dynamic import.'
|
||||
},
|
||||
{
|
||||
scriptURL: 'resources/dynamic-import-and-then-static-import-worker.js',
|
||||
expectation: [
|
||||
'export-on-static-import-script.js',
|
||||
'export-on-load-script.js'
|
||||
],
|
||||
description: 'Dynamic import and then static import.'
|
||||
},
|
||||
{
|
||||
scriptURL: 'resources/eval-dynamic-import-worker.js',
|
||||
expectation: ['export-on-load-script.js'],
|
||||
description: 'eval(import()).'
|
||||
}
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue