Closed
Bug 1621635
Opened 4 years ago
Closed 4 years ago
Remove exception and strict property from pageError
Categories
(DevTools :: General, task)
DevTools
General
Tracking
(firefox76 fixed)
RESOLVED
FIXED
Firefox 76
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: evilpie, Assigned: evilpie)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
These properties depend on the JS defines JSREPORT_EXCEPTION and JSREPORT_STRICT, both which we we want to remove.
Assignee | ||
Comment 1•4 years ago
|
||
I also just noticed a probably unexpected side-effect of nsIScriptError.errorFlag == 0
, the following code will always wrongly produce error: false
:
error: !!(pageError.flags & pageError.errorFlag)
I guess we usually check for warning == true
first, so this works?
Assignee | ||
Comment 2•4 years ago
|
||
Removes "exception" and "script" as those properties are unused outside tests and going away.
Corrected the definition of "error", which was wrong because errorFlag == 0.
Updated•4 years ago
|
Assignee: nobody → evilpies
Status: NEW → ASSIGNED
Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/9025b5239fa5 Improve devtools handling of nsIScriptError. r=nchevobbe
Comment 4•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76
You need to log in
before you can comment on or make changes to this bug.
Description
•