Commit Graph

96371 Commits

Author SHA1 Message Date
Ed Morley
d5a5d08eeb Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 15:37:13 +01:00
Bobby Holley
25b91123c7 Bug 754202 - Remove NoWaiverWrapper. r=mrbkap
No more principal pushing!
2012-06-07 14:28:22 +02:00
Bobby Holley
76ae847652 Bug 754202 - Remove mContextPrincipal usage from within nsScriptSecurityManager. r=mrbkap 2012-06-07 14:28:22 +02:00
Bobby Holley
59dda709f9 Bug 754202 - Remove context pushing/popping API. r=mrbkap
Each one of these uses grabs the principal off of an object for pushing, but also enters the compartment of that object. So we shouldn't need this anymore.

Can I get a 'hell yeah'?
2012-06-07 14:28:21 +02:00
Bobby Holley
92151c7593 Bug 754202 - Disallow calling EvaluateString{,WithValue} with a principal that doesn't match the global. r=mrbkap 2012-06-07 14:28:21 +02:00
Bobby Holley
1449c05d14 Bug 754202 - Pull subject principals directly off the compartment. r=mrbkap
It would be nice to check these principals against the principals acquired
using the old mechanism. Unfortunately, they often differ. Because CAPS uses
JS stack frames, any time we enter a compartment and do an operation (even
throwing an Access-Denied exception) without running any JS code, we'll end
up with a different principal.

Our security story is pretty darn tied to compartments at this point, so let's
just pull the trigger.
2012-06-07 14:28:21 +02:00
Bobby Holley
cc0e94bad7 Bug 754202 - Pull object principals directly off the compartment, and assert that behavior doesn't change. r=bz 2012-06-07 14:28:21 +02:00
Bobby Holley
c4dfbb7e93 Bug 754202 - Fix content->chrome postMessage mochitest. r=bz
This isn't something we actually support, and were using enablePrivilege to do it before.
When we switch this to SpecialPowers wrapping, the sender origin becomes a chrome URL (not
very interesting) and the source window becomes null (which we do explicitly in
nsGlobalWindow for chrome callers). So those tests stop being useful.
2012-06-07 14:28:21 +02:00
Chris Jones
8e29601934 Bug 762240: Install a console.* shim for all browser frames, and ensure we load webapi.js properly. r=vingtetun 2012-06-07 04:17:59 -07:00
Robert O'Callahan
a54ea3aa5f Bug 753329. Share ThebesLayerInvalidRegion for a given ContainerLayer across all the frames that are sharing that layer as their ContainerLayer. r=mattwoodrow
* * *
Bug 753329. Followup: put ThebesLayerInvalidRegionProperty in display-list-builder coordinates so it can be shared by frames with different coordinate systems. r=mattwoodrow
2012-06-07 22:07:32 +12:00
Robert O'Callahan
26dd819e2e Bug 761572. Allow click and dblclick events to be sent to an element even if it's made display:none during the mouseup event. r=smaug 2012-06-07 22:06:39 +12:00
Luke Wagner
fd5e3403c6 Bug 762105 - Fix increment on formal parameters aliased by the arguments object (r=dvander) 2012-06-07 02:42:56 -07:00
Ed Morley
13b33a03ed Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 10:32:36 +01:00
Mike Hommey
cfc270005a Bug 761082 - Only export TabMessageUtils.h in mozilla/dom. r=cjones 2012-06-07 10:41:59 +02:00
Mike Hommey
f0b5e3a818 Bug 756786 - Use XPCOM standalone glue in nsXULRunnerApp.cpp. r=bsmedberg 2012-06-07 10:41:59 +02:00
Mike Hommey
a0fae25a64 Bug 756786 - Remove NSPR usage from nsXULRunnerApp.cpp. r=bsmedberg 2012-06-07 10:41:59 +02:00
Mike Hommey
6312934810 Bug 735278 - Call destructors in reverse order of initializers in the linker. r=froydnj 2012-06-07 10:41:59 +02:00
Mike Hommey
505d68ddea Bug 580408 - Glue for jemalloc 3.0.0. r=khuey 2012-06-07 10:41:59 +02:00
Mike Hommey
372c1292d3 Bug 580408 - Import jemalloc 3.0.0. r=khuey,r=gerv 2012-06-07 10:41:58 +02:00
Mike Hommey
2de42d5e59 Bug 580408 - Move Mozilla fork of jemalloc to memory/mozjemalloc. r=khuey
--HG--
rename : memory/jemalloc/Makefile.in => memory/mozjemalloc/Makefile.in
rename : memory/jemalloc/jemalloc.c => memory/mozjemalloc/jemalloc.c
rename : memory/jemalloc/jemalloc.h => memory/mozjemalloc/jemalloc.h
rename : memory/jemalloc/jemalloc_types.h => memory/mozjemalloc/jemalloc_types.h
rename : memory/jemalloc/linkedlist.h => memory/mozjemalloc/linkedlist.h
rename : memory/jemalloc/osx_zone_types.h => memory/mozjemalloc/osx_zone_types.h
rename : memory/jemalloc/ql.h => memory/mozjemalloc/ql.h
rename : memory/jemalloc/qr.h => memory/mozjemalloc/qr.h
rename : memory/jemalloc/rb.h => memory/mozjemalloc/rb.h
2012-06-07 10:41:58 +02:00
Ed Morley
650ccaada6 Backout 14bea2e7f431 (bug 762119) for compilation failures 2012-06-07 09:40:02 +01:00
Robert Longson
9971ff0f0c Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert 2012-06-07 09:30:45 +01:00
Luke Wagner
50628a216f Bug 761863 - Don't forget about jsop_aliasedArg (r=dvander) 2012-06-06 22:16:20 -07:00
L. David Baron
67fbc6caaf Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc 2012-06-06 22:11:42 -07:00
Phil Ringnalda
353d289c8c Back out 30e441f7ad9d (bug 759755) and 08286f4e696b (bug 760098) for orange 2012-06-06 22:51:58 -07:00
L. David Baron
1f41d4e3c0 Do the necessary reflow when our font inflation data changes. (Bug 759755) r=roc 2012-06-06 22:11:42 -07:00
L. David Baron
d744b8f1bd Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc 2012-06-06 22:11:42 -07:00
Phil Ringnalda
72034e800f Bug 751575 - disable test_pb_notification.js because it needs to schedule precise GC, and can't, r=luke 2012-06-06 21:33:46 -07:00
Luke Wagner
fb2aed19c9 Bug 761863 - jsop_aliasedArg should allocate a saved reg so that it isn't clobbered by the write barrier (r=dvander) 2012-06-06 20:52:16 -07:00
Chris Double
d8fc457685 Bug 761786 - fix media playback crash when using omx-plugin and reloading videos - r=edwin 2012-06-07 15:29:08 +12:00
Tim Chien
1778ecf02e Bug 755648 - Fix the key event dance between system app and apps. r=vingtetun 2012-06-07 10:18:29 +08:00
Jim Straus
dc1ddec369 Bug 740719 - Fix b2g-gonk shutdown hang. r=cjones 2012-06-09 17:07:18 -04:00
Fernando Jiménez
588adfe081 Bug 734145 - B2G RIL: Support USSD codes. Part 4: MobileConnection. r=bent 2012-06-09 17:07:18 -04:00
Fernando Jiménez
8c715017df Bug 734145 - B2G RIL: Support USSD codes. Part 3: DOMEvent. r=bent 2012-06-09 17:07:18 -04:00
Fernando Jiménez
5ecdfabb61 Bug 734145 - B2G RIL: Support USSD codes. Part 2: RIL. r=philikon 2012-06-09 17:07:18 -04:00
Fernando Jiménez
0a85d3d8ca Bug 734145 - B2G RIL: Support USSD codes. Part 1: IDLs. r=philikon 2012-06-09 17:07:18 -04:00
Geoff Lankow
ffc31a982b Bug 762079 - crash in nsFileStreamBase::MaybeOpen; r=bent 2012-06-07 11:42:10 +12:00
Terrence Cole
7a890a09da Bug 759991 - Fix infinite loop in rekeyFront with fully collided Table; r=luke
This hooks up the same path to putNew, because it is slightly more efficient and
fixes an OOM failure introduced in c9024bcb8da0.
2012-06-06 16:40:56 -07:00
Nathan Froyd
697c3c2b0d Bug 763525 - delete C++ persistent telemetry implementation; r=taras 2012-06-11 14:35:35 -04:00
Phil Ringnalda
70be7ebcd9 No bug, trigger a set of clobbered builds on a CLOSED TREE 2012-06-11 18:21:56 -07:00
Phil Ringnalda
ddf93807de Back out ecbe3c75551d (bug 759991) to investigate the effects on TestStartupCache bustage on a CLOSED TREE 2012-06-11 17:38:08 -07:00
Phil Ringnalda
4e950ce572 Back out 7166a68a7994 (bug 750307) for browser_bug645699.js bustage in a CLOSED TREE 2012-06-11 17:02:21 -07:00
Phil Ringnalda
cc83260853 Back out d52a31584c8a (bug 763525) to investigate the effects on TestStartupCache bustage on a CLOSED TREE 2012-06-11 16:37:14 -07:00
Phil Ringnalda
f14d72dae8 Back out 3eded0507a6e (bug 702369) for mochitest-chrome bustage on a CLOSED TREE 2012-06-11 15:57:56 -07:00
Mats Palmgren
bb7e931269 Bug 760088 - Move the SimpleTest.finish() after the final test is done. r=josh 2012-06-12 00:32:39 +02:00
Wes Johnston
173e45c446 Bug 763167 - Context menu for devices using the custom menu inflator. r=mfinkle,sriram 2012-06-11 15:30:00 -07:00
Boris Zbarsky
332924a065 Bug 736695 part 3. Tear down XBL bindings off a scriptrunner when unbinding nodes. r=smaug 2012-06-11 18:22:26 -04:00
Boris Zbarsky
8c315e097e Bug 736695 part 2. Use separate mutation observer batches and script blockers for the removal of newChild from its parent and the other mutations we do during an insert. r=smaug 2012-06-11 18:22:25 -04:00
Boris Zbarsky
6c3036f82a Bug 736695 part 1. Rearrange node insertion/replacement such that we remove the newChild from its parent before removing the refChild, if we need to remove refChild. r=smaug 2012-06-11 18:22:19 -04:00
Boris Zbarsky
34f805faee Bug 763424. Dynamic changes to generated content don't work correctly on frames which pass a child content insertion frame to ProcessChildren (e.g. <td>). r=dbaron 2012-06-11 18:21:35 -04:00