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:
Philip Jägenstedt 2019-03-05 12:17:38 +00:00 committed by James Graham
parent 20927799d5
commit 2a2d8b76ab

View File

@ -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);
})();