Closed Bug 1637288 Opened 4 years ago Closed 4 years ago

Trying to set a javascript breakpoint via Debugger causes a MOZ_ASSERST

Categories

(DevTools :: Debugger, defect)

defect

Tracking

(firefox78 fixed)

RESOLVED FIXED
Firefox 78
Tracking Status
firefox78 --- fixed

People

(Reporter: jsearle3, Assigned: loganfsmyth)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached file EXHIBIT.txt

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363

Steps to reproduce:

On Windows 10 using Visual Studio 2017 to run a version of firefox that I've built,
run firefox and let it display it's initial window, 2) click on "Open Menu", 3) click on :Web Developer", 4) click on "Debugger", 5) click on "Open Menu", 6) click on "Open File...", click on the file name of an html file that has JavaScript in it and wait for that page to be displayed, 7) in Debugger under Sources click on "file://", 8) click on the directory icon underneath "file://", 9) click on page icon underneath the directory icon to open up the .html file in the Debugger, 9) scroll down to where a JavaScript routine begins, 10) click on the appropriate line number to set a breakpoint, that's 1147 in my .html file,

Actual results:

Throws a MOZ_ASSERT(false) at the bottom of void DOMSecurityMonitor::AuditParsingOfHTMLXMLFragments().

Expected results:

Should have set the breakpoint.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Debugger
Product: Firefox → DevTools
Assignee: nobody → loganfsmyth
Regressed by: 1596360
Has Regression Range: --- → yes
Keywords: regression
Pushed by loganfsmyth@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/b441940d4c70
Allow the development build of react to use innerHTML. r=Gijs

Thanks for the report on this!

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: