Commit Graph

281568 Commits

Author SHA1 Message Date
Paul Adenot
0836baba74 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
3a1354f5ba Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
Sriram Ramasubramanian
be52597f79 Bug 785246: Make custom button inherit ShapedButton. [r=mfinkle]
--HG--
extra : rebase_source : 3cb4344c42d323b7c42af2d7529726781ba23e00
2012-09-05 14:53:54 -07:00
Anthony Jones
ba6389b298 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
aefbf93eb8 Bug 786913 - Fix Azure short-circuiting of 0px fonts. r=roc 2012-09-05 17:52:34 -04:00
Ryan VanderMeulen
4cc4e12e7d Merge m-c to inbound. 2012-09-05 17:52:28 -04:00
Scott Johnson
3ea152f05b 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
a82c968d97 Bug 788680 - Don't stripped symbols from Fennec Nightly releases. r=ted 2012-09-05 17:31:56 -04:00
Doug Turner
247ae26919 Bug 788588 - Device storage on Windows should use NS_WIN_PERSONAL_DIR. r=blassey 2012-09-05 14:30:36 -07:00
Doug Turner
c17bdba719 Bug 787299 - Device Storage - Filter out mimetypes during calculation of disk usages. r=bent 2012-09-05 14:30:36 -07:00
Doug Turner
05cb22bb46 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
490770bfe8 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
ccde41df30 Bug 788268 - Device Storage - Convert tests to use public types. r=bent 2012-09-05 14:30:36 -07:00
bdahl@mozilla.com
d060963e00 Bug 788639 - crash in GetPrintCanvasElementsInFrame @ mozilla::layout::FrameChildListIterator::FrameChildListIterator, r=smaug 2012-09-05 12:02:27 -07:00
Benoit Girard
68799153ea Bug 788400 - Part 2: Add a frame number to profiles. r=ehsan 2012-09-05 11:45:17 -04:00
Benoit Girard
d2c9c87488 Bug 788400 - Part 1: Add a frame counter to OGLLayers. r=jmuizelaar 2012-09-05 16:24:54 -04:00
Benoit Girard
6667c8fbd7 Bug 788681 - Fix swapped Typedefs IOSurfaceGetWidthFunc and IOSurfaceGetHeightFunc. r=smichaud 2012-09-05 17:31:30 -04:00
Luke Wagner
856dff8f8d Bug 788419 - Fix loop in handleUnaliasedAccess (r=jimb)
--HG--
extra : rebase_source : 1c8ddf2fef068b331b09e59db681a6df47a7d7da
2012-09-05 11:34:27 -07:00
Daniel Holbert
308b52b954 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
bf35cd8c0f 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
ff44116160 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
88f434e646 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
0cb7e069a2 Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
Chris Peterson
9015e11bc7 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
111e917ff3 Bug 701299 - crash nsGlobalWindow::LeaveModalState, r=smaug,khuey 2012-09-05 21:25:53 +03:00
Olli Pettay
db7df00441 Bug 787961 - Remove mDocument from WorkerPrivate, r=bent
--HG--
extra : rebase_source : 6f2560f658e365b89bb602d498b082cf84bdaef9
2012-09-05 20:47:57 +03:00
Brian R. Bondy
e0bc8fa130 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
5a826b49fb 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
9f8261c75a 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
33174b3828 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
9adbf3a19b 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
54a64652ea 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
6ceb3ac816 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
b43d7a2d36 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
20aa456860 Bug 774607 - Remove JS_{Is,Make}SystemObject API. r=luke 2012-09-05 11:32:07 -07:00
Bobby Holley
081bc4bb16 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
dde4b8c0ca 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
957314c2fd Bug 774633 - Assert against switching origins on a compartment. r=jst 2012-09-05 11:32:07 -07:00
Bobby Holley
f6e4f704dd 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
bf0b5bba7c 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
76dfb3183c 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
b54ef01adf 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
e864c2fca6 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
9a637e122b 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
00e03faa6d Bug 778044. Add a way to pref off Paris binding constructor objects. r=peterv 2012-09-05 13:37:28 -04:00
Andrea Marchesini
462c20197a Bug 788181. Fix instanceof for XHR and XHR.upload in workers. r=peterv 2012-09-05 13:37:27 -04:00
Boris Zbarsky
65e4105d26 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
97fdaf5406 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
b4fdf2f847 bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice 2012-09-05 10:08:54 -07:00
Chris Jones
bfcb73a0c2 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