Commit Graph

12044 Commits

Author SHA1 Message Date
Justin Lebar
77f0ca6ea2 Backed out changeset 86d8067fa9e5 (bug 802366) on a CLOSED TREE 2012-10-30 21:36:32 -04:00
Justin Lebar
c001680f59 Backed out changeset a6a847452dbf (bug 802366) 2012-10-30 21:36:29 -04:00
Justin Lebar
f51dafe4d0 Backed out changeset 7fa2f2eff658 (bug 806127) 2012-10-30 21:35:47 -04:00
Jet Villegas
677bf3dda3 Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert 2012-10-30 16:57:36 +01:00
Masayuki Nakano
4b818b7598 Bug 801101 Allow to scoll over one page scroll with mouse wheel if delta mulitipliers are large enough r=smaug 2012-10-31 08:22:23 +09:00
Masayuki Nakano
e33e735f92 Bug 805357 part.2 Get rid of NS_SUCCESS_IME_NO_UPDATES since OnIMEFocusChange(false) is always called r=roc 2012-10-31 08:22:23 +09:00
Masayuki Nakano
683e1373fd Bug 805357 part.1 nsIMEStateManager should always call nsIWidget::OnIMEFocusChange(false) when our editor loses focus r=smaug 2012-10-31 08:22:22 +09:00
Ehsan Akhgari
a329381db8 Use #include guards in the web audio code, no bug 2012-10-30 17:39:38 -04:00
Justin Lebar
df1f088009 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
b6d3d98908 Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD 2012-10-30 16:13:20 -04:00
Justin Lebar
509f98271e Bug 806127 - ThirdPartyUtil should not consider in-process <iframe mozbrowser/mozapp> to be third-party. r=bz
--HG--
extra : rebase_source : e6142b0f71f6a6daf7740d694f0d4201cfba7642
2012-10-30 15:55:05 -04:00
Justin Lebar
5dde530864 Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Justin Lebar
a93b48129b Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz
--HG--
extra : rebase_source : 683e1facc5a6356a4cce0546fd2593a701fe69c0
2012-10-30 15:55:05 -04:00
Nathan Froyd
ce157e98f9 Bug 806971 - avoid passing a "null" charset to GetUnicodeDecoder; r=hsivonen 2012-10-29 14:44:24 -04:00
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Nathan Froyd
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Vicamo Yang
b413d22153 Bug 742790 - Part 2/5: DOM implementation, r=mounir 2012-10-30 18:53:24 +08:00
Ehsan Akhgari
2bcb7f9713 Bug 803392 - Initial implementation of AudioParam; r=bzbarsky
This patch implements most of the semantics of AudioParam in a
templatized base class called AudioEventTimeline.  This is done in order
to make it possible to test this code from C++ without the need of
linking to libxul.  Basically we take everything that could depend on
libxul or is not suitable for a genertic implementation and put it in a
traits like type as a template argument.  Then the test creates mock
objects that conform to the argument interfaces, and tests the logic of
AudioEventTimeline.
2012-10-16 21:19:06 -04:00
Chris Pearce
bf9284fc79 Bug 803287 - Don't use GStreamer (when enabled) for Ogg/WebM if builtin backends present. r=doublec 2012-10-30 14:38:42 +13:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Chris Pearce
0e375de354 Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar 2012-10-30 11:02:24 +13:00
Josh Matthews
44336d0465 Bug 723002 - Determine privacy status from provided nsILoadContext in ContentPrefService. r=ehsan 2012-06-30 07:50:07 -07:00
Gabor Krizsanits
6a87d375cf Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz 2012-10-29 12:21:15 +01:00
Peter Van der Beken
da84553f1f Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - rename ProtoOrIfaceArray. r=bz.
--HG--
extra : rebase_source : c426270fc1ebee818629bd94dfc8d11af59bfc00
2012-10-09 20:50:27 +02:00
Mats Palmgren
eb7787f597 Bug 804486 - Tweak a few scrolling tests that makes the assumption that a horizontal "line" scroll scrolls the same amount of pixels as a vertical line scroll. r=roc 2012-10-29 06:44:31 +01:00
Mats Palmgren
8ad31a0bc8 Bug 804486 - Add toolkit.scrollbox.horizontalScrollDistance pref, default 5. Change horizontal scroll increment from 10px to horizontalScrollDistance * GetLineScrollAmount().width(). Make GetLineScrollAmount() use the font's AveCharWidth() for the horizontal amount rather than MaxHeight(). r=roc 2012-10-29 06:44:31 +01:00
Robert O'Callahan
a738cb5616 Bug 805703. Part 1: MediaStreamGraph::CreateInputStream -> CreateSourceStream. r=jesup
--HG--
extra : rebase_source : 3c327e9ead92508f12df4b95f2fd24fa2ba97ab5
2012-10-29 17:36:31 +13:00
Robert O'Callahan
9921c0c5fe Bug 805721. Recursively mark streams as consumed starting at the consumption point and working backwards through the graph. r=jesup
--HG--
extra : rebase_source : ba2f2fd4755336bc429ba85cd7296c31fef8aabf
2012-10-29 17:34:17 +13:00
Robert O'Callahan
1032a0f124 Bug 805730. Convert HasListenerFor(nsAString) callers to HasListenerFor(nsIAtom*), which is more efficient. r=smaug
--HG--
extra : rebase_source : fb0e607b8a1edcbced75b96e0aefcc626a4f436b
2012-10-29 17:33:51 +13:00
Anthony Jones
ba8b419957 Bug 802658 - Part 2: Apply matrix transform to text bounds; r=Bas 2012-10-28 21:52:21 +01:00
Anthony Jones
a22adc0d8f Bug 802658 - Part 1: Whitespace fixes 2012-10-28 21:51:43 +01:00
Ryan VanderMeulen
ce9be1b16b Bug 799917 - Backout for various regressions. 2012-10-28 08:49:20 -04:00
Aryeh Gregor
b45ac130db Bug 801425 - Make hasFeature() and isSupported() always return true for non-SVG features; r=bz 2012-10-15 13:59:38 +02:00
Matt Joras
8835709995 Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg 2012-10-27 13:24:04 -04:00
Phil Ringnalda
56c57f466f Back out c25bc74b7fd3 (bug 798033) for build bustage 2012-10-26 19:05:18 -07:00
Matt Joras
5c9750a59e Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg 2012-10-14 00:04:51 -05:00
Mats Palmgren
5865f17728 Bug 805957. r=roc 2012-10-27 03:02:57 +02:00
Masayuki Nakano
00776d0733 Bug 801989 part.1 Add mNativeIMEContext to InputContext and TextComposition should use it instead of nsIWidget r=smaug, sr=roc 2012-10-27 08:35:20 +09:00
Ryan VanderMeulen
3f8a3cf348 Merge m-c to inbound. 2012-10-26 16:06:04 -04:00
Daniel Holbert
b72299ef37 Bug 805607 - Mark content/xbl/src as FAIL_ON_WARNINGS. r=bz 2012-10-26 10:49:57 -07:00
Daniel Holbert
d670ff3e30 Bug 805606: Add DebugOnly annotation to fix build warning in nsXBLDocumentInfo.cpp. r=Ms2ger 2012-10-26 10:49:57 -07:00
Jonathan Kew
4a13a3665a bug 805787 - fix for build failure in nsNodeUtils.cpp with Apple clang 4.0 or other not-up-to-date versions. r=dbaron 2012-10-26 15:48:29 +01:00
Bill McCloskey
17ffbf5002 Bug 692267 - Remove jsgc.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:17:24 -07:00
Robert O'Callahan
8be96d5c14 Bug 805771. Don't call NotifyPull after a stream has finished. r=jesup 2012-10-26 13:11:50 -04:00
Robert O'Callahan
7a501020a1 Bug 805254. Part 13: Make nsAudioStream::Write take an AudioDataValue* parameter instead of void. r=kinetik 2012-10-25 23:10:51 +13:00
Robert O'Callahan
8bd04e7aec Bug 805254. Part 12: Simplify AudioSegment::WriteTo and related code now that the output format is known statically. r=kinetik
Also fixes what I think is a bug in InterleaveAndConvertBuffer converting S16 to S16.
Instead of clamping the volume, we should handle arbitrary volumes by falling back
to the float conversion path.
2012-10-25 23:09:41 +13:00
Robert O'Callahan
3fe2b7b13b Bug 805254. Part 11: Move Vorbis-specific definitons into a new file VorbisUtils.h. r=kinetik 2012-10-25 23:09:41 +13:00
Robert O'Callahan
270b79d20e Bug 805254. Part 10: remove MOZ_CONVERT_AUDIO_SAMPLE. r=kinetik 2012-10-25 23:09:40 +13:00