Commit Graph

8610 Commits

Author SHA1 Message Date
Patrick Wang
28b023a421 Bug 775464 - Part 2: Fire event to mozbrowser embedder from parent on receiving HTTP auth request. r=jlebar
--HG--
extra : rebase_source : 52ea850574a4858fb45d4241b4e61248d9bc2385
2012-09-03 18:59:55 +08:00
Ed Morley
5fe2b31d63 Backout ea472ffba523 & ae4a4bfde41e (bug 786922) for causing bug 789008 2012-09-06 11:58:20 +01:00
Ed Morley
5dcf26da5e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-06 10:19:16 +01:00
Ms2ger
c84831a407 Bug 763367 - Add support for [EnforceRange] and [Clamp]; r=bz 2012-09-06 09:25:03 +02:00
Ms2ger
40c67660e9 No bug - Move the bool specialization of PrimitiveConversionTraits from between the integer ones. 2012-09-06 09:20:29 +02:00
Ms2ger
bd32566761 Bug 785067 - Outparamdel nsGlobalWindow::SaveWindowState; r=mrbkap 2012-09-06 09:20:26 +02:00
Ms2ger
541b92080a Bug 768793 - Remove DOMJSClass::mGetWrapperCacheVTableOffset; r=khuey 2012-09-06 09:14:49 +02:00
Ms2ger
348aa6b524 Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug 2012-09-06 09:14:49 +02:00
Ms2ger
d8a746617b Bug 780161 - Part a: Deduplicate code in nsDOMWindowList; r=peterv 2012-09-06 09:14:49 +02:00
Ms2ger
71c9573199 Bug 788211 - Fix a few bugs in CGDOMJSProxyHandler_defineProperty; r=bz 2012-09-06 09:14:48 +02:00
Ms2ger
7e83e5dc1f 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
Fabrice Desré
ee58116b26 Bug 777208 - ActivitiesService should not broadcast information to all content processes [r=gwagner] 2012-09-05 20:47:47 -07:00
Makoto Kato
507b76f776 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Kyle Machulis
9ac24e5e11 Bug 756299: Patch 2 - IPC Socket Creation Functions and Type Additions; r=mrbkap 2012-09-05 20:06:20 -07:00
Ryan VanderMeulen
826e297731 Merge m-c to inbound. 2012-09-05 23:03:09 -04:00
Ryan VanderMeulen
611d3d1f4f Merge m-c to inbound. r=backedoutbykylehuey.com 2012-09-05 19:10:11 -04:00
Kyle Huey
a7de927b06 Back out dougt (bug 788588 et al.) for burning the tree (and some nostalgia). 2012-09-05 15:59:49 -07:00
Doug Turner
eec17ecc85 Bug 788588 - Device storage on Windows should use NS_WIN_PERSONAL_DIR. r=blassey 2012-09-05 14:30:36 -07:00
Doug Turner
8776637a78 Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner
7cc62379d6 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
59768ab243 Bug 788268 - Device Storage - Convert tests to use public types. r=bent 2012-09-05 14:30:36 -07:00
andrew.quartey@gmail.com
f78e495142 Bug 701299 - crash nsGlobalWindow::LeaveModalState, r=smaug,khuey 2012-09-05 21:25:53 +03:00
Olli Pettay
ed667ac966 Bug 787961 - Remove mDocument from WorkerPrivate, r=bent
--HG--
extra : rebase_source : 6f2560f658e365b89bb602d498b082cf84bdaef9
2012-09-05 20:47:57 +03:00
Chris Jones
7e01b79a2d Bug 776850: Kill subprocesses that fail backstop permission checks. r=jlebar 2012-09-05 15:18:48 -07:00
John Schoenick
f25d874531 Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
Nathan Froyd
317b7be203 Bug 774757 - don't generate static initializers with new bindings; r=bz 2012-08-29 17:16:23 -04:00
Fabrice Desré
159cd0472b Bug 775327 - App ID generation and storage is unsafe [r=sicking] 2012-09-05 18:07:21 -07:00
Fabrice Desré
6fed1e18b8 Bug 788872 - Cannot run packaged apps after install without restarting gecko [r=gwagner] 2012-09-05 17:37:41 -07:00
Gregor Wagner
6a37b417e8 Bug 788561 - SettingsAPI: Use createLock instead of getLock. r=bent 2012-09-05 17:33:03 -07:00
Doug Turner
0d971a90ab 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
1acfa52de1 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
829e18d536 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
e5b3162f1a Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug 2012-08-31 10:45:45 -07:00
Kyle Machulis
7299d00314 Bug 783426 - Async firing for FireSuccess/Error on DOMRequest; r=jonas r=khuey 2012-09-04 13:19:22 -07:00
Eric Faust
c46ac3f166 Bug 781387 - Codegen infallibility data for Paris bindings methods. (r=peterv) 2012-09-04 14:46:38 -04:00
Kyle Machulis
987ebe1ee2 Bug 787581 - Fix nullptr access crash in BluetoothManager Destructor; r=echou 2012-09-04 10:29:06 -07:00
Ryan VanderMeulen
559bc624f6 Merge m-c to inbound. 2012-09-05 17:52:28 -04:00
John Schoenick
4af1b4f3b9 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
58eddd29c3 Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
Philipp von Weitershausen
be85e1a0b0 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
673cc42f78 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
1f42010bdf 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
eef8d9f4eb 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
06abc7485c Bug 774633 - Assert against switching origins on a compartment. r=jst 2012-09-05 11:32:07 -07:00
Bobby Holley
dfd8cb0284 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
9f9275dca8 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
9ae993ebdc 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
2195e87d2e 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
9b95920174 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
a860438a8a Bug 778044. Add a way to pref off Paris binding constructor objects. r=peterv 2012-09-05 13:37:28 -04:00