Commit Graph

104014 Commits

Author SHA1 Message Date
Benoit Girard
66021a3fc5 Bug 788400 - Part 1: Add a frame counter to OGLLayers. r=jmuizelaar 2012-09-05 16:24:54 -04:00
Benoit Girard
ca014e6639 Bug 788681 - Fix swapped Typedefs IOSurfaceGetWidthFunc and IOSurfaceGetHeightFunc. r=smichaud 2012-09-05 17:31:30 -04:00
Luke Wagner
4e3edd363d Bug 788419 - Fix loop in handleUnaliasedAccess (r=jimb)
--HG--
extra : rebase_source : 1c8ddf2fef068b331b09e59db681a6df47a7d7da
2012-09-05 11:34:27 -07:00
Daniel Holbert
8b1f96b68e 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
5f943d14e5 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
6801aff464 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
8c4372a650 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
89dd8205be Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
Brian R. Bondy
90a9fc66bb 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
cab4b11128 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
0960634864 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
c26361a1fb 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
0e7c4ec65d 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
36287aa39a 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
084f0b33bd 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
07838d4445 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
f8b9fcd4e5 Bug 774607 - Remove JS_{Is,Make}SystemObject API. r=luke 2012-09-05 11:32:07 -07:00
Bobby Holley
c466facab9 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
fbc6e78256 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
3323a3c0e1 Bug 774633 - Assert against switching origins on a compartment. r=jst 2012-09-05 11:32:07 -07:00
Bobby Holley
99f6405182 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
06c95f674b 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
05e10f96c1 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
517b3a2ec0 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
e0da4110dc 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
3d944bcab3 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
437a27a6d1 Bug 778044. Add a way to pref off Paris binding constructor objects. r=peterv 2012-09-05 13:37:28 -04:00
Andrea Marchesini
60ef34b89f Bug 788181. Fix instanceof for XHR and XHR.upload in workers. r=peterv 2012-09-05 13:37:27 -04:00
Boris Zbarsky
7459711346 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
d1b2c1e8ac 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
5c26a10f81 bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice 2012-09-05 10:08:54 -07:00
Chris Jones
7ee7b46bd3 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
5acd657e06 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
91a7ba9fed Bug 777925 : Removes HTML editor logging support; r=ehsan 2012-09-04 21:18:59 +05:30
Dão Gottwald
89045aecf0 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
17dd908a05 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
99670eb305 Bug 788397 - Remove extra ';' from nsPagePrintTimer::Run r=Ms2ger 2012-09-05 10:44:24 -04:00
Mike Hommey
a120f09fa5 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
a97b66e6ea 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
d4d87778e3 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Mike Hommey
160d5d1f93 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
e3c782edaa Bug 785269 - Replace a few DEPTH and relativesrcdir. r=ted,r=callek 2012-09-05 16:42:09 +02:00
Justin Lebar
6aeb00a617 Bug 787378 - Part 2: Tests for mozbrowserfirstpaint event. 2012-09-05 10:34:06 -04:00
Justin Lebar
50e0732239 Bug 787378 - Part 1: Fire a "firstpaint" event in iframe mozbrowser. 2012-09-05 10:34:06 -04:00
Geoff Brown
9e85ee7f38 Bug 783011 - Change order of command line args for android xpcshell tests; r=jmaher 2012-09-05 07:42:02 -06:00
Boris Zbarsky
f17771a580 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
a17389cd6f 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
2b85439c92 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
3b28d4a410 bug 499203 null deref in nsprotocolproxyservice::getprotocolinfo with null nsiuri r=biesi 2012-09-05 08:44:27 -04:00
Mounir Lamouri
45c66f71d7 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