Commit Graph

104014 Commits

Author SHA1 Message Date
Benoit Girard
3e8d129a99 Bug 788400 - Part 1: Add a frame counter to OGLLayers. r=jmuizelaar 2012-09-05 16:24:54 -04:00
Benoit Girard
2b1b0b76b1 Bug 788681 - Fix swapped Typedefs IOSurfaceGetWidthFunc and IOSurfaceGetHeightFunc. r=smichaud 2012-09-05 17:31:30 -04:00
Luke Wagner
aa4e5d2a5e Bug 788419 - Fix loop in handleUnaliasedAccess (r=jimb)
--HG--
extra : rebase_source : 1c8ddf2fef068b331b09e59db681a6df47a7d7da
2012-09-05 11:34:27 -07:00
Daniel Holbert
7f5f15b6bd Bug 666041 patch 6: Ignore min/max main-size properties when computing the main size of a flex item (since those properties are honored later in the flexbox algorithm). r=dbaron 2012-09-05 14:13:37 -07:00
Daniel Holbert
89dfb7e636 Bug 666041 patch 5: Use flex-basis in place of main-size property, when computing the main size of a flex item. r=dbaron 2012-09-05 14:13:37 -07:00
Andrew Sutherland
551a753f47 Bug 786639 - XPCChromeObjectWrapper __exposedProps__ should expose the content of typed arrays like UInt8Array. r=bholley 2012-09-05 14:05:32 -07:00
John Schoenick
4af1b4f3b9 Bug 786650 - Abort load of channel-having plugins without frames at the appropriate point. r=josh 2012-09-05 14:02:07 -07:00
John Schoenick
58eddd29c3 Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
Brian R. Bondy
4472cc7964 Bug 787576 - Refine telemetry data for how much cache corruption reduction plan would help. r=michal 2012-09-04 15:05:19 -04:00
L. David Baron
bd0f54f2f9 Convert bidi_numeral_test.js from CR-LF to LF line endings. No bug. 2012-09-05 13:31:01 -07:00
Philipp von Weitershausen
be85e1a0b0 Bug 787172 - B2G RIL: Wait for the system app to load before turning on the radio. r=vingtetun 2012-09-05 13:00:06 -07:00
Steve Fink
e38908030a Bug 738612 - Add mozconfig "override" files to be included after everything else, for overriding previously set options. r=ted
--HG--
extra : rebase_source : e2062258eb508541bf499a5e4bc7d7e1ead10a00
2012-09-05 12:10:21 -07:00
Steve Fink
10a0ab1897 Bug 738612 - Include common mozconfigs so (eg) try pushes can modify them easily. r=ted
--HG--
rename : build/macosx/common => build/macosx/mozconfig.common
extra : rebase_source : fd63c04c9624177a75220a5a49f03fd0e8539e26
2012-09-05 12:09:50 -07:00
Neil Deakin
673cc42f78 Bug 784142, assertion and crash calling alert while closing a window, check in again without the test, r=smaug 2012-09-05 14:52:47 -04:00
Mike Hommey
84a67b7a61 Bug 787180 - Switch between FINAL_TARGET and DIST/bin in various places under browser/. r=khuey 2012-09-05 20:43:23 +02:00
Bobby Holley
1f42010bdf Bug 771354 - Don't special-case principal assignment for chrome windows in nsGlobalWindow.cpp. r=bz 2012-09-05 11:32:07 -07:00
Bobby Holley
59f37eb42b Bug 774607 - Remove JS_{Is,Make}SystemObject API. r=luke 2012-09-05 11:32:07 -07:00
Bobby Holley
eef8d9f4eb 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-09-05 11:32:07 -07:00
Bobby Holley
084b2e6758 Bug 774633 - Fix TestAppShellSteadyState to load a system principal URI so that we don't discard the inner window. r=bent 2012-09-05 11:32:07 -07:00
Bobby Holley
06abc7485c Bug 774633 - Assert against switching origins on a compartment. r=jst 2012-09-05 11:32:07 -07:00
Bobby Holley
dfd8cb0284 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
d632c16fd4 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-09-05 11:32:06 -07:00
Bobby Holley
9f9275dca8 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
9ae993ebdc 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
2195e87d2e 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
9b95920174 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
a860438a8a Bug 778044. Add a way to pref off Paris binding constructor objects. r=peterv 2012-09-05 13:37:28 -04:00
Andrea Marchesini
49d8fc730d Bug 788181. Fix instanceof for XHR and XHR.upload in workers. r=peterv 2012-09-05 13:37:27 -04:00
Boris Zbarsky
89f13df7a0 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
Chris Jones
5e9b0a6531 Bug 788396: Centralize usage of ipc::LoggingEnabled() and ensure it goes to logcat on bionic OSes. r=bent 2012-09-05 10:11:05 -07:00
Myk Melez
9ab726eee5 bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice 2012-09-05 10:08:54 -07:00
Chris Jones
2b59f28d65 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
Brad Lassey
2b4463fecf bug 770289 - JNIEnv->NewString can throw and needs to be caught before another JNI call, handle NewStringUTF r=kats 2012-09-05 00:23:02 -04:00
Abhishek Potnis
699ad0df14 Bug 777925 : Removes HTML editor logging support; r=ehsan 2012-09-04 21:18:59 +05:30
Dão Gottwald
3ed67646ef Bug 787275 - Location bar tooltip shows shortened URL when full location bar address is not visible. r=Unfocused
--HG--
extra : rebase_source : 495475dd10208f2eca49bb327faac131d44a103c
2012-09-05 17:43:19 +02:00
Ehsan Akhgari
911ceaf6d3 Bug 787743 - Set the cached private browsing flag on HttpBaseChannel::SetLoadGroup as well; r=jdm 2012-09-05 11:41:29 -04:00
Andrew Quartey
8c2e8bc0cc Bug 788397 - Remove extra ';' from nsPagePrintTimer::Run r=Ms2ger 2012-09-05 10:44:24 -04:00
Mike Hommey
b6a139ef99 Bug 787443 - CmdCmd.jsm and CmdCookie.jsm include Console.jsm with the wrong url. r=jwalker 2012-09-05 16:42:10 +02:00
Mike Hommey
140dfa414b Bug 782890 - browser.js includes SafeBrowsing.jsm and BrowserNewTabPreloader.jsm with the wrong url. r=gavin 2012-09-05 16:42:10 +02:00
Mike Hommey
35cf4e5266 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Mike Hommey
06155edd25 Bug 785265 - Explicitely use sh -c instead of letting subprocess.Popen do it. r=ted 2012-09-05 16:42:09 +02:00
Mike Hommey
68052c3774 Bug 785269 - Replace a few DEPTH and relativesrcdir. r=ted,r=callek 2012-09-05 16:42:09 +02:00
Justin Lebar
0dbc52b145 Bug 787378 - Part 2: Tests for mozbrowserfirstpaint event. 2012-09-05 10:34:06 -04:00
Justin Lebar
fc6bed0372 Bug 787378 - Part 1: Fire a "firstpaint" event in iframe mozbrowser. 2012-09-05 10:34:06 -04:00
Geoff Brown
7c9a912940 Bug 783011 - Change order of command line args for android xpcshell tests; r=jmaher 2012-09-05 07:42:02 -06:00
Boris Zbarsky
4f2844b1a2 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
2ec1495f64 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
f37002f468 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
Patrick McManus
c101492d45 bug 499203 null deref in nsprotocolproxyservice::getprotocolinfo with null nsiuri r=biesi 2012-09-05 08:44:27 -04:00
Mounir Lamouri
a61f718b7d Bug 787102 - (2/2) - Dispatch the change event for textarea elements even if .value is set while focused. r=bz 2012-09-05 13:40:13 +01:00