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

Temporary ResourceTask in parse_inline_css triggers channel send failure #2121

Closed
jdm opened this issue Apr 15, 2014 · 0 comments
Closed

Temporary ResourceTask in parse_inline_css triggers channel send failure #2121

jdm opened this issue Apr 15, 2014 · 0 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Apr 15, 2014

Run about-mozilla.html and see the ResourceTask failure message. We just need to either pass in a ResourceTask to parse_inline_css or change the code that requires one to take an Option instead.

@jdm jdm added E-easy labels Apr 15, 2014
bors-servo pushed a commit that referenced this issue Apr 18, 2014
…lure, r=jdm

Fixes #2121

I thought this would be better than passing an `Option<ResourceTask>` to `parse_css` because it avoids having to handle the potential failure at runtime when unwrapping.

No test included, but the error was reproducible by running content/test_getBoundingClientRect.html, and this fixes it. Glad to find a way to add an explicit test if need be.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.