gecko/dom
Bobby Holley 27cb64cf35 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-08-23 16:44:53 -07:00
..
activities Bug 784678 - Error when calling postCancel and postSuccess in an activity : followup [r=mrbkap] 2012-08-23 11:56:36 -07:00
alarm Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
apps Bug 781379: getNotInstalled should be under mgmt and return apps from all origins; r=felipe 2012-08-20 10:19:56 -07:00
base Bug 774633 - Remove "is chrome window" condition for inner window reuse. r=jst 2012-08-23 16:44:53 -07:00
battery Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
bindings Fix for bug 775543 (Passing a Worker object to console.log() results in a crash). r=bz. 2012-08-22 18:16:14 -07:00
bluetooth Bug 783934 - Final Version: Add events onconnected and ondisconnected in BluetoothDevice, r=qdot, sr=mrbkap 2012-08-23 14:14:20 +08:00
browser-element Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey. 2012-08-23 12:33:46 -07:00
camera Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
contacts Bug 785147 - Contacts API: fix import contacts from SIM card. r=fabrice 2012-08-23 11:48:33 -07:00
devicestorage Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
file Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
identity Bug 773485 - Update identity Makefiles to use MOCHITEST_FILES. r=glandium 2012-08-09 00:07:38 -07:00
imptests Bug 780457 - Adapt importTestsuite.py to changes from bug 774032. r=Ms2ger 2012-08-07 09:30:04 +02:00
indexedDB Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey. 2012-08-23 12:33:46 -07:00
interfaces Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE 2012-08-23 14:08:42 -07:00
ipc Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey. 2012-08-23 12:33:46 -07:00
locales Bug 784071 - Add __exposedProps__ warning back into dom.properties. r=mccr8 2012-08-20 10:27:16 -07:00
media Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
messages Bug 784678 - Error when calling postCancel and postSuccess in an activity : followup [r=mrbkap] 2012-08-23 11:56:36 -07:00
mms Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
network Bug 733573 - Expose a client TCP socket API to web applications [r=honzab,fabrice] 2012-08-21 09:46:27 -07:00
permission Bug 780707 - Contacts API: support prompting. r=dougt 2012-08-09 11:34:57 -07:00
plugins Bug 773958 - Define NP_CALLBACK as NP_LOADDS for a calling convention consistency. r=josh 2012-08-23 06:18:45 -04:00
power Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
settings Bug 781521 - Fix Settings API. r=gwagner 2012-08-14 20:54:33 -07:00
sms Bug 579517 follow-up: Remove NSPR types that crept in 2012-08-23 11:30:56 -04:00
src Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
system Bug 775588 - Do not define a special directory if it doesn't exist. r=khuey 2012-08-22 16:58:09 -04:00
telephony Bug 779378: B2G Voicemail: Hook up to permissions manager; r=gwagner 2012-08-23 16:31:02 -07:00
tests Bug 733573 - Expose a client TCP socket API to web applications [r=honzab,fabrice] 2012-08-21 09:46:27 -07:00
webidl Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE 2012-08-23 14:08:42 -07:00
wifi Bug 777203 - Keep a list of managers that are interested in wifi events and send notifications only to them instead of broadcasting notifications to the world. r=gwagner DONTBUILD 2012-08-22 12:37:11 -07:00
workers Fix for bug 775543 (Passing a Worker object to console.log() results in a crash). r=bz. 2012-08-22 18:16:14 -07:00
dom-config.mk Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Makefile.in Bug 780707 - Contacts API: support prompting. r=dougt 2012-08-09 11:34:57 -07:00