Commit Graph

9948 Commits

Author SHA1 Message Date
Ed Morley
c112dfced7 Backout 5a0fe30e6b1a (bug 565274) for M4 test_bug377624.html failures on a CLOSED TREE 2012-05-03 12:32:49 +01:00
Ralph Giles
c7464ef85a Bug 674225 - Add basic mochitests for Opus. r=cpearce
Add a short Ogg Opus file to the content/media/test
directory and add it to the gSeekTests, gSmallTests,
and gPlayTests in manifest.js. This file is crafted
to end on a packet boundary, so trimming to duration
is not verified.
Set the media.opus.enabled pref to true in manifest.js
so the various tests using the opus file succeed.

Add a stanza to can_play_type_ogg.js to test the
behaviour of canPlayType with an opus-specific
media type for both values of the pref.

Add support for the .opus filename extension to
the mochitest http server.
2012-05-01 17:29:42 -07:00
Ralph Giles
daed6b4964 Bug 674225 - Add Opus support to nsOggReader. r=cpearce
Parse and decode Opus streams embedded in the Ogg
container. Based on the draft specification from
https://wiki.xiph.org/OggOpus
Support is conditional on the runtime preference
setting media.opus.enabled, which is false by
default until we're confident the spec is stable
and useful.

This patch doesn't support the gain header or
multichannel files.

The LEUint*() functions from the skeleton parser
are used to read the multi-byte header fields.
This requires moving them to earlier in the file.

Mappings for the .opus filename extension are also
added to facilitate testing with local files.
2012-05-01 17:29:34 -07:00
Arnaud Bienner
b2534fe7f1 Bug 565274 - Implement the accept attribute for the form and file upload controls for custom MIME types. r=sicking 2012-05-03 00:49:24 +02:00
Shriram Kunchanapalli
c75394595e Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Masayuki Nakano
0a7ff20ae3 Bug 166240 part.8 Add tests for KeyboardEvent.location (synthesized events) r=smaug, sr=jst 2012-05-03 17:35:02 +09:00
Masayuki Nakano
1ecd4d10e9 Bug 166240 part.1 Add D3E KeyboardEvent.location r=smaug, sr=jst 2012-05-03 17:35:01 +09:00
Jonathan Kew
35954608dd bug 307039 - implement Greek-specific uppercasing for text-transform & small-caps. r=past 2012-05-03 08:57:18 +01:00
Jonathan Kew
c48dacae61 bug 751129 - ensure the font list is updated if necessary before accessing metrics. r=roc 2012-05-03 08:56:26 +01:00
Aryeh Gregor
a6483f6245 Bug 746915 part 1 - Move editing-related tests to editor/ directories; r=ehsan
--HG--
rename : content/html/content/test/test_bug408231.html => editor/libeditor/base/tests/test_bug408231.html
rename : content/html/document/test/test_bug742261.html => editor/libeditor/base/tests/test_bug742261.html
rename : content/html/document/test/test_bug404320.html => editor/libeditor/html/tests/test_bug404320.html
rename : content/html/document/test/test_bug468353.html => editor/libeditor/html/tests/test_bug468353.html
rename : layout/reftests/bugs/388980-1-ref.html => layout/reftests/editor/388980-1-ref.html
rename : layout/reftests/bugs/388980-1.html => layout/reftests/editor/388980-1.html
2012-05-03 10:09:44 +03:00
Boris Zbarsky
224115946f Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Bobby Holley
b7e05a0784 Bug 750859 - remove unused (or seldom-used) PrivilegeManager functions. r=bz 2012-05-02 23:57:34 +02:00
Paul ADENOT
7404d0fe40 Bug 462960 - Add tests for the played member. r=cpearce 2012-04-30 20:29:29 -04:00
Paul ADENOT
d674bb8057 Bug 462959 - Implement nsIDOMHTMLMediaElement::GetPlayed(). r=cpearce, kinetik 2012-04-30 20:29:24 -04:00
Bill McCloskey
ead88fa7f8 Bug 750424 - Make nsXULPrototypeNode an nsISupports (r=smaug) 2012-04-30 15:54:16 -07:00
Masatoshi Kimura
c0d9bc2d8d Bug 750023 - Add a null check in nsXMLHttpRequest::CreatePartialBlob. r=smaug 2012-04-30 15:49:15 -07:00
Benoit Jacob
b6fab9255a Bug 743748 - Reenable ANGLE shader translation on Android - r=jgilbert 2012-04-30 17:43:12 -04:00
Benoit Jacob
21cf44ab03 Bug 736123 - blacklist Adreno renderers for WebGL - r=joe 2012-04-30 17:43:12 -04:00
Ehsan Akhgari
a3ff22bf4a Bug 750146 - Do not call back on the nsTextEditorState if the restore selection event has been revoked; r=bzbarsky
--HG--
extra : rebase_source : b37d85e9c2e628b15b23bbedc2eee74d66d8fa46
2012-04-30 17:05:53 -04:00
Andrew McCreight
c7b15dad64 Bug 737075 - unmark gray strongly held observers implemented in JS. r=bsmedberg, smaug 2012-04-30 12:01:11 -07:00
Jared Wein
0152ba6f95 Bug 702463 - Increasing the timeout of the tests due to the presence of multiple refresh drivers. r=ehsan 2012-04-30 13:44:55 -04:00
Robert O'Callahan
075f297518 Bug 750163. MediaStreamGraphImpl::UpdateBufferSufficiencyState should skip tracks whose creation is pending --- there is no Track object for them yet. r=jesup 2012-04-30 17:23:00 +12:00
Robert O'Callahan
1e013d242c Bug 664918. Part 12: Finish SourceMediaStreams when the media decoder is destroyed, to avoid late low-audio/low-video notifications and issues when multiple decoders write to the same stream. r=cpearce,rjesup 2012-04-30 15:13:42 +12:00
Robert O'Callahan
04b6d68bcd Bug 664918. Part 11: Refactor code around mDecoder->Shutdown() to make following fix easier. r=cpearce 2012-04-30 15:13:09 +12:00
Robert O'Callahan
8198eb7fe3 Bug 664918. Part 10: Add test_streams_element_capture.html to test capturing a media element into a stream and playing that stream through another media element.
The test also tests that capturing MediaStream video into a canvas works.
2012-04-30 15:13:01 +12:00
Robert O'Callahan
6959d6762a Bug 664918. Part 9: Tentative support for MediaStreamListener::NotifyQueuedTrackChanges. r=jesup 2012-04-30 15:12:50 +12:00
Robert O'Callahan
54a29c01d8 Bug 664918. Part 8: Add mozCaptureStream()/mozCaptureStreamUntilEnded() APIs to HTML media elements, returning a MediaStream representing the contents of the media element. r=cpearce,jesup
This is currently not fully functional. The MediaStream always ends when the underlying resource ends. You can't use these APIs on a media element
whose src is a MediaStream. Seeking or pausing the resource will cause problems. The media element does not play back in sync with the MediaStream.
2012-04-30 15:12:42 +12:00
Robert O'Callahan
135656e0c4 Bug 664918. Part 7: Let the "src" attribute of HTML media elements accept a MediaStream DOM object, to make the media element play back the contents of the given stream. r=cpearce,jesup 2012-04-30 15:12:28 +12:00
Robert O'Callahan
e96832b226 Bug 664918. Part 5: Create SourceMediaStream, a MediaStream with an API allowing data to be injected into it by some source. r=jesup 2012-04-30 15:11:40 +12:00
Robert O'Callahan
1f5dd9a4af Bug 664918. Part 4: Create nsDOMMediaStream, a DOM object wrapping an underlying MediaStream. r=smaug,jesup 2012-04-30 15:11:34 +12:00
Robert O'Callahan
3e8e91443c Bug 664918. Part 3: Create MediaStream and MediaGraphManager for internal management of real-time media processing. r=jesup 2012-04-30 15:11:26 +12:00
Robert O'Callahan
d76ff3d562 Bug 664918. Part 2: Create MediaSegment, AudioSegment and VideoSegment classes to manage intervals of media data. r=jesup
Also introduces a SharedBuffer class, representing a blob of binary data with threadsafe refcounting.
2012-04-30 15:11:19 +12:00
Robert O'Callahan
9802d67ea6 Bug 664918. Part 1: Create TimeVarying<T> class to represent values that change over time. r=jesup 2012-04-30 15:11:08 +12:00
Robert O'Callahan
1fe7590d18 Bug 664918. Part 0: Refactor nsMediaCache's handling of principals into a helper method in nsContentUtils. r=bzbarsky 2012-04-30 15:11:00 +12:00
Ryan VanderMeulen
b7a26726b2 Merge m-c to m-i 2012-04-29 16:35:05 -04:00
Paul ADENOT
70eca6f58d Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce 2012-04-28 11:01:10 -04:00
Ms2ger
c17aecde3c No bug - Fix buildwarning about nsHTMLDocument::GetPlugins; r=bz 2012-04-27 20:17:22 +02:00
Ed Morley
0183a7123f Merge mozilla-central to mozilla-inbound 2012-04-27 17:57:52 +01:00
Aryeh Gregor
5ac3b1b2c3 Bug 748725 - nsINode::GetParentElement() should return dom::Element*; r=smaug 2012-04-27 16:21:12 +03:00
Ed Morley
fb66bff90a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-27 12:52:26 +01:00
Olli Pettay
8ddef242ff Backout Bug 747675 to see if it has caused startup crashes 2012-04-27 13:37:55 +03:00
Bas Schouten
ee03259bf9 Bug 749467: Properly mark mPathTransformWillUpdate false. r=roc 2012-04-27 07:07:01 +02:00
Phil Ringnalda
fe946c3539 Merge m-c to m-i 2012-04-26 21:40:59 -07:00
Olli Pettay
5bb9c161f6 Bug 747675, try to decrease max forgetSkippable times, r=mccr8 2012-04-25 16:43:18 +03:00
Ed Morley
eb2b16513c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-26 13:46:02 +01:00
John Daggett
36057fec8a Bug 718539. Trim out old featureSettings string code. r=jkew 2012-04-26 15:27:08 +09:00
John Daggett
1d89c211d4 Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron 2012-04-26 15:25:29 +09:00
Kyle Huey
e87571c44e Merge m-i to m-c. 2012-04-25 20:22:53 -07:00
Justin Lebar
736f94b4ef Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-25 12:35:58 -04:00
Ed Morley
2666b058b1 Backout 949cb1977ef9 (bug 714861) for build bustage 2012-04-25 16:51:31 +01:00