Closed
Bug 460323
Opened 16 years ago
Closed 16 years ago
[FIX]"ASSERTION: Bad loading table" involving get.live.com
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.1
People
(Reporter: jruderman, Assigned: bzbarsky)
References
Details
(Keywords: assertion)
Attachments
(3 files)
462 bytes,
text/html
|
Details | |
5.11 KB,
patch
|
Details | Diff | Splinter Review | |
3.17 KB,
patch
|
peterv
:
review+
peterv
:
superreview+
|
Details | Diff | Splinter Review |
Following up on my promise from bug 438236 ;) Steps to reproduce: 1. Load http://get.live.com/writer/overview 2. Paste this bookmarklet into the address bar and press enter: javascript: function newSS() { var s = document.createElement("link"); s.setAttributeNS(null, "href", "http://get.live.com/css/WL/common.css"); s.setAttributeNS(null, "rel", "stylesheet"); s.setAttributeNS(null, "type", "text/css"); return s; } var head = document.getElementsByTagName("head")[0]; for (var i = 0; i < 10; ++i) void head.appendChild(newSS()); Result: ###!!! ASSERTION: Bad loading table: 'mLoadingDatas.Get(&key, &loadingData) && loadingData == aLoadData', file layout/style/nsCSSLoader.cpp, line 1605
Assignee | ||
Comment 1•16 years ago
|
||
Assignee | ||
Comment 2•16 years ago
|
||
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•16 years ago
|
||
If the already-loaded sheet is modified, we need to fall back on looking at loading sheets, not just creating a new sheet.
Attachment #343677 -
Flags: superreview?(peterv)
Attachment #343677 -
Flags: review?(peterv)
Assignee | ||
Updated•16 years ago
|
Summary: "ASSERTION: Bad loading table" involving get.live.com → [FIX]"ASSERTION: Bad loading table" involving get.live.com
Updated•16 years ago
|
Attachment #343677 -
Flags: superreview?(peterv)
Attachment #343677 -
Flags: superreview+
Attachment #343677 -
Flags: review?(peterv)
Attachment #343677 -
Flags: review+
Assignee | ||
Comment 4•16 years ago
|
||
Pushed changeset 457619abbaa5. Jesse, any idea how to sanely turn this into a crashtest? The hard part is knowing when to stop the test.... :(
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Reporter | ||
Comment 5•16 years ago
|
||
If you use setTimeout at the end of doIt, are you guaranteed that the stylesheets all load before the timeout fires, thanks to using data: URLs? Or can you use the DOM styleSheet API to tell whether the stylesheets have all loaded, and even test that the second and third stylesheets weren't modified by the call to change the first one?
Assignee | ||
Comment 6•16 years ago
|
||
No guarantees on data:. And DOM stylesheet doesn't provide "has this sheet loaded?" info, really. I suspect the test will have to wait on bug 185236.
Depends on: 185236
Reporter | ||
Comment 7•16 years ago
|
||
You can use the DOM Stylesheet API to see whether all the rules are there, but I guess that's not quite the same thing as knowing whether it has finished loading.
Assignee | ||
Comment 8•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/b045aa0216fb
Flags: in-testsuite? → in-testsuite+
Updated•13 years ago
|
Target Milestone: --- → mozilla10
Assignee | ||
Comment 10•13 years ago
|
||
Nah, this was fixed for like Firefox 3.5 or something. That last checkin was just a test.
Target Milestone: mozilla10 → mozilla1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•