Auto merge of #22495 - maharsh312:master, r=jdm

OffscreenCanvas API

<!-- Please describe your changes on the following line: -->
Initial Steps for OffscreenCanvas API are done in this commit.

r? @jdm
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #14627 (GitHub issue number if applicable)

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22495)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-01-16 10:22:09 -05:00 committed by GitHub
commit 09cdcab500
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1436 changed files with 6112 additions and 34 deletions

View file

@ -97,6 +97,8 @@ skip: true
skip: false
[navigation-timing]
skip: false
[offscreen-canvas]
skip: false
[old-tests]
skip: true
[submission]

View file

@ -1,2 +0,0 @@
[floats-in-table-caption-001.html]
expected: FAIL

View file

@ -1,2 +1,2 @@
[abspos-float-with-inline-container.html]
expected: FAIL
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[white-space-002.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[line-height-204.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[mix-blend-mode-paragraph.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[background-repeat-round-roundup.xht]
expected: FAIL

View file

@ -182,9 +182,6 @@
[Matching font-style: 'oblique 20deg' should prefer 'oblique 40deg 50deg' over 'oblique 10deg']
expected: FAIL
[Matching font-style: 'oblique 20deg' should prefer 'oblique 10deg' over 'italic']
expected: FAIL
[Matching font-style: 'oblique 20deg' should prefer 'oblique 0deg' over 'oblique -50deg -20deg']
expected: FAIL
@ -248,9 +245,6 @@
[Matching font-style: 'oblique 21deg' should prefer 'oblique 21deg' over 'oblique 30deg 60deg']
expected: FAIL
[Matching font-style: 'oblique 21deg' should prefer 'oblique 40deg 50deg' over 'oblique 20deg']
expected: FAIL
[Matching font-style: 'oblique -10deg' should prefer 'oblique -5deg' over 'oblique -1deg 0deg']
expected: FAIL

View file

@ -5,9 +5,6 @@
[Test @font-face matching for weight 470]
expected: FAIL
[Test @font-face matching for weight 500]
expected: FAIL
[Test @font-face matching for weight 600]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-normal-018.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-strict-018.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-full-size-kana-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-full-size-kana-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-full-size-kana-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-full-size-kana-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[trailing-ideographic-space-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[word-break-keep-all-006.html]
expected: FAIL

View file

@ -74,3 +74,6 @@
[opacity end]
expected: FAIL
[border-top-width end]
expected: FAIL

View file

@ -1,2 +1,2 @@
[parser-sets-attributes-and-children.html]
expected: TIMEOUT
expected: CRASH

View file

@ -55,7 +55,7 @@
expected: FAIL
[windows-1252: iso_8859-1:1987 (XMLHttpRequest)]
expected: TIMEOUT
expected: FAIL
[windows-1254: iso_8859-9:1989 (XMLHttpRequest)]
expected: TIMEOUT

View file

@ -4,34 +4,49 @@
[transfer-errors]
expected: FAIL
[Serialize should make the ArrayBuffer detached, so it cannot be transferred again]
expected: FAIL
[Serialize should throw before a detached ArrayBuffer is found]
expected: FAIL
[Cannot transfer ArrayBuffer detached while the message was serialized]
expected: FAIL
[Cannot transfer the same MessagePort twice]
expected: FAIL
[Serialize should make the MessagePort detached, so it cannot be transferred again]
expected: FAIL
[Serialize should throw before a detached MessagePort is found]
expected: FAIL
[Cannot transfer MessagePort detached while the message was serialized]
expected: FAIL
[Cannot transfer the same ImageBitmap twice]
expected: FAIL
[Serialize should make the ImageBitmap detached, so it cannot be transferred again]
expected: FAIL
[Serialize should throw before a detached ImageBitmap is found]
expected: FAIL
[Cannot transfer ImageBitmap detached while the message was serialized]
expected: FAIL
[Cannot transfer the same OffscreenCanvas twice]
expected: FAIL
[Serialize should make the OffscreenCanvas detached, so it cannot be transferred again]
expected: FAIL
[Serialize should throw before a detached OffscreenCanvas is found]
expected: FAIL
[Cannot transfer the same OffscreenCanvas twice]
expected: FAIL
[Cannot transfer OffscreenCanvas detached while the message was serialized]
expected: FAIL

View file

@ -4,7 +4,7 @@
expected: FAIL
[picture: source (max-width:500px) valid image, img valid image, resize to wide]
expected: FAIL
expected: TIMEOUT
[picture: source (max-width:500px) valid image, img broken image, resize to narrow]
expected: FAIL

View file

@ -0,0 +1,2 @@
prefs: ["dom.offscreen_canvas.enabled:true"]

View file

@ -0,0 +1,4 @@
[2d.composite.clip.copy.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.copy.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.destination-atop.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.destination-atop.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.destination-in.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.destination-in.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.destination-out.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.destination-out.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.destination-over.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.destination-over.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.lighter.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.lighter.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.source-atop.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.source-atop.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.source-in.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.source-in.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.source-out.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.source-out.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.source-over.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.source-over.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.xor.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.clip.xor.worker.html]
[fill() does not affect pixels outside the clip region.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.canvas.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.canvas]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.canvas.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.canvascopy.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.canvascopy]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.canvascopy.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.canvaspattern.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.canvaspattern]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.canvaspattern.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.default.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.default]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.default.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.fill.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.fill]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.fill.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.image.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.image]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.image.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.imagepattern.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.imagepattern]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.imagepattern.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.invalid.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.invalid]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.invalid.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.range.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.range]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.globalAlpha.range.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.copy.html]
[OffscreenCanvas test: 2d.composite.image.copy]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.copy.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.destination-atop.html]
[OffscreenCanvas test: 2d.composite.image.destination-atop]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.destination-atop.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.destination-in.html]
[OffscreenCanvas test: 2d.composite.image.destination-in]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.destination-in.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.destination-out.html]
[OffscreenCanvas test: 2d.composite.image.destination-out]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.destination-out.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.destination-over.html]
[OffscreenCanvas test: 2d.composite.image.destination-over]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.destination-over.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.lighter.html]
[OffscreenCanvas test: 2d.composite.image.lighter]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.lighter.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.source-atop.html]
[OffscreenCanvas test: 2d.composite.image.source-atop]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.source-atop.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.source-in.html]
[OffscreenCanvas test: 2d.composite.image.source-in]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.source-in.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.source-out.html]
[OffscreenCanvas test: 2d.composite.image.source-out]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.source-out.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.source-over.html]
[OffscreenCanvas test: 2d.composite.image.source-over]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.source-over.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.xor.html]
[OffscreenCanvas test: 2d.composite.image.xor]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.image.xor.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.casesensitive.html]
[OffscreenCanvas test: 2d.composite.operation.casesensitive]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.casesensitive.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.darker.html]
[OffscreenCanvas test: 2d.composite.operation.darker]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.darker.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.default.html]
[OffscreenCanvas test: 2d.composite.operation.default]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.default.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.highlight.html]
[OffscreenCanvas test: 2d.composite.operation.highlight]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.highlight.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.nullsuffix.html]
[OffscreenCanvas test: 2d.composite.operation.nullsuffix]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.nullsuffix.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.over.html]
[OffscreenCanvas test: 2d.composite.operation.over]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.over.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.unrecognised.html]
[OffscreenCanvas test: 2d.composite.operation.unrecognised]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.unrecognised.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.solid.copy.html]
[OffscreenCanvas test: 2d.composite.solid.copy]
expected: FAIL

Some files were not shown because too many files have changed in this diff Show more