Commit Graph

8612 Commits

Author SHA1 Message Date
Ehsan Akhgari
65c5e19c37 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Patrick Wang
c5dab9e8b0 Bug 775464 - Test case r=jlebar
--HG--
extra : rebase_source : ca2f34980d2bbdbbd34a6d389d766ec948a6b273
2012-09-03 19:02:16 +08:00
Patrick Wang
ce316face6 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
b96b62f2dd Backout ea472ffba523 & ae4a4bfde41e (bug 786922) for causing bug 789008 2012-09-06 11:58:20 +01:00
Ed Morley
c6d2c20860 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-06 10:19:16 +01:00
Ms2ger
6b6c1230f5 Bug 763367 - Add support for [EnforceRange] and [Clamp]; r=bz 2012-09-06 09:25:03 +02:00
Ms2ger
aefd975ea8 No bug - Move the bool specialization of PrimitiveConversionTraits from between the integer ones. 2012-09-06 09:20:29 +02:00
Ms2ger
da816a754b Bug 785067 - Outparamdel nsGlobalWindow::SaveWindowState; r=mrbkap 2012-09-06 09:20:26 +02:00
Ms2ger
921135d916 Bug 768793 - Remove DOMJSClass::mGetWrapperCacheVTableOffset; r=khuey 2012-09-06 09:14:49 +02:00
Ms2ger
358f7a91f3 Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug 2012-09-06 09:14:49 +02:00
Ms2ger
4332194051 Bug 780161 - Part a: Deduplicate code in nsDOMWindowList; r=peterv 2012-09-06 09:14:49 +02:00
Ms2ger
454aa09861 Bug 788211 - Fix a few bugs in CGDOMJSProxyHandler_defineProperty; r=bz 2012-09-06 09:14:48 +02:00
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
Fabrice Desré
8c06bd7bb0 Bug 777208 - ActivitiesService should not broadcast information to all content processes [r=gwagner] 2012-09-05 20:47:47 -07:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Kyle Machulis
cc79f8ed20 Bug 756299: Patch 2 - IPC Socket Creation Functions and Type Additions; r=mrbkap 2012-09-05 20:06:20 -07:00
Ryan VanderMeulen
564bdb74b5 Merge m-c to inbound. 2012-09-05 23:03:09 -04: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
Nathan Froyd
c00a7f490e Bug 774757 - don't generate static initializers with new bindings; r=bz 2012-08-29 17:16:23 -04:00
Fabrice Desré
f076c96d44 Bug 775327 - App ID generation and storage is unsafe [r=sicking] 2012-09-05 18:07:21 -07:00
Fabrice Desré
557d38dbbf Bug 788872 - Cannot run packaged apps after install without restarting gecko [r=gwagner] 2012-09-05 17:37:41 -07:00
Gregor Wagner
3b332a6a7f Bug 788561 - SettingsAPI: Use createLock instead of getLock. r=bent 2012-09-05 17:33:03 -07:00
Doug Turner
bcd286b290 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
94b0436da7 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
139ac99074 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
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