issue462: newer XULRunner builds require init of nsITransferable objects

Priority: bug Status: chatting
File name Uploaded Type Edit Remove
nsITransferable.diff noel, 2014-02-03.03:20:48 application/octet-stream
msg1189 (view) Author: noel Date: 2014-02-03.03:20:48
I've been running 1.0pre against a XULRunner built off of mozilla-central.  I noticed that pasting data
to conkeror from the clipboard resulted in a SEGV.  Poking around, I discovered:

In short, in order to support private browsing, nsITransferable objects are now required to be
initialized after being created.  I've attached a patch against the current git tree which fixes the SEGV.
msg1190 (view) Author: noel Date: 2014-02-03.17:10:58
I should clarify and say that I'm running a debugging build of XULRunner.  The SEGV happens for debug
builds because of a MOZ_ASSERT which is designed to catch bugs during the debug process rather than make
browsers crash in the field.  (I'm guessing that manipulating the clipboard was considered something
"internal" rather than external.)  Since conkeror touches these objects, it should DTRT with them.

(Downgrading from urgent.)
Date User Action Args
2014-02-03 17:10:59noelsetpriority: urgent -> bug
status: unread -> chatting
messages: + msg1190
2014-02-03 03:20:48noelcreate