Commit Graph

111109 Commits

Author SHA1 Message Date
Ehsan Akhgari
03be701616 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Scott Johnson
5593f352b8 Bug 799333: Make reflow-on-zoom reset after a double-tap to zoom out. [r=blassey] 2012-10-25 10:40:30 -05:00
Justin Lebar
73af9cbc6d Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones 2012-10-25 11:36:24 -04:00
Aryeh Gregor
97eb9e0f3b Bug 802995 - Missing null check in nsTextServicesDocument::DeleteSelection; r=ehsan 2012-10-25 14:36:23 +02:00
Bobby Holley
2c584933ef Bug 797821 - Address Ms2ger's review comments. r=me 2012-10-25 17:01:09 +02:00
Bobby Holley
888856a6f7 Bug 797821 - Remove the XPConnect Compartment Set. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
461c6572fd Bug 797821 - Hoist XPConnect-y stuff out of the compartment private and into the XPCWrappedNativeScope. r=mrbkap
This change means we no longer have to keep around a set of XPConnect compartments.
We keep the compartment private around for non-xpconnecty stuff like about:memory
instrumentation that needs to happen on non-xpconnect compartments.
2012-10-25 17:01:09 +02:00
Bobby Holley
3d0731683a Bug 797821 - Removed the unused reserved slot for XPConnect globals. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
1fd1acf5e9 Bug 797821 - Remove JSCLASS_XPCONNECT_GLOBAL flag. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
92a2cd3a9d Bug 797821 - Decide whether we need to trace DOM stuff based on more relevant information than JSCLASS_XPCONNECT_GLOBAL. r=mrbkap
This will let us rip out that flag.
2012-10-25 17:01:08 +02:00
Bobby Holley
db865e0ccf Bug 797821 - Don't pass XPCONNECT_GLOBAL_FLAGS for xbl and xul document gSharedGlobalClass. r=mrbkap
A lot of these flags don't make sense in this context.
2012-10-25 17:01:08 +02:00
Bobby Holley
a6b39f268c Bug 797821 - Remove FindInJSObjectScope and friends. r=mrbkap
\o/
2012-10-25 17:01:08 +02:00
Bobby Holley
f46b3babff Bug 797821 - Replace usage of XPCWrappedNativeScope::FindInJSObjectScope(ccx, obj) with GetObjectScope(obj). r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
723b180d23 Bug 797821 - Create XPCWrappedNativeScopes immediately after global creation. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
1c625b67e4 Bug 797821 - Remove xpc_NewSystemInheritingJSObject and cached mJSPrototypeObject. r=mrbkap
xpc_NewSystemInheritingJSObject is totally unnecessary now that the system bit
has been removed (\o/). Furthermore, the mJSPrototypeObject optimization is
really dumb. it complicates tracing significantly, and we don't actually use it
in any critical places: XPCWrappedNative and slim wrapper creation use a different
prototype, so this is used only for the creation of tearoff reflectors (seldom/
never used), XPCWrappedNativeProto objects, and the nohelper prototype on the
scope (once per scope).

We could actually just pass NULL to JS_NewObject and let it deal. However, this
would actually trigger a dynamic lookup for the prototype object of the
associated JSClass, which isn't what we want. So we just explicitly pass in
Object.prototype.
2012-10-25 17:01:08 +02:00
Bobby Holley
39c5c62a72 Bug 797821 - Remove unused aNative parameter to XPCWrappedNativeScope creation. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
e99bbde601 Bug 797821 - Stop storing mScriptObjectPrincipal. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
ea14cf4726 Bug 797821 - Stop making nsXBLDocumentInfo and nsXULPrototypeDocument globals with XPConnect. r=mrbkap
We already weren't creating a scope for them. They're generally pretty isolated
and are just used for holding functions that get cloned into other scopes.
Apparently mccr8 once found an edge from an nsXULPrototypeDocument scope into
another scope, but I don't think that should really break anything.
2012-10-25 17:01:07 +02:00
Bobby Holley
a7207d9cf8 Bug 797821 - Allow compartment privates to be lazily created when using them just for storing about:memory URIs. r=mrbkap
This will allow us to stop making nsXULPrototypeDocument and nsXBLDocumentInfo
globals XPConnect globals.
2012-10-25 17:01:07 +02:00
Bobby Holley
4f6ed4314a Bug 797821 - Stop passing wantXrays directly to CreateGlobalObject. r=mrbkap
This can happen after the fact where it needs to.
2012-10-25 17:01:07 +02:00
Bobby Holley
2b65e9933d Bug 797821 - Loosen the CompartmentPrivate contract so that having one does not imply being in the compartment set. r=mrbkap
The compartment set goes away in later patches anyway. This is to allow us to
create compartment privates for things like XUL prototype document globals
without having to put them in the set and trace expandos and such.
2012-10-25 17:01:07 +02:00
Bobby Holley
597176da8c Bug 797821 - Simplify the call signature for XPC::CreateGlobalObject. r=mrbkap 2012-10-25 17:01:07 +02:00
Bobby Holley
5b8ecc6233 Bug 797821 - Remove CreateNewGlobal. r=mrbkap
It doesn't do anything useful at this point.
2012-10-25 17:01:07 +02:00
Bobby Holley
4ae7a4efff Bug 797821 - Remove the dependency of XPCWrappedNativeScope instantiation on XPCCallContext and expose the raw constructor. r=mrbkap 2012-10-25 17:01:07 +02:00
Jim Mathies
cc10f75d87 Bug 798821 - On Windows, restrict enabling of W3C touch interfaces to devices that support touch input. Also convert touch pref to 3-state value. r=bsmedberg 2012-10-25 09:57:51 -05:00
Daniel Holbert
56770d3b3e Bug 805325 - Use the actual search engine name for logo's alt text on about:home, instead of the string "undefined". r=mak 2012-10-25 07:18:07 -07:00
Jonathan Griffin
6934552f90 Bug 803740 - Wait for system-message-listener-ready before installing new gecko, r=mdas 2012-10-25 07:09:19 -07:00
Jonathan Griffin
e9224d85b6 Bug 805216 - Add mozdevice to tests.zip, r=jhammel 2012-10-24 14:54:14 -07:00
Vivien Nicolas
70e85500fd Bug 802063 - [Settings] Won't remember the Data Connection status after reboot. r=gwagner 2012-10-25 15:02:15 +02:00
Vivien Nicolas
68f119915d Bug 796079 - language.current should map to general.useragent.locale instead of intl.accept_languages. r=pike 2012-10-25 15:02:15 +02:00
Vivien Nicolas
566ad044a3 Bug 759911 - include human readable build ID, version, and channel in device info. r=lsblakk 2012-10-25 15:02:15 +02:00
Ryan VanderMeulen
0a11a998a5 Backout 1ebc3b1b8feb, 205c1c846d70 (bug 801488), and e4367fd2043f (bug 804323) due to b-c crashes. 2012-10-25 07:53:36 -04:00
Mats Palmgren
56d1a48bc1 Bug 798691, part 2. r=roc 2012-10-25 13:17:10 +02:00
Henri Sivonen
f67c4e77fb Bug 799958 - Remove prtype.h from C++ translator output. r=smaug. 2012-10-25 14:03:27 +03:00
Markus Stange
19d18b4803 Bug 770524 - Fix FuzzyEqual to not return false for equal floats which are smaller than -2048.0f. r=roc 2012-10-25 12:54:15 +02:00
Gina Yeh
5cbbfe7786 Bug 804460 - Patch 2: Failed to set audio stream volume to correct value by bluetooth headset, r=djf 2012-10-25 18:50:46 +08:00
Gina Yeh
b09af8f769 Bug 804460 - Patch 1: Failed to set audio stream volume to correct value by bluetooth headset, r=qdot 2012-10-25 18:50:41 +08:00
Robert O'Callahan
c83b18cd3f Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky 2012-10-25 00:35:29 +13:00
Robert O'Callahan
c7200b87bc Bug 801488. Part 2: Don't Redraw; DLBI will handle everything. r=mattwoodrow 2012-10-25 00:34:55 +13:00
Robert O'Callahan
3deeca1773 Bug 801488. Don't flush notifications when dragging a XUL splitter. r=bzbarsky 2012-10-25 00:34:49 +13:00
Gervase Markham
775395a5b6 Bug 757367 - Add !teledata.mz to PSL. r=weppos. 2012-10-25 11:02:22 +01:00
Gervase Markham
c2ac4e7313 Bug 791770 - Fix csiro.au entry in PSL. r=weppos. 2012-10-25 11:01:58 +01:00
Simone Carletti
3abf58a0cf Bug 805367 - PSL changes for Google private domains. r=gerv. 2012-10-25 11:01:30 +01:00
Simone Carletti
ec5ab23ea1 Bug 791117 - Addition to the public suffix list (betainabox.com). r=gerv. 2012-10-25 11:00:42 +01:00
Simone Carletti
7f607ebec3 Bug 805370 - PSL changes for Red Hat private domains. r=gerv. 2012-10-25 11:00:04 +01:00
Simone Carletti
aa8cb409c5 Bug 779834 - Update .py entry in PSL. r=gerv. 2012-10-25 10:58:58 +01:00
Simon Montagu
f75b916dab Don't split inlines with bidi-isolated kids unnecessarily when they don't have siblings. Bug 793233, r=roc 2012-10-25 01:36:37 -07:00
Simon Montagu
5ecf5594c8 Tests for bug 793233, r=roc 2012-10-25 01:36:37 -07:00
Phil Ringnalda
1d64e213a8 Back out c95958e3b85d and e8a8bf41e0c4 (bug 798964) for Android reftest-4 failures 2012-10-25 01:19:57 -07:00
Phil Ringnalda
a0fae05720 Back out 689834383fbb (bug 782882) for timing out in browser_social_toolbar.js 2012-10-25 00:00:45 -07:00