Update web-platform-tests to revision 0abb411331f86f472103183c7ec1136ea21a7e1b

This commit is contained in:
WPT Sync Bot 2019-10-31 10:27:09 +00:00
parent d671010e46
commit 5a5512f805
139 changed files with 2559 additions and 1445 deletions

View file

@ -6,7 +6,7 @@ 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; }
export function pcombine(params) {
export function pcombine(...params) {
return new PCombine(params);
}

View file

@ -2,10 +2,11 @@
* AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts
**/
import { objectEquals } from '../util/index.js';
export * from './combine.js';
export * from './exclude.js';
export * from './filter.js';
export * from './options.js';
export * from './exclude.js';
export function paramsEquals(x, y) {
if (x === y) {
return true;
@ -16,17 +17,17 @@ export function paramsEquals(x, y) {
}
for (const xk of Object.keys(x)) {
if (!y.hasOwnProperty(xk)) {
if (x[xk] !== undefined && !y.hasOwnProperty(xk)) {
return false;
}
if (x[xk] !== y[xk]) {
if (!objectEquals(x[xk], y[xk])) {
return false;
}
}
for (const yk of Object.keys(y)) {
if (!x.hasOwnProperty(yk)) {
if (y[yk] !== undefined && !x.hasOwnProperty(yk)) {
return false;
}
}