-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
HTTPS tests break in WPT with certification validation error #6919
Comments
|
Yes, that's what Firefox does (using certutil; see https://dxr.mozilla.org/mozilla-central/source/testing/web-platform/harness/wptrunner/browsers/firefox.py#177 ). I don't know how to do the same for Servo however. |
By the way, @Manishearth, where does |
https://github.com/servo/servo/blob/master/etc/cert_generator.js run in Firefox's browser debugger shell (Ctrl-Shift-J if enabled) |
We can create a new resources dir for testing and pass it via |
That would also allow us to get rid of a bunch of the guessing at http://mxr.mozilla.org/servo/source/components/util/resource_files.rs#20... |
@jdm do you mean making |
Well, we could default to assuming a path like target/mode/servo I suppose? |
Make SSL cert verification errors work again. Add a horrible, no-good… …, very bad regression test. Here are the list of awful things this test exploits: - Servo can't load HTTPS content in WPT tests (#6919) - Our web workers don't report error events to the parent worker object after the initial network load completes - Our worker resource load don't have a same-origin check The good news is that this test should start failing if any of those "features" change, so this should not silently break on us. Other attempts to test this included: - iframes (didn't work because of #6672 and #3939) - XMLHttpRequest (I was hit by CORS, I think; maybe I could have made it work if I returned the right headers) r? @Ms2ger <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6935) <!-- Reviewable:end -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1025066 was the similar implementation for Gecko. |
Make SSL tests work These changes fix #6919. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15784) <!-- Reviewable:end -->
Make SSL tests work These changes fix #6919. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15784) <!-- Reviewable:end -->
I assume we need to set up Servo to load certificates from a different location than usual; @jgraham ?
The text was updated successfully, but these errors were encountered: