mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +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
68
tests/wpt/meta/console/idlharness.any.js.ini
Normal file
68
tests/wpt/meta/console/idlharness.any.js.ini
Normal file
|
@ -0,0 +1,68 @@
|
|||
[idlharness.any.html]
|
||||
[console namespace: [[Prototype\]\] is Object.prototype]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation assert(optional boolean, any...)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation table(optional any, optional sequence<DOMString>)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation trace(any...)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation dir(optional any, optional object?)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation dirxml(any...)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation count(optional DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation countReset(optional DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation time(optional DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation timeLog(optional DOMString, any...)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation timeEnd(optional DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[idlharness.any.worker.html]
|
||||
[console namespace: [[Prototype\]\] is Object.prototype]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation assert(optional boolean, any...)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation table(optional any, optional sequence<DOMString>)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation trace(any...)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation dir(optional any, optional object?)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation dirxml(any...)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation count(optional DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation countReset(optional DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation time(optional DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation timeLog(optional DOMString, any...)]
|
||||
expected: FAIL
|
||||
|
||||
[console namespace: operation timeEnd(optional DOMString)]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue