Closed Bug 690990 Opened 11 years ago Closed 11 years ago
"ABORT: should not get marked modified during parsing"
302 bytes, text/html
1.09 KB, text/plain
2.61 KB, patch
|Details | Diff | Splinter Review|
###!!! ABORT: should not get marked modified during parsing: '!data->mSheet->IsModified()', file layout/style/Loader.cpp, line 1748 Could this be a regression from bug 185236?
Yes. The bug is in the assertion itself, though. The issue is that the appendChild call in this case will go ahead and create a new stylesheet which is all set to go. It will also post an async SheetComplete for it. Then the very next line of script will modify the sheet. The assertion just needs to move into the !mSheetAlreadyComplete block.
Assignee: nobody → bzbarsky
Priority: -- → P1
Whiteboard: [need review]
Attachment #564116 - Flags: review?(peterv) → review+
Whiteboard: [need review] → [need landing]
Whiteboard: [need landing]
Target Milestone: --- → mozilla10
Comment on attachment 564116 [details] [diff] [review] Don't assert that sheets are not modified when it would be just fine for them to be modified. I believe we should take this on aurora. It's a very safe change (debug-only code moving around), and will keep this bug from getting in the way of Jesse's fuzzers.
Attachment #564116 - Flags: approval-mozilla-aurora?
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #564116 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Hi guys. In order to verify this bug, it's enough if I load the test case from the attachments and observe that Firefox isn't crashing? Thanks
In a debug build, yes.
Setting resolution to Verified Fixed on debug builds: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111201 Firefox/9.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0a2) Gecko/20111202 Firefox/10.0a2 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0a1) Gecko/20111205 Firefox/11.0a1 Based on comment8 and comment9, I have loaded the test case from the description and Firefox did not crash.
You need to log in before you can comment on or make changes to this bug.