Commit Graph

100592 Commits

Author SHA1 Message Date
Bobby Holley
2c48de6a45 Bug 778409 - Enter the compartment of unwrappedProto rather than obj in Rewrap. r=gabor
This can happen if chrome sets its proto to a content object from a different scope
than the one doing the wrapping. In this case, the prototype chain looks like this:

chromeobj => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)

When wrapping chromeobj for exampleorg_scope, things will look like this:

COW(chromeobj) => CCW(examplecom_obj) => CCW(examplecom_scope.Object.prototype)

Note that we don't remap the proto of CCW(examplecom_scope) to
exampleorg_scope.Object.prototype, because the proto remapping only happens when
the object we're wrapping is chrome. There's no reason it has to be this way, but
even if we changed it we still wouldn't get the nice remapped lookup behavior to
exampleorg_scope.Object.prototype, because the proxy handler for CCW(examplecom_obj)
isn't a ChromeObjectWrapper, and thus doesn't know how to to the prototype bouncing
correctly.

Anyway, I suspect this case isn't worth worrying about as long as we don't crash.
2012-07-30 22:18:55 +02:00
Nick Alexander
327e140c89 Bug 778081: No NullPointerException in CommandProcessor.getArgsList. r=rnewman
--HG--
extra : rebase_source : 8fd9757ef2b385f6d033e278864d8b2770aceb4a
2012-07-30 13:05:33 -07:00
Nick Alexander
1d6f11b435 Bug 766354: Don't leak PII from SendTabActivity. r=rnewman
--HG--
extra : rebase_source : cd626fd18dec41efb80fd00250b164517bcd5d5b
2012-07-30 13:05:04 -07:00
Jason Orendorff
806c6dc8a4 Disable two E4X tests that were failing only on platforms using e10s content processes after landing bug 765890. no_r=orange. 2012-07-30 14:52:02 -05:00
Jonathan Watt
b398a6b14b Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc. 2012-07-30 20:14:18 +01:00
Matt Brubeck
a02b12cf93 Back out 20b67f48676c (bug 778355) because of potential deadlock detected in make check 2012-07-30 11:56:48 -07:00
Mark Finkle
0061afb4f0 Backout 883bdf118b52 since dependent code was backed out from m-c 2012-07-30 14:41:54 -04:00
David Zbarsky
888555c386 Bug 778799 - When offloading animations, use the device pixels to figure out scale instead of CSS pixels r=mattwoodrow 2012-07-30 11:25:25 -07:00
Andrew Quartey
eb11829813 Bug 735615 - Remove AutoClean from mozglue/linkers/Utils.h r=glandium 2012-07-30 14:17:53 -04:00
Chris Peterson
bc94267076 Bug 778472 - Part 2: Replace wildcard import statements with fully-qualified names. r=mfinkle 2012-07-27 17:54:28 -07:00
Chris Peterson
22f5fd455c Bug 778472 - Part 1: Remove unused and redundant import statements. r=mfinkle 2012-07-27 17:54:41 -07:00
Ted Shroyer
4211119139 Bug 765890 - Alter mochitests/jsreftests to pass when javascript.options.xml.content defaults to false. r=jorendorff.
--HG--
extra : rebase_source : 12bd1c7b597c4834424876ac797cf7c118434d5e
2012-07-20 14:00:53 -05:00
Aryeh Gregor
1968458188 Bug 778104 - NS_IMPL_STRING_ATTR incorrectly uses bool as nsresult; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
f956593743 Bug 777292 - Return -1 from nsTableRowGroupFrame::FindLineContaining on null param; r=roc 2012-07-27 17:03:25 +03:00
Aryeh Gregor
1f6f1d1b17 Bug 777292 - netwerk/: Don't treat number of bytes as an nsresult; r=bz 2012-07-27 17:03:25 +03:00
Aryeh Gregor
5eb7e900f4 Bug 777292 - gfx/, widget/: Remove conversions to nsresult that will always result in NS_SUCCEEDED; r=roc 2012-07-27 16:52:43 +03:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Justin Lebar
e04f57a7d9 Bug 778355 - Don't clear mWindow in nsWebShellWindow's destructor; nsXULWindow will clear it when it's destroyed. r=roc
--HG--
extra : rebase_source : 8e14b506f53861315e8e96bc8f775f141cd8e8dd
2012-07-30 12:20:42 -04:00
Landry Breuil
88d4abfc50 Bug 777696: Fix gstreamer backend on big endian architectures. r=doublec 2012-07-30 17:57:15 +02:00
Landry Breuil
4df91067fc Bug 778414. Fix clang builds on OpenBSD/i386. r=glandium 2012-07-30 17:57:04 +02:00
Vladimir Vukicevic
d5a95e7983 b=773071; more incorrect merge fixup for KHR_fence_sync; r=vlad 2012-07-30 11:07:23 -04:00
Rafael Ávila de Espíndola
584c37691a Bug 778167 - Fix the offset of OS X libraries. r=bgirard. 2012-07-30 11:06:37 -04:00
Aryeh Gregor
15948adb1f Bug 291789 part 3 - Try not to ever delete across table boundaries; r=ehsan 2012-07-27 17:03:28 +03:00
Aryeh Gregor
50c71e5430 Bug 291789 part 2 - Clean up nsHTMLEditRules::InDifferentTableElements; r=ehsan 2012-07-27 17:03:28 +03:00
Aryeh Gregor
bcae4447b0 Bug 291789 part 1 - Make various nsHTMLEditUtils methods take nsINode instead of Element; r=ehsan 2012-07-27 17:03:28 +03:00
Ehsan Akhgari
c80897316e Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Kartikaya Gupta
aed9399f87 Bug 770047 - Add the LayerView directly to the XML layout rather than creating it later, so that we don't get a black flash on startup on JellyBean devices. r=sriram 2012-07-28 10:33:51 -04:00
Christian Holler
5cae4b87bf Bug 777421 - Add AddressSanitizer macosx64 debug mozconfig 2012-07-30 14:01:40 +02:00
Christian Holler
1cef04d3b9 Bug 776556 - Disable package signing when ASan is enabled 2012-07-30 13:58:34 +02:00
Masatoshi Kimura
b858849f0c Bug 750241 - Filter console messages to prevent intermittent orange; r=hsivonen 2012-07-30 12:47:19 +01:00
Christian Holler
a42c8cb1e9 Bug 777412 - Support the --setenv option in reftests 2012-07-30 13:47:27 +02:00
Gene Lian
2bca813a6f Bug 777228 - Alarm API - The back-end needs to remove alarms that have been fired from DB, so that .getAll() won't return them. r=vivien 2012-07-30 19:17:35 +08:00
Brian Hackett
4da0b7720d Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Aryeh Gregor
7e08f8aa4b Bug 777292 - Switch incorrect nsresult to nsrefcnt; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
52ab25cf3e Bug 777292 - Convert some nsresult to SECStatus; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
43d640b048 Bug 777292 - Use assert for arg validity in nsHTMLAnonymousUtils' GetCSSFloatValue instead of NS_ENSURE_ARG_POINTER; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
7bf9fe596b Bug 777292 - Add casts and annoyed comments where we make up nsresult codes on the fly; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
91391164b5 Bug 777292 - Cast NS_ENUMERATOR_FALSE to nsresult and complain in comments; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
17bdf11678 Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
66d337960d Bug 777292 - Add default cases to switches on nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
f5f9ac7115 Bug 777292 - Convert an nsresult variable to PRStatus; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
1b5c2616f8 Bug 777292 - Cast the result of setjmp() to nsresult where it's incorrectly used that way; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
392e16dd0f Bug 777292 - exit(-1) instead of exit(NS_ERROR_FAILURE); r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
8df95f44f7 Bug 777292 - Remove unreached return; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
58769bb9d6 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Aryeh Gregor
8e459312df Bug 777292 - editor/: Remove conversions to nsresult that will always result in NS_SUCCEEDED; r=ehsan 2012-07-27 16:46:48 +03:00
Robert Longson
42a531f78a Tests for Bug 710974 - extraneous commas should be rejected by number list parser. r=dholbert 2012-07-30 10:02:50 +01:00
Tim Taubert
9007cd0287 Bug 710974 - extraneous commas should be rejected by number list parser. r=dholbert 2012-07-30 10:02:46 +01:00
David Zbarsky
b553f704bb Bug 778501 Part 4: DeviceContext should be an nsRefPtr r=roc 2012-07-29 21:36:32 -07:00