Last Comment Bug 321299 - Crash [@ XPCNativeInterface::GetName] involving frames
: Crash [@ XPCNativeInterface::GetName] involving frames
[sg:critical?] causes regressions 333...
: crash, testcase, verified1.8.0.7, verified1.8.1
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: x86 Linux
: -- critical (vote)
: mozilla1.8.1beta2
Assigned To: Johnny Stenback (:jst,
: Hixie (not reading bugmail)
: Andrew Overholt [:overholt]
Depends on: 343141 27382 333697 335333 335785 345373 345377 357651
Blocks: stirdom 310107 400349
  Show dependency treegraph
Reported: 2005-12-22 16:09 PST by Mats Palmgren (:mats)
Modified: 2009-03-23 15:29 PDT (History)
15 users (show)
mtschrep: blocking1.8.1+
dveditz: blocking1.8.0.4-
dveditz: blocking1.8.0.5-
dveditz: blocking1.8.0.7+
jruderman: in‑testsuite-
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

(frame content for Testcase #1) (27 bytes, text/html)
2005-12-22 22:02 PST, Mats Palmgren (:mats)
no flags Details
Testcase (552 bytes, application/zip)
2005-12-22 22:17 PST, Mats Palmgren (:mats)
no flags Details
Fix (32.04 KB, patch)
2006-04-06 22:50 PDT, Johnny Stenback (:jst,
no flags Details | Diff | Splinter Review
Fix (diff -w for reviewers). (29.66 KB, patch)
2006-04-06 22:52 PDT, Johnny Stenback (:jst,
mrbkap: review+
bzbarsky: superreview+
Details | Diff | Splinter Review
Fix issues found by bz and mrbkap. (7.21 KB, patch)
2006-04-07 17:44 PDT, Johnny Stenback (:jst,
mrbkap: review+
bzbarsky: superreview+
dveditz: approval‑branch‑1.8.1-
dveditz: approval1.8.0.4-
dveditz: approval1.8.0.5-
Details | Diff | Splinter Review
Branch patch, maybe (34.53 KB, patch)
2006-06-19 16:18 PDT, Blake Kaplan (:mrbkap)
jst: review+
jst: superreview+
dbaron: approval1.8.1+
Details | Diff | Splinter Review
Full patch (125.23 KB, patch)
2006-07-18 14:45 PDT, Blake Kaplan (:mrbkap)
jst: review+
jst: superreview+
dbaron: approval1.8.1+
Details | Diff | Splinter Review
Better full patch (126.65 KB, patch)
2006-07-25 16:09 PDT, Blake Kaplan (:mrbkap)
dveditz: approval1.8.0.7+
Details | Diff | Splinter Review

Comment 1 Mats Palmgren (:mats) 2005-12-22 16:09:58 PST
(gdb) bt
#0  0x40b3dc9a in XPCNativeInterface::GetName() const (this=0x3f8) at xpcprivate.h:1218
#1  0x40b3db90 in XPCNativeSet::FindMember(long, XPCNativeMember**, unsigned short*) const (this=0x8b493d0, name=135406484, pMember=0xbfffdeb4,
    pInterfaceIndex=0xbfffde7e) at xpcinlines.h:397
#2  0x40b3dc3d in XPCNativeSet::FindMember(long, XPCNativeMember**, XPCNativeInterface**) const (this=0x8b493d0, name=135406484,
    pMember=0xbfffdeb4, pInterface=0x3f8) at xpcinlines.h:428
#3  0x40b3d9e8 in XPCNativeSet::FindMember(long, XPCNativeMember**, XPCNativeInterface**, XPCNativeSet*, int*) const (this=0x8b493d0,
    name=135406484, pMember=0x3f8, pInterface=0x3f8, protoSet=0x8adb950, pIsLocal=0x3f8) at xpcinlines.h:445
#4  0x40b79144 in XPC_WN_Helper_NewResolve (cx=0x87dd5c8, obj=0x8b7e5b0, idval=135406484, flags=1, objp=0xbfffe038)
    at xpcwrappednativejsops.cpp:1091
#5  0x401b14e9 in js_LookupPropertyWithFlags (cx=0x87dd5c8, obj=0x8b7e5b0, id=137620232, flags=1, objp=0xbfffe0c4, propp=0xbfffe0c8)
    at jsobj.c:2695
#6  0x401b1247 in js_LookupProperty (cx=0x87dd5c8, obj=0x8b7e5b0, id=137620232, objp=0xbfffe0c4, propp=0xbfffe0c8) at jsobj.c:2600
#7  0x401b1cf7 in js_GetProperty (cx=0x87dd5c8, obj=0x8b7e5b0, id=137620232, vp=0xbfffe1f4) at jsobj.c:2885
#8  0x4019e0df in js_Interpret (cx=0x87dd5c8, pc=0x8b1f914 "5", result=0xbfffe2bc) at jsinterp.c:3576
#9  0x401932a0 in js_Invoke (cx=0x87dd5c8, argc=1, flags=2) at jsinterp.c:1231
#10 0x4019352e in js_InternalInvoke (cx=0x87dd5c8, obj=0x3f8, fval=1016, flags=0, argc=1, argv=0x8a85e18, rval=0xbfffe4f8) at jsinterp.c:1308
#11 0x4016bca1 in JS_CallFunctionValue (cx=0x87dd5c8, obj=0x87e85d8, fval=142956992, argc=1, argv=0x8a85e18, rval=0xbfffe4f8) at jsapi.c:4157
#12 0x413843ee in nsJSContext::CallEventHandler(JSObject*, JSObject*, unsigned, long*, long*) (this=0x87dd518, aTarget=0x87e85d8,
    aHandler=0x88559c0, argc=1, argv=0x8a85e18, rval=0xbfffe4f8) at nsJSEnvironment.cpp:1423
#13 0x4139bee2 in nsGlobalWindow::RunTimeout(nsTimeout*) (this=0x8982a70, aTimeout=0x8a592c0) at nsGlobalWindow.cpp:6243
#14 0x4139c79a in nsGlobalWindow::TimerCallback(nsITimer*, void*) (aTimer=0x8a59308, aClosure=0x8a592c0) at nsGlobalWindow.cpp:6602
#15 0x401047a4 in nsTimerImpl::Fire() (this=0x8a59308) at nsTimerImpl.cpp:400
#16 0x4010492a in handleTimerEvent (aEvent=0x881c468) at nsTimerImpl.cpp:467
#17 0x400fda19 in PL_HandleEvent (self=0x881c468) at plevent.c:688
#18 0x400fd8f2 in PL_ProcessPendingEvents (self=0x80daae8) at plevent.c:623
#19 0x40100472 in nsEventQueueImpl::ProcessPendingEvents() (this=0x80fa348) at nsEventQueue.cpp:417
#20 0x41d18fae in event_processor_callback (source=0x83ce9e8, condition=G_IO_IN, data=0x8b493d0) at nsAppShell.cpp:67
#21 0x40686def in g_io_unix_dispatch () from /opt/gnome/lib/
#22 0x40664148 in g_main_dispatch () from /opt/gnome/lib/
#23 0x406651a8 in g_main_context_dispatch () from /opt/gnome/lib/
#24 0x406655a8 in g_main_context_iterate () from /opt/gnome/lib/
#25 0x40665bf7 in g_main_loop_run () from /opt/gnome/lib/
#26 0x403896ff in gtk_main () from /opt/gnome/lib/
#27 0x41d19558 in nsAppShell::Run() (this=0x8164e38) at nsAppShell.cpp:139
#28 0x41c886a5 in nsAppStartup::Run() (this=0x8163ac0) at nsAppStartup.cpp:207
#29 0x08051663 in main1 (argc=2, argv=0xbfffeae4, nativeApp=0x80b54c8) at nsAppRunner.cpp:1248
#30 0x08051fdb in main (argc=2, argv=0xbfffeae4) at nsAppRunner.cpp:1737
Comment 2 Mats Palmgren (:mats) 2005-12-22 16:13:09 PST
Assertions before the crash (hundreds of them):

###!!! ASSERTION: Potential deadlock between XPCJSRuntime::mMapLockMonitor@811b230 and Monitor@bfffdb40: 'Error', file nsAutoLock.cpp, line 302
Break: at file nsAutoLock.cpp, line 302
###!!! ASSERTION: XPConnect is being called on a scope without a 'Components' property!

This is pretty much always bad. It usually means that native code is
making a callback to an interface implemented in JavaScript, but the
document where the JS object was created has already been cleared and the
global properties of that document's window are *gone*. Generally this
indicates a problem that should be addressed in the design and use of the
callback code.
: 'Error', file xpcwrappednativescope.cpp, line 589
Break: at file xpcwrappednativescope.cpp, line 589
###!!! ASSERTION: Principal mismatch.  Not good: '!aAllowShortCircuit || result == doGetObjectPrincipal(aCx, aObj, PR_FALSE)', file nsScriptSecurityManager.cpp, line 2169
Break: at file nsScriptSecurityManager.cpp, line 2169
Comment 4 Brendan Eich [:brendan] 2005-12-22 19:44:52 PST
Split window fallout?  Not a JS engine bug, probably not an XPConnect bug.  If split window, then DOM.

Comment 6 Mats Palmgren (:mats) 2005-12-22 22:02:30 PST
Created attachment 206677 [details]
(frame content for Testcase #1)
Comment 8 Jesse Ruderman 2006-02-02 16:31:52 PST
jst, can you look at this?
Comment 9 Jesse Ruderman 2006-03-18 00:27:47 PST
I think this is a dup of bug 323978.
Comment 10 Boris Zbarsky [:bz] (still a bit busy) 2006-03-23 23:16:42 PST
I kinda doubt it is, but let's recheck once that's fixed, I guess.
Comment 11 Johnny Stenback (:jst, 2006-04-03 23:43:27 PDT
This actually does look a lot like the crashes mrbkap and I have seen in bug 323978, but yeah, let's wait and see...
Comment 12 Johnny Stenback (:jst, 2006-04-06 22:50:19 PDT
Created attachment 217533 [details] [diff] [review]

This fixes this crash. This includes mrbkap's "incomplete patch" from bug 323978 with some changes, and also fixes to our wrapper reparenting code in nsContentUtils and fixes to all our BindToTree() implementations where they weren't updating the node's nodeinfo to reflect the node's new owner document in case the node was being bound to a subtree that's not part of a document. I'll be attaching a diff -w for reviewers shortly.
Comment 13 Johnny Stenback (:jst, 2006-04-06 22:52:09 PDT
Created attachment 217534 [details] [diff] [review]
Fix (diff -w for reviewers).

diff -w for review. See previous attachment for explanation of the changes.
Comment 14 Johnny Stenback (:jst, 2006-04-06 22:58:59 PDT
Oh, and this *is* the exact same crash that's mentioned in bug 323978. I decided to put the fix here since this bug is only about the crash, not about the assertions etc, which are unrelated to the crash.

To elaborate a bit more on what's causing this crash, we end up in a state where xpconnect's notion of a DOM node's scope doesn't match the scope that's reachable through the node's owner document. A couple of problems cause this to happen, the first one is fixed by mrbkap's changes to make a document know it's scope even after it doesn't have a script global object any longer, that caused nsNodeSH::PreCreate() to not find the right scope in those cases. The second cause is that nsContentUtils::ReparentContentWrapper() didn't always reparent the wrappers when needed, and the third cause was that nsContentUtils::ReparentContentWrapper() *did* reparent the wrappers correctly, but the DOM nodes owner document (through its node info) wasn't updated properly to reflect the fact that the node is now part of a new scope.

The patch fixes all those issues and makes stirdom run these testcases w/o crashing.
Comment 16 Boris Zbarsky [:bz] (still a bit busy) 2006-04-07 10:25:42 PDT
Going to review this tonight, I hope.  Looks pretty reasonable in general, though.  I'd like some docs on the nsIDocument change explaining clearly how this differs from GetScriptGlobalObject.  And with this change, could we move over whatever script global object getters need to be moved over and remove the hack that returns the container's window if mIsGoingAway is true?  That would be very wonderful, imo.  And would actually fix some extant bfcache issues.
Comment 17 Jonas Sicking (:sicking) No longer reading bugmail consistently 2006-04-07 11:34:55 PDT
Jesse: Please file a new bug, possibly after this one has been checked in in case fixes are made to the patch.
Comment 18 Blake Kaplan (:mrbkap) 2006-04-07 13:31:14 PDT
Comment on attachment 217534 [details] [diff] [review]
Fix (diff -w for reviewers).

>Index: content/base/public/nsContentUtils.h
>   static nsresult doReparentContentWrapper(nsIContent *aChild,

Please rename this parameter as you do in the .cpp file.

>Index: content/base/public/nsIDocument.h

Something like this, perhaps:
 * Get the object that all of the content wrappers whose owner document
 * this is are parented to. Unlike the script global object, this
 * never changes once it's set. Use this object when you're trying
 * to find a content wrapper in XPConnect.
>+  virtual nsIScriptGlobalObject* GetScopeObject() = 0;

>Index: content/base/src/nsDocument.cpp
>+  if (!mScopeObject) {

Comment here that the scope object is immutable?

>Index: content/base/src/nsDocument.h
>+  nsWeakPtr mScopeObject;

Is it worth comment that this is a weak reference to avoid reference cycles (and thus to avoid leaking).

>Index: dom/src/base/nsDOMClassInfo.cpp
>     // Get the script global object from the document.

This comment wants some updating!

Comment 19 Boris Zbarsky [:bz] (still a bit busy) 2006-04-07 14:10:05 PDT
Comment on attachment 217534 [details] [diff] [review]
Fix (diff -w for reviewers).

>Index: content/base/public/nsIDocument.h
>   virtual nsIScriptGlobalObject* GetScriptGlobalObject() const = 0;
>   virtual void SetScriptGlobalObject(nsIScriptGlobalObject* aGlobalObject) = 0;
>+  virtual nsIScriptGlobalObject* GetScopeObject() = 0;

The more I think about it, the more I suspect that a lot (almost all?  Maybe except for nsDocument::GetWindow?) callers really want what GetScopeObject does -- get the scope object, if it exists and lives.

I'm ok with having the two separate methods for now in the interests of getting this landed and maybe even onto branches, but for 1.9 I really think we should make GetScriptGlobalObject do what GetScopeObject does in this patch, fix the very few callers that would need fixing, and remove GetScopeObject.

>Index: content/base/src/nsContentUtils.cpp
>+  // Whether or not aChild is already wrapped we must iterate through
>+  // its decendants


> since there's no guaratee


> that a decendant


>@@ -900,53 +895,57 @@ nsContentUtils::ReparentContentWrapper(n
>+  if (!globalObj) {
>+    // No global object around; can't find the old wrapper w/o the old
>+    // context or global object

Well, we can find it with the new context, apparently, as long as we have the old global obj.  Fix the comment?

>+  return doReparentContentWrapper(aContent, cx, globalObj, newParent);

So... if we're renaming the last arg to doReparentContentWrapper to aNewGlobal, this doesn't really make sense.

Maybe we should just call it aObjectInNewScope or something?  :(  Or get the actual globak off the newParent here and pass that in?

>Index: content/base/src/nsDOMAttribute.cpp
>-  newNodeInfo.swap(mNodeInfo);
>+  mNodeInfo.swap(newNodeInfo);

Why does it matter?

>Index: content/base/src/nsDocument.cpp

> nsDocument::SetScriptGlobalObject(nsIScriptGlobalObject *aScriptGlobalObject)

>   mScriptGlobalObject = aScriptGlobalObject;
>+  if (!mScopeObject) {
>+    mScopeObject = do_GetWeakReference(aScriptGlobalObject);
>+  }

#ifdef DEBUG
    else {
      nsCOMPtr<nsIScriptGlobalObject> scope = do_QueryReferent(mScopeObject);
      NS_ASSERTION(scope == aScriptGlobalObject,
                   "script global and scope mismatch");

or something?  Just to make sure people don't screw this up?

>Index: content/base/src/nsGenericDOMDataNode.cpp

>@@ -692,37 +692,47 @@ nsGenericDOMDataNode::BindToTree(nsIDocu

Toss in an XXX XBL2/sXBL comment here like for generic element?

>Index: content/base/src/nsGenericElement.cpp
>+  // check the nodeinfo managers whether we need a new nodeinfo

That's only a few blocks down.. maybe "handle a change in our ownerDocument"?

>+  if (newOwnerDocument) {
>+      rv = slots->mAttributeMap->SetOwnerDocument(newOwnerDocument);

Shouldn't this be:

  if (newOwnerDocument && newOwnerDocument != oldOwnerDocument)

or something?

>Index: content/xul/content/src/nsXULElement.cpp

Same comments as for nsGenericElement.

Looks reasonable otherwise.
Comment 20 Johnny Stenback (:jst, 2006-04-07 17:39:44 PDT
(In reply to comment #19)
> >Index: content/base/src/nsDOMAttribute.cpp
> >-  newNodeInfo.swap(mNodeInfo);
> >+  mNodeInfo.swap(newNodeInfo);
> Why does it matter?

It doesn't, I just changed it for consistency's sake since all other code that changes mNodeInfo does it this way. I can undo that if you prefer to leave it...

I changed the rest, I'm putting up an interdiff with the changes requested. The code in nsContentUtils.cpp changed somewhat, so please look that over in the interdiff.
Comment 21 Johnny Stenback (:jst, 2006-04-07 17:44:50 PDT
Created attachment 217638 [details] [diff] [review]
Fix issues found by bz and mrbkap.

This is a diff from a tree with the previous diff to a tree with the issues mentioned here fixed.
Comment 22 Blake Kaplan (:mrbkap) 2006-04-07 17:49:42 PDT
Comment on attachment 217638 [details] [diff] [review]
Fix issues found by bz and mrbkap.

Comment 23 Boris Zbarsky [:bz] (still a bit busy) 2006-04-07 18:20:45 PDT
Comment on attachment 217638 [details] [diff] [review]
Fix issues found by bz and mrbkap.

> I can undo that if you prefer to leave it...

Maybe just land it in a separate checkin so it doesn't look like it's needed to fix this bug (eg on branches)?

Comment 24 Boris Zbarsky [:bz] (still a bit busy) 2006-04-12 10:09:24 PDT
Could this have caused bug 333697?
Comment 25 Jesse Ruderman 2006-04-12 10:52:44 PDT
(The checkin for this bug was at 2006-04-10 20:49.)
Comment 26 Blake Kaplan (:mrbkap) 2006-04-12 18:48:09 PDT
We should evaluate this for the branches.
Comment 27 Daniel Veditz [:dveditz] 2006-04-14 00:19:52 PDT
(In reply to comment #25)
> (The checkin for this bug was at 2006-04-10 20:49.)

Shouldn't this bug be marked FIXED on trunk, then?
Comment 28 Blake Kaplan (:mrbkap) 2006-04-14 15:38:25 PDT
Yes, it should.
Comment 29 David Baron :dbaron: ⌚️UTC-10 2006-04-18 12:59:21 PDT
This checkin made the new_parent variable unused; it looks like it could be removed.
Comment 30 Johnny Stenback (:jst, 2006-04-24 21:10:53 PDT
new_parent variable removed.
Comment 31 Tim Riley [:timr] 2006-04-28 11:44:32 PDT
The release team is really nervous about this one.  I sent email to drivers and the security group looking for advice.  This fix has causes some regressions (bug 333697, bug 335333).  There may be other issues lurking out there.  This is coming in late so there isn't very much bake time.  

At the same time, this is a serious security issue.  It fixes the crash part of bug 323978 which involves accessing deleted memory.  This is similar to the firedrill bug for 1503.
Comment 33 Jesse Ruderman 2006-04-28 21:03:36 PDT
> With the patch, I still see crashes when running Stir DOM on pages with lots of
> iframes, such as the examples under

Bug 335896 covers most (possibly all) of the remaining crashes.
Comment 34 Boris Zbarsky [:bz] (still a bit busy) 2006-05-01 21:13:02 PDT
Did this ever get checked in on 1.8 branch?
Comment 35 Daniel Veditz [:dveditz] 2006-05-02 11:27:21 PDT
Comment on attachment 217638 [details] [diff] [review]
Fix issues found by bz and mrbkap.

approved for 1.8.0 branch, a=dveditz for drivers
Comment 36 Johnny Stenback (:jst, 2006-05-02 20:08:01 PDT
This will unfortunately need to wait for as the patches in this bug don't apply cleanly at all, and even worse, they depend on the fix for bug 27382 which is something we really don't want on the branch as is.

Our options are quite few here, we need to come up with a branch safe fix for bug 27382, and then successfully merge these changes to the branch(es). Not something that can reasonably be done in time for :(
Comment 37 Daniel Veditz [:dveditz] 2006-05-03 10:40:32 PDT
Comment on attachment 217638 [details] [diff] [review]
Fix issues found by bz and mrbkap.

Unapproving for and moving to next release per comment 36
Comment 38 Jonas Sicking (:sicking) No longer reading bugmail consistently 2006-06-05 11:45:55 PDT
How do you guys feel about landing this on the 1.8.0 branch? Is it really safe enough given that it caused some regressions on the trunk, i.e. might it cause other regressions on the branch?

And what needs to be ported for it to land? I guess at the least bug 27382 would need to be ported.
Comment 39 Boris Zbarsky [:bz] (still a bit busy) 2006-06-05 12:10:01 PDT
I think if we could get more baking for it (e.g. on trunk and 1.8.1 branch?  Might want that since trunk testing is so low) it would be ok for, hopefully...

That said, we should figure out what the plan is with the nsIDocument change in this patch as far as branches go.
Comment 40 Daniel Veditz [:dveditz] 2006-06-15 14:30:03 PDT
Comment on attachment 217638 [details] [diff] [review]
Fix issues found by bz and mrbkap.

Jonas says we'll get a combined branch patch for all the related regressions.
Comment 41 Blake Kaplan (:mrbkap) 2006-06-19 16:18:39 PDT
Created attachment 226234 [details] [diff] [review]
Branch patch, maybe

This patch is the backporting of all of relevant patches here. However, I still see scary assertions followed by iloops or null pointer derefs in nsContentIterator code. This patch doesn't include Jonas' changes to make text nodes have an mNodeInfoManager.
Comment 42 Jonas Sicking (:sicking) No longer reading bugmail consistently 2006-06-19 17:41:32 PDT
The contentiterator crash could be bug 335896 maybe?
Comment 43 Blake Kaplan (:mrbkap) 2006-06-19 17:54:41 PDT
(In reply to comment #42)
> The contentiterator crash could be bug 335896 maybe?

Yeah, that seems very possible (I bet any use of the content iterator on a document that this has happened to will hang or crash).
Comment 44 Jonas Sicking (:sicking) No longer reading bugmail consistently 2006-06-21 14:49:51 PDT
Blake, does this patch include the fixes for the regressions: 333697, 335785 and 335333?
Comment 45 Blake Kaplan (:mrbkap) 2006-06-21 15:23:10 PDT
(In reply to comment #44)
> Blake, does this patch include the fixes for the regressions: 333697, 335785
> and 335333?

Yes, it does.
Comment 46 Daniel Veditz [:dveditz] 2006-06-21 15:56:09 PDT
Getting nervous about landing this in, want more testing for regressions and it's very unlikely people will stumble over the conditions for this crash. Moving to
Comment 47 David Baron :dbaron: ⌚️UTC-10 2006-06-28 19:22:10 PDT
We're interested in getting a patch for this in *before* FF2beta1.
Comment 48 Mike Schroepfer 2006-07-06 15:38:29 PDT
Retargeting to B2 as we are still waiting for review and this missed the train - so b1 is no worse than shipping version.  We'll pick it up in b2.
Comment 49 Johnny Stenback (:jst, 2006-07-06 17:20:53 PDT
Comment on attachment 226234 [details] [diff] [review]
Branch patch, maybe

- In nsGenericElement::doReplaceOrInsertBefore():

     if (!newContentIsXUL) {
-      nsContentUtils::ReparentContentWrapper(newContent, aParent,
-                                             container.GetOwnerDoc(),
-                                             old_doc);
+      res = nsContentUtils::ReparentContentWrapper(newContent, aParent,
+                                                   container.GetOwnerDoc(),
+                                                   old_doc);
+      NS_ENSURE_SUCCESS(res, res);

This looks like the right thing to do, but we don't do this on the trunk yet. If we want to do this we should land this separately, and land it first on the trunk etc.

r+sr=jst w/o the above change.
Comment 50 David Baron :dbaron: ⌚️UTC-10 2006-07-14 11:15:20 PDT
Comment on attachment 226234 [details] [diff] [review]
Branch patch, maybe

a=dbaron on behalf of drivers.  Please check in to MOZILLA_1_8_BRANCH and mark fixed1.8.1 once you have.
Comment 51 David Baron :dbaron: ⌚️UTC-10 2006-07-18 09:19:08 PDT
(In reply to comment #50)
> (From update of attachment 226234 [details] [diff] [review] [edit])
> a=dbaron on behalf of drivers.  Please check in to MOZILLA_1_8_BRANCH and mark
> fixed1.8.1 once you have.

Would be good to get this checked in ASAP.
Comment 52 Blake Kaplan (:mrbkap) 2006-07-18 14:45:41 PDT
Created attachment 229722 [details] [diff] [review]
Full patch

This is the full patch, and not just the changes that this bug incurred. The other parts of this patch are from Jonas, who backported peterv's patch from bug 27382. I realized that that part of the patch hadn't quite made it into a bug or technically gotten approval before now, and I wanted to make sure that it did.
Comment 53 Johnny Stenback (:jst, 2006-07-18 15:00:44 PDT
Comment on attachment 229722 [details] [diff] [review]
Full patch

r+sr=jst for the nodeinfo parts as well.
Comment 54 Boris Zbarsky [:bz] (still a bit busy) 2006-07-19 13:19:09 PDT
Blake, does that "full patch" roll in the regression fixes too, or would those land separately?
Comment 55 Blake Kaplan (:mrbkap) 2006-07-20 10:04:08 PDT
(In reply to comment #54)
> Blake, does that "full patch" roll in the regression fixes too, or would those
> land separately?

They're rolled in.
Comment 56 Blake Kaplan (:mrbkap) 2006-07-20 10:35:11 PDT
Checked into the 1.8 branch.
Comment 57 Blake Kaplan (:mrbkap) 2006-07-21 13:27:25 PDT
I had to back this out of the 1.8 branch. I'll investigate the problems it caused on the 1.8 branch and check it back in.
Comment 58 Blake Kaplan (:mrbkap) 2006-07-25 16:09:03 PDT
Created attachment 230656 [details] [diff] [review]
Better full patch
Comment 59 Blake Kaplan (:mrbkap) 2006-07-27 18:02:10 PDT
Let's try that again.
Comment 60 Daniel Veditz [:dveditz] 2006-08-11 11:30:58 PDT
Comment on attachment 230656 [details] [diff] [review]
Better full patch

approved for 1.8.0. branch, a=dveditz for drivers
Comment 61 Blake Kaplan (:mrbkap) 2006-08-18 16:09:37 PDT
I just checked a combined fix (including all known regressions) into the 1.8.0 branch.
Comment 62 Bob Clary [:bc:] 2006-08-21 21:02:41 PDT, unzipped and loaded index.html from disk, ff2b2 winxp, linux no crash

verified fixed 1.8
Comment 63 alice nodelman [:alice] [:anode] 2006-08-22 14:44:17 PDT
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv: Gecko/20060821 Firefox/, unzipped and loaded
index.html from disk no crash.

Comment 66 Jesse Ruderman 2008-11-29 18:07:35 PST
This bug's steps to reproduce were insane, so in-testsuite-.  I will check in the testcase in bug 400349 (which was fixed by this patch) and mark that bug as in-testsuite+ instead.

Note You need to log in before you can comment on or make changes to this bug.