Commit Graph

11717 Commits

Author SHA1 Message Date
Kyle Machulis
a1d87b361c Bug 756299: Patch 2 - IPC Socket Creation Functions and Type Additions; r=mrbkap 2012-09-05 20:06:20 -07:00
Ryan VanderMeulen
c03d084401 Merge m-c to inbound. 2012-09-05 23:03:09 -04:00
Makoto Kato
1356f06137 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Ryan VanderMeulen
ff9b2e9873 Merge m-c to inbound. r=backedoutbykylehuey.com 2012-09-05 19:10:11 -04:00
Kyle Huey
19dc351f35 Back out dougt (bug 788588 et al.) for burning the tree (and some nostalgia). 2012-09-05 15:59:49 -07:00
Doug Turner
247ae26919 Bug 788588 - Device storage on Windows should use NS_WIN_PERSONAL_DIR. r=blassey 2012-09-05 14:30:36 -07:00
Doug Turner
c17bdba719 Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner
05cb22bb46 Bug 786922 - Device Storage - use a properties file instead of the mime service. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner
ccde41df30 Bug 788268 - Device Storage - Convert tests to use public types. r=bent 2012-09-05 14:30:36 -07:00
andrew.quartey@gmail.com
111e917ff3 Bug 701299 - crash nsGlobalWindow::LeaveModalState, r=smaug,khuey 2012-09-05 21:25:53 +03:00
Olli Pettay
db7df00441 Bug 787961 - Remove mDocument from WorkerPrivate, r=bent
--HG--
extra : rebase_source : 6f2560f658e365b89bb602d498b082cf84bdaef9
2012-09-05 20:47:57 +03:00
Chris Jones
c25e82678d Bug 776850: Kill subprocesses that fail backstop permission checks. r=jlebar 2012-09-05 15:18:48 -07:00
John Schoenick
3a1354f5ba Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
Nathan Froyd
05a2ad176a Bug 774757 - don't generate static initializers with new bindings; r=bz 2012-08-29 17:16:23 -04:00
Fabrice Desré
e4d2ca3640 Bug 775327 - App ID generation and storage is unsafe [r=sicking] 2012-09-05 18:07:21 -07:00
Fabrice Desré
b19460fae4 Bug 788872 - Cannot run packaged apps after install without restarting gecko [r=gwagner] 2012-09-05 17:37:41 -07:00
Gregor Wagner
aa2e534506 Bug 788561 - SettingsAPI: Use createLock instead of getLock. r=bent 2012-09-05 17:33:03 -07:00
Doug Turner
b3818e7021 Bug 788588 - Device storage on Windows should use NS_WIN_PERSONAL_DIR. r=blassey
--HG--
extra : rebase_source : 2336d1171ffa9ab177ce35b32836296b1251fea9
2012-09-05 14:30:36 -07:00
Doug Turner
1f4e4655e4 Bug 786922 - Device Storage - use a properties file instead of the mime service. r=bent
--HG--
extra : rebase_source : 17cd95eadccd4155dd00620586a1d655892f59f9
2012-09-05 14:30:36 -07:00
Doug Turner
803e9134f5 Bug 788268 - Device Storage - Convert tests to use public types. r=bent
--HG--
extra : rebase_source : 208751cfe7b68e67d65686d6606766dd5caebf59
2012-09-05 14:30:36 -07:00
Brendan Dahl
c8fe46d4c6 Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug 2012-08-31 10:45:45 -07:00
Kyle Machulis
fd4e1bacaf Bug 783426 - Async firing for FireSuccess/Error on DOMRequest; r=jonas r=khuey 2012-09-04 13:19:22 -07:00
Eric Faust
c14c8ad7e4 Bug 781387 - Codegen infallibility data for Paris bindings methods. (r=peterv) 2012-09-04 14:46:38 -04:00
Kyle Machulis
fedadfa464 Bug 787581 - Fix nullptr access crash in BluetoothManager Destructor; r=echou 2012-09-04 10:29:06 -07:00
Ryan VanderMeulen
4cc4e12e7d Merge m-c to inbound. 2012-09-05 17:52:28 -04:00
John Schoenick
88f434e646 Bug 786650 - Abort load of channel-having plugins without frames at the appropriate point. r=josh 2012-09-05 14:02:07 -07:00
John Schoenick
0cb7e069a2 Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
Philipp von Weitershausen
9f8261c75a Bug 787172 - B2G RIL: Wait for the system app to load before turning on the radio. r=vingtetun 2012-09-05 13:00:06 -07:00
Neil Deakin
54a64652ea Bug 784142, assertion and crash calling alert while closing a window, check in again without the test, r=smaug 2012-09-05 14:52:47 -04:00
Bobby Holley
b43d7a2d36 Bug 771354 - Don't special-case principal assignment for chrome windows in nsGlobalWindow.cpp. r=bz 2012-09-05 11:32:07 -07:00
Bobby Holley
081bc4bb16 Bug 774607 - Remove use of JS_{Is,Make}SystemObject from Gecko. r=bz
We currently set this for system globals and anything whose parent
chain leads to a system global. Maybe this was relevant before, but
with CPG this is just equivalent to asking whether the object is in
a system compartment. And the only place where we _check_ this bit
is immediately after checking for a system compartment, in
WrapperFactory. So AFAICT this can go away entirely.
2012-09-05 11:32:07 -07:00
Bobby Holley
957314c2fd Bug 774633 - Assert against switching origins on a compartment. r=jst 2012-09-05 11:32:07 -07:00
Bobby Holley
f6e4f704dd Bug 774633 - Remove "is chrome window" condition for inner window reuse. r=jst
WouldReuseInnerWindow also returns true if the new window is same-origin with
the old one about:blank document.

This condition exists in order to handle some sloppiness with respect to the
principals on initial about:blank documents. Chrome callers sometimes parent
chrome windows (with XUL document) to content windows. But this parenting causes
us to push the cx of the content window during window creation, meaning that
the subsequent load of chrome://foo.xul blows away the old inner window and any
expandos on it. We can handle this case more precisely by skipping the cx push
for type="chrome" windows.

Furthermore, this was also necessary to prevent the inner window from being
blown away in the call to SetOpenerScriptPrincipal once nsWindowWatcher gets
the window back from the window creator (and after it's already told consumers
about the window via "domwindowcreated"). But we fixed this nastiness in the
previous patches.

So we can remove this case. By doing so, we can prevent inner windows from ever
changing origins, which is very important for compartment security invariants.
2012-09-05 11:32:06 -07:00
Bobby Holley
76dfb3183c Bug 774633 - Fold SetOpenerScriptPrincipal into SetInitialPrincipalToSubject, and make it indempotent and callable without an existing document. r=jst
There's no reason it has to fail if there's no mDoc, since any document is promptly
blown away with the new about:blank document.

The indempotence is important because we want to be able to call this method
unconditionally in OpenJSWindowInternal (since we may not have gone through
RegisterTopLevelWindow) without worrying about whether we've called it already.
2012-09-05 11:32:06 -07:00
Bobby Holley
b54ef01adf Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
This value is initialized to null and never set, so we can get rid of it.
2012-09-05 11:32:06 -07:00
Bobby Holley
e864c2fca6 Bug 774633 - Wean SetInitialPrincipalToSubject off some parameters and clean it up. r=jst
We can remove the fallback to the principal of aParent because we already push the
cx for aParent (callerContextGuard) whenever we're concerned about using its principal.
2012-09-05 11:32:06 -07:00
Bobby Holley
9a637e122b Bug 774633 - Factor nsWindowWatcher call to SetOpenerScriptPrincipal into a method on nsGlobalWindow. r=jst
This doesn't change any functionality in the code. Note that the name is currently
a bit of a misnomer, but we change that in the next patch when we rip out the
arguments.
2012-09-05 11:32:06 -07:00
Boris Zbarsky
00e03faa6d Bug 778044. Add a way to pref off Paris binding constructor objects. r=peterv 2012-09-05 13:37:28 -04:00
Andrea Marchesini
462c20197a Bug 788181. Fix instanceof for XHR and XHR.upload in workers. r=peterv 2012-09-05 13:37:27 -04:00
Boris Zbarsky
65e4105d26 Bug 788149. Don't use jsids in worker code in bindings, because those are runtime-specific and workers can run on multiple runtimes. r=peterv 2012-09-05 13:37:27 -04:00
Myk Melez
b4fdf2f847 bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice 2012-09-05 10:08:54 -07:00
Chris Jones
bfcb73a0c2 Bug 783066: Paint the backgrounds of remote subdocuments like we paint those of same-process subdocuments. r=roc 2012-09-05 09:23:45 -07:00
Mike Hommey
9f50415300 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Mike Hommey
6802c70abe Bug 785269 - Replace a few DEPTH and relativesrcdir. r=ted,r=callek 2012-09-05 16:42:09 +02:00
Justin Lebar
5ef782f3b8 Bug 787378 - Part 2: Tests for mozbrowserfirstpaint event. 2012-09-05 10:34:06 -04:00
Justin Lebar
01fd4c933b Bug 787378 - Part 1: Fire a "firstpaint" event in iframe mozbrowser. 2012-09-05 10:34:06 -04:00
Boris Zbarsky
1bd799df56 Bug 778150 part 3. Default attributes to infallible. Allow annotation of fallible attributes in WebIDL. r=peterv
The valid annotations are [Throws], [GetterThrows], and [SetterThrows], which can all either take no value or
be set to MainThread or Workers if the throwing behavior is only happening on main thread or in workers
2012-09-05 09:21:33 -04:00
Boris Zbarsky
7a3efb15c4 Bug 778150 part 2. Default methods to infallible. Allow annotation of fallible methods in WebIDL using [Throws]. r=peterv
[Throws] can either take no value, or can take MainThread or Workers if the
throwing behavior is only happening on main thread or in workers.
2012-09-05 09:21:33 -04:00
Boris Zbarsky
bca38b3571 Bug 778150 part 1. Remove the vestigial ability to specify infallibility stuff in the conf file. r=peterv 2012-09-05 09:21:33 -04:00
Shian-Yow Wu
9f61c57951 Bug 787406 - B2G Network Manager: Allow only one default route at the same time. r=philikon. 2012-09-05 13:29:48 +08:00