mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 14:20:14 +02:00
Automatic update from web-platform-tests[wptserve] Put `// META:` scripts after testharness.js (#11344) Some tests, e.g., [1], expect testharness.js to exist in the script. Part of #11269. [1] html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-idb.any.html -- wpt-commits: bde52314cb009dce1a83cb01eae3715ae5f7a1c9 wpt-pr: 11344
10 lines
382 B
JavaScript
10 lines
382 B
JavaScript
// META: global=window,dedicatedworker,sharedworker
|
|
// META: script=resources/expect-seen-testharness.js
|
|
// META: timeout=long
|
|
// META: title=foo
|
|
// META: script=resources/expect-global.js
|
|
// META: script=resources/expect-title-meta.js
|
|
|
|
test(() => {
|
|
assert_array_equals(scripts, ['expect-seen-testharness.js', 'expect-global.js', 'expect-title-meta.js']);
|
|
}, "order of scripts");
|