Adam Dane [:hobophobe]
3b8ae4eb13
Bug 583890 - Tab Title Abridger module and tests. r=ttaubert
2012-08-23 20:16:13 -05:00
Adam Dane [:hobophobe]
d39f96fcbf
Bug 583890 - Add visibleLabel attribute/property and tests. r=ttaubert,jaws
2012-08-23 20:15:50 -05:00
Luke Wagner
68160897b6
Bug 625199 - Convert one more JSAutoEnterCompartment in ObserverPair.h (r=bustage)
2012-08-23 18:13:08 -07:00
Peter Van der Beken
b77fe91531
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
cb66e04e69
Fix for bug 785188 (Make Xrays work with newest DOM list bindings). r=mrbkap.
2012-06-06 21:52:26 +02:00
Boris Zbarsky
59f47be2a6
Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv
2012-08-23 12:23:23 -07:00
Luke Wagner
ad90af9ca5
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
9816ab9194
Bug 625199 - kill dummy frames (r=mrbkap)
...
--HG--
extra : rebase_source : df4e3bddabf20cdc5b9122370fa62b40e64177c7
2012-08-17 18:05:06 -07:00
Luke Wagner
b977054d38
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
a2fcf10a67
Backed out changeset df85150b8d2f
2012-08-23 17:33:12 -07:00
Chris Jones
8cf9f30595
Bug 785167: Protect against already-canceled vibrations. r=jlebar
2012-08-23 17:32:00 -07:00
Jason Duell
419d532f00
Bug 767516 - Rename: s/SSLConnect/ProxyConnect/ r=mcmanus
2012-06-22 12:06:00 -07:00
Rafael Ávila de Espíndola
4af95e0a58
Bug 784895 - Remove unnecessary token pasting. r=mrbkap.
2012-08-23 19:57:51 -04:00
Matthew Gregan
6b1e13ca20
Bug 596453 - Fix typo in test_error_on_404.
...
--HG--
extra : rebase_source : b9d8a71051c06a17d59ba321e2c62c095fa917b8
2012-08-24 11:51:37 +12:00
Anthony Jones
590ba32d85
Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::DrawSurfaceWithShadow(). r=roc
2012-08-23 19:50:59 -04:00
Anthony Jones
f43050747b
Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::CreateSimilarDrawTarget(). r=roc
2012-08-23 19:50:59 -04:00
Ryan VanderMeulen
5fd5fe5bbc
Merge m-c to inbound.
2012-08-23 19:50:46 -04:00
Bobby Holley
358de066bc
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
326f2f5c07
Bug 774607 - Remove JS_{Is,Make}SystemObject API. r=luke
2012-08-23 16:44:53 -07:00
Bobby Holley
be79576daa
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
fb072823ff
Bug 774633 - Assert against switching origins on a compartment. r=jst
2012-08-23 16:44:53 -07:00
Bobby Holley
38274fd965
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
bf36b7f605
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
1a9db39ccc
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
248ddad9f4
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
133acda80d
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
3bd2492b71
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
45535729ac
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
1004044a0d
Bug 779378: B2G Voicemail: Hook up to permissions manager; r=gwagner
2012-08-23 16:31:02 -07:00
Daniel Holbert
f4c2eb9bc2
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
d2b9fc4f64
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
38cbcc6cc5
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
128729361d
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
3caff3c473
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
f0721d083d
Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE
2012-08-23 14:08:42 -07:00
Kyle Huey
691604f920
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
c49b6c5c3a
backout c0bf8f743419 CLOSED TREE
2012-08-23 13:05:54 -07:00
William Lachance
b28692bf7a
Bug 785108 - Fix devicemanagerADB's isDir to handle symbolic links properly;r=jmaher DONTBUILD
2012-08-23 15:56:18 -04:00
Malini Das
0cc15146bd
Bug 755856 - look for adb in path first for mozdevice emulator automation, r=jgriffin
2012-08-23 15:46:48 -04:00
Johannes Vogel
991a87a528
Bug 755856 - make marionette client look for adb in path first, r=mdas
2012-08-23 15:46:48 -04:00
Ben Turner
7370f46298
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
0abfb1bddc
Bug 785102 - Two different libxul.so used while populating startupcache. r=glandium.
2012-08-23 15:27:21 -04:00
Boris Zbarsky
8295d78bfb
Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv
2012-08-23 12:23:23 -07:00
Chris Lee
e278d57ee6
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
cdb3f274d1
Bug 756645 - Implement IndexedDB apps isolation. r=bent
2012-08-23 11:45:01 -07:00
Mounir Lamouri
58293031d8
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
Mounir Lamouri
c7228477b1
Bug 619236 - Set user_version in generated permissions.sqlite for tests. r=sicking
2012-08-23 11:39:41 -07:00
Mounir Lamouri
ad3b9fb923
Bug 777072 - 7/7 - Tests. r=sicking
2012-08-23 11:38:51 -07:00
Mounir Lamouri
65d035edc9
Bug 777072 - 6/7 Update the Permission Manager database to save appId/isInBrowserElement. r=sicking
2012-08-23 11:38:26 -07:00
Mounir Lamouri
f12bc57d40
Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:38:01 -07:00