Ryan VanderMeulen
3eff16d324
Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
...
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
3b888eceb7
Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent
2012-11-09 16:37:40 -08:00
Justin Lebar
785d3c9b2f
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Dave Hylands
9692ffc9b8
Bug 783630 - Fix bustage on inbound.
2012-11-09 10:23:18 -08:00
Dave Hylands
517cf42c43
Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky
2012-11-09 09:52:09 -08:00
Marco Bonardo
afedd3bf3c
Bug 799609 - Disable Places in B2G - Part 2 - Allow docshell and content to build without Places
...
Expose NotifyVisited API and fix code so it can be built with alternative history implementations.
r=jlebar
2012-11-09 10:55:54 +01:00
Blake Kaplan
a40fa24694
Bug 806965 - Initialize new child processes with the current offline state. r=jlebar
2012-11-08 13:09:39 -08:00
Gabriele Svelto
9e3fdc6388
Bug 808756 - Introduce a memory-pressure event that is not forwarded by the main process to its children. r=jlebar
2012-11-08 02:07:57 +01:00
Andrea Marchesini
8dde3fc959
Bug 796275 - Context menu fires on wrong target out of process. r=cjones
2012-11-08 14:35:02 -05:00
Chris Jones
18843b20e1
Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc
2012-11-07 19:51:55 -08:00
Gregor Wagner
06665143f5
Bug 808327 - [settings] Re-enable security checks for settings. r=bent
2012-11-07 16:54:03 -08:00
Gregor Wagner
e03cbea0f5
Bug 775997 - Message app crashes when run OOP. Part 1/2. r=bent
2012-11-06 13:29:30 -08:00
Gregor Wagner
71d8c65829
Bug 808259 - Don't kill a process because of missing permissions. r=cjones
2012-11-03 15:43:18 -07:00
Josh Aas
8a78b3c63d
Back out both patches for bug 647216 due to regression documented in bug 806244.
2012-11-01 09:19:24 -04:00
Ben Turner
a0b654a17f
Bug 805354 - 'Add read/write permission checks to chrome databases from other processes'. r=fabrice+khuey.
...
--HG--
extra : rebase_source : c23136e4d10dacb3c9d1c11598da3a6972281467
2012-10-25 10:12:14 -07:00
Justin Lebar
22489f7920
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Masayuki Nakano
7025df1d0e
Bug 805357 part.2 Get rid of NS_SUCCESS_IME_NO_UPDATES since OnIMEFocusChange(false) is always called r=roc
2012-10-31 08:22:23 +09:00
Justin Lebar
7b38d49f83
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
818638f210
Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD
2012-10-30 16:13:20 -04:00
Justin Lebar
af7297481d
Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Nathan Froyd
4c61ef9ec5
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Masayuki Nakano
43db4af40d
Bug 806300 Use intptr_t instead of int64_t for the 3rd argument of GetInputContext() of PBrowser r=cjones, feedback=Ms2ger
2012-10-30 10:58:29 +09:00
Kartikaya Gupta
3f8b30e6af
Bug 806473 - Expose MemoryInfoDumper methods via a nsIMemoryInfoDumper service. r=jlebar
...
--HG--
rename : xpcom/base/MemoryInfoDumper.h => xpcom/base/nsIMemoryInfoDumper.idl
rename : xpcom/base/MemoryInfoDumper.cpp => xpcom/base/nsMemoryInfoDumper.cpp
2012-10-29 20:41:14 -04:00
Doug Turner
7f3ec9a071
Bug 804789 - Fix commented out code cause by Bug 793955. r=bent
2012-10-29 09:54:35 -07:00
Masayuki Nakano
16555e56d0
Bug 801989 part.1 Add mNativeIMEContext to InputContext and TextComposition should use it instead of nsIWidget r=smaug, sr=roc
2012-10-27 08:35:20 +09:00
Markus Stange
69c7d8ae0b
Bug 647216: Allow testing of MozMouseHittest window dragging. r=enndeakin
2012-10-26 15:40:11 -04:00
Andrea Marchesini
66d6229c8f
Bug 804446 - Disable the javascript: protocol when it is entered in the location bar of browser in Firefox OS, r=bz
2012-10-26 10:46:27 +02:00
Robert O'Callahan
354cbfbbe3
Bug 805254. Part 13: Make nsAudioStream::Write take an AudioDataValue* parameter instead of void. r=kinetik
2012-10-25 23:10:51 +13:00
Robert O'Callahan
0e15bb86af
Bug 805254. Part 5: Remove format parameter from PAudio constructor. r=kinetik
2012-10-25 23:09:39 +13:00
Ben Turner
9c87933aa0
Bug 782766 - [WebActivities] support blobs - Part 2: IPC changes [r=khuey]
...
--HG--
extra : rebase_source : 0b6e2e7745e716994d305f4e29ade68c71826481
2012-10-25 11:45:15 -07:00
Fabrice Desré
0e5313830a
Bug 782766 - [WebActivities] support blobs - Part 1: System Messages changes [r=gene]
...
--HG--
extra : rebase_source : bff9c5c4745493b652a6218a60d5840e09f7235e
2012-10-25 11:45:14 -07:00
Ehsan Akhgari
8e702f60c5
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
f3c0ac7a23
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
Ben Turner
5e8d8d57f2
Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking.
2012-10-23 09:31:19 -07:00
Justin Lebar
46036e9207
Bug 800166 - Fire a low-memory notification when a B2G process is backgrounded. r=gwagner,bent
2012-10-22 15:40:19 -04:00
Doug Turner
4fd0f3eb19
Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp
2012-10-18 11:29:32 -07:00
Justin Lebar
4a590b2df4
Bug 800486 - Part 2: Move signal-watching and memory-report-dumping code out of nsMemoryReporterManager and into a new file, MemoryInfoDumper. r=njn
2012-10-15 22:12:14 -04:00
Justin Lebar
70048a2062
Bug 800486 - Part 1: Dump a GC and CC log upon receiving SIGRTMIN + 2. r=mccr8,njn,cjones
2012-10-15 22:12:14 -04:00
Chris Jones
831e04c2e3
Bug 795657: Integrate native viewport configuration better into async pan-zoom code. r=jwir3,roc
...
This is a rollup of the following patches
- Change the interpretation of FrameMetrics.mZoom to a "resolution-indepedent zoom", instead of a resolution-depedent scale factor. r=roc
- Remove mention of "meta" from TabChild. r=roc
- Remove some useless logging. r=roc
- Tag FrameMetrics with its composition bounds at paint time. r=roc
- Add a helper to calculate the render resolution for a FrameMetrics. r=roc
- Add a helper to compute the approximate CSS dimensions a FrameMetrics will cover during composition. r=roc
- BrowserElementScrolling doesn't actually care about zoom or resolution. r=roc
- Accept the viewport that content has calculated, when it's received the latest widget geometry update. r=roc
- Mechanically separate uses of zoom/resolution based on new definitions. r=roc
- Convert GetViewportInfo()'s resolution-dependent scale into resolution-indepedent zoom. r=roc
- Reinterpret defaultZoom == 0.0 as "intrinsic scale". r=jwir3,roc
2012-10-11 22:46:24 -07:00
Chris Peterson
b12d8478af
Bug 798980 - Band-aid to crash Camera app instead of the phone. r=cjones
2012-10-09 10:26:16 -07:00
Dave Hylands
bfb40ef4b3
Bug 797239 - Defer scheduling prelaunch app until child goes idle. r=cjones
2012-10-08 22:46:19 -06:00
Justin Lebar
b28095bf78
Bug 797904 - Include app name in about:memory dump. r=njn,cjones
2012-10-05 17:54:54 -04:00
Kyle Huey
51f49bc2cc
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
Doug Turner
b90d266480
Bug 794619 - Remote the blobs returned from enumerate. r=bent
2012-10-04 13:40:45 -07:00
Justin Lebar
abae78a22a
Bug 797515 - Fix race condition in assertion in ContentParent::~ContentParent. r=cjones
2012-10-04 00:44:50 -04:00
Ryan VanderMeulen
97e964573e
Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange.
2012-10-03 21:59:41 -04:00
Justin Lebar
cce7269df6
Bug 797515 - Fix race condition in assertion in ContentParent::~ContentParent. r=cjones
2012-10-03 20:45:40 -04:00
Andrea Marchesini
d20fd52c39
Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent
2012-10-03 18:19:22 -04:00
Justin Lebar
b252cbe108
Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones
2012-10-02 21:19:11 -04:00
Justin Lebar
1de604c745
Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones
2012-10-02 21:19:11 -04:00
Dave Hylands
4a5d44fb67
Bug 797174 - dom.ipc.processPrelauch is misspelled
...
Corrected spelling to be dom.ipc.processPrelaunch
2012-10-02 17:13:40 -07:00
Phil Ringnalda
9823cbba0f
Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes
2012-10-01 23:00:51 -07:00
Justin Lebar
0de944c855
Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones
2012-10-02 00:11:42 -04:00
Justin Lebar
65ee6ce53d
Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones
2012-10-02 00:11:41 -04:00
Ehsan Akhgari
f0a3f6136f
Bug 579517 follow-up: Remove NSPR types that crept in
2012-10-01 16:04:09 -04:00
Doug Sherk
fd089093d3
Bug 786267: B2G: Lower resolution while doing accelerated panning r=cjones
2012-09-29 00:02:45 -04:00
Doug Sherk
a18fa33675
Bug 787445: B2G: Rip out async paint throttling code, use compression instead r=cjones
2012-09-29 00:02:41 -04:00
Doug Sherk
34d6e81bb8
Bug 746502: Add support for <meta name=viewport> on B2G/async panning and zooming r=cjones,smaug
2012-09-28 22:18:18 -04:00
Doug Sherk
05643b327a
Bug 784908: Part 3: Distinguish resolution from a new zoom field on FrameMetrics r=roc
2012-09-28 22:16:38 -04:00
Doug Sherk
3b4d96b28a
Bug 784908: Part 2: Add a call to UpdateDimensions when a tab is first created r=cjones
2012-09-28 22:16:36 -04:00
Doug Sherk
4b01b719b1
Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc
2012-09-28 22:16:34 -04:00
Philipp von Weitershausen
2f27090c55
Bug 795061 - AssertAppProcessPermission: Kill any process that doesn't have the specified permission, not just app processes. r=cjones
2012-09-28 10:29:36 -07:00
Philipp von Weitershausen
3056ce6dfe
Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones
2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
44fd6174fa
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
ea1b946dd2
Backout 52be204da1cf (bug 776663), 965397b043c0 (bug 777508), 182c763efa68 (bug 776832), a2a509184b07 & cba5ba69091f (bug 789973) for failures in test_child_process_shutdown_message.html and friends / conflicting with the backout on a CLOSED TREE
2012-09-28 14:08:04 +01:00
Philipp von Weitershausen
db02958cb6
Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones
2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
aeb0b41fb3
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Phil Ringnalda
350f7a9cd9
Back out b24a73b2c617 for Windows build bustage and test_xhr_timeout.html failure
2012-09-27 21:24:42 -07:00
Andrea Marchesini
7d56919385
Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent
2012-09-27 23:05:59 -04:00
Aryeh Gregor
28ae23fb04
Bug 779809 part 2 - Don't safe-forward [notxpcom] methods; r=khuey,bz
2012-08-09 11:33:38 +03:00
Ed Morley
a4cb255103
Backout be95f234ff6e (bug 776832) for various mochitest-1 failures
2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
4790e5734f
Bug 776832 - Add a scriptable API to assert app permissions of apps through messagemanager. r=smaug
2012-09-26 00:41:51 -07:00
Chris Jones
b7f90c6b8c
Bug 793479: Update C++ permission-checking API to match that of the message-manager one. r=jlebar
2012-09-25 11:52:30 -07:00
Honza Bambas
62c6cf834b
Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell
2012-07-31 02:36:00 -04:00
Josh Matthews
22b97c746b
Bug 783878 - Part 2: Allow serializing remote input streams by passing the actor reference over the wire and retrieving the original stream in the parent. r=bent
2012-09-21 13:26:13 -04:00
Chris Jones
fbdcbf7f82
Bug 791164: Inherit priveleges for apps that have hwdecode permission. r=jlebar
2012-09-20 16:26:41 -07:00
Justin Lebar
b7559be095
Bug 791261 - Remove the requirement that a TabParent must be Active in order to send vibrations. Also remove TabParent::Active(). r=cjones
2012-09-19 09:48:38 -04:00
Koosha Khajeh Moogahi
dcf81f4fb0
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Ms2ger
711f1fd480
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Doug Sherk
0de4e182ef
Bug 787549 - B2G: Stop simulating mouse events unless there's a tap. r=cjones
2012-09-14 21:16:32 -04:00
Ben Turner
9e6221f761
Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones.
2012-09-13 09:37:14 -07:00
Phil Ringnalda
970369597c
Back out aee383cd56dc (bug 755943) for burning
2012-09-13 09:49:53 -07:00
Ben Turner
9501e2643e
Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones.
2012-09-13 09:37:14 -07:00
Chris Jones
0ab933fe34
Bug 790764: Make <html:iframe mozbrowser remote> behave like <xul:browser remote>. r=roc
2012-09-12 20:50:40 -07:00
Ehsan Akhgari
589178c8cd
Merge IonMonkey into mozilla-inbound
2012-09-11 16:38:44 -04:00
David Anderson
76ab271ead
Merge IonMonkey to mozilla-central. a=arewefastyet
...
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Chris Jones
ec4f0b7652
Bug 788943: Allow TabParents to capture event series for faster dispatch to subprocesses. Implements capturing of touch-event series. r=smaug sr=roc
2012-09-11 13:05:52 -07:00
Dave Hylands
faf42254b1
Bug 784805 - Set the process name (comm) to the app name. r=cjones
2012-09-10 21:30:33 -07:00
David Anderson
09854d2b71
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
Daniel Holbert
1dc8cb22b6
Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg
2012-09-09 16:29:12 -07:00
David Anderson
f4bf6ff039
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
David Anderson
f6eca6c7f0
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
25cb077cb2
Merge from mozilla-central.
...
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
a77264d9fb
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Chris Jones
c25e82678d
Bug 776850: Kill subprocesses that fail backstop permission checks. r=jlebar
2012-09-05 15:18:48 -07:00
Michael Wu
1ee6b2d94d
Bug 785554 - Remove unnecessary touches in events sent to content process, r=cjones
2012-08-29 13:06:11 -03:00
Chris Jones
2fb1827749
Bug 781725: Refactor TabChild to allow pre-created instances, and then use a pre-created instance to pre-load and compile BrowserElementChild.js. r=smaug
...
--HG--
extra : rebase_source : f063c672d55da46541fdd1b6f6ff0cf510a6853f
2012-08-29 12:26:18 -03:00
David Anderson
3b9fed8952
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
a264d0ebc8
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00