Commit Graph

109147 Commits

Author SHA1 Message Date
Jared Wein
fde9fd2158 Bug 797700 - Restrict height/width of ambient notification icons to 16x16. r=mixedpuppy 2012-10-05 13:06:39 -07:00
Josh Matthews
dc7a000ba6 Bug 792582 - Explicitly set privacy status of channels created by pdf.js r=yury 2012-10-05 15:53:07 -04:00
Josh Matthews
5bce12c82c Bug 792582 - Add nsIPrivateBrowsingChannel support to nsBaseChannel. r=jduell 2012-10-05 15:53:07 -04:00
Wes Johnston
7e304d84b2 Bug 795053 - Always send the profile to Gecko if it isn't sent in the original intent. r=mfinkle 2012-10-03 17:43:21 -07:00
Wes Johnston
2275b3a49c Bug 795053 - Unlock locked profiles on Android. r=blassey 2012-10-05 12:35:26 -07:00
Nick Hurley
3b4320b052 Bug 786086 - Make the new default cache size display properly. r=michal 2012-10-05 12:29:14 -07:00
Andrew McCreight
14251443aa Bug 797649 - Truncate URLs logged in --DOMWINDOW. r=bz 2012-10-05 12:15:04 -07:00
Kyle Huey
10925c911c Bug 797940: Don't use a static nsRefPtr for sScriptCacheCleaner. r=smaug 2012-10-05 12:10:30 -07:00
Kyle Huey
4bf336005a Bug 797889: Make sure IndexedDB does not send messages to thechild after it has begun shutting down. r=bent 2012-10-05 12:09:33 -07:00
Sean Stangl
55b97f6732 Bug 797551 - Use callWithABI() for Math.random(). r=dvander 2012-10-05 12:05:21 -07:00
OHZEKI Tetsuharu
72554301b2 Bug 772319 - Add an option to disable the "Close other tabs" prompt. r=dao 2012-10-05 11:50:30 -07:00
Daniel Holbert
b17f67a258 Bug 797953: Mark flexbox-widget-* reftests as having a some occasionally fuzzy pixels (at corners of buttons) 2012-10-05 11:50:29 -07:00
Jan de Mooij
72a169b2ef Bug 797825 - Port Array.prototype.concat fast path from JM to Ion. r=dvander
--HG--
extra : rebase_source : e5213bb7085685821f80ad9978b7b81706289c36
2012-10-05 20:25:21 +02:00
Steven Michaud
4ab409aa29 Bug 797834: Fix build error on OSX 10.6 in nsMacWebAppUtils; r=dwalkowski 2012-10-04 11:30:00 -07:00
Sriram Ramasubramanian
53d18ef167 Bug 794581: CyanogenMod doesn't take touch events on submenu. [r=bnicholson] 2012-10-05 11:29:36 -07:00
Sriram Ramasubramanian
bae1b8aff4 Bug 798135: Update comments for GeckoAsyncTask. [r=cpeterson] 2012-10-05 11:13:55 -07:00
Sriram Ramasubramanian
079812eb99 Bug 798135: Make GeckoAsyncTask run on GeckoBackgroundThread. [r=cpeterson]
--HG--
extra : rebase_source : 6b9d9d5b992bb3d641a959a8734d5844a51087db
2012-10-05 11:07:14 -07:00
Rafael Ávila de Espíndola
23ce66bd83 Bug 798429 - Add new talos test names. r=jhammel. 2012-10-05 13:06:34 -04:00
Bobby Holley
54d2fc8eec Bug 761695 - Put Proxy and DOM expandos on the expando object, rather than the holder. r=peterv 2012-10-05 18:59:24 +02:00
Bobby Holley
19863fe088 Bug 761695 - Hoist expando-checking (but not expando-creating) operations into common code. r=peterv
We do this for delete_, enumerateNames, and resolveOwnProperty. This doesn't change
existing behavior, because for ProxyXrayTraits and DOMXrayTraits the expando object
will (currently) always be null.
2012-10-05 18:59:24 +02:00
Bobby Holley
b6b60bd403 Bug 761695 - Create XrayTraits::resolveOwnProperty. r=peterv 2012-10-05 18:59:23 +02:00
Bobby Holley
2f074e80e0 Bug 761695 - Reorder checks for expandos and nodePrincipal. r=peterv
Peter and I decided this was ok. We can't hoist expando stuff otherwise.
2012-10-05 18:59:23 +02:00
Bobby Holley
02fbd34534 Bug 761695 - Implement expando traps for ProxyXrayTraits DOMXrayTraits. r=peterv
For new DOM proxies, we could probably use the Xray expando machinery for the
regular expando object as well, and free up one of the reserved slots. That's
more than I want to bite off for the moment, though.

I also decided not to block on bug 760095 and just kick the problem of globals
with new binding down the road a little bit.
2012-10-05 18:59:23 +02:00
Bobby Holley
513593624e Bug 761695 - Move wrapper preservation stuff into a virtual trap. r=peterv
I'm not sure this stuff is correct for non-WN objects. Hopefully that will
come out in review.

Anyway, with this change, the expando infrastructure in XrayTraits is now
fully generic and non-WN-specific. To make things work for other objects,
we now need to implement the virtual traps and hoist the code that calls the
expando machinery out of XPCWrappedNativeXrayTraits.
2012-10-05 18:59:23 +02:00
Bobby Holley
764ba38fdf Bug 761695 - Make expando chain getting/setting a virtual trap. r=peterv 2012-10-05 18:59:23 +02:00
Bobby Holley
522451000d Bug 761695 - Hoist expando infrastructure into XrayTraits. r=peterv
It's still WN-only, now we can move the WN-only bits into virtual traps.

Note that the new-binding reparenting code will need to have a call to
CloneExpandoChain.
2012-10-05 18:59:23 +02:00
Bobby Holley
2b6769e01a Bug 761695 - Hoist Xray identification machinery into XrayWrapper, and use it for trait identification. r=peterv
We don't currently have a good way of selecting the traits used by a given Xray
wrapper. This lets us do that.

Note: We add a call to js::UnwrapObject to GetXrayType while hoisting it. When
it was used only in WrapperFactory, this was unnecessary, because |obj| was
always unwrapped. But for our new purposes, it might not be. Aside from that,
there are no changes to the function.
2012-10-05 18:59:23 +02:00
Bobby Holley
52b466bd70 Bug 761695 - Move Xray expando infrastructure further down in the file. r=peterv
Just cut/paste. No code changes.
2012-10-05 18:59:23 +02:00
Bobby Holley
f025bdc025 Bug 761695 - Unify holder creation and access. r=peterv
With this patch, all holders are created lazily. There are two common accessors,
getHolder() and ensureHolder(). The former returns null if no holder exists, the
latter lazily creates the holder if it doesn't exist. It does this by calling into
a virtual trap on XrayTraits, which lets the appropriate Xray type do its thing.
2012-10-05 18:59:23 +02:00
Bobby Holley
7ca744b818 Bug 761695 - Get the WN directly from the wrapper. r=peterv
All this indirection was getting seriously mucky. This, incidentally, means that
the XPCWN holder no longer needs a reserved slot pointing to the WN.
2012-10-05 18:59:23 +02:00
Bobby Holley
b250c23a43 Bug 761695 - Hoist call and construct traps into Traits, since the current implementations are XPCWN-specific. r=peterv 2012-10-05 18:59:22 +02:00
Bobby Holley
1a61d79fcf Bug 761695 - Rename getInnerObject to getTargetObject. r=peterv
The current name potentially implies that the object returned is an inner
object in the JS sense, which isn't true. Really we just want the thing
we're Xraying to.
2012-10-05 18:59:22 +02:00
Bobby Holley
c701c6c8c9 Bug 761695 - Hoist getInnerObject into XrayTraits. r=peterv
The only special handling here with wrapped natives is to make sure that we
bypass outer windows. But we can do this with js::UnwrapObject.
2012-10-05 18:59:22 +02:00
Bobby Holley
4d248020dd Bug 761695 - Make Xray traits inherit from a common superclass and give them a singleton instance. r=peterv
There's some code that can be shared between different Xray traits, but can't
(yet) be hoisted into XrayWrapper, because it needs to be callable from outside
XrayWrapper where we don't have the appropriate template parameters. Moreover,
this code benefits from virtual function specialization. The use case here is
illuminated in the next patch.

For the moment, we skip converting the bulk of the traits calls to virtual
methods, because they're working just fine.
2012-10-05 18:59:22 +02:00
Bobby Holley
22cdfb3eb3 Bug 761695 - Stop stashing a raw WN pointer in XPCWN Xray holders. r=peterv
We might as well do this dynamically, which simplifies the code. Note that we
could avoid the reserved slot by parenting the holder to the wrapper. But the
JS parent API is deprecated, and we need to move away from it to reserved slots
anyhow. We might as well start here, with the added advantage that parenting
to the global makes us consistent with the other Xray types.
2012-10-05 18:59:22 +02:00
Bobby Holley
612c502d18 Bug 761695 - Simplify XPCWN Xray holder creation. r=peterv
The major semantic change here is that we parent holders directly to their
global. This should be fine.
2012-10-05 18:59:22 +02:00
Bobby Holley
340b28c0bd Bug 761695 - Fix inaccurate commenting. r=peterv
The .wrappedJSObject property only exists when the Xray wrapper subsumes the wrappee.
2012-10-05 18:59:22 +02:00
Bobby Holley
395d3e8455 Bug 798346 - nsContentUtils::PreserveWrapper should explicitly QI its argument to the CC ISupports. r=peterv 2012-10-05 18:59:22 +02:00
Ed Morley
518e3c5e11 Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
Jeff Hammel
241701cf63 Bug 792164 - add mozdevice to virtualenv in m-c;r=gps 2012-10-05 09:46:27 -07:00
Nathan Froyd
47a8cc6723 Bug 746714 - add a memory reporter for telemetry; r=taras,njn 2012-10-05 12:19:14 -04:00
Sriram Ramasubramanian
e60cb270bd Bug 786029: Fennec should integrate with Android's search. [f=mfinkle, r=lucasr] 2012-10-04 16:57:39 -07:00
Justin Lebar
8d279512db Bug 796523 - Expire the JS timezone cache whenever we create a new compartment. r=waldo
This is a hack/heuristic to ensure that the JS timezone cache remains
fresh (so that if you navigate to a new page or refresh your gmail, you
always get the right timezone), while not interfering with the role the
cache plays in benchmark performance.
2012-10-05 11:33:36 -04:00
Jan de Mooij
cc3ec60710 Bug 797720 - Don't add MonitorTypes instruction if there's a type barrier. r=dvander 2012-10-05 17:16:11 +02:00
Ehsan Akhgari
05ffd1631d Bug 798345 - Fix the comm-central perma-orange introduced by bug 794606; r=jdm 2012-10-05 11:12:15 -04:00
Vladimir Vukicevic
3a1848bba7 b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc 2012-10-02 10:54:46 -04:00
Vladimir Vukicevic
1e07e44052 b=797975, disable browser_tabview_bug587503 test 4 because it's fragile 2012-10-04 19:58:09 -04:00
Vladimir Vukicevic
87a3ae6152 b=756425; fix test_mousescroll by driving RefreshDriver directly; r=ehsan 2012-10-02 14:41:04 -04:00
Vladimir Vukicevic
52a04c8b93 b=716031 and probably 752808 and 759254; fix test_selection_move_commands by driving RefreshDriver directly; r=ehsan 2012-10-02 14:41:04 -04:00
Vladimir Vukicevic
c1bbc050c2 b=796980, fix content/events/test/window_wheel_default_action.html; r=ehsan,orange 2012-10-02 12:35:49 -04:00