mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
Automatic update from web-platform-tests Add and run the WebGPU CTS under WPT This adds a build of the WebGPU CTS (https://github.com/gpuweb/cts) to WPT. (The version hash is saved in wpt/webgpu/framework/version.js.) This also deletes the existing WebGPU web_tests, as they have been ported into the CTS. Bug: 984818 Change-Id: I5b514a2a893b530bcc522ff131f6c653bb996210 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1707578 Reviewed-by: Kenneth Russell <[email protected]> Reviewed-by: Austin Eng <[email protected]> Commit-Queue: Kai Ninomiya <[email protected]> Cr-Commit-Position: refs/heads/master@{#687932} -- wpt-commits: 7a9cb992767821c707c922d1cae1dffe3c8613b0 wpt-pr: 18414
34 lines
880 B
JavaScript
34 lines
880 B
JavaScript
/**
|
|
* AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts
|
|
**/
|
|
|
|
let _Symbol$iterator;
|
|
|
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
|
|
import { paramsEquals } from './index.js';
|
|
export function pexclude(params, exclude) {
|
|
return new PExclude(params, exclude);
|
|
}
|
|
_Symbol$iterator = Symbol.iterator;
|
|
|
|
class PExclude {
|
|
constructor(cases, exclude) {
|
|
_defineProperty(this, "cases", void 0);
|
|
|
|
_defineProperty(this, "exclude", void 0);
|
|
|
|
this.cases = cases;
|
|
this.exclude = Array.from(exclude);
|
|
}
|
|
|
|
*[_Symbol$iterator]() {
|
|
for (const p of this.cases) {
|
|
if (this.exclude.every(e => !paramsEquals(p, e))) {
|
|
yield p;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
//# sourceMappingURL=exclude.js.map
|