• Home
  • Raw
  • Download

Lines Matching +full:meta +full:- +full:spec

14   const { node: version } = process.versions; // e.g. 18.13.0, 20.0.0-nightly202302078e6e215481
26 …* https://github.com/web-platform-tests/wpt/blob/1c6ff12/tools/wptrunner/wptrunner/tests/test_upda…
41 // https://github.com/web-platform-tests/wpt/blob/b24eedd/resources/testharness.js#L3705
44 /([\ud800-\udbff]+)(?![\udc00-\udfff])|(^|[^\ud800-\udbff])([\udc00-\udfff]+)/g,
73 // https://github.com/web-platform-tests/wpt/blob/b24eedd/resources/testharness.js#L3722
77 // https://github.com/web-platform-tests/wpt/blob/b24eedd/resources/testharness.js#L4506
108 * https://github.com/web-platform-tests/wpt.fyi/blob/60da175/api/README.md?plain=1#L331-L335
122 // https://github.com/web-platform-tests/wpt/blob/HEAD/resources/testharness.js
123 // TODO: get rid of this half-baked harness in favor of the one
173 * pseudo-Response object.
211 const result = path.normalize(pattern).replace(/[-/\\^$+?.()|[\]{}]/g, '\\$&');
256 * 'html/webappapis/microtask-queuing'
309 // TODO(joyeecheung): we may need to deal with --with-intl=system-icu
333 if (requires.has('full-icu') && current !== kIntlRequirement.full) {
334 return 'full-icu';
336 if (requires.has('small-icu') && current < kIntlRequirement.small) {
337 return 'small-icu';
450 * @param {(meta: { code: string, filename: string }) => void} modifier
482 …/blob/24673ace8ae196bd1c6d4676507d6e8c94cf0b90/test/fixtures/wpt/resources/idlharness.js#L654-L671}
535 // If the tests are run as `node test/wpt/test-something.js subset.any.js`,
547 this.inProgress = new Set(queue.map((spec) => spec.filename));
549 for (const spec of queue) {
550 const testFileName = spec.filename;
551 const content = spec.getContent();
552 const meta = spec.meta = this.getMeta(content);
554 const absolutePath = spec.getAbsolutePath();
555 const relativePath = spec.getRelativePath();
560 // Scripts specified with the `// META: script=` header
561 if (meta.script) {
562 for (const script of meta.script) {
563 if (script === '/common/subset-tests.js' || script === '/common/subset-tests-by-key.js') {
583 * Example test with no META variant
584 …hub.com/nodejs/node/blob/03854f6/test/fixtures/wpt/WebCryptoAPI/sign_verify/hmac.https.any.js#L1-L4
586 * Example test with multiple META variants
587 …b/03854f6/test/fixtures/wpt/WebCryptoAPI/generateKey/successes_RSASSA-PKCS1-v1_5.https.any.js#L1-L9
589 for (const variant of meta.variant || ['']) {
644 for (const spec of this.inProgress) {
645 this.fail(spec, { name: 'Incomplete' }, kIncomplete);
702 const passed = ran - expectedFailures - failures.length;
723 const spec = this.specMap.get(filename);
724 return spec.meta?.title || filename.split('.')[0];
755 console.log(`---- ${title} ----`);
766 * @param {object} harnessStatus - The status object returned by WPT harness.
812 const spec = this.specMap.get(filename);
813 const expected = spec.failedTests.includes(test.name);
840 console.log(`---- ${title} ----`);
850 const matches = code.match(/\/\/ META: .+/g);
856 const parts = match.match(/\/\/ META: ([^=]+?)=(.+)/);
874 for (const spec of this.specMap.values()) {
875 const filename = spec.filename;
876 if (spec.skipReasons.length > 0) {
877 this.skip(filename, spec.skipReasons);
881 const lackingIntl = intlRequirements.isLacking(spec.requires);
887 queue.push(spec);