DeleteSelectionCommand should be robust when starting and ending editable positions...
[WebKit-https.git] / LayoutTests / ChangeLog
1 2017-08-23  Wenson Hsieh  <wenson_hsieh@apple.com>
2
3         DeleteSelectionCommand should be robust when starting and ending editable positions cannot be found
4         https://bugs.webkit.org/show_bug.cgi?id=175914
5         <rdar://problem/29792688>
6
7         Reviewed by Ryosuke Niwa.
8
9         Adds a new LayoutTest. This test passes if WebKit successfully loaded the page.
10
11         * editing/execCommand/forward-delete-read-write-canvas-expected.txt: Added.
12         * editing/execCommand/forward-delete-read-write-canvas.html: Added.
13
14 2017-08-23  Matt Lewis  <jlewis3@apple.com>
15
16         Marked loader/stateobjects/replacestate-size.html as flaky.
17         https://bugs.webkit.org/show_bug.cgi?id=172829
18
19         Unreviewed test gardening.
20
21         * platform/mac-wk2/TestExpectations:
22
23 2017-08-23  Michael Saboff  <msaboff@apple.com>
24
25         REGRESSION (r221052): DumpRenderTree crashed in com.apple.JavaScriptCore: JSC::Yarr::YarrCodeBlock::execute + 137
26         https://bugs.webkit.org/show_bug.cgi?id=175903
27
28         Reviewed by Saam Barati.
29
30         New regression test case.
31
32         * js/regexp-unicode-expected.txt:
33         * js/script-tests/regexp-unicode.js:
34
35 2017-08-23  Matt Lewis  <jlewis3@apple.com>
36
37         Marked webrtc/filtering-ice-candidate-after-reload.html a flaky.
38         https://bugs.webkit.org/show_bug.cgi?id=174471
39
40         Unreviewed test gardening.
41
42         * platform/wk2/TestExpectations:
43
44 2017-08-23  Jer Noble  <jer.noble@apple.com>
45
46         Track VideoPlaybackQuality metrics when using WebCoreDecompressionSession.
47         https://bugs.webkit.org/show_bug.cgi?id=175835
48         <rdar://problem/34022234>
49
50         Reviewed by Eric Carlson.
51
52         * platform/mac/media/media-source/videoplaybackquality-decompressionsession-expected.txt: Added.
53         * platform/mac/media/media-source/videoplaybackquality-decompressionsession.html: Added.
54
55 2017-08-23  Matt Lewis  <jlewis3@apple.com>
56
57         Removed flaky timeout expectation for inspector/codemirror/prettyprinting-css.html.
58
59         Unreviewed test gardening.
60
61         * platform/mac/TestExpectations:
62
63 2017-08-22  Dean Jackson  <dino@apple.com>
64
65         Default passive touch event listeners on the root
66         https://bugs.webkit.org/show_bug.cgi?id=175346
67         <rdar://problem/33164597>
68
69         Reviewed by Sam Weinig.
70
71         * fast/events/touch/ios/passive-by-default-on-document-and-window-expected.txt: Added.
72         * fast/events/touch/ios/passive-by-default-on-document-and-window.html: Added.
73         * fast/events/touch/ios/passive-by-default-overridden-on-document-and-window-expected.txt: Added.
74         * fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html: Added.
75         * fast/events/touch/ios/tap-with-active-listener-on-window.html: Explicitly set passive to false.
76         * fast/events/touch/ios/touch-event-regions/document.html: Ditto.
77
78 2017-08-23  Matt Lewis  <jlewis3@apple.com>
79
80         Marked imported/w3c/web-platform-tests/html/webappapis/timers/type-long-settimeout.html as flaky.
81         https://bugs.webkit.org/show_bug.cgi?id=173780
82
83         Unreviewed test gardening.
84
85         * platform/mac/TestExpectations:
86
87 2017-08-23  Skachkov Oleksandr  <gskachkov@gmail.com>
88
89         [ESNext] Async iteration - Implement Async Generator - runtime
90         https://bugs.webkit.org/show_bug.cgi?id=175240
91
92         Reviewed by Yusuke Suzuki.
93
94         * js/Object-getOwnPropertyNames-expected.txt:
95         * js/script-tests/Object-getOwnPropertyNames.js:
96
97 2017-08-23  Brent Fulgham  <bfulgham@apple.com>
98
99         Ensure media controls host exists before using it
100         https://bugs.webkit.org/show_bug.cgi?id=175833
101         <rdar://problem/34001219>
102
103         Reviewed by Jer Noble.
104
105         * media/track/track-display-before-controls-crash-expected.txt: Added.
106         * media/track/track-display-before-controls-crash.html: Added.
107
108 2017-08-23  Carlos Alberto Lopez Perez  <clopez@igalia.com>
109
110         [WPE] Some event handlers not working.
111         https://bugs.webkit.org/show_bug.cgi?id=175864
112
113         Reviewed by Michael Catanzaro.
114
115         Remove expected failures for tests that now pass, add new expectation
116         for a test that is failing also on GTK+ and rebaseline a test with
117         the same expected result than on GTK+.
118
119         * platform/wpe/TestExpectations:
120         * platform/wpe/fast/events/focus-label-legend-elements-with-tab-expected.txt: Added.
121
122 2017-08-23  Ms2ger  <Ms2ger@igalia.com>
123
124         [GTK] Remove some flaky annotations for passing tests.
125         https://bugs.webkit.org/show_bug.cgi?id=175881
126
127         Unreviewed test gardening.
128
129         None of these tests have had their alternative status in months.
130
131         * platform/gtk/TestExpectations:
132
133 2017-08-23  Zan Dobersek  <zdobersek@igalia.com>
134
135         Unreviewed WPE gardening. Unskipping tests under fast/canvas/, adding
136         failure expectations for actual failures, and providing port-specific
137         baselines for tests that require them.
138
139         * platform/wpe/TestExpectations:
140         * platform/wpe/fast/canvas: Added.
141         * platform/wpe/fast/canvas/canvas-size-change-after-layout-expected.txt: Added.
142         * platform/wpe/fast/canvas/canvas-zoom-expected.txt: Added.
143         * platform/wpe/fast/canvas/webgl: Added.
144         * platform/wpe/fast/canvas/webgl/angle-instanced-arrays-expected.txt: Added.
145         * platform/wpe/fast/canvas/webgl/angle-instanced-arrays-out-of-bounds-expected.txt: Added.
146         * platform/wpe/fast/canvas/webgl/css-webkit-canvas-expected.txt: Added.
147         * platform/wpe/fast/canvas/webgl/css-webkit-canvas-repaint-expected.txt: Added.
148         * platform/wpe/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Added.
149         * platform/wpe/fast/canvas/webgl/glsl-conformance-expected.txt: Added.
150         * platform/wpe/fast/canvas/webgl/oes-texture-half-float-expected.txt: Added.
151         * platform/wpe/fast/canvas/webgl/webgl-draw-buffers-expected.txt: Added.
152
153 2017-08-23  Ms2ger  <Ms2ger@igalia.com>
154
155         [GTK][WPE] Unreviewed test gardening
156         https://bugs.webkit.org/show_bug.cgi?id=175878
157
158         Unreviewed test gardening.
159
160         * platform/gtk/TestExpectations:
161           - Mark fast/mediastream/captureStream/canvas2d-heavy-drawing.html as flaky.
162           - Add crash annotations for cache-storage tests.
163         * platform/gtk/http/wpt/beacon/beacon-async-error-logging-expected.txt:
164           Added: logs a different error message to the console on GTK.
165         * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
166           Update for the disabling of the CSS Regions code in r220870.
167         * platform/wpe/js/dom/global-constructors-attributes-expected.txt:
168           Update for the disabling of the CSS Regions code in r220870.
169
170 2017-08-23  Ms2ger  <Ms2ger@igalia.com>
171
172         Disable intermittently crashing CSS Regions tests.
173         https://bugs.webkit.org/show_bug.cgi?id=135051
174
175         Unreviewed test gardening.
176
177         They have been failing since the CSS Regions code was disabled in r220870.
178         That commit also skipped these tests, but the older crash expectation
179         overrode the skipping.
180
181         * platform/gtk/TestExpectations:
182
183 2017-08-22  Ryosuke Niwa  <rniwa@webkit.org>
184
185         Consolidate the code to normalize MIME type in DataTransfer
186         https://bugs.webkit.org/show_bug.cgi?id=175810
187
188         Rubber-stamped by Wenson Hsieh.
189
190         Address the forgotten review comment by Wenson.
191
192         * editing/pasteboard/datatransfer-getdata-plaintext-expected.txt:
193         * editing/pasteboard/datatransfer-getdata-plaintext.html:
194
195 2017-08-22  Wenson Hsieh  <wenson_hsieh@apple.com>
196
197         [iOS WK2] WKWebView schedules nonstop layout after pressing cmb+b,i,u inside a contenteditable div
198         https://bugs.webkit.org/show_bug.cgi?id=175116
199         <rdar://problem/28279301>
200
201         Reviewed by Darin Adler and Ryosuke Niwa.
202
203         * platform/ios-wk2/editing/style/unbold-in-bold-expected.txt:
204         * platform/mac-wk2/editing/style/unbold-in-bold-expected.txt:
205
206         Rebaseline a WK2 LayoutTest expectations. This test currently expects an empty anonymous RenderBlock to be
207         inserted into the render tree, but this is only a result of us adding and removing a temporary <span> when
208         computing a RenderStyle in WebPage::editorState -- this patch removes these empty RenderBlocks, making these
209         expectations' RenderTrees consistent with WebKit1.
210
211 2017-08-22  Wenson Hsieh  <wenson_hsieh@apple.com>
212
213         [WK2] EditorState updates should be rolled into the layer update lifecycle when possible
214         https://bugs.webkit.org/show_bug.cgi?id=175370
215         <rdar://problem/33799806>
216
217         Reviewed by Ryosuke Niwa.
218
219         Rebaseline and adjust LayoutTests.
220
221         * editing/caret/ios/absolute-caret-position-after-scroll-expected.txt:
222         * editing/caret/ios/absolute-caret-position-after-scroll.html:
223         * editing/caret/ios/fixed-caret-position-after-scroll-expected.txt:
224         * editing/caret/ios/fixed-caret-position-after-scroll.html:
225         * editing/secure-input/password-input-changed-type.html:
226         * editing/secure-input/password-input-focusing.html:
227         * editing/secure-input/removed-password-input.html:
228         * editing/secure-input/reset-state-on-navigation.html:
229         * editing/selection/character-granularity-rect.html:
230
231         Delay checking for secure input state and caret rects until after the next presentation update.
232
233         * editing/selection/ios/absolute-selection-after-scroll-expected.txt:
234         * editing/selection/ios/absolute-selection-after-scroll.html:
235         * editing/selection/ios/fixed-selection-after-scroll-expected.txt:
236         * editing/selection/ios/fixed-selection-after-scroll.html:
237
238         Refactor and simplify these tests. These tests are not run on the OpenSource bots, since they depend on long
239         press and tap gestures.
240
241         * platform/ios-wk2/editing/inserting/insert-div-024-expected.txt:
242         * platform/ios-wk2/editing/inserting/insert-div-026-expected.txt:
243         * platform/ios-wk2/editing/style/5084241-expected.txt:
244
245         Rebaselines these tests, removing an anonymous RenderBlock inserted as a result of inserting and removing a
246         dummy span in order to compute a RenderStyle in WebPage::editorState. This is because editorState is no longer
247         invoked immediately on page load; https://bugs.webkit.org/show_bug.cgi?id=175116 tracks preventing this render
248         tree thrashing altogether.
249
250         * platform/mac-wk2/TestExpectations:
251         * platform/mac-wk2/editing/style/unbold-in-bold-expected.txt:
252         * resources/ui-helper.js:
253
254         Introduce new UIHelper functions.
255
256         (window.UIHelper.ensurePresentationUpdate.return.new.Promise):
257         (window.UIHelper.ensurePresentationUpdate):
258
259         Returns a Promise, resolved after the next presentation update.
260
261         (window.UIHelper.activateAndWaitForInputSessionAt.return.new.Promise.):
262         (window.UIHelper.activateAndWaitForInputSessionAt.return.new.Promise):
263         (window.UIHelper.activateAndWaitForInputSessionAt):
264
265         Returns a Promise, resolved after tapping at the given location and waiting for the keyboard to appear on iOS.
266
267         (window.UIHelper.getUICaretRect.return.new.Promise.):
268         (window.UIHelper.getUICaretRect.return.new.Promise):
269         (window.UIHelper.getUICaretRect):
270         (window.UIHelper.getUISelectionRects.return.new.Promise.):
271         (window.UIHelper.getUISelectionRects.return.new.Promise):
272         (window.UIHelper.getUISelectionRects):
273
274         Helpers to fetch selection and caret rect information in the UI process.
275
276 2017-08-21  Ryosuke Niwa  <rniwa@webkit.org>
277
278         Consolidate the code to normalize MIME type in DataTransfer
279         https://bugs.webkit.org/show_bug.cgi?id=175810
280
281         Reviewed by Wenson Hsieh.
282
283         Added a regression test. Some test cases were failing on some platforms.
284
285         * editing/pasteboard/datatransfer-getdata-plaintext-expected.txt: Added.
286         * editing/pasteboard/datatransfer-getdata-plaintext.html: Added.
287
288 2017-08-22  Matt Lewis  <jlewis3@apple.com>
289
290         Unreviewed, rolling out r221033.
291
292         This revision caused assertion failures on all Open Source
293         Debug testers. See Radar for more information.
294
295         Reverted changeset:
296
297         "Ensure media controls host exists before using it"
298         https://bugs.webkit.org/show_bug.cgi?id=175833
299         http://trac.webkit.org/changeset/221033
300
301 2017-08-22  Matt Lewis  <jlewis3@apple.com>
302
303         Marked http/tests/loading/basic-auth-remove-credentials.html as falky on macOS.
304         https://bugs.webkit.org/show_bug.cgi?id=173500
305
306         Unreviewed test gardening.
307
308         * platform/mac-wk2/TestExpectations:
309
310 2017-08-22  Michael Saboff  <msaboff@apple.com>
311
312         Implement Unicode RegExp support in the YARR JIT
313         https://bugs.webkit.org/show_bug.cgi?id=174646
314
315         Reviewed by Filip Pizlo.
316
317         Updated tests.
318
319         * js/regexp-unicode-expected.txt:
320         * js/script-tests/regexp-unicode.js:
321
322 2017-08-22  Brent Fulgham  <bfulgham@apple.com>
323
324         Unreviewed test fix after r221017.
325
326         I forgot to check-in the expected result!
327
328         * http/tests/security/mixedContent/insecure-executable-css-with-secure-cookies-expected.txt: Added.
329
330 2017-08-22  Brent Fulgham  <bfulgham@apple.com>
331
332         Ensure media controls host exists before using it
333         https://bugs.webkit.org/show_bug.cgi?id=175833
334         <rdar://problem/34001219>
335
336         Reviewed by Jer Noble.
337
338         * media/track/track-display-before-controls-crash-expected.txt: Added.
339         * media/track/track-display-before-controls-crash.html: Added.
340
341 2017-08-22  Chris Dumez  <cdumez@apple.com>
342
343        Unreviewed, beacon/contentextensions is only expected to work on Sierra+.
344
345         * platform/mac-wk2/TestExpectations:
346
347 2017-08-22  Devin Rousso  <webkit@devinrousso.com>
348
349         Web Inspector: provide way for ShaderPrograms to be enabled/disabled
350         https://bugs.webkit.org/show_bug.cgi?id=175400
351
352         Reviewed by Matt Baker.
353
354         * inspector/canvas/setShaderProgramDisabled-expected.txt: Added.
355         * inspector/canvas/setShaderProgramDisabled.html: Added.
356
357 2017-08-22  Youenn Fablet  <youenn@apple.com>
358
359         [Cache API] Add support for overwriting responses with put on an existing record
360         https://bugs.webkit.org/show_bug.cgi?id=175825
361
362         Reviewed by Geoffrey Garen.
363
364         Adding update counter for response
365         Skipping new test on WK1.
366
367         * platform/ios-wk1/TestExpectations:
368         * platform/mac-wk1/TestExpectations:
369         * http/wpt/cache-storage/cache-put-keys.https.any-expected.txt: Added.
370         * http/wpt/cache-storage/cache-put-keys.https.any.html: Added.
371         * http/wpt/cache-storage/cache-put-keys.https.any.js: Added.
372         (cache_test):
373         * http/wpt/cache-storage/cache-put-keys.https.any.worker-expected.txt: Added.
374         * http/wpt/cache-storage/cache-put-keys.https.any.worker.html: Added.
375
376 2017-08-22  Matt Lewis  <jlewis3@apple.com>
377
378         Marked imported/w3c/web-platform-tests/fetch/http-cache/invalidate.html as flaky on macOS WK2.
379         https://bugs.webkit.org/show_bug.cgi?id=173672
380
381         Unreviewed test gardening.
382
383         * platform/mac-wk2/TestExpectations:
384
385 2017-08-22  Andy Estes  <aestes@apple.com>
386
387         [Payment Request] Implement error checking for show(), abort(), and canMakePayment()
388         https://bugs.webkit.org/show_bug.cgi?id=175789
389
390         Reviewed by Brady Eidson.
391         
392         Stopped marking payment-request-abort-method.https.html and payment-request-show-method.https.html  as flaky.
393
394         * platform/ios-wk2/TestExpectations:
395         * platform/mac-wk2/TestExpectations:
396
397 2017-08-22  Chris Dumez  <cdumez@apple.com>
398
399         Unreviewed, enable http/wpt/beacon/contentextensions on Mac WK2 only.
400
401         It seems content extensions are not supported by WKTR on iOS.
402
403         * TestExpectations:
404         * platform/mac-wk2/TestExpectations:
405
406 2017-08-22  Brent Fulgham  <bfulgham@apple.com> and Pranjal Jumde  <pjumde@apple.com>
407
408         Disable access to secure cookies if an HTTPS site loads mixed content
409         https://bugs.webkit.org/show_bug.cgi?id=157053
410         <rdar://problem/11290808>
411
412         Reviewed by Dan Bates.
413
414         * http/tests/security/mixedContent/insecure-css-with-secure-cookies-expected.txt: Added.
415         * http/tests/security/mixedContent/insecure-css-with-secure-cookies.html: Added.
416         * http/tests/security/mixedContent/insecure-executable-css-with-secure-cookies.html: Added.
417         * http/tests/security/mixedContent/insecure-executable-css-with-secure-cookies-expected.txt: Added.
418         * http/tests/security/mixedContent/insecure-image-with-securecookie-block-expected.txt: Added.
419         * http/tests/security/mixedContent/insecure-image-with-securecookie-block.html: Added.
420         * http/tests/security/mixedContent/insecure-image-with-securecookie-expected.txt: Added.
421         * http/tests/security/mixedContent/insecure-image-with-securecookie.html: Added.
422         * http/tests/security/mixedContent/insecure-script-with-secure-cookies-expected.txt: Added.
423         * http/tests/security/mixedContent/insecure-script-with-secure-cookies.html: Added.
424         * http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-block-expected.txt: Added.
425         * http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-block.html: Added.
426         * http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-expected.txt: Added.
427         * http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies.html: Added.
428         * http/tests/security/mixedContent/resources/frame-with-insecure-css-secure-cookies.html: Added.
429         * http/tests/security/mixedContent/resources/frame-with-insecure-executable-css-with-secure-cookies.html: Added.
430         * http/tests/security/mixedContent/resources/frame-with-insecure-image-secure-cookie-block.html: Added.
431         * http/tests/security/mixedContent/resources/frame-with-insecure-image-secure-cookie.html: Added.
432         * http/tests/security/mixedContent/resources/frame-with-insecure-script-secure-cookies.html: Added.
433         * http/tests/security/mixedContent/resources/frame-with-redirect-https-to-http-image-secure-cookie-block.html: Added.
434         * http/tests/security/mixedContent/resources/frame-with-redirect-https-to-http-image-secure-cookie.html: Added.
435         * http/tests/security/mixedContent/resources/insecure-executable.css: Added.
436         * http/tests/security/mixedContent/resources/insecure.css: Added.
437         * http/tests/security/resources/greenbox-hotspot5-4.cur: Added.
438
439 2017-08-22  Jer Noble  <jer.noble@apple.com>
440
441         Autoplay Muted Videos Don't Play When Outside Viewport
442         https://bugs.webkit.org/show_bug.cgi?id=175748
443         <rdar://problem/33974383>
444
445         Reviewed by Eric Carlson.
446
447         * media/video-restricted-invisible-autoplay-not-allowed-source-expected.txt: Added.
448         * media/video-restricted-invisible-autoplay-not-allowed-source.html: Added.
449
450 2017-08-21  Matt Rajca  <mrajca@apple.com>
451
452         Call updateIsPlayingMedia whenever m_userHasInteractedWithMediaElement changes
453         https://bugs.webkit.org/show_bug.cgi?id=175796
454
455         Reviewed by Eric Carlson.
456
457         Skip the test on iOS like all the other tests that use runWithKeyDown.
458
459         * media/video-user-gesture-tracking-expected.txt: Added.
460         * media/video-user-gesture-tracking.html: Added.
461
462 2017-08-21  Chris Dumez  <cdumez@apple.com>
463
464         [Beacon] Content extensions should be able to intercept Beacon / Ping redirects
465         https://bugs.webkit.org/show_bug.cgi?id=175746
466         <rdar://problem/33946050>
467
468         Reviewed by Alex Christensen.
469
470         Add layout test coverage for blocking beacon loads via content extensions.
471
472         * http/wpt/beacon/connect-src-beacon-redirect-blocked.sub-expected.txt:
473         * http/wpt/beacon/connect-src-beacon-redirect-blocked.sub.html:
474         * http/wpt/beacon/contentextensions/beacon-blocked-expected.txt: Added.
475         * http/wpt/beacon/contentextensions/beacon-blocked.html: Added.
476         * http/wpt/beacon/contentextensions/beacon-blocked.html.json: Added.
477         * http/wpt/beacon/contentextensions/beacon-redirect-blocked-expected.txt: Added.
478         * http/wpt/beacon/contentextensions/beacon-redirect-blocked.html: Added.
479         * http/wpt/beacon/contentextensions/beacon-redirect-blocked.html.json: Added.
480
481 2017-08-21  Matt Lewis  <jlewis3@apple.com>
482
483         Fixed expectations.
484
485         Unreviewed test expectations.
486
487         * platform/mac/TestExpectations:
488
489 2017-08-21  Ms2ger  <Ms2ger@gmail.com>
490
491         Stop media/video-controls-toggling.html from timing out.
492         https://bugs.webkit.org/show_bug.cgi?id=116266
493
494         Reviewed by Dean Jackson.
495
496         Use getComputedStyle to check the display property. Element::style only
497         contains properties set in the style attribute, but the display property
498         is set through CSS using the 'hidden' class.
499
500         * media/video-controls-toggling-expected.txt:
501         * media/video-controls-toggling.html:
502         * platform/gtk/TestExpectations:
503         * platform/gtk/media/video-controls-toggling-expected.txt:
504           Copied from LayoutTests/media/video-controls-toggling-expected.txt.
505           I'm not sure where the console message comes from, but it seems to
506           be in the GTK-specific code.
507
508 2017-08-21  Dean Jackson  <dino@apple.com>
509
510         Persistent WebGL Warning "vertex WARNING: 0:1: extension 'GL_ARB_gpu_shader5' is not supported" in Safari 10.1.2
511         https://bugs.webkit.org/show_bug.cgi?id=175783
512         <rdar://problem/33623867>
513
514         Reviewed by Alex Christensen.
515
516         * fast/canvas/webgl/no-info-log-for-simple-shaders-expected.txt: Added.
517         * fast/canvas/webgl/no-info-log-for-simple-shaders.html: Added.
518
519 2017-08-21  Matt Lewis  <jlewis3@apple.com>
520
521         Marked svg/animations/smil-leak-list-property-instances.svg as flaky on macOS WK1.
522         https://bugs.webkit.org/show_bug.cgi?id=174218
523
524         Unreviewed test gardening.
525
526         * platform/mac-wk1/TestExpectations:
527
528 2017-08-21  Ms2ger  <Ms2ger@gmail.com>
529
530         Re-enable tests based on media-fullscreen.js for GTK.
531         https://bugs.webkit.org/show_bug.cgi?id=175770
532
533         Reviewed by Eric Carlson.
534
535         The media-fullscreen-not-in-document test checks that a disconnected
536         element can go fullscreen, while the code explicitly disallows that
537         (in Document::requestFullScreenForElement). Update the test to match
538         the code.
539
540         The media-fullscreen-inline test will now fail more clearly if the
541         attempt to go fullscreen is rejected (which it isn't).
542
543         * media/media-fullscreen-not-in-document-expected.txt: rebaseline.
544         * media/media-fullscreen.js:
545         (fullscreenerror): pass the test if the webkitfullscreenerror
546         (addEventListeners): add a webkitfullscreenerror event handler
547         * platform/gtk/TestExpectations: remove failure expectations.
548         * platform/gtk/media/media-fullscreen-not-in-document-expected.txt:
549           Copied from LayoutTests/media/media-fullscreen-not-in-document-expected.txt.
550           This copy leaves out the webkitSupportsPresentationMode check that's
551           disabled on GTK.
552
553 2017-08-21  Matt Lewis  <jlewis3@apple.com>
554
555         Marked inspector/css/add-rule.html as flaky on macOS
556         https://bugs.webkit.org/show_bug.cgi?id=173560
557
558         Unreviewed test gardening.
559
560         * platform/mac/TestExpectations:
561
562 2017-08-21  Matt Lewis  <jlewis3@apple.com>
563
564         Rebaselined js/dom/global-constructors-attributes.html on macOS.
565
566         Unreviewed test gardening.
567
568         * platform/mac-elcapitan-wk2/js/dom/global-constructors-attributes-expected.txt:
569         * platform/mac-highsierra-wk1/js/dom/global-constructors-attributes-expected.txt:
570         * platform/mac-highsierra/js/dom/global-constructors-attributes-expected.txt:
571         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
572
573 2017-08-21  Ryan Haddad  <ryanhaddad@apple.com>
574
575         Skip imported/w3c/web-platform-tests/payment-request/payment-request-constructor-crash.https.html.
576         https://bugs.webkit.org/show_bug.cgi?id=175773
577
578         Unreviewed test gardening.
579
580         * platform/mac-wk2/TestExpectations:
581
582 2017-08-21  Ms2ger  <Ms2ger@igalia.com>
583
584         [GTK][WPE] Rebaseline tests with list item markers.
585         https://bugs.webkit.org/show_bug.cgi?id=175771
586
587         Unreviewed test gardening.
588
589         The output was changed in r220858 and rebaselined for ios and mac only.
590         They're changes in render tree dumps that don't affect rendering.
591
592         * platform/gtk/css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
593         * platform/gtk/fast/doctypes/002-expected.txt:
594         * platform/gtk/fast/lists/marker-before-empty-inline-expected.txt:
595         * platform/wpe/css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
596
597 2017-08-21  Ms2ger  <Ms2ger@igalia.com>
598
599         media-captions.html improvements
600         https://bugs.webkit.org/show_bug.cgi?id=175768
601
602         Reviewed by Eric Carlson.
603
604         * media/media-captions.html: remove reference to unused script file.
605         * platform/gtk/TestExpectations: remove Timeout, Crash annotations.
606
607 2017-08-21  Ms2ger  <Ms2ger@gmail.com>
608
609         [GTK] Remove some old flaky crash expectations.
610         https://bugs.webkit.org/show_bug.cgi?id=108682
611
612         Unreviewed test gardening.
613
614         * platform/gtk/TestExpectations:
615
616 2017-08-20  Zan Dobersek  <zdobersek@igalia.com>
617
618         [EME] Add basic implementation of HTMLMediaElement::setMediaKeys()
619         https://bugs.webkit.org/show_bug.cgi?id=175717
620
621         Reviewed by Xabier Rodriguez-Calvar.
622
623         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-expected.txt:
624         Update the baseline, with the test no longer timing out but instead
625         failing with a NotAllowed exception thrown.
626
627 2017-08-19  Andy Estes  <aestes@apple.com>
628
629         [Payment Request] Add interface stubs
630         https://bugs.webkit.org/show_bug.cgi?id=175730
631
632         Reviewed by Youenn Fablet.
633
634         * TestExpectations: Skipped payment-request tests.
635         * platform/ios-wk2/TestExpectations: Enabled payment-request tests on ios-wk2.
636         * platform/mac-wk2/TestExpectations: Ditto for mac-wk2.
637
638 2017-08-18  Youenn Fablet  <youenn@apple.com>
639
640         [Cache API] Add support for being loaded responses
641         https://bugs.webkit.org/show_bug.cgi?id=175732
642
643         Reviewed by Chris Dumez.
644
645         * TestExpectations: Removing some flaky test expectations.
646
647 2017-08-18  Chris Dumez  <cdumez@apple.com>
648
649         [Beacon] Improve error reporting
650         https://bugs.webkit.org/show_bug.cgi?id=175723
651
652         Reviewed by Darin Adler.
653
654         Add layout test coverage.
655
656         * http/wpt/beacon/beacon-async-error-logging-expected.txt: Added.
657         * http/wpt/beacon/beacon-async-error-logging.html: Added.
658
659 2017-08-18  Matt Lewis  <jlewis3@apple.com>
660
661         Marked fast/scrolling/arrow-key-scroll-in-rtl-document.html as flaky.
662         https://bugs.webkit.org/show_bug.cgi?id=173779
663
664         Unreviewed Test gardening.
665
666         * platform/mac-wk2/TestExpectations:
667
668 2017-08-18  Sam Weinig  <sam@webkit.org>
669
670         Remove the deprecated WebKitSubtleCrypto interface
671         https://bugs.webkit.org/show_bug.cgi?id=164938
672         <rdar://problem/29894563>
673
674         Reviewed by Chris Dumez.
675
676         * crypto/webkitSubtle: Removed.
677         * crypto/webkitSubtle/aes-cbc-192-encrypt-decrypt-expected.txt: Removed.
678         * crypto/webkitSubtle/aes-cbc-192-encrypt-decrypt.html: Removed.
679         * crypto/webkitSubtle/aes-cbc-256-encrypt-decrypt-expected.txt: Removed.
680         * crypto/webkitSubtle/aes-cbc-256-encrypt-decrypt.html: Removed.
681         * crypto/webkitSubtle/aes-cbc-encrypt-decrypt-expected.txt: Removed.
682         * crypto/webkitSubtle/aes-cbc-encrypt-decrypt-with-padding-expected.txt: Removed.
683         * crypto/webkitSubtle/aes-cbc-encrypt-decrypt-with-padding.html: Removed.
684         * crypto/webkitSubtle/aes-cbc-encrypt-decrypt.html: Removed.
685         * crypto/webkitSubtle/aes-cbc-generate-key-expected.txt: Removed.
686         * crypto/webkitSubtle/aes-cbc-generate-key.html: Removed.
687         * crypto/webkitSubtle/aes-cbc-import-jwk-expected.txt: Removed.
688         * crypto/webkitSubtle/aes-cbc-import-jwk.html: Removed.
689         * crypto/webkitSubtle/aes-cbc-invalid-length-expected.txt: Removed.
690         * crypto/webkitSubtle/aes-cbc-invalid-length.html: Removed.
691         * crypto/webkitSubtle/aes-cbc-unwrap-failure-expected.txt: Removed.
692         * crypto/webkitSubtle/aes-cbc-unwrap-failure.html: Removed.
693         * crypto/webkitSubtle/aes-cbc-unwrap-rsa-expected.txt: Removed.
694         * crypto/webkitSubtle/aes-cbc-unwrap-rsa.html: Removed.
695         * crypto/webkitSubtle/aes-cbc-wrap-rsa-expected.txt: Removed.
696         * crypto/webkitSubtle/aes-cbc-wrap-rsa-non-extractable-expected.txt: Removed.
697         * crypto/webkitSubtle/aes-cbc-wrap-rsa-non-extractable.html: Removed.
698         * crypto/webkitSubtle/aes-cbc-wrap-rsa.html: Removed.
699         * crypto/webkitSubtle/aes-cbc-wrong-key-class-expected.txt: Removed.
700         * crypto/webkitSubtle/aes-cbc-wrong-key-class.html: Removed.
701         * crypto/webkitSubtle/aes-export-key-expected.txt: Removed.
702         * crypto/webkitSubtle/aes-export-key.html: Removed.
703         * crypto/webkitSubtle/aes-kw-key-manipulation-expected.txt: Removed.
704         * crypto/webkitSubtle/aes-kw-key-manipulation.html: Removed.
705         * crypto/webkitSubtle/aes-kw-wrap-unwrap-aes-expected.txt: Removed.
706         * crypto/webkitSubtle/aes-kw-wrap-unwrap-aes.html: Removed.
707         * crypto/webkitSubtle/aes-postMessage-expected.txt: Removed.
708         * crypto/webkitSubtle/aes-postMessage.html: Removed.
709         * crypto/webkitSubtle/argument-conversion-expected.txt: Removed.
710         * crypto/webkitSubtle/argument-conversion.html: Removed.
711         * crypto/webkitSubtle/array-buffer-view-offset-expected.txt: Removed.
712         * crypto/webkitSubtle/array-buffer-view-offset.html: Removed.
713         * crypto/webkitSubtle/disallowed-in-worker-expected.txt: Removed.
714         * crypto/webkitSubtle/disallowed-in-worker.html: Removed.
715         * crypto/webkitSubtle/gc-2-expected.txt: Removed.
716         * crypto/webkitSubtle/gc-2.html: Removed.
717         * crypto/webkitSubtle/gc-3-expected.txt: Removed.
718         * crypto/webkitSubtle/gc-3.html: Removed.
719         * crypto/webkitSubtle/gc-expected.txt: Removed.
720         * crypto/webkitSubtle/gc.html: Removed.
721         * crypto/webkitSubtle/hmac-check-algorithm-expected.txt: Removed.
722         * crypto/webkitSubtle/hmac-check-algorithm.html: Removed.
723         * crypto/webkitSubtle/hmac-export-key-expected.txt: Removed.
724         * crypto/webkitSubtle/hmac-export-key.html: Removed.
725         * crypto/webkitSubtle/hmac-generate-key-expected.txt: Removed.
726         * crypto/webkitSubtle/hmac-generate-key.html: Removed.
727         * crypto/webkitSubtle/hmac-import-jwk-expected.txt: Removed.
728         * crypto/webkitSubtle/hmac-import-jwk.html: Removed.
729         * crypto/webkitSubtle/hmac-postMessage-expected.txt: Removed.
730         * crypto/webkitSubtle/hmac-postMessage.html: Removed.
731         * crypto/webkitSubtle/hmac-sign-verify-empty-key-expected.txt: Removed.
732         * crypto/webkitSubtle/hmac-sign-verify-empty-key.html: Removed.
733         * crypto/webkitSubtle/hmac-sign-verify-expected.txt: Removed.
734         * crypto/webkitSubtle/hmac-sign-verify.html: Removed.
735         * crypto/webkitSubtle/import-export-raw-key-leak-expected.txt: Removed.
736         * crypto/webkitSubtle/import-export-raw-key-leak.html: Removed.
737         * crypto/webkitSubtle/import-jwk-expected.txt: Removed.
738         * crypto/webkitSubtle/import-jwk.html: Removed.
739         * crypto/webkitSubtle/jwk-export-use-values-expected.txt: Removed.
740         * crypto/webkitSubtle/jwk-export-use-values.html: Removed.
741         * crypto/webkitSubtle/jwk-import-use-values-expected.txt: Removed.
742         * crypto/webkitSubtle/jwk-import-use-values.html: Removed.
743         * crypto/webkitSubtle/resources: Removed.
744         * crypto/webkitSubtle/resources/disallowed-in-worker.js: Removed.
745         * crypto/webkitSubtle/resources/rsa-indexeddb-non-exportable.js: Removed.
746         * crypto/webkitSubtle/resources/rsa-indexeddb.js: Removed.
747         * crypto/webkitSubtle/rsa-export-generated-keys-expected.txt: Removed.
748         * crypto/webkitSubtle/rsa-export-generated-keys.html: Removed.
749         * crypto/webkitSubtle/rsa-export-key-expected.txt: Removed.
750         * crypto/webkitSubtle/rsa-export-key.html: Removed.
751         * crypto/webkitSubtle/rsa-export-private-key-expected.txt: Removed.
752         * crypto/webkitSubtle/rsa-export-private-key.html: Removed.
753         * crypto/webkitSubtle/rsa-indexeddb-expected.txt: Removed.
754         * crypto/webkitSubtle/rsa-indexeddb-non-exportable-expected.txt: Removed.
755         * crypto/webkitSubtle/rsa-indexeddb-non-exportable-private-expected.txt: Removed.
756         * crypto/webkitSubtle/rsa-indexeddb-non-exportable-private.html: Removed.
757         * crypto/webkitSubtle/rsa-indexeddb-non-exportable.html: Removed.
758         * crypto/webkitSubtle/rsa-indexeddb-private-expected.txt: Removed.
759         * crypto/webkitSubtle/rsa-indexeddb-private.html: Removed.
760         * crypto/webkitSubtle/rsa-indexeddb.html: Removed.
761         * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key-expected.txt: Removed.
762         * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key.html: Removed.
763         * crypto/webkitSubtle/rsa-oaep-key-manipulation-expected.txt: Removed.
764         * crypto/webkitSubtle/rsa-oaep-key-manipulation.html: Removed.
765         * crypto/webkitSubtle/rsa-oaep-plaintext-length-expected.txt: Removed.
766         * crypto/webkitSubtle/rsa-oaep-plaintext-length.html: Removed.
767         * crypto/webkitSubtle/rsa-oaep-wrap-unwrap-aes-expected.txt: Removed.
768         * crypto/webkitSubtle/rsa-oaep-wrap-unwrap-aes.html: Removed.
769         * crypto/webkitSubtle/rsa-postMessage-expected.txt: Removed.
770         * crypto/webkitSubtle/rsa-postMessage.html: Removed.
771         * crypto/webkitSubtle/rsaes-pkcs1-v1_5-decrypt-expected.txt: Removed.
772         * crypto/webkitSubtle/rsaes-pkcs1-v1_5-decrypt.html: Removed.
773         * crypto/webkitSubtle/rsaes-pkcs1-v1_5-wrap-unwrap-aes-expected.txt: Removed.
774         * crypto/webkitSubtle/rsaes-pkcs1-v1_5-wrap-unwrap-aes.html: Removed.
775         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-expected.txt: Removed.
776         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-expected.txt: Removed.
777         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent.html: Removed.
778         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key.html: Removed.
779         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-import-jwk-expected.txt: Removed.
780         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-import-jwk-small-key-expected.txt: Removed.
781         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-import-jwk-small-key.html: Removed.
782         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-import-jwk.html: Removed.
783         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-sign-verify-expected.txt: Removed.
784         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-sign-verify.html: Removed.
785         * crypto/webkitSubtle/sha-1-expected.txt: Removed.
786         * crypto/webkitSubtle/sha-1.html: Removed.
787         * crypto/webkitSubtle/sha-224-expected.txt: Removed.
788         * crypto/webkitSubtle/sha-224.html: Removed.
789         * crypto/webkitSubtle/sha-256-expected.txt: Removed.
790         * crypto/webkitSubtle/sha-256.html: Removed.
791         * crypto/webkitSubtle/sha-384-expected.txt: Removed.
792         * crypto/webkitSubtle/sha-384.html: Removed.
793         * crypto/webkitSubtle/sha-512-expected.txt: Removed.
794         * crypto/webkitSubtle/sha-512.html: Removed.
795         * crypto/webkitSubtle/unimplemented-unwrap-crash-expected.txt: Removed.
796         * crypto/webkitSubtle/unimplemented-unwrap-crash.html: Removed.
797         * crypto/webkitSubtle/unwrapKey-check-usage-expected.txt: Removed.
798         * crypto/webkitSubtle/unwrapKey-check-usage.html: Removed.
799         * crypto/webkitSubtle/wrapKey-check-usage-expected.txt: Removed.
800         * crypto/webkitSubtle/wrapKey-check-usage.html: Removed.
801
802             Remove webkitSubtleCrypto tests.
803
804         * fast/dom/Window/property-access-on-cached-window-after-frame-removed-expected.txt:
805
806             Remove webkitSubtleCrypto deprecation warning that no longer happens.
807
808         * platform/ios-wk1/TestExpectations:
809         * platform/win/TestExpectations:
810         * platform/wpe/TestExpectations:
811
812             Remove webkitSubtle tests from expectations files.
813
814 2017-08-18  Jonathan Bedard  <jbedard@apple.com>
815
816         Marking canvas/webgl tests as failing
817         https://bugs.webkit.org/show_bug.cgi?id=175736
818
819         Unreviewed test gardening.
820
821         * platform/ios-device/TestExpectations:
822
823 2017-08-18  Jiewen Tan  <jiewen_tan@apple.com>
824
825         [WebCrypto][Mac] Replace CCECCryptorGetKeyComponents with CCECCryptorExportKey for exporting ECC JWKs
826         https://bugs.webkit.org/show_bug.cgi?id=175657
827         <rdar://problem/33797150>
828
829         Reviewed by Brent Fulgham.
830
831         * crypto/subtle/ecdsa-generate-export-import-jwk-sign-verify-expected.txt: Added.
832         * crypto/subtle/ecdsa-generate-export-import-jwk-sign-verify.html: Added.
833
834 2017-08-18  Matt Lewis  <jlewis3@apple.com>
835
836         Marked imported/w3c/web-platform-tests/IndexedDB/open-request-queue.html as flaky timeout.
837         https://bugs.webkit.org/show_bug.cgi?id=172044
838
839         Unreviewed test gardening.
840
841         * platform/mac-wk2/TestExpectations:
842
843 2017-08-18  Matt Lewis  <jlewis3@apple.com>
844
845         Marked js/slow-stress/Int32Array-alloc-huge.html as flaky on mac.
846         https://bugs.webkit.org/show_bug.cgi?id=173010
847
848         Unreviewed test gardening.
849
850         * platform/mac/TestExpectations:
851
852 2017-08-18  Brady Eidson  <beidson@apple.com>
853
854         Bounce ServiceWorker jobs to the Storage Process.
855         https://bugs.webkit.org/show_bug.cgi?id=175650
856
857         Reviewed by Andy Estes.
858
859         Service worker tests will always be dumpAsText and always be asynchronous.
860
861         * http/tests/workers/service/basic-register.html:
862         * http/tests/workers/service/resources/basic-register.js:
863         * http/tests/workers/service/resources/sw-test-pre.js: Added.
864
865 2017-08-18  Chris Dumez  <cdumez@apple.com>
866
867         [Beacon] Add support for quota limitation
868         https://bugs.webkit.org/show_bug.cgi?id=175443
869         <rdar://problem/33729002>
870
871         Reviewed by Youenn Fablet.
872
873         Extend layout test coverage and rebaseline test.
874
875         * http/wpt/beacon/beacon-quota-expected.txt:
876         * http/wpt/beacon/beacon-quota.html:
877
878 2017-08-18  Ryan Haddad  <ryanhaddad@apple.com>
879
880         Unreviewed, land TestExpectations for rdar://problem/33850189.
881
882         * platform/mac-highsierra/TestExpectations:
883
884 2017-08-18  Ryan Haddad  <ryanhaddad@apple.com>
885
886         Rebaseline js/dom/global-constructors-attributes.html for El Capitan WK2.
887
888         Unreviewed test gardening.
889
890         * platform/mac-elcapitan-wk2/js/dom/global-constructors-attributes-expected.txt:
891
892 2017-08-18  Youenn Fablet  <youenn@apple.com>
893
894         [Cache API] Add a WK2 implementation of CacheStorageConnection
895         https://bugs.webkit.org/show_bug.cgi?id=175640
896
897         Reviewed by Alex Christensen & Chris Dumez.
898
899         * TestExpectations: Marking some tests as flaky until being loaded resources can be cached.
900
901 2017-08-18  Ms2ger  <Ms2ger@igalia.com>
902
903         [GTK] Layout Test media/video-controls-no-scripting.html is failing
904         https://bugs.webkit.org/show_bug.cgi?id=141835
905
906         Unreviewed test gardening.
907
908         The output appears to be consistent based on local testing.
909
910         Rebaseline video-controls-no-scripting.html.
911
912         * platform/gtk/TestExpectations:
913         * platform/gtk/media/video-controls-no-scripting-expected.txt:
914
915 2017-08-18  Ms2ger  <Ms2ger@igalia.com>
916
917         Update track-datacue.html test to the current code.
918         https://bugs.webkit.org/show_bug.cgi?id=175624
919
920         Reviewed by Eric Carlson.
921
922         * media/track/track-datacue-expected.txt: rebaselined.
923         * media/track/track-datacue.html: updated for IDL, exception changes, addition of a new constructor.
924         * platform/gtk/TestExpectations: removed failure expectation.
925         * platform/ios/TestExpectations: enable.
926         * platform/mac/TestExpectations: enable.
927         * platform/win/TestExpectations: enable.
928
929 2017-08-18  Ms2ger  <Ms2ger@gmail.com>
930
931         [GTK] Remove some obsolete expected failures.
932         https://bugs.webkit.org/show_bug.cgi?id=175674
933
934         Unreviewed test gardening.
935
936         * platform/gtk/TestExpectations:
937           - imported/w3c/web-platform-tests/IndexedDB/keyorder.htm: passing since r204279.
938           - imported/w3c/web-platform-tests/resource-timing/rt-cors.html: passing since r212944 and r212993.
939           - imported/w3c/web-platform-tests/resource-timing/rt-cors.worker.html: passing since r212944 and r212993.
940           - imported/w3c/web-platform-tests/webrtc/getstats.html: passing since test update and rebaseline in r217225.
941           - mathml/opentype/large-operators-displaystyle-dynamic.html: used to be flaky, seems to be passing consistently now.
942           - media/media-fullscreen-return-to-inline.html: likely passing since r218270.
943           - media/video-fast-seek.html: passing since r207879-r207894.
944           - platform/gtk/scrollbars/main-frame-scrollbar-horizontal-wheel-scroll.html: passing since r205075.
945           - security/contentSecurityPolicy/video-with-data-url-allowed-by-media-src-star.html: flaky.
946           - storage/indexeddb/cursor-key-order.html: likely passing since r209135.
947           - svg/dom/SVGScriptElement/script-change-externalResourcesRequired-while-loading.svg: flaky.
948           - svg/repaint/add-outline-property-on-root.html: passing since r211277
949           - svg/repaint/remove-outline-property-on-root.html: passing since r211277
950
951 2017-08-18  Ms2ger  <Ms2ger@gmail.com>
952
953         [GTK] Show controls if a video element isn't allowed to play inline.
954         https://bugs.webkit.org/show_bug.cgi?id=141705
955
956         Reviewed by Xabier Rodriguez-Calvar.
957
958         * platform/gtk/TestExpectations: enable test for this case.
959
960 2017-08-17  Wenson Hsieh  <wenson_hsieh@apple.com>
961
962         [Input Events] Rename inputType "formatForeColor" to "formatFontColor"
963         https://bugs.webkit.org/show_bug.cgi?id=175703
964
965         Reviewed by Ryosuke Niwa.
966
967         Rebaselines two LayoutTests that check for the "formatForeColor" inputType.
968
969         * fast/events/input-events-forecolor-data-expected.txt:
970         * fast/events/input-events-selection-forecolor-data.html:
971
972 2017-08-17  Ryan Haddad  <ryanhaddad@apple.com>
973
974         Mark media/video-controls-rendering.html as flaky.
975         https://bugs.webkit.org/show_bug.cgi?id=175700
976
977         Unreviewed test gardening.
978
979         * platform/mac/TestExpectations:
980
981 2017-08-17  Ryan Haddad  <ryanhaddad@apple.com>
982
983         Update TestExpectations for media/video-controls-show-on-kb-or-ax-event.html.
984         https://bugs.webkit.org/show_bug.cgi?id=158889
985
986         Unreviewed test gardening.
987
988         * platform/mac/TestExpectations:
989
990 2017-08-17  Matt Lewis  <jlewis3@apple.com>
991
992         Marked accessibility/mac/select-element-selection-with-optgroups.html as flaky.
993         https://bugs.webkit.org/show_bug.cgi?id=175341
994
995         Unreviewed test gardening.
996
997         * platform/mac-wk2/TestExpectations:
998
999 2017-08-17  Ryan Haddad  <ryanhaddad@apple.com>
1000
1001         Rebaseline js/dom/global-constructors-attributes.html for Sierra.
1002
1003         Unreviewed test gardening.
1004
1005         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
1006
1007 2017-08-17  Ryan Haddad  <ryanhaddad@apple.com>
1008
1009         Rebaseline two tests after r220870.
1010
1011         Unreviewed test gardening.
1012
1013         * inspector/dom/content-node-region-info-expected.txt:
1014         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
1015
1016 2017-08-17  Ryan Haddad  <ryanhaddad@apple.com>
1017
1018         Mark inspector/canvas/context-attributes.html as flaky.
1019         https://bugs.webkit.org/show_bug.cgi?id=173931
1020
1021         Unreviewed test gardening.
1022
1023         * platform/mac/TestExpectations:
1024
1025 2017-08-17  Matt Lewis  <jlewis3@apple.com>
1026
1027         Marked fast/hidpi/hidpi-long-page-with-inset-element.html as a flaky ImageOnlyFailure.
1028         https://bugs.webkit.org/show_bug.cgi?id=172384
1029
1030         Unreviewed test gardening.
1031
1032         * platform/ios-simulator-wk2/TestExpectations:
1033
1034 2017-08-17  Matt Lewis  <jlewis3@apple.com>
1035
1036         Changed expectations to include release for memory/memory-pressure-simulation.html.
1037         https://bugs.webkit.org/show_bug.cgi?id=170629
1038
1039         Unreviewed test gardening.
1040
1041         * platform/mac-wk2/TestExpectations:
1042
1043 2017-08-17  Andreas Kling  <akling@apple.com>
1044
1045         Disable CSS regions at compile time
1046         https://bugs.webkit.org/show_bug.cgi?id=175630
1047
1048         Reviewed by Antti Koivisto.
1049
1050         Skip tests that are entirely about regions, and tweak logic
1051         and/or expectations for tests that test regions in addition to
1052         other things.
1053
1054         * TestExpectations:
1055         * fast/css/will-change/resources/will-change-stacking-helper.js:
1056         * fast/dom/collection-iterators-expected.txt:
1057         * fast/dom/collection-iterators.html:
1058         * js/dom/dom-static-property-for-in-iteration-expected.txt:
1059         * platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt:
1060         * platform/ios/fast/dom/collection-iterators-expected.txt:
1061         * platform/mac-wk2/TestExpectations:
1062         * platform/win/js/dom/dom-static-property-for-in-iteration-expected.txt:
1063         * platform/wpe/js/dom/dom-static-property-for-in-iteration-expected.txt:
1064
1065 2017-08-17  Antti Koivisto  <antti@apple.com>
1066
1067         RenderListItem - Avoid render tree mutation during layout
1068         https://bugs.webkit.org/show_bug.cgi?id=175666
1069
1070         Reviewed by Andreas Kling.
1071
1072         Changes in render tree dumps that don't affect rendering.
1073
1074         * platform/ios/fast/doctypes/002-expected.txt:
1075         * platform/ios/fast/lists/marker-before-empty-inline-expected.txt:
1076         * platform/mac/css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
1077         * platform/mac/fast/doctypes/002-expected.txt:
1078         * platform/mac/fast/lists/marker-before-empty-inline-expected.txt:
1079
1080 2017-08-17  Ms2ger  <Ms2ger@gmail.com>
1081
1082         REGRESSION(r220751): [GTK] Layout Test imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.any.html is failing
1083         https://bugs.webkit.org/show_bug.cgi?id=175641
1084
1085         Unreviewed test gardening.
1086
1087         Correct the error message in scheme-about.any-expected.txt.
1088
1089         * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.any-expected.txt:
1090
1091 2017-08-17  Ms2ger  <Ms2ger@gmail.com>
1092
1093         [GTK] Unreviewed test gardening
1094         https://bugs.webkit.org/show_bug.cgi?id=175664
1095
1096         Unreviewed test gardening.
1097
1098         * platform/gtk/TestExpectations: update.
1099         * platform/gtk/crypto/subtle/rsa-generate-key-malformed-parameters-expected.txt: rebaseline for change in r220811.
1100         * platform/wpe/crypto/subtle/rsa-generate-key-malformed-parameters-expected.txt: rebaseline for change in r220811.
1101
1102 2017-08-16  Ryosuke Niwa  <rniwa@webkit.org>
1103
1104         Add the support for mutating clipboard data via DataTransferItemList
1105         https://bugs.webkit.org/show_bug.cgi?id=175639
1106
1107         Reviewed by Wenson Hsieh.
1108
1109         Rebaselined the IDL test which now passes all test cases, and added a regression test for mutating clipboard data
1110         via dataTransfer.items and methods on dataTransfer for plaintext.
1111
1112         * editing/pasteboard/datatransfer-idl-expected.txt:
1113         * editing/pasteboard/datatransfer-items-copy-plaintext-expected.txt: Added.
1114         * editing/pasteboard/datatransfer-items-copy-plaintext.html: Added.
1115
1116 2017-08-16  Ryan Haddad  <ryanhaddad@apple.com>
1117
1118         Mark fullscreen/full-screen-iframe-legacy.html as flaky on Sierra WK1.
1119         https://bugs.webkit.org/show_bug.cgi?id=175554
1120
1121         Unreviewed test gardening.
1122
1123         * platform/mac-wk1/TestExpectations:
1124
1125 2017-08-16  Ryan Haddad  <ryanhaddad@apple.com>
1126
1127         Correct a typo in a test name.
1128
1129         Unreviewed test gardening.
1130
1131         * platform/mac/TestExpectations:
1132
1133 2017-08-16  Ryan Haddad  <ryanhaddad@apple.com>
1134
1135         Rebaseline crypto/subtle/rsa-generate-key-malformed-parameters.html after r220811.
1136
1137         Unreviewed test gardening.
1138
1139         * platform/ios-11/crypto/subtle/rsa-generate-key-malformed-parameters-expected.txt:
1140
1141 2017-08-16  Chris Dumez  <cdumez@apple.com>
1142
1143         Cross origin Beacon requests with a ArrayBuffer / ArrayBufferView payload should not do a CORS preflight
1144         https://bugs.webkit.org/show_bug.cgi?id=175628
1145         <rdar://problem/33919278>
1146
1147         Reviewed by Geoffrey Garen.
1148
1149         * http/tests/blink/sendbeacon/beacon-same-origin-expected.txt:
1150         * http/wpt/fetch/fetch-request-arraybuffer-content-type-expected.txt:
1151         * http/wpt/fetch/fetch-request-arraybuffer-content-type.html:
1152         Rebaseline test due to revert of r220779.
1153
1154         * http/wpt/beacon/cors/cors-preflight-arraybufferview-failure-expected.txt: Removed.
1155         * http/wpt/beacon/cors/cors-preflight-arraybufferview-failure.html: Removed.
1156         Drop outdated test. CORS preflight failure is still covered by the corresponding Blob payload test.
1157
1158         * http/wpt/beacon/cors/cors-preflight-arraybufferview-success-expected.txt: Removed.
1159         * http/wpt/beacon/cors/cors-preflight-arraybufferview-success.html: Removed.
1160         * http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight-expected.txt: Added.
1161         * http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html: Added.
1162         Rename and update test so that it checks that we no longer do a CORS preflight for cross origin
1163         beacons that have an ArrayBuffer payload.
1164
1165 2017-08-16  Matt Baker  <mattbaker@apple.com>
1166
1167         Web Inspector: capture async stack trace when workers/main context posts a message
1168         https://bugs.webkit.org/show_bug.cgi?id=167084
1169         <rdar://problem/30033673>
1170
1171         Reviewed by Brian Burg.
1172
1173         Add a test to check for asynchronous stack trace data when the debugger
1174         pauses inside a MessageEvent handler.
1175
1176         * inspector/debugger/async-stack-trace-expected.txt:
1177         * inspector/debugger/async-stack-trace.html:
1178         * inspector/debugger/resources/postMessage-echo.html: Added.
1179
1180 2017-08-16  Sam Weinig  <sam@webkit.org>
1181
1182         [WebIDL] Remove the need for JSSubtleCryptoCustom.cpp
1183         https://bugs.webkit.org/show_bug.cgi?id=175526
1184
1185         Reviewed by Chris Dumez.
1186
1187         * crypto/subtle/encrypt-malformed-parameters-expected.txt:
1188         * crypto/subtle/export-key-malformed-parameters-expected.txt:
1189         * crypto/subtle/generate-key-malformed-parameters-expected.txt:
1190         * crypto/subtle/hkdf-derive-bits-malformed-parametrs-expected.txt:
1191         * crypto/subtle/hmac-generate-key-malformed-parameters-expected.txt:
1192         * crypto/subtle/import-key-malformed-parameters-expected.txt:
1193         * crypto/subtle/pbkdf2-derive-bits-malformed-parametrs-expected.txt:
1194         * crypto/subtle/rsa-generate-key-malformed-parameters-expected.txt:
1195         * platform/mac-highsierra/crypto/subtle/rsa-generate-key-malformed-parameters-expected.txt:
1196         Update expectations with improved error messages.
1197
1198 2017-08-16  Eric Carlson  <eric.carlson@apple.com>
1199
1200         Consider allow gUM to be called from localhost without https
1201         https://bugs.webkit.org/show_bug.cgi?id=173457
1202         <rdar://problem/33900527>
1203
1204         Reviewed by Youenn Fablet.
1205
1206         * http/tests/media/media-stream/get-user-media-localhost-expected.txt: Added.
1207         * http/tests/media/media-stream/get-user-media-localhost.html: Added.
1208         * http/tests/media/media-stream/get-user-media-loopback-ip-expected.txt: Added.
1209         * http/tests/media/media-stream/get-user-media-loopback-ip.html: Added.
1210
1211 2017-08-16  Ryan Haddad  <ryanhaddad@apple.com>
1212
1213         Skip workers/wasm-hashset-many.html and workers/wasm-hashset-many-2.html
1214         https://bugs.webkit.org/show_bug.cgi?id=175102
1215
1216         Unreviewed test gardening.
1217
1218         * platform/mac/TestExpectations:
1219
1220 2017-08-16  Ryan Haddad  <ryanhaddad@apple.com>
1221
1222         Rebaseline js/dom/global-constructors-attributes.html.
1223
1224         Unreviewed test gardening.
1225
1226         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
1227
1228 2017-08-16  Fujii Hironori  <Hironori.Fujii@sony.com>
1229
1230         [HarfBuzz] Decomposed Vietnamese characters are rendered incorrectly
1231         https://bugs.webkit.org/show_bug.cgi?id=174418
1232
1233         Reviewed by Michael Catanzaro.
1234
1235         * fast/text/international/vietnamese-nfd-expected.html: Added.
1236         * fast/text/international/vietnamese-nfd.html: Added.
1237
1238 2017-08-16  Chris Dumez  <cdumez@apple.com>
1239
1240         Unreviewed, rebaseline a few tests after r220779.
1241
1242         * http/tests/blink/sendbeacon/beacon-same-origin-expected.txt:
1243         * http/wpt/beacon/cors/cors-preflight-arraybufferview-failure.html:
1244         * http/wpt/beacon/cors/cors-preflight-arraybufferview-success.html:
1245
1246 2017-08-15  Andy Estes  <aestes@apple.com>
1247
1248         [Payment Request] Import test suite from web-platform-tests
1249         https://bugs.webkit.org/show_bug.cgi?id=175612
1250         <rdar://problem/33906070>
1251
1252         Reviewed by Tim Horton.
1253
1254         * TestExpectations: Skipped payment-request tests that currently time out.
1255
1256 2017-08-15  Ryosuke Niwa  <rniwa@webkit.org>
1257
1258         Make DataTransferItemList work with plain text entries
1259         https://bugs.webkit.org/show_bug.cgi?id=175596
1260
1261         Reviewed by Wenson Hsieh.
1262
1263         Rebaselined the tests and added two regression tests for pasting plain text and dropping a plain text file.
1264
1265         Unfortunately, dropping a file is only supported by DumpRenderTree on Mac :( so it's disabled elsewhere.
1266
1267         * editing/pasteboard/datatransfer-idl-expected.txt: Rebaselined now that NoInterfaceObject has been dropped from
1268         DataTransferItem.idl and DataTransferItemList.idl as expected.
1269         * editing/pasteboard/datatransfer-idl.html: Fixed the bug that it wasn't testing IDL for DataTransferItem.
1270         * editing/pasteboard/datatransfer-items-drop-plaintext-file-expected.txt: Added.
1271         * editing/pasteboard/datatransfer-items-drop-plaintext-file.html: Added.
1272         * editing/pasteboard/datatransfer-items-paste-plaintext-expected.txt: Added.
1273         * editing/pasteboard/datatransfer-items-paste-plaintext.html: Added.
1274         * editing/resources/text-pasteboard-data.txt: Added.
1275         * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
1276         * platform/ios/TestExpectations:
1277         * platform/mac-elcapitan-wk2/js/dom/global-constructors-attributes-expected.txt:
1278         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt:
1279         * platform/mac-highsierra-wk1/js/dom/global-constructors-attributes-expected.txt:
1280         * platform/mac-highsierra/js/dom/global-constructors-attributes-expected.txt:
1281         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
1282         * platform/win/TestExpectations:
1283         * platform/wk2/TestExpectations:
1284         * platform/wpe/js/dom/global-constructors-attributes-expected.txt:
1285
1286 2017-08-15  Chris Dumez  <cdumez@apple.com>
1287
1288         Fetch / Beacon: Use "application/octet-stream" Content-Type for payloads of type ArrayBuffer / ArrayBufferView
1289         https://bugs.webkit.org/show_bug.cgi?id=175600
1290
1291         Reviewed by Youenn Fablet.
1292
1293         * http/wpt/fetch/fetch-request-arraybuffer-content-type-expected.txt: Added.
1294         * http/wpt/fetch/fetch-request-arraybuffer-content-type.html: Added.
1295         * platform/mac-highsierra/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any-expected.txt:
1296         * platform/mac-highsierra/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt:
1297
1298 2017-08-15  Matt Lewis  <jlewis3@apple.com>
1299
1300         Skipped media/modern-media-controls/time-labels-support/elapsed-time.html.
1301         <rdar://problem/33731086>
1302
1303         Unreviewed test gardening.
1304
1305         * platform/mac-highsierra/TestExpectations:
1306
1307 2017-08-15  JF Bastien  <jfbastien@apple.com>
1308
1309         LayoutTests: test that an XMLHttpRequest with Content-Encoding: gzip is properly decompressed
1310         https://bugs.webkit.org/show_bug.cgi?id=175579
1311
1312         Also test that without Content-Encoding proper sniffing takes place, and gzip
1313         decoding occurs. This test is disabled and tracked by #175597.
1314
1315         Reviewed by Daniel Bates.
1316
1317         * TestExpectations:
1318         * http/tests/xmlhttprequest/gzip-content-type-expected.txt: Added.
1319         * http/tests/xmlhttprequest/gzip-content-type-no-content-encoding-expected.txt: Added.
1320         * http/tests/xmlhttprequest/gzip-content-type-no-content-encoding.html: Added.
1321         * http/tests/xmlhttprequest/gzip-content-type.html: Added.
1322         * http/tests/xmlhttprequest/resources/gzip-lorem-no-content-encoding.php: Added.
1323         * http/tests/xmlhttprequest/resources/gzip-lorem.php: Added.
1324
1325 2017-08-15  Chris Dumez  <cdumez@apple.com>
1326
1327         Re-sync DOM Web-Platform-Tests from upstream
1328         https://bugs.webkit.org/show_bug.cgi?id=175588
1329
1330         Reviewed by Youenn Fablet.
1331
1332         * platform/mac/TestExpectations:
1333
1334 2017-08-15  Ryan Haddad  <ryanhaddad@apple.com>
1335
1336         Mark http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store.html as flaky.
1337         https://bugs.webkit.org/show_bug.cgi?id=175263
1338
1339         Unreviewed test gardening.
1340
1341         * platform/wk2/TestExpectations:
1342
1343 2017-08-15  Ryan Haddad  <ryanhaddad@apple.com>
1344
1345         Mark fast/images/animated-gif-scrolling-crash.html as flaky.
1346         https://bugs.webkit.org/show_bug.cgi?id=175345.
1347
1348         Unreviewed test gardening.
1349
1350         * platform/mac-wk1/TestExpectations:
1351
1352 2017-08-15  Ryan Haddad  <ryanhaddad@apple.com>
1353
1354         Mark fast/mediacapturefromelement/CanvasCaptureMediaStream-webgl-events.html as flaky.
1355         https://bugs.webkit.org/show_bug.cgi?id=175592
1356
1357         Unreviewed test gardening.
1358
1359         * platform/mac/TestExpectations:
1360
1361 2017-08-15  Ryan Haddad  <ryanhaddad@apple.com>
1362
1363         Mark http/tests/appcache/deferred-events-delete-while-raising-timer.html as flaky.
1364         https://bugs.webkit.org/show_bug.cgi?id=87633
1365
1366         Unreviewed test gardening.
1367
1368         * TestExpectations: Add expectation that was removed with r220750.
1369
1370 2017-08-15  Youenn Fablet  <youenn@apple.com>
1371
1372         [Cache API] Adding generic support for CacheStorage and Cache methods
1373         https://bugs.webkit.org/show_bug.cgi?id=175455
1374
1375         Reviewed by Chris Dumez.
1376
1377         * TestExpectations: Skipping a test that would timeout otherwise due to the current implementation limitations.
1378
1379 2017-08-15  Chris Dumez  <cdumez@apple.com>
1380
1381         Implement quota limitation for keepalive Fetch requests
1382         https://bugs.webkit.org/show_bug.cgi?id=175482
1383
1384         Reviewed by Sam Weinig and Youenn Fablet.
1385
1386         * fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt:
1387         * http/tests/contentextensions/async-xhr-onerror-expected.txt:
1388         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe-expected.txt:
1389         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame-expected.txt:
1390         * http/tests/security/mixedContent/insecure-xhr-in-main-frame-expected.txt:
1391         Rebaseline a few tests now that we provide a more helpful error message when an XHR is failing synchronously.
1392
1393         * http/wpt/beacon/beacon-quota-expected.txt: Added.
1394         * http/wpt/beacon/beacon-quota.html: Added.
1395         Add layout test coverage for keepalive Fetch requests quota in the context of sendBeacon().
1396         The second part of the test is still failing because WebCore does not currently know when
1397         ping loads (e.g. beacon loads) complete. This will be addressed via Bug 175443.
1398
1399 2017-08-15  Darin Adler  <darin@apple.com>
1400
1401         REGRESSION(r220052): http/tests/appcache/deferred-events-delete-while-raising-timer.html is crashing.
1402         https://bugs.webkit.org/show_bug.cgi?id=175107
1403
1404         Reviewed by Alexey Proskuryakov.
1405
1406         * TestExpectations: Removed the flakiness expectation for this test.
1407
1408 2017-08-15  Michael Catanzaro  <mcatanzaro@igalia.com>
1409
1410         Unreviewed GTK test gardening
1411
1412         * TestExpectations:
1413         * platform/gtk/TestExpectations:
1414         * platform/gtk/fast/events/input-events-paste-rich-datatransfer-expected.txt:
1415         * platform/gtk/imported/w3c/web-platform-tests/eventsource/format-field-id-2-expected.txt: Added.
1416         * platform/gtk/imported/w3c/web-platform-tests/eventsource/format-field-id-expected.txt: Added.
1417         * platform/gtk/imported/w3c/web-platform-tests/eventsource/format-mime-bogus-expected.txt: Added.
1418         * platform/ios/TestExpectations:
1419         * platform/mac/TestExpectations:
1420
1421 2017-08-15  Commit Queue  <commit-queue@webkit.org>
1422
1423         Unreviewed, rolling out r219504.
1424         https://bugs.webkit.org/show_bug.cgi?id=175580
1425
1426         Broke Arabic text shaping (Requested by mcatanzaro on
1427         #webkit).
1428
1429         Reverted changeset:
1430
1431         "[HarfBuzz] Decomposed Vietnamese characters are rendered
1432         incorrectly"
1433         https://bugs.webkit.org/show_bug.cgi?id=174418
1434         http://trac.webkit.org/changeset/219504
1435
1436 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
1437
1438         Remove Proximity Events and related code
1439         https://bugs.webkit.org/show_bug.cgi?id=175545
1440
1441         Reviewed by Daniel Bates.
1442
1443         No platform enables Proximity Events, so remove code inside ENABLE(PROXIMITY_EVENTS)
1444         and other related code.
1445
1446         * fast/events/constructors/device-proximity-event-constructor-expected.txt: Removed.
1447         * fast/events/constructors/device-proximity-event-constructor.html: Removed.
1448         * platform/gtk/TestExpectations:
1449         * platform/ios/TestExpectations:
1450         * platform/mac/TestExpectations:
1451         * platform/win/TestExpectations:
1452         * proximity/add-listener-from-callback-expected.txt: Removed.
1453         * proximity/add-listener-from-callback.html: Removed.
1454         * proximity/basic-operation-expected.txt: Removed.
1455         * proximity/basic-operation.html: Removed.
1456         * proximity/check-event-deviceproximity-expected.txt: Removed.
1457         * proximity/check-event-deviceproximity.html: Removed.
1458         * proximity/create-event-deviceproximity-expected.txt: Removed.
1459         * proximity/create-event-deviceproximity.html: Removed.
1460         * proximity/create-event-expected.txt: Removed.
1461         * proximity/create-event.html: Removed.
1462         * proximity/event-after-navigation-expected.txt: Removed.
1463         * proximity/event-after-navigation.html: Removed.
1464         * proximity/multiple-frames-expected.txt: Removed.
1465         * proximity/multiple-frames.html: Removed.
1466         * proximity/no-page-cache-expected.txt: Removed.
1467         * proximity/no-page-cache.html: Removed.
1468         * proximity/optional-event-properties-expected.txt: Removed.
1469         * proximity/optional-event-properties.html: Removed.
1470         * proximity/resources/cached-page-1.html: Removed.
1471         * proximity/resources/cached-page-2.html: Removed.
1472         * proximity/resources/event-after-navigation-new.html: Removed.
1473         * proximity/updates-expected.txt: Removed.
1474         * proximity/updates.html: Removed.
1475         * proximity/window-property-expected.txt: Removed.
1476         * proximity/window-property.html: Removed.
1477
1478 2017-08-14  Chris Dumez  <cdumez@apple.com>
1479
1480         Import eventsource Web-Platform-Tests
1481         https://bugs.webkit.org/show_bug.cgi?id=175556
1482
1483         Reviewed by Youenn Fablet.
1484
1485         * tests-options.json:
1486
1487 2017-08-14  Chris Dumez  <cdumez@apple.com>
1488
1489         XHR should only fire an abort event if the cancellation was requested by the client
1490         https://bugs.webkit.org/show_bug.cgi?id=175546
1491
1492         Reviewed by Youenn Fablet.
1493
1494         * http/tests/navigation/page-cache-xhr-expected.txt:
1495         * http/tests/navigation/page-cache-xhr-in-pagehide-expected.txt: Copied from LayoutTests/http/tests/navigation/page-cache-xhr-expected.txt.
1496         * http/tests/navigation/page-cache-xhr-in-pagehide.html: Copied from LayoutTests/http/tests/navigation/page-cache-xhr.html.
1497         * http/tests/navigation/page-cache-xhr.html:
1498         When an XHR is pending and navigating away, we would send an abort event before the navigation and an error event after
1499         restoring from PageCache. This bug was not seen before because the test only checked for error events, not abort ones.
1500         The expected behavior is now that we fire an error event before navigating away, similar to the non-PageCache case.
1501         The only case where the error event should be fired after restoring from PageCache is when an XHR is done in the pagehide
1502         event handler, because it is too late to send the error event to the page before navigating in this case. I added test
1503         coverage for this case.
1504
1505         * http/tests/xmlhttprequest/navigation-should-abort-expected.txt:
1506         * http/tests/xmlhttprequest/navigation-should-abort.html:
1507         This test was expecting an abort event on navigation which is against spec. This test was failing in Blink too.
1508         Update the test to expect an error event instead.
1509
1510 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
1511
1512         Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
1513         https://bugs.webkit.org/show_bug.cgi?id=175557
1514
1515         Reviewed by Jon Lee.
1516
1517         No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.
1518
1519         * fast/media/media-query-list-02-expected.txt: Removed.
1520         * fast/media/media-query-list-02.html: Removed.
1521         * fast/media/media-query-list-03-expected.txt: Removed.
1522         * fast/media/media-query-list-03.html: Removed.
1523         * fast/media/media-query-list-04-expected.txt: Removed.
1524         * fast/media/media-query-list-04.html: Removed.
1525         * fast/media/media-query-list-05-expected.txt: Removed.
1526         * fast/media/media-query-list-05.html: Removed.
1527         * fast/media/media-query-list-06-expected.txt: Removed.
1528         * fast/media/media-query-list-06.html: Removed.
1529         * fast/media/view-mode-media-feature-expected.html: Removed.
1530         * fast/media/view-mode-media-feature.html: Removed.
1531         * platform/gtk/TestExpectations:
1532         * platform/ios-wk2/TestExpectations:
1533         * platform/ios/TestExpectations:
1534         * platform/mac/TestExpectations:
1535         * platform/win/TestExpectations:
1536
1537 2017-08-14  Ryan Haddad  <ryanhaddad@apple.com>
1538
1539         Rebaseline editing/mac/input/firstrectforcharacterrange-styled.html.
1540
1541         Unreviewed test gardening.
1542
1543         * platform/mac-highsierra/editing/mac/input/firstrectforcharacterrange-styled-expected.txt: Added.
1544
1545 2017-08-14  Myles C. Maxfield  <mmaxfield@apple.com>
1546
1547         Parse font-display
1548         https://bugs.webkit.org/show_bug.cgi?id=175382
1549
1550         Reviewed by Simon Fraser.
1551
1552         * fast/text/font-display/parse-expected.txt: Added.
1553         * fast/text/font-display/parse.html: Added.
1554
1555 2017-08-14  Andy Estes  <aestes@apple.com>
1556
1557         [Apple Pay] Add support for phonetic contact names
1558         https://bugs.webkit.org/show_bug.cgi?id=175537
1559         <rdar://problem/32002644>
1560
1561         Reviewed by Tim Horton.
1562
1563         * http/tests/ssl/applepay/ApplePayError-expected.txt:
1564         * http/tests/ssl/applepay/ApplePayError.html:
1565         * http/tests/ssl/applepay/ApplePaySession-expected.txt:
1566         * http/tests/ssl/applepay/ApplePaySession.html:
1567         * http/tests/ssl/applepay/ApplePaySessionV3-expected.txt:
1568         * http/tests/ssl/applepay/ApplePaySessionV3.html:
1569
1570 2017-08-14  Said Abou-Hallawa  <sabouhallawa@apple.com>
1571
1572         The none smooth stroke applied to an SVG shape breaks its hit testing
1573         https://bugs.webkit.org/show_bug.cgi?id=175506
1574
1575         Reviewed by Simon Fraser.
1576
1577         * svg/stroke/stroke-linejoin-click-expected.html: Added.
1578         * svg/stroke/stroke-linejoin-click.html: Added.
1579
1580 2017-08-14  Daniel Bates  <dabates@apple.com>
1581
1582         [css-ui] Implement caret-color support
1583         https://bugs.webkit.org/show_bug.cgi?id=166572
1584         <rdar://problem/33852589>
1585
1586         Update GTK expected results following r220706.
1587
1588         * platform/gtk/editing/style/5065910-expected.txt:
1589         * platform/gtk/editing/style/5084241-expected.txt:
1590
1591 2017-08-14  Chris Dumez  <cdumez@apple.com>
1592
1593         Unreviewed, rollout r220622 & r220696
1594         https://bugs.webkit.org/show_bug.cgi?id=175482
1595         <rdar://problem/33860695>
1596
1597         Seems to have caused failures on iOS.
1598
1599         * fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt:
1600         * http/tests/contentextensions/async-xhr-onerror-expected.txt:
1601         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe-expected.txt:
1602         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame-expected.txt:
1603         * http/tests/security/mixedContent/insecure-xhr-in-main-frame-expected.txt:
1604         * http/wpt/beacon/beacon-quota-expected.txt: Removed.
1605         * http/wpt/beacon/beacon-quota.html: Removed.
1606         * inspector/worker/resources-in-worker-expected.txt:
1607         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt:
1608         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/http-cache/cc-request-expected.txt:
1609
1610 2017-08-14  Daniel Bates  <dabates@apple.com>
1611
1612         [css-ui] Implement caret-color support
1613         https://bugs.webkit.org/show_bug.cgi?id=166572
1614         <rdar://problem/33852589>
1615
1616         Reviewed by David Hyatt.
1617
1618         Add reference tests to ensure that we do not regress CSS property caret-color.
1619
1620         * TestExpectations: Unskip Web Platform Tests that now pass.
1621         * editing/deleting/maintain-style-after-delete-expected.txt: Updated expected result.
1622         * editing/inserting/insert-paragraph-with-font-and-background-color-expected.txt: Ditto.
1623         * editing/pasteboard/do-not-copy-unnecessary-styles-2-expected.txt: Ditto.
1624         * editing/pasteboard/onpaste-text-html-expected.txt: Ditto.
1625         * editing/pasteboard/preserve-caret-color-expected.txt: Added.
1626         * editing/pasteboard/preserve-caret-color.html: Added.
1627         * editing/pasteboard/preserve-underline-color-expected.txt:
1628         * fast/css/caret-color-auto-expected.html: Added.
1629         * fast/css/caret-color-auto.html: Added.
1630         * fast/css/caret-color-expected.html: Added.
1631         * fast/css/caret-color-fallback-to-color-expected.html: Added.
1632         * fast/css/caret-color-fallback-to-color.html: Added.
1633         * fast/css/caret-color-inherit-expected.html: Added.
1634         * fast/css/caret-color-inherit.html: Added.
1635         * fast/css/caret-color-span-inside-editable-parent-expected.html: Added.
1636         * fast/css/caret-color-span-inside-editable-parent.html: Added.
1637         * fast/css/caret-color.html: Added.
1638         * fast/events/before-input-events-prevent-drag-and-drop-expected.txt: Updated expected result.
1639         * fast/events/input-events-paste-rich-datatransfer-expected.txt: Ditto.
1640         * fast/events/ondrop-text-html-expected.txt: Ditto.
1641         * fast/history/visited-link-caret-color-expected.html: Added.
1642         * fast/history/visited-link-caret-color.html: Added.
1643         * platform/ios/TestExpectations: Skip the tests on iOS as iOS does not enable
1644         ENABLE(TEXT_CARET). UIKit renders the text insertion caret on iOS.
1645         * platform/mac/editing/style/5065910-expected.txt: Updated expected result.
1646         * platform/mac/editing/style/5084241-expected.png: Ditto.
1647         * platform/mac/editing/style/5084241-expected.txt: Ditto.
1648         * platform/ios-wk2/editing/style/5084241-expected.txt: Ditto.
1649
1650 2017-08-14  Zan Dobersek  <zdobersek@igalia.com>
1651
1652         REGRESSION(r220517-r220521) [GTK] Various compositing tests fail
1653         https://bugs.webkit.org/show_bug.cgi?id=175478
1654
1655         Reviewed by Sergio Villar Senin.
1656
1657         * platform/gtk/TestExpectations: Remove failure and flakiness expectations.
1658
1659 2017-08-14  Ms2ger  <Ms2ger@igalia.com>
1660
1661         GTK-focused gardening.
1662         https://bugs.webkit.org/show_bug.cgi?id=175529
1663
1664         Unreviewed test gardening.
1665
1666         * http/wpt/css/css-pseudo-4/marker-font-properties-expected.html: Set line-height for more reliable rendering.
1667         * http/wpt/css/css-pseudo-4/marker-font-properties.html: Set line-height for more reliable rendering.
1668         * media/video-fullscreen-restriction-removed-expected.txt: DOMException's toString was changed in r219663; rebaseline. (The test is marked as flaky on mac.)
1669         * platform/gtk/TestExpectations:
1670         * platform/gtk/http/tests/dom/document-attributes-null-handling-expected.txt: SecurityError got a new message in r220376; rebaseline.
1671         * platform/gtk/imported/w3c/web-platform-tests/FileAPI/historical.https-expected.txt: Added: GTK does not yet enable the in-progress ServiceWorker implementation.
1672         * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.any-expected.txt: TypeError got a new message in r220622; rebaseline.
1673         * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.any.worker-expected.txt: Added: TypeError uses a different message on GTK.
1674
1675 2017-08-14  Ms2ger  <Ms2ger@igalia.com>
1676
1677         [GTK] Update some test expectations.
1678         https://bugs.webkit.org/show_bug.cgi?id=175480
1679
1680         Unreviewed test gardening.
1681
1682         * platform/gtk/TestExpectations:
1683         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange-expected.txt: Added.
1684         * platform/gtk/imported/w3c/web-platform-tests/webrtc/simplecall-expected.txt: Added.
1685
1686 2017-08-14  Antti Koivisto  <antti@apple.com>
1687
1688         [Render Tree Mutation] First letter should not mutate the render tree while in layout.
1689         https://bugs.webkit.org/show_bug.cgi?id=163848
1690         <rdar://problem/33402718>
1691
1692         Reviewed by Zalan Bujtas.
1693
1694         * fast/text-autosizing/ios/first-letter-expected.html: Added.
1695
1696             Turn into reftest for easier debugging and robustness.
1697
1698         * imported/blink/fast/css/first-letter-range-insert-expected.txt:
1699
1700             This is crash-or-assert test and the output change here doesn't matter.
1701
1702         * platform/ios/fast/text-autosizing/ios/first-letter-expected.txt: Removed.
1703         * platform/mac/fast/text-autosizing/ios/first-letter-expected.txt: Removed.
1704
1705 2017-08-13  Manuel Rego Casasnovas  <rego@igalia.com>
1706
1707         Composition underline color is always black
1708         https://bugs.webkit.org/show_bug.cgi?id=174675
1709
1710         Reviewed by Ryosuke Niwa.
1711
1712         Added new test to check that the composition underline
1713         is using the text color.
1714         The test hides the text and the caret, so it only shows
1715         the composition underline and checks against an -expected-mismatch
1716         that the color of the composition marker is different.
1717
1718         * editing/composition-underline-color-expected-mismatch.html: Added.
1719         * editing/composition-underline-color.html: Added.
1720
1721 2017-08-11  Ryosuke Niwa  <rniwa@webkit.org>
1722
1723         Replace DATA_TRANSFER_ITEMS by a runtime flag and add a stub implementation
1724         https://bugs.webkit.org/show_bug.cgi?id=175474
1725         <rdar://problem/33844628>
1726
1727         Reviewed by Wenson Hsieh.
1728
1729         Added a W3C-style IDL test.
1730
1731         * editing/pasteboard/datatransfer-idl.html: Added.
1732
1733 2017-08-12  Chris Dumez  <cdumez@apple.com>
1734
1735         Address flakiness related to download tests
1736         https://bugs.webkit.org/show_bug.cgi?id=175338
1737
1738         Reviewed by Ryosuke Niwa.
1739
1740         * TestExpectations:
1741         Unmark several download tests as flaky.
1742
1743         * fast/dom/HTMLAnchorElement/anchor-download-synthetic-click.html:
1744         * fast/dom/HTMLAnchorElement/anchor-download-user-triggered-synthetic-click.html:
1745         * fast/dom/HTMLAnchorElement/anchor-download.html:
1746         * fast/dom/HTMLAnchorElement/anchor-file-blob-convert-to-download.html:
1747         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-backslash.html:
1748         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-doublequote.html:
1749         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-slashes.html:
1750         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-unicode.html:
1751         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-no-extension.html:
1752         * fast/dom/HTMLAnchorElement/anchor-file-blob-download.html:
1753         * fast/dom/HTMLAnchorElement/anchor-nodownload-set.html:
1754         * http/tests/download/anchor-download-attribute-content-disposition.html:
1755         * http/tests/download/anchor-download-no-extension.html:
1756         * http/tests/download/anchor-download-no-value.html:
1757         * http/tests/download/area-download-expected.txt:
1758         * http/tests/download/area-download.html:
1759         * http/tests/security/anchor-download-allow-blob-expected.txt:
1760         * http/tests/security/anchor-download-allow-blob.html:
1761         * http/tests/security/anchor-download-allow-data-expected.txt:
1762         * http/tests/security/anchor-download-allow-data.html:
1763         * http/tests/security/anchor-download-allow-sameorigin.html:
1764         Update download tests to explicitly enable download callbacks logging.
1765
1766 2017-08-11  Chris Dumez  <cdumez@apple.com>
1767
1768         Implement quota limitation for keepalive Fetch requests
1769         https://bugs.webkit.org/show_bug.cgi?id=175482
1770
1771         Reviewed by Sam Weinig and Youenn Fablet.
1772
1773         * fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt:
1774         * http/tests/contentextensions/async-xhr-onerror-expected.txt:
1775         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe-expected.txt:
1776         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame-expected.txt:
1777         * http/tests/security/mixedContent/insecure-xhr-in-main-frame-expected.txt:
1778         Rebaseline a few tests now that we provide a more helpful error message when an XHR is failing synchronously.
1779
1780         * http/wpt/beacon/beacon-quota-expected.txt: Added.
1781         * http/wpt/beacon/beacon-quota.html: Added.
1782         Add layout test coverage for keepalive Fetch requests quota in the context of sendBeacon().
1783         The second part of the test is still failing because WebCore does not currently know when
1784         ping loads (e.g. beacon loads) complete. This will be addressed via Bug 175443.
1785
1786 2017-08-11  Ryan Haddad  <ryanhaddad@apple.com>
1787
1788         Update TestExpectations for failing media/video-controls tests.
1789         https://bugs.webkit.org/show_bug.cgi?id=173978
1790
1791         Unreviewed test gardening.
1792
1793         * platform/mac/TestExpectations:
1794
1795 2017-08-10  Nan Wang  <n_wang@apple.com>
1796
1797         Layout test accessibility/press-target-uses-text-descendant-node.html is flaky.
1798         https://bugs.webkit.org/show_bug.cgi?id=175272
1799         <rdar://problem/33756962>
1800
1801         Since accessibilityPress is async, we shouldn't rely on the timeout.
1802
1803         Reviewed by Chris Fleizach.
1804
1805         * accessibility/press-target-uses-text-descendant-node.html:
1806
1807 2017-08-10  Ryan Haddad  <ryanhaddad@apple.com>
1808
1809         Unreviewed test gardening for High Sierra.
1810
1811         * platform/mac-highsierra/css1/basic/inheritance-expected.txt: Added.
1812         * platform/mac-highsierra/css2.1/t0602-c13-inh-underlin-00-e-expected.txt: Added.
1813         * platform/mac-highsierra/css2.1/t0805-c5522-brdr-02-e-expected.txt: Added.
1814         * platform/mac-highsierra/css3/selectors3/html/css3-modsel-18-expected.txt: Added.
1815         * platform/mac-highsierra/css3/selectors3/xhtml/css3-modsel-18-expected.txt: Added.
1816         * platform/mac-highsierra/css3/selectors3/xml/css3-modsel-18-expected.txt: Added.
1817         * platform/mac-highsierra/fast/block/basic/001-expected.txt: Added.
1818         * platform/mac-highsierra/fast/css-generated-content/initial-letter-basic-expected.txt: Added.
1819         * platform/mac-highsierra/fast/css-generated-content/initial-letter-border-padding-expected.txt: Added.
1820         * platform/mac-highsierra/fast/css-generated-content/initial-letter-raised-expected.txt: Added.
1821         * platform/mac-highsierra/fast/css-generated-content/initial-letter-sunken-expected.txt: Added.
1822         * platform/mac-highsierra/fast/css/css3-nth-child-expected.txt: Added.
1823         * platform/mac-highsierra/fast/css/text-overflow-input-expected.txt: Added.
1824         * platform/mac-highsierra/fast/dom/34176-expected.txt: Added.
1825         * platform/mac-highsierra/fast/dom/clone-node-dynamic-style-expected.txt: Added.
1826         * platform/mac-highsierra/fast/forms/basic-inputs-expected.txt: Added.
1827         * platform/mac-highsierra/fast/forms/input-value-expected.txt: Added.
1828         * platform/mac-highsierra/fast/forms/plaintext-mode-2-expected.txt: Added.
1829         * platform/mac-highsierra/fast/invalid/003-expected.txt: Added.
1830         * platform/mac-highsierra/fast/invalid/004-expected.txt: Added.
1831         * platform/mac-highsierra/fast/invalid/nestedh3s-expected.txt: Added.
1832         * platform/mac-highsierra/fast/selectors/018-expected.txt: Added.
1833         * platform/mac-highsierra/fast/table/frame-and-rules-expected.txt: Added.
1834         * platform/mac-highsierra/fast/text/atsui-multiple-renderers-expected.txt: Added.
1835         * platform/mac-highsierra/fast/text/bidi-embedding-pop-and-push-same-expected.txt: Added.
1836         * platform/mac-highsierra/fast/text/font-weights-expected.txt: Added.
1837         * platform/mac-highsierra/fast/text/font-weights-zh-expected.txt: Added.
1838         * platform/mac-highsierra/fast/text/indic-expected.txt: Added.
1839         * platform/mac-highsierra/fast/text/international/complex-character-based-fallback-expected.txt:
1840         * platform/mac-highsierra/svg/W3C-SVG-1.1/animate-elem-46-t-expected.txt: Added.
1841         * platform/mac-highsierra/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt: Added.
1842         * platform/mac-highsierra/svg/batik/text/textStyles-expected.txt: Added.
1843         * platform/mac-highsierra/tables/mozilla/other/wa_table_thtd_rowspan-expected.txt: Added.
1844         * platform/mac-highsierra/tables/mozilla/other/wa_table_tr_align-expected.txt: Added.
1845
1846 2017-08-10  Nan Wang  <n_wang@apple.com>
1847
1848         AX: crash at WebCore::AccessibilityObject::supportsARIALiveRegion() const + 24
1849         https://bugs.webkit.org/show_bug.cgi?id=175340
1850         <rdar://problem/33782159>
1851
1852         Reviewed by Chris Fleizach.
1853
1854         * accessibility/add-children-pseudo-element-expected.txt: Added.
1855         * accessibility/add-children-pseudo-element.html: Added.
1856         * accessibility/resources/svg-circle.svg: Added.
1857
1858 2017-08-10  Chris Dumez  <cdumez@apple.com>
1859
1860         [Beacon] Do connect-src CSP check on redirects as well
1861         https://bugs.webkit.org/show_bug.cgi?id=175410
1862         <rdar://problem/33815470>
1863
1864         Reviewed by Youenn Fablet.
1865
1866         Add layout test coverage.
1867
1868         * http/wpt/beacon/connect-src-beacon-redirect-allowed.sub-expected.txt: Added.
1869         * http/wpt/beacon/connect-src-beacon-redirect-allowed.sub.html: Added.
1870         * http/wpt/beacon/connect-src-beacon-redirect-blocked.sub-expected.txt: Added.
1871         * http/wpt/beacon/connect-src-beacon-redirect-blocked.sub.html: Added.
1872
1873 2017-08-10  Jonathan Bedard  <jbedard@apple.com>
1874
1875         Mark webgl/webgl-box-shadow.html and webgl/webgl-border.html as failing for ios-device.
1876         https://bugs.webkit.org/show_bug.cgi?id=175437
1877
1878         Unreviewed test gardening.
1879
1880         * platform/ios-device/TestExpectations:
1881
1882 2017-08-10  Brady Eidson  <beidson@apple.com>
1883
1884         Add ServiceWorkerJob.
1885         https://bugs.webkit.org/show_bug.cgi?id=175241
1886
1887         Reviewed by Tim Horton.
1888
1889         Verifies that the "serviceWorker.register()" job we currently schedule fails as expected.
1890
1891         * http/tests/workers/service/basic-register-expected.txt: Added.
1892         * http/tests/workers/service/basic-register.html: Added.
1893         * http/tests/workers/service/resources/basic-register.js: Added.
1894         * http/tests/workers/service/resources/empty-worker.js: Added.
1895         * platform/mac-wk1/TestExpectations:
1896         * platform/win/TestExpectations:
1897
1898 2017-08-10  Commit Queue  <commit-queue@webkit.org>
1899
1900         Unreviewed, rolling out r220463.
1901         https://bugs.webkit.org/show_bug.cgi?id=175435
1902
1903         unaccepted fix (Requested by n_wang on #webkit).
1904
1905         Reverted changeset:
1906
1907         "AX: crash at
1908         WebCore::AccessibilityObject::supportsARIALiveRegion() const +
1909         24"
1910         https://bugs.webkit.org/show_bug.cgi?id=175340
1911         http://trac.webkit.org/changeset/220463
1912
1913 2017-08-10  Ryan Haddad  <ryanhaddad@apple.com>
1914
1915         Update TestExpectations for imported/w3c/web-platform-tests/IndexedDB/interleaved-cursors.html.
1916         https://bugs.webkit.org/show_bug.cgi?id=170698
1917
1918         Unreviewed test gardening.
1919
1920         * TestExpectations: Skip test on debug because it times out on every run.
1921         * platform/ios/TestExpectations: Mark as flaky on Release.
1922         * platform/mac/TestExpectations: Ditto.
1923
1924 2017-08-10  Miguel Gomez  <magomez@igalia.com>
1925
1926         Unreviewed GTK+ gardening. Update expectations of several tests failing at r220516.
1927
1928         * platform/gtk/TestExpectations:
1929
1930 2017-08-09  Chris Dumez  <cdumez@apple.com>
1931
1932         Disable Beacon API on WK1 DRT and WK2 when not using NETWORK_SESSION
1933         https://bugs.webkit.org/show_bug.cgi?id=175401
1934
1935         Reviewed by Brady Eidson.
1936
1937         * platform/mac-elcapitan-wk2/fast/dom/navigator-detached-no-crash-expected.txt: Copied from LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt.
1938         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/url/failure-expected.txt: Added.
1939         * platform/mac-wk1/TestExpectations:
1940         * platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt:
1941         * platform/mac-wk1/imported/w3c/web-platform-tests/url/failure-expected.txt: Added.
1942         * platform/mac-wk2/TestExpectations:
1943         * platform/win/TestExpectations:
1944         * platform/win/fast/dom/navigator-detached-no-crash-expected.txt: Copied from LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt.
1945         * platform/win/imported/w3c/web-platform-tests/url/failure-expected.txt: Added.
1946
1947 2017-08-09  Chris Dumez  <cdumez@apple.com>
1948
1949         [Beacon][NetworkSession] Support CORS-preflighting on redirects
1950         https://bugs.webkit.org/show_bug.cgi?id=175386
1951         <rdar://problem/33801370>
1952
1953         Reviewed by Youenn Fablet.
1954
1955         Add layout test coverage.
1956
1957         * http/wpt/beacon/cors/cors-preflight-redirect-failure-expected.txt: Added.
1958         * http/wpt/beacon/cors/cors-preflight-redirect-failure.html: Added.
1959         * http/wpt/beacon/cors/cors-preflight-redirect-from-crossorigin-to-sameorigin-expected.txt: Added.
1960         * http/wpt/beacon/cors/cors-preflight-redirect-from-crossorigin-to-sameorigin.html: Added.
1961         * http/wpt/beacon/cors/cors-preflight-redirect-success-expected.txt: Added.
1962         * http/wpt/beacon/cors/cors-preflight-redirect-success.html: Added.
1963         * http/wpt/beacon/resources/beacon-preflight.py:
1964         (main):
1965         * http/wpt/beacon/resources/redirect.py: Added.
1966         (main):
1967
1968 2017-08-09  Chris Dumez  <cdumez@apple.com>
1969
1970         Unreviewed, deflake http/wpt/beacon/keepalive-after-navigation.html
1971
1972         Temporarily restore previous timeout on this test to address flakiness on the
1973         bots until I can rewrite it.
1974
1975         * http/wpt/beacon/keepalive-after-navigation.html:
1976
1977 2017-08-09  Chris Dumez  <cdumez@apple.com>
1978
1979         Import beacon/headers/header-content-type.html from upstream WPT
1980         https://bugs.webkit.org/show_bug.cgi?id=175395
1981
1982         Reviewed by Sam Weinig.
1983
1984         Drop local test that has been upstreamed to WPT.
1985
1986         * http/wpt/beacon/headers/header-content-type-same-origin-expected.txt: Removed.
1987         * http/wpt/beacon/headers/header-content-type-same-origin.html: Removed.
1988
1989 2017-08-09  Nan Wang  <n_wang@apple.com>
1990
1991         LayoutTest accessibility/presentation-role-iframe.html is a flaky failure
1992         https://bugs.webkit.org/show_bug.cgi?id=175194
1993
1994         Reviewed by Chris Fleizach.
1995
1996         In the test we have no way to control which iframe will be loaded first.
1997         Output the logs at the end of the test so that they are in order.
1998
1999         * accessibility/presentation-role-iframe.html:
2000
2001 2017-08-09  Commit Queue  <commit-queue@webkit.org>
2002
2003         Unreviewed, rolling out r219334.
2004         https://bugs.webkit.org/show_bug.cgi?id=175398
2005
2006         Caused bug 175023 (Requested by ap on #webkit).
2007
2008         Reverted changeset:
2009
2010         "[SVG] Leak in SVGAnimatedListPropertyTearOff"
2011         https://bugs.webkit.org/show_bug.cgi?id=172545
2012         http://trac.webkit.org/changeset/219334
2013
2014 2017-08-09  Daniel Bates  <dabates@apple.com>
2015
2016         Import CSS-UI-3 Web Platform Tests
2017         https://bugs.webkit.org/show_bug.cgi?id=175294
2018
2019         Reviewed by Zalan Bujtas.
2020
2021         Mark tests that we currently failure.
2022
2023         * TestExpectations:
2024         * platform/ios/TestExpectations:
2025
2026 2017-08-09  Matt Lewis  <jlewis3@apple.com>
2027
2028         Marked http/tests/media/video-buffered-range-contains-currentTime.html as flaky on High Sierra
2029         <rdar://problem/33555759>
2030
2031         Unreviewed test gardening.
2032
2033         * platform/mac-highsierra-wk2/TestExpectations:
2034         * platform/mac/TestExpectations:
2035
2036 2017-08-09  Kirill Ovchinnikov  <kirill.ovchinnikov@lge.com>
2037
2038         Old subtitle track is not deleted on 'src' attribute change event
2039         https://bugs.webkit.org/show_bug.cgi?id=175031
2040
2041         Reviewed by Eric Carlson.
2042
2043         * media/track/text-track-src-change-expected.txt: Added.
2044         * media/track/text-track-src-change.html: Added.
2045
2046 2017-08-09  Nan Wang  <n_wang@apple.com>
2047
2048         AX: crash at WebCore::AccessibilityObject::supportsARIALiveRegion() const + 24
2049         https://bugs.webkit.org/show_bug.cgi?id=175340
2050         <rdar://problem/33782159>
2051
2052         Reviewed by Chris Fleizach.
2053
2054         * accessibility/add-children-pseudo-element-expected.txt: Added.
2055         * accessibility/add-children-pseudo-element.html: Added.
2056         * accessibility/resources/svg-circle.svg: Added.
2057
2058 2017-08-09  Ms2ger  <Ms2ger@igalia.com>
2059
2060         WPE-focused test gardening.
2061         https://bugs.webkit.org/show_bug.cgi?id=175385
2062
2063         Unreviewed test gardening.
2064
2065         * platform/wpe/TestExpectations: Marked failing tests.
2066         * platform/wpe/fast/events/touch/basic-single-touch-events-expected.txt: Added platform-specific expectation.
2067         * platform/wpe/js/date-timeClip-large-values-expected.txt: Removed (the platform-neutral expectation is fine).
2068         * platform/wpe/js/dom/global-constructors-attributes-dedicated-worker-expected.txt: Updated for Cache enabling.
2069         * transitions/clip-path-path-transitions-expected.txt: Updated for test change in r219243.
2070         * transitions/resources/transition-test-helpers.js:
2071         (parseClipPath): Updated to support the quotes in clip-path-path-transitions.html
2072
2073 2017-08-09  Andy Estes  <aestes@apple.com>
2074
2075         [QuickLook] Use case-insensitive comparison of preview MIME types
2076         https://bugs.webkit.org/show_bug.cgi?id=175350
2077         <rdar://problem/33761159>
2078
2079         Reviewed by Brady Eidson.
2080
2081         * platform/ios-11/quicklook/excel-macro-enabled-expected.txt: Added.
2082         * quicklook/excel-macro-enabled-expected.txt: Added.
2083         * quicklook/excel-macro-enabled.html: Added.
2084         * quicklook/resources/excel-macro-enabled.xlsm: Added.
2085
2086 2017-08-09  Zan Dobersek  <zdobersek@igalia.com>
2087
2088         Unreviewed WPE gardening.
2089
2090         * platform/wpe/TestExpectations: Stop skipping the whole fast/
2091         directory and then unskipping specific subdirectories since
2092         that overrides any expectations coming from the generic WK2
2093         TestExpectations file. Specific subdirectories that we haven't
2094         yet generated results for are now skipped instead.
2095
2096 2017-08-09  Ms2ger  <Ms2ger@igalia.com>
2097
2098         [GTK] [WPE] Update expectations for global-constructors-attributes.html.
2099         https://bugs.webkit.org/show_bug.cgi?id=175373
2100
2101         Unreviewed test gardening.
2102
2103         * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
2104         * platform/wpe/js/dom/global-constructors-attributes-expected.txt:
2105
2106 2017-08-08  Wenson Hsieh  <wenson_hsieh@apple.com>
2107
2108         Unreviewed, rolling out r220393.
2109
2110         This patch regresses the performance of WebPage::editorState.
2111
2112         Reverted changeset:
2113
2114         "[iOS WK2] WKWebView schedules nonstop layout after pressing
2115         cmb+b,i,u inside a contenteditable div"
2116         https://bugs.webkit.org/show_bug.cgi?id=175116
2117         http://trac.webkit.org/changeset/220393
2118
2119 2017-08-08  Chris Dumez  <cdumez@apple.com>
2120
2121         [Beacon] Add support for CORS-preflighting for WK2 / NETWORK_SESSION
2122         https://bugs.webkit.org/show_bug.cgi?id=175264
2123         <rdar://problem/33547793>
2124
2125         Reviewed by Youenn Fablet.
2126
2127         Add layout test coverage.
2128
2129         * http/wpt/beacon/cors/cors-preflight-arraybufferview-failure-expected.txt: Added.
2130         * http/wpt/beacon/cors/cors-preflight-arraybufferview-failure.html: Added.
2131         * http/wpt/beacon/cors/cors-preflight-arraybufferview-success-expected.txt: Added.
2132         * http/wpt/beacon/cors/cors-preflight-arraybufferview-success.html: Added.
2133         * http/wpt/beacon/cors/cors-preflight-blob-failure-expected.txt: Added.
2134         * http/wpt/beacon/cors/cors-preflight-blob-failure.html: Added.
2135         * http/wpt/beacon/cors/cors-preflight-blob-success-expected.txt: Added.
2136         * http/wpt/beacon/cors/cors-preflight-blob-success.html: Added.
2137         * http/wpt/beacon/cors/cors-preflight-cookie-expected.txt: Added.
2138         * http/wpt/beacon/cors/cors-preflight-cookie.html: Added.
2139         * http/wpt/beacon/resources/beacon-preflight.py: Added.
2140         (respondToCORSPreflight):
2141         (main):
2142         * http/wpt/beacon/resources/set-cookie.py: Added.
2143         (main):
2144         * platform/mac-wk1/TestExpectations:
2145         * platform/mac-wk2/TestExpectations:
2146         * platform/win/TestExpectations:
2147
2148 2017-08-08  Devin Rousso  <drousso@apple.com>
2149
2150         Web Inspector: Canvas: support editing WebGL shaders
2151         https://bugs.webkit.org/show_bug.cgi?id=124211
2152         <rdar://problem/15448958>
2153
2154         Reviewed by Matt Baker.
2155
2156         * inspector/canvas/updateShader-expected.txt: Added.
2157         * inspector/canvas/updateShader.html: Added.
2158
2159         * platform/win/TestExpectations:
2160
2161 2017-08-08  Ryan Haddad  <ryanhaddad@apple.com>
2162
2163         Mark media/modern-media-controls/css/webkit-cursor-visibility-auto-hide.html as flaky.
2164         https://bugs.webkit.org/show_bug.cgi?id=175195
2165
2166         Unreviewed test gardening.
2167
2168         * platform/mac-wk1/TestExpectations:
2169
2170 2017-08-08  Brent Fulgham  <bfulgham@apple.com>
2171
2172         Sandbox flags do not support document.domain control
2173         https://bugs.webkit.org/show_bug.cgi?id=175281
2174         <rdar://problem/33778936>
2175
2176         Reviewed by Chris Dumez.
2177
2178         * fast/frames/resources/sandboxed-iframe-set-domain.html: Added.
2179         * fast/frames/sandboxed-iframe-domain.html: Added.
2180         * fast/frames/sandboxed-iframe-domain-expected.txt: Added.
2181
2182 2017-08-08  Matt Lewis  <jlewis3@apple.com>
2183
2184         Skipping imported/w3c/IndexedDB-private-browsing/idbfactory_open12.html
2185         <rdar://problem/33555052>
2186
2187         Unreviewed test gardening.
2188
2189         * platform/ios-wk2/TestExpectations:
2190         * platform/mac-highsierra/TestExpectations:
2191
2192 2017-08-08  Ryan Haddad  <ryanhaddad@apple.com>
2193
2194         Skip plugins/crash-restoring-plugin-page-from-page-cache.html on macOS debug.
2195         https://bugs.webkit.org/show_bug.cgi?id=175270
2196
2197         Unreviewed test gardening.
2198
2199         * platform/mac-wk2/TestExpectations:
2200
2201 2017-08-08  Ryan Haddad  <ryanhaddad@apple.com>
2202
2203         Mark fast/images/async-image-body-background-image.html as flaky on macOS.
2204         https://bugs.webkit.org/show_bug.cgi?id=175193
2205
2206         Unreviewed test gardening.
2207
2208         * platform/mac/TestExpectations:
2209
2210 2017-08-08  Jeremy Jones  <jeremyj@apple.com>
2211
2212         Change fast seek logic to prevent ping-ponging.
2213         https://bugs.webkit.org/show_bug.cgi?id=175167
2214         rdar://problem/32936116
2215
2216         Reviewed by Jer Noble.
2217
2218         Test now requires forward fast seek result to be between current time and the target time,
2219         and a backward seek to be before the seek time.
2220
2221         * media/video-fast-seek.html:
2222         * media/media-source/media-source-fastseek.html:
2223
2224 2017-08-08  Ms2ger  <Ms2ger@igalia.com>
2225
2226         Remove obsolete failure expectations for event_loadedmetadata.html.
2227         https://bugs.webkit.org/show_bug.cgi?id=175027
2228
2229         Unreviewed test gardening.
2230
2231         * TestExpectations:
2232
2233 2017-08-08  John Wilander  <wilander@apple.com>
2234
2235         Resource Load Statistics: Clear web processes' state on history removal
2236         https://bugs.webkit.org/show_bug.cgi?id=175271
2237         <rdar://problem/33756560>
2238
2239         Reviewed by Chris Dumez.
2240
2241         * http/tests/loading/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-expected.txt: Added.
2242         * http/tests/loading/resourceLoadStatistics/user-interaction-reported-after-website-data-removal.html: Added.
2243         * platform/mac-wk2/TestExpectations:
2244             user-interaction-reported-after-website-data-removal.html marked as [ Pass ].
2245
2246 2017-08-08  Ryan Haddad  <ryanhaddad@apple.com>
2247
2248         Fix baseline for http/tests/security/set-domain-remove-subdomain-for-ip-address.html.
2249
2250         Unreviewed test gardening.
2251
2252         * http/tests/security/set-domain-remove-subdomain-for-ip-address-expected.txt:
2253
2254 2017-08-08  Matt Lewis  <jlewis3@apple.com>
2255
2256         Fixed rebaselined expectations for js/dom/global-constructors-attributes.html.
2257         https://bugs.webkit.org/show_bug.cgi?id=175201
2258
2259         Unreviewed test gardening.
2260
2261         * platform/mac-elcapitan-wk2/js/dom/global-constructors-attributes-expected.txt: Renamed from LayoutTests/platform/mac-elcapitan-wk2/js/dom/global-constructors-attributes-dedicated-worker-expected.txt.
2262
2263 2017-08-08  Brent Fulgham  <bfulgham@apple.com>
2264
2265         Unreviewed test results fix after r220376.
2266
2267         Rebaseline for new SecurityException message text.
2268
2269         * fast/dom/Document/invalid-domain-change-throws-exception-expected.txt:
2270         * http/tests/dom/document-attributes-null-handling-expected.txt:
2271         * http/tests/security/set-domain-remove-subdomain-for-ip-address-expected.txt:
2272         * http/tests/security/xss-DENIED-invalid-domain-change-expected.txt:
2273
2274 2017-08-08  Javier Fernandez  <jfernandez@igalia.com>
2275
2276         Not possible to remove the 'li' element inside the table cell
2277         https://bugs.webkit.org/show_bug.cgi?id=173148
2278
2279         Reviewed by Ryosuke Niwa.
2280
2281         Regression tests for different scenarios of list items removal.
2282
2283         * editing/deleting/delete-list-items-in-table-cell-1-expected.txt: Added.
2284         * editing/deleting/delete-list-items-in-table-cell-1.html: Added.
2285         * editing/deleting/delete-list-items-in-table-cell-2-expected.txt: Added.
2286         * editing/deleting/delete-list-items-in-table-cell-2.html: Added.
2287         * editing/deleting/delete-list-items-in-table-cell-3-expected.txt: Added.
2288         * editing/deleting/delete-list-items-in-table-cell-3.html: Added.
2289         * editing/deleting/delete-list-items-in-table-cell-4-expected.txt: Added.
2290         * editing/deleting/delete-list-items-in-table-cell-4.html: Added.
2291         * editing/deleting/delete-list-items-in-table-cell-5-expected.txt: Added.
2292         * editing/deleting/delete-list-items-in-table-cell-5.html: Added.
2293         * editing/deleting/delete-list-items-in-table-cell-6-expected.txt: Added.
2294         * editing/deleting/delete-list-items-in-table-cell-6.html: Added.
2295         * editing/deleting/delete-list-items-in-table-cell-7-expected.txt: Added.
2296         * editing/deleting/delete-list-items-in-table-cell-7.html: Added.
2297         * editing/deleting/delete-list-items-in-table-cell-8-expected.txt: Added.
2298         * editing/deleting/delete-list-items-in-table-cell-8.html: Added.
2299
2300 2017-08-08  Wenson Hsieh  <wenson_hsieh@apple.com>
2301
2302         [iOS WK2] WKWebView schedules nonstop layout after pressing cmb+b,i,u inside a contenteditable div
2303         https://bugs.webkit.org/show_bug.cgi?id=175116
2304         <rdar://problem/28279301>
2305
2306         Reviewed by Darin Adler and Ryosuke Niwa.
2307
2308         Rebaseline some iOS WK2 LayoutTest expectations. These tests currently expect an empty anonymous RenderBlock to
2309         be inserted into the render tree, but this is only a result of us adding and removing a temporary <span> when
2310         computing a RenderStyle in WebPage::editorState -- this patch removes these empty RenderBlocks, making these
2311         expectations' RenderTrees consistent with WebKit1.
2312
2313         * platform/ios-wk2/editing/inserting/insert-div-024-expected.txt:
2314         * platform/ios-wk2/editing/inserting/insert-div-026-expected.txt:
2315         * platform/ios-wk2/editing/style/5084241-expected.txt:
2316         * platform/ios-wk2/editing/style/unbold-in-bold-expected.txt:
2317
2318 2017-08-07  Matt Lewis  <jlewis3@apple.com>
2319
2320         Marked media/modern-media-controls/fullscreen-support/fullscreen-support-press.html as flaky.
2321         https://bugs.webkit.org/show_bug.cgi?id=173946
2322
2323         Unreviewed test gardening.
2324
2325         * platform/mac-wk2/TestExpectations:
2326
2327 2017-08-07  Matt Lewis  <jlewis3@apple.com>
2328
2329         Rebaselined js/dom/global-constructors-attributes.html on El Capitan.
2330         https://bugs.webkit.org/show_bug.cgi?id=175201
2331
2332         Unreviewed test gardening.
2333         * platform/mac-elcapitan-wk2/js/dom/global-constructors-attributes-dedicated-worker-expected.txt: Added.
2334
2335 2017-08-07  Matt Lewis  <jlewis3@apple.com>
2336
2337         Changed expectations for webrtc/video-rotation.html.
2338         https://bugs.webkit.org/show_bug.cgi?id=175305
2339
2340         Unreviewed test gardening.
2341
2342         * TestExpectations:
2343
2344 2017-08-07  Devin Rousso  <drousso@apple.com>
2345
2346         Web Inspector: Preview Canvas path when viewing a recording
2347         https://bugs.webkit.org/show_bug.cgi?id=174967
2348
2349         Reviewed by Brian Burg.
2350
2351         * fast/canvas/2d.currentPoint-expected.txt: Added.
2352         * fast/canvas/2d.currentPoint.html: Added.
2353         * fast/canvas/2d.getPath.modification-expected.txt: Added.
2354         * fast/canvas/2d.getPath.modification.html: Added.
2355         * fast/canvas/2d.getPath.newobject-expected.txt: Added.
2356         * fast/canvas/2d.getPath.newobject.html: Added.
2357         * fast/canvas/2d.setPath-expected.txt: Added.
2358         * fast/canvas/2d.setPath.html: Added.
2359
2360         * inspector/canvas/recording-2d-expected.txt:
2361         * inspector/canvas/recording-2d.html:
2362         Updated for additional deduplication in InitialState.
2363
2364 2017-08-07  Ryan Haddad  <ryanhaddad@apple.com>
2365
2366         Skip workers/wasm-hashset-many.html and workers/wasm-hashset-many-2.html on El Capitan.
2367         https://bugs.webkit.org/show_bug.cgi?id=175102
2368
2369         Unreviewed test gardening.
2370
2371         * platform/mac/TestExpectations:
2372
2373 2017-08-07  Ryan Haddad  <ryanhaddad@apple.com>
2374
2375         Marking imported/w3c/web-platform-tests/html/browsers/windows/noreferrer-window-name.html as failing on iOS.
2376         https://bugs.webkit.org/show_bug.cgi?id=175273
2377
2378         Unreviewed test gardening.
2379
2380         * platform/ios/TestExpectations:
2381
2382 2017-08-07  Ryan Haddad  <ryanhaddad@apple.com>
2383
2384         Rebaseline js/dom/global-constructors-attributes.html.
2385
2386         Unreviewed test gardening.
2387
2388         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt:
2389         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
2390
2391 2017-08-07  Ryan Haddad  <ryanhaddad@apple.com>
2392
2393         Unreviewed, rolling out r220299.
2394
2395         This change caused LayoutTest inspector/dom-debugger/dom-
2396         breakpoints.html to fail.
2397
2398         Reverted changeset:
2399
2400         "Web Inspector: capture async stack trace when workers/main
2401         context posts a message"
2402         https://bugs.webkit.org/show_bug.cgi?id=167084
2403         http://trac.webkit.org/changeset/220299
2404
2405 2017-08-07  Ms2ger  <Ms2ger@igalia.com>
2406
2407         Remove obsolete failure expectations for wpt browsers tests.
2408         https://bugs.webkit.org/show_bug.cgi?id=175073
2409
2410         Unreviewed test gardening.
2411
2412         * TestExpectations:
2413
2414 2017-08-05  Youenn Fablet  <youenn@apple.com>
2415
2416         [Fetch API] Response should keep all ResourceResponse information
2417         https://bugs.webkit.org/show_bug.cgi?id=175099
2418
2419         Reviewed by Sam Weinig.
2420
2421         Updating test now that we are no longer cancelling the load in case of opaque responses.
2422
2423         * http/tests/inspector/network/fetch-network-data-expected.txt:
2424         * http/tests/inspector/network/fetch-network-data.html:
2425
2426 2017-08-05  Carlos Garcia Campos  <cgarcia@igalia.com>
2427
2428         getClientRects doesn't work with list box option elements
2429         https://bugs.webkit.org/show_bug.cgi?id=175016
2430
2431         Reviewed by Darin Adler.
2432
2433         Add new test to check list box option elements client rects.
2434
2435         * fast/dom/HTMLSelectElement/listbox-items-client-rects-expected.txt: Added.
2436         * fast/dom/HTMLSelectElement/listbox-items-client-rects.html: Added.
2437         * platform/ios-simulator-wk2/fast/dom/HTMLSelectElement/listbox-items-client-rects-expected.txt: Added.
2438
2439 2017-08-04  Youenn Fablet  <youenn@apple.com>
2440
2441         [Cache API] Add Cache and CacheStorage IDL definitions
2442         https://bugs.webkit.org/show_bug.cgi?id=175201
2443
2444         Reviewed by Brady Eidson.
2445
2446         * TestExpectations:
2447         * platform/ios-wk1/TestExpectations:
2448         * platform/mac-wk1/TestExpectations:
2449         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
2450         * platform/mac-highsierra/js/dom/global-constructors-attributes-expected.txt:
2451
2452 2017-08-04  Brady Eidson  <beidson@apple.com>
2453
2454         Have navigator.serviceWorker() actually return a ServiceWorkerContainer object.
2455         https://bugs.webkit.org/show_bug.cgi?id=175215
2456
2457         Reviewed by Youenn Fablet.
2458
2459         * platform/mac-wk1/imported/w3c/web-platform-tests/FileAPI/historical.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/FileAPI/historical.https-expected.txt.
2460
2461 2017-08-04  Chris Dumez  <cdumez@apple.com>
2462
2463         Add test coverage for sendBeacon() keepalive flag
2464         https://bugs.webkit.org/show_bug.cgi?id=175212
2465
2466         Reviewed by Youenn Fablet.
2467
2468         * http/wpt/beacon/keepalive-after-navigation-expected.txt: Added.
2469         * http/wpt/beacon/keepalive-after-navigation.html: Added.
2470         * http/wpt/beacon/support/sendBeacon-onunload-iframe.html: Added.
2471
2472 2017-08-04  Chris Dumez  <cdumez@apple.com>
2473
2474         [Beacon] Update sendBeacon to use the CachedResourceLoader
2475         https://bugs.webkit.org/show_bug.cgi?id=175192
2476         <rdar://problem/33725923>
2477
2478         Reviewed by Youenn Fablet.
2479
2480         Rebaseline a few tests now that the Origin header is properly set of our Beacon
2481         requests. This is a progression and matches the results from Blink.
2482
2483         Our Content-Type header for ArrayBuffer / ArrayBufferView payloads has also
2484         changed. It is unclear which one is best but at least we are now consistent
2485         with Fetch.
2486
2487         * http/tests/blink/sendbeacon/beacon-cookie-expected.txt:
2488         * http/tests/blink/sendbeacon/beacon-cross-origin-expected.txt:
2489         * http/tests/blink/sendbeacon/beacon-same-origin-expected.txt:
2490         * http/wpt/beacon/headers/header-content-type-same-origin.html:
2491
2492 2017-08-04  John Wilander  <wilander@apple.com>
2493
2494         Resource Load Statistics: Report user interaction immediately, but only when needed
2495         https://bugs.webkit.org/show_bug.cgi?id=175090
2496         <rdar://problem/33685546>
2497
2498         Reviewed by Chris Dumez.
2499
2500         * http/tests/loading/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame.html:
2501             Now no longer needs to disable throttling since reports of
2502             user interaction happen immediately (when needed).
2503         * http/tests/loading/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-expected.txt: Added.
2504         * http/tests/loading/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html: Added.
2505         * platform/mac-wk2/TestExpectations:
2506             user-interaction-only-reported-once-within-short-period-of-time.html marked as [ Pass ].
2507
2508 2017-08-04  Matt Baker  <mattbaker@apple.com>
2509
2510         Web Inspector: capture async stack trace when workers/main context posts a message
2511         https://bugs.webkit.org/show_bug.cgi?id=167084
2512         <rdar://problem/30033673>
2513
2514         Reviewed by Brian Burg.
2515
2516         Add a test to check for asynchronous stack trace data when the debugger
2517         pauses inside a MessageEvent handler.
2518
2519         * inspector/debugger/async-stack-trace-expected.txt:
2520         * inspector/debugger/async-stack-trace.html:
2521         * inspector/debugger/resources/postMessage-echo.html: Added.
2522
2523 2017-08-04  Chris Dumez  <cdumez@apple.com>
2524
2525         LayoutTest imported/w3c/web-platform-tests/beacon/beacon-basic-string.html is a flaky failure (harness timeout)
2526         https://bugs.webkit.org/show_bug.cgi?id=175202
2527
2528         Unreviewed, mark test as flaky.
2529
2530         * TestExpectations:
2531
2532 2017-08-04  Devin Rousso  <drousso@apple.com>
2533
2534         Web Inspector: add source view for WebGL shader programs
2535         https://bugs.webkit.org/show_bug.cgi?id=138593
2536         <rdar://problem/18936194>
2537
2538         Reviewed by Matt Baker.
2539
2540         * inspector/canvas/requestShaderSource-expected.txt: Added.
2541         * inspector/canvas/requestShaderSource.html: Added.
2542
2543         * inspector/canvas/resources/shaderProgram-utilities.js:
2544         (linkProgram):
2545         (linkProgram.typeForScript):
2546         (linkProgram.createShaderFromScript):
2547
2548         * platform/win/TestExpectations:
2549
2550 2017-08-04  Said Abou-Hallawa  <sabouhallawa@apple.com>
2551
2552         RenderImageResourceStyleImage::image() should return the nullImage() if the image is not available
2553         https://bugs.webkit.org/show_bug.cgi?id=174874
2554         <rdar://problem/33530130>
2555
2556         Reviewed by Simon Fraser.
2557
2558         * fast/images/image-element-image-content-data-expected.txt: Added.
2559         * fast/images/image-element-image-content-data.html: Added.
2560
2561 2017-08-04  Matt Lewis  <jlewis3@apple.com>
2562
2563         Rebaslining fast/text/font-selection-font-loading-api-parse.html for iOS 11.
2564
2565         Unreviewed test gardening.
2566
2567         * platform/ios-11/fast/text/font-selection-font-loading-api-parse-expected.txt:
2568
2569 2017-08-04  Chris Dumez  <cdumez@apple.com>
2570
2571         PROGRESSION? Multiple imported/w3c/web-platform-tests/fetch/api/ test have started to fail.
2572         https://bugs.webkit.org/show_bug.cgi?id=175061
2573
2574         Unreviewed, mark Fetch/Cors tests as failing on wk2 ElCapitan only, as those tests seem to be passing
2575         everywhere else.
2576
2577         * platform/mac-wk2/TestExpectations:
2578         * platform/mac/TestExpectations:
2579
2580 2017-08-04  Ryan Haddad  <ryanhaddad@apple.com>
2581
2582         Unreviewed, rolling out r220268.
2583
2584         This change caused assertion failures on macOS and iOS Debug
2585         WK2.
2586
2587         Reverted changeset:
2588
2589         "Resource Load Statistics: Report user interaction
2590         immediately, but only when needed"
2591         https://bugs.webkit.org/show_bug.cgi?id=175090
2592         http://trac.webkit.org/changeset/220268
2593
2594 2017-08-04  Chris Dumez  <cdumez@apple.com>
2595
2596         Mark beacon-basic-string.html as slow.
2597
2598         * TestExpectations:
2599
2600 2017-08-04  Brady Eidson  <beidson@apple.com>
2601
2602         Enable ServiceWorkers at runtime for WebKitTestRunner.
2603         https://bugs.webkit.org/show_bug.cgi?id=175174
2604
2605         Reviewed by Youenn Fablet.
2606
2607         * fast/dom/navigator-detached-no-crash-expected.txt:
2608         * platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt: Copied from LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt.
2609         * platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/background-fetch/interfaces-expected.txt.
2610         * platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/background-fetch/interfaces-worker.https-expected.txt.
2611         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt.
2612         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt.
2613         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt.
2614         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt.
2615         * platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt.
2616         * platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt.
2617         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt.
2618         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt.
2619         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt.
2620         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt.
2621         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt.
2622         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt.
2623         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt.
2624         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt.
2625         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt.
2626         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt.
2627         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt.
2628         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-byte-streams/general.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt.
2629         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt.
2630         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt.
2631         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt.
2632         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt.
2633         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt.
2634         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt.
2635         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt.
2636         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt.
2637         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/general.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt.
2638         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt.
2639         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt.
2640         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt.
2641         * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt.
2642         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
2643
2644 2017-08-04  Zan Dobersek  <zdobersek@igalia.com>
2645
2646         [EME][GStreamer] Register ClearKey CDMFactory
2647         https://bugs.webkit.org/show_bug.cgi?id=175136
2648
2649         Reviewed by Xabier Rodriguez-Calvar.
2650
2651         Update WPE baselines for EME ClearKey tests following some advancements in
2652         ClearKey support.
2653
2654         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-expected.txt:
2655         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-events-session-closed-event-expected.txt:
2656         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-generate-request-disallowed-input-expected.txt:
2657         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-invalid-license-expected.txt:
2658         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-expected.txt:
2659         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-keystatuses-multiple-sessions-expected.txt:
2660         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-clear-encrypted-expected.txt:
2661         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-expected.txt:
2662         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-sources-expected.txt:
2663         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-events-expected.txt:
2664         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-expected.txt:
2665         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-expected.txt:
2666         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-expected.txt:
2667         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState-expected.txt:
2668         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multisession-expected.txt:
2669         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src-expected.txt:
2670         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update-expected.txt:
2671         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-immediately-expected.txt:
2672         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-onencrypted-expected.txt:
2673         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-two-videos-expected.txt:
2674         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-waitingforkey-expected.txt:
2675         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-requestmediakeysystemaccess-expected.txt:
2676         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys-expected.txt:
2677         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-playback-expected.txt:
2678         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src-expected.txt:
2679         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-at-same-time-expected.txt:
2680         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-expected.txt:
2681         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys-expected.txt:
2682         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-to-multiple-video-elements-expected.txt:
2683         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeys-expected.txt:
2684         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysession-expected.txt:
2685         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeysystemaccess-expected.txt:
2686         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-update-disallowed-input-expected.txt:
2687         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-waiting-for-a-key-expected.txt:
2688         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-not-callable-after-createsession-expected.txt:
2689         * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-update-non-ascii-input-expected.txt:
2690
2691 2017-08-04  John Wilander  <wilander@apple.com>
2692
2693         Resource Load Statistics: Report user interaction immediately, but only when needed
2694         https://bugs.webkit.org/show_bug.cgi?id=175090
2695         <rdar://problem/33685546>
2696
2697         Reviewed by Chris Dumez.
2698
2699         * http/tests/loading/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame.html:
2700             Now no longer needs to disable throttling since reports of
2701             user interaction happen immediately (when needed).
2702         * http/tests/loading/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-expected.txt: Added.
2703         * http/tests/loading/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time.html: Added.
2704         * platform/mac-wk2/TestExpectations:
2705             user-interaction-only-reported-once-within-short-period-of-time.html marked as [ Pass ].
2706
2707 2017-08-04  Ms2ger  <Ms2ger@igalia.com>
2708
2709         [GTK] Test gardening around MOUSE_CURSOR_SCALE.
2710         https://bugs.webkit.org/show_bug.cgi?id=109469
2711
2712         Reviewed by Carlos Alberto Lopez Perez.
2713
2714         Remove obsolete expectation for cursor-parsing-image-set.html; it may have
2715         started passing in r209396.
2716
2717         Mark mouse-cursor-image-set.html as failing rather than using an incorrect
2718         -expected file.
2719
2720         * platform/gtk/TestExpectations:
2721         * platform/gtk/fast/events/mouse-cursor-image-set-expected.txt: Removed.
2722
2723 2017-08-04  Zan Dobersek  <zdobersek@igalia.com>
2724
2725         Unreviewed GTK+ gardening. Update test expectations and layout test baselines
2726         for Web Crypto tests now that the implementation is complete.
2727
2728         * platform/gtk/TestExpectations:
2729         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/encrypt_decrypt: Added.
2730         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/encrypt_decrypt/aes_cbc.worker-expected.txt: Added.
2731         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/encrypt_decrypt/test_aes_cbc.https-expected.txt: Added.
2732         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes.worker-expected.txt: Added.
2733         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/import_export: Added.
2734         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/rsa_importKey.worker-expected.txt: Added.
2735         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/test_rsa_importKey.https-expected.txt: Added.
2736         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify: Added.
2737         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/rsa_pkcs.worker-expected.txt: Added.
2738         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/rsa_pss.worker-expected.txt: Added.
2739         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/test_rsa_pkcs.https-expected.txt: Added.
2740         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/test_rsa_pss.https-expected.txt: Added.
2741         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/wrapKey_unwrapKey: Added.
2742         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/wrapKey_unwrapKey/test_wrapKey_unwrapKey.https-expected.txt: Added.
2743         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.worker-expected.txt: Added.
2744
2745 2017-08-04  Frederic Wang  <fwang@igalia.com>
2746
2747         ScrollingTreeOverflowScrollingNodeIOS uses the wrong fixed position rectangle
2748         https://bugs.webkit.org/show_bug.cgi?id=175135
2749
2750         Reviewed by Simon Fraser.
2751
2752         This patch adds a new test for a position:fixed element inside an overflow node inside an
2753         iframe. When scrolling the overflow node, the position of such an element should remain fixed
2754         relative to the inner frame. Before that change, ScrollingTreeOverflowScrollingNodeIOS used
2755         to take the main frame as a reference instead, causing the element to flicker and even to
2756         disappear when the user scrolls that overflow node. We add a reftest to verify that the
2757         element is visible and positioned at the correct location when the user scrolls.
2758
2759         * fast/scrolling/ios/fixed-inside-overflow-inside-iframe-expected.html: Added.
2760         * fast/scrolling/ios/fixed-inside-overflow-inside-iframe.html: Added.
2761
2762 2017-08-04  Zan Dobersek  <zdobersek@igalia.com>
2763
2764         Unreviewed WPE gardening. Update test expectations and layout test baselines
2765         for Web Crypto tests now that the implementation is complete.
2766
2767         * platform/wpe/TestExpectations:
2768         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes.worker-expected.txt: Added.
2769         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/import_export: Added.
2770         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/rsa_importKey.worker-expected.txt: Added.
2771         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/test_rsa_importKey.https-expected.txt: Added.
2772         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify: Added.
2773         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/rsa_pkcs.worker-expected.txt: Added.
2774         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/rsa_pss.worker-expected.txt: Added.
2775         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/test_rsa_pkcs.https-expected.txt: Added.
2776         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/test_rsa_pss.https-expected.txt: Added.
2777         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/wrapKey_unwrapKey: Added.
2778         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/wrapKey_unwrapKey/test_wrapKey_unwrapKey.https-expected.txt: Added.
2779         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.worker-expected.txt: Added.
2780
2781 2017-08-03  Zan Dobersek  <zdobersek@igalia.com>
2782
2783         [GCrypt] Implement CryptoKeyEC PKCS#8 imports
2784         https://bugs.webkit.org/show_bug.cgi?id=173647
2785
2786         Reviewed by Jiewen Tan.
2787
2788         * platform/wpe/TestExpectations:
2789         Unskip passing Web Crypto tests that cover PKCS#8 imports of EC keys.
2790
2791 2017-08-03  Chris Dumez  <cdumez@apple.com>
2792
2793         Fix parsing of <meta http-equiv=refresh> to allow time starting with a '.' without a leading 0
2794         https://bugs.webkit.org/show_bug.cgi?id=175132
2795
2796         Reviewed by Darin Adler.
2797
2798         * TestExpectations:
2799         Mark as flaky tests that used to not run because they were missing a subresource. Now that I imported
2800         this subresource, the tests run but are failing. When they fail, those tests are flaky due to the lines
2801         they log.
2802
2803         * tests-options.json:
2804
2805 2017-08-03  Chris Dumez  <cdumez@apple.com>
2806
2807         Multiple Layout tests from web-platform-tests/beacon/ are timing out.
2808         https://bugs.webkit.org/show_bug.cgi?id=175076
2809         <rdar://problem/33704752>
2810
2811         Reviewed by Alexey Proskuryakov.
2812
2813         * platform/ios-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: Removed.
2814         * platform/ios-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: Removed.
2815         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt: Removed.
2816         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt: Removed.
2817         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt: Removed.
2818         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt: Removed.
2819         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt: Removed.
2820         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: Removed.
2821         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: Removed.
2822         Drop platform-specific expectations as those tests are now passing everywhere.
2823
2824         * platform/wk2/TestExpectations:
2825         Unskip tests that are now passing.
2826
2827 2017-08-03  Matt Baker  <mattbaker@apple.com>
2828
2829         Web Inspector: Instrument WebGLProgram created/deleted
2830         https://bugs.webkit.org/show_bug.cgi?id=175059
2831
2832         Reviewed by Devin Rousso.
2833
2834         Add tests for CanvasManager shader program events and ShaderProgram model object.
2835         WebGL and WebGL2 contexts are tested separately based on platform support.
2836
2837         * inspector/canvas/resources/shaderProgram-utilities.js: Added.
2838         (createProgram):
2839         (deleteProgram):
2840         (deleteContext):
2841         (TestPage.registerInitializer.awaitProgramAdded):
2842         (TestPage.registerInitializer):
2843         (TestPage.registerInitializer.window.initializeTestSuite):
2844         (TestPage.registerInitializer.window.addSimpleTestCase):
2845         (TestPage.registerInitializer.window.addParentCanvasRemovedTestCase):
2846
2847         * inspector/canvas/shaderProgram-add-remove-webgl-expected.txt: Added.
2848         * inspector/canvas/shaderProgram-add-remove-webgl.html: Added.
2849         * inspector/canvas/shaderProgram-add-remove-webgl2-expected.txt: Added.
2850         * inspector/canvas/shaderProgram-add-remove-webgl2.html: Added.
2851
2852         * platform/gtk/TestExpectations:
2853         * platform/mac/TestExpectations:
2854         * platform/win/TestExpectations:
2855
2856 2017-08-03  Youenn Fablet  <youenn@apple.com>
2857
2858         Import WPT service worker tests
2859         https://bugs.webkit.org/show_bug.cgi?id=175053
2860
2861         Reviewed by Brady Eidson.
2862
2863         * TestExpectations: skipping service worker tests.
2864
2865 2017-08-03  Ms2ger  <Ms2ger@igalia.com>
2866
2867         Test gardening.
2868         https://bugs.webkit.org/show_bug.cgi?id=175137
2869
2870         Unreviewed test gardening.
2871
2872         * platform/gtk/TestExpectations:
2873         * platform/gtk/fast/images/async-image-multiple-clients-repaint-expected.txt: Added.
2874         * platform/gtk/fast/text/atsui-pointtooffset-calls-cg-expected.txt:
2875         * platform/win/TestExpectations:
2876
2877 2017-08-01  Sam Weinig  <sam@webkit.org>
2878
2879         [WebIDL] Convert MutationCallback to be a normal generate callback
2880         https://bugs.webkit.org/show_bug.cgi?id=174140
2881
2882         Reviewed by Darin Adler.
2883
2884         * fast/dom/MutationObserver/mutation-observer-constructor-expected.txt:
2885         Update results for standard error messages.
2886
2887 2017-08-03  Chris Dumez  <cdumez@apple.com>
2888
2889         Improve our support for referrer policies
2890         https://bugs.webkit.org/show_bug.cgi?id=175069
2891         <rdar://problem/33677313>
2892
2893         Reviewed by Darin Adler.
2894
2895         * http/tests/referrer-policy/origin-when-cross-origin/cross-origin-http-http-expected.txt: Added.
2896         * http/tests/referrer-policy/origin-when-cross-origin/cross-origin-http-http.html: Added.
2897         * http/tests/referrer-policy/origin-when-cross-origin/cross-origin-http.https-expected.txt: Added.
2898         * http/tests/referrer-policy/origin-when-cross-origin/cross-origin-http.https.html: Added.
2899         * http/tests/referrer-policy/origin-when-cross-origin/same-origin-expected.txt: Added.
2900         * http/tests/referrer-policy/origin-when-cross-origin/same-origin.html: Added.
2901         * http/tests/referrer-policy/resources/document.html: Added.
2902         * http/tests/referrer-policy/same-origin/cross-origin-http-http-expected.txt: Added.
2903         * http/tests/referrer-policy/same-origin/cross-origin-http-http.html: Added.
2904         * http/tests/referrer-policy/same-origin/cross-origin-http.https-expected.txt: Added.
2905         * http/tests/referrer-policy/same-origin/cross-origin-http.https.html: Added.
2906         * http/tests/referrer-policy/same-origin/same-origin-expected.txt: Added.
2907         * http/tests/referrer-policy/same-origin/same-origin.html: Added.
2908         * http/tests/referrer-policy/strict-origin-when-cross-origin/cross-origin-http-http-expected.txt: Added.
2909         * http/tests/referrer-policy/strict-origin-when-cross-origin/cross-origin-http-http.html: Added.
2910         * http/tests/referrer-policy/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt: Added.
2911         * http/tests/referrer-policy/strict-origin-when-cross-origin/cross-origin-http.https.html: Added.
2912         * http/tests/referrer-policy/strict-origin-when-cross-origin/same-origin-expected.txt: Added.
2913         * http/tests/referrer-policy/strict-origin-when-cross-origin/same-origin.html: Added.
2914         * http/tests/referrer-policy/strict-origin/cross-origin-http-http-expected.txt: Added.
2915         * http/tests/referrer-policy/strict-origin/cross-origin-http-http.html: Added.
2916         * http/tests/referrer-policy/strict-origin/cross-origin-http.https-expected.txt: Added.
2917         * http/tests/referrer-policy/strict-origin/cross-origin-http.https.html: Added.
2918         * http/tests/referrer-policy/strict-origin/same-origin-expected.txt: Added.
2919         * http/tests/referrer-policy/strict-origin/same-origin.html: Added.
2920         Add layout test coverage.
2921
2922         * http/tests/security/referrer-policy-invalid-expected.txt:
2923         Rebaseline test now that console message has changed.
2924
2925 2017-08-03  Daniel Bates  <dabates@apple.com>
2926
2927         Support ::marker pseudo-element
2928         https://bugs.webkit.org/show_bug.cgi?id=141477
2929
2930         Reviewed by David Hyatt.
2931
2932         Add tests that check we respect ::marker when rendering the list item marker. I will
2933         submit all the tests in http/wpt/css/css-pseudo-4 to the Web Platform Tests repository
2934         shortly and then import them into the WebKit repository in a subsequent commit.
2935
2936         * fast/lists/list-marker-with-display-expected.html: Added.
2937         * fast/lists/list-marker-with-display.html: Added.
2938         * http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements-expected.html: Added.
2939         * http/wpt/css/css-pseudo-4/marker-and-other-pseudo-elements.html: Added.
2940         * http/wpt/css/css-pseudo-4/marker-color-expected.html: Added.
2941         * http/wpt/css/css-pseudo-4/marker-color.html: Added.
2942         * http/wpt/css/css-pseudo-4/marker-font-properties-expected.html: Added.
2943         * http/wpt/css/css-pseudo-4/marker-font-properties.html: Added.
2944         * http/wpt/css/css-pseudo-4/marker-inherit-values-expected.html: Added.
2945         * http/wpt/css/css-pseudo-4/marker-inherit-values.html: Added.
2946
2947 2017-08-03  Ms2ger  <Ms2ger@igalia.com>
2948
2949         [GTK] Remove obsolete failure expectation for narrow-non-breaking-space.html.
2950         https://bugs.webkit.org/show_bug.cgi?id=139493
2951
2952         Unreviewed test gardening.
2953
2954         It likely started passing in r205826 due to its change in Font.cpp.
2955
2956         * platform/gtk/TestExpectations:
2957
2958 2017-08-03  Ms2ger  <Ms2ger@igalia.com>
2959
2960         [GTK] Skip timezone-dependent Sputnik tests.
2961         https://bugs.webkit.org/show_bug.cgi?id=175120
2962
2963         Unreviewed test gardening.
2964
2965         These tests are skipped in the platform-neutral TestExpectations file because
2966         they only pass in Pacific Time (see bug 42625). There doesn't seem to be a
2967         reason for gtk to run them, and they do pass on the buildbot.
2968
2969         * platform/gtk/TestExpectations:
2970
2971 2017-08-02  Devin Rousso  <drousso@apple.com>
2972
2973         Web Inspector: add stack trace information for each RecordingAction
2974         https://bugs.webkit.org/show_bug.cgi?id=174663
2975
2976         Reviewed by Joseph Pecoraro.
2977
2978         * inspector/canvas/recording-2d-expected.txt:
2979         * inspector/canvas/recording-2d.html:
2980         * inspector/model/recording-expected.txt:
2981         * inspector/model/recording.html:
2982
2983 2017-08-02  Chris Dumez  <cdumez@apple.com>
2984
2985         NetworkResourceLoader::setDefersLoading() may cause start() to be called multiple times
2986         https://bugs.webkit.org/show_bug.cgi?id=175109
2987         <rdar://problem/33363169>
2988
2989         Reviewed by Brady Eidson.
2990
2991         Extend test coverage to cover cacheable redirects to a resource that needs
2992         revalidation, similarly to the case in the radar.
2993
2994         * http/tests/cache/disk-cache/disk-cache-redirect-expected.txt:
2995         * http/tests/cache/disk-cache/disk-cache-redirect.html:
2996
2997 2017-08-02  Youenn Fablet  <youenn@apple.com>
2998
2999         HTTP tests with 'https' suffix are only run over HTTPS for WK2, not WK1
3000         https://bugs.webkit.org/show_bug.cgi?id=175089
3001
3002         Reviewed by Chris Dumez.
3003
3004         Removing no longer needed expectations.
3005
3006         * platform/ios-wk1/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Removed.
3007         * platform/mac-wk1/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Removed.
3008
3009 2017-08-02  Matt Lewis  <jlewis3@apple.com>
3010
3011         Marked http/tests/appcache/deferred-events-delete-while-raising-timer.html as flaky.
3012         https://bugs.webkit.org/show_bug.cgi?id=175107
3013
3014         Unreviewed test gardening.
3015
3016         * TestExpectations:
3017
3018 2017-08-02  Matt Lewis  <jlewis3@apple.com>
3019
3020         Removed bad expectations and marked test as flaky.
3021         https://bugs.webkit.org/show_bug.cgi?id=175061
3022
3023         Unreviewed test gardening.
3024
3025         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: Removed.
3026         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: Removed.
3027         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt: Removed.
3028         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt: Removed.
3029         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt: Removed.
3030         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker-expected.txt: Removed.
3031         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt: Removed.
3032         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt: Removed.
3033         * platform/mac/TestExpectations:
3034
3035 2017-08-02  Andy Estes  <aestes@apple.com>
3036
3037         REGRESSION (r207155): Unable to switch sheets when previewing Numbers '09 spreadsheets
3038         https://bugs.webkit.org/show_bug.cgi?id=175098
3039         <rdar://problem/31416763>
3040
3041         Reviewed by Daniel Bates.
3042
3043         * quicklook/multi-sheet-numbers-09-expected.txt: Added.
3044         * quicklook/multi-sheet-numbers-09.html: Added.
3045         * quicklook/resources/multi-sheet-numbers-09.numbers: Added.
3046
3047 2017-08-02  Chris Dumez  <cdumez@apple.com>
3048
3049         Unreviewed, skip newly imported WPT that is slow in Debug builds.
3050
3051         * TestExpectations:
3052
3053 2017-08-02  Joseph Pecoraro  <pecoraro@apple.com>
3054
3055         inspector/runtime/CommandLineAPI-inspect.html is flaky.
3056         https://bugs.webkit.org/show_bug.cgi?id=175092
3057
3058         Reviewed by Brian Burg.
3059
3060         * inspector/runtime/CommandLineAPI-inspect-expected.txt:
3061         * inspector/runtime/CommandLineAPI-inspect.html:
3062
3063 2017-08-02  Chris Dumez  <cdumez@apple.com>
3064
3065         Unreviewed, skip newly imported WPT HTTPS tests on WK2 only.
3066
3067         The tests seem to work fine on WK1.
3068
3069         * TestExpectations:
3070         * platform/wk2/TestExpectations:
3071
3072 2017-08-02  Matt Lewis  <jlewis3@apple.com>
3073
3074         Unmarked imported/w3c/IndexedDB-private-browsing/idbfactory_open.html as flaky.
3075         https://bugs.webkit.org/show_bug.cgi?id=174949
3076
3077         Unreviewed test gardening.
3078
3079         * platform/ios-wk2/TestExpectations:
3080
3081 2017-08-02  Chris Dumez  <cdumez@apple.com>
3082
3083         Unreviewed, temporarily skip some HTTPS tests that time out on the bots.
3084
3085         * TestExpectations:
3086
3087 2017-08-02  Matt Lewis  <jlewis3@apple.com>
3088
3089         Added new expectations folders and moved expectations to correct folders.
3090         https://bugs.webkit.org/show_bug.cgi?id=175061
3091
3092         Unreviewed gardening.
3093         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: Renamed from LayoutTests/platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt.
3094         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: Renamed from LayoutTests/platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt.
3095         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt: Renamed from LayoutTests/platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt.
3096         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt: Renamed from LayoutTests/platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt.
3097         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt: Renamed from LayoutTests/platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt.
3098         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker-expected.txt: Renamed from LayoutTests/platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker-expected.txt.
3099         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt: Renamed from LayoutTests/platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt.
3100         * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt: Renamed from LayoutTests/platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt.
3101
3102 2017-08-02  Ms2ger  <Ms2ger@igalia.com>
3103
3104         Remove obsolete expectations for syntax-021.xml.
3105         https://bugs.webkit.org/show_bug.cgi?id=86142
3106
3107         Reviewed by Sam Weinig.
3108
3109         It may have started passing in r209396.
3110
3111         * platform/gtk/TestExpectations:
3112         * platform/ios-simulator/TestExpectations:
3113         * platform/mac/TestExpectations:
3114         * platform/win/TestExpectations:
3115
3116 2017-08-02  Ms2ger  <Ms2ger@igalia.com>
3117
3118         Remove overridden lines from win's TestExpectations.
3119         https://bugs.webkit.org/show_bug.cgi?id=175068
3120
3121         Reviewed by Darin Adler.
3122
3123         These lines cause lint errors and block any patch that touches the file from
3124         landing.
3125
3126         * platform/win/TestExpectations:
3127
3128 2017-08-02  Ms2ger  <Ms2ger@igalia.com>
3129
3130         [GTK] Layout test editing/pasteboard/copy-standalone-image.html failing
3131         https://bugs.webkit.org/show_bug.cgi?id=163184
3132
3133         Unreviewed test gardening.
3134
3135         Remove obsolete failure expectation for copy-standalone-image.html.
3136
3137         The bug was fixed in r212428. (The test was also broken by both landings for
3138         bug 170956, until r216174 fixed it again.)
3139
3140         * platform/gtk/TestExpectations:
3141
3142 2017-08-01  Chris Dumez  <cdumez@apple.com>
3143
3144         Add initial support for navigator.sendBeacon
3145         https://bugs.webkit.org/show_bug.cgi?id=175007
3146         <rdar://problem/33547728>
3147
3148         Reviewed by Sam Weinig.
3149
3150         * fast/dom/navigator-detached-no-crash-expected.txt:
3151         Rebaseline test now that sendBeacon is exposed on navigator.
3152
3153         * http/tests/blink/sendbeacon/beacon-cookie-expected.txt: Added.
3154         * http/tests/blink/sendbeacon/beacon-cookie.html: Added.
3155         * http/tests/blink/sendbeacon/beacon-cross-origin-expected.txt: Added.
3156         * http/tests/blink/sendbeacon/beacon-cross-origin-redirect-blob-expected.txt: Added.
3157         * http/tests/blink/sendbeacon/beacon-cross-origin-redirect-blob.html: Added.
3158         * http/tests/blink/sendbeacon/beacon-cross-origin-redirect-expected.txt: Added.
3159         * http/tests/blink/sendbeacon/beacon-cross-origin-redirect.html: Added.
3160         * http/tests/blink/sendbeacon/beacon-cross-origin.html: Added.
3161         * http/tests/blink/sendbeacon/beacon-cross-origin.https-expected.txt: Added.
3162         * http/tests/blink/sendbeacon/beacon-cross-origin.https.html: Added.
3163         * http/tests/blink/sendbeacon/beacon-detached-no-crash-expected.txt: Added.
3164         * http/tests/blink/sendbeacon/beacon-detached-no-crash.html: Added.
3165         * http/tests/blink/sendbeacon/beacon-same-origin-expected.txt: Added.
3166         * http/tests/blink/sendbeacon/beacon-same-origin.html: Added.
3167         * http/tests/blink/sendbeacon/connect-src-beacon-allowed-expected.txt: Added.
3168         * http/tests/blink/sendbeacon/connect-src-beacon-allowed.html: Added.
3169         * http/tests/blink/sendbeacon/resources/check-beacon.php: Added.
3170         * http/tests/blink/sendbeacon/resources/save-beacon.php: Added.
3171         Import more beacon test coverage from Blink.
3172
3173         * http/wpt/beacon/connect-src-beacon-blocked.sub-expected.txt: Added.
3174         * http/wpt/beacon/connect-src-beacon-blocked.sub.html: Added.
3175         Improve test coverage for sendBeacon and CSP.
3176
3177         * http/wpt/beacon/headers/header-content-type-same-origin-expected.txt: Added.
3178         * http/wpt/beacon/headers/header-content-type-same-origin.html: Added.
3179         Improve test coverage for sendBeacon with various types of payload. The test is done
3180         using same origin as we do not currently support sending some of those payloads cross
3181         origin yet.
3182
3183         * imported/blink/fast/beacon/beacon-basic-expected.txt: Added.
3184         * imported/blink/fast/beacon/beacon-basic.html: Added.
3185         Import basic Beacon test coverage from Blink.
3186
3187         * resources/window-postmessage-open-close.html: Added.
3188         * tests-options.json:
3189
3190 2017-08-01  Devin Rousso  <drousso@apple.com>
3191
3192         Web Inspector: simplify WebInspector with WI
3193         https://bugs.webkit.org/show_bug.cgi?id=175058
3194
3195         Reviewed by Joseph Pecoraro.
3196
3197         * http/tests/inspector/**/*.html:
3198         * http/tests/websocket/tests/hybi/inspector/**/*.html:
3199         * inspector/**/*.html:
3200
3201 2017-08-01  Matt Lewis  <jlewis3@apple.com>
3202
3203         Added expectations files for El Capitan.
3204         https://bugs.webkit.org/show_bug.cgi?id=175061
3205
3206         Unreviewed test gardening.
3207
3208         * platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: Added.
3209         * platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: Added.
3210         * platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt: Added.
3211         * platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt: Added.
3212         * platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt: Added.
3213         * platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker-expected.txt: Added.
3214         * platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt: Added.
3215         * platform/mac-elcapitan/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt: Added.
3216
3217 2017-08-01  Devin Rousso  <drousso@apple.com>
3218
3219         Web Inspector: create Recording tab for displaying recordings
3220         https://bugs.webkit.org/show_bug.cgi?id=174484
3221
3222         Reviewed by Joseph Pecoraro.
3223
3224         * inspector/unit-tests/number-utilities-expected.txt:
3225         * inspector/unit-tests/number-utilities.html:
3226
3227 2017-08-01  Zalan Bujtas  <zalan@apple.com>
3228
3229         REGRESSION (r217197): New Yorker website hangs for a long time on load, lots of blank tiles
3230         https://bugs.webkit.org/show_bug.cgi?id=175009
3231         <rdar://problem/33505791>
3232
3233         Reviewed by Simon Fraser.
3234
3235         * fast/frames/flattening/media-query-growing-content-expected.txt: Added.
3236         * fast/frames/flattening/media-query-growing-content.html: Added.
3237         * fast/frames/flattening/resources/media-query-min-height-with-flattening.html: Added.
3238
3239 2017-08-01  Youenn Fablet  <youenn@apple.com>
3240
3241         Layout tests with 'https' suffix should be run over HTTPS
3242         https://bugs.webkit.org/show_bug.cgi?id=174992
3243
3244         Reviewed by Chris Dumez.
3245
3246         Updating test to allow display insecure content as otherwise the test would not complete now that it is run over HTTPS.
3247         Adding WK1 expected files as the warning message is not printed.
3248
3249         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt:
3250         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https.html:
3251         * platform/ios-wk1/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Added.
3252         * platform/mac-wk1/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Added.
3253
3254 2017-08-01  Matt Lewis  <jlewis3@apple.com>
3255
3256         Marked imported/w3c/IndexedDB-private-browsing/idbfactory_open.html as flaky.
3257         <rdar://problem/33555052>
3258
3259         Unreviewed test gardening.
3260
3261         * platform/ios-wk2/TestExpectations:
3262
3263 2017-08-01  Zan Dobersek  <zdobersek@igalia.com>
3264
3265         [WebCrypto] Add PKCS#8 import test that covers `parameters` and `publicKey` values in ECPrivateKey
3266         https://bugs.webkit.org/show_bug.cgi?id=174420
3267
3268         Reviewed by Darin Adler.
3269
3270         Add test cases that cover testing of the optional ECParameters and publicKey bit string
3271         attributes in the ECPrivateKey ASN.1 structure that's embedded in the PKCS#8 PrivateKeyInfo
3272         ASN.1 structure.
3273
3274         Per the spec, if the ECParameters attribute in the ECPrivateKey structure is present, the
3275         relevant curve object identifier should match the same curve identifier that's used in the
3276         ECParameters attribute of the AlgorithmIdentifier structure in PrivateKeyInfo. Both of these
3277         should of course match the curve that was specified for the import operation.
3278
3279         For the publicKey bit string, the data contained there should be properly formatted for
3280         the specific curve, meaning it should be of proper curve-specific size and that it should
3281         use 0x04 as the leading byte, signalling an uncompressed EC point. On top of that the public
3282         key should have a valid value that positions it on the specified elliptic curve.
3283
3284         These cases are covered for PKCS#8 key imports for P-256 and P-384 curves and for both ECDH
3285         and ECDSA algorithms in the newly-introduced tests. They are skipped on all platforms since
3286         no implementation in WebKit can pass them yet.
3287
3288         * TestExpectations:
3289         * crypto/subtle/ecdh-import-pkcs8-key-p256-validate-ecprivatekey-parameters-publickey-expected.txt: Added.
3290         * crypto/subtle/ecdh-import-pkcs8-key-p256-validate-ecprivatekey-parameters-publickey.html: Added.
3291         * crypto/subtle/ecdh-import-pkcs8-key-p384-validate-ecprivatekey-parameters-publickey-expected.txt: Added.
3292         * crypto/subtle/ecdh-import-pkcs8-key-p384-validate-ecprivatekey-parameters-publickey.html: Added.
3293         * crypto/subtle/ecdsa-import-pkcs8-key-p256-validate-ecprivatekey-parameters-publickey-expected.txt: Added.
3294         * crypto/subtle/ecdsa-import-pkcs8-key-p256-validate-ecprivatekey-parameters-publickey.html: Added.
3295         * crypto/subtle/ecdsa-import-pkcs8-key-p384-validate-ecprivatekey-parameters-publickey-expected.txt: Added.
3296         * crypto/subtle/ecdsa-import-pkcs8-key-p384-validate-ecprivatekey-parameters-publickey.html: Added.
3297
3298 2017-08-01  Ms2ger  <Ms2ger@igalia.com>
3299
3300         [GTK] Layout test fast/forms/content-with-margins-inside-button.html is failing
3301         https://bugs.webkit.org/show_bug.cgi?id=174610
3302
3303         Reviewed by Darin Adler.
3304
3305         Use an explicit text color for content-with-margins-inside-button.html.
3306
3307         This makes the test pass in the GTK port.
3308
3309         I also changed the formatting of the CSS to make it more readable.
3310
3311         * fast/forms/content-with-margins-inside-button-expected.html:
3312         * fast/forms/content-with-margins-inside-button.html:
3313         * platform/gtk/TestExpectations:
3314
3315 2017-08-01  Ms2ger  <Ms2ger@igalia.com>
3316
3317         Remove obsolete failure expectations for wpt XHR tests.
3318         https://bugs.webkit.org/show_bug.cgi?id=175024
3319
3320         Reviewed by Darin Adler.
3321
3322         * TestExpectations:
3323         * platform/gtk/TestExpectations:
3324
3325 2017-08-01  Ms2ger  <Ms2ger@igalia.com>
3326
3327         Remove obsolete failure expectations for style-01.html.
3328         https://bugs.webkit.org/show_bug.cgi?id=175026
3329
3330         Reviewed by Darin Adler.
3331
3332         * TestExpectations:
3333
3334 2017-08-01  Ms2ger  <Ms2ger@igalia.com>
3335
3336         Remove obsolete failure expectation for Document-characterSet-normalization.html.
3337         https://bugs.webkit.org/show_bug.cgi?id=175022
3338
3339         Reviewed by Sam Weinig.
3340
3341         The expectations were updated in r204605.
3342
3343         * platform/gtk/TestExpectations:
3344
3345 2017-08-01  Ms2ger  <Ms2ger@igalia.com>
3346
3347         Remove obsolete failure expectation for regional-indicators.html.
3348         https://bugs.webkit.org/show_bug.cgi?id=175021
3349
3350         Reviewed by Sam Weinig.
3351
3352         * platform/gtk/TestExpectations:
3353
3354 2017-08-01  Ms2ger  <Ms2ger@igalia.com>
3355
3356         REGRESSION(r205909): Layout test editing/pasteboard/image-in-iframe.html is failing
3357         https://bugs.webkit.org/show_bug.cgi?id=163185
3358
3359         Reviewed by Sam Weinig.
3360
3361         Remove obsolete failure expectation for image-in-iframe.html.
3362
3363         The bug was fixed in r212428. (The test was also broken by both landings for
3364         bug 170956, until r216174 fixed it again.)
3365
3366         * platform/gtk/TestExpectations:
3367
3368 2017-08-01  Darin Adler  <darin@apple.com>
3369
3370         REGRESSION (r220052): http/tests/media/video-play-stall.html times out
3371         https://bugs.webkit.org/show_bug.cgi?id=174988
3372
3373         Reviewed by Sam Weinig.
3374
3375         * TestExpectations: Stop skipping this test.
3376
3377         * http/tests/media/video-play-stall.html: Use a 0-duration timeout to sidestep an
3378         issue where the test runner never thinks the test is done because of the stalled
3379         media loading, and times out. The behaviors here aren't great, but there is no
3380         reason to think that this confused state has any effect on web browsing; just on
3381         our test runners in a test that intentionally has a still loading video in it.
3382
3383 2017-08-01  Ms2ger  <Ms2ger@igalia.com>
3384
3385         Correct the line numbers in GTK's scheme-about.any-expected.txt.
3386         https://bugs.webkit.org/show_bug.cgi?id=175017
3387
3388         Reviewed by Sam Weinig.
3389
3390         The code fix landed in r220050.
3391
3392         * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.any-expected.txt:
3393
3394 2017-07-31  Ms2ger  <Ms2ger@igalia.com>
3395
3396         Remove some obsolete expected failures blamed on the threaded compositor.
3397         https://bugs.webkit.org/show_bug.cgi?id=174982
3398
3399         Reviewed by Sergio Villar Senin.
3400
3401         * platform/gtk/TestExpectations:
3402
3403 2017-07-31  Jiewen Tan  <jiewen_tan@apple.com>
3404
3405         Unreviewed, test gardening
3406
3407         * platform/mac-highsierra/TestExpectations:
3408         * platform/mac-highsierra/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/test_pbkdf2_long_empty.https-expected.txt: Added.
3409         * platform/mac-highsierra/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/test_pbkdf2_short_empty.https-expected.txt: Added.
3410
3411 2017-07-31  Matt Lewis  <jlewis3@apple.com>
3412
3413         Skipped  http/tests/media/video-play-stall.html.
3414         https://bugs.webkit.org/show_bug.cgi?id=174988
3415
3416         Unreviewed test gardening.
3417         * TestExpectations:
3418
3419 2017-07-31  Matt Lewis  <jlewis3@apple.com>
3420
3421         Unreviewed, rolling out r220048.
3422
3423         This revision caused multiple crashes in fast/images. See
3424         webkit.org/b/174990
3425
3426         Reverted changeset:
3427
3428         "RenderImageResourceStyleImage::image() should return the
3429         nullImage() if the image is not available"
3430         https://bugs.webkit.org/show_bug.cgi?id=174874
3431         http://trac.webkit.org/changeset/220048
3432
3433 2017-07-31  Per Arne Vollan  <pvollan@apple.com>
3434
3435         Do not mark all web-platform tests as slow, as this increases time spent on layout tests.
3436         Only mark individual web-platform tests as slow.
3437
3438         Unreviewed test gardening.
3439
3440         * platform/win/TestExpectations:
3441
3442 2017-07-31  Yusuke Suzuki  <utatane.tea@gmail.com>
3443
3444         [JSC] Support optional catch binding
3445         https://bugs.webkit.org/show_bug.cgi?id=174981
3446
3447         Reviewed by Saam Barati.
3448
3449         Rebaseline existing tests.
3450
3451         * js/parser-syntax-check-expected.txt:
3452         * js/script-tests/parser-syntax-check.js:
3453         * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt:
3454         * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4.html:
3455
3456 2017-07-31  Per Arne Vollan  <pvollan@apple.com>
3457
3458         Many web-platform tests are slow on Windows.
3459
3460         Unreviewed test gardening, mark web-platform tests as slow.
3461
3462         * platform/win/TestExpectations:
3463
3464 2017-07-31  Ms2ger  <Ms2ger@igalia.com>
3465
3466         [GTK] Layout test fast/css/image-set-unprefixed.html is failing
3467         https://bugs.webkit.org/show_bug.cgi?id=163975
3468
3469         Reviewed by Žan Doberšek.
3470
3471         Remove obsolete expectation for image-set-unprefixed.html.
3472
3473         It appears to have started passing with the test change in r209543.
3474
3475         * platform/gtk/TestExpectations:
3476
3477 2017-07-31  Ms2ger  <Ms2ger@igalia.com>
3478
3479         [GTK] Layout Tests fast/dom/{Element,Range}/getClientRects.html are failing
3480         https://bugs.webkit.org/show_bug.cgi?id=141700
3481
3482         Reviewed by Sam Weinig.
3483
3484         Add gtk-specific expectations for getClientRects tests.
3485
3486         Since these expectations depend on text metrics, it is unsurprising that they
3487         are platform-dependent.
3488
3489         * platform/gtk/TestExpectations:
3490         * platform/gtk/fast/dom/Element/getClientRects-expected.txt: Added.
3491         * platform/gtk/fast/dom/Range/getClientRects-expected.txt:
3492
3493 2017-07-30  Darin Adler  <darin@apple.com>
3494
3495         Remove code in HTMLObjectElement attribute parsing that forces style resolution and layout
3496         https://bugs.webkit.org/show_bug.cgi?id=130653
3497
3498         Reviewed by Antti Koivisto.
3499
3500         * fast/text/international/embed-bidi-style-in-isolate-crash.html: Removed onerror attribute
3501         in the audio element in this test. The error event does fire during the test, which causes
3502         the test to fail. Before, the test was prematurely exiting before the load failed, preventing
3503         the test from failing, but also meaning we didn't finish running the test.
3504
3505         * imported/blink/fast/dom/Window/open-window-features-fuzz.html: Use waitUntilDone and
3506         notifyDone to prevent the test from exiting prematurely. Use a URL that won't trigger loading
3507         outside the web browser; the URL is not what mattered to this test. Before, the test was
3508         prematurely exiting before the test ran. Note also, that I don't think this is testing
3509         much effectively; not sure we are getting any benefit from this test since before it was
3510         not really running to completion anyway.
3511
3512         * media/event-queue-crash-expected.txt: Updated expectations to expect syntax error. Before
3513         there was a race and often the test exited before the syntax error could be logged.
3514
3515         * platform/mac/TestExpectations: Removed flakiness expectation from the
3516         media/event-queue-crash.html test. What made it flaky was a race with the load event,
3517         and that race should be fixed by the change to FrameLoader::checkLoadCompleteForThisFrame.
3518         The same race existed on all platforms, not just Mac, so this flakiness expectation should
3519         be in the main TextExpectations file if anywhere. But I believe it is not needed at all.
3520         For media/modern-media-controls/media-documents/background-color-and-centering.html,
3521         added image failure expectation because under modern WebKit on Mac the image now captures
3522         the upper left hand corner of the controls overlay. Still seems to pass on iOS and the bug