Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify errors from try server, #4423

Merged
merged 10 commits into from
Jan 3, 2017

Conversation

jgraham
Copy link
Contributor

@jgraham jgraham commented Jan 3, 2017

chihweitung and others added 10 commits January 3, 2017 15:03
MozReview-Commit-ID: 60HmJf3G2CR

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1286150
Blink and webkit launch focusin after focus and focusout after blur. Despite
this contradiction with the spec, it is best to mirror this new way, as there
is little guidance or existing code to clarify implementation amiguities that
can arise from the spec.

If focus/blur is fired on a window or document, or the event triggers a change
of focus, do not fire the corresponding focusin/focusout. Otherwise, always
fire the corresponding event.

Additionally, add a mochitest and a w3c-platform-test.

MozReview-Commit-ID: AgQ8JBxKIqK

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=687787
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.

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1314533
MozReview-Commit-ID: 1hFdxbHAwmB

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1273784
@jgraham
Copy link
Contributor Author

jgraham commented Jan 3, 2017

Code reviewed upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants