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

Adding resource timing test that checks for #hash in the URL #19015

Merged
merged 3 commits into from Sep 29, 2019

Conversation

stoyan
Copy link
Contributor

@stoyan stoyan commented Sep 11, 2019

Mostly copypasta of the resource-timing/resource_cached.htm test

Currently the test fails in Safari. Safari seems to strip the hash when it comes to images. XHRs look ok.

Mostly copypasta of the `resource-timing/resource_cached.htm` test

Currently the test fails in Safari. Safari seems to strip the hash when it comes to images. XHRs look ok.
@yoavweiss
Copy link
Contributor

Thank you for flying WPT! :D

I suspect you don't really need the whole iframe setup here, and could easily test the same thing by going to hash_responses.html directly, and running the asserts there.

using relatively recent features (filter and const), not sure if it's ok
Copy link
Contributor

@yoavweiss yoavweiss left a comment

Choose a reason for hiding this comment

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

LGTM!!

@yoavweiss
Copy link
Contributor

The lint bot doesn't like you patch for some reason. Can you run ./wpt lint and see why?

./wpt lint resource-timing
@yoavweiss yoavweiss merged commit 68abc3a into web-platform-tests:master Sep 29, 2019
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.

None yet

4 participants