Lines Matching full:path
7 const path = require('path');
151 constructor(path) {
152 this.path = path;
161 const base = path.dirname(from);
163 fixtures.path('wpt', url) :
164 fixtures.path('wpt', base, url);
169 * @param {string} from the path of the file loading this resource,
211 const result = path.normalize(pattern).replace(/[-/\\^$+?.()|[\]{}]/g, '\\$&');
231 const normalizedPath = path.normalize(key);
257 * @param {string} filename path of the test, relative to mod, e.g.
293 return path.join(this.module, this.filename);
297 return fixtures.path('wpt', this.getRelativePath());
347 * @param {string} path relative path of the WPT subset
349 constructor(path) {
350 this.path = path;
365 const filepath = path.join(dir, file);
381 const dir = path.join(__dirname, '..', 'wpt');
382 const statusFile = path.join(dir, 'status', `${this.path}.json`);
386 const subDir = fixtures.path('wpt', this.path);
389 const relativePath = path.relative(subDir, file);
391 this.specs.push(new WPTTestSpec(this.path, relativePath, match));
406 constructor(path) {
407 this.path = path;
408 this.resource = new ResourceLoader(path);
414 this.status = new StatusLoader(path);
556 const harnessPath = fixtures.path('wpt', 'resources', 'testharness.js');
590 const workerPath = path.join(__dirname, 'wpt/worker.js');
596 wptPath: this.path,
708 const file = path.join('test', 'wpt', 'status', `${this.path}.json`);
714 const file = path.join('test', 'wpt', 'status', `${this.path}.json`);