mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Set empty object as console
prototype (#33358)
* Remove console prototype hack The console object has an empty object as its prototype, not the realm object prototype. Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
f3f96c3393
commit
1c6fb1a7ba
3 changed files with 1 additions and 18 deletions
|
@ -5,8 +5,7 @@
|
|||
// https://console.spec.whatwg.org/
|
||||
|
||||
[ClassString="Console",
|
||||
Exposed=(Window,Worker,Worklet),
|
||||
ProtoObjectHack]
|
||||
Exposed=(Window,Worker,Worklet)]
|
||||
namespace console {
|
||||
// Logging
|
||||
undefined log(any... messages);
|
||||
|
|
|
@ -1,12 +1,2 @@
|
|||
[console-is-a-namespace.any.worker.html]
|
||||
[The prototype chain must be correct]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[console-is-a-namespace.any.html]
|
||||
[The prototype chain must be correct]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[console-is-a-namespace.any.shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
|
6
tests/wpt/meta/console/idlharness.any.js.ini
vendored
6
tests/wpt/meta/console/idlharness.any.js.ini
vendored
|
@ -1,7 +1,4 @@
|
|||
[idlharness.any.html]
|
||||
[console namespace: [[Prototype\]\] is Object.prototype]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation assert(optional boolean, any...)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -28,9 +25,6 @@
|
|||
|
||||
|
||||
[idlharness.any.worker.html]
|
||||
[console namespace: [[Prototype\]\] is Object.prototype]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation assert(optional boolean, any...)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue