Closed
Bug 1404430
Opened 8 years ago
Closed 6 years ago
Debugger doesn't show any content on https://www.nperf.com/en/
Categories
(DevTools :: Debugger, enhancement)
DevTools
Debugger
Tracking
(firefox57 fix-optional)
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox57 | --- | fix-optional |
People
(Reporter: jrmuizel, Unassigned)
Details
Attachments
(1 file)
183.30 KB,
image/png
|
Details |
Open https://www.nperf.com/en/ with the debugger open. Things seem to get stuck and the debugger never shows anything.
Comment 1•8 years ago
|
||
Hi, so... I looked into it briefly and saw some interesting things:
If pause on exceptions is true, it doesn't show anything. Otherwise we pause in this expression which I prettified:
```
(function() {
(function a() {
try {
(function b(i) {
if (("" + i / i).length !== 1 || i % 20 === 0) {
(function() {}.constructor("debugger")());
} else {
debugger;
}
b(++i);
})(0);
} catch (e) {
setTimeout(a, 5000);
}
})();
})();
```
It's pretty unclear what it's trying to do... but i've never seen any client code try to pause so hard in my life :)
Updated•8 years ago
|
status-firefox57:
--- → fix-optional
Comment 2•8 years ago
|
||
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•