-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=181239 #8894
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=181239 #8894
Conversation
Build BROKENStarted: 2018-01-04 08:08:55 Failing Jobs
View more information about this build on: |
The lint issue is about the use of window.internals. |
@foolip, @gsnedders, is it fine to go on with this PR as is. |
@youennf, do you mean that you think it should be merged as-is, with a lint exception added, or not merged? I suppose that to follow the model of Chromium, Gecko and Servo exports we shouldn't be doing any reviewing here and instead do that in follow-ups. But a few things to note:
Not sure how best to proceed. Will the test simply fail again without the On @leonhsl who created this test in https://chromium-review.googlesource.com/c/chromium/src/+/567963 for opinions. |
@@ -7,12 +7,22 @@ | |||
<script> | |||
var worker = 'resources/fetch-event-test-worker.js'; | |||
|
|||
if (window.internals && window.internals.settings) | |||
internals.settings.setAllowDisplayOfInsecureContent(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JFYI for Blink we're somehow able to use testharnessreport.js to add internal settings. Can WebKit have a similar setup? For reference here's the change to the file in the patch foolip linked to above:
https://chromium-review.googlesource.com/c/chromium/src/+/567963/3/third_party/WebKit/LayoutTests/resources/testharnessreport.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @matto.
We are also using testharnessreport.js for these kind of setup but not on a per test basis right now.
I guess this might be fine as a temporary solution.
Adding this kind of configuration within the test itself using something like window.test_driver might be a better approach as other browser teams will more easily understand what needs to be done.
f1417b9
to
207759d
Compare
Build PASSEDStarted: 2018-02-01 17:06:28 View more information about this build on: |
This is indeed a good idea and is on the table. |
What should we do to get this merged? Just cut out the |
For now, I removed the window.internals bits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't reviewed the tests as that's been done in WebKit, but approving in case that's all that's blocking merging this.
Is there any reason this hasn't landed? |
Implement https://fetch.spec.whatwg.org/#main-fetch default referrer policy setting