Commit Graph

96371 Commits

Author SHA1 Message Date
Ed Morley
9b60a31626 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 15:37:13 +01:00
Bobby Holley
241377ed4d Bug 754202 - Remove NoWaiverWrapper. r=mrbkap
No more principal pushing!
2012-06-07 14:28:22 +02:00
Bobby Holley
e4d8cf285c Bug 754202 - Remove mContextPrincipal usage from within nsScriptSecurityManager. r=mrbkap 2012-06-07 14:28:22 +02:00
Bobby Holley
a2ec0f4f20 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
22f683d552 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
14f7c293ba 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
a8f4d0e303 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
09834cc4d8 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
9bdcc2117b 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
c94736b8a6 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
fc2e9d6bd1 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
e405c2f8d2 Bug 762105 - Fix increment on formal parameters aliased by the arguments object (r=dvander) 2012-06-07 02:42:56 -07:00
Ed Morley
5571c78064 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 10:32:36 +01:00
Mike Hommey
f8a26e6e0a Bug 761082 - Only export TabMessageUtils.h in mozilla/dom. r=cjones 2012-06-07 10:41:59 +02:00
Mike Hommey
555eb85619 Bug 756786 - Use XPCOM standalone glue in nsXULRunnerApp.cpp. r=bsmedberg 2012-06-07 10:41:59 +02:00
Mike Hommey
34225e80d9 Bug 756786 - Remove NSPR usage from nsXULRunnerApp.cpp. r=bsmedberg 2012-06-07 10:41:59 +02:00
Mike Hommey
d05c760a77 Bug 735278 - Call destructors in reverse order of initializers in the linker. r=froydnj 2012-06-07 10:41:59 +02:00
Mike Hommey
62944180d5 Bug 580408 - Glue for jemalloc 3.0.0. r=khuey 2012-06-07 10:41:59 +02:00
Mike Hommey
eaa59b06a7 Bug 580408 - Import jemalloc 3.0.0. r=khuey,r=gerv 2012-06-07 10:41:58 +02:00
Mike Hommey
b12cf02925 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
cd7a76def7 Backout 14bea2e7f431 (bug 762119) for compilation failures 2012-06-07 09:40:02 +01:00
Robert Longson
4c0232f574 Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert 2012-06-07 09:30:45 +01:00
Luke Wagner
d5133af49a Bug 761863 - Don't forget about jsop_aliasedArg (r=dvander) 2012-06-06 22:16:20 -07:00
L. David Baron
311a0652e5 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
88011f8d12 Back out 30e441f7ad9d (bug 759755) and 08286f4e696b (bug 760098) for orange 2012-06-06 22:51:58 -07:00
L. David Baron
f0aa0d13a0 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
2918c27b5e 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
67d2032444 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
70dfd7fdbe 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
b85319f3d0 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
3827b030ee Bug 755648 - Fix the key event dance between system app and apps. r=vingtetun 2012-06-07 10:18:29 +08:00
Jim Straus
a0da6ab3fd Bug 740719 - Fix b2g-gonk shutdown hang. r=cjones 2012-06-09 17:07:18 -04:00
Fernando Jiménez
a2c3da9827 Bug 734145 - B2G RIL: Support USSD codes. Part 4: MobileConnection. r=bent 2012-06-09 17:07:18 -04:00
Fernando Jiménez
95ac02d9a9 Bug 734145 - B2G RIL: Support USSD codes. Part 3: DOMEvent. r=bent 2012-06-09 17:07:18 -04:00
Fernando Jiménez
0d81fba3b5 Bug 734145 - B2G RIL: Support USSD codes. Part 2: RIL. r=philikon 2012-06-09 17:07:18 -04:00
Fernando Jiménez
9b02a307a8 Bug 734145 - B2G RIL: Support USSD codes. Part 1: IDLs. r=philikon 2012-06-09 17:07:18 -04:00
Geoff Lankow
c1048ba252 Bug 762079 - crash in nsFileStreamBase::MaybeOpen; r=bent 2012-06-07 11:42:10 +12:00
Terrence Cole
f6ddf5df97 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
7f81b61e6d Bug 763525 - delete C++ persistent telemetry implementation; r=taras 2012-06-11 14:35:35 -04:00
Phil Ringnalda
904352fb11 No bug, trigger a set of clobbered builds on a CLOSED TREE 2012-06-11 18:21:56 -07:00
Phil Ringnalda
498d1a6e91 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
b8022689fe Back out 7166a68a7994 (bug 750307) for browser_bug645699.js bustage in a CLOSED TREE 2012-06-11 17:02:21 -07:00
Phil Ringnalda
da044b4fdc 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
b22fc2d9a9 Back out 3eded0507a6e (bug 702369) for mochitest-chrome bustage on a CLOSED TREE 2012-06-11 15:57:56 -07:00
Mats Palmgren
dc7841c08c Bug 760088 - Move the SimpleTest.finish() after the final test is done. r=josh 2012-06-12 00:32:39 +02:00
Wes Johnston
26c9749b24 Bug 763167 - Context menu for devices using the custom menu inflator. r=mfinkle,sriram 2012-06-11 15:30:00 -07:00
Boris Zbarsky
faef5a85af 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
1f507e57fd 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
5bebfdab28 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
39f6f39d17 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