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
Boris Zbarsky
4dcdb03610
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
1148c744d4
Bug 784897 - Remove nsITCPSocket constants. r=sicking
2012-09-04 22:23:53 -04:00
Timothy Guan-tin Chien
799a3dd83d
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
6ae700c29b
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
9509102724
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
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
Gene Lian
a2383f287a
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
d346b69ee9
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
36a101bd0d
Bug 786898 part.2 Add overflow delta value tests r=smaug, sr=smaug
2012-09-04 17:39:28 +09:00
Phil Ringnalda
5b03f3ae48
Bug 705047 followup, the || and or keys are right next to each other
2012-09-03 23:42:34 -07:00
Phil Ringnalda
12b9fa4dcd
Bug 705047 - Disable the plugin crash notification tests that fail on 10.7 on 10.8 too, where they fail too
...
--HG--
extra : rebase_source : 6a6810ce9ae266cd4a5471f89ec40cefb433505d
2012-08-29 21:33:34 -07:00
Gene Lian
d9ca6d68ec
Bug 729877 - B2G Wifi: hook up to settings API. r=mrbkap
2012-09-04 12:26:56 +08:00
Fabrice Desré
97aedc86bc
Bug 787564 - Today repository cause a black display on SGS2/Otoro due to regression from bug 778079 [r=vingtetun]
2012-09-03 16:33:39 -07:00
Jose Antonio Olivera Ortega
0ebc307776
Bug 782603 - Part 4: Marionette unit tests for exposing MCC/MNC codes. r=marshall_law
2012-09-03 17:44:34 -04:00
Jose Antonio Olivera Ortega
5ef037a4d3
Bug 782603 - Part 3: RIL implementation for exposing MCC/MNC codes. r=marshall_law
2012-09-03 17:43:59 -04:00
Jose Antonio Olivera Ortega
aa8f6ce2ce
Bug 782603 - Part 2: MCC/MNC codes DOM implementation. r=smaug
2012-09-03 17:43:34 -04:00
Jose Antonio Olivera Ortega
80eff32f37
Bug 782603 - Part 1: MCC/MNC codes DOM API. r=marshall_law
2012-09-03 17:43:09 -04:00
Alexandre Lissy
213e712dd7
Bug 787936 - Missing comma in ril_worker.js. r=vingtetun
2012-09-03 16:42:13 +02:00
Ed Morley
b42466cd6b
Backout 1d89bc229215 (bug 784142) for bug 787744
2012-09-03 10:04:49 +01:00
Gina Yeh
bf62bdbc2a
Bug 764559 - Final version: add eventlistener for adapteradded in BluetoothManager, r=qdot, sr=jst
2012-09-03 14:38:44 +08:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Gene Lian
bf14dd20ba
Bug 785298 - Settings API: set() can carry a customized message to notify "mozsettings-changed" observers. r=gwagner
2012-08-31 15:37:43 +08:00
Marco Castelluccio
0c1bea5130
Bug 778029 - Fix distorted windowless flash with X11 GL layers. r=BenWa
2012-09-01 11:35:56 -04:00
Boris Zbarsky
27ee186b67
Bug 786105. Setting inline style properties to null should remove them, just like setting them to empty string does. r=peterv
2012-08-31 20:59:46 -04:00
Ryan VanderMeulen
d628464a1c
Merge m-c to inbound.
2012-08-31 20:23:29 -04:00
Jonas Sicking
15b3bab931
Bug 769880: Make createIndex throw InvalidAccessError instead of NotSupportedError. r=khuey
2012-08-31 18:33:24 -03:00
Ehsan Akhgari
3fc90f9719
Bug 775302 - Stub out the implementation of mozAudioContext; r=bzbarsky,khuey
2012-08-31 16:59:37 -04:00
Philipp von Weitershausen
d2f377e3dc
Merge a PGO-green inbound changeset to m-c.
2012-08-31 10:14:33 -07:00