Bug 16791
Summary: | Confusing console error message clear behavior | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Lilek <dev+webkit> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | timothy |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | data:text/html,<body onload="alert(A)"></body> |
Matt Lilek
The inspector's handling of error messages can be rather confusing. For example:
1) Load the snippet in the URL field above and open the inspector.
2) Note that there is a red, (1) bubble next to the document and "1 error" under Console in the sidebar.
3) Select the console "tab" and hit the clear button.
4) The red, (1) bubble will disappear and the contents of the console is erased. "1 error" remains under the Console tab.
5) Close the inspector and reopen it.
6) The red, (1) bubble and error message in the console is back.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
<rdar://problem/5712917>
Kevin McCullough
Committed revision 35628.