Bug 142660
| Summary: | Web Inspector: console.assert should show assertion conditional expression when possible | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | graouts, inspector-bugzilla-changes, jonowells, saam, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Joseph Pecoraro
* SUMMARY
console.assert should show assertion conditional expression when possible.
This information would be useful to show in the "Pause Reason" section and assert console message/warning.
For example:
console.assert(false); // condition: "false"
console.assert(foo.bar); // condition: "foo.bar"
console.assert(x, "Message"); // condition: "x", message: "Message"
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/20150022>
Timothy Hatcher
Maybe Saam could help us with this?