gecko-dev/testing/web-platform/tests/infrastructure/server/order-of-metas.window.js
Simon Pieters 1e0bfc572e Bug 1466779 [wpt PR 11344] - [wptserve] Put // META: scripts after testharness.js, a=testonly
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
2018-07-11 07:54:08 +01:00

8 lines
267 B
JavaScript

// META: script=resources/expect-seen-testharness.js
// META: timeout=long
// META: title=foo
// META: script=resources/expect-title-meta.js
test(() => {
assert_array_equals(scripts, ['expect-seen-testharness.js', 'expect-title-meta.js']);
}, "order of scripts");