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

Stylesheet load events fire in many cases that shouldn't #25101

Open
pshaughn opened this issue Dec 4, 2019 · 0 comments
Open

Stylesheet load events fire in many cases that shouldn't #25101

pshaughn opened this issue Dec 4, 2019 · 0 comments

Comments

@pshaughn
Copy link
Member

@pshaughn pshaughn commented Dec 4, 2019

Each of these tests fails on multiple cases because a load event is seen from a stylesheet that was bad in some way, including not being CSS, downgrading to http from https, wrong Content-Type, invalid Content-Type, and no ContentType with nosniff attribute,
WPT html/semantics/document-metadata/the-link-element/:

  • link-load-error-events.html
  • link-load-error-events.https.html
  • link-style-error-01.html
  • link-style-error-quirks.html
  • link-style-limited-quirks.html

Servo does appear to avoid firing a load event when an import is a 404, which Chrome fails on, so we're getting some things right.

@jdm jdm added the A-content/css label Dec 5, 2019
@jdm jdm added this to To do in web-platform-test failures via automation Dec 5, 2019
@jdm jdm added the A-content/dom label Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.