Commit Graph

104042 Commits

Author SHA1 Message Date
Paul Adenot
cce500079e Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce 2012-09-04 16:22:34 -07:00
John Schoenick
6c657c7493 Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
Sriram Ramasubramanian
286cc52bd9 Bug 785246: Make custom button inherit ShapedButton. [r=mfinkle]
--HG--
extra : rebase_source : 3cb4344c42d323b7c42af2d7529726781ba23e00
2012-09-05 14:53:54 -07:00
Anthony Jones
7cdf7dc3d5 Bug 591358 - Part 3: Lazy creation of the draw target in order to save memory and improve performance. r=roc 2012-05-31 12:47:27 +12:00
Anthony Jones
00a08dcb87 Bug 786913 - Fix Azure short-circuiting of 0px fonts. r=roc 2012-09-05 17:52:34 -04:00
Ryan VanderMeulen
1baaa803da Merge m-c to inbound. 2012-09-05 17:52:28 -04:00
Scott Johnson
1ccadb6e74 Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron] 2012-09-05 16:39:34 -05:00
Benoit Girard
83bd6912ee Bug 788680 - Don't stripped symbols from Fennec Nightly releases. r=ted 2012-09-05 17:31:56 -04:00
Doug Turner
2a340fad67 Bug 788588 - Device storage on Windows should use NS_WIN_PERSONAL_DIR. r=blassey 2012-09-05 14:30:36 -07:00
Doug Turner
0c64eca32d Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner
f6796f9d1f Bug 786922 - Device Storage - use a properties file instead of the mime service. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner
1479be646b Bug 786922 - Device Storage - use a properties file instead of the mime service. The properties. r=djf 2012-09-05 14:30:36 -07:00
Doug Turner
1f6210bad2 Bug 788268 - Device Storage - Convert tests to use public types. r=bent 2012-09-05 14:30:36 -07:00
bdahl@mozilla.com
e0a65fa75b Bug 788639 - crash in GetPrintCanvasElementsInFrame @ mozilla::layout::FrameChildListIterator::FrameChildListIterator, r=smaug 2012-09-05 12:02:27 -07:00
Benoit Girard
e453aa1d7e Bug 788400 - Part 2: Add a frame number to profiles. r=ehsan 2012-09-05 11:45:17 -04:00
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
Chris Peterson
7e557538b1 Bug 769894 - Part 1: Create PromptService's AlertDialog on the UI thread. r=mfinkle 2012-09-04 12:33:07 -07:00
andrew.quartey@gmail.com
67585c898f Bug 701299 - crash nsGlobalWindow::LeaveModalState, r=smaug,khuey 2012-09-05 21:25:53 +03:00
Olli Pettay
ab1e1ec8fe Bug 787961 - Remove mDocument from WorkerPrivate, r=bent
--HG--
extra : rebase_source : 6f2560f658e365b89bb602d498b082cf84bdaef9
2012-09-05 20:47:57 +03: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