servo/components/script
Smitty 50c930866b
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>
2024-02-05 14:30:53 +00:00
..
docs Update branch name to main (#30877) 2023-12-16 09:32:20 +00:00
dom Make console methods take any instead of string (#31241) 2024-02-05 14:30:53 +00:00
layout_dom Further changes required by Servo 2023-11-24 08:57:14 +01:00
task_source rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
animation_timeline.rs script: Start replacing time with std::time and chrono (#30639) 2024-01-16 12:23:18 +00:00
animations.rs Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
body.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
build.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
canvas_state.rs canvas2d: Implement .reset() (#31258) 2024-02-05 08:53:00 +00:00
Cargo.toml Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
clipboard_provider.rs
devtools.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
document_loader.rs Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
euclidext.rs Update euclid 2020-04-07 08:51:08 -07:00
fetch.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
image_listener.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
init.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
layout_image.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
lib.rs Compile Servo with the latest version of rust stable (#30831) 2023-12-06 17:36:07 +00:00
mem.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
microtask.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
network_listener.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
realms.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
script_module.rs Remove deprecated remove function (#31213) 2024-01-30 03:49:11 +00:00
script_runtime.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
script_thread.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
serviceworker_manager.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
stylesheet_loader.rs Further changes required by Servo 2023-11-21 15:36:35 +01:00
stylesheet_set.rs
task.rs ensure clean shutdown of all threads running JS 2020-06-30 13:22:38 +08:00
task_manager.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
task_queue.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
test.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
textinput.rs Update textinput.rs (#30643) 2023-11-01 13:27:32 +00:00
timers.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
unpremultiplytable.rs
webdriver_handlers.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
window_named_properties.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00