Commit Graph

12477 Commits

Author SHA1 Message Date
Benoit Jacob
da8ea06315 Bug 810943 - add ability to skip webgl pages on Android by listing them in a text file, skipped_tests_android.txt - r=jgilbert 2012-11-22 13:53:11 -05:00
Benoit Jacob
cf7e0b0da0 Bug 814407 - check for null buffer data in readpixels (should never happen, but apparently does) - r=jgilbert 2012-11-22 13:53:11 -05:00
Benoit Jacob
ec39e2a150 Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8 2012-11-22 12:15:38 -05:00
Paul Adenot
5d0b0b630d Bug 495040 - Implement playbackRate and related bits (Fix other tests) r=kinetik 2012-11-22 11:38:29 +01:00
Paul Adenot
5fd4bb0590 Bug 495040 - Implement playbackRate and related bits (Tests) r=kinetik 2012-11-22 11:38:28 +01:00
Paul Adenot
02703184c2 Bug 495040 - Implement playbackRate and related bits r=kinetik 2012-11-22 11:38:28 +01:00
Boris Zbarsky
a32dba236b Bug 814093. Require preflight requests to receive a 200 response. r=sicking 2012-11-22 01:25:01 -05:00
Boris Zbarsky
43de67ca23 Bug 814064. We should not fire a readystatechange for our transition to the SENT state. r=sicking 2012-11-22 01:25:01 -05:00
L. David Baron
40c6d982d9 Bug 814302: Don't print to console when an invalid selector is passed to mozMatchesSelector. r=bzbarsky 2012-11-21 21:51:39 -08:00
Matthew Gregan
173e3e502c Bug 814292 - Remove mAudioPlaybackThread and AudioStream refcounting. r=cpearce 2012-11-22 16:38:39 +13:00
Thinker K.F. Li
0e74036a49 Bug 810734 - Check EOF to avoid infinite looping when parsing MP4. r=doublec 2012-11-21 22:45:42 -05:00
Boris Zbarsky
3c57975890 Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
Anoother option would be to just explicitly wrap the node and use that, for what it's worth.  That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Boris Zbarsky
68481c3ece Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking 2012-11-21 11:18:57 -05:00
Ehsan Akhgari
e5a16eb2f0 Bug 813637 - Let the compiler convert between the types, so that we don't end up with incorrect pointer math; r=cpearce 2012-11-21 18:30:10 -05:00
Chris Lord
49699652e2 Bug 783368 - Add critical display port content property. r=roc
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 22:34:18 +00:00
Nicholas Cameron
8fedf88e00 Bug 812453; fix CopyInnerTo; r=bz 2012-11-22 10:55:37 +13:00
Nicholas Cameron
0992344f55 Bug 814149. Fix GetCanvas. r=bz 2012-11-22 10:55:36 +13:00
Bobby Holley
760ce581ed Bug 808608 - Remove unnecessary outparam. r=mrbkap 2012-11-21 13:20:05 -08:00
Ehsan Akhgari
abcfaa316e Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
78b87d6c47 Bug 783368 - Add critical display port content property. r=roc
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 19:16:51 +00:00
Ryan VanderMeulen
47710276d9 Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
a03434327e Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
Anoother option would be to just explicitly wrap the node and use that, for what it's worth.  That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Boris Zbarsky
52e3d77eed Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking 2012-11-21 11:18:57 -05:00
Simon Montagu
982988287e Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv. 2012-11-21 02:13:57 -08:00
Simon Montagu
000dc5ba87 Changes to existing tests caused by bug 548206 2012-11-21 02:13:55 -08:00
Alexander Surkov
3b163f2f8c Bug 813008 - get rid nsEventStateManager::IsHandlingUserInputExternal, r=tbsaunde, smaug 2012-11-21 14:25:20 +09:00
Matthew Gregan
ebafbaa44d Bug 813399 - Remove workarounds for sync main thread deadlocks caused by audio remoting. r=cpearce 2012-11-20 15:22:42 +13:00
Mike Habicher
75b988e04a Bug 813190 - Stop media streams from hanging onto the last played media frame indefinitely. r=roc 2012-11-20 20:32:06 -05:00
Seth Fowler
630ed49838 Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Tanvi Vyas
a748362201 Bug 802905 - Create custom Content Type for CSP Reports. r=sstamm, sr=bz 2012-11-20 20:28:34 -05:00
John Schoenick
eaa4bc25cb Bug 788252 - Cleanup frame loader when aborting a recursive load in object/embed tags. r=josh 2012-11-20 17:08:12 -08:00
Erick Dransch
c0ea184dc2 Bug 801499 - Move WebGLBuffer to a separate file. r=bjacob 2012-11-20 16:38:20 -05:00
L. David Baron
b76b368af6 Bug 813373, patch 4: fix printfs that crept in in patch 3. 2012-11-20 13:22:35 -08:00
Mats Palmgren
fd28a80fca Bug 804784 - Crash with range, normalize. r=smaug 2012-11-20 21:14:15 +01:00
Mats Palmgren
54c8700167 Bug 803924 - Crash with range, splitText. r=smaug 2012-11-20 21:14:15 +01:00
L. David Baron
be38660c66 Bug 813373, patch 3: Make sure all style rules have non-empty List implementations. r=bzbarsky 2012-11-20 11:55:14 -08:00
L. David Baron
810e59b56b Bug 813373, patch 2: Remove pres context member from ValueWrapper. r=dholbert 2012-11-20 11:55:14 -08:00
L. David Baron
de689ddbcd Bug 813373, patch 1: Remove pres context parameters from nsStyleAnimation::UncomputeValue. r=dholbert 2012-11-20 11:55:14 -08:00
Ralph Giles
5ccf92251b [PATCH] Bug 812847 - Test Opus channel count validation - r=kinetik
From 49f5e33d79df3713bc510e611a5064858bf24e4a Mon Sep 17 00:00:00 2001
These files have specially crafted headers which should be
rejected by the new checks added to resolve this bug. If any
audio output is produced then this bug has re-occured.

The audio data is the phrase "invalid file", in one or six
channels, to make this more obvious.

The new mochitest test_invalid_reject.html tries to load
and play each of the new invalid files and verifies that
an error event is triggered. Since the invalid data is in
the file headers, this should happen after network load
but before metadata is ready, so the test also asserts
errors if loadedmetadata or a number of subsequent events
are triggered.

The test will time out if no error event is fired at all.

Thanks to Matthew Gregan for assistance writing the mochitest.
---
 content/media/test/Makefile.in              |  11 ++++++
 content/media/test/invalid-cmap-s0c0.opus   | Bin 0 -> 6835 bytes
 content/media/test/invalid-cmap-s0c2.opus   | Bin 0 -> 6834 bytes
 content/media/test/invalid-cmap-s1c2.opus   | Bin 0 -> 6848 bytes
 content/media/test/invalid-cmap-short.opus  | Bin 0 -> 6854 bytes
 content/media/test/invalid-m0c0.opus        | Bin 0 -> 2471 bytes
 content/media/test/invalid-m0c3.opus        | Bin 0 -> 2471 bytes
 content/media/test/invalid-m1c0.opus        | Bin 0 -> 6836 bytes
 content/media/test/invalid-m1c9.opus        | Bin 0 -> 6836 bytes
 content/media/test/invalid-m2c0.opus        | Bin 0 -> 2471 bytes
 content/media/test/invalid-m2c1.opus        | Bin 0 -> 2455 bytes
 content/media/test/manifest.js              |  14 ++++++++
 content/media/test/test_invalid_reject.html |  52 ++++++++++++++++++++++++++++
 13 files changed, 77 insertions(+)
 create mode 100644 content/media/test/invalid-cmap-s0c0.opus
 create mode 100644 content/media/test/invalid-cmap-s0c2.opus
 create mode 100644 content/media/test/invalid-cmap-s1c2.opus
 create mode 100644 content/media/test/invalid-cmap-short.opus
 create mode 100644 content/media/test/invalid-m0c0.opus
 create mode 100644 content/media/test/invalid-m0c3.opus
 create mode 100644 content/media/test/invalid-m1c0.opus
 create mode 100644 content/media/test/invalid-m1c9.opus
 create mode 100644 content/media/test/invalid-m2c0.opus
 create mode 100644 content/media/test/invalid-m2c1.opus
 create mode 100644 content/media/test/test_invalid_reject.html
2012-11-19 15:13:43 -08:00
Phil Ringnalda
305c73b87c Backout b7e492bf7c13, a64c112c6858, 84b9a773104b, 4bd4aabbaf28 and 24ad2de34061 (bug 548206) for Win Ru orange 2012-11-20 08:44:04 -08:00
Boris Zbarsky
0dc548ff6f Bug 812789. Remove some dead code for converting jsvals to Matrix objects. r=nrc 2012-11-20 11:36:06 -05:00
Simon Montagu
e3a9ed59c0 Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv 2012-11-20 06:21:15 -08:00
Simon Montagu
608f139019 Changes to existing tests caused by bug 548206 2012-11-20 06:21:13 -08:00
Masayuki Nakano
cd10f6e624 Bug 812427 part.3 Remove NS_POPUP_EVENT r=roc+smaug 2012-11-20 15:05:56 +09:00
Masayuki Nakano
0fb3fbdd2c Bug 812427 part.2 Make event struct type named enumeration r=roc+smaug 2012-11-20 15:05:56 +09:00
Andrew McCreight
890cc3b945 Bug 815454 - Clean up Traverse/Unlink of web audio. r=smaug 2012-11-27 15:08:22 -08:00
Andrew McCreight
312e1c18f0 Bug 814752 - Make NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER work for native CC classes. r=smaug,ehsan 2012-11-27 15:08:22 -08:00
Ehsan Akhgari
7d0b7e0454 Backed out 6 changesets (bug 814821, bug 815158, bug 814195) for test failures
Backed out changeset 0c2011091748 (bug 815158)
Backed out changeset 9d70b4460508 (bug 814195)
Backed out changeset bf8746658a72 (bug 814821)
Backed out changeset e73366b088d7 (bug 814821)
Backed out changeset 49fc6d535c41 (bug 814821)
Backed out changeset 987aea26a43a (bug 814821)
2012-11-27 16:30:39 -05:00
Chris Jones
a22bfed41d Bug 811315: Use process-per-mozbrowser by default and make scrolling behavior selectable by content. r=jlebar sr=roc
This is a rollup of the following patches

Bug 811315, part 0.9: Fix pre-existing race condition that allows dying ContentParents to accidentally try to load new TabParents. r=jlebar

Bug 811315, part 0.91: Fix another pre-existing race condition where FirstIdle might run after ContentChild::ActorDestroy(). r=jlebar

Bug 811315, part 1: Make "browser" process limit infinite and unload the processes when all tabs are closed.  Firefox with process-per-tab!  r=jlebar

Bug 811315, part 2: Pass scrolling-behavior hint down into TabParent instead of inferring it from app/browser. r=jlebar

Bug 811315, part 3: Add a mozasyncpanzoom attribute for iframes and honor it when constructing a remote frame. r=jlebar sr=roc
2012-11-27 12:43:52 -08:00
Peter Van der Beken
38840fde33 Fix for bug 815158 (Make HTMLElement.ontouch* work with tristate dom.w3c_touch_events.enabled). r=bz.
--HG--
extra : rebase_source : 0cd9bf993ed3981c1f2e37975ca8daf0b8e8ece7
2012-11-19 11:59:13 +01:00
Peter Van der Beken
9ac91a75ad Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : 349ceea8412f4133e1b9de4e2859d7663da27fa5
2012-11-22 12:09:43 +01:00
Peter Van der Beken
1b22e5c449 Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 2: make WrapNewBindingObject a little faster. r=bz.
--HG--
extra : rebase_source : 81a3891d0f51d98f4230583f816a82906d0ee904
2012-11-27 10:20:04 +01:00
Boris Zbarsky
3649e64b79 Bug 767933 part 5. Remove no longer needed FloatValidate calls from canvas code. r=bas 2012-11-27 15:32:05 -05:00
Boris Zbarsky
67bc51cf16 Bug 767933 part 4. Make 'float' and 'double' types throw on non-finite values. r=khuey,ehsan,bas 2012-11-27 15:32:05 -05:00
Boris Zbarsky
4200c25df7 Bug 814050. XMLHttpRequest.withCredentials header should throw on main thread too, in some cases. r=peterv 2012-11-27 15:20:40 -05:00
Boris Zbarsky
266b4382fd Bug 814576. Make XMLHttpRequest really set its progress events as trusted. r=smaug 2012-11-27 15:20:40 -05:00
Matthew Gregan
ce7dfa7c33 Bug 812937 - Remove unused audio remoting code. r=cjones 2012-11-19 13:54:29 +13:00
Justin Lebar
a3c255e49c Bug 811466 - Add include guards around some headers which were missing them. r=khuey 2012-11-19 20:05:34 -05:00
Ehsan Akhgari
bc9d059d1b Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
This refactoring is needed for the introduction of the BufferMediaResource class.

--HG--
extra : rebase_source : e4b5016e9b947948799f1b8975b23a3dd685a366
2012-11-16 20:31:53 -08:00
Ehsan Akhgari
a275e0b1d5 Backed out changeset f76720054116 (bug 813209) because of leaks 2012-11-19 18:15:18 -05:00
David Keeler
0ad645bf69 bug 811375 - decouple nsIPluginTag::clicktoplay from click-to-play blocklisting r=joshmoz 2012-11-19 14:03:24 -08:00
Ehsan Akhgari
d33e5a71df Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
This refactoring is needed for the introduction of the BufferMediaResource class.
2012-11-16 20:31:53 -08:00
Ehsan Akhgari
fdb6b8fa1b Bug 813210 - Make the threading related assertions in the media decoder fatal; r=cpearce 2012-11-16 17:37:46 -08:00
Ehsan Akhgari
d1434706e8 Bug 813269 - Use double to represent time in Web Audio; r=bzbarsky 2012-11-19 15:52:29 -05:00
John Schoenick
cabc427254 Bug 800018 - Part 4 - Fix plugin fallback tests for new events. r=josh 2012-11-19 11:38:04 -08:00
John Schoenick
286c58af4c Bug 800018 - Part 1 - Remove binding events from nsObjectLoadingContent. r=josh 2012-11-19 11:38:03 -08:00
John Schoenick
dea0a12fea Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-11-19 11:38:03 -08:00
John Schoenick
139fe1e82b Bug 810494 - Don't show plugin errors for types we recognize but are not loading for another reason. r=josh 2012-11-19 11:38:03 -08:00
Kyle Huey
709f2f8c2f No bug: s/class/struct/ to shut up MSVC. r=me DONTBUILD 2012-11-19 09:22:27 -08:00
Jeff Gilbert
c2dfd5b99c Bug 812121 - Allow drawArrays/Elements without vertex attrib arrays - r=bjacob 2012-11-19 07:49:51 -08:00
Ehsan Akhgari
d5bdac2156 Bug 812032 - Refactor the media reader classes to not access MediaDecoder directly; r=cpearce 2012-11-19 10:11:21 -05:00
Timothy B. Terriberry
07dba69579 Bug 812847 - Validate Opus channel count, r=kinetik 2012-11-18 05:54:52 -08:00
Ehsan Akhgari
80f248ef26 Bug 812572 follow-up - Remove the extra semi-colon 2012-11-17 11:17:56 -05:00
Ehsan Akhgari
9c6f4bfb88 Bug 812572 - Make MediaDecoderReader a non-runnable; r=cpearce 2012-11-16 11:30:34 -08:00
Alexander Surkov
3b4ac86e22 Bug 525909 - support ARIA role=rowgroup, r=tbsaunde 2012-11-17 16:59:55 +09:00
Zack Weinberg
b90cc17174 Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted 2012-11-16 21:53:32 -05:00
Boris Zbarsky
e36502c14f Bug 812086 part 4. Warn when consumers use the moz-prefixed versions of visibility API. r=smaug 2012-11-16 17:39:59 -08:00
Boris Zbarsky
2d87c88a68 Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug 2012-11-16 14:22:56 -08:00
Boris Zbarsky
7461956522 Bug 812086 part 1. Add unprefixed version of page visibility API. r=smaug 2012-11-16 14:22:55 -08:00
Marco Chen
88788c1c05 Bug 795237 - Web API for setting audio stream type. Part 2. r=kinetik, a=blocking-basecamp
Implementation on path of audio and video element
2012-11-16 11:25:26 +08:00
Ryan VanderMeulen
401bd9646a Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
CLOSED TREE
2012-11-16 16:59:38 -05:00
Tanvi Vyas
3b2cc6d2b5 Bug 803225 - Test different protocols that are allowed in nsMixedContentBlocker.cpp (r=bz) 2012-11-16 12:40:07 -08:00
Tanvi Vyas
baf68086ff Bug 803225 - Mixed Content Blocker - Check for other secure schemes, in additon to https. (r=bz) 2012-11-16 12:40:07 -08:00
Zack Weinberg
c1f34c416f Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
--HG--
extra : rebase_source : 013c6031577f88a764fecee9750ee890b45d1181
2012-11-16 15:29:21 -05:00
Ehsan Akhgari
5f95ee9011 Bug 812563 - Give nsHostObjectProtocolHandler a virtual destructor; r=bzbarsky 2012-11-16 11:13:35 -08:00
Jeff Muizelaar
0827ec3aaa Bug 794957. Use imgLoader instead of imgILoader. r=joe
This makes use of imgLoader instead of imgILoader in more places.

--HG--
extra : rebase_source : 6b391e5ecc2fd9558516c7493116e7e7852b71b3
2012-11-16 10:24:58 -08:00
Josh Matthews
3c1cd97486 Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Jim Chen
24fffe9d69 Bug 808287 - Make sure focus and blur IME notifications always match; r=masayuki 2012-11-16 11:43:04 -05:00
Doug Turner
50eac8e99d Bug 811815 - A href links are not underlined/showing as links in Browser. r=jlebar a=blocking-basecamp 2012-11-29 21:41:40 -08:00
Ed Morley
f2ccb0abbe Backout e123e0173185, 326ed6f1dc9e & 7c2c9c988869 (bug 722979) for mochitest-a11y failures 2012-11-16 15:06:13 +00:00
Josh Matthews
6d9f8239fe Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Ryan VanderMeulen
d3f7598cf3 Backed out changesets 5bdf8bbcd02f and df27137cb7d1 (bug 803225) for mochitest orange. 2012-11-15 22:16:03 -05:00
Ehsan Akhgari
8dc074cef8 Bug 812390 - Protect against NaN in AudioContext.createDelay; r=bzbarsky 2012-11-15 17:48:04 -08:00
Tanvi Vyas
7d447711f2 Bug 803225 - Test different protocols that are allowed in nsMixedContentBlocker.cpp. r=bz, r=smaug 2012-11-15 20:34:56 -05:00
Tanvi Vyas
fc52b9f810 Bug 803225 - Mixed Content Blocker - Check for other secure schemes, in additon to https. r=bz 2012-11-15 20:34:56 -05:00
Ryan VanderMeulen
db7f695a13 Merge m-c to inbound. 2012-11-15 20:34:51 -05:00
Ryan VanderMeulen
a863a6177e Merge the last PGO-green inbound changeset to m-c. 2012-11-15 20:21:35 -05:00
Bobby Holley
e3a419e442 Bug 811152 - Decxify various DOM methods. r=me 2012-11-15 11:54:34 -08:00
Ed Morley
58c3ec8021 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-15 16:17:36 +00:00
Olli Pettay
533f6f83e2 Bug 656311 - Remove XML Events, r=bz 2012-11-15 14:29:58 +02:00
Olli Pettay
660783c739 Bug 749448 - Remove XTF, r=bz 2012-11-15 14:27:13 +02:00
Ryan VanderMeulen
8187210f11 Merge the last PGO-green inbound changeset to m-c. 2012-11-14 21:43:07 -05:00
Olli Pettay
389c95eaa3 Bug 800947, check the existence of widget only when the event is actually nsGUIEvent, r=bz 2012-11-14 19:45:04 +02:00
Alexander Surkov
7a6ab7eb9d Bug 811729 - remove XForms a11y support, r=tbsaunde 2012-11-16 01:43:41 +09:00
Zack Weinberg
faabfb1d5b Bug 516091: Split CSS error reporting to its own file and class. Allows CSS scanner to become a stack object. r=dbaron 2012-11-15 11:36:15 -05:00
Olli Pettay
4c8a07a5fd Bug 810793 - nsXULTemplateQueryProcessorXML::GetDatasource should pass outer window to nsIXMLHttpRequest::Init, r=sicking 2012-11-13 13:03:52 +02:00
Boris Zbarsky
d23220892d Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Boris Zbarsky
3f8bfcaee1 Bug 811449 part 7. Get rid of nsGenericElement in Element.cpp. r=peterv 2012-11-14 14:10:08 -08:00
Boris Zbarsky
95570b06f8 Bug 811449 part 6. Rename nsGenericElement.cpp to Element.cpp. r=peterv
--HG--
rename : content/base/src/nsGenericElement.cpp => content/base/src/Element.cpp
2012-11-14 14:10:08 -08:00
Boris Zbarsky
c85615b539 Bug 811449 part 5. Drop no longer needed namespacing on arguments and return values of Element methods. r=peterv 2012-11-14 14:10:07 -08:00
Boris Zbarsky
a6ed62ddd6 Bug 811449 part 4. Move the data members of Element to the end of the class. r=peterv 2012-11-14 14:10:07 -08:00
Boris Zbarsky
e369ff0f95 Bug 811449 part 3. Eliminate nsGenericElement as a separate class. 2012-11-14 14:10:07 -08:00
Boris Zbarsky
1cd424521b Bug 811449 part 2. Combine the forward-declares and includes in Element.h. r=peterv
This is just moving includes and forward-declares and some inline
implementations around.  No substantive changes.
2012-11-14 14:10:07 -08:00
Boris Zbarsky
0c7a0663e9 Bug 811449 part 1. Move everything from nsGenericElement.h to Element.h. r=peterv
Note: This is just moving code as-is, with absolutely no changes
outside of the Link bits that are needed to make mock_Link compile.
2012-11-14 14:10:07 -08:00
Randell Jesup
52d8acc98e Bug 802399: set capture index for audio input when device is Allocate()ed, plug VoEHw leak r=derf 2012-11-15 18:23:39 -05:00
Randell Jesup
4e788c410e Bug 811695: disable internal socket transports for getUserMedia Audio capture r=derf 2012-11-15 17:58:40 -05:00
Robert Longson
13a09d1779 Bug 811217 - EventNameType_SMIL is wrong. r=dholbert 2012-11-15 22:09:30 +00:00
Nathan Froyd
5e65798223 Bug 812156 - fix GCC 4.4 compile error with qualified enum values in CanvasRenderingContext2D.cpp; r=Ms2ger 2012-11-15 09:16:04 -05:00
Benoit Jacob
22770cadf2 Bug 806279 - reverting this file to Unix line endings - no review, bustage 2012-11-15 04:30:54 -05:00
Nicholas Cameron
6d44a38ee5 Bug 800556; test for mozDashOffset errors; r=Ms2ger
--HG--
extra : rebase_source : 834c2d1c426a8f33b66ee60e3fef912d652d5f59
2012-11-13 21:39:37 -08:00
Nicholas Cameron
b75eec07c3 Bug 800556; remove nsIDOMCanvasRenderingContext2D; r=Ms2ger,sr=bz
--HG--
extra : rebase_source : 461ff127a453116f3364f4ba1e414cc527f195bd
2012-11-13 16:35:36 -08:00
Paul Adenot
de5366eaa7 Bug 786331 - WebGL tests that use a video can loop indefinitely. r=bjacob 2012-11-13 16:47:59 -08:00
Matthew Gregan
a618a9e67f Bug 806263 - Move {Get,Set}ValueItemText up to MediaElement. r=doublec 2012-10-29 15:09:07 +13:00
Jeff Muizelaar
fb108fc4cc Bug 811836. Fast path eCSSUnit_Color colors when parsing colors in canvas. r=dholbert
This will avoid doing extra work/flushing layout in the common case.

--HG--
extra : rebase_source : 95df23c3e6a5118ec4964336465a6554705b99dd
2012-11-14 12:46:26 -08:00
Peter Van der Beken
04d165e18c Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 842b9397d2b050f880c44d3366bcc838e6615fd5
2012-11-11 00:30:15 +01:00
Ehsan Akhgari
d6aa3be16d Bug 811555 - Make AudioContext.createDelay not accept arguments greater than or equal to 3; r=bzbarsky
--HG--
extra : rebase_source : 5ad2006acb9c27ba7f94c0d1858a19d71cc663c4
2012-11-13 16:46:25 -08:00
Chris Pearce
9abb830db0 Bug 811381 - Remove ns prefix from media code. r=roc
--HG--
rename : content/media/nsAudioAvailableEventManager.cpp => content/media/AudioAvailableEventManager.cpp
rename : content/media/nsAudioAvailableEventManager.h => content/media/AudioAvailableEventManager.h
rename : content/media/nsAudioStream.cpp => content/media/AudioStream.cpp
rename : content/media/nsAudioStream.h => content/media/AudioStream.h
rename : content/media/nsMediaCache.cpp => content/media/MediaCache.cpp
rename : content/media/nsMediaCache.h => content/media/MediaCache.h
rename : content/media/nsBuiltinDecoder.cpp => content/media/MediaDecoder.cpp
rename : content/media/nsBuiltinDecoder.h => content/media/MediaDecoder.h
rename : content/media/nsBuiltinDecoderReader.cpp => content/media/MediaDecoderReader.cpp
rename : content/media/nsBuiltinDecoderReader.h => content/media/MediaDecoderReader.h
rename : content/media/nsBuiltinDecoderStateMachine.cpp => content/media/MediaDecoderStateMachine.cpp
rename : content/media/nsBuiltinDecoderStateMachine.h => content/media/MediaDecoderStateMachine.h
rename : content/media/dash/nsDASHDecoder.cpp => content/media/dash/DASHDecoder.cpp
rename : content/media/dash/nsDASHDecoder.h => content/media/dash/DASHDecoder.h
rename : content/media/dash/nsDASHReader.cpp => content/media/dash/DASHReader.cpp
rename : content/media/dash/nsDASHReader.h => content/media/dash/DASHReader.h
rename : content/media/dash/nsDASHRepDecoder.cpp => content/media/dash/DASHRepDecoder.cpp
rename : content/media/dash/nsDASHRepDecoder.h => content/media/dash/DASHRepDecoder.h
rename : content/media/gstreamer/nsGStreamerDecoder.cpp => content/media/gstreamer/GStreamerDecoder.cpp
rename : content/media/gstreamer/nsGStreamerDecoder.h => content/media/gstreamer/GStreamerDecoder.h
rename : content/media/gstreamer/nsGStreamerReader.cpp => content/media/gstreamer/GStreamerReader.cpp
rename : content/media/gstreamer/nsGStreamerReader.h => content/media/gstreamer/GStreamerReader.h
rename : content/media/ogg/nsOggCodecState.cpp => content/media/ogg/OggCodecState.cpp
rename : content/media/ogg/nsOggCodecState.h => content/media/ogg/OggCodecState.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/ogg/OggDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/ogg/OggDecoder.h
rename : content/media/ogg/nsOggReader.cpp => content/media/ogg/OggReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/ogg/OggReader.h
rename : content/media/omx/nsMediaOmxDecoder.cpp => content/media/omx/MediaOmxDecoder.cpp
rename : content/media/omx/nsMediaOmxDecoder.h => content/media/omx/MediaOmxDecoder.h
rename : content/media/omx/nsMediaOmxReader.cpp => content/media/omx/MediaOmxReader.cpp
rename : content/media/omx/nsMediaOmxReader.h => content/media/omx/MediaOmxReader.h
rename : content/media/plugins/nsMediaPluginDecoder.cpp => content/media/plugins/MediaPluginDecoder.cpp
rename : content/media/plugins/nsMediaPluginDecoder.h => content/media/plugins/MediaPluginDecoder.h
rename : content/media/plugins/nsMediaPluginHost.cpp => content/media/plugins/MediaPluginHost.cpp
rename : content/media/plugins/nsMediaPluginHost.h => content/media/plugins/MediaPluginHost.h
rename : content/media/plugins/nsMediaPluginReader.cpp => content/media/plugins/MediaPluginReader.cpp
rename : content/media/plugins/nsMediaPluginReader.h => content/media/plugins/MediaPluginReader.h
rename : content/media/raw/nsRawDecoder.cpp => content/media/raw/RawDecoder.cpp
rename : content/media/raw/nsRawDecoder.h => content/media/raw/RawDecoder.h
rename : content/media/raw/nsRawReader.cpp => content/media/raw/RawReader.cpp
rename : content/media/raw/nsRawReader.h => content/media/raw/RawReader.h
rename : content/media/raw/nsRawStructs.h => content/media/raw/RawStructs.h
rename : content/media/wave/nsWaveDecoder.cpp => content/media/wave/WaveDecoder.cpp
rename : content/media/wave/nsWaveDecoder.h => content/media/wave/WaveDecoder.h
rename : content/media/wave/nsWaveReader.cpp => content/media/wave/WaveReader.cpp
rename : content/media/wave/nsWaveReader.h => content/media/wave/WaveReader.h
rename : content/media/webm/nsWebMBufferedParser.cpp => content/media/webm/WebMBufferedParser.cpp
rename : content/media/webm/nsWebMBufferedParser.h => content/media/webm/WebMBufferedParser.h
rename : content/media/webm/nsWebMDecoder.cpp => content/media/webm/WebMDecoder.cpp
rename : content/media/webm/nsWebMDecoder.h => content/media/webm/WebMDecoder.h
rename : content/media/webm/nsWebMReader.cpp => content/media/webm/WebMReader.cpp
rename : content/media/webm/nsWebMReader.h => content/media/webm/WebMReader.h
2012-11-14 11:46:40 -08:00
Chris Pearce
42d7fd21b1 Bug 811381 - Move media code into mozilla namespace. r=roc 2012-11-14 11:45:33 -08:00
Chris Pearce
43653d0ccc Bug 811381 - Move NextFrameStatus to MediaDecoderOwner, so that nsHTMLMediaElement doesn't need to include all of nsBuiltinDecoder. r=roc 2012-11-14 11:45:31 -08:00
Chris Pearce
f9e8b1f20a Bug 811381 - Flatten nsMediaDecoder and nsBuiltinDecoder into a single class. r=roc 2012-11-14 11:45:13 -08:00
Daniel Glazman
ec5abc800c Bug 811679 - Add nsIEditorObserver back; r=ehsan 2012-11-14 11:23:35 -08:00
John Schoenick
84042d1614 Bug 787778 - Add test. r=josh 2012-11-14 11:20:02 -08:00
Cameron McCormack
c70fffb507 Bug 811581 - Add a base class for all *RuleProcessorData classes. r=bz 2012-11-15 06:09:01 +11:00
Boris Zbarsky
065f87a659 Bug 811663 part 2. Create a DocumentFragment.h header. r=smaug
All the code is just being moved without any changes.
2012-11-14 10:05:41 -08:00
Boris Zbarsky
31e38ced9b Bug 811663 part 1. Rename nsDocumentFragment to mozilla::dom::DocumentFragment. r=smaug
--HG--
rename : content/base/src/nsDocumentFragment.cpp => content/base/src/DocumentFragment.cpp
2012-11-14 10:05:41 -08:00
Boris Zbarsky
bc9949138a Bug 809765. Match the HTML spec in terms of which event handler attributes are compiled on which elements. r=smaug 2012-11-14 10:05:41 -08:00
Bobby Holley
46b9d205df Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Ed Morley
b47760337b Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors 2012-11-14 16:45:28 +00:00
Benoit Jacob
bc758b2b7a Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 2: handmade fixups - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
a1d7e0f511 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
0c5372efc3 Bug 806279 - CC macros refactoring: part 5: sample porting: content/canvas - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Benoit Jacob
ee1217da86 Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Benoit Jacob
4a50000d0e Bug 806279 - CC macros refactoring: part 1: implement type-generic CC UNLINK/TRAVERSE macros - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Robert O'Callahan
ef63ff8332 Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats 2012-11-14 22:40:17 -08:00
David Zbarsky
bfca907d39 No bug, fix struct/class mismatch warnings 2012-11-14 21:38:26 -05:00
David Zbarsky
472e3b25fa No bug, Fix virtual dtor warning, blanket r=bz 2012-11-14 21:38:25 -05:00
Brad Lassey
edd5ac461b bug 739542 - Disable screen timeout when playing HTML5 <video> (webm, H.264) r=doublec 2012-11-01 08:47:51 -04:00
Masayuki Nakano
84fc70f3a0 Bug 808287 nsTextStateManager shouldn't notify widget of selection changes and text changes after IME loses focus r=smaug 2012-11-13 10:20:40 +09:00
Ehsan Akhgari
894e1bca85 Merge mozilla-central into mozilla-inbound 2012-11-14 17:51:31 -08:00
Ehsan Akhgari
bb1d6972af Bug 811864 - Remove PannerNode.coneGain/distanceGain; r=bzbarsky 2012-11-14 13:03:24 -08:00
Randell Jesup
dde7ff9d8c Bug 809554: if a device has no uniqueId, use the name r=derf 2012-11-12 20:46:52 -05:00
Peter Van der Beken
30532e2297 Fix for bug 811069 (Make *Element.onerror return EventHandler instead of OnErrorEventHandler). r=bz.
--HG--
extra : rebase_source : a40c6cd2bad3126ee18392b41f4274380b211d10
2012-11-13 14:37:39 +01:00
Masayuki Nakano
b7ca37a234 Bug 805767 part.1 nsTextStateManager should use nsIWidget::GetIMEUpdatePreference() instead of the result of nsIWidget::OnIMEFocusChange() r=smaug 2012-11-13 22:04:44 +09:00
Andrew McCreight
84003305cc Bug 810094 - make nsXMLContentSink::mDocElement a COMptr. r=hsivonen 2012-11-12 09:43:02 -08:00
Peter Van der Beken
508194a997 Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Justin Lebar
3cd4470107 Bug 806127 - ThirdPartyUtil should not consider in-process <iframe mozbrowser/mozapp> to be third-party. r=bz 2012-11-10 10:32:37 -08:00
Justin Lebar
8c64b0474c Bug 802366 - 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.
2012-11-10 10:32:37 -08:00
Justin Lebar
5fc1f70e94 Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz 2012-11-10 10:32:35 -08:00
Anant Narayanan
b541c1dade Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup 2012-11-09 21:04:27 -08:00
Benoit Jacob
637a173e95 Bug 800612 - actually increase WebGL element array test repetitions, patch didnt apply cleanly - r=jgilbert 2012-11-09 20:49:15 -05:00
Philipp von Weitershausen
c7830976fa Bug 809727 - Wait for the write transaction to finish so that the blobs are expired. r=janv 2012-11-09 20:32:10 -05:00
Ryan VanderMeulen
f774dcd8ba Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
aa329ec788 Bug 806127 - ThirdPartyUtil should not consider in-process <iframe mozbrowser/mozapp> to be third-party. r=bz 2012-11-09 16:37:40 -08:00
Justin Lebar
19b287d268 Bug 802366 - 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.
2012-11-09 16:37:39 -08:00
Justin Lebar
6a364c5f37 Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz 2012-11-09 16:37:38 -08:00
Jim Mathies
264552a173 Backout Bug 810164 due to bustage. r=bustage 2012-11-09 18:04:23 -06:00
Anant Narayanan
515fe04fc1 Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup 2012-11-09 15:27:38 -08:00
Benoit Jacob
f6051a1713 Bug 806094 - Remove USE_ANGLE - r=jgilbert 2012-11-09 17:04:43 -05:00
Benoit Jacob
75063389a1 Bug 806091 - Don't export WebGL headers - r=jgilbert 2012-11-09 17:04:41 -05:00
Benoit Jacob
334956d772 Bug 802778 - validate level parameter in copyTexImage2D - r=jgilbert 2012-11-09 16:48:54 -05:00
Benoit Jacob
0281b26dbe Bug 800612 - 2/2 - Enable compiled code tests in content/canvas - r=ted
--HG--
rename : content/canvas/test/compiled/Makefile.in => content/canvas/compiledtest/Makefile.in
rename : content/canvas/test/compiled/TestWebGLElementArrayCache.cpp => content/canvas/compiledtest/TestWebGLElementArrayCache.cpp
2012-11-09 16:42:23 -05:00
Benoit Jacob
e2c9eb0eb1 Bug 800612 - 1/2 - fix WebGLElementArrayCache bug and increase test repetitions to catch this bug - r=jgilbert 2012-11-09 16:42:21 -05:00
Peter Van der Beken
584658dc3e Fix for bug 804991 (Make FromContent expect a non-null pointer and add FromContentOrNull). r=bz.
--HG--
extra : rebase_source : 52e1c9171d05ba034971cfa16741e12061e7335d
2012-09-26 16:17:51 +02:00
Boris Zbarsky
e1ded25637 Bug 807226 part 8. Remove the exceptions for EventHandler in WebIDL codegen. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
8e705c1123 Bug 807226 part 7. Move creation of our event handlers out to the relevant API methods. r=smaug
Note that once we switch all these guys to WebIDL bindings they'll
automatically get the callback objects passed in from binding code.
2012-11-09 08:00:25 -08:00
Boris Zbarsky
ec6ddc39d0 Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
6bb2c5dffa Bug 807226 part 5. Allow event handlers to have a null scope object if they don't have to compile from a string. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
2daa94afcd Bug 807226 part 4. Allow event handlers to have a null nsIScriptContext if they won't have to compile from a string. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
bf51164dc8 Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
3fff1fa34b Bug 807226 part 1. Make it easier to do special things with beforeunload and error events as needed. r=smaug 2012-11-09 08:00:24 -08:00
Boris Zbarsky
721e804d9a Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv 2012-11-09 07:59:33 -08:00
Boris Zbarsky
b44862af8b Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug 2012-11-09 07:43:58 -08:00
Boris Zbarsky
2cca8f2c52 Bug 779048 part 9. Give JS-to-native conversion an object pointer to work with so it can convert callback objects. r=peterv 2012-11-09 07:43:58 -08:00
Boris Zbarsky
f05491aec8 Bug 779048 part 0.5. Don't require a JSContext argument for nsJSUtils::GetStaticScriptGlobal. r=bholley 2012-11-09 07:43:57 -08:00
Ehsan Akhgari
5c3198f30a Bug 809882 - Disallow non-positive arguments to AudioContext.createDelay; r=bzbarsky 2012-11-08 13:17:22 -05:00
Mounir Lamouri
2671f5a513 Bug 807613 - Add a pref to make the placeholder disappear when a text field is focused. r=bz 2012-11-09 10:32:58 +00:00
Mounir Lamouri
5eed937cc5 Bug 809584 - Move the placeholder visibility logic to nsTextEditorState. r=ehsan 2012-11-09 10:31:34 +00:00
Mounir Lamouri
58aa0a96d8 Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz 2012-11-09 10:24:23 +00:00
Mounir Lamouri
b48108567b Bug 737786 - 1/5 - Show/hide placeholder based on display lists instead of CSS class. r=bz 2012-11-09 10:22:29 +00:00
Marco Bonardo
552921d7dc Bug 799609 - Disable Places in B2G - Part 2 - Allow docshell and content to build without Places
Expose NotifyVisited API and fix code so it can be built with alternative history implementations.
r=jlebar
2012-11-09 10:55:54 +01:00
Masayuki Nakano
85e4e24816 Bug 806996 part.6 Test if nsIWidget::OnIMEFocusChange() is called by nsTextStateManager properly r=smaug 2012-11-09 17:40:40 +09:00
Masayuki Nakano
7ae8174ff1 Bug 806996 part.4 Make sure to recreate nsTextStateManager instance in OnFocusInEditor() and UpdateIMEState() if the focused editor isn't being managed r=smaug 2012-11-09 17:40:39 +09:00
Masayuki Nakano
20ea1ebbf7 Bug 806996 part.3 Make sure to call nsIWidget::OnIMEFocusChange(false) at destroying nsTextStateManager instance only once per calling nsIWidget::OnIMEFocusChange(true) r=smaug 2012-11-09 17:40:39 +09:00
Masayuki Nakano
2a122ad59f Bug 806996 part.2 nsTextStateManager::IsManaging() should check if mRootContent is still in the mEditableNode r=smaug 2012-11-09 17:40:39 +09:00
Masayuki Nakano
305c137140 Bug 806996 part.1 Remove nsTextStateManager::mDestroying r=smaug 2012-11-09 17:40:39 +09:00
Ehsan Akhgari
f739744839 Bug 810177 - Part 4: Make nsMediaDecoder not depend on nsHTMLMediaElement; r=cpearce
The basic idea in this patch is to create an MediaDecoderOwner
interface which nsHTMLMediaElement would implement, and put everything
needed by nsMediaDeocder on that interface.  In addition to that,
there are a number of other cleanup patches which enables us to
eliminate many of the nsHTMLMediaElement.h #includes in the media code.
2012-11-09 00:52:53 -05:00
Ehsan Akhgari
94d2c303e6 Bug 810177 - Part 3: Move the IsFormatEnabled methods from nsHTMLMediaElement to nsMediaDecoder; r=cpearce
This patch moves the various Is{Format}Enabled methods to
nsMediaDecoder.  These methods are all implemented on top of prefs, and
they logically belong to the decoder class, because it needs to know
what media types it should be able to decode.  This also helps reduce
the dependency on nsHTMLMediaElement.h.
2012-11-08 21:46:10 -05:00
Ehsan Akhgari
0704216980 Bug 810177 - Part 2: Break MetadataTags out of nsHTMLMediaElements; r=cpearce
This patch simply moves the MetadataTags typedef to nsMediaDecoder.h to
reduce the dependencies on nsHTMLMediaElements.h.  The rest of the
changes are made to make this compile.
2012-11-08 19:40:08 -05:00
Ehsan Akhgari
12f30adf52 Bug 810177 - Part 1: Move NextFrameStatus to nsMediaDecoder; r=cpearce
This patch simply moves the NextFrameStatus enum to nsMediaDecoder and
reorganizes things so that they compile again.
2012-11-08 18:22:32 -05:00
Dave Hylands
8d4907583e Backout e655c9d59704 Bug 809186 until we decide that we really want this. 2012-11-08 21:50:08 -08:00