Closed Bug 1360076 Opened 7 years ago Closed 5 years ago

Anonymous/XUL inspection: breakpoints set in bingings are mistakenly applied to the previous line

Categories

(DevTools :: Debugger, defect)

53 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: 684sigma, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

I noticed an issue in Beta 53. It also happens in Nightly 55. Doesn't happen in Beta 52, ESR 45.
Sometimes event listener tooltips display wrong JavaScript code. Here's how to reproduce the bug:

1. Create pref dom.allow_XUL_XBL_for_file as true.
2. Open attached .html page
3. Open debugger, set breakpoint in line with "console.log('constructor');"
4. Click on "1211" on the page

Result: Debugger stops in line with "console.log('constructor');" and it displays UI as it was onclick handler.
Expected: Debugger shouldn't stop.
See Also: → 1360075
Has STR: --- → yes
Keywords: regression
Regression range:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=d1b1f80184ca7b43283c36eea73ea03803140078&tochange=0dc201de2d391256b2c978120158fe2bfb6d8b41

0dc201de2d39	Tom Schuster — Bug 755821 - Parse arguments of Function constructor properly. r=shu
Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Ever confirmed: true
Product: Firefox → DevTools

XUL is obsolete and being removed from Firefox code base. No support for it planned. Closing.

Honza

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: