Jean-Yves Avenard f6ae11bf0a Bug 1314533: Do not expect init segment to be parsed when appending corrupted data. r=gerald
From the Segment Parser Loop definition:
https://w3c.github.io/media-source/index.html#sourcebuffer-segment-parser-loop
"2. If the input buffer contains bytes that violate the SourceBuffer byte stream format specification, then run the append error algorithm and abort this algorithm."

The test appends data with a valid init segment followed by corrupted content.
The corrupted content satisfies the condition that the input buffer contains bytes that violate byte stream format specification.
As such, the append error algorithm is to be run prior parsing the init segment.

Add a new test verifying the defined behavior.
2016-11-06 21:57:06 +11:00
2016-11-05 13:36:25 -07:00
2016-11-05 13:36:25 -07:00
2016-11-05 13:36:25 -07:00
2016-11-04 20:42:16 -07:00
2016-11-05 13:36:25 -07:00
2016-11-05 13:36:25 -07:00
2016-11-05 13:36:25 -07:00
2016-11-05 13:36:25 -07:00
2016-11-03 20:02:24 -07:00
2016-11-05 13:36:25 -07:00
2016-11-05 13:36:25 -07:00
2016-11-02 19:28:38 -07:00
2016-11-05 13:36:25 -07:00
2016-11-05 13:36:25 -07:00
2016-11-05 13:36:25 -07:00
…
…

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    http://nightly.mozilla.org/
S
Description
firefox fork for firefox-wasm
Readme
4.9 GiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 32.1%
C++ 25%
HTML 21%
C 10.5%
Kotlin 3%
Other 8%