Brian R. Bondy
46f7faac48
Bug 784414 - Ensure cache clean file is open before seeking in it. r=michal
2012-08-23 22:22:14 -04:00
Bobby Holley
48fc85f058
Bug 780370 - Remap objects from standard prototypes even if they're explicitly exposed. r=mrbkap
2012-08-23 19:07:14 -07:00
Bobby Holley
b2b8ff55f2
Bug 780370 - Clarify the compartment situation in ChromeObjectWrapper. r=mrbkap
...
Not sure what I was thinking before. We should always be in the compartment of the wrapper here.
2012-08-23 19:07:13 -07:00
Luke Wagner
e02c91584a
Bug 625199 - Actually that NULL check was necessary in js_GetPropertyHelperInline (having a non-null pc does not mean currentScript is non-null because currentScript returns null when cx->fp is in another compartment (r=bustage) CLOSED TREE
...
--HG--
extra : rebase_source : f35ede2c9fba57aa09775cf80e8ce064d1f90394
2012-08-23 18:42:29 -07:00
Adam Dane [:hobophobe]
19984c4774
Bug 583890 - Tab Title Abridger module and tests. r=ttaubert
2012-08-23 20:16:13 -05:00
Adam Dane [:hobophobe]
d264b06375
Bug 583890 - Add visibleLabel attribute/property and tests. r=ttaubert,jaws
2012-08-23 20:15:50 -05:00
Luke Wagner
ca5e3432ef
Bug 625199 - Convert one more JSAutoEnterCompartment in ObserverPair.h (r=bustage)
2012-08-23 18:13:08 -07:00
Peter Van der Beken
f531239bc1
Fix for bug 742195 (Implement the extended attributes for null and undefined handling on strings in Paris bindings). r=bz.
2012-07-12 15:55:30 +02:00
Peter Van der Beken
486198a6d8
Fix for bug 785188 (Make Xrays work with newest DOM list bindings). r=mrbkap.
2012-06-06 21:52:26 +02:00
Boris Zbarsky
268aef67fb
Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv
2012-08-23 12:23:23 -07:00
Luke Wagner
ce71e55555
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Luke Wagner
48412c861d
Bug 625199 - kill dummy frames (r=mrbkap)
...
--HG--
extra : rebase_source : df4e3bddabf20cdc5b9122370fa62b40e64177c7
2012-08-17 18:05:06 -07:00
Luke Wagner
a8468322d3
Bug 625199 - remove unnecessary uses of 'parent' that can now use cx->global (r=mrbkap)
...
--HG--
extra : rebase_source : a71ff786343a910dbd12ebfa4b2dbde4dc9ff2ae
2012-08-17 11:21:57 -07:00
Chris Jones
d04e5d0df7
Backed out changeset df85150b8d2f
2012-08-23 17:33:12 -07:00
Chris Jones
352812e2a0
Bug 785167: Protect against already-canceled vibrations. r=jlebar
2012-08-23 17:32:00 -07:00
Jason Duell
ca7ff3f2e0
Bug 767516 - Rename: s/SSLConnect/ProxyConnect/ r=mcmanus
2012-06-22 12:06:00 -07:00
Rafael Ávila de Espíndola
bece7221d8
Bug 784895 - Remove unnecessary token pasting. r=mrbkap.
2012-08-23 19:57:51 -04:00
Matthew Gregan
d4dddbb2a1
Bug 596453 - Fix typo in test_error_on_404.
...
--HG--
extra : rebase_source : b9d8a71051c06a17d59ba321e2c62c095fa917b8
2012-08-24 11:51:37 +12:00
Anthony Jones
4cccdbef88
Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::DrawSurfaceWithShadow(). r=roc
2012-08-23 19:50:59 -04:00
Anthony Jones
2fce71e823
Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::CreateSimilarDrawTarget(). r=roc
2012-08-23 19:50:59 -04:00
Ryan VanderMeulen
6a130b0407
Merge m-c to inbound.
2012-08-23 19:50:46 -04:00
Bobby Holley
60eca7f85c
Bug 771354 - Don't special-case principal assignment for chrome windows in nsGlobalWindow.cpp. r=bz
2012-08-23 16:44:53 -07:00
Bobby Holley
2114d947a1
Bug 774607 - Remove JS_{Is,Make}SystemObject API. r=luke
2012-08-23 16:44:53 -07:00
Bobby Holley
63dfef11f8
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-08-23 16:44:53 -07:00
Bobby Holley
b27acb570c
Bug 774633 - Assert against switching origins on a compartment. r=jst
2012-08-23 16:44:53 -07:00
Bobby Holley
4e701ac456
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
Bobby Holley
b72d64f8a5
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.
2012-08-23 16:44:52 -07:00
Bobby Holley
0bf2885067
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-08-23 16:44:52 -07:00
Bobby Holley
875a633f4f
Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
...
This value is initialized to null and never set, so we can get rid of it.
2012-08-23 16:44:52 -07:00
Bobby Holley
efd432c75a
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-08-23 16:44:52 -07:00
Bobby Holley
6e122ec16c
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-08-23 16:44:52 -07:00
Gavin Sharp
e42cad6359
Bug 784153: remove "Oops" in social undo button string, r=jaws, ui-r=boriss
...
--HG--
extra : transplant_source : %28N/%F9%B4Y%ABu%FD%AC%E7%BE%F3%1E%92%3D%CD%C7%C1%CE
2012-08-23 16:33:10 -07:00
Kyle Machulis
684686bee5
Bug 779378: B2G Voicemail: Hook up to permissions manager; r=gwagner
2012-08-23 16:31:02 -07:00
Daniel Holbert
f4e969d582
Bug 785191: Push a null JSContext when binding / unbinding image elements in a document. r=bz
2012-08-23 16:24:58 -07:00
Matt Brubeck
87bb1cdc45
Back out 2c9059056119 and 52453ab440ec (bug 771380) for robocop perma-orange on a CLOSED TREE
2012-08-23 14:54:31 -07:00
Matt Brubeck
125d6375fe
Back out 156eaa94f73c (bug 782786) and 05d1a3fba90b (bug 777028) for frequent Linux reftest failures on a CLOSED TREE
2012-08-23 14:47:07 -07:00
Matt Brubeck
8df05dede8
Back out b2900e347f5c (bug 783393) for Windows xpcshell hangs in test_listscripts-01.js on a CLOSED TREE
...
--HG--
extra : transplant_source : %F4%97%281%7F%AD%7E%C0Vb%00t%9Bd%FC%EC%A5%92%B5%C8
2012-08-23 14:37:29 -07:00
Matt Brubeck
2783dc4006
Back out b2900e347f5c (bug 783393) for Windows xpcshell hangs in test_listscripts-01.js on a CLOSED TREE
2012-08-23 14:37:29 -07:00
Matt Brubeck
f6e99e646b
Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE
2012-08-23 14:08:42 -07:00
Kyle Huey
da0880b2aa
Bug 766793: Look for .pp files for shared libraries. r=ted a=philor for landing on a CLOSED TREE
2012-08-23 13:32:37 -07:00
Wes Johnston
6d61336a3a
backout c0bf8f743419 CLOSED TREE
2012-08-23 13:05:54 -07:00
William Lachance
697700dba9
Bug 785108 - Fix devicemanagerADB's isDir to handle symbolic links properly;r=jmaher DONTBUILD
2012-08-23 15:56:18 -04:00
Malini Das
b19cefb4b1
Bug 755856 - look for adb in path first for mozdevice emulator automation, r=jgriffin
2012-08-23 15:46:48 -04:00
Johannes Vogel
4771d15435
Bug 755856 - make marionette client look for adb in path first, r=mdas
2012-08-23 15:46:48 -04:00
Ben Turner
2e0265c8ef
Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
...
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Rafael Ávila de Espíndola
7832ddf402
Bug 785102 - Two different libxul.so used while populating startupcache. r=glandium.
2012-08-23 15:27:21 -04:00
Boris Zbarsky
0a47f4e83c
Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv
2012-08-23 12:23:23 -07:00
Chris Lee
242adfdca5
Bug 771284 - Use the child selector to get to button-icon and button-text. r=dao
...
DONTBUILD
2012-08-23 11:31:52 -07:00
Mounir Lamouri
9d6c98efec
Bug 756645 - Implement IndexedDB apps isolation. r=bent
2012-08-23 11:45:01 -07:00
Mounir Lamouri
3de548a9b6
Bug 784878 - Use version 2 by default when no version in found in permissions.sqlite. r=sicking
...
This is a patch to workaround the fact that talos has wrongly gerenated
permissions.sqlite files which don't have a user_version and are version 2.
This is going to be replaced by a MOZ_ASSERT by bug 784884.
2012-08-23 11:42:52 -07:00