Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Enable expression complexity limits. #29

Merged
merged 1 commit into from
Nov 5, 2017

Conversation

anholt
Copy link

@anholt anholt commented Nov 5, 2017

Fixes a stack-overflow crash in long-expressions-should-not-crash.html
on newer Mesa, and apparently also on (at least older) NVIDIA drivers.

This defaults to angle's default "256". Firefox seems to do 1000 for
the NVIDIA bug and not cover Mesa.

Fixes a stack-overflow crash in long-expressions-should-not-crash.html
on newer Mesa, and apparently also on (at least older) NVIDIA drivers.

This defaults to angle's default "256".  Firefox seems to do 1000 for
the NVIDIA bug and not cover Mesa.
@anholt
Copy link
Author

anholt commented Nov 5, 2017

Note that I haven't done a full wpt run on this yet, as I'm still trying to figure out how to get ./mach test-wpt to run the webgl subset.

@anholt
Copy link
Author

anholt commented Nov 5, 2017

Did the test now, and it looks like it's a fix for this test and it lets me fix the test I originally meant to, without regressions.

Copy link
Member

@emilio emilio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@emilio emilio merged commit e22d803 into servo:servo Nov 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants