Add optimization when updating a SW registration results in the exact same script
[WebKit-https.git] / LayoutTests / ChangeLog
1 2017-12-16  Chris Dumez  <cdumez@apple.com>
2
3         Add optimization when updating a SW registration results in the exact same script
4         https://bugs.webkit.org/show_bug.cgi?id=180891
5
6         Reviewed by Geoffrey Garen.
7
8         * TestExpectations:
9         Skip bad WPT test that is timing out for us and Firefox. I'll file an upstream PR
10         to fix it.
11
12         * http/tests/workers/service/controller-change.html:
13         * http/tests/workers/service/registration-updateViaCache-all-importScripts.html:
14         * http/tests/workers/service/registration-updateViaCache-all.html:
15         * http/tests/workers/service/registration-updateViaCache-imports-importScripts.html:
16         * http/tests/workers/service/registration-updateViaCache-none-importScripts.html:
17         * http/tests/workers/service/registration-updateViaCache-none.html:
18         * http/tests/workers/service/resources/self_registration_update-worker.js: Removed.
19         * http/tests/workers/service/resources/self_registration_update-worker.php: Added.
20         * http/tests/workers/service/resources/service-worker-fetch-worker.js:
21         * http/tests/workers/service/resources/updating-fetch-worker.php: Added.
22         * http/tests/workers/service/resources/updating-worker.php: Added.
23         * http/tests/workers/service/self_registration_update.html:
24         * http/tests/workers/service/service-worker-registration-gc-event.html:
25         Undate WebKit-specific tests to reflect behavior change.
26
27 2017-12-16  Youenn Fablet  <youenn@apple.com>
28
29         Service worker script fetch request should set the Service-Worker header
30         https://bugs.webkit.org/show_bug.cgi?id=180889
31
32         Reviewed by Chris Dumez.
33
34         * http/wpt/service-workers/check-service-worker-header.https-expected.txt: Added.
35         * http/wpt/service-workers/check-service-worker-header.https.html: Added.
36         * http/wpt/service-workers/check-service-worker-header.py: Added.
37
38 2017-12-15  Youenn Fablet  <youenn@apple.com>
39
40         WK1 webrtc/datachannel bufferedAmount tests might time out
41         https://bugs.webkit.org/show_bug.cgi?id=180882
42
43         Unreviewed.
44
45         * platform/mac-wk1/TestExpectations: marking tests as flaky.
46
47 2017-12-15  Chris Dumez  <cdumez@apple.com>
48
49         Unreviewed, rebaseline Service Workers flaky tests.
50
51         * TestExpectations:
52
53 2017-12-15  Chris Dumez  <cdumez@apple.com>
54
55         Service Worker Registration promise is sometimes not rejected when the script load fails
56         https://bugs.webkit.org/show_bug.cgi?id=180849
57
58         Reviewed by Brady Eidson.
59
60         Fix WebKit-specific tests that had invalid URLs for workers. We failed to notice this
61         before because we were wrongly resolving the registration promise.
62
63         * http/tests/workers/service/basic-register-expected.txt:
64         * http/tests/workers/service/basic-unregister-then-register-again-no-reuse.html:
65         * http/tests/workers/service/registration-clear-redundant-worker.html:
66         * http/tests/workers/service/resources/basic-register.js:
67         * http/tests/workers/service/service-worker-gc-event.html:
68         * http/tests/workers/service/service-worker-registration-gc-event.html:
69
70 2017-12-14  Youenn Fablet  <youenn@apple.com>
71
72         Implement <iframe allow="camera; microphone">
73         https://bugs.webkit.org/show_bug.cgi?id=167430
74         <rdar://problem/34887226>
75
76         Reviewed by Eric Carlson.
77
78         Skipping mediastream tests for wpe.
79         Updating expectations based on new error message.
80
81         * TestExpectations: Skipping sync XHR test using allow attribute.
82         * http/tests/ssl/media-stream/get-user-media-different-host-expected.txt:
83         * http/tests/ssl/media-stream/get-user-media-nested-expected.txt:
84         * platform/mac-wk1/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-default-feature-policy.sub-expected.txt:
85         * platform/wpe/TestExpectations:
86
87 2017-12-14  Zalan Bujtas  <zalan@apple.com>
88
89         Inconsistent section grid could lead to CrashOnOverflow
90         https://bugs.webkit.org/show_bug.cgi?id=180850
91         <rdar://problem/34064811>
92
93         Reviewed by Simon Fraser.
94
95         * fast/table/table-row-oveflow-crash-expected.txt: Added.
96         * fast/table/table-row-oveflow-crash.html: Added.
97
98 2017-12-14  Chris Dumez  <cdumez@apple.com>
99
100         [iOS] Many serviceworker tests are flaky timeouts on iOS bots
101         https://bugs.webkit.org/show_bug.cgi?id=179454
102         <rdar://problem/35429369>
103
104         Unreviewed attempt to unmark service worker tests as flaky on iOS.
105         We have now fixed all the iOS-specific bugs we are aware of so we
106         should give this a try.
107
108         * platform/ios/TestExpectations:
109
110 2017-12-14  Brian Burg  <bburg@apple.com>
111
112         Web Inspector: InspectorTest.evaluateInPage should unwrap primitive values by default
113         https://bugs.webkit.org/show_bug.cgi?id=180831
114
115         Reviewed by Joseph Pecoraro.
116
117         * inspector/unit-tests/test-harness-evaluate-in-page-expected.txt: Added.
118         * inspector/unit-tests/test-harness-evaluate-in-page.html: Added.
119
120         Add test coverage for InspectorTest.evaluateInPage. Only the promise-returning
121         variant is tested here, because the callback variant is well-used in existing
122         tests and I plan to remove the callback variant entirely in later patches.
123
124         * inspector/console/js-isLikelyStackTrace-expected.txt:
125         * inspector/console/js-isLikelyStackTrace.html:
126         Fix some bad tests and rebaseline. A bug was filed for the remaining failing assertion.
127
128         * http/tests/inspector/dom/shapes-test.js:
129         (TestPage.registerInitializer.InspectorTest.Shapes.receivedHighlightObject):
130         (TestPage.registerInitializer.InspectorTest.Shapes.getShapeOutsideInfoForSelector):
131         * http/tests/inspector/paymentrequest/payment-request-internal-properties.https.html:
132         * inspector/console/command-line-api-copy.html:
133         * inspector/console/console-log-proxy.html:
134         * inspector/debugger/js-stacktrace.html:
135         * inspector/dom/hideHighlight.html:
136         * inspector/dom/highlightFrame.html:
137         * inspector/dom/highlightNode.html:
138         * inspector/dom/highlightNodeList.html:
139         * inspector/dom/highlightQuad.html:
140         * inspector/dom/highlightRect.html:
141         * inspector/dom/highlightSelector.html:
142         * inspector/page/setEmulatedMedia.html:
143         * inspector/runtime/getPreview.html:
144         Fix existing tests to opt out of unwrapping or use the unwrapped value directly.
145
146         * inspector/dom/setEventListenerDisabled-expected.txt:
147         Rebaseline results. This is caused by an extra promise tick in evaluateInPage.
148
149         * inspector/injected-script/observable-expected.txt:
150         * inspector/injected-script/observable.html:
151         Fix a typo and rebaseline.
152
153
154 2017-12-14  Ryan Haddad  <ryanhaddad@apple.com>
155
156         Unreviewed, rebaseline compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint.html after r225897.
157
158         * platform/mac-wk1/compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint-expected.txt:
159
160 2017-12-14  Matt Lewis  <jlewis3@apple.com>
161
162         Skipped media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-mse.html on macOS.
163         https://bugs.webkit.org/show_bug.cgi?id=180430
164
165         Unreviewed test gardening.
166
167         * platform/mac-elcapitan/TestExpectations:
168         * platform/mac-wk2/TestExpectations:
169         * platform/mac/TestExpectations:
170
171 2017-12-14  Chris Dumez  <cdumez@apple.com>
172
173         self.importScripts() should obey updateViaCache inside service workers
174         https://bugs.webkit.org/show_bug.cgi?id=180826
175
176         Reviewed by Youenn Fablet.
177
178         Add layout test coverage.
179
180         * http/tests/workers/service/registration-updateViaCache-all-importScripts-expected.txt: Added.
181         * http/tests/workers/service/registration-updateViaCache-all-importScripts.html: Added.
182         * http/tests/workers/service/registration-updateViaCache-imports-importScripts-expected.txt: Added.
183         * http/tests/workers/service/registration-updateViaCache-imports-importScripts.html: Added.
184         * http/tests/workers/service/registration-updateViaCache-none-importScripts-expected.txt: Added.
185         * http/tests/workers/service/registration-updateViaCache-none-importScripts.html: Added.
186         * http/tests/workers/service/resources/import-cacheable-script-worker.js: Added.
187
188 2017-12-14  John Wilander  <wilander@apple.com>
189
190         Storage Access API: Implement frame-specific access in the document.cookie layer
191         https://bugs.webkit.org/show_bug.cgi?id=180682
192         <rdar://problem/35982257>
193
194         Reviewed by Alex Christensen.
195
196         CookiesStrategy::cookiesForDOM(), CookiesStrategy::setCookiesFromDOM(),
197         CookiesStrategy::cookieRequestHeaderFieldValue(), and
198         CookiesStrategy::getRawCookies() now take optional parameters for
199         frameID and pageID to allow frame-specific scoping of cookies.
200
201         This change makes the return values of FrameLoaderClient::frameID()
202         and FrameLoaderClient::pageID() std::optional<uint64_t> so that
203         WebCore can call those getters and get the right return values in
204         WebKit and std:nullopt in WebKitLegacy.
205
206         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-and-try-access-from-right-frame-expected.txt:
207             Now expects the correct behavior for document.cookie.
208
209 2017-12-14  Antoine Quint  <graouts@apple.com>
210
211         [Web Animations] Bring timeline and currentTime setters closer to compliance
212         https://bugs.webkit.org/show_bug.cgi?id=180834
213
214         Reviewed by Dean Jackson.
215
216         Remove a test clause which tested a behavior that is not part of the spec.
217
218         * http/wpt/wk-web-animations/timing-model/animation-current-time.html:
219
220 2017-12-14  Antoine Quint  <graouts@apple.com>
221
222         [Web Animations] Implement the cancel() method on Animation
223         https://bugs.webkit.org/show_bug.cgi?id=180830
224         <rdar://problem/36055816>
225
226         Reviewed by Dean Jackson.
227
228         Rebase some WPT expectations with progressions due to exposing the cancel() method.
229
230         * http/wpt/web-animations/interfaces/Animation/idlharness-expected.txt:
231
232 2017-12-14  Antoine Quint  <graouts@apple.com>
233
234         [Web Animations] Implement the finish() method on Animation
235         https://bugs.webkit.org/show_bug.cgi?id=180822
236         <rdar://problem/36053282>
237
238         Reviewed by Dean Jackson.
239
240         Rebase some WPT expectations with progressions due to exposing the finish() method.
241         We're also removing a WebKit-only test that is no longer relevant and started failing
242         with compliant behavior.
243
244         * http/wpt/web-animations/interfaces/Animation/idlharness-expected.txt:
245         * http/wpt/web-animations/timing-model/animations/set-the-timeline-of-an-animation-expected.txt:
246         * http/wpt/wk-web-animations/timing-model/animation-playback-rate-expected.txt: Removed.
247         * http/wpt/wk-web-animations/timing-model/animation-playback-rate.html: Removed.
248
249 2017-12-14  Chris Dumez  <cdumez@apple.com>
250
251         Service worker script fetching currently always uses the network cache
252         https://bugs.webkit.org/show_bug.cgi?id=180816
253
254         Reviewed by Alex Christensen.
255
256         Add layout test coverage.
257
258         * http/tests/workers/service/registration-updateViaCache-all-expected.txt: Added.
259         * http/tests/workers/service/registration-updateViaCache-all.html: Added.
260         * http/tests/workers/service/registration-updateViaCache-none-expected.txt: Added.
261         * http/tests/workers/service/registration-updateViaCache-none.html: Added.
262         * http/tests/workers/service/resources/cacheable-script-worker.php: Added.
263
264 2017-12-14  Matt Lewis  <jlewis3@apple.com>
265
266         Updated test expectations for imported/w3c/web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html.
267         https://bugs.webkit.org/show_bug.cgi?id=177322
268
269         Unreviewed test gardening.
270
271         * platform/mac/TestExpectations:
272
273 2017-12-13  Antoine Quint  <graouts@apple.com>
274
275         [Web Animations] Implement the play() and pause() methods on Animation
276         https://bugs.webkit.org/show_bug.cgi?id=178932
277         <rdar://problem/35271069>
278
279         Reviewed by Eric Carlson.
280
281         Rebase some WPT expectations with progressions due to exposing the play() and pause() methods.
282
283         * TestExpectations: Temporarily mark a test as flaky as it logs an unexpected current time which
284         may change between runs.
285         * http/wpt/web-animations/interfaces/Animation/idlharness-expected.txt:
286         * http/wpt/web-animations/interfaces/Animation/startTime-expected.txt:
287         * http/wpt/web-animations/interfaces/KeyframeEffect/setTarget-expected.txt:
288         * http/wpt/web-animations/timing-model/animations/current-time-expected.txt:
289         * http/wpt/web-animations/timing-model/animations/set-the-target-effect-of-an-animation-expected.txt:
290         * http/wpt/web-animations/timing-model/animations/set-the-timeline-of-an-animation-expected.txt:
291
292 2017-12-14  Romain Bellessort  <romain.bellessort@crf.canon.fr>
293
294         [Readable Streams API] Remove properties tests covered by WPT
295         https://bugs.webkit.org/show_bug.cgi?id=180809
296
297         Reviewed by Youenn Fablet.
298
299         Removed WebKit properties/methods tests for ReadableByteStreamController,
300         ReadableStreamBYOBReader and ReadableStreamBYOBRequest. Indeed, these
301         tests are also present in WPT streams/readable-byte-streams/properties.js.
302
303         * streams/readable-byte-stream-controller-expected.txt: Updated expectations.
304         * streams/readable-byte-stream-controller.js: Remove ReadableByteStreamController properties test.
305         * streams/readable-stream-byob-reader-expected.txt: Updated expectations.
306         * streams/readable-stream-byob-reader.js: Remove ReadableStreamBYOBReader properties test.
307         * streams/readable-stream-byob-request-expected.txt: Updated expectations.
308         * streams/readable-stream-byob-request.js: Remove ReadableStreamBYOBRequest properties test.
309
310 2017-12-14  Miguel Gomez  <magomez@igalia.com>
311
312         [GTK] Gardening bug after r225898
313         https://bugs.webkit.org/show_bug.cgi?id=180807
314
315         Unreviewed GTK+ test gardening after r225898. Updated test expectations and rebaselined
316         some tests.
317
318         * platform/gtk/TestExpectations:
319         * platform/gtk/mathml/opentype/horizontal-expected.png:
320         * platform/gtk/mathml/opentype/horizontal-expected.txt:
321         * platform/gtk/mathml/opentype/horizontal-munderover-expected.txt:
322         * platform/gtk/mathml/presentation/bug159513-expected.png:
323         * platform/gtk/mathml/presentation/bug159513-expected.txt:
324
325 2017-12-14  Yacine Bandou  <yacine.bandou_ext@softathome.com>
326
327         [EME] Add layout test for InitData and InitDataType in CENC encrypted event
328         https://bugs.webkit.org/show_bug.cgi?id=180430
329
330         Reviewed by Xabier Rodriguez-Calvar.
331
332         This commit adds new layout tests in order to test the reception of the encrypted CENC
333         event with an expected initData and initDataType fields.
334
335         * media/content/encrypted/VideoClearKeyCenc.mp4: Added.
336             This is a simple encrypted video file used for regular playback.
337             It has been encrypted with BENTO4. https://www.bento4.com/
338
339         * media/content/encrypted/segments/VideoClearKeyCenc-seg-0.mp4: Added.
340             This is a simple encrypted video fragment used in MSE playback.
341             It has been fragmented and encrypted with BENTO4. https://www.bento4.com/
342
343         * media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-expected.txt: Added.
344         * media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-mse-expected.txt: Added.
345         * media/encrypted-media/clearKey/clearKey-encrypted-cenc-event-mse.html: Added.
346             This is a test with MSE.
347
348         * media/encrypted-media/clearKey/clearKey-encrypted-cenc-event.html: Added.
349             This is a test with a regular playback.
350
351         * media/encrypted-media/medias-enc.js: Added.
352             This JavaScrit file lists the encrypted media wich will be used in encrypted-media tests.
353             It gives all necessary informations about the encrypted media: path of the file or
354             the path of the segments in MSE case, mimeType, initDataType and the encryption keys.
355
356         * media/media-source/media-source-loader-simple.js: Added.
357             This JavaScript file provides a simple MSE implementation, reads the segments of the media and appends them
358             in the appropriate SourceBuffer.
359
360         * platform/gtk/TestExpectations:
361         * platform/mac-elcapitan/TestExpectations:
362         * platform/mac-wk2/TestExpectations:
363         * platform/mac/TestExpectations:
364         * platform/wpe/TestExpectations:
365
366 2017-12-14  Frederic Wang  <fwang@igalia.com>
367
368         Make GraphicsLayer::dumpProperties dump m_offsetFromRenderer
369         https://bugs.webkit.org/show_bug.cgi?id=180473
370
371         Update test expectations to include the "offset from renderer" values. Existing tests insert
372         the output of layerTreeAsText into some divs which may cause the corresponding GraphicsLayers
373         to become slightly taller. We thus make the necessary adjustments.
374
375         Reviewed by Antonio Gomes.
376
377         * compositing/backing/no-backing-for-clip-expected.txt:
378         * compositing/backing/no-backing-for-clip-overlap-expected.txt:
379         * compositing/backing/transform-transition-from-outside-view-expected.txt:
380         * compositing/bounds-in-flipped-writing-mode-expected.txt:
381         * compositing/columns/composited-in-paginated-rl-expected.txt:
382         * compositing/columns/composited-lr-paginated-repaint-expected.txt:
383         * compositing/columns/composited-rl-paginated-repaint-expected.txt:
384         * compositing/contents-format/subpixel-antialiased-nested-layer-expected.txt:
385         * compositing/contents-format/subpixel-antialiased-text-configs-antialiasing-style-expected.txt:
386         * compositing/contents-format/subpixel-antialiased-text-configs-expected.txt:
387         * compositing/contents-format/subpixel-antialiased-text-images-expected.txt:
388         * compositing/contents-format/subpixel-antialiased-text-traversal-expected.txt:
389         * compositing/contents-format/subpixel-antialiased-text-visibility-expected.txt:
390         * compositing/contents-opaque/overflow-hidden-child-layers-expected.txt:
391         * compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt:
392         * compositing/filters/sw-nested-shadow-overlaps-hw-nested-shadow-expected.txt:
393         * compositing/filters/sw-shadow-overlaps-hw-shadow-expected.txt:
394         * compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
395         * compositing/geometry/bounds-ignores-hidden-dynamic-expected.txt:
396         * compositing/geometry/bounds-ignores-hidden-expected.txt:
397         * compositing/geometry/clip-expected.txt:
398         * compositing/geometry/clip-inside-expected.txt:
399         * compositing/geometry/fixed-position-flipped-writing-mode-expected.txt:
400         * compositing/geometry/flipped-writing-mode-expected.txt:
401         * compositing/geometry/foreground-layer-expected.txt:
402         * compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt:
403         * compositing/geometry/limit-layer-bounds-fixed-expected.txt:
404         * compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt:
405         * compositing/geometry/limit-layer-bounds-opacity-transition-expected.txt:
406         * compositing/geometry/limit-layer-bounds-positioned-expected.txt:
407         * compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt:
408         * compositing/geometry/limit-layer-bounds-transformed-expected.txt:
409         * compositing/iframes/composited-parent-iframe-expected.txt:
410         * compositing/iframes/connect-compositing-iframe-delayed-expected.txt:
411         * compositing/iframes/connect-compositing-iframe-expected.txt:
412         * compositing/iframes/connect-compositing-iframe2-expected.txt:
413         * compositing/iframes/connect-compositing-iframe3-expected.txt:
414         * compositing/iframes/enter-compositing-iframe-expected.txt:
415         * compositing/iframes/iframe-resize-expected.txt:
416         * compositing/iframes/overlapped-iframe-expected.txt:
417         * compositing/iframes/page-cache-layer-tree-expected.txt:
418         * compositing/iframes/scrolling-iframe-expected.txt:
419         * compositing/images/clip-on-directly-composited-image-expected.txt:
420         * compositing/ios/overflow-scroll-touch-tiles-expected.txt:
421         * compositing/layer-creation/fixed-overlap-extent-expected.txt:
422         * compositing/layer-creation/fixed-overlap-extent-rtl-expected.txt:
423         * compositing/layer-creation/fixed-position-under-transform-expected.txt:
424         * compositing/layer-creation/mismatched-rotated-transform-animation-overlap-expected.txt:
425         * compositing/layer-creation/mismatched-rotated-transform-transition-overlap-expected.txt:
426         * compositing/layer-creation/mismatched-transform-transition-overlap-expected.txt:
427         * compositing/layer-creation/multiple-keyframes-animation-overlap-expected.txt:
428         * compositing/layer-creation/overflow-scroll-overlap-expected.txt:
429         * compositing/layer-creation/overlap-animation-clipping-expected.txt:
430         * compositing/layer-creation/overlap-animation-expected.txt:
431         * compositing/layer-creation/overlap-child-layer-expected.txt:
432         * compositing/layer-creation/overlap-transformed-layer-expected.txt:
433         * compositing/layer-creation/overlap-transforms-expected.txt:
434         * compositing/layer-creation/rotate3d-overlap-expected.txt:
435         * compositing/layer-creation/scale-rotation-animation-overlap-expected.txt:
436         * compositing/layer-creation/scale-rotation-transition-overlap-expected.txt:
437         * compositing/layer-creation/stacking-context-overlap-nested-expected.txt:
438         * compositing/layer-creation/translate-animation-overlap-expected.txt:
439         * compositing/layer-creation/translate-scale-animation-overlap-expected.txt:
440         * compositing/layer-creation/translate-scale-transition-overlap-expected.txt:
441         * compositing/layer-creation/translate-transition-overlap-expected.txt:
442         * compositing/layer-creation/will-change-layer-creation-expected.txt:
443         * compositing/overflow/clip-descendents-expected.txt:
444         * compositing/overflow/overflow-scrollbar-layer-positions-expected.txt:
445         * compositing/repaint/fixed-background-scroll-expected.txt:
446         * compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint-expected.txt:
447         * compositing/repaint/iframes/compositing-iframe-scroll-repaint-expected.txt:
448         * compositing/repaint/iframes/compositing-iframe-with-fixed-background-doc-repaint-expected.txt:
449         * compositing/repaint/repaint-on-layer-grouping-change-expected.txt:
450         * compositing/rtl/rtl-absolute-overflow-expected.txt:
451         * compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt:
452         * compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt:
453         * compositing/scrolling/touch-scroll-to-clip-expected.txt:
454         * compositing/tiling/tiled-mask-inwindow-expected.txt:
455         * compositing/tiling/tiled-reflection-inwindow-expected.txt:
456         * compositing/tiling/transform-origin-tiled-expected.txt:
457         * compositing/visible-rect/coverage-clipped-expected.txt:
458         * compositing/visible-rect/coverage-scrolling-expected.txt:
459         * fast/scrolling/ios/overflow-scroll-touch-expected.txt:
460         * fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor-expected.txt:
461         * platform/gtk/compositing/geometry/composited-in-columns-expected.txt:
462         * platform/gtk/compositing/iframes/invisible-nested-iframe-show-expected.txt:
463         * platform/gtk/compositing/layer-creation/overlap-animation-container-expected.txt:
464         * platform/gtk/compositing/layer-creation/overlap-animation-expected.txt:
465         * platform/gtk/compositing/layer-creation/will-change-layer-creation-expected.txt:
466         * platform/gtk/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt:
467         * platform/gtk/compositing/overflow/composited-scrolling-paint-phases-expected.txt:
468         * platform/ios-wk2/compositing/backing/no-backing-for-clip-expected.txt:
469         * platform/ios-wk2/compositing/backing/no-backing-for-clip-overlap-expected.txt:
470         * platform/ios-wk2/compositing/columns/composited-in-paginated-rl-expected.txt:
471         * platform/ios-wk2/compositing/columns/composited-lr-paginated-repaint-expected.txt:
472         * platform/ios-wk2/compositing/columns/composited-rl-paginated-repaint-expected.txt:
473         * platform/ios-wk2/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
474         * platform/ios-wk2/compositing/geometry/composited-in-columns-expected.txt:
475         * platform/ios-wk2/compositing/geometry/limit-layer-bounds-fixed-expected.txt:
476         * platform/ios-wk2/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt:
477         * platform/ios-wk2/compositing/iframes/composited-parent-iframe-expected.txt:
478         * platform/ios-wk2/compositing/iframes/connect-compositing-iframe-delayed-expected.txt:
479         * platform/ios-wk2/compositing/iframes/connect-compositing-iframe-expected.txt:
480         * platform/ios-wk2/compositing/iframes/connect-compositing-iframe2-expected.txt:
481         * platform/ios-wk2/compositing/iframes/connect-compositing-iframe3-expected.txt:
482         * platform/ios-wk2/compositing/iframes/enter-compositing-iframe-expected.txt:
483         * platform/ios-wk2/compositing/iframes/iframe-resize-expected.txt:
484         * platform/ios-wk2/compositing/iframes/leave-compositing-iframe-expected.txt:
485         * platform/ios-wk2/compositing/iframes/overlapped-iframe-expected.txt:
486         * platform/ios-wk2/compositing/iframes/page-cache-layer-tree-expected.txt:
487         * platform/ios-wk2/compositing/iframes/scrolling-iframe-expected.txt:
488         * platform/ios-wk2/compositing/layer-creation/fixed-position-under-transform-expected.txt:
489         * platform/ios-wk2/compositing/repaint/fixed-background-scroll-expected.txt:
490         * platform/ios-wk2/compositing/rtl/rtl-absolute-overflow-expected.txt:
491         * platform/ios-wk2/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt:
492         * platform/ios-wk2/compositing/rtl/rtl-fixed-overflow-expected.txt:
493         * platform/ios-wk2/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt:
494         * platform/ios-wk2/compositing/scrolling/touch-scroll-to-clip-expected.txt:
495         * platform/ios-wk2/compositing/tiling/backface-preserve-3d-tiled-expected.txt:
496         * platform/ios-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt:
497         * platform/ios-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
498         * platform/ios-wk2/compositing/tiling/tiled-mask-inwindow-expected.txt:
499         * platform/ios-wk2/compositing/tiling/tiled-reflection-inwindow-expected.txt:
500         * platform/ios-wk2/compositing/tiling/transform-origin-tiled-expected.txt:
501         * platform/ios-wk2/compositing/visibility/visibility-image-layers-dynamic-expected.txt:
502         * platform/ios-wk2/compositing/visible-rect/2d-transformed-expected.txt:
503         * platform/ios-wk2/compositing/visible-rect/3d-transformed-expected.txt:
504         * platform/ios-wk2/compositing/visible-rect/clipped-visible-rect-expected.txt:
505         * platform/ios-wk2/compositing/visible-rect/coverage-clipped-expected.txt:
506         * platform/ios-wk2/compositing/visible-rect/coverage-scrolling-expected.txt:
507         * platform/ios-wk2/compositing/visible-rect/flipped-preserve-3d-expected.txt:
508         * platform/ios-wk2/compositing/visible-rect/iframe-and-layers-expected.txt:
509         * platform/ios-wk2/compositing/visible-rect/nested-transform-expected.txt:
510         * platform/ios/compositing/contents-format/subpixel-antialiased-nested-layer-expected.txt:
511         * platform/ios/compositing/contents-format/subpixel-antialiased-text-traversal-expected.txt:
512         * platform/ios/compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt:
513         * platform/ios/compositing/geometry/fixed-position-flipped-writing-mode-expected.txt:
514         * platform/ios/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt:
515         * platform/ios/compositing/iframes/invisible-nested-iframe-show-expected.txt:
516         * platform/ios/compositing/images/clip-on-directly-composited-image-expected.txt:
517         * platform/ios/compositing/layer-creation/overlap-animation-clipping-expected.txt:
518         * platform/ios/compositing/layer-creation/overlap-animation-container-expected.txt:
519         * platform/ios/compositing/layer-creation/scale-rotation-animation-overlap-expected.txt:
520         * platform/ios/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt:
521         * platform/ios/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt:
522         * platform/ios/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
523         * platform/ios/compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt:
524         * platform/ios/compositing/visible-rect/3d-transform-style-expected.txt:
525         * platform/ios/compositing/visible-rect/animated-expected.txt:
526         * platform/ios/compositing/visible-rect/animated-from-none-expected.txt:
527         * platform/ios/fast/scrolling/ios/overflow-scrolling-ancestor-clip-expected.txt:
528         * platform/ios/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size-expected.txt:
529         * platform/ios/fast/scrolling/ios/textarea-scroll-touch-expected.txt:
530         * platform/ios/media/video-play-glyph-composited-outside-overflow-scrolling-touch-container-expected.txt:
531         * platform/mac-elcapitan/compositing/contents-opaque/control-layer-expected.txt:
532         * platform/mac-elcapitan/compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint-expected.txt:
533         * platform/mac-sierra-wk1/compositing/repaint/iframes/composited-iframe-with-fixed-background-doc-repaint-expected.txt:
534         * platform/mac-wk1/compositing/repaint/iframes/compositing-iframe-scroll-repaint-expected.txt:
535         * platform/mac-wk1/compositing/repaint/iframes/compositing-iframe-with-fixed-background-doc-repaint-expected.txt:
536         * platform/mac-wk1/compositing/tiling/tiled-mask-inwindow-expected.txt:
537         * platform/mac-wk1/compositing/tiling/tiled-reflection-inwindow-expected.txt:
538         * platform/mac-wk1/compositing/tiling/transform-origin-tiled-expected.txt:
539         * platform/mac-wk2/compositing/rtl/rtl-absolute-overflow-expected.txt:
540         * platform/mac-wk2/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt:
541         * platform/mac-wk2/compositing/rtl/rtl-fixed-overflow-expected.txt:
542         * platform/mac-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt:
543         * platform/mac-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
544         * platform/mac/compositing/contents-format/subpixel-antialiased-text-configs-antialiasing-style-expected.txt:
545         * platform/mac/compositing/contents-format/subpixel-antialiased-text-configs-expected.txt:
546         * platform/mac/compositing/contents-format/subpixel-antialiased-text-images-expected.txt:
547         * platform/mac/compositing/contents-format/subpixel-antialiased-text-traversal-expected.txt:
548         * platform/mac/compositing/contents-format/subpixel-antialiased-text-visibility-expected.txt:
549         * platform/mac/compositing/contents-opaque/control-layer-expected.txt:
550         * platform/mac/compositing/geometry/composited-in-columns-expected.txt:
551         * platform/mac/compositing/iframes/invisible-nested-iframe-show-expected.txt:
552         * platform/mac/compositing/layer-creation/overlap-animation-container-expected.txt:
553         * platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt:
554         * platform/mac/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt:
555         * platform/mac/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
556         * platform/mac/compositing/tiling/backface-preserve-3d-tiled-expected.txt:
557         * platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt:
558         * platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
559         * platform/mac/compositing/visibility/visibility-image-layers-dynamic-expected.txt:
560         * platform/mac/compositing/visible-rect/2d-transformed-expected.txt:
561         * platform/mac/compositing/visible-rect/3d-transform-style-expected.txt:
562         * platform/mac/compositing/visible-rect/3d-transformed-expected.txt:
563         * platform/mac/compositing/visible-rect/animated-expected.txt:
564         * platform/mac/compositing/visible-rect/animated-from-none-expected.txt:
565         * platform/mac/compositing/visible-rect/clipped-visible-rect-expected.txt:
566         * platform/mac/compositing/visible-rect/flipped-preserve-3d-expected.txt:
567         * platform/mac/compositing/visible-rect/iframe-and-layers-expected.txt:
568         * platform/mac/compositing/visible-rect/nested-transform-expected.txt:
569         * tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt:
570         * tiled-drawing/scrolling/frames/fixed-inside-frame-expected.txt:
571         * tiled-drawing/tile-coverage-iframe-to-zero-coverage-expected.txt:
572
573 2017-12-13  Daniel Bates  <dabates@apple.com>
574
575         Add more auto fill button types
576         https://bugs.webkit.org/show_bug.cgi?id=180651
577         <rdar://problem/35891125>
578         And
579         <rdar://problem/35977943>
580
581         Add macOS El Capitan-specific and Windows expected results. I included results from the Apple Windows bot
582         as a baseline. The results are incorrect as they render the password field text using bullets instead of
583         plain text. Further investigation required.
584
585         * platform/mac-elcapitan/fast/forms/auto-fill-button/input-strong-password-auto-fill-button-expected.txt: Added.
586         * platform/win/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Added.
587         * platform/win/fast/forms/auto-fill-button/input-strong-password-auto-fill-button-expected.txt: Added.
588
589 2017-12-13  Joseph Pecoraro  <pecoraro@apple.com>
590
591         REGRESSION: Web Inspector: Opening inspector crashes page if there are empty resources
592         https://bugs.webkit.org/show_bug.cgi?id=180787
593         <rdar://problem/35934838>
594
595         Reviewed by Brian Burg.
596
597         * inspector/page/resources/empty.css: Added.
598         * inspector/page/resources/empty.js: Added.
599         * inspector/page/empty-or-missing-resources-expected.txt: Added.
600         * inspector/page/empty-or-missing-resources.html: Added.
601         Test no crashes inspecting a page with empty/missing resources.
602         Previously the test would crash.
603
604         * inspector/canvas/recording-webgl-snapshots.html:
605         * inspector/canvas/resources/create-context-utilities.js:
606         * inspector/canvas/resources/recording-utilities.js:
607         * inspector/css/getAllStyleSheets.html:
608         * inspector/css/stylesheet-events-basic.html:
609         * inspector/css/stylesheet-events-imports.html:
610         * inspector/css/stylesheet-events-multiple-documents.html:
611         * inspector/worker/console-basic.html:
612         * inspector/worker/debugger-scripts.html:
613         * inspector/worker/resources-in-worker.html:
614         * inspector/worker/runtime-basic.html:
615         * inspector/worker/worker-create-and-terminate.html:
616         Promote sanitizeURL to a TestUtility function since it is common.
617
618 2017-12-13  Daniel Bates  <dabates@apple.com>
619
620         Add more auto fill button types
621         https://bugs.webkit.org/show_bug.cgi?id=180651
622         <rdar://problem/35891125>
623         And
624         <rdar://problem/35977943>
625
626         Update expected results. I included results from the GTK bot as a baseline. The results are incorrect as they
627         render the password field text using bullets instead of plain text. This likely indicates that the bots did not
628         regenerate the user-agent style sheet.
629
630         * platform/gtk/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Added.
631         * platform/gtk/fast/forms/auto-fill-button/input-strong-password-auto-fill-button-expected.txt: Added.
632         * platform/ios/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt:
633         * platform/ios/fast/forms/auto-fill-button/input-strong-password-auto-fill-button-expected.txt:
634         * platform/mac/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt:
635         * platform/mac/fast/forms/auto-fill-button/input-strong-password-auto-fill-button-expected.txt:
636
637 2017-12-13  Matt Lewis  <jlewis3@apple.com>
638
639         Marked security/contentSecurityPolicy/plugins-types-allows-youtube-plugin-replacement.html as flaky.
640         https://bugs.webkit.org/show_bug.cgi?id=173742
641
642         Unreviewed test gardening
643
644         * platform/mac-wk2/TestExpectations:
645
646 2017-12-13  Devin Rousso  <webkit@devinrousso.com>
647
648         Web Inspector: add instrumentation for ImageBitmapRenderingContext
649         https://bugs.webkit.org/show_bug.cgi?id=180736
650
651         Reviewed by Joseph Pecoraro.
652
653         * inspector/canvas/context-attributes-expected.txt:
654         * inspector/canvas/context-attributes.html:
655         * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added.
656         * inspector/canvas/create-context-bitmaprenderer.html: Added.
657         * inspector/canvas/recording-2d-expected.txt:
658         * inspector/canvas/recording-2d.html:
659         * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added.
660         * inspector/canvas/requestContent-bitmaprenderer.html: Added.
661         * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added.
662         * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added.
663
664 2017-12-13  Daniel Bates  <dabates@apple.com>
665
666         Add more auto fill button types
667         https://bugs.webkit.org/show_bug.cgi?id=180651
668         <rdar://problem/35891125>
669         And
670         <rdar://problem/35977943>
671
672         Reviewed by Brent Fulgham.
673
674         * fast/forms/auto-fill-button/input-autofilled-disabled-strong-password-auto-fill-button-expected.html: Added.
675         * fast/forms/auto-fill-button/input-autofilled-disabled-strong-password-auto-fill-button.html: Added.
676         * fast/forms/auto-fill-button/input-autofilled-readonly-strong-password-auto-fill-button-expected.html: Added.
677         * fast/forms/auto-fill-button/input-autofilled-readonly-strong-password-auto-fill-button.html: Added.
678         * fast/forms/auto-fill-button/input-disabled-strong-password-and-strong-confirmation-password-auto-fill-buttons-expected.html: Added.
679         * fast/forms/auto-fill-button/input-disabled-strong-password-and-strong-confirmation-password-auto-fill-buttons.html: Added.
680         * fast/forms/auto-fill-button/input-readonly-strong-password-and-strong-confirmation-password-auto-fill-buttons-expected.html: Added.
681         * fast/forms/auto-fill-button/input-readonly-strong-password-and-strong-confirmation-password-auto-fill-buttons.html: Added.
682         * fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button.html: Added.
683         * fast/forms/auto-fill-button/input-strong-password-auto-fill-button.html: Added.
684         * platform/ios/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Added.
685         * platform/ios/fast/forms/auto-fill-button/input-strong-password-auto-fill-button-expected.txt: Added.
686         * platform/mac/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Added.
687         * platform/mac/fast/forms/auto-fill-button/input-strong-password-auto-fill-button-expected.txt: Added.
688
689 2017-12-13  Zalan Bujtas  <zalan@apple.com>
690
691         RenderImage can be destroyed even before setting the style on it.
692         https://bugs.webkit.org/show_bug.cgi?id=180767
693         <rdar://problem/33965995>
694
695         Reviewed by Simon Fraser.
696
697         * fast/images/crash-when-image-renderer-is-destroyed-before-calling-initializeStyle-expected.txt: Added.
698         * fast/images/crash-when-image-renderer-is-destroyed-before-calling-initializeStyle.html: Added.
699
700 2017-12-13  Matt Lewis  <jlewis3@apple.com>
701
702         Marked accessibility/mac/html5-input-number.html as flaky on macOS.
703         https://bugs.webkit.org/show_bug.cgi?id=180560
704
705         Unreviewed test gardening.
706
707         * platform/mac/TestExpectations:
708
709 2017-12-13  Matt Lewis  <jlewis3@apple.com>
710
711         Removed debug only expectations from platform/ios/ios/plugin/youtube-flash-plugin-iframe.html
712         https://bugs.webkit.org/show_bug.cgi?id=163362
713
714         Unreviewed test gardening.
715
716         * platform/ios-wk2/TestExpectations:
717
718 2017-12-13  Matt Lewis  <jlewis3@apple.com>
719
720         Updated expectations for contentextension tests to be flaky.
721         https://bugs.webkit.org/show_bug.cgi?id=162942
722
723         Unreviewed test gardening.
724
725         * platform/mac-wk2/TestExpectations:
726
727 2017-12-13  Antoine Quint  <graouts@apple.com>
728
729         [Web Animations] Implement the "updating the finished state" procedure
730         https://bugs.webkit.org/show_bug.cgi?id=180743
731         <rdar://problem/36017232>
732
733         Reviewed by Simon Fraser.
734
735         Rebase some WPT expectations with minor progressions due to exposing the "onfinish" property.
736
737         * http/wpt/web-animations/interfaces/Animation/idlharness-expected.txt:
738
739 2017-12-13  Matt Lewis  <jlewis3@apple.com>
740
741         Updated Expectations for http/tests/cache/disk-cache/disk-cache-204-status-code.html
742         https://bugs.webkit.org/show_bug.cgi?id=162685
743
744         Unreviewed test gardening.
745
746         * platform/mac-wk2/TestExpectations:
747
748 2017-12-13  Andy Estes  <aestes@apple.com>
749
750         [Payment Request] Remove ApplePayPaymentMethodUpdateEvent and use PaymentDetailsModifiers instead
751         https://bugs.webkit.org/show_bug.cgi?id=180737
752         <rdar://problem/36013152>
753
754         Reviewed by Brady Eidson.
755
756         * http/tests/ssl/applepay/ApplePayPaymentDetailsModifier.https-expected.txt: Added.
757         * http/tests/ssl/applepay/ApplePayPaymentDetailsModifier.https.html: Added.
758         * http/tests/ssl/applepay/ApplePayPaymentMethodUpdateEvent.https-expected.txt: Removed.
759         * http/tests/ssl/applepay/ApplePayPaymentMethodUpdateEvent.https.html: Removed.
760
761 2017-12-13  Matt Lewis  <jlewis3@apple.com>
762
763         Added missing expectation file for fast/text/user-installed-fonts/shadow-postscript-family.html
764         https://bugs.webkit.org/show_bug.cgi?id=180062
765
766         Unreviewed test gardening.
767
768         * platform/ios/TestExpectations:
769
770 2017-12-13  Ms2ger  <Ms2ger@igalia.com>
771
772         [GTK][WPE] Test gardening
773         https://bugs.webkit.org/show_bug.cgi?id=180751
774
775         Unreviewed test gardening.
776
777         * platform/gtk/TestExpectations:
778         * platform/gtk/http/tests/inspector/network/fetch-response-body-expected.txt:
779         * platform/gtk/http/tests/inspector/network/xhr-response-body-expected.txt:
780         * platform/gtk/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte-expected.txt: Added.
781         * platform/wpe/TestExpectations:
782         * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt: Added.
783         * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt: Added.
784         * platform/wpe/imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte-expected.txt: Added.
785
786 2017-12-13  Konstantin Tokarev  <annulen@yandex.ru>
787
788         Unreviewed, rolling out r179000.
789
790         There are tests failing in 32-bits and Debug builds
791
792         Reverted changeset:
793
794         https://trac.webkit.org/changeset/179000
795
796 2017-12-12  Youenn Fablet  <youenn@apple.com>
797
798         getUserMedia is resolving before the document knows it is capturing
799         https://bugs.webkit.org/show_bug.cgi?id=180699
800
801         Reviewed by Eric Carlson.
802
803         * webrtc/video.html: Adding a check that document is capturing within getUserMedia promise resolution callback.
804         Adding this check without the changes to WebCore makes the test flaky, sometimes the promise resolution happens
805         after document state is updated.
806
807 2017-12-12  John Wilander  <wilander@apple.com>
808
809         Storage Access API: Implement frame-specific access in the network storage session layer
810         https://bugs.webkit.org/show_bug.cgi?id=180679
811         <rdar://problem/35982116>
812
813         Reviewed by Alex Christensen.
814
815         Note that the expected results for
816         request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-and-try-access-from-right-frame.html
817         accepts the missing part where document.cookie is still partitioned
818         after storage access has been granted. Follow-up work tracked in
819         https://bugs.webkit.org/show_bug.cgi?id=180682.
820
821         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-and-try-access-from-right-frame-expected.txt: Added.
822         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-and-try-access-from-right-frame.html: Added.
823         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-but-try-access-from-wrong-frame-expected.txt: Copied from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-expected.txt.
824         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-but-try-access-from-wrong-frame.html: Copied from LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction.html.
825         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-expected.txt: Removed.
826         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction.html: Removed.
827         * platform/mac-wk2/TestExpectations:
828
829 2017-12-12  Brian Burg  <bburg@apple.com>
830
831         Web Inspector: support async setup() and async teardown() in AsyncTestSuite
832         https://bugs.webkit.org/show_bug.cgi?id=180626
833
834         Reviewed by Timothy Hatcher.
835
836         Update tests to cover async setup() and async teardown() in the case
837         of success, runtime failure, and explicit failure.
838
839         * inspector/unit-tests/async-test-suite-expected.txt:
840         * inspector/unit-tests/async-test-suite.html:
841
842 2017-12-12  Brian Burg  <bburg@apple.com>
843
844         Web Inspector: SyncTestSuite should complain if passed an async setup/test/teardown function
845         https://bugs.webkit.org/show_bug.cgi?id=180717
846
847         Reviewed by Devin Rousso.
848
849         Add new test cases for more strict requirements for test case arguments.
850
851         * inspector/unit-tests/sync-test-suite-expected.txt:
852         * inspector/unit-tests/sync-test-suite.html:
853
854 2017-12-12  Antoine Quint  <graouts@apple.com>
855
856         [Web Animations] Expose promises on Animation interface
857         https://bugs.webkit.org/show_bug.cgi?id=180710
858         <rdar://problem/36000604>
859
860         Reviewed by Dean Jackson.
861
862         Rebase some WPT expectations with progressions due to exposing the "ready" and "finished" promises.
863
864         * http/wpt/web-animations/interfaces/Animation/idlharness-expected.txt:
865         * http/wpt/web-animations/timing-model/animations/current-time-expected.txt:
866
867 2017-12-12  Myles C. Maxfield  <mmaxfield@apple.com>
868
869         IPC code doesn't understand NSDictionaries with non-NSString keys
870         https://bugs.webkit.org/show_bug.cgi?id=180307
871         <rdar://problem/35812382>
872
873         Reviewed by Alex Christensen.
874
875         * fast/text/variations/ipc-expected.txt: Added.
876         * fast/text/variations/ipc.html: Added.
877
878 2017-12-12  Brian Burg  <bburg@apple.com>
879
880         Web Inspector: add InspectorTest.expectException() and use it
881         https://bugs.webkit.org/show_bug.cgi?id=180719
882
883         Reviewed by Matt Baker.
884
885         * inspector/dom/highlightNode-expected.txt:
886         * inspector/dom/highlightNode.html:
887         Adopt the new helper method.
888
889         * inspector/unit-tests/test-harness-expect-functions-async-expected.txt: Added.
890         * inspector/unit-tests/test-harness-expect-functions-async.html: Added.
891         Add a separate async test suite for async expect* functions.
892
893         * inspector/unit-tests/test-harness-expect-functions-expected.txt:
894         * inspector/unit-tests/test-harness-expect-functions.html:
895         Standardize the naming for these two suites.
896
897 2017-12-12  Myles C. Maxfield  <mmaxfield@apple.com>
898
899         REGRESSION (Safari 11): custom <font-face> tag crashes a page
900         https://bugs.webkit.org/show_bug.cgi?id=177848
901
902         Reviewed by Darin Adler.
903
904         * svg/text/font-style-keyword-expected.txt: Added.
905         * svg/text/font-style-keyword.html: Added.
906
907 2017-12-12  Antoine Quint  <graouts@apple.com>
908
909         [Web Animations] Implement the playState property on Animation
910         https://bugs.webkit.org/show_bug.cgi?id=180711
911         <rdar://problem/36000982>
912
913         Reviewed by Dean Jackson.
914
915         Rebase some WPT expectations with progressions due to exposing the "playState" and "pending" properties.
916
917         * http/wpt/web-animations/interfaces/Animation/constructor-expected.txt:
918         * http/wpt/web-animations/interfaces/Animation/idlharness-expected.txt:
919         * http/wpt/web-animations/timing-model/animations/set-the-timeline-of-an-animation-expected.txt:
920
921 2017-12-12  Youenn Fablet  <youenn@apple.com>
922
923         Navigation requests should use navigate fetch mode
924         https://bugs.webkit.org/show_bug.cgi?id=179808
925
926         Reviewed by Chris Dumez.
927
928         * http/tests/workers/service/basic-fetch.https-expected.txt:
929         * http/tests/workers/service/resources/basic-fetch-worker.js:
930         * http/tests/workers/service/resources/basic-fetch.js:
931         (async.test):
932
933 2017-12-12  Youenn Fablet  <youenn@apple.com>
934
935         Rebasing/unskipping some WPT service worker tests
936         https://bugs.webkit.org/show_bug.cgi?id=180705
937
938         Unreviewed.
939
940         * TestExpectations:
941
942 2017-12-12  Simon Fraser  <simon.fraser@apple.com>
943
944         HTML-page with <object type="image/svg+xml" data="foo.svg"> often is blank
945         https://bugs.webkit.org/show_bug.cgi?id=180524
946         <rdar://problem/35920554>
947
948         Reviewed by Antti Koivisto.
949
950         Adjust a test where the new layout is triggering scrollbar creation.
951
952         * fast/dom/iframe-inner-size-scaling-expected.txt:
953         * fast/dom/iframe-inner-size-scaling.html:
954         * fast/dom/iframe-innerWidth-expected.txt: Added.
955         * fast/dom/iframe-innerWidth.html: Added.
956
957 2017-12-11  Antoine Quint  <graouts@apple.com>
958
959         [Web Animations] Enqueue and dispatch animation events
960         https://bugs.webkit.org/show_bug.cgi?id=180657
961         <rdar://problem/35970103>
962
963         Reviewed by Chris Dumez.
964
965         Rebase Web Platform Tests with some progressions based on the IDL changes. Progressions due
966         to dispatching events will become apparent when the next patch, where we dispatch actual
967         animation playback events, lands.
968
969         * http/wpt/web-animations/interfaces/Animation/idlharness-expected.txt:
970
971 2017-12-12  Youenn Fablet  <youenn@apple.com>
972
973         Allow AudioContext to start when getUserMedia is on
974         https://bugs.webkit.org/show_bug.cgi?id=180680
975
976         Reviewed by Eric Carlson.
977
978         * webrtc/getUserMedia-webaudio-autoplay-expected.txt: Added.
979         * webrtc/getUserMedia-webaudio-autoplay.html: Added.
980
981 2017-12-12  Ms2ger  <Ms2ger@igalia.com>
982
983         [WPE] Enable some wpt tests.
984         https://bugs.webkit.org/show_bug.cgi?id=180695
985
986         Unreviewed test gardening.
987
988         * platform/wpe/TestExpectations:
989
990 2017-12-12  Ms2ger  <Ms2ger@igalia.com>
991
992         [GTK] Update some test expectations.
993         https://bugs.webkit.org/show_bug.cgi?id=180655
994
995         Unreviewed test gardening.
996
997         * platform/gtk/TestExpectations:
998           - Add bug numbers.
999           - Remove failure expectations in favour of accurate baselines.
1000         * platform/gtk/imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub-expected.txt:
1001           Added to account for the fact that libsoup is more lenient about data URLs.
1002         * platform/gtk/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-video-expected.txt:
1003           Added to account for video codec support depending on the platform.
1004         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt:
1005           Added to account for whitespace differences in the dumped output.
1006         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-elements-filter-expected.txt:
1007           Added to account for whitespace differences in the dumped output.
1008         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/telephone-expected.txt:
1009           Added to account for whitespace differences in the dumped output.
1010         * platform/mac-wk1/imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub-expected.txt:
1011           Removed; the platform-neutral expectation now matches.
1012
1013 2017-12-12  Ms2ger  <Ms2ger@igalia.com>
1014
1015         Implement {DOMMimeTypeArray, DOMPluginArray}::supportedPropertyNames().
1016         https://bugs.webkit.org/show_bug.cgi?id=180471
1017
1018         Reviewed by Darin Adler.
1019
1020         Remove failure expectation for test that now matches the expectation file.
1021
1022         * platform/gtk/TestExpectations:
1023
1024 2017-12-11  Manuel Rego Casasnovas  <rego@igalia.com>
1025
1026         [css-grid] Automatic minimum size is not clamped if min track sizing function is auto
1027         https://bugs.webkit.org/show_bug.cgi?id=180283
1028
1029         Reviewed by Darin Adler.
1030
1031         This patch updates a bunch of tests that were wrong
1032         to follow the new behavior.
1033
1034         * TestExpectations: Now we're passing one WPT test more.
1035         * fast/css-grid-layout/min-height-border-box.html:
1036         * fast/css-grid-layout/min-width-margin-box.html:
1037         * fast/css-grid-layout/percent-of-indefinite-track-size-in-auto.html:
1038         * fast/css-grid-layout/percent-of-indefinite-track-size.html:
1039
1040 2017-12-11  Eric Carlson  <eric.carlson@apple.com>
1041
1042         Web Inspector: Optionally log WebKit log parameters as JSON
1043         https://bugs.webkit.org/show_bug.cgi?id=180529
1044         <rdar://problem/35909462>
1045
1046         Reviewed by Joseph Pecoraro.
1047
1048         * inspector/canvas/recording-2d-expected.txt:
1049         * inspector/canvas/recording-webgl-expected.txt:
1050         * inspector/canvas/recording-webgl-snapshots-expected.txt:
1051
1052 2017-12-11  Chris Dumez  <cdumez@apple.com>
1053
1054         Layout Test http/tests/workers/service/postmessage-after-sw-process-crash.https.html is flaky
1055         https://bugs.webkit.org/show_bug.cgi?id=180659
1056
1057         Reviewed by Youenn Fablet.
1058
1059         Rewrite test so that it is no longer flaky.
1060
1061         * http/tests/workers/service/postmessage-after-sw-process-crash.https-expected.txt:
1062         * http/tests/workers/service/resources/postmessage-after-sw-process-crash-worker.js: Added.
1063         * http/tests/workers/service/resources/postmessage-after-sw-process-crash.js:
1064
1065 2017-12-11  David Quesada  <david_quesada@apple.com>
1066
1067         Turn on ENABLE_APPLICATION_MANIFEST
1068         https://bugs.webkit.org/show_bug.cgi?id=180562
1069         rdar://problem/35924737
1070
1071         Reviewed by Geoffrey Garen.
1072
1073         * platform/ios-wk2/TestExpectations:
1074         * platform/mac-wk2/TestExpectations:
1075
1076 2017-12-11  Dean Jackson  <dino@apple.com>
1077
1078         Add a runtime feature flag for ImageBitmap and OffscreenCanvas
1079         https://bugs.webkit.org/show_bug.cgi?id=180652
1080         <rdar://problem/35969611>
1081
1082         Reviewed by Antoine Quint.
1083
1084         * fast/canvas/offscreen-enabled-expected.txt: Added.
1085         * fast/canvas/offscreen-enabled.html: Added.
1086
1087 2017-12-11  Ms2ger  <Ms2ger@igalia.com>
1088
1089         [WPE] Enable most wpt html tests.
1090         https://bugs.webkit.org/show_bug.cgi?id=180650
1091
1092         Unreviewed test gardening.
1093
1094         * platform/wpe/TestExpectations:
1095         * platform/wpe/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-showModal-expected.txt:
1096           Added: same as GTK; whitespace-only difference with the generic expectation file.
1097         * platform/wpe/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange-expected.txt:
1098           Added: whitespace-only difference with the generic expectation file.
1099         * platform/wpe/imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator-pluginarray-expected.txt:
1100           Added: some subtests pass because the plugin array does not contain any
1101           plugins on WPE, and issues with the actual elements of the array can
1102           not be detected.
1103
1104 2017-12-11  Zan Dobersek  <zdobersek@igalia.com>
1105
1106         Unreviewed, rolling out r225737.
1107
1108         Breaks Git clones of the repository, including EWSs and webkitbot.
1109
1110         Reverted changeset:
1111
1112         "Add a script to automate W3c web-platform-tests pull request
1113         creations from WebKit commits"
1114         https://bugs.webkit.org/show_bug.cgi?id=169462
1115         https://trac.webkit.org/changeset/225737
1116
1117 2017-12-11  Manuel Rego Casasnovas  <rego@igalia.com>
1118
1119         REGRESSION(r221931): Row stretch doesn't work for grid container with min-height
1120         https://bugs.webkit.org/show_bug.cgi?id=180287
1121
1122         Reviewed by Darin Adler.
1123
1124         * TestExpectations: Now layout-algorithm/grid-stretch-respects-min-size-001.html
1125         from WPT is passing, so this patch removes it from TestExpectations file.
1126
1127 2017-12-10  Minsheng Liu  <lambda@liu.ms>
1128
1129         Incorrect bounds inside <mover>/<munder> when a stretchy operator is present
1130         https://bugs.webkit.org/show_bug.cgi?id=179682
1131
1132         Reviewed by Frédéric Wang.
1133
1134         Added test case: mathml/opentype/munderover-stretch-width.html
1135
1136         Updated test case: mathml/opentype/opentype-stretchy-horizontal
1137         We update the test file to make sure the stretchy <mo> has zero lspace/rspace.
1138         Expected results for macOS and iOS are included.
1139
1140         * mathml/opentype/munderover-stretch-width-expected.txt: Added.
1141         * mathml/opentype/munderover-stretch-width.html: Added.
1142         * mathml/opentype/opentype-stretchy-horizontal.html:
1143         * platform/gtk/mathml/opentype/opentype-stretchy-horizontal-expected.txt: Removed.
1144         * platform/ios/mathml/opentype/opentype-stretchy-horizontal-expected.png:
1145         * platform/ios/mathml/opentype/opentype-stretchy-horizontal-expected.txt:
1146         * platform/mac/mathml/opentype/opentype-stretchy-horizontal-expected.png:
1147         * platform/mac/mathml/opentype/opentype-stretchy-horizontal-expected.txt:
1148         * platform/win/mathml/opentype/opentype-stretchy-horizontal-expected.txt: Removed.
1149
1150 2017-12-09  Darin Adler  <darin@apple.com>
1151
1152         Add test demonstrating leaks that happen when we create reference cycles with DOM objects
1153         https://bugs.webkit.org/show_bug.cgi?id=180323
1154
1155         Reviewed by Filip Pizlo.
1156
1157         * fast/dom/reference-cycle-leaks-expected.txt: Added.
1158         * fast/dom/reference-cycle-leaks.html: Added.
1159
1160 2017-12-09  Ryosuke Niwa  <rniwa@webkit.org>
1161
1162         iOS: Crash in Document::updateLayout() via Document::processViewport
1163         https://bugs.webkit.org/show_bug.cgi?id=180619
1164         <rdar://problem/35717575>
1165
1166         Reviewed by Zalan Bujtas.
1167
1168         Added a regression test for the crash.
1169
1170         * media/ios/viewport-change-with-video-expected.txt: Added.
1171         * media/ios/viewport-change-with-video.html: Added.
1172
1173 2017-12-08  Zalan Bujtas  <zalan@apple.com>
1174
1175         Document::updateLayout() could destroy current frame.
1176         https://bugs.webkit.org/show_bug.cgi?id=180525
1177         <rdar://problem/35906836>
1178
1179         Reviewed by Simon Fraser.
1180
1181         * fast/frames/crash-when-iframe-is-remove-in-eventhandler-expected.txt: Added.
1182         * fast/frames/crash-when-iframe-is-remove-in-eventhandler.html: Added.
1183
1184 2017-12-08  Youenn Fablet  <youenn@apple.com>
1185
1186         Service Worker should use a correct user agent
1187         https://bugs.webkit.org/show_bug.cgi?id=180566
1188         <rdar://problem/35926295>
1189
1190         Reviewed by Chris Dumez.
1191
1192         * http/wpt/service-workers/useragent-worker.js: Added.
1193         (async.doTest):
1194         * http/wpt/service-workers/useragent.https-expected.txt: Added.
1195         * http/wpt/service-workers/useragent.https.html: Added.
1196
1197 2017-12-07  Simon Fraser  <simon.fraser@apple.com>
1198
1199         Wrong caret position for input field inside a fixed position parent on iOS 11
1200         https://bugs.webkit.org/show_bug.cgi?id=176896
1201         rdar://problem/33726145
1202
1203         Reviewed by Tim Horton.
1204         
1205         Test that focuses an input inside position:fixed, then moves focus to the next
1206         input. This was the most reliable way I could find of triggering the bug.
1207         The test dumps the caret rect.
1208
1209         * fast/visual-viewport/ios/caret-after-focus-in-fixed-expected.txt: Added.
1210         * fast/visual-viewport/ios/caret-after-focus-in-fixed.html: Added.
1211
1212 2017-12-06  Simon Fraser  <simon.fraser@apple.com>
1213
1214         When the iPhone keyboard is up, sometimes we never commit a stable update and re-show the caret
1215         https://bugs.webkit.org/show_bug.cgi?id=180498
1216
1217         Reviewed by Tim Horton.
1218
1219         Test that completes once a stable update is received after showing the keyboard.
1220
1221         * fast/visual-viewport/ios/stable-update-with-keyboard-expected.txt: Added.
1222         * fast/visual-viewport/ios/stable-update-with-keyboard.html: Added.
1223
1224 2017-12-08  Daniel Bates  <dabates@apple.com>
1225
1226         Remove unnecessary prefix from AutoFillButtonType enumerators
1227         https://bugs.webkit.org/show_bug.cgi?id=180512
1228
1229         Reviewed by Tim Horton.
1230
1231         * accessibility/auto-fill-crash.html:
1232         * accessibility/auto-fill-types.html:
1233         * fast/forms/auto-fill-button/hide-auto-fill-button-when-input-becomes-disabled.html:
1234         * fast/forms/auto-fill-button/hide-auto-fill-button-when-input-becomes-readonly.html:
1235         * fast/forms/auto-fill-button/input-auto-fill-button.html:
1236         * fast/forms/auto-fill-button/input-contacts-auto-fill-button.html:
1237         * fast/forms/auto-fill-button/input-disabled-auto-fill-button.html:
1238         * fast/forms/auto-fill-button/input-readonly-auto-fill-button.html:
1239         * fast/forms/auto-fill-button/input-readonly-non-empty-auto-fill-button.html:
1240         * fast/forms/auto-fill-button/mouse-down-input-mouse-release-auto-fill-button.html:
1241         * fast/forms/auto-fill-button/show-correct-auto-fill-button-when-auto-fill-button-type-changes-expected.html:
1242         * fast/forms/auto-fill-button/show-correct-auto-fill-button-when-auto-fill-button-type-changes.html:
1243
1244 2017-12-08  Dean Jackson  <dino@apple.com>
1245
1246         Implement transferToImageBitmap for WebGL offscreen canvas objects
1247         https://bugs.webkit.org/show_bug.cgi?id=180603
1248         <rdar://problem/34147143>
1249
1250         Reviewed by Sam Weinig.
1251
1252         * http/wpt/offscreen-canvas/transferToImageBitmap-empty-expected.txt: Renamed from LayoutTests/http/wpt/offscreen-canvas/transferToImageBitmap-expected.txt.
1253         * http/wpt/offscreen-canvas/transferToImageBitmap-empty.html: Renamed from LayoutTests/http/wpt/offscreen-canvas/transferToImageBitmap.html.
1254         * http/wpt/offscreen-canvas/transferToImageBitmap-webgl-expected.html: Added.
1255         * http/wpt/offscreen-canvas/transferToImageBitmap-webgl.html: Added.
1256
1257 2017-12-08  Youenn Fablet  <youenn@apple.com>
1258
1259         Service Worker should use a correct SessionID
1260         https://bugs.webkit.org/show_bug.cgi?id=180585
1261
1262         Reviewed by Alex Christensen.
1263
1264         * http/tests/workers/service/serviceworker-private-browsing-worker.js: Added.
1265         (async):
1266         * http/tests/workers/service/serviceworker-private-browsing.https-expected.txt: Added.
1267         * http/tests/workers/service/serviceworker-private-browsing.https.html: Added.
1268
1269 2017-12-08  Youenn Fablet  <youenn@apple.com>
1270
1271         FetchResponse should keep unfiltered ResourceResponse so that it can be used in Service Worker
1272         https://bugs.webkit.org/show_bug.cgi?id=179641
1273         <rdar://problem/35923570>
1274
1275         Reviewed by Alex Christensen.
1276
1277         * TestExpectations:
1278
1279 2017-12-08  Konstantin Tokarev  <annulen@yandex.ru>
1280
1281         [python] Replace print operator with print() function for python3 compatibility
1282         https://bugs.webkit.org/show_bug.cgi?id=180592
1283
1284         Reviewed by Michael Catanzaro.
1285
1286         * html5lib/generate-test-wrappers.py:
1287         (_remove_stale_tests):
1288         * http/tests/websocket/tests/hybi/bad-handshake-crash_wsh.py:
1289         (web_socket_do_extra_handshake):
1290         * http/tests/websocket/tests/hybi/handshake-fail-by-more-accept-header_wsh.py:
1291         (web_socket_do_extra_handshake):
1292         * http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header_wsh.py:
1293         (web_socket_do_extra_handshake):
1294         * http/tests/websocket/tests/hybi/handshake-fail-by-no-cr_wsh.py:
1295         (web_socket_do_extra_handshake):
1296         * http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header_wsh.py:
1297         (web_socket_do_extra_handshake):
1298
1299 2017-12-08  Ms2ger  <Ms2ger@igalia.com>
1300
1301         [GTK] Rebaseline tables/mozilla/bugs/bug32205-5.html.
1302         https://bugs.webkit.org/show_bug.cgi?id=169010
1303
1304         Unreviewed test gardening.
1305
1306         The numbers changed by a few pixels in r213149.
1307
1308         * platform/gtk/TestExpectations:
1309         * platform/gtk/tables/mozilla/bugs/bug32205-5-expected.txt:
1310
1311 2017-12-07  Ryosuke Niwa  <rniwa@webkit.org>
1312
1313         iOS: Many AMP pages hit a release assertion inside Document::updateStyleIfNeeded
1314         https://bugs.webkit.org/show_bug.cgi?id=180550
1315
1316         Reviewed by Simon Fraser.
1317
1318         Add a test for r225647.
1319
1320         * fast/frames/flattening/non-flattening-frame-inside-flattening-iframe-crash-expected.txt: Added.
1321         * fast/frames/flattening/non-flattening-frame-inside-flattening-iframe-crash.html: Added.
1322
1323 2017-12-07  Eric Carlson  <eric.carlson@apple.com>
1324
1325         Simplify log channel configuration UI
1326         https://bugs.webkit.org/show_bug.cgi?id=180527
1327         <rdar://problem/35908382>
1328
1329         Reviewed by Joseph Pecoraro.
1330
1331         * inspector/console/webcore-logging.html: Updated test for new results.
1332
1333 2017-12-07  Oleksandr Skachkov  <gskachkov@gmail.com>
1334
1335         WebAssembly: sending module to iframe fails
1336         https://bugs.webkit.org/show_bug.cgi?id=179263
1337
1338         Reviewed by JF Bastien.
1339
1340         * platform/ios-simulator/TestExpectations:
1341         * platform/win/TestExpectations:
1342         * resources/wasm-builder.js: Renamed from LayoutTests/workers/wasm-resources/builder.js.
1343         * wasm/iframe-parent-postmessage-expected.txt: Added.
1344         * wasm/iframe-parent-postmessage.html: Added.
1345         * wasm/iframe-postmessage-expected.txt: Added.
1346         * wasm/iframe-postmessage.html: Added.
1347         * wasm/resources/frame-parent.html: Added.
1348         * wasm/resources/frame.html: Added.
1349         * wasm/resources/load_wasm.js: Added.
1350         (createWasmModule):
1351         * wasm/window-postmessage-expected.txt: Added.
1352         * wasm/window-postmessage.html: Added.
1353         * workers/wasm-mem-post-message.html:
1354
1355 2017-12-07  Matt Lewis  <jlewis3@apple.com>
1356
1357         Skipped imported/w3c/web-platform-tests/XMLHttpRequest/event-upload-progress-crossorigin.htm on macOS WK1
1358         https://bugs.webkit.org/show_bug.cgi?id=180554
1359         https://bugs.webkit.org/show_bug.cgi?id=180553
1360
1361         Unreviewed test gardening.
1362
1363         * platform/mac-wk1/TestExpectations:
1364
1365 2017-12-07  Alex Christensen  <achristensen@webkit.org>
1366
1367         Always synchronously continue with fragment navigations
1368         https://bugs.webkit.org/show_bug.cgi?id=180544
1369         <rdar://problem/34815986> and <rdar://problem/35126690>
1370
1371         Reviewed by Geoffrey Garen.
1372
1373         * http/tests/dom/document-fragment-expected.txt: Added.
1374         * http/tests/dom/document-fragment.html: Added.
1375         Add a test that verifies that the fragment of the document is set immediately during a fragment navigation,
1376         even if decidePolicyForNavigationAction is called asynchronously.  Also verify the order of various events
1377         associated with the navigation.
1378
1379 2017-12-07  Youenn Fablet  <youenn@apple.com>
1380
1381         Activate IDB and WebSockets in service workers
1382         https://bugs.webkit.org/show_bug.cgi?id=180534
1383
1384         Reviewed by Brady Eidson.
1385
1386         * http/tests/workers/service/resources/serviceworker-idb-worker.js: Added.
1387         * http/tests/workers/service/resources/serviceworker-websocket-worker.js: Added.
1388         * http/tests/workers/service/serviceworker-idb.https-expected.txt: Added.
1389         * http/tests/workers/service/serviceworker-idb.https.html: Added.
1390         * http/tests/workers/service/serviceworker-websocket.https-expected.txt: Added.
1391         * http/tests/workers/service/serviceworker-websocket.https.html: Added.
1392
1393 2017-12-07  Jer Noble  <jer.noble@apple.com>
1394
1395         [EME] Support the 'encrypted' event for FPS encrypted streams
1396         https://bugs.webkit.org/show_bug.cgi?id=180480
1397
1398         Reviewed by Eric Carlson.
1399
1400         * platform/mac/TestExpectations:
1401         * platform/mac/media/encrypted-media/content/fps-cbcs.mp4: Added.
1402         * platform/mac/media/encrypted-media/fps-encrypted-event-expected.txt: Added.
1403         * platform/mac/media/encrypted-media/fps-encrypted-event.html: Added.
1404
1405 2017-12-07  Myles C. Maxfield  <mmaxfield@apple.com>
1406
1407         [Cocoa] Add SPI to disallow user-installed fonts
1408         https://bugs.webkit.org/show_bug.cgi?id=180062
1409         <rdar://problem/35042408>
1410
1411         Reviewed by Simon Fraser.
1412
1413         * fast/text/user-installed-font-expected.html: Added.
1414         * fast/text/user-installed-font.html: Added.
1415         * fast/text/user-installed-fonts/disable-expected-mismatch.html: Added.
1416         * fast/text/user-installed-fonts/disable.html: Added.
1417         * fast/text/user-installed-fonts/shadow-disable-expected-mismatch.html: Added.
1418         * fast/text/user-installed-fonts/shadow-disable.html: Added.
1419         * fast/text/user-installed-fonts/shadow-expected.html: Added.
1420         * fast/text/user-installed-fonts/shadow-family-disable-expected-mismatch.html: Added.
1421         * fast/text/user-installed-fonts/shadow-family-disable.html: Added.
1422         * fast/text/user-installed-fonts/shadow-family-expected.html: Added.
1423         * fast/text/user-installed-fonts/shadow-family.html: Added.
1424         * fast/text/user-installed-fonts/shadow-postscript-disable-expected-mismatch.html: Added.
1425         * fast/text/user-installed-fonts/shadow-postscript-disable.html: Added.
1426         * fast/text/user-installed-fonts/shadow-postscript-expected.html: Added.
1427         * fast/text/user-installed-fonts/shadow-postscript-family-disable-expected-mismatch.html: Added.
1428         * fast/text/user-installed-fonts/shadow-postscript-family-disable.html: Added.
1429         * fast/text/user-installed-fonts/shadow-postscript-family-expected.html: Added.
1430         * fast/text/user-installed-fonts/shadow-postscript-family.html: Added.
1431         * fast/text/user-installed-fonts/shadow-postscript.html: Added.
1432         * fast/text/user-installed-fonts/shadow.html: Added.
1433         * platform/gtk/TestExpectations:
1434         * platform/ios-wk1/TestExpectations:
1435         * platform/ios/TestExpectations:
1436         * platform/mac-wk1/TestExpectations:
1437         * platform/mac/TestExpectations:
1438         * platform/win/TestExpectations:
1439         * platform/wpe/TestExpectations:
1440
1441 2017-12-07  John Wilander  <wilander@apple.com>
1442
1443         Move all tests under http/tests/loading/resourceLoadStatistics/ to http/tests/resourceLoadStatistics/ and remove expected failures
1444         https://bugs.webkit.org/show_bug.cgi?id=180502
1445         <rdar://problem/35891216>
1446
1447         Reviewed by Brent Fulgham.
1448
1449         This change moves all tests under http/tests/loading/resourceLoadStatistics/ to http/tests/resourceLoadStatistics/
1450         and removes expected failures.
1451         The one exception is the full removal of
1452         http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-network-process-crash.html
1453         which never seems to have worked properly. Follow-up work for this is tracked in <rdar://problem/35887722>.
1454
1455         * http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-expected.txt: Removed.
1456         * http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics.html: Removed.
1457         * http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-expected.txt: Removed.
1458         * http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins.html: Removed.
1459         * http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-expected.txt: Removed.
1460         * http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins.html: Removed.
1461         * http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-expected.txt: Removed.
1462         * http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to.html: Removed.
1463         * http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-expected.txt: Removed.
1464         * http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics.html: Removed.
1465         * http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-expected.txt: Removed.
1466         * http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins.html: Removed.
1467         * http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-expected.txt: Removed.
1468         * http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins.html: Removed.
1469         * http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-expected.txt: Removed.
1470         * http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to.html: Removed.
1471         * http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store-expected.txt: Removed.
1472         * http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-expected.txt: Removed.
1473         * http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour.html: Removed.
1474         * http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store.html: Removed.
1475         * http/tests/loading/resourceLoadStatistics/grandfathering-expected.txt: Removed.
1476         * http/tests/loading/resourceLoadStatistics/grandfathering.html: Removed.
1477         * http/tests/loading/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-expected.txt: Removed.
1478         * http/tests/loading/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html: Removed.
1479         * http/tests/loading/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-expected.txt: Removed.
1480         * http/tests/loading/resourceLoadStatistics/non-prevalent-resource-without-user-interaction.html: Removed.
1481         * http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion-expected.txt: Removed.
1482         * http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html: Removed.
1483         * http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-network-process-crash-expected.txt: Removed.
1484         * http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-network-process-crash.html: Removed.
1485             This test is not being added back under http/tests/resourceLoadStatistics/ since it doesn't seem to work.
1486             Follow-up work for this is tracked in <rdar://problem/35887722>.
1487         * http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout-expected.txt: Removed.
1488         * http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout.html: Removed.
1489         * http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction-expected.txt: Removed.
1490         * http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html: Removed.
1491         * http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction-expected.txt: Removed.
1492         * http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-expected.txt: Removed.
1493         * http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout.html: Removed.
1494         * http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction.html: Removed.
1495         * http/tests/loading/resourceLoadStatistics/prevalent-resource-without-user-interaction-expected.txt: Removed.
1496         * http/tests/loading/resourceLoadStatistics/prevalent-resource-without-user-interaction.html: Removed.
1497         * http/tests/loading/resourceLoadStatistics/prune-statistics-expected.txt: Removed.
1498         * http/tests/loading/resourceLoadStatistics/prune-statistics.html: Removed.
1499         * http/tests/loading/resourceLoadStatistics/telemetry-generation-expected.txt: Removed.
1500         * http/tests/loading/resourceLoadStatistics/telemetry-generation.html: Removed.
1501         * http/tests/loading/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction-expected.txt: Removed.
1502         * http/tests/loading/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction.html: Removed.
1503         * http/tests/loading/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-expected.txt: Removed.
1504         * http/tests/loading/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame.html: Removed.
1505         * http/tests/loading/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-expected.txt: Removed.
1506         * http/tests/loading/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html: Removed.
1507         * http/tests/loading/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-expected.txt: Removed.
1508         * http/tests/loading/resourceLoadStatistics/user-interaction-reported-after-website-data-removal.html: Removed.
1509         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-expected.txt.
1510         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics.html.
1511         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-expected.txt.
1512         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins.html.
1513         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-expected.txt.
1514         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins.html.
1515         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-expected.txt.
1516         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to.html.
1517         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-expected.txt.
1518         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics.html.
1519         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-expected.txt.
1520         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins.html.
1521         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-expected.txt.
1522         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins.html.
1523         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-expected.txt.
1524         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to.html.
1525         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store-expected.txt.
1526         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-expected.txt.
1527         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour.html.
1528         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store.html.
1529         * http/tests/resourceLoadStatistics/grandfathering-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/grandfathering-expected.txt.
1530         * http/tests/resourceLoadStatistics/grandfathering.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/grandfathering.html.
1531         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-expected.txt.
1532         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html.
1533         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-expected.txt.
1534         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/non-prevalent-resource-without-user-interaction.html.
1535         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion-expected.txt.
1536         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html.
1537         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout-expected.txt.
1538         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout.html.
1539         * http/tests/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction-expected.txt.
1540         * http/tests/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html.
1541         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction-expected.txt.
1542         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-expected.txt.
1543         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout.html.
1544         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction.html.
1545         * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/prevalent-resource-without-user-interaction-expected.txt.
1546         * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/prevalent-resource-without-user-interaction.html.
1547         * http/tests/resourceLoadStatistics/prune-statistics-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/prune-statistics-expected.txt.
1548         * http/tests/resourceLoadStatistics/prune-statistics.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/prune-statistics.html.
1549         * http/tests/resourceLoadStatistics/resources/get-cookies.php:
1550         * http/tests/resourceLoadStatistics/telemetry-generation-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/telemetry-generation-expected.txt.
1551         * http/tests/resourceLoadStatistics/telemetry-generation.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/telemetry-generation.html.
1552         * http/tests/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction-expected.txt.
1553         * http/tests/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/third-party-cookie-with-and-without-user-interaction.html.
1554         * http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-expected.txt.
1555         * http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame.html.
1556         * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-expected.txt.
1557         * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html.
1558         * http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-expected.txt: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-expected.txt.
1559         * http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal.html: Copied from LayoutTests/http/tests/loading/resourceLoadStatistics/user-interaction-reported-after-website-data-removal.html.
1560         * platform/ios/TestExpectations:
1561             Removed 'loading' directory from path and made sure no tests are expected to fail.
1562             Skipped tests that rely on UIHelper.activateAt() since it doesn't produce a user
1563             gesture that ITP captures on iOS.
1564         * platform/mac-wk2/TestExpectations:
1565             Removed 'loading' directory from path and made sure no tests are expected to fail.
1566         * platform/wk2/TestExpectations:
1567             Removed 'loading' directory from path and made sure no tests are expected to fail.
1568
1569 2017-12-07  David Quesada  <david_quesada@apple.com>
1570
1571         [Web App Manifest] Support display-mode media feature
1572         https://bugs.webkit.org/show_bug.cgi?id=180376
1573         rdar://problem/35837993
1574
1575         Reviewed by Geoffrey Garen.
1576
1577         * applicationmanifest/display-mode-expected.txt: Added.
1578         * applicationmanifest/display-mode-subframe-expected.txt: Added.
1579         * applicationmanifest/display-mode-subframe.html: Added.
1580         * applicationmanifest/display-mode.html: Added.
1581         * applicationmanifest/resources/display-mode-subframe-1.html: Added.
1582         * applicationmanifest/resources/standalone.manifest: Added.
1583
1584 2017-12-07  Jer Noble  <jer.noble@apple.com>
1585
1586         Creating a second AVPlayerItemVideoOutput causes flakey failures
1587         https://bugs.webkit.org/show_bug.cgi?id=177119
1588         <rdar://problem/34507977>
1589
1590         Reviewed by Dean Jackson.
1591
1592         * platform/mac/TestExpectations:
1593
1594 2017-12-07  Jer Noble  <jer.noble@apple.com>
1595
1596         [EME] Support generateRequest() in CDMFairPlayStreaming
1597         https://bugs.webkit.org/show_bug.cgi?id=179752
1598
1599         Reviewed by Eric Carlson.
1600
1601         * platform/mac/TestExpectations:
1602         * platform/mac/media/encrypted-media/fps-createSession-expected.txt: Added.
1603         * platform/mac/media/encrypted-media/fps-createSession.html: Added.
1604         * platform/mac/media/encrypted-media/fps-generateRequest-expected.txt: Added.
1605         * platform/mac/media/encrypted-media/fps-generateRequest.html: Added.
1606
1607 2017-12-07  Ryan Haddad  <ryanhaddad@apple.com>
1608
1609         Unreviewed, rolling out r224931.
1610
1611         This test is no longer in the tree.
1612
1613         Reverted changeset:
1614
1615         "imported/w3c/web-platform-tests/2dcontext/the-canvas-
1616         state/canvas_state_restore_001.htm is an ImageOnlyFailure"
1617         https://bugs.webkit.org/show_bug.cgi?id=179786
1618         https://trac.webkit.org/changeset/224931
1619
1620 2017-12-07  Ms2ger  <Ms2ger@igalia.com>
1621
1622         Update imported/w3c/web-platform-tests/css/css-pseudo-4/marker-font-properties.html from upstream.
1623         https://bugs.webkit.org/show_bug.cgi?id=177362
1624
1625         Unreviewed test gardening.
1626
1627         This makes it pass on GTK and WPE (at least locally).
1628
1629         * platform/gtk/TestExpectations:
1630         * platform/wpe/TestExpectations:
1631
1632 2017-12-07  Ms2ger  <Ms2ger@igalia.com>
1633
1634         [GTK] Enable imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/track-api-texttracks.html.
1635         https://bugs.webkit.org/show_bug.cgi?id=168799
1636
1637         Unreviewed test gardening.
1638
1639         It hasn't failed in half a year (last failure was on r216594). I don't know
1640         what fixed it, but there doesn't seem to be a reason to keep the flaky
1641         annotation.
1642
1643         * platform/gtk/TestExpectations:
1644
1645 2017-12-07  Manuel Rego Casasnovas  <rego@igalia.com>
1646
1647         [css-grid] Remove duplicated tests that are now present in WPT
1648         https://bugs.webkit.org/show_bug.cgi?id=180511
1649
1650         Reviewed by Youenn Fablet.
1651
1652         These tests have been moved to WPT upstream repository in the following
1653         Blink commits:
1654         - https://chromium-review.googlesource.com/c/chromium/src/+/674931
1655         - https://chromium-review.googlesource.com/c/chromium/src/+/730707
1656
1657         As we have just updated the WPT imported tests in r225561,
1658         we can get rid now of the duplicates.
1659
1660         * fast/css-grid-layout/absolute-positioning-definite-sizes-expected.txt: Removed.
1661         * fast/css-grid-layout/absolute-positioning-definite-sizes.html: Removed.
1662         * fast/css-grid-layout/absolute-positioning-grid-container-containing-block-expected.txt: Removed.
1663         * fast/css-grid-layout/absolute-positioning-grid-container-containing-block.html: Removed.
1664         * fast/css-grid-layout/absolute-positioning-grid-container-parent-expected.txt: Removed.
1665         * fast/css-grid-layout/absolute-positioning-grid-container-parent.html: Removed.
1666         * fast/css-grid-layout/fit-content-columns-expected.html: Removed.
1667         * fast/css-grid-layout/fit-content-columns.html: Removed.
1668         * fast/css-grid-layout/fit-content-rows-expected.html: Removed.
1669         * fast/css-grid-layout/fit-content-rows.html: Removed.
1670         * fast/css-grid-layout/grid-change-fit-content-argument-expected.txt: Removed.
1671         * fast/css-grid-layout/grid-change-fit-content-argument.html: Removed.
1672         * fast/css-grid-layout/grid-positioned-children-writing-modes-expected.html: Removed.
1673         * fast/css-grid-layout/grid-positioned-children-writing-modes.html: Removed.
1674         * fast/css-grid-layout/grid-positioned-item-dynamic-change-expected.html: Removed.
1675         * fast/css-grid-layout/grid-positioned-item-dynamic-change.html: Removed.
1676         * fast/css-grid-layout/grid-positioned-items-background-expected.html: Removed.
1677         * fast/css-grid-layout/grid-positioned-items-background-rtl-expected.html: Removed.
1678         * fast/css-grid-layout/grid-positioned-items-background-rtl.html: Removed.
1679         * fast/css-grid-layout/grid-positioned-items-background.html: Removed.
1680         * fast/css-grid-layout/grid-positioned-items-content-alignment-expected.txt: Removed.
1681         * fast/css-grid-layout/grid-positioned-items-content-alignment-rtl-expected.txt: Removed.
1682         * fast/css-grid-layout/grid-positioned-items-content-alignment-rtl.html: Removed.
1683         * fast/css-grid-layout/grid-positioned-items-content-alignment.html: Removed.
1684         * fast/css-grid-layout/grid-positioned-items-gaps-expected.txt: Removed.
1685         * fast/css-grid-layout/grid-positioned-items-gaps-rtl-expected.txt: Removed.
1686         * fast/css-grid-layout/grid-positioned-items-gaps-rtl.html: Removed.
1687         * fast/css-grid-layout/grid-positioned-items-gaps.html: Removed.
1688         * fast/css-grid-layout/grid-positioned-items-implicit-grid-expected.txt: Removed.
1689         * fast/css-grid-layout/grid-positioned-items-implicit-grid-line-expected.txt: Removed.
1690         * fast/css-grid-layout/grid-positioned-items-implicit-grid-line.html: Removed.
1691         * fast/css-grid-layout/grid-positioned-items-implicit-grid.html: Removed.
1692         * fast/css-grid-layout/grid-positioned-items-padding-expected.txt: Removed.
1693         * fast/css-grid-layout/grid-positioned-items-padding.html: Removed.
1694         * fast/css-grid-layout/grid-positioned-items-unknown-named-grid-line-expected.txt: Removed.
1695         * fast/css-grid-layout/grid-positioned-items-unknown-named-grid-line.html: Removed.
1696         * fast/css-grid-layout/grid-positioned-items-within-grid-implicit-track-expected.txt: Removed.
1697         * fast/css-grid-layout/grid-positioned-items-within-grid-implicit-track.html: Removed.
1698         * fast/css-grid-layout/grid-sizing-positioned-items-expected.txt: Removed.
1699         * fast/css-grid-layout/grid-sizing-positioned-items.html: Removed.
1700         * fast/css-grid-layout/positioned-grid-items-should-not-create-implicit-tracks-expected.txt: Removed.
1701         * fast/css-grid-layout/positioned-grid-items-should-not-create-implicit-tracks.html: Removed.
1702         * fast/css-grid-layout/positioned-grid-items-should-not-take-up-space-expected.txt: Removed.
1703         * fast/css-grid-layout/positioned-grid-items-should-not-take-up-space.html: Removed.
1704
1705 2017-12-06  Chris Dumez  <cdumez@apple.com>
1706
1707         We should be able to recover after a Service Worker process crash
1708         https://bugs.webkit.org/show_bug.cgi?id=180477
1709
1710         Reviewed by Brady Eidson and Youenn Fablet.
1711
1712         Add layout test coverage.
1713
1714         * http/tests/workers/service/postmessage-after-sw-process-crash.https-expected.txt: Added.
1715         * http/tests/workers/service/postmessage-after-sw-process-crash.https.html: Added.
1716         * http/tests/workers/service/resources/postmessage-after-sw-process-crash.js: Added.
1717
1718 2017-12-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
1719
1720         Support the decoding="sync/async" syntax for image async attribute
1721         https://bugs.webkit.org/show_bug.cgi?id=179432
1722
1723         Reviewed by Darin Adler.
1724
1725         * fast/images/async-attribute-with-small-image-expected.html: Removed.
1726         * fast/images/async-attribute-with-small-image.html: Removed.
1727         * fast/images/decode-decoding-attribute-async-large-image-expected.html: Added.
1728         * fast/images/decode-decoding-attribute-async-large-image.html: Added.
1729         * fast/images/decoding-attribute-async-small-image-expected.html: Added.
1730         * fast/images/decoding-attribute-async-small-image.html: Added.
1731         * fast/images/decoding-attribute-dynamic-async-small-image-expected.html: Added.
1732         * fast/images/decoding-attribute-dynamic-async-small-image.html: Added.
1733         * fast/images/decoding-attribute-sync-large-image-expected.html: Added.
1734         * fast/images/decoding-attribute-sync-large-image.html: Added.
1735
1736 2017-12-06  Fujii Hironori  <Hironori.Fujii@sony.com>
1737
1738         AX: Layout test imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests1.html flaky crash
1739         https://bugs.webkit.org/show_bug.cgi?id=173540
1740         <rdar://problem/35386393>
1741
1742         Unreviewed test gardening.
1743
1744         r225613 fixed the flaky crash.
1745
1746         * platform/gtk/TestExpectations: Unmarked the test case.
1747
1748 2017-12-06  Matt Lewis  <jlewis3@apple.com>
1749
1750         Adjusted expectations for inspector/worker/resources-in-worker.html.
1751         https://bugs.webkit.org/show_bug.cgi?id=168091
1752
1753         Unreviewed test gardening.
1754
1755         * platform/mac/TestExpectations:
1756
1757 2017-12-06  Ryan Haddad  <ryanhaddad@apple.com>
1758
1759         Mark webgl/1.0.2/conformance/textures/gl-teximage.html as failing again.
1760
1761         Unreviewed test gardening.
1762
1763         * platform/ios/TestExpectations:
1764
1765 2017-12-06  David Quesada  <david_quesada@apple.com>
1766
1767         [Web App Manifest] Add SPI for fetching the manifest
1768         https://bugs.webkit.org/show_bug.cgi?id=180294
1769         rdar://problem/34747968
1770
1771         Reviewed by Geoffrey Garen.
1772
1773         * TestExpectations:
1774             Skip the app manifest-related layout tests for now while the feature is still disabled.
1775             Also moved the expectations disabling the manifest-src layout tests (which now pass
1776             when the feature is enabled) to the same location in the file.
1777         * applicationmanifest/developer-warnings-expected.txt: Added.
1778         * applicationmanifest/developer-warnings.html: Added.
1779         * applicationmanifest/multiple-links-expected.txt: Added.
1780         * applicationmanifest/multiple-links.html: Added.
1781             Add a layout test to verify only the first manifest link is loaded when there
1782             are multiple on the page.
1783         * applicationmanifest/resources/developer-warnings.manifest: Added.
1784             Add a layout test to verify that warnings generated while parsing the manifest are
1785             logged to the console.
1786         * http/tests/security/contentSecurityPolicy/manifest-src-allowed.html:
1787             Replaced calls to getManifestThen() with getApplicationManifestThen().
1788         * http/tests/security/contentSecurityPolicy/manifest-src-blocked-expected.txt:
1789             Updated the expected console message to reflect the current wording for CSP violations.
1790         * http/tests/security/contentSecurityPolicy/manifest-src-blocked.html:
1791             Replaced calls to getManifestThen() with getApplicationManifestThen().
1792         * http/tests/security/contentSecurityPolicy/manifest.test/manifest.json:
1793             Removed a trailing newline that was causing JSON parsing to fail.
1794
1795 2017-12-06  Youenn Fablet  <youenn@apple.com>
1796
1797         Import WPT workers test suite
1798         https://bugs.webkit.org/show_bug.cgi?id=180464
1799
1800         Reviewed by Chris Dumez.
1801
1802         * TestExpectations: skip some timing out tests or testing shared workers.
1803
1804 2017-12-06  Youenn Fablet  <youenn@apple.com>
1805
1806         Preflight should bypass service worker
1807         https://bugs.webkit.org/show_bug.cgi?id=180463
1808
1809         Reviewed by Alex Christensen.
1810
1811         * http/tests/workers/service/resources/service-worker-crossorigin-fetch.js: Removed.
1812         * http/tests/workers/service/resources/service-worker-crossorigin-fetch-worker.js:
1813         (event.event.request.url.endsWith):
1814         * http/tests/workers/service/resources/service-worker-crossorigin-fetch.js:
1815         (async.test):
1816         * http/tests/workers/service/service-worker-crossorigin-fetch-expected.txt:
1817         * http/tests/workers/service/service-worker-crossorigin-fetch.html:
1818
1819 2017-12-06  Ryan Haddad  <ryanhaddad@apple.com>
1820
1821         Update TestExpectations for http/tests/workers/service/registration-task-queue-scheduling-1.html.
1822         https://bugs.webkit.org/show_bug.cgi?id=179342
1823
1824         Unreviewed test gardening.
1825
1826         * TestExpectations:
1827         * platform/mac/TestExpectations:
1828
1829 2017-12-06  Dean Jackson  <dino@apple.com>
1830
1831         Some iOS tests failing after ANGLE update
1832         https://bugs.webkit.org/show_bug.cgi?id=180487
1833         <rdar://problem/35885969>
1834
1835         Reviewed by Antoine Quint.
1836
1837         Unskip some WebGL tests.
1838
1839         * platform/ios/TestExpectations:
1840
1841 2017-12-06  John Wilander  <wilander@apple.com>
1842
1843         Storage Access API: Make document.hasStorageAccess a function and always allow access for same-origin iframes
1844         https://bugs.webkit.org/show_bug.cgi?id=176944
1845         <rdar://problem/34440658>
1846
1847         Reviewed by Brent Fulgham.
1848
1849         These tests now use the new document.hasStorageAccess() function
1850         instead of the previous document.hasStorageAccess property.
1851         The added test is a break out of the negative case of an iframe
1852         calling the API when no user gesture is processed.
1853
1854         * http/tests/storageAccess/request-and-deny-storage-access-cross-origin-iframe-expected.txt:
1855         * http/tests/storageAccess/request-and-deny-storage-access-cross-origin-iframe.html:
1856         * http/tests/storageAccess/request-and-deny-storage-access-cross-origin-sandboxed-iframe-expected.txt:
1857         * http/tests/storageAccess/request-and-deny-storage-access-cross-origin-sandboxed-iframe.html:
1858         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-non-sandboxed-iframe-expected.txt:
1859         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-non-sandboxed-iframe.html:
1860         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-expected.txt:
1861         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-expected.txt:
1862         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction.html:
1863         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-recent-user-interaction-expected.txt:
1864         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction-expected.txt:
1865         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-nested-iframe-expected.txt:
1866         * http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-nested-iframe.html:
1867         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-with-unique-origin-expected.txt:
1868         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-allow-token-expected.txt:
1869         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-allow-token.html:
1870         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-user-gesture-expected.txt: Added.
1871         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-user-gesture.html: Added.
1872         * http/tests/storageAccess/request-storage-access-same-origin-iframe-expected.txt:
1873         * http/tests/storageAccess/request-storage-access-same-origin-iframe.html:
1874         * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-expected.txt:
1875         * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-without-allow-token-expected.txt:
1876         * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-without-allow-token.html:
1877         * http/tests/storageAccess/request-storage-access-top-frame-expected.txt:
1878         * http/tests/storageAccess/request-storage-access-top-frame.html:
1879         * http/tests/storageAccess/resources/request-storage-access-iframe.html:
1880         * http/tests/storageAccess/resources/request-storage-access-without-user-gesture-iframe.html: Added.
1881         * platform/mac-wk2/TestExpectations:
1882             Marked the new test case as [ Pass ]
1883
1884 2017-12-06  Chris Dumez  <cdumez@apple.com>
1885
1886         ServiceWorkers API should reject promises when calling objects inside detached frames
1887         https://bugs.webkit.org/show_bug.cgi?id=180444
1888
1889         Reviewed by Youenn Fablet.
1890
1891         * TestExpectations:
1892         Unskip test that no longer times out and starts passing a few checks.
1893
1894         * fast/dom/navigator-detached-no-crash-expected.txt:
1895         Rebaseline test now that promise is rejected.
1896
1897         * http/tests/media/media-stream/disconnected-frame-permission-denied-expected.txt:
1898         * http/tests/media/media-stream/disconnected-frame-permission-denied.html:
1899         Update and rebaseline test now that the promise is rejected. I verified that this
1900         behavior is consistent with Chrome.
1901
1902 2017-12-06  Matt Lewis  <jlewis3@apple.com>
1903
1904         Marked storage/indexeddb/modern/idbtransaction-objectstore-failures-private.html as flaky on macOS.
1905         https://bugs.webkit.org/show_bug.cgi?id=176693
1906
1907         Unreviewed test gardening.
1908
1909         * platform/mac/TestExpectations:
1910
1911 2017-12-05  Fujii Hironori  <Hironori.Fujii@sony.com>
1912
1913         [GTK] Layout test media/track/track-in-band-duplicate-tracks-when-source-changes.html crashes and times out
1914         https://bugs.webkit.org/show_bug.cgi?id=160131
1915
1916         Reviewed by Eric Carlson.
1917
1918         * platform/gtk/TestExpectations:
1919
1920 2017-12-05  Chris Dumez  <cdumez@apple.com>
1921
1922         ServiceWorkerGlobalScope prototype chain should be immutable
1923         https://bugs.webkit.org/show_bug.cgi?id=180450
1924
1925         Reviewed by Youenn Fablet.
1926
1927         * TestExpectations:
1928         Unskip test that no longer times out.
1929
1930 2017-12-05  Brent Fulgham  <bfulgham@apple.com>
1931
1932         Limit user agent versioning to an upper bound
1933         https://bugs.webkit.org/show_bug.cgi?id=180365
1934         <rdar://problem/34550617>
1935
1936         Reviewed by Joseph Pecoraro.
1937
1938         * fast/dom/navigator-userAgent-frozen-expected.txt: Added.
1939         * fast/dom/navigator-userAgent-frozen.html: Added.
1940
1941 2017-12-05  Javier Fernandez  <jfernandez@igalia.com>
1942
1943         [css-grid] Update imported Web Platform Tests
1944         https://bugs.webkit.org/show_bug.cgi?id=180345
1945
1946         Reviewed by Manuel Rego Casasnovas and Youenn Fablet.
1947
1948         Added specific bugs to the expectations file for the new imported tests that fail for now.
1949         Removed from the expectations file a test that has been deleted recently.
1950
1951         * TestExpectations:
1952         * platform/gtk/TestExpectations:
1953         * platform/wpe/TestExpectations:
1954
1955 2017-12-05  Chris Dumez  <cdumez@apple.com>
1956
1957         Unreviewed, rebaseline service worker test after r225549.
1958
1959         * http/tests/workers/service/ServiceWorkerGlobalScope-properties-expected.txt:
1960         * http/tests/workers/service/ServiceWorkerGlobalScope-properties.html:
1961
1962 2017-12-05  Simon Fraser  <simon.fraser@apple.com>
1963
1964         Composited frames incorrectly get requestAnimationFrame throttled
1965         https://bugs.webkit.org/show_bug.cgi?id=178396
1966
1967         Reviewed by Zalan Bujtas.
1968
1969         * fast/animation/request-animation-frame-throttle-inside-overflow-scroll-expected.txt: Added.
1970         * fast/animation/request-animation-frame-throttle-inside-overflow-scroll.html: Added.
1971
1972 2017-12-05  Joseph Pecoraro  <pecoraro@apple.com>
1973
1974         Web Inspector: content views for resources loaded through XHR do not reflect declared mime-type
1975         https://bugs.webkit.org/show_bug.cgi?id=141389
1976         <rdar://problem/19767070>
1977
1978         Reviewed by Brian Burg.
1979
1980         * http/tests/inspector/network/fetch-response-body-expected.txt:
1981         * http/tests/inspector/network/fetch-response-body.html:
1982         * http/tests/inspector/network/xhr-response-body-expected.txt:
1983         * http/tests/inspector/network/xhr-response-body.html:
1984         Update tests for new expectations now that binary data shows as binary.        
1985
1986 2017-12-05  Youenn Fablet  <youenn@apple.com>
1987
1988         Implement https://w3c.github.io/ServiceWorker/#clients-claim
1989         https://bugs.webkit.org/show_bug.cgi?id=180261
1990
1991         Reviewed by Chris Dumez.
1992
1993         * http/tests/workers/service/serviceworkerclients-claim-worker.js: Added.
1994         * http/tests/workers/service/serviceworkerclients-claim.https-expected.txt: Added.
1995         * http/tests/workers/service/serviceworkerclients-claim.https.html: Added.
1996
1997 2017-12-05  Youenn Fablet  <youenn@apple.com>
1998
1999         Unskip some more Service Worker tests
2000         https://bugs.webkit.org/show_bug.cgi?id=180428
2001
2002         Unreviewed.
2003
2004         * TestExpectations:
2005
2006 2017-12-05  Simon Fraser  <simon.fraser@apple.com>
2007
2008         Remove webkitGetImageDataHD and webkitPutImageDataHD from canvas API
2009         https://bugs.webkit.org/show_bug.cgi?id=180387
2010
2011         Reviewed by Dean Jackson.
2012
2013         Remove the test.
2014
2015         * fast/canvas/2d.imageDataHD-expected.txt: Removed.
2016         * fast/canvas/2d.imageDataHD.html: Removed.
2017         * platform/win/TestExpectations:
2018
2019 2017-12-05  Ali Juma  <ajuma@chromium.org>
2020
2021         [Win] Skip tests that depend on UIScriptController::zoomToScale
2022         https://bugs.webkit.org/show_bug.cgi?id=180423
2023
2024         Reviewed by Frédéric Wang.
2025
2026         Test gardening.
2027         
2028         UIScriptController::zoomToScale is not implemented on Windows, so skip tests that use it.
2029
2030         * platform/win/TestExpectations:
2031
2032 2017-12-05  Zan Dobersek  <zdobersek@igalia.com>
2033
2034         Unreviewed WPE gardening. Rebaseline a quintet of SVG tests.
2035
2036         * platform/wpe/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt:
2037         * platform/wpe/svg/custom/feComponentTransfer-Discrete-expected.txt:
2038         * platform/wpe/svg/custom/feComponentTransfer-Gamma-expected.txt:
2039         * platform/wpe/svg/custom/feComponentTransfer-Linear-expected.txt:
2040         * platform/wpe/svg/custom/feComponentTransfer-Table-expected.txt:
2041
2042 2017-12-04  Chris Dumez  <cdumez@apple.com>
2043
2044         Support container.getRegistration() / getRegistrations() inside service workers
2045         https://bugs.webkit.org/show_bug.cgi?id=180360
2046
2047         Reviewed by Youenn Fablet.
2048
2049         Add layout test coverage.
2050
2051         * http/tests/workers/service/ServiceWorkerGlobalScope_getRegistration-expected.txt: Added.
2052         * http/tests/workers/service/ServiceWorkerGlobalScope_getRegistration.html: Added.
2053         * http/tests/workers/service/resources/ServiceWorkerGlobalScope_getRegistration-worker.js: Added.
2054
2055 2017-12-04  Nan Wang  <n_wang@apple.com>
2056
2057         AX: AOM: Implement relation type properties
2058         https://bugs.webkit.org/show_bug.cgi?id=179500
2059
2060         Reviewed by Ryosuke Niwa.
2061
2062         Only enable this test on WK2.
2063
2064         * accessibility/mac/AOM-relation-property-expected.txt: Added.
2065         * accessibility/mac/AOM-relation-property.html: Added.
2066         * platform/mac-wk1/TestExpectations:
2067
2068 2017-12-04  Zalan Bujtas  <zalan@apple.com>
2069
2070         REGRESSION (r211531): Text flow changes and overlaps other text after double-click selecting paragraph
2071         https://bugs.webkit.org/show_bug.cgi?id=180377
2072         <rdar://problem/34337967>
2073
2074         Reviewed by Antti Koivisto.
2075
2076         * fast/block/float/simple-line-layout-float-shrink-line-expected.html: Added.
2077         * fast/block/float/simple-line-layout-float-shrink-line.html: Added.
2078
2079 2017-12-04  Antoine Quint  <graouts@apple.com>
2080
2081         <video> and scale() transforms yield shrunk small or clipped controls
2082         https://bugs.webkit.org/show_bug.cgi?id=180358
2083         <rdar://problem/34436124>
2084
2085         Reviewed by Dean Jackson.
2086
2087         Write a new test that ensures that we reflect the width and height, not accounting
2088         for borders, of the host media element when sizing media controls.
2089
2090         * media/modern-media-controls/css/transformed-media-expected.txt: Added.
2091         * media/modern-media-controls/css/transformed-media.html: Added.
2092
2093 2017-12-04  Antoine Quint  <graouts@apple.com>
2094
2095         Cursor is not visible after exiting full screen video
2096         https://bugs.webkit.org/show_bug.cgi?id=180247
2097         <rdar://problem/33885922>
2098
2099         Reviewed by Dean Jackson.
2100
2101         Remove the existing test which would query a cursor state that is no longer relevant.
2102
2103         * fullscreen/video-cursor-auto-hide-expected.txt: Removed.
2104         * fullscreen/video-cursor-auto-hide.html: Removed.
2105         * platform/gtk/TestExpectations:
2106
2107 2017-12-04  Michael Catanzaro  <mcatanzaro@igalia.com>
2108
2109         [GTK] Unreviewed layout test gardening
2110
2111         * platform/gtk/TestExpectations:
2112
2113 2017-12-04  Devin Rousso  <webkit@devinrousso.com>
2114
2115         Web Inspector: provide method for recording CanvasRenderingContext2D from JavaScript
2116         https://bugs.webkit.org/show_bug.cgi?id=175166
2117         <rdar://problem/34040740>
2118
2119         Reviewed by Joseph Pecoraro.
2120
2121         * inspector/canvas/recording-2d-expected.txt:
2122         * inspector/canvas/recording-2d.html:
2123         (performConsoleRecording):
2124         * inspector/canvas/recording-webgl-expected.txt:
2125         * inspector/canvas/recording-webgl.html:
2126         (performConsoleRecording):
2127         * inspector/canvas/resources/recording-utilities.js:
2128         (TestPage.registerInitializer):
2129         * js/console-expected.txt:
2130         * js/console.html:
2131
2132 2017-12-04  Ms2ger  <Ms2ger@igalia.com>
2133
2134         [GTK] Rebaseline imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html
2135         https://bugs.webkit.org/show_bug.cgi?id=180357
2136
2137         Unreviewed test gardening.
2138
2139         The difference with the platform-neutral expectation is whitespace-only.
2140
2141         * platform/gtk/TestExpectations:
2142         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-showModal-expected.txt: Added.
2143
2144 2017-12-04  Jer Noble  <jer.noble@apple.com>
2145
2146         Include 'video/*' in image request Accept header if browser supports video media in image contexts.
2147         https://bugs.webkit.org/show_bug.cgi?id=179178
2148
2149         Reviewed by Alex Christensen.
2150
2151         * http/tests/images/image-supports-video-expected.txt: Added.
2152         * http/tests/images/image-supports-video.html: Added.
2153         * http/tests/misc/resources/image-checks-for-accept.php:
2154         * http/tests/resources/redirect-to-video-if-accepted.php: Added.
2155         * platform/ios/TestExpectations:
2156         * platform/mac/imported/w3c/web-platform-tests/html/semantics/the-img-element/update-the-source-set-expected.txt: Added.
2157
2158 2017-12-03  Chris Dumez  <cdumez@apple.com>
2159
2160         Re-sync Service Workers web-platform-tests from upstream
2161         https://bugs.webkit.org/show_bug.cgi?id=180336
2162
2163         Reviewed by Darin Adler.
2164
2165         Skip new tests that are timing out and remove entries for tests
2166         that were removed.
2167
2168         * TestExpectations:
2169         * tests-options.json:
2170
2171 2017-12-03  Chris Dumez  <cdumez@apple.com>
2172
2173         Unreviewed, mark imported/w3c/web-platform-tests/service-workers/service-worker/registration-service-worker-attributes.https.html as flaky
2174
2175         * TestExpectations:
2176
2177 2017-12-03  Chris Dumez  <cdumez@apple.com>
2178
2179         Support serviceWorker.postMessage() inside service workers
2180         https://bugs.webkit.org/show_bug.cgi?id=180328
2181
2182         Reviewed by Darin Adler.
2183
2184         Unskip WPT test that no longer times out.
2185
2186         * TestExpectations:
2187
2188 2017-12-03  Chris Dumez  <cdumez@apple.com>
2189
2190         Unreviewed, unskip / rebaseline a few web platform tests.
2191
2192         * TestExpectations:
2193
2194 2017-12-03  Chris Dumez  <cdumez@apple.com>
2195
2196         Implement self.skipWaiting() inside service workers
2197         https://bugs.webkit.org/show_bug.cgi?id=180329
2198
2199         Reviewed by Darin Adler.
2200
2201         * http/tests/workers/service/resources/service-worker-fetch-worker.js:
2202         add self.skipWaiting() now that we properly wait when the registation's
2203         active worker is in use. This is needed because this worker script is
2204         used by http/tests/workers/service/controller-change.html. The
2205         'controllerchange' event is only fired if an active worker is being
2206         replaced while in use due to the waiting worker calling skipWaiting().
2207
2208 2017-12-02  Chris Dumez  <cdumez@apple.com>
2209
2210         Support container.register() / registration.unregister() /  inside service workers
2211         https://bugs.webkit.org/show_bug.cgi?id=180326
2212
2213         Reviewed by Youenn Fablet.
2214
2215         * TestExpectations:
2216         Unskip test for registration.unregister() that now passes.
2217
2218         * http/tests/workers/service/ServiceWorkerGlobalScope_register-expected.txt: Added.
2219         * http/tests/workers/service/ServiceWorkerGlobalScope_register.html: Added.
2220         * http/tests/workers/service/resources/ServiceWorkerGlobalScope_register-worker.js: Added.
2221         Add test coverage for container.register().
2222
2223 2017-12-02  Chris Dumez  <cdumez@apple.com>
2224
2225         Support serviceWorkerRegistration.update() inside service workers
2226         https://bugs.webkit.org/show_bug.cgi?id=180215
2227
2228         Reviewed by Darin Adler.
2229
2230         Add layout test coverage and unskip WPT test that no longer times out.
2231
2232         * TestExpectations:
2233         * http/tests/workers/service/resources/self_registration_update-worker.js: Added.
2234         * http/tests/workers/service/self_registration_update-expected.txt: Added.
2235         * http/tests/workers/service/self_registration_update.html: Added.
2236
2237 2017-12-02  Youenn Fablet  <youenn@apple.com>
2238
2239         Implement https://w3c.github.io/ServiceWorker/#clients-getall
2240         https://bugs.webkit.org/show_bug.cgi?id=180276
2241
2242         Reviewed by Chris Dumez.
2243
2244         * http/tests/workers/service/serviceworkerclients-matchAll-worker.js: Added.
2245         * http/tests/workers/service/serviceworkerclients-matchAll.https-expected.txt: Added.
2246         * http/tests/workers/service/serviceworkerclients-matchAll.https.html: Added.
2247
2248 2017-12-01  Alicia Boya García  <aboya@igalia.com>
2249
2250         [MSE] Use correct range end checks in sourceBufferPrivateDidReceiveSample()
2251         https://bugs.webkit.org/show_bug.cgi?id=179690
2252
2253         Reviewed by Jer Noble.
2254
2255         Added test cases for bug #179690.
2256
2257         * media/media-source/media-source-range-end-frame-not-removed-expected.txt: Added.
2258         * media/media-source/media-source-range-end-frame-not-removed.html: Added.
2259         * media/media-source/media-source-range-start-frame-replaced-expected.txt: Added.
2260         * media/media-source/media-source-range-start-frame-replaced.html: Added.
2261
2262 2017-12-01  Ms2ger  <Ms2ger@igalia.com>
2263
2264         [WPE] Enable wpt css tests.
2265         https://bugs.webkit.org/show_bug.cgi?id=180289
2266
2267         Unreviewed test gardening.
2268
2269         * platform/wpe/TestExpectations:
2270
2271 2017-12-01  Matt Lewis  <jlewis3@apple.com>
2272
2273         Marked imported/w3c/web-platform-tests/IndexedDB/open-request-queue.html as flaky timeout on wk1.
2274         https://bugs.webkit.org/show_bug.cgi?id=172044
2275
2276         Unreviewed test gardening.
2277
2278         * platform/mac-wk1/TestExpectations:
2279
2280 2017-12-01  Daniel Bates  <dabates@apple.com>
2281
2282         AlternativePresentationButtonSubstitution::unapply() may not undo substitution
2283         https://bugs.webkit.org/show_bug.cgi?id=180279
2284         <rdar://problem/35800599>
2285
2286         Reviewed by Simon Fraser.
2287
2288         Update test to ensure that we undo the alternative presentation button substitution
2289         made to an HTML label element.
2290
2291         * fast/forms/alternative-presentation-button/replace-and-remove-expected.html:
2292         * fast/forms/alternative-presentation-button/replace-and-remove.html:
2293
2294 2017-12-01  Daniel Bates  <dabates@apple.com>
2295
2296         Alternative Presentation Button: Provide a way to query for the replaced elements
2297         https://bugs.webkit.org/show_bug.cgi?id=180114
2298         <rdar://problem/35710539>
2299
2300         Reviewed by Tim Horton.
2301
2302         Add a test to ensure that Editor::elementsReplacedByAlternativePresentationButton()
2303         returns the same list of elements that were specified to Editor::substituteWithAlternativePresentationButton()
2304         up to ordering.
2305
2306         * fast/forms/alternative-presentation-button/replaced-elements-expected.txt: Added.
2307         * fast/forms/alternative-presentation-button/replaced-elements.html: Added.
2308
2309 2017-12-01  Youenn Fablet  <youenn@apple.com>
2310
2311         Implement https://w3c.github.io/ServiceWorker/#clients-get
2312         https://bugs.webkit.org/show_bug.cgi?id=180167
2313
2314         Reviewed by Chris Dumez.
2315
2316         * http/tests/workers/service/resources/serviceworkerclients-get-worker.js: Added.
2317         * http/tests/workers/service/serviceworkerclients-get.https-expected.txt: Added.
2318         * http/tests/workers/service/serviceworkerclients-get.https.html: Added.
2319
2320 2017-12-01  Ryan Haddad  <ryanhaddad@apple.com>
2321
2322         Update TestExpectations for editing/input tests on iOS.
2323
2324         Unreviewed test gardening.
2325
2326         * platform/ios-wk1/TestExpectations:
2327         * platform/ios-wk2/TestExpectations:
2328         * platform/ios/TestExpectations:
2329
2330 2017-12-01  Myles C. Maxfield  <mmaxfield@apple.com>
2331
2332         Free FontFaceSets may include fonts that were never actually added to them
2333         https://bugs.webkit.org/show_bug.cgi?id=180164
2334
2335         Reviewed by Simon Fraser.
2336
2337         * fast/text/font-face-api-preinstalled-expected.txt: Added.
2338         * fast/text/font-face-api-preinstalled.html: Added.
2339
2340 2017-12-01  Ryan Haddad  <ryanhaddad@apple.com>
2341
2342         Update TestExpectations for various editing tests on iOS.
2343
2344         Unreviewed test gardening.
2345
2346         * platform/ios-wk2/TestExpectations:
2347         * platform/ios-wk2/editing/deleting/5144139-2-expected.txt:
2348         * platform/ios/TestExpectations:
2349
2350 2017-12-01  Dean Jackson  <dino@apple.com>
2351
2352         Use SH_INITIALIZE_UNINITIALIZED_LOCALS now that ANGLE has been updated
2353         https://bugs.webkit.org/show_bug.cgi?id=177929
2354         <rdar://problem/34866210>
2355
2356         Reviewed by Sam Weinig.
2357
2358         * fast/canvas/webgl/uninitialized-locals-expected.txt: Added.
2359         * fast/canvas/webgl/uninitialized-locals.html: Added.
2360
2361 2017-12-01  Brady Eidson  <beidson@apple.com>
2362
2363         Add Internals.terminateServiceWorker, and the ability to restart service workers for postMessage.
2364         https://bugs.webkit.org/show_bug.cgi?id=180170
2365
2366         Reviewed by Chris Dumez.
2367
2368         * http/tests/workers/service/postmessage-after-terminate.https-expected.txt: Added.
2369         * http/tests/workers/service/postmessage-after-terminate.https.html: Added.
2370         * http/tests/workers/service/resources/basic-ServiceWorker-postMessage.js:
2371         (then):
2372         * http/tests/workers/service/resources/postmessage-after-terminate.js: Copied from LayoutTests/http/tests/workers/service/resources/basic-ServiceWorker-postMessage.js.
2373         (then):
2374         * http/tests/workers/service/resources/postmessage-echo-worker.js: Renamed from LayoutTests/http/tests/workers/service/resources/basic-ServiceWorker-postMessage-worker.js.
2375
2376 2017-12-01  Zalan Bujtas  <zalan@apple.com>
2377
2378         Nullptr deref in WebCore::RenderTableCaption::containingBlockLogicalWidthForContent
2379         https://bugs.webkit.org/show_bug.cgi?id=180251
2380         <rdar://problem/34138562>
2381
2382         Reviewed by Simon Fraser.
2383
2384         * fast/table/caption-crash-when-layer-backed-expected.txt: Added.
2385         * fast/table/caption-crash-when-layer-backed.html: Added.
2386
2387 2017-12-01  Zan Dobersek  <zdobersek@igalia.com>
2388
2389         Unreviewed GTK+ gardening. Updating baselines affected in r225366.
2390
2391         * platform/gtk/css3/filters/effect-reference-expected.txt:
2392         * platform/gtk/css3/filters/effect-reference-hw-expected.txt:
2393         * platform/gtk/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt:
2394         * platform/gtk/svg/custom/feComponentTransfer-Discrete-expected.txt:
2395         * platform/gtk/svg/custom/feComponentTransfer-Gamma-expected.txt:
2396         * platform/gtk/svg/custom/feComponentTransfer-Linear-expected.txt:
2397         * platform/gtk/svg/custom/feComponentTransfer-Table-expected.txt:
2398
2399 2017-12-01  Matt Lewis  <jlewis3@apple.com>
2400
2401         Marked imported/w3c/web-platform-tests/service-workers/service-worker/worker-interception.https.html as flaky on macOS.
2402         https://bugs.webkit.org/show_bug.cgi?id=179351
2403
2404         Unreviewed test expectations.
2405
2406         * platform/mac-wk2/TestExpectations:
2407
2408 2017-12-01  Ms2ger  <Ms2ger@igalia.com>
2409
2410         [WPE] Enable some more wpt tests.
2411         https://bugs.webkit.org/show_bug.cgi?id=180242
2412
2413         Unreviewed test gardening.
2414
2415         * platform/wpe/TestExpectations: enable tests.
2416         * platform/wpe/imported/w3c/web-platform-tests/eventsource/format-field-id-2-expected.txt: Copied from gtk.
2417         * platform/wpe/imported/w3c/web-platform-tests/eventsource/format-field-id-expected.txt: Copied from gtk.
2418         * platform/wpe/imported/w3c/web-platform-tests/eventsource/format-mime-bogus-expected.txt: Copied from gtk.
2419
2420 2017-12-01  Ms2ger  <Ms2ger@igalia.com>
2421
2422         Mark imported/w3c/web-platform-tests/resource-timing/single-entry-per-resource.html as flaky
2423         https://bugs.webkit.org/show_bug.cgi?id=180241
2424
2425         Unreviewed test gardening.
2426
2427         * TestExpectations:
2428
2429 2017-11-30  Alex Christensen  <achristensen@webkit.org>
2430
2431         Extra PerformanceEntryList entry after iframe navigation
2432         https://bugs.webkit.org/show_bug.cgi?id=178433
2433
2434         Reviewed by Joseph Pecoraro.
2435
2436         * http/tests/security/PerformanceEntryList-parent-only-first-navigation-expected.txt: Added.
2437         * http/tests/security/PerformanceEntryList-parent-only-first-navigation.html: Added.
2438         * http/tests/security/resources/navigate-and-postMessage.html: Added.
2439         * http/tests/security/resources/postMessage.html: Added.
2440
2441 2017-11-30  Zalan Bujtas  <zalan@apple.com>
2442
2443         [Simple line layout] Incorrect repaint rect with vertically shrinking content.
2444         https://bugs.webkit.org/show_bug.cgi?id=180223
2445         <rdar://problem/34122210>
2446
2447         Reviewed by Simon Fraser.
2448
2449         * fast/repaint/simple-line-layout-shrinking-content-expected.txt: Added.
2450         * fast/repaint/simple-line-layout-shrinking-content.html: Added.
2451
2452 2017-11-30  Simon Fraser  <simon.fraser@apple.com>
2453
2454         Improve filter logging
2455         https://bugs.webkit.org/show_bug.cgi?id=180182
2456
2457         Reviewed by Sam Weinig.
2458
2459         Improve logging of FEComponentTransfer ComponentTransferFunctions by logging the data
2460         that's appropriate for the function type, and rebaseline affected tests.
2461
2462         * css3/filters/effect-reference-expected.txt:
2463         * css3/filters/effect-reference-hw-expected.txt:
2464         * platform/mac/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt:
2465         * platform/mac/svg/custom/feComponentTransfer-Discrete-expected.txt:
2466         * platform/mac/svg/custom/feComponentTransfer-Gamma-expected.txt:
2467         * platform/mac/svg/custom/feComponentTransfer-Linear-expected.txt:
2468         * platform/mac/svg/custom/feComponentTransfer-Table-expected.txt:
2469         * svg/filters/filter-refresh-expected.txt:
2470
2471 2017-11-30  Chris Dumez  <cdumez@apple.com>
2472
2473         Unreviewed, unskip service worker test that no longer times out after r225346.
2474
2475         * TestExpectations:
2476
2477 2017-11-30  Dean Jackson  <dino@apple.com>
2478
2479         Skip WebGL on iOS while working out what ANGLE has broken.
2480
2481         * platform/ios/TestExpectations:
2482
2483 2017-11-30  Matt Lewis  <jlewis3@apple.com>
2484
2485         Marked http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html as flaky on High Sierra.
2486         https://bugs.webkit.org/show_bug.cgi?id=179644
2487
2488         Unreviewed test gardening.
2489
2490         * platform/mac-wk2/TestExpectations:
2491
2492 2017-11-30  Matt Lewis  <jlewis3@apple.com>
2493
2494         Marked imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded.html as flak on macOS.
2495         https://bugs.webkit.org/show_bug.cgi?id=176078
2496
2497         Unreviewed test gardening.
2498
2499         * platform/mac-wk2/TestExpectations:
2500
2501 2017-11-30  Chris Dumez  <cdumez@apple.com>
2502
2503         Populate self.registration.installing/waiting/active inside service workers
2504         https://bugs.webkit.org/show_bug.cgi?id=180168
2505
2506         Reviewed by Brady Eidson.
2507
2508         Extend layout test coverage.
2509
2510         * http/tests/workers/service/resources/self_registration-worker.js:
2511         * http/tests/workers/service/self_registration-expected.txt:
2512
2513 2017-11-30  Chris Dumez  <cdumez@apple.com>
2514
2515         Unreviewed, unskip a few Service Workers tests that no longer seem to be flaky.
2516
2517         * TestExpectations:
2518
2519 2017-11-30  Ms2ger  <Ms2ger@igalia.com>
2520
2521         [GTK] Enable all wpt touch-events tests.
2522         https://bugs.webkit.org/show_bug.cgi?id=180198
2523
2524         Unreviewed test gardening.
2525
2526         * platform/gtk/TestExpectations:
2527
2528 2017-11-29  Antoine Quint  <graouts@apple.com>
2529
2530         Move modern media controls test expectations from ios-simulator to ios
2531         https://bugs.webkit.org/show_bug.cgi?id=180158
2532
2533         Reviewed by Dean Jackson.
2534
2535         We shouldn't be using the ios-simulator platform for these, ios is the right one.
2536
2537         * platform/ios-simulator/TestExpectations:
2538         * platform/ios/TestExpectations:
2539
2540 2017-11-29  Chris Dumez  <cdumez@apple.com>
2541
2542         LayoutTest http/tests/workers/service/registration-clear-redundant-worker.html is a flaky failure
2543         https://bugs.webkit.org/show_bug.cgi?id=179778
2544
2545         Reviewed by Youenn Fablet.
2546
2547         As per the specification [1], when clearing a registration, the registration's workers are first
2548         marked as redundant *before* the registration's worker is set to null.
2549
2550         The test was waiting for the service worker's state to become redundant and then checking in a
2551         setTimeout(0) that the registration's worker became null. However, a setTimeout(0) is racy here.
2552         To address the issue, we now use setInterval() and wait until the worker becomes null.
2553
2554         [1] https://w3c.github.io/ServiceWorker/#clear-registration-algorithm
2555
2556         * TestExpectations:
2557         * http/tests/workers/service/registration-clear-redundant-worker.html:
2558
2559 2017-11-29  Youenn Fablet  <youenn@apple.com>
2560
2561         ServiceWorkerClient objects should be reused if there is already one existing with the same identifier
2562         https://bugs.webkit.org/show_bug.cgi?id=180143
2563
2564         Reviewed by Chris Dumez.
2565
2566         * http/tests/workers/service/resources/basic-ServiceWorker-postMessage-worker.js:
2567         (event.else):
2568         * http/tests/workers/service/resources/basic-ServiceWorker-postMessage.js:
2569
2570 2017-11-29  Ryan Haddad  <ryanhaddad@apple.com>
2571
2572         Mark imported/w3c/web-platform-tests/XMLHttpRequest/firing-events-http-no-content-length.html as flaky.
2573         https://bugs.webkit.org/show_bug.cgi?id=179775
2574
2575         Unreviewed test gardening.
2576
2577         * platform/mac-wk1/TestExpectations:
2578
2579 2017-11-29  Ryan Haddad  <ryanhaddad@apple.com>
2580
2581         Mark media/modern-media-controls/pip-support/pip-support-click.html as flaky.
2582         https://bugs.webkit.org/show_bug.cgi?id=165311
2583
2584         Unreviewed test gardening.
2585
2586         * platform/mac/TestExpectations:
2587
2588 2017-11-29  Ryan Haddad  <ryanhaddad@apple.com>
2589
2590         Mark http/tests/workers/service/registration-clear-redundant-worker.html as flaky.
2591         https://bugs.webkit.org/show_bug.cgi?id=179778
2592
2593         Unreviewed test gardening.
2594
2595         * TestExpectations:
2596
2597 2017-11-29  Youenn Fablet  <youenn@apple.com>
2598
2599         Add support for service worker generated redirections
2600         https://bugs.webkit.org/show_bug.cgi?id=179498
2601
2602         Reviewed by Darin Adler.
2603
2604         * http/tests/workers/service/resources/service-worker-redirection-fetch-worker.js: Added.
2605         (event.event.request.url.indexOf):
2606         (event.event.request.url.endsWith):
2607         * http/tests/workers/service/service-worker-redirection-fetch.https-expected.txt: Added.
2608         * http/tests/workers/service/service-worker-redirection-fetch.https.html: Added.
2609
2610 2017-11-29  Chris Dumez  <cdumez@apple.com>
2611
2612         Start exposing self.registration inside service workers
2613         https://bugs.webkit.org/show_bug.cgi?id=180162
2614
2615         Reviewed by Brady Eidson.
2616
2617         Add layout test coverage.
2618
2619         * TestExpectations:
2620         Skip test that covers self.registration.update() because it now times out. We do not support update()
2621         on registrations inside service workers yet so the test times out waiting for the updatefound event
2622         on the registration.
2623
2624         * http/tests/workers/service/ServiceWorkerGlobalScope_registration_SameObject-expected.txt: Added.
2625         * http/tests/workers/service/ServiceWorkerGlobalScope_registration_SameObject.html: Added.
2626         * http/tests/workers/service/resources/ServiceWorkerGlobalScope_registration_SameObject-worker.js: Added.
2627         * http/tests/workers/service/resources/self_registration-worker.js: Added.
2628         * http/tests/workers/service/self_registration-expected.txt: Added.
2629         * http/tests/workers/service/self_registration.html: Added.
2630
2631 2017-11-29  Javier M. Mellid  <jmunhoz@igalia.com>
2632
2633         [GTK] Test gardening
2634         https://bugs.webkit.org/show_bug.cgi?id=180150
2635
2636         Unreviewed test gardening
2637
2638         * platform/gtk/TestExpectations:
2639
2640 2017-11-29  Antoine Quint  <graouts@apple.com>
2641
2642         [iOS] Media controls should stop updating while media is playing in fullscreen
2643         https://bugs.webkit.org/show_bug.cgi?id=180144
2644         <rdar://problem/35060379>
2645
2646         Reviewed by Eric Carlson.
2647
2648         Add a new test that enters fullscreen, checks that the elapsed time shown in the inline media controls are the same
2649         at this time and after a few "timeupdate" events, ensuring the DOM is no longer updated while in fullscreen, and then
2650         exits fullscreen and checks that the elapsed time controls now update as expected. This test is skipped in OpenSource
2651         since it uses touch events.
2652
2653         * media/modern-media-controls/media-controller/ios/media-controller-stop-updates-in-fullscreen-expected.txt: Added.
2654         * media/modern-media-controls/media-controller/ios/media-controller-stop-updates-in-fullscreen.html: Added.
2655         * platform/ios-simulator/TestExpectations:
2656
2657 2017-11-29  Simon Fraser  <simon.fraser@apple.com>
2658
2659         Viewport unit values affected by Comand-+ zoom
2660         https://bugs.webkit.org/show_bug.cgi?id=145614
2661
2662         Reviewed by Zalan Bujtas.
2663
2664         * fast/css/viewport-units-zoom-expected.html: Added.
2665         * fast/css/viewport-units-zoom.html: Added.
2666
2667 2017-11-29  Ms2ger  <Ms2ger@igalia.com>
2668
2669         Enable imported/w3c/web-platform-tests/resource-timing/single-entry-per-resource.html.
2670         https://bugs.webkit.org/show_bug.cgi?id=180142
2671
2672         Unreviewed test gardening.
2673
2674         The -expected file was updated to list a PASS result.
2675
2676         * TestExpectations:
2677
2678 2017-11-29  Ms2ger  <Ms2ger@igalia.com>
2679
2680         [GTK][WPE] Test gardening
2681         https://bugs.webkit.org/show_bug.cgi?id=180136
2682
2683         Unreviewed test gardening.
2684
2685         * TestExpectations: Skip more alternative-presentation-button tests.
2686         * platform/gtk/TestExpectations: Updated expectations:
2687           - fast/attachment/attachment-without-appearance.html: recently added test for a disabled feature.
2688           - fast/dom/MutationObserver/end-of-task-delivery.html: flaky.
2689           - http/tests/local/link-stylesheet-load-order-preload.html: flaky.
2690         * platform/gtk/compositing/overflow/composited-scrolling-paint-phases-expected.txt: rebaseline for r225220.
2691         * platform/mac/TestExpectations: Enable the skipped alternative-presentation-button tests.
2692         * platform/wpe/TestExpectations: Updated expectations:
2693           - fast/canvas/canvas-createPattern-video-modify.html: passing since r225060.
2694           - webanimations/*: failing since they were added; bug filed.
2695         * platform/wpe/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt:
2696           DeviceMotionEvent and DeviceMotionEvent were disabled in r225098
2697           (matching mac ports); the remaining difference with the platform-neutral
2698           expectation is that TouchEvent is enabled here.
2699         * platform/wpe/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent-expected.txt:
2700           DeviceMotionEvent and DeviceMotionEvent were disabled in r225098
2701           (matching mac ports); the remaining difference with the platform-neutral
2702           expectation is that TouchEvent is enabled here.
2703
2704 2017-11-29  Antoine Quint  <graouts@apple.com>
2705
2706         Pressing the space bar while watching a fullscreen video doesn't play or pause
2707         https://bugs.webkit.org/show_bug.cgi?id=180033
2708         <rdar://problem/33610443>
2709
2710         Reviewed by Eric Carlson.
2711
2712         Adding a new macOS-only test that checks that pressing the space bar while playing fullscreen
2713         pauses the media and resumes it when pressing the space bar again.
2714
2715         * media/modern-media-controls/media-controller/media-controller-space-bar-toggle-playback-expected.txt: Added.
2716         * media/modern-media-controls/media-controller/media-controller-space-bar-toggle-playback.html: Added.
2717         * media/video-test.js:
2718         (runWithKeyDown): Update the key to not be space since this would cause media to be paused when entering fullscreen.
2719         * platform/ios-simulator/TestExpectations:
2720
2721 2017-11-28  Zan Dobersek  <zdobersek@igalia.com>
2722
2723         [Cairo] Limit the number of active contexts in GraphicsContext3DCairo
2724         https://bugs.webkit.org/show_bug.cgi?id=166968
2725
2726         Reviewed by Alex Christensen.
2727
2728         * platform/gtk/TestExpectations: Unskip WebGL tests that were failing
2729         due to missing active context limit management.
2730         * platform/wpe/TestExpectations: Ditto.
2731
2732 2017-11-28  Joseph Pecoraro  <pecoraro@apple.com>
2733
2734         Web Inspector: Write script syntax tree tests for template literals and default parameter values
2735         https://bugs.webkit.org/show_bug.cgi?id=149450
2736         <rdar://problem/22796879>
2737
2738         Reviewed by Devin Rousso.
2739
2740         * inspector/model/parse-script-syntax-tree-expected.txt:
2741         * inspector/model/parse-script-syntax-tree.html:
2742
2743 2017-11-28  Zalan Bujtas  <zalan@apple.com>
2744
2745         Clean up spanners before creating nested column context
2746         https://bugs.webkit.org/show_bug.cgi?id=180107
2747         <rdar://problem/35686655>
2748         
2749         Reviewed by Antti Koivisto.
2750
2751         * fast/multicol/crash-when-constructing-nested-columns-expected.txt: Added.
2752         * fast/multicol/crash-when-constructing-nested-columns.html: Added.
2753
2754 2017-11-28  Wenson Hsieh  <wenson_hsieh@apple.com>
2755
2756         Allow attachment elements with no appearance to defer rendering to child nodes
2757         https://bugs.webkit.org/show_bug.cgi?id=180117
2758         <rdar://problem/35735339>
2759
2760         Reviewed by Tim Horton.
2761
2762         Adds a ref test verifying that an appearance-less attachment can render child nodes. More extensive testing to
2763         come in a followup patch.
2764
2765         * fast/attachment/attachment-without-appearance-expected.html: Added.
2766         * fast/attachment/attachment-without-appearance.html: Added.
2767
2768 2017-11-28  Chris Dumez  <cdumez@apple.com>
2769
2770         ServiceWorkerGlobalScope.clients should always return the same object
2771         https://bugs.webkit.org/show_bug.cgi?id=180116
2772
2773         Reviewed by Geoffrey Garen.
2774
2775         Add layout test coverage.
2776
2777         * http/tests/workers/service/ServiceWorkerGlobalScope_clients_SameObject-expected.txt: Added.
2778         * http/tests/workers/service/ServiceWorkerGlobalScope_clients_SameObject.html: Added.
2779         * http/tests/workers/service/resources/ServiceWorkerGlobalScope_clients_SameObject-worker.js: Added.
2780
2781 2017-11-28  Ryan Haddad  <ryanhaddad@apple.com>
2782
2783         Unreviewed, correct the location for an expected result file.
2784
2785         * platform/mac-elcapitan/fast/forms/alternative-presentation-button/replacement-expected.txt: Renamed from LayoutTests/platform/mac-elcapitan/fast/alternative-presentation-button/replacement-expected.txt.
2786
2787 2017-11-28  Matt Lewis  <jlewis3@apple.com>
2788
2789         Marked accessibility/ios-simulator/video-elements-ios.html as flaky timout.
2790         https://bugs.webkit.org/show_bug.cgi?id=178195
2791
2792         Unreviewed test gardening.
2793
2794         * platform/ios-wk2/TestExpectations:
2795
2796 2017-11-28  Joseph Pecoraro  <pecoraro@apple.com>
2797
2798         ServiceWorker Inspector: Frontend changes to support Network tab and sub resources
2799         https://bugs.webkit.org/show_bug.cgi?id=179642
2800         <rdar://problem/35517704>
2801
2802         Reviewed by Brian Burg.
2803
2804         * inspector/unit-tests/target-manager-expected.txt:
2805         * inspector/unit-tests/target-manager.html:
2806         Generalize.
2807
2808 2017-11-28  Ryan Haddad  <ryanhaddad@apple.com>
2809
2810         Rebaseline fast/forms/alternative-presentation-button/replacement.html for El Capitan.
2811
2812         Unreviewed test gardening.
2813
2814         * platform/mac-elcapitan/fast/alternative-presentation-button/replacement-expected.txt: Added.
2815
2816 2017-11-28  Said Abou-Hallawa  <sabouhallawa@apple.com>
2817
2818         [CG] PostScript images should be supported if they are sub-resource images
2819         https://bugs.webkit.org/show_bug.cgi?id=178502
2820
2821         Reviewed by Simon Fraser.
2822
2823         * TestExpectations:
2824         * fast/images/eps-as-image-expected.html: Added.
2825         * fast/images/eps-as-image.html: Added.
2826         * fast/images/resources/green-100x100.eps: Added.
2827         * platform/mac/TestExpectations:
2828
2829 2017-11-28  Daniel Bates  <dabates@apple.com>
2830
2831         [Cocoa] First pass at implementing alternative presentation button element
2832         https://bugs.webkit.org/show_bug.cgi?id=179785
2833         Part of <rdar://problem/34917108>
2834
2835         Update expected result.
2836
2837         * fast/forms/alternative-presentation-button/replacement-expected.txt:
2838
2839 2017-11-28  Charles Turner  <cturner@igalia.com>
2840
2841         [GTK] Test gardening
2842         https://bugs.webkit.org/show_bug.cgi?id=180099
2843
2844         Unreviewed test gardening
2845
2846         * platform/gtk/TestExpectations:
2847
2848 2017-11-28  Ryan Haddad  <ryanhaddad@apple.com>
2849
2850         [iOS] Rebaseline editing/execCommand tests
2851         https://bugs.webkit.org/show_bug.cgi?id=180085
2852
2853         Unreviewed test gardening.
2854
2855         * platform/ios-wk2/TestExpectations:
2856         * platform/ios-wk2/editing/execCommand/format-block-with-trailing-br-expected.txt: Added.
2857         * platform/ios-wk2/editing/execCommand/indent-pre-expected.txt: Added.
2858         * platform/ios-wk2/editing/execCommand/selectAll-expected.txt: Added.
2859         * platform/ios/editing/execCommand/create-list-with-hr-expected.txt:
2860         * platform/ios/editing/execCommand/indent-selection-expected.txt:
2861         * platform/ios/editing/execCommand/insert-list-and-stitch-expected.txt:
2862         * platform/ios/editing/execCommand/nsresponder-indent-expected.txt:
2863
2864 2017-11-28  Noah Chase  <nchase@gmail.com>
2865
2866         Web Audio's AnalyserNode.fftSize cannot be greater than 2048 in Safari; spec says it can be up to 32768
2867         https://bugs.webkit.org/show_bug.cgi?id=180040
2868
2869         Reviewed by Alex Christensen.
2870
2871         * webaudio/realtimeanalyser-fft-sizing-expected.txt:
2872         * webaudio/realtimeanalyser-fft-sizing.html:
2873
2874 2017-11-28  Ms2ger  <Ms2ger@igalia.com>
2875
2876         [WPE] Enable the wpt top-level directory.
2877         https://bugs.webkit.org/show_bug.cgi?id=180088
2878
2879         Unreviewed test gardening.
2880
2881         This does not change the output of Tools/Scripts/run-webkit-tests  --print-expectations.
2882
2883         * platform/wpe/TestExpectations:
2884
2885 2017-11-28  Daniel Bates  <dabates@apple.com>
2886
2887         [Cocoa] First pass at implementing alternative presentation button element
2888         https://bugs.webkit.org/show_bug.cgi?id=179785
2889         Part of <rdar://problem/34917108>
2890
2891         Reviewed by Brent Fulgham.
2892
2893         Adds tests to ensure that we can apply and remove the substitution of one or more
2894         elements with the alternative presentation button.
2895
2896         Also added some accessibility tests to ensure that the alternative presentation button
2897         can be seen and hit tested by the accessibility machinery. When the alternative presentation
2898         button is substituted for an <input> it masquerades as a text button and when it is
2899         substituted for an arbitrary HTML element it masquerades as the original element. As a
2900         result the accessibility machinery shows an empty role description in the former case
2901         because it does find the ARIA label for the button and the accessibility element hierarchy
2902         may be incorrect in the latter case. We will fix these issues in a subsequent commit(s).
2903
2904         * TestExpectations: Skip the test on all platforms. We will selectively enable
2905         tests on Cocoa platforms (below).
2906         * accessibility/alternative-presentation-button-expected.txt: Added.
2907         * accessibility/alternative-presentation-button-input-type-expected.txt: Added.
2908         * accessibility/alternative-presentation-button-input-type.html: Added.
2909         * accessibility/alternative-presentation-button.html: Added.
2910         * fast/forms/alternative-presentation-button/replace-and-remove-expected.html: Added.
2911         * fast/forms/alternative-presentation-button/replace-and-remove.html: Added.
2912         * fast/forms/alternative-presentation-button/replacement-expected.txt: Added.
2913         * fast/forms/alternative-presentation-button/replacement.html: Added.
2914         * platform/ios/TestExpectations: Mark tests as PASS so that we run them.
2915         * platform/ios/fast/forms/alternative-presentation-button/replacement-expected.txt: Added.
2916         * platform/mac/TestExpectations: Mark tests as PASS so that we run them.
2917
2918 2017-11-28  Commit Queue  <commit-queue@webkit.org>
2919
2920         Unreviewed, rolling out r225209.
2921         https://bugs.webkit.org/show_bug.cgi?id=180092
2922
2923         Tests are still timing out (Requested by ap on #webkit).
2924
2925         Reverted changeset:
2926
2927         "Pressing the space bar while watching a fullscreen video
2928         doesn't play or pause"
2929         https://bugs.webkit.org/show_bug.cgi?id=180033
2930         https://trac.webkit.org/changeset/225209
2931
2932 2017-11-28  Chris Dumez  <cdumez@apple.com>
2933
2934         Start exposing navigator.serviceWorker inside service workers
2935         https://bugs.webkit.org/show_bug.cgi?id=180087
2936
2937         Reviewed by Brady Eidson.
2938
2939         Add layout test coverage.
2940
2941         * http/tests/workers/service/WorkerNavigator_serviceWorker-expected.txt: Added.
2942         * http/tests/workers/service/WorkerNavigator_serviceWorker.html: Added.
2943         * http/tests/workers/service/resources/WorkerNavigator_serviceWorker-worker.js: Added.
2944
2945 2017-11-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2946
2947         REGRESSION(r225098): [WPE] Some features have changed of value (70 new failures)
2948         https://bugs.webkit.org/show_bug.cgi?id=180004
2949
2950         Reviewed by Alex Christensen.
2951
2952         Remove failure expectations for layout tests that will stop failing once the buildbot master
2953         is restarted. A restart is required for the build to begin using
2954         -DENABLE_EXPERIMENTAL_FEATURES=ON.
2955
2956         * platform/wpe/TestExpectations:
2957
2958 2017-11-28  Antoine Quint  <graouts@apple.com>
2959
2960         Skip back and forward buttons should not hard-code their numeric amount in localised strings
2961         https://bugs.webkit.org/show_bug.cgi?id=180077
2962
2963         Reviewed by Eric Carlson.
2964
2965         Add a new test to check replaced localized string work as expected.
2966
2967         * media/modern-media-controls/localized-strings/replaced-string-expected.txt: Added.
2968         * media/modern-media-controls/localized-strings/replaced-string.html: Added.
2969         * platform/ios-simulator/TestExpectations:
2970         * platform/mac/TestExpectations:
2971
2972 2017-11-28  Antoine Quint  <graouts@apple.com>
2973
2974         Pressing the space bar while watching a fullscreen video doesn't play or pause
2975         https://bugs.webkit.org/show_bug.cgi?id=180033
2976         <rdar://problem/33610443>
2977
2978         Reviewed by Eric Carlson.
2979
2980         Adding a new macOS-only test that checks that pressing the space bar while playing fullscreen
2981         pauses the media and resumes it when pressing the space bar again.
2982
2983         * media/modern-media-controls/media-controller/media-controller-space-bar-toggle-playback-expected.txt: Added.
2984         * media/modern-media-controls/media-controller/media-controller-space-bar-toggle-playback.html: Added.
2985         * platform/ios-simulator/TestExpectations:
2986
2987 2017-11-27  Matt Lewis  <jlewis3@apple.com>
2988
2989         Unreviewed, rolling out r225201.
2990
2991         This caused multiple tests to timeout consistently.
2992
2993         Reverted changeset:
2994
2995         "Pressing the space bar while watching a fullscreen video
2996         doesn't play or pause"
2997         https://bugs.webkit.org/show_bug.cgi?id=180033
2998         https://trac.webkit.org/changeset/225201
2999
3000 2017-11-27  Antoine Quint  <graouts@apple.com>
3001
3002         Pressing the space bar while watching a fullscreen video doesn't play or pause
3003         https://bugs.webkit.org/show_bug.cgi?id=180033
3004         <rdar://problem/33610443>
3005
3006         Reviewed by Eric Carlson.
3007
3008         Adding a new macOS-only test that checks that pressing the space bar while playing fullscreen
3009         pauses the media and resumes it when pressing the space bar again.
3010
3011         * media/modern-media-controls/media-controller/media-controller-space-bar-toggle-playback-expected.txt: Added.
3012         * media/modern-media-controls/media-controller/media-controller-space-bar-toggle-playback.html: Added.
3013         * platform/ios-simulator/TestExpectations:
3014
3015 2017-11-27  Matt Lewis  <jlewis3@apple.com>
3016
3017         Unreviewed, rolling out r225173.
3018
3019         This caused multiple tests to timeout consistently.
3020
3021         Reverted changeset:
3022
3023         "Pressing the space bar while watching a fullscreen video
3024         doesn't play or pause"
3025         https://bugs.webkit.org/show_bug.cgi?id=180033
3026         https://trac.webkit.org/changeset/225173
3027
3028 2017-11-27  Ryan Haddad  <ryanhaddad@apple.com>
3029
3030         Mark imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https.html as flaky.
3031         https://bugs.webkit.org/show_bug.cgi?id=179137
3032
3033         Unreviewed test gardening.
3034
3035         * TestExpectations:
3036
3037 2017-11-27  Dean Jackson  <dino@apple.com>
3038
3039         Implement OffscreenCanvas.getContext("webgl")
3040         https://bugs.webkit.org/show_bug.cgi?id=180050
3041         <rdar://problem/35705473>
3042
3043         Reviewed by Sam Weinig.
3044
3045         Update expected results.
3046
3047         * http/wpt/offscreen-canvas/getContext-webgl.html:
3048
3049 2017-11-27  Matt Lewis  <jlewis3@apple.com>
3050
3051         Fixed incorrectly marked test expectations.
3052
3053         Unreviewed test gardening.
3054
3055         * platform/ios-wk2/TestExpectations:
3056         * platform/mac-wk2/TestExpectations:
3057
3058 2017-11-27  Alex Christensen  <achristensen@webkit.org>
3059
3060         Run imported/w3c/web-platform-tests/url/failure.html on debug builds after r225186.
3061
3062         * TestExpectations:
3063         It's still flaky, but it doesn't assert any more.
3064
3065 2017-11-27  Chris Dumez  <cdumez@apple.com>
3066
3067         Unreviewed, rebaseline http/tests/workers/service/service-worker-cache-api.https.html
3068
3069         This test is currently marked as flaky.
3070
3071         * http/tests/workers/service/service-worker-cache-api.https-expected.txt:
3072
3073 2017-11-27  Chris Dumez  <cdumez@apple.com>
3074
3075         Unreviewed, unskip service worker tests that are no longer flaky.
3076
3077         * TestExpectations:
3078
3079 2017-11-27  Antoine Quint  <graouts@apple.com>
3080
3081         Pressing the space bar while watching a fullscreen video doesn't play or pause
3082         https://bugs.webkit.org/show_bug.cgi?id=180033
3083         <rdar://problem/33610443>
3084
3085         Reviewed by Eric Carlson.
3086
3087         Adding a new macOS-only test that checks that pressing the space bar while playing fullscreen
3088         pauses the media and resumes it when pressing the space bar again.
3089
3090         * media/modern-media-controls/media-controller/media-controller-space-bar-toggle-playback-expected.txt: Added.
3091         * media/modern-media-controls/media-controller/media-controller-space-bar-toggle-playback.html: Added.
3092         * platform/ios-simulator/TestExpectations:
3093
3094 2017-11-27  Ms2ger  <Ms2ger@igalia.com>
3095
3096         [GTK][WPE] Enable http/wpt/resource-timing/rt-initiatorType-media.html.
3097         https://bugs.webkit.org/show_bug.cgi?id=180034
3098
3099         Unreviewed test gardening.
3100
3101         If this test fails, it will fail with random numbers in the failure
3102         message. The current platform-neutral expectation file contains one
3103         pair of these random numbers, ensuring that this test will never be
3104         interpreted as passing -- not while the bug exists, and not when it
3105         is fixed.
3106
3107         This change updates the expectation file to contain only passes and
3108         enables the test for WPE and GTK, as the bug does not seem to exist
3109         there.
3110
3111         * http/wpt/resource-timing/rt-initiatorType-media-expected.txt:
3112         * platform/gtk/TestExpectations:
3113         * platform/wpe/TestExpectations:
3114         * platform/wpe/http/wpt/resource-timing/rt-initiatorType-media-expected.txt: Removed.
3115
3116 2017-11-27  Carlos Garcia Campos  <cgarcia@igalia.com>
3117
3118         [SOUP] Layout test media/track/track-text-track-cue-list.html crash with g_source_set_ready_time: assertion 'source->ref_count > 0' failed
3119         https://bugs.webkit.org/show_bug.cgi?id=176806
3120
3121         Reviewed by Carlos Alberto Lopez Perez.
3122
3123         * platform/gtk/TestExpectations:
3124
3125 2017-11-27  Javier Fernandez  <jfernandez@igalia.com>
3126
3127         [css-grid] Display issues with child with max-width
3128         https://bugs.webkit.org/show_bug.cgi?id=178973
3129
3130         Reviewed by Darin Adler.
3131
3132         Regression test for the bug.
3133
3134         * fast/css-grid-layout/auto-margins-ignored-during-track-sizing-expected.html: Added.
3135         * fast/css-grid-layout/auto-margins-ignored-during-track-sizing.html: Added.
3136
3137 2017-11-25  Frederic Wang  <fwang@igalia.com>
3138
3139         Import MathML WPT tests
3140         https://bugs.webkit.org/show_bug.cgi?id=179110
3141
3142         Reviewed by Darin Adler.
3143
3144         This patch imports the MathML WPT tests and remove the corresponding unmaintained copies
3145         from LayoutTests/imported/mathml-in-html5/. The only exception is for MathML tests testing
3146         OpenType MATH parameters: They require Web fonts and do not work well in WebKit without
3147         some tweaks because of bug 174030. For now, we only move the web fonts required by the tests
3148         and keep running the legacy versions.
3149
3150         * TestExpectations: Skip MathML tests requiring web fonts and mark some MathML tests as failing.
3151         * imported/mathml-in-html5/fonts/math/axisheight5000-verticalarrow14000.woff: Moved to imported/w3c/web-platform-tests/fonts/math/.
3152         * imported/mathml-in-html5/fonts/math/fraction-axisheight7000-rulethickness1000.woff: Ditto.
3153         * imported/mathml-in-html5/fonts/math/fraction-denominatordisplaystylegapmin5000-rulethickness1000.woff: Ditto.
3154         * imported/mathml-in-html5/fonts/math/fraction-denominatordisplaystyleshiftdown6000-rulethickness1000.woff: Ditto.
3155         * imported/mathml-in-html5/fonts/math/fraction-denominatorgapmin4000-rulethickness1000.woff: Ditto.
3156         * imported/mathml-in-html5/fonts/math/fraction-denominatorshiftdown3000-rulethickness1000.woff: Ditto.
3157         * imported/mathml-in-html5/fonts/math/fraction-numeratordisplaystylegapmin8000-rulethickness1000.woff: Ditto.
3158         * imported/mathml-in-html5/fonts/math/fraction-numeratordisplaystyleshiftup2000-rulethickness1000.woff: Ditto.
3159         * imported/mathml-in-html5/fonts/math/fraction-numeratorgapmin9000-rulethickness1000.woff: Ditto.
3160         * imported/mathml-in-html5/fonts/math/fraction-numeratorshiftup11000-rulethickness1000.woff: Ditto.
3161         * imported/mathml-in-html5/fonts/math/fraction-rulethickness10000.woff: Ditto.
3162         * imported/mathml-in-html5/fonts/math/largeop-displayoperatorminheight5000.woff: Ditto.
3163         * imported/mathml-in-html5/fonts/math/limits-lowerlimitbaselinedropmin3000.woff: Ditto.
3164         * imported/mathml-in-html5/fonts/math/limits-lowerlimitgapmin11000.woff: Ditto.
3165         * imported/mathml-in-html5/fonts/math/limits-upperlimitbaselinerisemin5000.woff: Ditto.
3166         * imported/mathml-in-html5/fonts/math/limits-upperlimitgapmin7000.woff: Ditto.
3167         * imported/mathml-in-html5/fonts/math/lineheight5000-typolineheight2300.woff: Ditto.
3168         * imported/mathml-in-html5/fonts/math/mathvariant-transforms.woff: Ditto.
3169         * imported/mathml-in-html5/fonts/math/radical-degreebottomraisepercent25-rulethickness1000.woff: Ditto.
3170         * imported/mathml-in-html5/fonts/math/radical-displaystyleverticalgap7000-rulethickness1000.woff: Ditto.
3171         * imported/mathml-in-html5/fonts/math/radical-extraascender3000-rulethickness1000.woff: Ditto.
3172         * imported/mathml-in-html5/fonts/math/radical-kernafterdegreeminus5000-rulethickness1000.woff: Ditto.
3173         * imported/mathml-in-html5/fonts/math/radical-kernbeforedegree4000-rulethickness1000.woff: Ditto.
3174         * imported/mathml-in-html5/fonts/math/radical-rulethickness8000.woff: Ditto.
3175         * imported/mathml-in-html5/fonts/math/radical-verticalgap6000-rulethickness1000.woff: Ditto.
3176         * imported/mathml-in-html5/fonts/math/scripts-spaceafterscript3000.woff: Ditto.
3177         * imported/mathml-in-html5/fonts/math/scripts-subscriptbaselinedropmin9000.woff: Ditto.
3178         * imported/mathml-in-html5/fonts/math/scripts-subscriptshiftdown6000.woff: Ditto.
3179         * imported/mathml-in-html5/fonts/math/scripts-subscripttopmax4000.woff: Ditto.
3180         * imported/mathml-in-html5/fonts/math/scripts-subsuperscriptgapmin11000-superscriptbottommaxwithsubscript3000.woff: Ditto.
3181         * imported/mathml-in-html5/fonts/math/scripts-subsuperscriptgapmin11000.woff: Ditto.
3182         * imported/mathml-in-html5/fonts/math/scripts-superscriptbaselinedropmax10000.woff: Ditto.
3183         * imported/mathml-in-html5/fonts/math/scripts-superscriptbottommin8000.woff: Ditto.
3184         * imported/mathml-in-html5/fonts/math/scripts-superscriptshiftup7000.woff: Ditto.
3185         * imported/mathml-in-html5/fonts/math/scripts-superscriptshiftupcramped5000.woff: Ditto.
3186         * imported/mathml-in-html5/fonts/math/stack-axisheight7000.woff: Ditto.
3187         * imported/mathml-in-html5/fonts/math/stack-bottomdisplaystyleshiftdown5000.woff: Ditto.
3188         * imported/mathml-in-html5/fonts/math/stack-bottomshiftdown6000.woff: Ditto.
3189         * imported/mathml-in-html5/fonts/math/stack-displaystylegapmin4000.woff: Ditto.
3190         * imported/mathml-in-html5/fonts/math/stack-gapmin8000.woff: Ditto.
3191         * imported/mathml-in-html5/fonts/math/stack-topdisplaystyleshiftup3000.woff: Ditto.
3192         * imported/mathml-in-html5/fonts/math/stack-topshiftup9000.woff: Ditto.
3193         * imported/mathml-in-html5/fonts/math/stretchstack-bottomshiftdown3000.woff: Ditto.
3194         * imported/mathml-in-html5/fonts/math/stretchstack-gapabovemin7000.woff: Ditto.
3195         * imported/mathml-in-html5/fonts/math/stretchstack-gapbelowmin11000.woff: Ditto.
3196         * imported/mathml-in-html5/fonts/math/stretchstack-topshiftup5000.woff: Ditto.
3197         * imported/mathml-in-html5/fonts/math/underover-accentbaseheight4000-overbarextraascender3000.woff: Ditto.
3198         * imported/mathml-in-html5/fonts/math/underover-accentbaseheight4000-overbarverticalgap11000.woff: Ditto.
3199         * imported/mathml-in-html5/fonts/math/underover-accentbaseheight4000-underbarextradescender5000.woff: Ditto.
3200         * imported/mathml-in-html5/fonts/math/underover-accentbaseheight4000-underbarverticalgap7000.woff: Ditto.
3201         * imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-1.html:
3202         Update the URL to use the fonts in w3c/web-platform-tests/fonts/math/.
3203         * imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-2.html: Ditto.
3204         * imported/mathml-in-html5/mathml/presentation-markup/radicals/root-parameters-1.html: Ditto.
3205         * imported/mathml-in-html5/mathml/presentation-markup/scripts/subsup-parameters-1.html: Ditto.
3206         * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-1.html: Ditto.
3207         * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-2.html: Ditto.
3208         * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-3.html: Ditto.
3209         * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-4.html: Ditto.
3210         * imported/mathml-in-html5/mathml/relations/css-styling/mathvariant-transforms-1-expected.html: Removed.
3211         * imported/mathml-in-html5/mathml/relations/css-styling/mathvariant-transforms-1.html: Removed.
3212         * imported/mathml-in-html5/mathml/relations/css-styling/mathvariant-transforms-2-expected.html: Removed.
3213         * imported/mathml-in-html5/mathml/relations/css-styling/mathvariant-transforms-2.html: Removed.
3214         * imported/mathml-in-html5/mathml/relations/html5-tree/namespace-1-expected.txt: Removed.
3215         * imported/mathml-in-html5/mathml/relations/html5-tree/namespace-1.html: Removed.
3216         * platform/ios/TestExpectations: Updated to match the new version in imported/w3c.
3217         * platform/mac/TestExpectations: Ditto.
3218         * platform/win/TestExpectations: Ditto.
3219
3220 2017-11-26  Simon Fraser  <simon.fraser@apple.com>
3221
3222         feImage as filter input has skewed colors
3223         https://bugs.webkit.org/show_bug.cgi?id=180021
3224
3225         Reviewed by Sam Weinig.
3226
3227         * svg/filters/feImage-color-fidelity-expected.svg: Added.
3228         * svg/filters/feImage-color-fidelity.svg: Added.
3229
3230 2017-11-26  Simon Fraser  <simon.fraser@apple.com>
3231
3232         Use more Uint8ClampedArray& and constness in filter and image buffer code
3233         https://bugs.webkit.org/show_bug.cgi?id=180008
3234
3235         Reviewed by Darin Adler.
3236
3237         Fix a bug in FEGaussianBlur where the output of the last blur pass wasn't
3238         copied to the result buffer, which required a test adjustment.
3239
3240         * css3/filters/filter-on-overflow-hidden-expected.html:
3241         * css3/filters/filter-on-overflow-hidden.html:
3242
3243 2017-11-24  Antti Koivisto  <antti@apple.com>
3244
3245         Style resolution spin due to calc() values always comparing inequal (seen on arstechnica.com)
3246         https://bugs.webkit.org/show_bug.cgi?id=179982
3247         <rdar://problem/35677991>
3248
3249         Reviewed by Darin Adler.
3250
3251         * transitions/transition-with-calc-spin-expected.txt: Added.
3252         * transitions/transition-with-calc-spin.html: Added.
3253
3254 2017-11-24  Antoine Quint  <graouts@apple.com>
3255
3256         Captions move when <video> with no controls is hovered
3257         https://bugs.webkit.org/show_bug.cgi?id=178600
3258         <rdar://problem/35112309>
3259
3260         Reviewed by Jer Noble.
3261
3262         We add two tests to check that we correctly reduce the height of the text tracks container
3263         when the controls bar should be visible, and that we do not reduce it when the controls are
3264         not visible.
3265
3266         * media/modern-media-controls/text-tracks/text-tracks-height-no-controls-expected.txt: Added.
3267         * media/modern-media-controls/text-tracks/text-tracks-height-no-controls.html: Added.
3268         * media/modern-media-controls/text-tracks/text-tracks-height-with-controls-expected.txt: Added.
3269         * media/modern-media-controls/text-tracks/text-tracks-height-with-controls.html: Added.
3270         * platform/mac/TestExpectations:
3271
3272 2017-11-24  Ms2ger  <Ms2ger@igalia.com>
3273
3274         [GTK] Remove reference to css-shapes-1/test-plan/index.html.
3275         https://bugs.webkit.org/show_bug.cgi?id=168553
3276
3277         Unreviewed test gardening.
3278
3279         * platform/gtk/TestExpectations:
3280
3281 2017-11-24  Ms2ger  <Ms2ger@igalia.com>
3282
3283         [WPE] Update some test expectations
3284         https://bugs.webkit.org/show_bug.cgi?id=180000
3285
3286         Unreviewed test gardening.
3287
3288         * platform/wpe/TestExpectations:
3289           * Mark as intermittently passing:
3290               - animations/negative-delay.html (also noted the bug)
3291               - fast/canvas/canvas-overflow-hidden-animation.html
3292               - imported/w3c/i18n/bidi/bidi-plaintext-011.html
3293
3294           * Enable tests fixed in r224580:
3295               - imported/w3c/IndexedDB-private-browsing/idb_webworkers.html
3296               - storage/indexeddb/basics-workers.html
3297               - storage/indexeddb/cursor-advance-workers.html
3298               - storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-workers.html
3299               - storage/indexeddb/dont-commit-on-blocked.html
3300               - storage/indexeddb/index-basics-workers.html
3301               - storage/indexeddb/modern/blob-simple-workers.html
3302               - storage/indexeddb/modern/worker-getall.html
3303               - storage/indexeddb/modern/workers-enable.html
3304               - storage/indexeddb/objectstore-basics-workers.html
3305               - storage/indexeddb/open-twice-workers.html
3306               - storage/indexeddb/pending-activity-workers.html
3307               - storage/indexeddb/pending-version-change-on-exit.html
3308               - storage/indexeddb/pending-version-change-on-exit-private.html
3309               - storage/indexeddb/pending-version-change-stuck.html
3310               - storage/indexeddb/pending-version-change-stuck-private.html
3311               - storage/indexeddb/pending-version-change-stuck-works-with-terminate.html
3312               - storage/indexeddb/pending-version-change-stuck-works-with-terminate-private.html
3313               - storage/indexeddb/transaction-complete-workers.html
3314               - storage/indexeddb/transaction-complete-workers-private.html
3315               - storage/indexeddb/unprefix-workers.html
3316
3317           * Remove failure expectations for tests that are passing on the bot:
3318               - fast/canvas/webgl/tex-image-and-sub-image-2d-with-video.html: passing since r225060.
3319               - fast/events/event-view-toString.html: passing since r221858.
3320               - fast/events/offsetX-offsetY.html: passing since r221858.
3321               - fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-percent.html: passing since r221858.
3322               - webgl/1.0.2/conformance/context/context-creation-and-destruction.html:
3323                 passing since its missing resource was added in r223632.
3324
3325           * Add some passing expectations for tests that are marked as failing in the platform-neutral file:
3326               - css2.1/20110323/replaced-intrinsic-001.htm: has been passing for a long time;
3327                 the baseline probably does not reflect the actual pass condition.
3328                 (The upstream test is claimed to be invalid, and fails in all browsers.)
3329               - css2.1/20110323/replaced-intrinsic-002.htm:  has been passing for a long time;
3330                 the baseline probably does not reflect the actual pass condition.
3331                 (The upstream test is claimed to be invalid, and fails in all browsers.)
3332               - css3/flexbox/csswg/flexbox_flex-natural-mixed-basis-auto.html: passing since r222128.
3333               - transitions/svg-text-shadow-transition.html: passing since expectation rebaseline in r222084.
3334
3335 2017-11-24  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3336
3337         REGRESSION(r225098): [WPE] Gardening of tests after r225098.
3338
3339         70 new failures after some features changed of value.
3340         Reported on https://bugs.webkit.org/show_bug.cgi?id=180004
3341         Remove also 2 duplicated entries on the expectations file.
3342
3343         Unreviewed gardening.
3344
3345         * platform/wpe/TestExpectations:
3346
3347 2017-11-24  Antoine Quint  <graouts@apple.com>
3348
3349         [Web Animations] Allow getComputedStyle() to return animated values for accelerated animations
3350         https://bugs.webkit.org/show_bug.cgi?id=179975
3351         <rdar://problem/35676811>
3352
3353         Reviewed by Dean Jackson.
3354
3355         Add a new test that checks that the computed style of accelerated animation returns the animated value.
3356         This test would fail for the accelerated case prior to this patch.
3357
3358         * http/wpt/wk-web-animations/interfaces/keyframe-effect-getComputedStyle-expected.txt: Added.
3359         * http/wpt/wk-web-animations/interfaces/keyframe-effect-getComputedStyle.html: Added.
3360
3361 2017-11-24  Mark Lam  <mark.lam@apple.com>
3362
3363         Move unsafe jsc shell test functions to the $vm object.
3364         https://bugs.webkit.org/show_bug.cgi?id=179980
3365
3366         Reviewed by Yusuke Suzuki.
3367
3368         * js/script-tests/stack-trace.js:
3369         * js/stack-trace-expected.txt:
3370
3371 2017-11-23  Antoine Quint  <graouts@apple.com>
3372
3373         [Web Animations] Perform hardware-composited animations when possible
3374         https://bugs.webkit.org/show_bug.cgi?id=179973
3375         <rdar://problem/34953922>
3376
3377         Reviewed by Dean Jackson.
3378
3379         Add a series of tests to check that we use hardware-compositing for animations when possible.
3380         Specifically, we check that:
3381         
3382         1. Specifying both accelerated and non-accelerated properties for a single animation does *not*
3383         yield hardware compositing (left-and-opacity-animation-yields-no-compositing.html).
3384
3385         2. Specifying both accelerated and non-accelerated properties via multiple animations does *not*
3386         yield hardware compositing (width-and-opacity-separate-animation-yields-no-compositing.html).
3387
3388         3. Specifying only accelerated properties *does* yield hardware compositing
3389         (opacity-animation-yields-compositing.html).
3390
3391         4. Hardware-composited animations no longer enforce hardware compositing after their completion
3392         (opacity-animation-no-longer-composited-upon-completion.html).
3393
3394         * webanimations/left-and-opacity-animation-yields-no-compositing-expected.txt: Added.
3395         * webanimations/left-and-opacity-animation-yields-no-compositing.html: Added.
3396         * webanimations/opacity-animation-no-longer-composited-upon-completion-expected.txt: Added.
3397         * webanimations/opacity-animation-no-longer-composited-upon-completion.html: Added.
3398         * webanimations/opacity-animation-yields-compositing-expected.txt: Added.
3399         * webanimations/opacity-animation-yields-compositing.html: Added.
3400         * webanimations/width-and-opacity-separate-animation-yields-no-compositing-expected.txt: Added.
3401         * webanimations/width-and-opacity-separate-animation-yields-no-compositing.html: Added.
3402
3403 2017-11-23  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3404
3405         REGRESSION(r225098): [GTK] Gardening of tests after r225098.
3406         https://bugs.webkit.org/show_bug.cgi?id=179989
3407
3408         Unreviewed.
3409
3410         Mark new expected failures meanwhile the issue is not fixed.
3411
3412         * platform/gtk/TestExpectations:
3413
3414 2017-11-23  Simon Fraser  <simon.fraser@apple.com>
3415
3416         Add support for CanvasPattern.setTransform()
3417         https://bugs.webkit.org/show_bug.cgi?id=179935
3418
3419         Reviewed by Sam Weinig.
3420         
3421         Moved the test previously known as canvas-pattern-transform.html to canvas-pattern-with-transform.html
3422         and added a new test.
3423
3424         * fast/canvas/canvas-pattern-transform-expected.txt:
3425         * fast/canvas/canvas-pattern-transform.html:
3426         * fast/canvas/canvas-pattern-with-transform-expected.txt: Copied from LayoutTests/fast/canvas/canvas-pattern-transform-expected.txt.
3427         * fast/canvas/canvas-pattern-with-transform.html: Copied from LayoutTests/fast/canvas/canvas-pattern-transform.html.
3428         * fast/canvas/canvas-pattern-with-transform.js: Renamed from LayoutTests/fast/canvas/canvas-pattern-transform.js.
3429
3430 2017-11-23  Ms2ger  <Ms2ger@igalia.com>
3431
3432         [WPE] Mark media/media-source/media-source-paint-to-canvas.html as passing.
3433         https://bugs.webkit.org/show_bug.cgi?id=178706
3434
3435         Unreviewed test gardening.
3436
3437         It has passed since r225060.
3438
3439         * platform/wpe/TestExpectations:
3440
3441         [WPE] Re-enable fast/dom/Document/CaretRangeFromPoint/replace-element.html.
3442         https://bugs.webkit.org/show_bug.cgi?id=176820
3443
3444         Unreviewed test gardening.
3445
3446         The test started passing again in r221974.
3447
3448         * platform/wpe/TestExpectations:
3449
3450 2017-11-23  Ms2ger  <Ms2ger@igalia.com>
3451
3452         [WPE] Enable some more wpt tests.
3453         https://bugs.webkit.org/show_bug.cgi?id=179939
3454
3455         Reviewed by Žan Doberšek.
3456
3457         * TestExpectations: Add the number of a bug I filed.
3458         * platform/wpe/TestExpectations: Enable some smaller top-level wpt
3459           directories.