Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement console.clear #27294
Implement console.clear #27294
Comments
|
Hi. I am new-comer to this. But I think I might be able to do this if I was given some additional resources and a little bit of help navigating the codebase. |
We need our devtools server code in to send a ConsoleAPI message with a You can test these changes following https://github.com/servo/servo/wiki/Devtools and connecting to an instance of Servo from the Firefox remote devtools. Please ask questions if anything is unclear! |
|
U can assign me for this. I'll ask questions if I find some roadblocks. And thanks for your imput :). |
console.clear implemented <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #27294 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because it deals with Firefox's devtools. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Spec: https://console.spec.whatwg.org/#clear
Code:
components/script/dom/console.rsWe'll need some new devtools integration for this.