Commit Graph

109274 Commits

Author SHA1 Message Date
Bobby Holley
af5508a4ff 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
8138496fa5 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
49a666ce37 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
95a9308d91 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
0d9f3281b6 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
f044136221 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
2a794fba31 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
29308c09dd Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
Jeff Hammel
573fc6cc2b Bug 792164 - add mozdevice to virtualenv in m-c;r=gps 2012-10-05 09:46:27 -07:00
Nathan Froyd
015417d6dc Bug 746714 - add a memory reporter for telemetry; r=taras,njn 2012-10-05 12:19:14 -04:00
Sriram Ramasubramanian
2e9924fd7e Bug 786029: Fennec should integrate with Android's search. [f=mfinkle, r=lucasr] 2012-10-04 16:57:39 -07:00
Justin Lebar
c34f38bf2a 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
8c527f35c5 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
c212e02a04 Bug 798345 - Fix the comm-central perma-orange introduced by bug 794606; r=jdm 2012-10-05 11:12:15 -04:00
Shane Caraveo
4b1b47edee Bug 783605 - DOM full screen should disable social sidebar. r=jaws 2012-10-03 16:11:52 -07:00
Mark Hammond
cf391478cf Bug 797716 - improvements to the auto-resize code for social panels. r=felipe 2012-10-05 13:32:38 +10:00
Brian R. Bondy
6315b2aa5e Bug 797973 - Uninstaller should remove applied updates folder. r=rstrong 2012-10-04 20:25:07 -04:00
Brian Nicholson
d6318a0457 Bug 769145 - Part 4: Add search suggestions opt-in prompt. r=mfinkle 2012-10-02 10:51:48 -07:00
Brian Nicholson
e43185f1ee Bug 769145 - Part 3: Add mSuggestionsEnabled boolean. r=mfinkle 2012-10-02 10:51:48 -07:00
Felipe Gomes
2fab8a9c06 Bug 790201. Nuke social worker sandbox on shutdown. r=mhammond 2012-10-05 17:22:09 -07:00
Felipe Gomes
55a7833148 Bug 766616. Don't try to inject mozSocial in about pages. r=jaws 2012-10-05 17:22:09 -07:00
Felipe Gomes
f844794449 Bug 796218. Mark initial social panels' docshells as inactive on creation. r=jaws 2012-10-05 17:22:09 -07:00
Mike Hommey
7f19a4bf20 Bug 798437. Fix Social.jsm url in aboutSocialError.xhtml. r=felipe 2012-10-05 19:15:28 +02:00
Felipe Gomes
f2b2e32c84 Bug 766616. Watch for network errors in social panels and display proper error ui. r=gavin,jaws 2012-10-05 17:22:09 -07:00
Anant Narayanan
9498d75919 Bug 797796: Hookup getUserMedia backend with frontend UI; r=jesup 2012-10-05 17:20:47 -07:00
Dão Gottwald
8b30ebb1cd Bug 729522: Implement navigator.getUserMedia() permission UI; r=dolske,ui-r=boriss 2012-10-05 02:37:00 -07:00
Brian Nicholson
bf2365d9ed Backed out changesets c644dacaf9a9 and 454ec577c741 2012-10-05 16:36:15 -07:00
Scott Johnson
f1f710ba67 Bug 798068: Return sane values for min/max zoom when handheldFriendly, WAP, Mobile, or WML is set in the viewport metadata. [r=mbrubeck,bent] 2012-10-05 18:24:16 -05:00
Sriram Ramasubramanian
647ebc95f3 Bug 775272: Touching outside the menu should dismiss it. [r=mfinkle]
--HG--
extra : rebase_source : 4395fba4b7349c46d0e52e560483305e856b7b11
2012-10-05 15:14:39 -07:00
Mark Finkle
f66eef0fb1 Bug 784157 - Google Play Campaign Tracking: Better distribution pref handling, r=blassey r=bnicholson 2012-10-05 18:11:34 -04:00
Nicolas B. Pierron
6d6a4ebf99 Revert "Bug 797977 - Embed !isIon() assertion in StackIter::fp(). r=luke"
This reverts changeset 588135660310.
2012-10-05 15:00:46 -07:00
Dave Townsend
54390c54af Bug 798160: about:support should not include the sync username and account. r=MattN 2012-10-05 14:57:17 -07:00
Justin Lebar
bbfbefc5af Bug 798024 - Don't hide smaps when displaying a memory report dump loaded from a file or from the clipboard. r=njn 2012-10-05 17:54:54 -04:00
Justin Lebar
4e503115bb Bug 798019 - Sort processes in about:memory by resident size. r=njn 2012-10-05 17:54:54 -04:00
Justin Lebar
2e08b8974d Bug 797904 - Include app name in about:memory dump. r=njn,cjones 2012-10-05 17:54:54 -04:00
Justin Lebar
cfed84b306 Bug 797890 - Add button to about:memory to load memory reports from the clipboard. r=njn 2012-10-05 17:54:53 -04:00
Brian Nicholson
78de862116 Bug 797075 - Part 2: Implement Java-side tab stubs. r=mfinkle 2012-10-05 14:53:44 -07:00
Brian Nicholson
c6f2124145 Bug 797075 - Part 1: loadUrl() cleanup. r=mfinkle 2012-10-05 14:51:18 -07:00
Justin Dolske
d4e138c368 Bug 793366 - Add noise to the white background used for transparent images in image documents. r=jaws r=bz r=joe
--HG--
rename : toolkit/themes/pinstripe/global/TopLevelImageDocument.css => toolkit/themes/pinstripe/global/media/TopLevelImageDocument.css
rename : toolkit/themes/pinstripe/global/TopLevelVideoDocument.css => toolkit/themes/pinstripe/global/media/TopLevelVideoDocument.css
rename : toolkit/themes/winstripe/global/TopLevelImageDocument.css => toolkit/themes/winstripe/global/media/TopLevelImageDocument.css
rename : toolkit/themes/winstripe/global/TopLevelVideoDocument.css => toolkit/themes/winstripe/global/media/TopLevelVideoDocument.css
2012-10-05 14:44:11 -07:00
Nicolas B. Pierron
922cd8b85a Bug 797977 - Embed !isIon() assertion in StackIter::fp(). r=luke 2012-10-05 14:01:03 -07:00
Robert Strong
986f6c70ee Bug 798477 - Add fallback page for the official stub installer. r=bbondy 2012-10-05 13:57:12 -07:00
Robert Strong
0318499d44 Bug 797157 - Trying to pave-over install with the stub installer with nightly already running - warning comes up that nightly is already running, but installer closes and leaves behind 'to_be_deleted' folder in C:\Program Files\Nightly. r=bbondy 2012-10-05 13:56:58 -07:00
Robert Strong
8430a7422c Main Patch for Bug 795654 - Add artwork and text positioning around artwork for nightly and aurora stub installer. r=bbondy 2012-10-05 13:56:30 -07:00
Robert Strong
07e43e6109 Artwork for Bug 795654 - Add artwork and text positioning around artwork for nightly and aurora stub installer. r=bbondy 2012-10-05 13:56:15 -07:00
Steve Fink
474c2833e7 Bug 797213 - Test output may not go to stdout if -O given. r=terrence
--HG--
extra : rebase_source : b0ca42e73f5da97e65eb73abb2115857d14fd9fa
2012-10-05 13:17:36 -07:00
Steve Fink
7233570328 Bug 797213 - jstests.py -O<filename> should default show-output to on. r=terrence
I didn't expect to have to specify -o in addition to -O. I get that you might want to use -s instead of -o, but -o is probably much more common.

--HG--
extra : rebase_source : 25e5f6ec23b3b4b006f12d405a30c6c43b631423
2012-10-05 13:17:23 -07:00
Steve Fink
097abe11ce Bug 797213 - jstests.py: add a -F (--failed-only) option to only display output of failed tests. r=terrence
I also snuck a change to the output format, to display the test name in the output so that it is possible to associate output with the test that produced it. I mixed it in just because it was a little harder to separate out into a separate patch. I could easily do so, if you'd like.

--HG--
extra : rebase_source : ac26efd171eb6fa19b90eae22a29d047f1ba55b8
2012-10-05 13:17:01 -07:00
Steve Fink
7d1892b3fd Bug 797217 - Replace InternalHandleBase::zeroPointer with NullPtr::constNullValue. r=terrence
--HG--
extra : rebase_source : f70e1d996fb01e790b277524128faa68060dac6d
2012-10-05 13:16:39 -07:00
Steve Fink
5245459e96 Bug 797128 - Minor rooting fix and SkipRoot justification. r=terrence
The first valid SkipRoot I've found. copyFromArray was inexplicably discarding a handle, and with that fixed there are some unrooted internal pointers stored on the stack. But the only things that can trigger GC will also trigger an early exit, so all of the unrooted pointers are dead if a GC happens anyway.

--HG--
extra : rebase_source : b0c0157bcfdb7461086cdec4be8f71f94ab24c55
2012-10-05 13:14:47 -07:00
Vladimir Vukicevic
4e6612830f b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc 2012-10-02 10:54:46 -04:00