Open Bug 1442333 Opened 2 years ago Updated Last month
.clear() should only clear messages from the same context
STR: 1. Open the Web Console. 2. Open the Browser Console. 3. Ensure there is something displayed in each console. 4. In the web console enter `console.clear()` and press [enter]. Both consoles are cleared but only the web console is cleared.
What should be done here is only clear the browser console if the console.clear message don't come from a content page. I guess this could be easy to do after Bug 1260877 is done, since it will give us a property on the packet for us to know if a message is chrome or not.
Depends on: 1260877
Summary: console.clear() from the web console clears the browser console → console.clear() should only clear messages from the same context
Fission Milestone: --- → M6
You need to log in before you can comment on or make changes to this bug.