Skip to content

Conversation

@kdashg
Copy link
Contributor

@kdashg kdashg commented Apr 10, 2020

…ocal on localhost.

Fixes regressions from #3032:

all/conformance/more/functions (Passed: 90/93 Failed: 2/93 Timeout: 1/93 in 26.81 seconds)

readPixelsBadArgs.html(timeout)

texImage2DHTML.html (Passed: 1/2 Failed: 1/2 in 170.0 ms)

failed: testTexImage2DNonSOP

texSubImage2DHTML.html (Passed: 1/2 Failed: 1/2 in 251.0 ms)

failed: testTexImage2DNonSOP

@kdashg kdashg requested a review from kenrussell April 10, 2020 07:21
@kdashg kdashg requested a review from kenrussell April 10, 2020 18:07
@kenrussell kenrussell merged commit 762bf9c into KhronosGroup:master Apr 10, 2020
kenrussell added a commit to kenrussell/WebGL that referenced this pull request Jun 5, 2020
The earliest version of this code, which was robust, made the
determination of whether to use a local or remote URL cor cross-origin
images up front.  Network timeouts from machines that deliberately
aren't connected to the open Internet can't be relied upon as a
fallback mechanism. Change the code back to examine the test's URL and
choose whether to load local or remote images based on that.

Follow-on to KhronosGroup#3052 and KhronosGroup#3077.

Should fix KhronosGroup#3076 conclusively.
kenrussell added a commit that referenced this pull request Jun 9, 2020
The earliest version of this code, which was seemingly stable, made the
determination of whether to use a local or remote URL cor cross-origin
images up front. Network timeouts from machines that deliberately
aren't connected to the open Internet can't be relied upon as a fallback
mechanism. Change the code back to examine the test's URL and choose
whether to load local or remote images based on that. Also attempt to
make runningOnLocalhost more robust to IPv6 loopback addresses.

Follow-on to #3052 and #3077. See http://crbug.com/1082525 for more
background.

Should fix #3076 conclusively.

Note that #3097 was proposed as an alternative solution for this problem
and may still be considered in the future if this change destabilizes some
browsers' CI systems.
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.

2 participants