Skip to content

More drive-by WebGL and canvas fixes - #21723

Merged
bors-servo merged 9 commits into
masterfrom
webgl
Sep 18, 2018
Merged

bors-servo merged 9 commits into
masterfrom
webgl

Conversation

@nox

@nox nox commented Sep 15, 2018 •

Copy link
Copy Markdown
Contributor

This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/htmlcanvaselement.rs, components/script/dom/canvasrenderingcontext2d.rs
  • @KiChjang: components/script/dom/htmlcanvaselement.rs, components/script/dom/canvasrenderingcontext2d.rs

@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify script code, but no tests are modified. Please consider adding a test!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 15, 2018
@nox

nox commented Sep 15, 2018

Copy link
Copy Markdown
Contributor Author

@bors-servo try

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 854dedd with merge f6c3898...

bors-servo pushed a commit that referenced this pull request Sep 15, 2018
Don't create 2D canvas contexts arbitrarily

<!-- 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/21723)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt2

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Sep 15, 2018
@nox

nox commented Sep 15, 2018

Copy link
Copy Markdown
Contributor Author

@bors-servo retry

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 854dedd with merge eca5c20...

bors-servo pushed a commit that referenced this pull request Sep 15, 2018
Don't create 2D canvas contexts arbitrarily

<!-- 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/21723)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

@nox nox removed the S-tests-failed The changes caused existing tests to fail. label Sep 16, 2018
nox added 3 commits September 16, 2018 20:44
They use raw JS context pointers.
Sometimes, the canvas still has no rendering context, in this case it represents
a transparent black rectangle.
@nox
nox force-pushed the webgl branch 2 times, most recently from aae8407 to 2995324 Compare September 17, 2018 08:54
Now that all canvas share the same thread, it's useless to have a separate message
for that.
@jdm

jdm commented Sep 17, 2018

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit a6d1089 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 17, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit a6d1089 with merge 6e651ae...

bors-servo pushed a commit that referenced this pull request Sep 17, 2018
Don't create 2D canvas contexts arbitrarily

<!-- 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/21723)
<!-- Reviewable:end -->
@nox

nox commented Sep 18, 2018

Copy link
Copy Markdown
Contributor Author

@bors-servo try=wpt

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit fe6f53f with merge d7e4ecc...

bors-servo pushed a commit that referenced this pull request Sep 18, 2018
Implement proper origin checks for WebGL textures (fixes #21522)

<!-- 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/21723)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - linux-rel-css, linux-rel-wpt
State: approved= try=True

@nox nox changed the title Implement proper origin checks for WebGL textures (fixes #21522) More drive-by WebGL and canvas fixes Sep 18, 2018
@jdm

jdm commented Sep 18, 2018

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 900c3cc has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 18, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 900c3cc with merge 5385f46...

bors-servo pushed a commit that referenced this pull request Sep 18, 2018
More drive-by WebGL and canvas fixes

<!-- 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/21723)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel-css

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 18, 2018
@nox

nox commented Sep 18, 2018

Copy link
Copy Markdown
Contributor Author

@bors-servo retry

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 900c3cc with merge 82e94e3...

bors-servo pushed a commit that referenced this pull request Sep 18, 2018
More drive-by WebGL and canvas fixes

<!-- 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/21723)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 18, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo
bors-servo merged commit 900c3cc into master Sep 18, 2018
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants