Commit Graph

274029 Commits

Author SHA1 Message Date
Bobby Holley
3065c84571 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
6a1371e983 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
3d5afc4e42 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
ddbdb6b79b 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
96f9194428 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
d686b0a97b 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
276c0dd363 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
2670c30a0b 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
6ad7db26cf Bug 762105 - Fix increment on formal parameters aliased by the arguments object (r=dvander) 2012-06-07 02:42:56 -07:00
Ed Morley
d1b860bd10 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 10:32:36 +01:00
Mike Hommey
9b9514fae9 Bug 761082 - Only export TabMessageUtils.h in mozilla/dom. r=cjones 2012-06-07 10:41:59 +02:00
Mike Hommey
4573c36a8f Bug 756786 - Use XPCOM standalone glue in nsXULRunnerApp.cpp. r=bsmedberg 2012-06-07 10:41:59 +02:00
Mike Hommey
9bbcb4ebe6 Bug 756786 - Remove NSPR usage from nsXULRunnerApp.cpp. r=bsmedberg 2012-06-07 10:41:59 +02:00
Mike Hommey
c60b51ef30 Bug 735278 - Call destructors in reverse order of initializers in the linker. r=froydnj 2012-06-07 10:41:59 +02:00
Mike Hommey
1510749815 Bug 580408 - Glue for jemalloc 3.0.0. r=khuey 2012-06-07 10:41:59 +02:00
Mike Hommey
b5bd6b36d5 Bug 580408 - Import jemalloc 3.0.0. r=khuey,r=gerv 2012-06-07 10:41:58 +02:00
Mike Hommey
caf974ce43 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
3bd32a640c Backout 14bea2e7f431 (bug 762119) for compilation failures 2012-06-07 09:40:02 +01:00
Robert Longson
9b3aba30d7 Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert 2012-06-07 09:30:45 +01:00
Luke Wagner
c317428b71 Bug 761863 - Don't forget about jsop_aliasedArg (r=dvander) 2012-06-06 22:16:20 -07:00
L. David Baron
3479e2b4fd 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
bda062fbe0 Back out 30e441f7ad9d (bug 759755) and 08286f4e696b (bug 760098) for orange 2012-06-06 22:51:58 -07:00
L. David Baron
3c2993c391 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
cf8ef9a7ac 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
eae57001c8 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
79efa8ca0e 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
0c173131a9 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
6eb4ecadb3 Bug 755648 - Fix the key event dance between system app and apps. r=vingtetun 2012-06-07 10:18:29 +08:00
Jim Straus
dae5d1358d Bug 740719 - Fix b2g-gonk shutdown hang. r=cjones 2012-06-09 17:07:18 -04:00
Fernando Jiménez
1b56f27a79 Bug 734145 - B2G RIL: Support USSD codes. Part 4: MobileConnection. r=bent 2012-06-09 17:07:18 -04:00
Fernando Jiménez
f4ecbde1dc Bug 734145 - B2G RIL: Support USSD codes. Part 3: DOMEvent. r=bent 2012-06-09 17:07:18 -04:00
Fernando Jiménez
1b531488d5 Bug 734145 - B2G RIL: Support USSD codes. Part 2: RIL. r=philikon 2012-06-09 17:07:18 -04:00
Fernando Jiménez
1f2748f899 Bug 734145 - B2G RIL: Support USSD codes. Part 1: IDLs. r=philikon 2012-06-09 17:07:18 -04:00
Geoff Lankow
521ffb72d2 Bug 762079 - crash in nsFileStreamBase::MaybeOpen; r=bent 2012-06-07 11:42:10 +12:00
Terrence Cole
15a3f20f21 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
c09459762e Bug 763525 - delete C++ persistent telemetry implementation; r=taras 2012-06-11 14:35:35 -04:00
Phil Ringnalda
769fd8ea94 No bug, trigger a set of clobbered builds on a CLOSED TREE 2012-06-11 18:21:56 -07:00
Phil Ringnalda
1441492d49 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
1c309fc0d1 Back out 7166a68a7994 (bug 750307) for browser_bug645699.js bustage in a CLOSED TREE 2012-06-11 17:02:21 -07:00
Phil Ringnalda
74866bde56 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
9dadf7e858 Back out 3eded0507a6e (bug 702369) for mochitest-chrome bustage on a CLOSED TREE 2012-06-11 15:57:56 -07:00
Mats Palmgren
d2099e04ff Bug 760088 - Move the SimpleTest.finish() after the final test is done. r=josh 2012-06-12 00:32:39 +02:00
Wes Johnston
6c5477821a Bug 763167 - Context menu for devices using the custom menu inflator. r=mfinkle,sriram 2012-06-11 15:30:00 -07:00
Boris Zbarsky
8718e150dd 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
36296f29e2 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
4d7a424c99 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
5cde1093c5 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
Boris Zbarsky
898e465bbb Bug 761772. Add support for 'implements' in WebIDL. r=khuey 2012-06-11 18:21:35 -04:00
Ben Turner
160db69b19 Bug 664029 - 'Make indexeddb mochitests run in fennec'. r=khuey. 2012-06-11 14:59:27 -07:00
Brad Lassey
4dc67ea4f8 backout c115c58ef2b1 (bug 748470) for regressions 2012-06-11 14:54:17 -07:00