Commit Graph

111109 Commits

Author SHA1 Message Date
Ehsan Akhgari
48b5c1a608 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
2aba98c47c 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
9cc8a76bf7 Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones 2012-10-25 11:36:24 -04:00
Aryeh Gregor
18d73c0331 Bug 802995 - Missing null check in nsTextServicesDocument::DeleteSelection; r=ehsan 2012-10-25 14:36:23 +02:00
Bobby Holley
6bae1ef04d Bug 797821 - Address Ms2ger's review comments. r=me 2012-10-25 17:01:09 +02:00
Bobby Holley
c8500076c1 Bug 797821 - Remove the XPConnect Compartment Set. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
c562949e50 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
a257acaeb2 Bug 797821 - Removed the unused reserved slot for XPConnect globals. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
4ab5b9a39a Bug 797821 - Remove JSCLASS_XPCONNECT_GLOBAL flag. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
c14f6e265e 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
d7bb2e50ba 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
19e17dc08a Bug 797821 - Remove FindInJSObjectScope and friends. r=mrbkap
\o/
2012-10-25 17:01:08 +02:00
Bobby Holley
05aea8b835 Bug 797821 - Replace usage of XPCWrappedNativeScope::FindInJSObjectScope(ccx, obj) with GetObjectScope(obj). r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
18d529092b Bug 797821 - Create XPCWrappedNativeScopes immediately after global creation. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
36cb31b1bc 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
ddca166933 Bug 797821 - Remove unused aNative parameter to XPCWrappedNativeScope creation. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
9e5696d887 Bug 797821 - Stop storing mScriptObjectPrincipal. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
703a9798c9 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
d6ecaf26fe 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
826ce1e16b 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
961bc14d2b 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
3b50be121c Bug 797821 - Simplify the call signature for XPC::CreateGlobalObject. r=mrbkap 2012-10-25 17:01:07 +02:00
Bobby Holley
78e479ed30 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
b04ca561e8 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
ae9b1663ef 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
cfff89c7d8 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
24a9559c46 Bug 803740 - Wait for system-message-listener-ready before installing new gecko, r=mdas 2012-10-25 07:09:19 -07:00
Jonathan Griffin
d9ea6690ec Bug 805216 - Add mozdevice to tests.zip, r=jhammel 2012-10-24 14:54:14 -07:00
Vivien Nicolas
dd3eb265a6 Bug 802063 - [Settings] Won't remember the Data Connection status after reboot. r=gwagner 2012-10-25 15:02:15 +02:00
Vivien Nicolas
47512bbf05 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
70554260ab 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
3150bb83c2 Backout 1ebc3b1b8feb, 205c1c846d70 (bug 801488), and e4367fd2043f (bug 804323) due to b-c crashes. 2012-10-25 07:53:36 -04:00
Mats Palmgren
2c1bcc210f Bug 798691, part 2. r=roc 2012-10-25 13:17:10 +02:00
Henri Sivonen
dc4ef20648 Bug 799958 - Remove prtype.h from C++ translator output. r=smaug. 2012-10-25 14:03:27 +03:00
Markus Stange
75394ce10f 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
2fac9fd273 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
cf617ca4a7 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
ea16f5ba48 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
dd42c402ce Bug 801488. Part 2: Don't Redraw; DLBI will handle everything. r=mattwoodrow 2012-10-25 00:34:55 +13:00
Robert O'Callahan
e931c22bfd Bug 801488. Don't flush notifications when dragging a XUL splitter. r=bzbarsky 2012-10-25 00:34:49 +13:00
Gervase Markham
269f3b3d06 Bug 757367 - Add !teledata.mz to PSL. r=weppos. 2012-10-25 11:02:22 +01:00
Gervase Markham
04c4d9c54b Bug 791770 - Fix csiro.au entry in PSL. r=weppos. 2012-10-25 11:01:58 +01:00
Simone Carletti
c203c93f68 Bug 805367 - PSL changes for Google private domains. r=gerv. 2012-10-25 11:01:30 +01:00
Simone Carletti
fc3543d0b2 Bug 791117 - Addition to the public suffix list (betainabox.com). r=gerv. 2012-10-25 11:00:42 +01:00
Simone Carletti
ef65363ca8 Bug 805370 - PSL changes for Red Hat private domains. r=gerv. 2012-10-25 11:00:04 +01:00
Simone Carletti
c3b0980e65 Bug 779834 - Update .py entry in PSL. r=gerv. 2012-10-25 10:58:58 +01:00
Simon Montagu
7b247cb324 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
eb3d465115 Tests for bug 793233, r=roc 2012-10-25 01:36:37 -07:00
Phil Ringnalda
aad1519dae Back out c95958e3b85d and e8a8bf41e0c4 (bug 798964) for Android reftest-4 failures 2012-10-25 01:19:57 -07:00
Phil Ringnalda
b4416e2c2d Back out 689834383fbb (bug 782882) for timing out in browser_social_toolbar.js 2012-10-25 00:00:45 -07:00