mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Make console methods take any
instead of string
(#31241)
* Make console methods use `any` for the message Match the Console spec by allowing any value to be passed to console methods, instead of just values that can be converted to a string. Signed-off-by: syvb <me@iter.ca> * Add test for console logging a Symbol Signed-off-by: syvb <me@iter.ca> * Implement object stringification for logs Signed-off-by: syvb <me@iter.ca> * Address review comments Signed-off-by: syvb <me@iter.ca> * Make time/timeEnd accept DOMString to match spec * Update WPT results for layout 2013 --------- Signed-off-by: syvb <me@iter.ca>
This commit is contained in:
parent
4758ffabca
commit
50c930866b
20 changed files with 545 additions and 40 deletions
|
@ -517775,6 +517775,42 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"console-log-symbol.any.js": [
|
||||
"a2facb6c64e86428383260735ed2df3e88c2c809",
|
||||
[
|
||||
"console/console-log-symbol.any.html",
|
||||
{
|
||||
"script_metadata": [
|
||||
[
|
||||
"global",
|
||||
"window,dedicatedworker,shadowrealm"
|
||||
]
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
"console/console-log-symbol.any.shadowrealm.html",
|
||||
{
|
||||
"script_metadata": [
|
||||
[
|
||||
"global",
|
||||
"window,dedicatedworker,shadowrealm"
|
||||
]
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
"console/console-log-symbol.any.worker.html",
|
||||
{
|
||||
"script_metadata": [
|
||||
[
|
||||
"global",
|
||||
"window,dedicatedworker,shadowrealm"
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"console-namespace-object-class-string.any.js": [
|
||||
"d3ff7f7d07636154080f4d24106e1a6703c37dc4",
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue