mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01: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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue