Commit Graph

8590 Commits

Author SHA1 Message Date
Ms2ger
d3015b7146 Bug 782651 - Get importTestsuite.py working again; r=jhammel
--HG--
rename : dom/imptests/webapps/DOMCore/tests/submissions/Ms2ger/test_Range-intersectsNode.html => dom/imptests/webapps/DOMCore/tests/submissions/Ms2ger/test_Range-intersectsNode-binding.html
2012-09-06 09:14:48 +02:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Ryan VanderMeulen
441b85ff28 Merge m-c to inbound. r=backedoutbykylehuey.com 2012-09-05 19:10:11 -04:00
Kyle Huey
e85d6a59f5 Back out dougt (bug 788588 et al.) for burning the tree (and some nostalgia). 2012-09-05 15:59:49 -07:00
Doug Turner
2a340fad67 Bug 788588 - Device storage on Windows should use NS_WIN_PERSONAL_DIR. r=blassey 2012-09-05 14:30:36 -07:00
Doug Turner
0c64eca32d Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner
f6796f9d1f 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
1f6210bad2 Bug 788268 - Device Storage - Convert tests to use public types. r=bent 2012-09-05 14:30:36 -07:00
andrew.quartey@gmail.com
67585c898f Bug 701299 - crash nsGlobalWindow::LeaveModalState, r=smaug,khuey 2012-09-05 21:25:53 +03:00
Olli Pettay
ab1e1ec8fe Bug 787961 - Remove mDocument from WorkerPrivate, r=bent
--HG--
extra : rebase_source : 6f2560f658e365b89bb602d498b082cf84bdaef9
2012-09-05 20:47:57 +03:00
Chris Jones
3b5226ebd3 Bug 776850: Kill subprocesses that fail backstop permission checks. r=jlebar 2012-09-05 15:18:48 -07:00
John Schoenick
6c657c7493 Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
Brendan Dahl
3f688bb97f Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug 2012-08-31 10:45:45 -07:00
Kyle Machulis
93cbb2ff95 Bug 783426 - Async firing for FireSuccess/Error on DOMRequest; r=jonas r=khuey 2012-09-04 13:19:22 -07:00
Eric Faust
497dfe5e4e Bug 781387 - Codegen infallibility data for Paris bindings methods. (r=peterv) 2012-09-04 14:46:38 -04:00
Kyle Machulis
dbd693fab8 Bug 787581 - Fix nullptr access crash in BluetoothManager Destructor; r=echou 2012-09-04 10:29:06 -07:00
Ryan VanderMeulen
1baaa803da Merge m-c to inbound. 2012-09-05 17:52:28 -04:00
John Schoenick
8c4372a650 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
89dd8205be Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
Philipp von Weitershausen
0960634864 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
36287aa39a 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
07838d4445 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
c466facab9 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
3323a3c0e1 Bug 774633 - Assert against switching origins on a compartment. r=jst 2012-09-05 11:32:07 -07:00
Bobby Holley
99f6405182 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
05e10f96c1 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
517b3a2ec0 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
e0da4110dc 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
3d944bcab3 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
437a27a6d1 Bug 778044. Add a way to pref off Paris binding constructor objects. r=peterv 2012-09-05 13:37:28 -04:00
Andrea Marchesini
60ef34b89f Bug 788181. Fix instanceof for XHR and XHR.upload in workers. r=peterv 2012-09-05 13:37:27 -04:00
Boris Zbarsky
7459711346 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
5c26a10f81 bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice 2012-09-05 10:08:54 -07:00
Chris Jones
7ee7b46bd3 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
d4d87778e3 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Mike Hommey
e3c782edaa Bug 785269 - Replace a few DEPTH and relativesrcdir. r=ted,r=callek 2012-09-05 16:42:09 +02:00
Justin Lebar
6aeb00a617 Bug 787378 - Part 2: Tests for mozbrowserfirstpaint event. 2012-09-05 10:34:06 -04:00
Justin Lebar
50e0732239 Bug 787378 - Part 1: Fire a "firstpaint" event in iframe mozbrowser. 2012-09-05 10:34:06 -04:00
Boris Zbarsky
f17771a580 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
a17389cd6f 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
2b85439c92 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
c9bdf6614b Bug 787406 - B2G Network Manager: Allow only one default route at the same time. r=philikon. 2012-09-05 13:29:48 +08:00
Boris Zbarsky
6e9477c606 Revert changeset b96a7ceeb647, since it had no effect on build stuff. Bug 787498, no review, DONTBUILD 2012-09-04 23:04:37 -04:00
Donovan Preston
a07a503c35 Bug 784897 - Remove nsITCPSocket constants. r=sicking 2012-09-04 22:23:53 -04:00
Timothy Guan-tin Chien
b663f27cdd Bug 788094 - B2G RIL: SIM card state keywords is different between code and IDL. r=philikon 2012-09-04 21:01:57 -04:00
Mike Habicher
991f26aa4b Bug 779139 - Make DOM-facing camera objects cycle collection participants. r=jst
--HG--
rename : dom/camera/CameraControl.h => dom/camera/CameraControlImpl.h
rename : dom/camera/GonkCameraCapabilities.cpp => dom/camera/DOMCameraCapabilities.cpp
2012-09-04 21:01:56 -04:00
Chris Jones
bb5f237be6 Bug 785237: Give prelaunch processes background priority, and move the background oom_adj up (down?) a class. r=jlebar 2012-09-04 17:36:16 -07:00
Gene Lian
9490120b71 Bug 783021 - System time: listen to timezone settings changes and update system timezone (part 2). r=khuey, sr=cjones 2012-09-04 15:56:30 +08:00
Alexandre Lissy
a847a856a0 Bug 782289 - Headphones status notification. Part 1: Send observer notification. r=philikon
We send this notification each time status change. For now, only on/off, maybe
it might be a good thing to add microphone status too. We will observe
this notification in b2g's shell.js to generate a mozChromeEvent.
2012-08-13 16:57:51 +02:00
Masayuki Nakano
652c834ce7 Bug 786898 part.2 Add overflow delta value tests r=smaug, sr=smaug 2012-09-04 17:39:28 +09:00