mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 1528266 [wpt PR 15413] - Simplify test_driver_internal to not use prototype + Object.create, a=testonly
Automatic update from web-platform-tests Simplify test_driver_internal to not use prototype + Object.create (#15413) Context: https://github.com/web-platform-tests/wpt/pull/11173/files#r236038149 -- wpt-commits: 83e8b970efc66feed5fde392d80209ea6540a283 wpt-pr: 15413
This commit is contained in:
parent
20927799d5
commit
2a2d8b76ab
@ -197,7 +197,7 @@
|
||||
}
|
||||
};
|
||||
|
||||
var manual = {
|
||||
window.test_driver_internal = {
|
||||
/**
|
||||
* This flag should be set to `true` by any code which implements the
|
||||
* internal methods defined below for automation purposes. Doing so
|
||||
@ -283,7 +283,4 @@
|
||||
return Promise.reject(new Error("unimplemented"));
|
||||
}
|
||||
};
|
||||
|
||||
window.test_driver_internal = Object.create(manual);
|
||||
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user