fetch redirect is incompatible with "no-cors" mode
[WebKit-https.git] / LayoutTests / imported / w3c / ChangeLog
1 2018-01-20  Youenn Fablet  <youenn@apple.com>
2
3         fetch redirect is incompatible with "no-cors" mode
4         https://bugs.webkit.org/show_bug.cgi?id=181866
5         <rdar://problem/35827140>
6
7         Reviewed by Chris Dumez.
8
9         * web-platform-tests/fetch/api/redirect/redirect-mode-expected.txt:
10         * web-platform-tests/fetch/api/redirect/redirect-mode-worker-expected.txt:
11         * web-platform-tests/fetch/api/redirect/redirect-mode.js:
12         (redirectMode):
13         * web-platform-tests/service-workers/service-worker/fetch-event-redirect.https-expected.txt:
14         * web-platform-tests/service-workers/service-worker/fetch-event-redirect.https.html:
15         * web-platform-tests/service-workers/service-worker/fetch-request-redirect.https-expected.txt:
16
17 2018-01-19  Joseph Pecoraro  <pecoraro@apple.com>
18
19         AppCache: Log a Deprecation warning to the Console when AppCache is used
20         https://bugs.webkit.org/show_bug.cgi?id=181778
21
22         Reviewed by Alex Christensen.
23
24         * web-platform-tests/html/browsers/offline/appcache/workers/appcache-worker-expected.txt:
25         * web-platform-tests/html/browsers/offline/introduction-4/event_cached-expected.txt:
26         * web-platform-tests/html/browsers/offline/introduction-4/event_checking-expected.txt:
27         * web-platform-tests/html/browsers/offline/introduction-4/event_noupdate-expected.txt:
28         * web-platform-tests/html/browsers/offline/introduction-4/event_progress-expected.txt:
29         * web-platform-tests/html/browsers/offline/manifest_url_check-expected.txt:
30         * web-platform-tests/service-workers/service-worker/appcache-ordering-main.https-expected.txt:
31
32 2018-01-17  Ali Juma  <ajuma@chromium.org>
33
34         Update web platform tests for Visual Viewport API
35         https://bugs.webkit.org/show_bug.cgi?id=181689
36
37         Reviewed by Alex Christensen.
38
39         Rename the test directory from 'viewport' to 'visual-viewport', and update
40         viewport-resize-event-on-load-overflowing-page.html.
41
42         This corresponds to the following upstream commits:
43         1) https://github.com/w3c/web-platform-tests/commit/f878fee4df619e55c7fbfce1a2ff5e5d4d83a03b
44         2) https://github.com/w3c/web-platform-tests/commit/03a684d63e62d85cffed38bc942f468692d7d54f
45
46         * resources/import-expectations.json:
47         * web-platform-tests/viewport/w3c-import.log: Removed.
48         * web-platform-tests/visual-viewport/viewport-no-resize-event-on-overflow-recalc-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-no-resize-event-on-overflow-recalc-expected.txt.
49         * web-platform-tests/visual-viewport/viewport-no-resize-event-on-overflow-recalc.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-no-resize-event-on-overflow-recalc.html.
50         * web-platform-tests/visual-viewport/viewport-read-size-causes-layout-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-read-size-causes-layout-expected.txt.
51         * web-platform-tests/visual-viewport/viewport-read-size-causes-layout.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-read-size-causes-layout.html.
52         * web-platform-tests/visual-viewport/viewport-read-size-in-iframe-causes-layout-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-read-size-in-iframe-causes-layout-expected.txt.
53         * web-platform-tests/visual-viewport/viewport-read-size-in-iframe-causes-layout.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-read-size-in-iframe-causes-layout.html.
54         * web-platform-tests/visual-viewport/viewport-resize-event-on-load-overflowing-page-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-resize-event-on-load-overflowing-page-expected.txt.
55         * web-platform-tests/visual-viewport/viewport-resize-event-on-load-overflowing-page.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-resize-event-on-load-overflowing-page.html.
56         * web-platform-tests/visual-viewport/viewport-scrollbars-cause-resize-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-scrollbars-cause-resize-expected.txt.
57         * web-platform-tests/visual-viewport/viewport-scrollbars-cause-resize.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-scrollbars-cause-resize.html.
58         * web-platform-tests/visual-viewport/viewport-type-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-type-expected.txt.
59         * web-platform-tests/visual-viewport/viewport-type.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-type.html.
60         * web-platform-tests/visual-viewport/viewport-unscaled-scale-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-scale-expected.txt.
61         * web-platform-tests/visual-viewport/viewport-unscaled-scale-iframe-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-scale-iframe-expected.txt.
62         * web-platform-tests/visual-viewport/viewport-unscaled-scale-iframe.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-scale-iframe.html.
63         * web-platform-tests/visual-viewport/viewport-unscaled-scale.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-scale.html.
64         * web-platform-tests/visual-viewport/viewport-unscaled-scroll-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-scroll-expected.txt.
65         * web-platform-tests/visual-viewport/viewport-unscaled-scroll-iframe-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-scroll-iframe-expected.txt.
66         * web-platform-tests/visual-viewport/viewport-unscaled-scroll-iframe.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-scroll-iframe.html.
67         * web-platform-tests/visual-viewport/viewport-unscaled-scroll.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-scroll.html.
68         * web-platform-tests/visual-viewport/viewport-unscaled-size-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-size-expected.txt.
69         * web-platform-tests/visual-viewport/viewport-unscaled-size-iframe-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-size-iframe-expected.txt.
70         * web-platform-tests/visual-viewport/viewport-unscaled-size-iframe.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-size-iframe.html.
71         * web-platform-tests/visual-viewport/viewport-unscaled-size.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport-unscaled-size.html.
72         * web-platform-tests/visual-viewport/viewport_support.js: Renamed from LayoutTests/imported/w3c/web-platform-tests/viewport/viewport_support.js.
73         * web-platform-tests/visual-viewport/w3c-import.log: Added.
74
75 2018-01-12  Jiewen Tan  <jiewen_tan@apple.com>
76
77         [WebAuthN] Implement dummy WebAuthN IDLs
78         https://bugs.webkit.org/show_bug.cgi?id=181627
79         <rdar://problem/36459864>
80
81         Reviewed by Alex Christensen.
82
83         * web-platform-tests/credential-management/credentialscontainer-create-basics.https-expected.txt:
84
85 2018-01-11  Youenn Fablet  <youenn@apple.com>
86
87         Redirected iframe loading with Request.redirect=follow should fail
88         https://bugs.webkit.org/show_bug.cgi?id=181491
89
90         Reviewed by Alex Christensen.
91
92         Updated tests to output a more deterministic output, more debuggable.
93         Made use of media.js to allow loading either oga or mp3 when oga is not supported.
94
95         * web-platform-tests/service-workers/service-worker/fetch-request-redirect.https-expected.txt:
96         * web-platform-tests/service-workers/service-worker/fetch-request-redirect.https.html:
97
98 2018-01-10  Youenn Fablet  <youenn@apple.com>
99
100         Use no-cache fetch mode when loading main documents with location.reload()
101         https://bugs.webkit.org/show_bug.cgi?id=181285
102
103         Reviewed by Alex Christensen.
104
105         * web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt:
106
107 2018-01-09  Chris Dumez  <cdumez@apple.com>
108
109         We should not return undefined for most properties of a detached Window
110         https://bugs.webkit.org/show_bug.cgi?id=181416
111         <rdar://problem/36162489>
112
113         Reviewed by Ryosuke Niwa.
114
115         Rebaseline several WPT tests now that more checks are passing.
116
117         * web-platform-tests/custom-elements/custom-element-registry/per-global-expected.txt:
118         * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-append-to-child-document-expected.txt:
119         * web-platform-tests/service-workers/service-worker/detached-context.https-expected.txt:
120
121 2018-01-09  Matt Lewis  <jlewis3@apple.com>
122
123         Unreviewed, rolling out r226531.
124
125         This caused test failures on macOS WK2.
126
127         Reverted changeset:
128
129         "Use no-cache fetch mode when loading main documents with
130         location.reload()"
131         https://bugs.webkit.org/show_bug.cgi?id=181285
132         https://trac.webkit.org/changeset/226531
133
134 2018-01-09  Youenn Fablet  <youenn@apple.com>
135
136         Make imported/w3c/web-platform-tests/service-workers/service-worker/fetch-canvas-tainting-cache.https.html robust to quota error
137         https://bugs.webkit.org/show_bug.cgi?id=181404
138
139         Reviewed by Alex Christensen.
140
141         Ensure fetch event promise is resolved in case cache is used.
142         Ensure each cache entry is deleted to not hit any cache quota error.
143         Test was previously deleting the whole cache, but in WebKit, the quota
144         in such a case will only be updated when the cache is garbaged collected, which is not deterministic.
145         Make tests output more results to improve debugability.
146
147         * web-platform-tests/service-workers/service-worker/fetch-canvas-tainting-cache.https.html:
148         * web-platform-tests/service-workers/service-worker/fetch-canvas-tainting.https-expected.txt:
149         * web-platform-tests/service-workers/service-worker/fetch-canvas-tainting.https.html:
150         * web-platform-tests/service-workers/service-worker/resources/fetch-canvas-tainting-iframe.html:
151
152 2018-01-09  Youenn Fablet  <youenn@apple.com>
153
154         [iOS Debug WK2] Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/register-closed-window.https.html is flaky
155         https://bugs.webkit.org/show_bug.cgi?id=181087
156         <rdar://problem/36188109>
157
158         Reviewed by Chris Dumez.
159
160         Updated test to get a more deterministic output.
161
162         * web-platform-tests/service-workers/service-worker/register-closed-window.https-expected.txt:
163         * web-platform-tests/service-workers/service-worker/resources/register-closed-window-iframe.html:
164
165 2018-01-09  Youenn Fablet  <youenn@apple.com>
166
167         Add CSP support to service workers
168         https://bugs.webkit.org/show_bug.cgi?id=181385
169
170         Reviewed by Chris Dumez.
171
172         * web-platform-tests/service-workers/service-worker/service-worker-csp-connect.https-expected.txt:
173         * web-platform-tests/service-workers/service-worker/service-worker-csp-default.https-expected.txt:
174         * web-platform-tests/service-workers/service-worker/service-worker-csp-script.https-expected.txt:
175
176 2018-01-09  Ali Juma  <ajuma@chromium.org>
177
178         Implement VisualViewport API events
179         https://bugs.webkit.org/show_bug.cgi?id=179386
180
181         Reviewed by Frédéric Wang.
182
183         Update expectation for a viewport WPT that now passes.
184
185         * web-platform-tests/viewport/viewport-resize-event-on-load-overflowing-page-expected.txt:
186
187 2018-01-08  Chris Nardi  <csnardi1@gmail.com>
188
189         ::first-letter incorrectly selects grapheme pairs
190         https://bugs.webkit.org/show_bug.cgi?id=181315
191
192         Reviewed by Darin Adler.
193
194         Updated css-pseudo-4 to latest WPT revision and added first-letter-004.html.
195
196         * web-platform-tests/css/css-pseudo-4/first-letter-004-expected.html: Added.
197         * web-platform-tests/css/css-pseudo-4/first-letter-004.html: Added.
198         * web-platform-tests/css/css-pseudo-4/marker-color-expected.html:
199         * web-platform-tests/css/css-pseudo-4/marker-color.html:
200         * web-platform-tests/css/css-pseudo-4/marker-font-properties.html:
201         * web-platform-tests/css/css-pseudo-4/w3c-import.log:
202
203 2018-01-08  Commit Queue  <commit-queue@webkit.org>
204
205         Unreviewed, rolling out r226532 and r226540.
206         https://bugs.webkit.org/show_bug.cgi?id=181422
207
208         jessie says basic browsing does not seem to work (Requested by
209         alexchristensen on #webkit).
210
211         Reverted changesets:
212
213         "Add CSP support to service workers"
214         https://bugs.webkit.org/show_bug.cgi?id=181385
215         https://trac.webkit.org/changeset/226532
216
217         "SWClientConnection should not keep references to service
218         worker jobs"
219         https://bugs.webkit.org/show_bug.cgi?id=181381
220         https://trac.webkit.org/changeset/226540
221
222 2018-01-08  Youenn Fablet  <youenn@apple.com>
223
224         Add CSP support to service workers
225         https://bugs.webkit.org/show_bug.cgi?id=181385
226
227         Reviewed by Chris Dumez.
228
229         * web-platform-tests/service-workers/service-worker/service-worker-csp-connect.https-expected.txt:
230         * web-platform-tests/service-workers/service-worker/service-worker-csp-default.https-expected.txt:
231         * web-platform-tests/service-workers/service-worker/service-worker-csp-script.https-expected.txt:
232
233 2018-01-08  Youenn Fablet  <youenn@apple.com>
234
235         Use no-cache fetch mode when loading main documents with location.reload()
236         https://bugs.webkit.org/show_bug.cgi?id=181285
237
238         Reviewed by Alex Christensen.
239
240         * web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt:
241
242 2018-01-08  Ms2ger  <Ms2ger@igalia.com>
243
244         Update imagebitmap tests.
245         https://bugs.webkit.org/show_bug.cgi?id=181379
246
247         Unreviewed test gardening.
248
249         * web-platform-tests/2dcontext/imagebitmap/common.js:
250         * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt:
251         * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage.html:
252         * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt:
253         * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args.html:
254
255 2018-01-07  Ms2ger  <Ms2ger@igalia.com>
256
257         Implement createImageBitmap(ImageBitmap)
258         https://bugs.webkit.org/show_bug.cgi?id=181287
259
260         Reviewed by Darin Adler.
261
262         * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt: rebaseline.
263
264 2018-01-05  Alex Christensen  <achristensen@webkit.org>
265
266         Forbid < and > in URL hosts
267         https://bugs.webkit.org/show_bug.cgi?id=181308
268         <rdar://problem/36012757>
269
270         Reviewed by Tim Horton.
271
272         * web-platform-tests/url/a-element-expected.txt:
273         * web-platform-tests/url/a-element-origin-expected.txt:
274         * web-platform-tests/url/a-element-origin-xhtml-expected.txt:
275         * web-platform-tests/url/a-element-xhtml-expected.txt:
276         * web-platform-tests/url/url-constructor-expected.txt:
277         * web-platform-tests/url/url-origin-expected.txt:
278
279 2018-01-05  Youenn Fablet  <youenn@apple.com>
280
281         Skip LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/claim-shared-worker-fetch.https.html
282         https://bugs.webkit.org/show_bug.cgi?id=181329
283
284         Unreviewed.
285
286         * web-platform-tests/service-workers/service-worker/claim-shared-worker-fetch.https-expected.txt: Removed.
287
288 2018-01-05  Youenn Fablet  <youenn@apple.com>
289
290         LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https.html should not expect Upgrade-Insecure Requests header
291         https://bugs.webkit.org/show_bug.cgi?id=181286
292
293         Reviewed by Alex Christensen.
294
295         Test previously expected upgrade-insecure-requests header to be inserted in a HTTP request.
296         Given the request URL is HTTPS, there is no need for that header.
297
298         * web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt:
299         * web-platform-tests/service-workers/service-worker/fetch-event.https.html:
300
301 2018-01-04  Youenn Fablet  <youenn@apple.com>
302
303         FetchResponse should set its internal response text encoding name
304         https://bugs.webkit.org/show_bug.cgi?id=181284
305
306         Reviewed by Alex Christensen.
307
308         * web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt:
309
310 2018-01-04  Youenn Fablet  <youenn@apple.com>
311
312         Service Worker should expose redirect mode for navigation loads as manual
313         https://bugs.webkit.org/show_bug.cgi?id=181067
314
315         Reviewed by Alex Christensen.
316
317         Updating test to match the latest fetch spec.
318
319         * web-platform-tests/service-workers/service-worker/navigation-redirect-to-http.https-expected.txt:
320         * web-platform-tests/service-workers/service-worker/request-end-to-end.https-expected.txt:
321         * web-platform-tests/service-workers/service-worker/request-end-to-end.https.html:
322
323 2018-01-04  Youenn Fablet  <youenn@apple.com>
324
325         Implement  https://fetch.spec.whatwg.org/#main-fetch default referrer policy setting
326         https://bugs.webkit.org/show_bug.cgi?id=181239
327
328         Reviewed by Alex Christensen.
329
330         Updated test to output more tests for better error reporting.
331         Also updated to relax the settings so that HTTP loads are done even though the page is HTTPS.
332         Updated referrer computation since it should be done based on the fetch context and not its parent context.
333
334         * web-platform-tests/service-workers/service-worker/fetch-event-referrer-policy.https-expected.txt:
335         * web-platform-tests/service-workers/service-worker/fetch-event-referrer-policy.https.html:
336
337 2018-01-02  Youenn Fablet  <youenn@apple.com>
338
339         Memory cache should not reuse resources with different credential fetch option
340         https://bugs.webkit.org/show_bug.cgi?id=181212
341
342         Reviewed by Alex Christensen.
343
344         * web-platform-tests/service-workers/service-worker/fetch-cors-xhr.https-expected.txt:
345
346 2018-01-02  Jiewen Tan  <jiewen_tan@apple.com>
347
348         Update Credential Management API for WebAuthentication
349         https://bugs.webkit.org/show_bug.cgi?id=181082
350         <rdar://problem/36055239>
351
352         Reviewed by Brent Fulgham.
353
354         * web-platform-tests/credential-management/credentialscontainer-create-basics.https-expected.txt:
355         * web-platform-tests/credential-management/idl.https-expected.txt:
356
357 2018-01-02  Ms2ger  <Ms2ger@igalia.com>
358
359         Update imported/w3c/web-platform-tests/html/browsers/windows/browsing-context.html from upstream wpt.
360         https://bugs.webkit.org/show_bug.cgi?id=172255
361
362         Unreviewed test gardening.
363
364         * web-platform-tests/html/browsers/windows/browsing-context-expected.txt: rebaseline.
365         * web-platform-tests/html/browsers/windows/browsing-context.html: update.
366
367 == Rolled over to ChangeLog-2018-01-01 ==