Closed
Bug 529670
Opened 15 years ago
Closed 15 years ago
Crash [@ nsINode::GetCurrentDoc] after range.detach and then using getClientRects
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | unaffected |
status1.9.1 | --- | unaffected |
People
(Reporter: martijn.martijn, Assigned: MatsPalmgren_bugz)
References
Details
(Keywords: crash, regression, testcase, Whiteboard: [trunk only])
Crash Data
Attachments
(4 files)
147 bytes,
text/html
|
Details | |
439 bytes,
text/html
|
Details | |
3.21 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
2.91 KB,
patch
|
Details | Diff | Splinter Review |
See testcase, which crashes current trunk build on load. I guess this is a regression from bug 396392. http://crash-stats.mozilla.com/report/index/941771d1-1ccf-4760-a1dc-251ab2091118 0 xul.dll nsINode::GetCurrentDoc 1 xul.dll GetPresShell 2 xul.dll nsRange::GetClientRects 3 xul.dll NS_InvokeByIndex_P 4 xul.dll XPCWrappedNative::CallMethod 5 xul.dll XPC_WN_CallMethod 6 mozjs.dll js_Invoke 7 mozjs.dll js_Interpret 8 mozjs.dll js_Execute 9 mozjs.dll JS_EvaluateUCScriptForPrincipals 10 xul.dll nsJSContext::EvaluateString 11 xul.dll nsScriptLoader::EvaluateScript 12 xul.dll nsScriptLoader::ProcessRequest 13 xul.dll nsScriptLoader::ProcessScriptElement
Assignee | ||
Comment 1•15 years ago
|
||
I was just about to file this, it's currently #88 on the 1.9.3 top crash list. http://crash-stats.mozilla.com/query/query?version=ALL%3AALL&platform=windows&branch=1.9.3&date=&range_value=1&range_unit=weeks&query_search=signature&query_type=exact&query=&do_query=1 It also crashes when the boundary point is a Document node (not nsIContent). Patch coming up...
Assignee: nobody → matspal
OS: Windows XP → All
Hardware: x86 → All
Assignee | ||
Comment 2•15 years ago
|
||
Comment 3•15 years ago
|
||
(In reply to comment #1) > It also crashes when the boundary point is a Document node (not nsIContent). That would probably be bug 529411.
Assignee | ||
Comment 4•15 years ago
|
||
Yes, this fixes both bugs.
Attachment #413256 -
Flags: review?(roc)
Assignee | ||
Updated•15 years ago
|
Comment on attachment 413256 [details] [diff] [review] Patch rev. 1 tests?
Attachment #413256 -
Flags: review?(roc) → review+
Assignee | ||
Comment 6•15 years ago
|
||
Will push Testcase #2 as crash test, it covers both bugs. mozilla-central checkins are restricted now though...
Comment 7•15 years ago
|
||
Can we push this, please?
Whiteboard: [trunk only] → [trunk only][needs landing]
The patch needs to be refreshed, it doesn't apply cleanly for me.
Whiteboard: [trunk only][needs landing] → [trunk only]
Assignee | ||
Comment 9•15 years ago
|
||
I'll land this tomorrow when I have time to watch the tree...
Assignee | ||
Comment 10•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/6a13910dde03
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Updated•13 years ago
|
Crash Signature: [@ nsINode::GetCurrentDoc]
Updated•11 years ago
|
Component: DOM: Traversal-Range → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•