Peter Van der Beken
a265b4162a
Fix for bug 774775 (XRayWrapper does not handle new bindings constants). r=bz.
...
--HG--
extra : rebase_source : fef985d0417c394ae5997b4450c7076005bdf870
2012-07-17 22:54:25 +02:00
Ehsan Akhgari
0b1420ef08
Merge mozilla-central into mozilla-inbound
2012-07-18 09:38:49 -04:00
Kyle Huey
26d0df6160
Back out 353b4785836a which was landed even after the module owner explicitly said not to. r=me
...
--HG--
extra : rebase_source : ff4a63d2c56435d3aa6b0c572067878cfa09378c
2012-07-18 05:59:21 -07:00
Chris Jones
62d23842f9
Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc
2012-07-17 16:59:45 -07:00
Chris Jones
ab483974f7
Bug 745148, part 8: Implement the little boilerplate-y bits and pieces needed for cross-process compositor. r=ajuma,BenWa
2012-07-17 16:59:45 -07:00
Chris Jones
ec578f2342
Bug 745148, part 6: Allow layer trees to be given IDs so that the referent can be used in another context. r=ajuma sr=roc
2012-07-17 16:59:45 -07:00
Chris Jones
24b6bd66ad
Bug 745148, part 3: SyncLaunch() content processes when we're using direct-to-omtc drawing. r=bent
2012-07-17 16:59:44 -07:00
Chris Jones
7dbbf6f12b
Bug 774939: Disable OOP browser-element tests for native-fennec. irc-r=jlebar
2012-07-17 16:59:44 -07:00
Chris Jones
73b6b07bd6
Bug 774139: Forward touch events across processes. r=felipe,smaug
2012-07-15 19:58:43 -07:00
Chris Jones
9e4503dd30
Bug 773998: Shut down app processes when the last browser closes. r=jlebar
2012-07-17 11:27:27 -07:00
Boris Zbarsky
acc628da33
Bug 773519 followup to make this code deal with silly string consumers too. No review.
2012-07-17 13:20:40 -04:00
Boris Zbarsky
43ec97d865
Bug 773519. Speed up string argument conversion in DOM bindings by faking an XPCOM string. r=peterv
2012-07-17 12:18:53 -04:00
Boris Zbarsky
bd44efd679
Bug 768537 part 2. Allow dictionaries to be initialized with null or undefined, and treat them as dictionaries in which everything has its default value. r=peterv
2012-07-17 12:18:53 -04:00
Boris Zbarsky
0a1d212672
Bug 768537 part 1. Update parser support for dictionaries to spec changes. r=jlebar
...
There are several parts here:
1) Enforce the requirement that dictionary arguments not followed by a required argument are optional.
2) Make dictionaries no longer be distinguishable from nullable types.
3) Disallow dictionaries or unions containing dictionaries inside a nullable type.
4) Force optional dictionaries to have a default value of null so that codegen doesn't have to worry about dealing with
optional arguments that have no default value in the IDL but need to be treated as if they were null.
2012-07-17 12:18:53 -04:00
Dale Harvey
a3094a212e
Bug 741717 - Add a reload method to browser elements. r=jlebar
2012-07-17 12:55:46 -04:00
Ed Morley
57e533a7ae
Backout 9deb8edb5070 (bug 773519), ea5a243a60f1 & 0cad1e553bea (bug 768537) for compilation failures
2012-07-17 17:48:11 +01:00
Marshall Culpepper
b9d7c4b96d
Bug 774708: Ensure sBluetoothEventObserverTable is valid before attempting to query observers, fixing a Bluetooth crash in emulator. r=qDot
2012-07-17 09:44:20 -07:00
Boris Zbarsky
0d00149778
Bug 773519. Speed up string argument conversion in DOM bindings by faking an XPCOM string. r=peterv
2012-07-17 12:18:53 -04:00
Boris Zbarsky
b6c4ae2de8
Bug 768537 part 2. Allow dictionaries to be initialized with null or undefined, and treat them as dictionaries in which everything has its default value. r=peterv
2012-07-17 12:18:53 -04:00
Boris Zbarsky
a550b8943d
Bug 768537 part 1. Update parser support for dictionaries to spec changes. r=jlebar
...
There are several parts here:
1) Enforce the requirement that dictionary arguments not followed by a required argument are optional.
2) Make dictionaries no longer be distinguishable from nullable types.
3) Disallow dictionaries or unions containing dictionaries inside a nullable type.
4) Force optional dictionaries to have a default value of null so that codegen doesn't have to worry about dealing with
optional arguments that have no default value in the IDL but need to be treated as if they were null.
2012-07-17 12:18:53 -04:00
Gabor Krizsanits
0b4bc96f9f
Bug 769273 - part4: avoiding innerization in NukeCrossCompartmentWrappers. r=bholley
2012-07-17 17:51:21 +02:00
Kan-Ru Chen
acd7e3ab27
Bug 715788 - Add A-GPS support for gonk. r=dougt
2012-07-16 20:38:46 -04:00
Kan-Ru Chen
24d054b9ba
Bug 715788 - Refactor static functions to static member functions. r=dougt
2012-07-16 20:38:46 -04:00
Ryan VanderMeulen
82df8fd4e8
Merge m-c to inbound.
2012-07-16 20:38:39 -04:00
Etienne Segonzac
2e0ea1950d
Bug 774216. Can't launch apps on B2G since it's seen as XP_UNIX by WebappOSUtils. r=felipe
2012-07-16 11:22:16 -07:00
Ed Morley
19fee093c3
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-16 15:00:42 +01:00
Mounir Lamouri
3ae2b86ae9
Bug 769586 - Make PopupWindowManager using principal to test permissions instead of URI. r=sicking
2012-07-15 18:37:31 -07:00
Mounir Lamouri
62e6a8a535
Bug 769597 - IndexedDB should use nsIPermissionManager with principals. r=sicking
2012-07-15 18:35:47 -07:00
Bill McCloskey
a50aa414ed
Bug 758034 - Make CC_FORCED GCs less common (r=smaug)
2012-07-15 14:37:09 -07:00
Bill McCloskey
082efb7ae6
Bug 758034 - Don't reset GCs for CC_FORCED (r=smaug)
2012-07-15 14:33:48 -07:00
Dan Walkowski
10093c1b76
Bug 772600. Create WebappOSUtils to host platform-specific webapps code and implement native app launch. r=felipe
...
Windows part by Tim Abraldes and Linux part by Marco Castelluccio
2012-07-14 01:09:39 -07:00
Terrence Cole
49c1d4c9aa
Bug 773734 - Split off GC event observer notification from console logging; r=billm
2012-07-13 12:13:52 -07:00
Ms2ger
3832cfe5c5
Bug 770046 - Disable test.
2012-07-16 18:15:36 +02:00
Gabor Krizsanits
a3e7386b45
Bug 769273 - part2: Refactoring NukeChromeCrossCompartmentWrappersForGlobal. r=bholley
2012-07-17 17:36:15 +02:00
Gabor Krizsanits
973b145bce
Bug 769273 - part1: Prep for refactoring NukeChromeCrossCompartmentWrappersForGlobal. r=bholley
2012-07-17 15:38:53 +02:00
Peter Van der Beken
629bad9698
Fix for bug 769464 (Check mDOMObjectIsISupports when unwrapping). r=bz.
...
--HG--
extra : rebase_source : 26d0508b8a11d75164ae4b27af8c64e8845166f9
2012-07-16 16:52:59 +02:00
Ehsan Akhgari
f6b0fa0481
Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky
2012-07-16 22:44:22 -04:00
Ehsan Akhgari
744ba22b6f
Bug 749101 - Part 2: Add a comment mentioning bug 772589
2012-07-17 01:40:19 -04:00
Ryan VanderMeulen
3556f5a181
Merge m-c to inbound.
2012-07-15 08:40:42 -04:00
Ed Morley
ab974a862e
Backout 6ceeca8b4b73 (bug 772332), ce5629b973e4, 1dcff1db63b4, 108d06ef7755 & 7bf6519b3f43 (bug 768756) for bustage
2012-07-15 11:42:31 +01:00
Olli Pettay
bfea5134d3
Bug 773755 - don't force a cycle collection with 0 suspected objects, r=mccr8
2012-07-15 13:30:39 +03:00
Ryan VanderMeulen
50383b94f4
Merge the last PGO-green inbound changeset to m-c.
2012-07-14 19:14:51 -04:00
Gregory Szorc
cd513752ba
Merge services-central into mozilla-central
2012-07-14 13:35:00 -07:00
Ryan VanderMeulen
a12cf80d11
Merge the last PGO-green inbound changeset to m-c.
2012-07-14 12:58:44 -04:00
Honza Bambas
b547035544
Bug 765203 - Support mode 'unknown' when parsing cache manifest, r=jduell
2012-07-14 11:52:35 +02:00
Ms2ger
65a7d53b44
Merge backout.
2012-07-14 11:39:17 +02:00
Ms2ger
6a3f956ff2
Backout 977ee9208065, a405768bd32a, 69a1fb2ddca3, 58d5f1d1443e for Moth orange.
2012-07-14 11:38:56 +02:00
Ms2ger
f73be635b4
Backout changeset 592bfc94e628 for X orange.
2012-07-14 11:23:52 +02:00
Dan Walkowski
6e58713cbe
Bug 772600. Create WebappOSUtils to host platform-specific webapps code and implement native app launch. r=felipe
...
Windows part by Tim Abraldes and Linux part by Marco Castelluccio
2012-07-14 01:09:39 -07:00
Felipe Gomes
9371337a2c
Bug 771294. Use window id for webapp installation. r=gavin
...
Test by Myk Melez
2012-07-14 01:09:32 -07:00
Anant Narayanan
f3d398132f
Bug 761045: Upload locally installed apps on first run; r=gps
2012-07-13 19:52:30 -07:00
Olli Pettay
6e882d2abe
Bug 773803 - Remove nsIScriptObjectOwner, r=bz
...
--HG--
rename : dom/base/nsIScriptObjectOwner.h => dom/base/nsIScriptEventHandlerOwner.h
2012-07-14 01:23:59 +03:00
Justin Lebar
1a8eb2a46c
Bug 762802 - Each <iframe mozapp> should get its own process. Part 2: Content/DOM changes. r=mounir
...
--HG--
extra : rebase_source : 06a6945689c5b112722f461f3cb1d438a94d4030
2012-07-13 17:10:20 -04:00
Justin Lebar
713402885c
Bug 762802 - Each <iframe mozapp> should get its own process. Part 1: IPC changes. r=cjones
...
--HG--
extra : rebase_source : d2f882e14ab05167b0b8dd001e9f55d00eb0c7ec
2012-07-13 17:10:20 -04:00
Bobby Holley
473b4a8aa9
Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv
2012-07-13 14:33:25 +02:00
Ben Turner
6aa9644815
Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. Disable xpcshell tests entirely until I can figure out how to enable them selectively.
2012-07-14 09:13:40 -04:00
Ryan VanderMeulen
a997433ec6
Merge m-c to inbound.
2012-07-14 08:48:58 -04:00
Ben Turner
f44ed8784a
Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
...
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %5D1%15%CC%90%E0%F5%0D%0B%FDi%0B%B9YA%D4c%24%D42
2012-07-14 07:24:20 -04:00
Aryeh Gregor
7391815705
Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz
2012-07-06 15:28:33 +03:00
Bonnie Surender
87a61a23b6
Fix for bug 771967. OS idle api active to briefly idle to active notification fix. r=jst
2012-07-13 15:39:46 -07:00
Bonnie Surender
3b9a720640
Fix for bug 769722 and bug 769723. Remove unnecessary kungFuDeathGrips and extra parentheses in the Idle API code. r=jst
2012-07-05 16:20:13 -07:00
Jan Varga
614d6f18db
Bug 773182 - Remove unused db description parameter from IDB mochitests. r=sicking
2012-07-13 07:37:28 +02:00
Bobby Holley
627c0e6696
Bug 771202 - Tests. r=bsmedberg
2012-07-13 13:20:08 +02:00
Chris Pearce
ac80998b7f
Bug 772743 - Add pref to not make the widget fullscreen when entering fullscreen. Set it to true for b2g desktop client. r=mounir
2012-07-13 22:21:23 +12:00
Ed Morley
a66ba53172
Backout 776f008404bf (bug 771202) for mochitest-3 orange
2012-07-13 11:07:26 +01:00
Bobby Holley
854e142308
Bug 771202 - Don't double-call OnWrapperDestroyed. r=bsmedberg
...
Calling OnWrapperDestroyed at this point in OnDestroy doesn't make sense, because the JS objects have a finalize hook that also calls OnWrapperDestroyed regardless of whether or not they still have a pointer stashed in their private. So when we do this, we get a bunch of assertions about unmatched calls to OnWrapperDestroyed.
AFAICT the only reason this worked before is that this code never ran: I put a MOZ_ASSERT just before call to OnWrappedDestroyed in OnDestroy, and it never fired during the dom/plugins mochitests.
2012-07-13 10:56:38 +02:00
Bobby Holley
eb84cf6716
Bug 771202 - Tests. r=bsmedberg
2012-07-13 10:55:14 +02:00
Bobby Holley
be06d8815f
Bug 771202 - Unwrap object arguments passed to plugins. r=bsmedberg
2012-07-13 10:55:14 +02:00
Bobby Holley
1d19de70ff
Bug 771202 - Implement post-transplant plugin behavior. r=bsmedberg
2012-07-13 10:55:14 +02:00
Bobby Holley
2c522abe65
Bug 771202 - Make the prototype climbing code in nsJSNPRuntime unwrap security wrappers. r=bsmedberg
2012-07-13 10:55:14 +02:00
Bobby Holley
f3dc2d0945
Bug 771202 - Add a PostTransplant nsIXPCScriptable hook. r=peterv
2012-07-13 10:55:14 +02:00
Nicholas Nethercote
b598a96a3c
Bug 749010 (part 2) - Move code around to merge two anonymous namespaces; no functional changes. r=bent.
2012-07-12 23:51:01 -07:00
Eric Faust
8144c1a6fd
Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett)
2012-07-11 20:55:19 -07:00
Ryan VanderMeulen
1a5361601b
Merge m-c to inbound.
2012-07-12 21:17:15 -04:00
Ryan VanderMeulen
1b61fbb7ca
Merge m-c to inbound.
2012-07-12 21:12:17 -04:00
Ryan VanderMeulen
7105546cd8
Merge the last PGO-green inbound changeset to m-c.
2012-07-12 20:46:27 -04:00
Ryan VanderMeulen
bfc96f45a9
Backout de697e323b39, b778d551c9e5, and 4b9414cba94d (bug 544088) due to build bustage.
2012-07-12 19:52:15 -04:00
Blake Kaplan
8d0a466193
Bug 772801 - Deal with drivers that don't support active/passive scanning. r=mwu DONTBUILD
2012-07-12 15:09:18 -07:00
Martin Stransky
88f6fb507e
Bug 544088 - UseAsyncPainting() -> IsOOP(). r=joshmoz
2012-07-12 19:28:53 -04:00
Martin Stransky
1cf9bc8fe9
Bug 544088 - Support Xt plugins OOP. r=karlt
2012-07-12 19:28:53 -04:00
Benoit Girard
1cb33567b2
Bug 772665 - Add console.profile to test_consoleAPI.html. r=gavin
2012-07-12 17:27:10 -04:00
Benjamin Smedberg
5e47967333
Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
...
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Ed Morley
c258987354
Backout 6bbf3f22bb5d (bug 753158), 38a703b244c2 (bug 753145), c9a5dfa1b07d (bug 767750), cd782fd66995 & 6cf7aa93994c (bug 765956), 0253f34f6bc2 & 41d5c8529748 (bug 771039),94f6bf99a4aa (bug 766447),fad7d06d7dd5 (bug 772303) for winxp pgo-only jsreftest failures (caused by fad7d06d7dd5) and the rest for conflicts, on a CLOSED TREE
2012-07-12 13:04:51 +01:00
Anant Narayanan
8e2a904201
Bug 771833: Assign an nsIPrincipal to media streams returned by getUserMedia; r=roc
2012-07-12 04:53:48 -07:00
Anant Narayanan
8791a937a5
Bug 691234: Part 3/3: Add DOM binding for getUserMedia on Desktop; r=jst
2012-07-12 04:53:08 -07:00
Benoit Girard
cf74a923ca
Bug 772665 - Add console.profile API to be used by profiling extensions. r=rcampbell
2012-07-12 16:04:37 -04:00
David Keeler
679f55960f
bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride
2012-07-11 08:56:34 -07:00
Benoit Jacob
d3f9ec79e5
Bug 760323 - fix --disable-webgl : let it also disable the bindings and s3tc extension - r=bz
2012-07-12 01:30:17 -04:00
Anant Narayanan
02b666ef16
Backout b53e8a614a4c, bustage
2012-07-11 21:43:48 -07:00
Anant Narayanan
2bae4a865d
Backout 39fe6a5577d7, bustage
2012-07-11 21:43:24 -07:00
Anant Narayanan
9af1a943b3
Bug 771833: Assign an nsIPrincipal to media streams returned by gUM; r=roc
2012-07-11 21:24:34 -07:00
Anant Narayanan
4fe64bc7ae
Bug 691234: Part 3/3: Add DOM binding for getUserMedia on Desktop; r=jst
2012-07-11 21:22:24 -07:00
David Zbarsky
38975e89ab
Bug 773025 - fix 2 warnings in dom/plugins r=jst
2012-07-11 20:55:59 -07:00
Eric Faust
356d4133e7
Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett)
2012-07-11 20:55:19 -07:00
Matt Brubeck
1372f7d220
Back out bug 769254 (a81e5e60dca3, 0afba80f60a1, d5e4f42b8540, 636dfa176232) because of Windows M3 leaks
...
--HG--
extra : rebase_source : b1dfca300a71e60feafd46a5e93ee99a79d56051
2012-07-11 17:30:30 -07:00
Justin Lebar
30bfe54976
Bug 769254 - Part 4: Tests for clicking _blank link from <iframe mozbrowser>. r=bz
...
--HG--
extra : rebase_source : ac250aa36b7a0eb25fa45dbff87cb5e519c55a30
2012-07-11 16:02:20 -04:00
Justin Lebar
51896dceac
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
...
--HG--
extra : rebase_source : 1de945d5933824d79866bbc61e2493f96217a9ee
2012-07-11 16:02:20 -04:00
Justin Lebar
e03ae1672d
Bug 769254 - Part 1: Fix crashes in BrowserElementParent.cpp, TabChild.cpp on null URI to window-opening code. r=bz
...
--HG--
extra : rebase_source : c5a75bed6a70ab9482fc7c6c4bf98f1ae41a7898
2012-07-11 16:02:20 -04:00
Gregor Wagner
29007fc7cc
Bug 765435 - Make JS heap growth factor depend on the heap size after a GC and GC frequency. r=billm
2012-07-11 11:09:53 -07:00
Gregor Wagner
71563101c8
Bug 772127 - Run Contacts and Settings API tests on desktop. r=sicking
2012-07-11 10:41:40 -07:00