14f0f28ad1a99989b4885d376dbd0ea6794d57ee: Merge m-c to inbound.
Ryan VanderMeulen <ryanvm@gmail.com> - Thu, 23 Aug 2012 19:50:46 -0400 - rev 105286
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Merge m-c to inbound.
670c8a2695b3e729322627fb947df319b47c0a2a: Bug 771354 - Don't special-case principal assignment for chrome windows in nsGlobalWindow.cpp. r=bz
Bobby Holley <bobbyholley@gmail.com> - Thu, 23 Aug 2012 16:44:53 -0700 - rev 105285
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 771354 - Don't special-case principal assignment for chrome windows in nsGlobalWindow.cpp. r=bz
134557d57e6e32ce80fa99e63b43e1e79b80335c: Bug 774607 - Remove JS_{Is,Make}SystemObject API. r=luke
Bobby Holley <bobbyholley@gmail.com> - Thu, 23 Aug 2012 16:44:53 -0700 - rev 105284
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 774607 - Remove JS_{Is,Make}SystemObject API. r=luke
4ad52e488977dd381d2bf96ede2687e9b7f86363: Bug 774607 - Remove use of JS_{Is,Make}SystemObject from Gecko. r=bz
Bobby Holley <bobbyholley@gmail.com> - Thu, 23 Aug 2012 16:44:53 -0700 - rev 105283
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
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.
036eb8c2a08afd909c05101c0fccc92dee2d15bc: Bug 774633 - Assert against switching origins on a compartment. r=jst
Bobby Holley <bobbyholley@gmail.com> - Thu, 23 Aug 2012 16:44:53 -0700 - rev 105282
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 774633 - Assert against switching origins on a compartment. r=jst
d4d36e3b948f7b8527247433c2e1effb2de71016: Bug 774633 - Remove "is chrome window" condition for inner window reuse. r=jst
Bobby Holley <bobbyholley@gmail.com> - Thu, 23 Aug 2012 16:44:53 -0700 - rev 105281
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
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.
35334e8206322bbb4a591c02ee680c98ab5b2d8c: Bug 774633 - Move the call to SetInitialPrincipalToSubject into nsAppShellService::RegisterTopLevelWindow. r=jst
Bobby Holley <bobbyholley@gmail.com> - Thu, 23 Aug 2012 16:44:52 -0700 - rev 105280
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 774633 - Move the call to SetInitialPrincipalToSubject into nsAppShellService::RegisterTopLevelWindow. r=jst This means that we get the correct principal on the window before sending notifying any consumers about the window's creation.
6bd07fd5147dcb6c133ff36fd468e43fdc544f0b: Bug 774633 - Fold SetOpenerScriptPrincipal into SetInitialPrincipalToSubject, and make it indempotent and callable without an existing document. r=jst
Bobby Holley <bobbyholley@gmail.com> - Thu, 23 Aug 2012 16:44:52 -0700 - rev 105279
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
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.
d49e7c0d762cfd5ceee1d8953d0c2c64fdd56281: Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
Bobby Holley <bobbyholley@gmail.com> - Thu, 23 Aug 2012 16:44:52 -0700 - rev 105278
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst This value is initialized to null and never set, so we can get rid of it.
407f19deb14c6e755f1b48acbdc32e78c62b3d32: Bug 774633 - Wean SetInitialPrincipalToSubject off some parameters and clean it up. r=jst
Bobby Holley <bobbyholley@gmail.com> - Thu, 23 Aug 2012 16:44:52 -0700 - rev 105277
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
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.
d84551808abb046b9a50ae923095be4e509116d9: Bug 774633 - Factor nsWindowWatcher call to SetOpenerScriptPrincipal into a method on nsGlobalWindow. r=jst
Bobby Holley <bobbyholley@gmail.com> - Thu, 23 Aug 2012 16:44:52 -0700 - rev 105276
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
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.
dbd014cfb8488efe09a57e7f9bac5a0c93819384: Bug 784153: remove "Oops" in social undo button string, r=jaws, ui-r=boriss
Gavin Sharp <gavin@gavinsharp.com> - Thu, 23 Aug 2012 16:33:10 -0700 - rev 105275
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 784153: remove "Oops" in social undo button string, r=jaws, ui-r=boriss
8eb991da28afe836f0d718411b6ca10cb8f74267: Bug 779378: B2G Voicemail: Hook up to permissions manager; r=gwagner
Kyle Machulis <kyle@nonpolynomial.com> - Thu, 23 Aug 2012 16:31:02 -0700 - rev 105274
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 779378: B2G Voicemail: Hook up to permissions manager; r=gwagner
6e67b20609d24dc062fc89a6eb6ffd8682cdf6fe: Bug 785191: Push a null JSContext when binding / unbinding image elements in a document. r=bz
Daniel Holbert <dholbert@cs.stanford.edu> - Thu, 23 Aug 2012 16:24:58 -0700 - rev 105273
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 785191: Push a null JSContext when binding / unbinding image elements in a document. r=bz
45204dc49ac2e75e33170539fe251e48507cefcc: Bug 785463 - Tweak PurpleBuffer Block size, r=mccr8
Olli Pettay <Olli.Pettay@helsinki.fi> - Fri, 24 Aug 2012 12:26:44 -0700 - rev 105272
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 785463 - Tweak PurpleBuffer Block size, r=mccr8
35431a5588e0186b2a176d51927f9962d47e0044: merge last green changeset from fx-team to m-c
Rob Campbell <rcampbell@mozilla.com> - Fri, 24 Aug 2012 14:57:23 -0400 - rev 105271
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
merge last green changeset from fx-team to m-c
73622d728d4cef8a8550c866f1d814683151b284: Fix test hang on Win opt (Bug 783393). r=past
Nick Fitzgerald <nfitzgerald@mozilla.com> - Fri, 24 Aug 2012 10:58:59 +0300 - rev 105270
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Fix test hang on Win opt (Bug 783393). r=past
d6b2e1f60d02c7ef137059c55afbb063b8a45713: Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof
Panos Astithas <past@mozilla.com> - Fri, 24 Aug 2012 10:41:02 +0300 - rev 105269
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof
f2146a6c104e87e943d08c89b89d1dbac6f544f9: Bug 785175: Discard column information if the script is too large instead of aborting. r=jorendorff
Alex Crichton <acrichton@mozilla.com> - Fri, 24 Aug 2012 09:47:42 -0700 - rev 105268
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 785175: Discard column information if the script is too large instead of aborting. r=jorendorff
6a6f205e757045642d6a9a020db56fcf942275fd: Bug 785228 - nsGlobalWindow is described twice during traverse, r=mccr8
Olli Pettay <Olli.Pettay@helsinki.fi> - Thu, 23 Aug 2012 14:15:39 -0700 - rev 105267
Push 55 by shu@rfrn.org at Thu, 30 Aug 2012 01:33:09 +0000
Bug 785228 - nsGlobalWindow is described twice during traverse, r=mccr8
(0) -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 tip