[iOS] Swatch appears squished and off-center in inputs of type color
[WebKit-https.git] / LayoutTests / ChangeLog
1 2018-11-05  Wenson Hsieh  <wenson_hsieh@apple.com>
2
3         [iOS] Swatch appears squished and off-center in inputs of type color
4         https://bugs.webkit.org/show_bug.cgi?id=191279
5         <rdar://problem/45816319>
6
7         Reviewed by Tim Horton.
8
9         * fast/forms/color/color-input-uses-color-well-appearance-expected-mismatch.html: Added.
10         * fast/forms/color/color-input-uses-color-well-appearance.html: Added.
11
12         Add a test to verify that setting `-webkit-appearance: textfield;` on a color input causes the color input to
13         render differently from a color input with a default appearance.
14
15         * platform/ios-wk1/TestExpectations:
16         * platform/ios/TestExpectations:
17
18         In the WebKit2 port of iOS, enable a handful of color input tests that are currently disabled.
19
20         * platform/ios/fast/forms/color/input-appearance-color-expected.txt:
21
22         Rebaseline an existing test on iOS.
23
24 2018-11-05  Eric Carlson  <eric.carlson@apple.com>
25
26         [MediaStream] An audio track should be muted when capture is interrupted by the OS.
27         https://bugs.webkit.org/show_bug.cgi?id=191283
28          <rdar://problem/45773103>
29
30         Reviewed by Jon Lee.
31
32         * fast/mediastream/media-stream-track-interrupted-expected.txt: Added.
33         * fast/mediastream/media-stream-track-interrupted.html: Added.
34
35 2018-11-05  Myles C. Maxfield  <mmaxfield@apple.com>
36
37         Parsing support for text-underline-offset and text-decoration-thickness
38         https://bugs.webkit.org/show_bug.cgi?id=191242
39
40         Reviewed by Simon Fraser.
41
42         * fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt:
43         * fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position.html: Update the
44         test for the new grammar of text-underline-position
45         * fast/css3-text/css3-text-decoration/text-decoration-thickness-parse-expected.txt: Added.
46         * fast/css3-text/css3-text-decoration/text-decoration-thickness-parse.html: Added.
47         * fast/css3-text/css3-text-decoration/text-underline-offset-parse-expected.txt: Added.
48         * fast/css3-text/css3-text-decoration/text-underline-offset-parse.html: Added.
49
50 2018-11-05  Myles C. Maxfield  <mmaxfield@apple.com>
51
52         Spelling dots are drawn in the wrong place
53         https://bugs.webkit.org/show_bug.cgi?id=190764
54
55         Reviewed by Dean Jackson.
56
57         * editing/spelling/resources/VerySmallDescentAhem.ttf: Added. In order to test repaint rects,
58               this is a version of Ahem with a very small descent, so that the dots don't intersect
59               with the text itself.
60         * editing/spelling/spelling-dots-position-2-expected-mismatch.html: Added.
61         * editing/spelling/spelling-dots-position-2.html: Added. Make sure dots are painted in the
62               correct vertical place.
63         * editing/spelling/spelling-dots-position-3-expected-mismatch.html: Added.
64         * editing/spelling/spelling-dots-position-3.html: Added. Make sure dots are painted in the
65               correct vertical place.
66         * editing/spelling/spelling-dots-position-expected.html: Added.
67         * editing/spelling/spelling-dots-position.html: Added. Make sure dots are not painted in
68               the wrong place.
69         * editing/spelling/spelling-dots-repaint-expected.html: Added.
70         * editing/spelling/spelling-dots-repaint.html: Added. Test repaint by drawing an element
71               with spelling dots, and then deleting the element from the document. The spelling
72               dots should be removed too.
73         * fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:
74         * fast/writing-mode/english-bt-text-with-spelling-marker.html: Update the test to compensate
75               for new spelling dot positions.
76
77 2018-11-05  Ryan Haddad  <ryanhaddad@apple.com>
78
79         Layout Test imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-tracks.https.html is flaky
80         https://bugs.webkit.org/show_bug.cgi?id=191278
81
82         Unreviewed test gardening.
83
84         * TestExpectations: Mark test as flaky.
85
86 2018-11-05  Chris Dumez  <cdumez@apple.com>
87
88         Crash under DOMWindow::postMessageTimerFired()
89         https://bugs.webkit.org/show_bug.cgi?id=191217
90         <rdar://problem/40888466>
91
92         Reviewed by Geoffrey Garen.
93
94         Add layout test coverage.
95
96         * fast/dom/Window/remove-frame-in-message-event-handler-expected.txt: Added.
97         * fast/dom/Window/remove-frame-in-message-event-handler.html: Added.
98
99 2018-11-05  Wenson Hsieh  <wenson_hsieh@apple.com>
100
101         [iOS] Changing view scale sometimes does not zoom the page to the new initial scale when the page is zoomed in when ignoring meta viewport
102         https://bugs.webkit.org/show_bug.cgi?id=191226
103         <rdar://problem/45781765>
104
105         Reviewed by Tim Horton.
106
107         Add a new layout test that sets the view scale to several values greater than or equal to 1 and verifies that
108         the minimum scale and resulting scroll view scale are exactly the same as the view scale, when (1) the "ignores
109         meta viewport" preference is enabled, and (2) the viewport is forced to be always scalable.
110
111         * fast/viewport/ios/minimum-scale-after-changing-view-scale-expected.txt: Added.
112         * fast/viewport/ios/minimum-scale-after-changing-view-scale.html: Added.
113
114 2018-11-05  Matt Baker  <mattbaker@apple.com>
115
116         Web Inspector: Table selection should not require that rows be in the cache
117         https://bugs.webkit.org/show_bug.cgi?id=190993
118         <rdar://problem/45613812>
119
120         Reviewed by Devin Rousso.
121
122         Add a test that a table row that is not in the cache can be selected/deselected.
123
124         * inspector/table/table-selection-expected.txt:
125         * inspector/table/table-selection.html:
126
127 2018-11-05  Devin Rousso  <drousso@apple.com>
128
129         Web Inspector: show save/restore stack for recorded 2D Canvases
130         https://bugs.webkit.org/show_bug.cgi?id=175283
131         <rdar://problem/34040756>
132
133         Reviewed by Matt Baker.
134
135         * inspector/canvas/recording-2d.html:
136         * inspector/canvas/resources/recording-utilities.js:
137         (TestPage.registerInitializer.log):
138         (TestPage.registerInitializer.async logRecording):
139
140 2018-11-05  Thibault Saunier  <tsaunier@igalia.com>
141
142         [GStreamer][WebRTC] Error out when simulcast is activated
143         https://bugs.webkit.org/show_bug.cgi?id=190678
144
145         Reviewed by Philippe Normand.
146
147         Implementing it is not for now yet.
148         Tests for simulcast have been disabled as they now fail (instead of crashing).
149
150         * platform/gtk/TestExpectations:
151         * platform/wpe/TestExpectations:
152
153 2018-11-05  Zan Dobersek  <zdobersek@igalia.com>
154
155         Unreviewed WPE gardening. Updating or adding various baselines. Also
156         adding new failure expectations for tests that need a closer look.
157
158         * platform/wpe/TestExpectations:
159         * platform/wpe/fast/block/basic/child-block-level-box-with-height-percent-expected.txt: Added.
160         * platform/wpe/fast/block/basic/height-percentage-simple-expected.txt: Added.
161         * platform/wpe/fast/block/basic/inline-content-with-floating-image-expected.txt: Added.
162         * platform/wpe/fast/block/basic/inline-content-with-floating-images2-expected.txt: Added.
163         * platform/wpe/fast/block/basic/quirk-mode-percent-height-expected.txt: Added.
164         * platform/wpe/fast/history: Added.
165         * platform/wpe/fast/history/page-cache-webdatabase-pending-transaction-expected.txt: Added.
166         * platform/wpe/fast/inline-block/14498-positionForCoordinates-expected.txt:
167         * platform/wpe/fast/inline/simple-inline-block-expected.txt: Added.
168         * platform/wpe/fast/inline/simple-intruding-float1-expected.txt: Added.
169         * platform/wpe/fast/inline/simple-intruding-floats2-expected.txt: Added.
170         * platform/wpe/fast/inline/simple-intruding-floats3-expected.txt: Added.
171         * platform/wpe/fast/inline/simple-shrink-to-fit-inline-block-expected.txt: Added.
172         * platform/wpe/webgl/2.0.0/conformance/canvas/drawingbuffer-test-expected.txt: Added.
173         * platform/wpe/webgl/2.0.0/conformance/context/context-attributes-alpha-depth-stencil-antialias-expected.txt:
174         * platform/wpe/webgl/2.0.0/conformance/context/context-hidden-alpha-expected.txt:
175         * platform/wpe/webgl/2.0.0/conformance/extensions/get-extension-expected.txt:
176         * platform/wpe/webgl/2.0.0/conformance/extensions/oes-texture-half-float-with-image-data-expected.txt: Added.
177         * platform/wpe/webgl/2.0.0/conformance/glsl/misc/shaders-with-invariance-expected.txt:
178         * platform/wpe/webgl/2.0.0/conformance/rendering/multisample-corruption-expected.txt:
179         * platform/wpe/webgl/2.0.0/conformance2/buffers/bound-buffer-size-change-test-expected.txt:
180         * platform/wpe/webgl/2.0.0/conformance2/extensions/promoted-extensions-in-shaders-expected.txt:
181
182 2018-11-04  Zalan Bujtas  <zalan@apple.com>
183
184         [LFC][BFC] Add support for percentage height in quirks mode.
185         https://bugs.webkit.org/show_bug.cgi?id=191232
186
187         Reviewed by Antti Koivisto.
188
189         * fast/block/basic/quirk-mode-percent-height-expected.txt: Added.
190         * fast/block/basic/quirk-mode-percent-height.html: Added.
191         * platform/ios/TestExpectations:
192
193 2018-11-04  Zalan Bujtas  <zalan@apple.com>
194
195         [LFC][BCF] Add support for block level non-replaced inflow height percentage
196         https://bugs.webkit.org/show_bug.cgi?id=191229
197
198         Reviewed by Antti Koivisto.
199
200         * fast/block/basic/child-block-level-box-with-height-percent-expected.txt: Added.
201         * fast/block/basic/child-block-level-box-with-height-percent.html: Added.
202         * platform/ios/TestExpectations:
203
204 2018-11-03  Devin Rousso  <drousso@apple.com>
205
206         Web Inspector: Canvas: capture changes to <canvas> that would affect the recorded context
207         https://bugs.webkit.org/show_bug.cgi?id=190854
208
209         Reviewed by Matt Baker.
210
211         * inspector/canvas/recording-2d-expected.txt:
212         * inspector/canvas/recording-2d.html:
213         * inspector/canvas/recording-bitmaprenderer-expected.txt:
214         * inspector/canvas/recording-bitmaprenderer.html:
215         * inspector/canvas/recording-webgl-expected.txt:
216         * inspector/canvas/recording-webgl.html:
217
218 2018-11-03  Andy Estes  <aestes@apple.com>
219
220         [Payment Request] PaymentResponse.retry()'s errorFields should be optional
221         https://bugs.webkit.org/show_bug.cgi?id=191212
222
223         Reviewed by Youenn Fablet.
224
225         * http/tests/paymentrequest/payment-response-retry-method.https-expected.txt:
226         * http/tests/paymentrequest/payment-response-retry-method.https.html:
227
228 2018-11-02  Zalan Bujtas  <zalan@apple.com>
229
230         [LFC][BFC] Resolve percentage height values.
231         https://bugs.webkit.org/show_bug.cgi?id=191224
232
233         Reviewed by Antti Koivisto.
234
235         * fast/block/basic/height-percentage-simple-expected.txt: Added.
236         * fast/block/basic/height-percentage-simple.html: Added.
237         * platform/ios/TestExpectations:
238
239 2018-11-03  Youenn Fablet  <youenn@apple.com>
240
241         Refresh WPT webrtc tests
242         https://bugs.webkit.org/show_bug.cgi?id=191133
243
244         Reviewed by Eric Carlson.
245
246         * TestExpectations:
247
248 2018-11-03  Eric Carlson  <eric.carlson@apple.com>
249
250         [MediaStream] enumerateDevices should not expose devices that are not available to getUserMedia
251         https://bugs.webkit.org/show_bug.cgi?id=191177
252         <rdar://problem/45747873>
253
254         Reviewed by Jer Noble.
255
256         * http/tests/media/media-stream/enumerate-devices-iframe-allow-attribute-expected.txt: Added.
257         * http/tests/media/media-stream/enumerate-devices-iframe-allow-attribute.html: Added.
258         * http/tests/media/media-stream/resources/enumerate-devices-iframe.html: Added.
259         * http/tests/ssl/media-stream/get-user-media-different-host-expected.txt: Rebased for updated logging.
260         * http/tests/ssl/media-stream/get-user-media-nested-expected.txt: Ditto.
261
262 2018-11-02  Justin Michaud  <justin_michaud@apple.com>
263
264         Add new global object and preliminary Worklets support for CSS painting api
265         https://bugs.webkit.org/show_bug.cgi?id=190979
266
267         Reviewed by Chris Dumez.
268
269         Add a new test harness for worklet tests, since they do not have access to the dom.
270
271         * fast/css-custom-paint/basic-expected.txt:
272         * fast/css-custom-paint/basic.html:
273         * fast/css-custom-paint/registerPaintBindings-expected.html: Added.
274         * fast/css-custom-paint/registerPaintBindings-expected.txt: Removed.
275         * fast/css-custom-paint/registerPaintBindings.html:
276         * fast/css-custom-paint/resources/testharness-worklet.js: Added.
277         (format_value):
278         * fast/css-custom-paint/resources/testharness.js: Added.
279         (async.importWorklet):
280         * fast/css-custom-paint/worklet-expected.html: Added.
281         * fast/css-custom-paint/worklet.html: Added.
282
283 2018-11-02  Chris Dumez  <cdumez@apple.com>
284
285         REGRESSION (r237699): Layout Test http/tests/security/anchor-download-block-crossorigin.html is a flaky failure
286         https://bugs.webkit.org/show_bug.cgi?id=191199
287
288         Reviewed by Dewei Zhu.
289
290         Navigate the subframe instead of the main frame, to make sure that the console message is consistently logged.
291
292         * http/tests/security/anchor-download-block-crossorigin-expected.txt:
293         * http/tests/security/anchor-download-block-crossorigin.html:
294
295 2018-11-02  Per Arne Vollan  <pvollan@apple.com>
296
297         [Win] Layout Test fast/block/basic/inline-content-with-floating-image.html is failing
298         https://bugs.webkit.org/show_bug.cgi?id=191194
299
300         Unreviewed test gardening.
301
302         * platform/win/TestExpectations:
303
304 2018-11-02  Wenson Hsieh  <wenson_hsieh@apple.com>
305
306         [iOS] Changing view scale sometimes does not zoom the page to the new initial scale, when the page is at initial scale
307         https://bugs.webkit.org/show_bug.cgi?id=191180
308         <rdar://problem/45744786>
309
310         Reviewed by Simon Fraser.
311
312         Add a layout test, and make some adjustments to UIHelper.
313
314         * fast/viewport/ios/constant-width-viewport-after-changing-view-scale.html:
315         * fast/viewport/ios/device-width-viewport-after-changing-view-scale.html:
316         * fast/viewport/ios/viewport-minimum-and-initial-scale-expected.txt: Added.
317         * fast/viewport/ios/viewport-minimum-and-initial-scale.html: Added.
318
319         Add a new layout test that contains a viewport meta tag with minimum and initial scales set to 0.94, and checks
320         that the resulting minimum and initial scales are 0.94 instead of 0.94158.
321
322         * fast/viewport/watchos/viewport-disable-extra-zoom-adaptations.html:
323         * resources/ui-helper.js:
324
325         Make UIHelper.zoomScale return a number rather than a string, and adjust a few call sites.
326
327         (window.UIHelper.zoomScale):
328         (window.UIHelper.minimumZoomScale):
329         (window.UIHelper):
330
331 2018-11-02  Daniel Bates  <dabates@apple.com>
332
333         [iOS] WebKit should dispatch DOM events when a modifier key is pressed
334         https://bugs.webkit.org/show_bug.cgi?id=190487
335
336         Reviewed by Tim Horton.
337
338         Update expected results of an existing test now that we identify modifier keys.
339
340         * fast/events/ios/keydown-keyup-special-keys-in-non-editable-element-expected.txt:
341
342 2018-11-02  Ali Juma  <ajuma@chromium.org>
343
344         Allow cross-document intersection observing
345         https://bugs.webkit.org/show_bug.cgi?id=165746
346
347         Reviewed by Simon Fraser.
348
349         Add a test that cross-document intersection observations are triggered when an intermediate frame
350         scrolls. Skip the test on WK1 platforms where IntersectionObserver is not supported.
351
352         Add platform-specific baselines for tests involving iframe scrolling, which isn't supported on iOS.
353
354         * http/tests/intersection-observer/intermediate-frame-changes-expected.txt: Added.
355         * http/tests/intersection-observer/intermediate-frame-changes.html: Added.
356         * http/tests/intersection-observer/resources/intermediate-frame.html: Added.
357         * http/tests/intersection-observer/resources/nested-frame.html: Added.
358         * platform/ios/imported/w3c/web-platform-tests/intersection-observer/cross-origin-iframe-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/intersection-observer/cross-origin-iframe-expected.txt.
359         * platform/ios/imported/w3c/web-platform-tests/intersection-observer/iframe-no-root-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/intersection-observer/iframe-no-root-expected.txt.
360         * platform/mac-wk1/TestExpectations:
361         * platform/win/TestExpectations:
362         * platform/wincairo/TestExpectations:
363
364 2018-11-02  Per Arne Vollan  <pvollan@apple.com>
365
366         [Win] Layout Test fast/block/basic/inline-content-with-floating-image.html is failing
367         https://bugs.webkit.org/show_bug.cgi?id=191194
368
369         Unreviewed test gardening.
370
371         * platform/win/TestExpectations:
372
373 2018-11-02  Zalan Bujtas  <zalan@apple.com>
374
375         [LFC][IFC] Add support for intrinsic width calculation
376         https://bugs.webkit.org/show_bug.cgi?id=191144
377
378         Reviewed by Antti Koivisto.
379
380         * fast/inline/simple-shrink-to-fit-inline-block-expected.txt: Added.
381         * fast/inline/simple-shrink-to-fit-inline-block.html: Added.
382         * platform/ios/TestExpectations:
383
384 2018-11-01  Philippe Normand  <pnormand@igalia.com>
385
386         [Apache] Self-signed SSL certificate RSA key is considered too weak
387         https://bugs.webkit.org/show_bug.cgi?id=191156
388
389         Reviewed by Michael Catanzaro.
390
391         Regenerate the self-signed SSL certificate with a 2048 bits RSA key.
392
393         * http/conf/webkit-httpd.pem:
394
395 2018-11-01  Antoine Quint  <graouts@apple.com>
396
397         [Web Animations] Make document.getAnimations() return declarative animations in the correct order
398         https://bugs.webkit.org/show_bug.cgi?id=191153
399
400         Reviewed by Dean Jackson.
401
402         Mark that the two document.getAnimations() tests for declarative animations are no longer flaky.
403
404         * TestExpectations:
405
406 2018-11-02  Justin Fan  <justin_fan@apple.com>
407
408         [WebGPU] Experimental prototype for MSL shaders
409         https://bugs.webkit.org/show_bug.cgi?id=191084
410
411         Reviewed by Dean Jackson.
412
413         * webgpu/shader-modules.html: Added.
414         * webgpu/shader-modules-expected.html: Added.
415         * webgpu/webgpu-basics.html: Added.
416         * webgpu/webgpu-basics-expected.html: Added.
417
418 2018-11-01  Devin Rousso  <drousso@apple.com>
419
420         Web Inspector: View: introduce a didLayoutSubtree
421         https://bugs.webkit.org/show_bug.cgi?id=191176
422
423         Reviewed by Matt Baker.
424
425         * inspector/view/resources/test-view.js:
426         (TestPage.registerInitializer.WI.TestView.prototype.layout):
427         (TestPage.registerInitializer.WI.TestView.prototype.didLayoutSubtree): Added.
428
429 2018-11-01  Chris Dumez  <cdumez@apple.com>
430
431         Location object sans browsing context
432         https://bugs.webkit.org/show_bug.cgi?id=191060
433
434         Reviewed by Geoffrey Garen.
435
436         Update existing tests to reflect behavior change.
437
438         * http/tests/dom/same-origin-detached-window-properties-expected.txt:
439         * http/tests/dom/same-origin-detached-window-properties.html:
440         * http/tests/security/xss-DENIED-script-inject-into-inactive-window.html:
441         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html:
442         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html:
443         * http/tests/security/xss-DENIED-script-inject-into-inactive-window3.html:
444
445 2018-11-01  Ross Kirsling  <ross.kirsling@sony.com>
446
447         [WinCairo] Unreviewed layout test gardening.
448
449         (Also remove one outdated global test failure.)
450
451         * TestExpectations:
452         * platform/wincairo/TestExpectations:
453
454 2018-11-01  Sihui Liu  <sihui_liu@apple.com>
455
456         Add a storage limit for IndexedDB
457         https://bugs.webkit.org/show_bug.cgi?id=190598
458         <rdar://problem/44654715>
459
460         Reviewed by Chris Dumez.
461
462         Some tests will fail after adding storage limit to IndexedDB, so we need to reduce their 
463         size and rebase their expectations.
464
465         * storage/indexeddb/key-type-array-expected.txt:
466         * storage/indexeddb/key-type-array-private-expected.txt:
467         * storage/indexeddb/modern/idbkey-array-equality-expected.txt:
468         * storage/indexeddb/modern/idbkey-array-equality-private-expected.txt:
469         * storage/indexeddb/modern/resources/idbkey-array-equality.js:
470         (request.onsuccess):
471         (request.onerror):
472         (doAdd):
473         * storage/indexeddb/prefetch-invalidation-expected.txt:
474         * storage/indexeddb/prefetch-invalidation-private-expected.txt:
475         * storage/indexeddb/resources/key-type-array.js:
476         (testValidArrayKeys.getreq.onsuccess):
477         (testValidArrayKeys.putreq.onsuccess):
478         (testValidArrayKeys.testArrayPutGet):
479         * storage/indexeddb/resources/prefetch-invalidation.js:
480         (cursorRequest.onsuccess):
481         (continue50Times):
482         (continue100Times): Deleted.
483         * storage/indexeddb/resources/storage-limit.js: Added.
484         (prepareDatabase):
485         (onOpenSuccess.request.onerror):
486         (onOpenSuccess.request.onsuccess):
487         (onOpenSuccess):
488         * storage/indexeddb/storage-limit-expected.txt: Added.
489         * storage/indexeddb/storage-limit.html: Added.
490
491 2018-11-01  Chris Dumez  <cdumez@apple.com>
492
493         Unreviewed, mark a couple of newly imported WPT tests as flaky on Mac WK1.
494
495         * platform/mac-wk1/TestExpectations:
496
497 2018-11-01  Justin Michaud  <justin_michaud@apple.com>
498
499         CSS Custom Properties API Should Support syntax="*" and "<length>", and handle cycles properly
500         https://bugs.webkit.org/show_bug.cgi?id=191042
501
502         Reviewed by Antti Koivisto.
503
504         * css-custom-properties-api/crash-expected.txt: Added.
505         * css-custom-properties-api/crash.html: Added.
506         * css-custom-properties-api/cycles-expected.txt: Added.
507         * css-custom-properties-api/cycles.html: Added.
508         * css-custom-properties-api/inline-expected.txt: Added.
509         * css-custom-properties-api/inline.html: Added.
510
511 2018-11-01  Guillaume Emont  <guijemont@igalia.com>
512
513         Skip tests on arm/mips that time out now we're running on CLoop
514
515         Unreviewed gardening.
516
517         Since the JIT is temporarily disabled on 32-bit platforms, these tests
518         time out on the bots and need to be disabled. There's more tests
519         disabled on arm because the timeout is longer on the mips bot (as the
520         device is slower to start with), so many of the tests don't time out
521         there.
522
523         * js/script-tests/regress-139548.js: disable on arm and mips.
524
525 2018-11-01  Devin Rousso  <drousso@apple.com>
526
527         Web Inspector: fix debug WK1 test failures for WI.ObjectStore
528         https://bugs.webkit.org/show_bug.cgi?id=191158
529
530         Reviewed by Joseph Pecoraro.
531
532         * inspector/unit-tests/objectStore/delete.html:
533         * inspector/unit-tests/objectStore/deleteObject.html:
534         * inspector/unit-tests/objectStore/resources/objectStore-utilities.js:
535         (TestPage.registerInitializer):
536
537 2018-11-01  Said Abou-Hallawa  <sabouhallawa@apple.com>
538
539         [CG] Adopt CG SPI for non-even cornered rounded rects
540         https://bugs.webkit.org/show_bug.cgi?id=190155
541
542         Reviewed by Simon Fraser.
543
544         This test fails on iOS simulator because of just one pixel difference
545         between drawing a shadow of the element and drawing a copy of the element.
546         This failure happens on iOS and does not happen on macOS because we don't 
547         use accelerated drawing for macOS testing but we use it for iOS testing.
548
549         * platform/ios/TestExpectations:
550
551 2018-11-01  Chris Dumez  <cdumez@apple.com>
552
553         [PSON] Unable to submit a file in FormData cross-site
554         https://bugs.webkit.org/show_bug.cgi?id=191138
555
556         Reviewed by Alex Christensen.
557
558         Add layout test coverage.
559
560         * http/tests/misc/form-submit-file-cross-site-expected.txt:
561         * http/tests/misc/form-submit-file-cross-site.html:
562
563 2018-11-01  Devin Rousso  <drousso@apple.com>
564
565         Unreviewed test fix after r237670.
566
567         * inspector/canvas/setRecordingAutoCaptureFrameCount-expected.txt:
568         * inspector/canvas/setRecordingAutoCaptureFrameCount.html:
569         Make the `CanvasAdded` event listener synchronous, so it won't miss the `RecordingStarted`
570         or `RecordingStopped` events, since `awaitEvent` evaluates on the next tick.
571
572 2018-10-31  Zalan Bujtas  <zalan@apple.com>
573
574         [LFC][IFC] Add support for inline-block elements.
575         https://bugs.webkit.org/show_bug.cgi?id=191143
576
577         Reviewed by Antti Koivisto.
578
579         * fast/inline/simple-inline-block-expected.txt: Added.
580         * fast/inline/simple-inline-block.html: Added.
581         * platform/ios/TestExpectations:
582
583 2018-11-01  YUHAN WU  <yuhan_wu@apple.com>
584
585         MediaRecorder should fire dataavailable event when all tracks are ended and stop() is called
586         https://bugs.webkit.org/show_bug.cgi?id=190778
587         <rdar://problem/45703574>
588
589         Reviewed by Youenn Fablet.
590
591         Remove share FileReader object between three asynchronous tests which might cause flaky failure.
592         We will need to fix all the falky failures in this test after we implement timeslice.
593
594         * http/wpt/mediarecorder/MediaRecorder-mock-dataavailable.html:
595
596 2018-10-31  Devin Rousso  <drousso@apple.com>
597
598         Web Inspector: Canvas: create a setting for auto-recording newly created contexts
599         https://bugs.webkit.org/show_bug.cgi?id=190856
600
601         Reviewed by Brian Burg.
602
603         * inspector/canvas/resources/recording-utilities.js:
604         (TestPage.registerInitializer.window.startRecording):
605         (TestPage.registerInitializer.handleRecordingProgress):
606         * inspector/canvas/recording-2d.html:
607         * inspector/canvas/recording-bitmaprenderer.html:
608         * inspector/canvas/recording-webgl-snapshots.html:
609         * inspector/canvas/recording-webgl.html:
610
611         * inspector/canvas/setRecordingAutoCaptureFrameCount-expected.txt: Added.
612         * inspector/canvas/setRecordingAutoCaptureFrameCount.html: Added.
613
614 2018-10-31  Devin Rousso  <drousso@apple.com>
615
616         Web Inspector: Audit: save imported audits across WebInspector sessions
617         https://bugs.webkit.org/show_bug.cgi?id=190858
618         <rdar://problem/45527625>
619
620         Reviewed by Brian Burg.
621
622         * inspector/unit-tests/objectStore/add-expected.txt: Added.
623         * inspector/unit-tests/objectStore/add.html: Added.
624         * inspector/unit-tests/objectStore/addObject-expected.txt: Added.
625         * inspector/unit-tests/objectStore/addObject.html: Added.
626         * inspector/unit-tests/objectStore/basic-expected.txt: Added.
627         * inspector/unit-tests/objectStore/basic.html: Added.
628         * inspector/unit-tests/objectStore/delete-expected.txt: Added.
629         * inspector/unit-tests/objectStore/delete.html: Added.
630         * inspector/unit-tests/objectStore/deleteObject-expected.txt: Added.
631         * inspector/unit-tests/objectStore/deleteObject.html: Added.
632         * inspector/unit-tests/objectStore/resources/objectStore-utilities.js: Added.
633         (TestPage.registerInitializer.InspectorTest.ObjectStore.TestObject):
634         (TestPage.registerInitializer.InspectorTest.ObjectStore.TestObject.prototype.toJSON):
635         (TestPage.registerInitializer.InspectorTest.ObjectStore.createSuite):
636         (TestPage.registerInitializer.InspectorTest.ObjectStore.createObjectStore):
637         (TestPage.registerInitializer.InspectorTest.ObjectStore.add):
638         (TestPage.registerInitializer.InspectorTest.ObjectStore.addObject):
639         (TestPage.registerInitializer.InspectorTest.ObjectStore.delete):
640         (TestPage.registerInitializer.InspectorTest.ObjectStore.deleteObject):
641         (TestPage.registerInitializer.InspectorTest.ObjectStore.logValues):
642         (TestPage.registerInitializer.InspectorTest.ObjectStore.wrapTest):
643
644 2018-10-31  Alicia Boya García  <aboya@igalia.com>
645
646         [MSE] Use tolerance when growing the coded frame group
647         https://bugs.webkit.org/show_bug.cgi?id=190085
648
649         Reviewed by Jer Noble.
650
651         A test simulating unordered appends with imprecise timestamps,
652         overlapping <1ms (replicating a typical WebM 30fps video file) is
653         added.
654
655         * media/media-source/media-source-append-acb-tolerance.html: Added.
656
657 2018-10-31  Devin Rousso  <drousso@apple.com>
658
659         Web Inspector: Audit: attempt to re-link DOM nodes for imported results
660         https://bugs.webkit.org/show_bug.cgi?id=191044
661         <rdar://problem/45687364>
662
663         Reviewed by Brian Burg.
664
665         * inspector/model/auditTestCase.html:
666         * inspector/model/auditTestCaseResult.html:
667         * inspector/model/auditTestGroup.html:
668         * inspector/model/auditTestGroupResult.html:
669
670 2018-10-31  Jer Noble  <jer.noble@apple.com>
671
672         MediaSource.isTypeSupported('video/mp4; codecs="hvc1.1.6.L60.B0') is inproperly rejected
673         https://bugs.webkit.org/show_bug.cgi?id=191129
674
675         Reviewed by Eric Carlson.
676
677         * media/media-source/media-source-istypesupported-case-sensitive-expected.txt: Added.
678         * media/media-source/media-source-istypesupported-case-sensitive.html: Added.
679
680 2018-10-31  Alicia Boya García  <aboya@igalia.com>
681
682         [MSE] WebKit tests: Use fixed point in makeASample()
683         https://bugs.webkit.org/show_bug.cgi?id=191128
684
685         Reviewed by Jer Noble.
686
687         This patch modifies the utility function makeASample() so as to accept
688         time values in arbitrary time scales.
689
690         Previously makeASample() accepted optionally a time scale, but still
691         required to receive all time values as seconds, therefore requiring a
692         division at call time in order to use the function, which could cause
693         rounding errors (see https://bugs.webkit.org/show_bug.cgi?id=190085#c20).
694
695         * media/media-source/media-source-append-acb-no-frame-lost-expected.txt:
696         * media/media-source/media-source-append-acb-no-frame-lost.html:
697         * media/media-source/media-source-append-buffer-with-append-window.html:
698         * media/media-source/media-source-append-media-segment-without-init.html:
699         * media/media-source/media-source-append-nonsync-sample-after-abort.html:
700         * media/media-source/media-source-append-out-of-order.html:
701         * media/media-source/media-source-append-overlapping-dts-expected.txt:
702         * media/media-source/media-source-append-overlapping-dts.html:
703         * media/media-source/media-source-canplaythrough.html:
704         * media/media-source/media-source-duplicate-seeked.html:
705         * media/media-source/media-source-duration-after-append.html:
706         * media/media-source/media-source-end-of-stream-buffered.html:
707         * media/media-source/media-source-end-of-stream-readyState.html:
708         * media/media-source/media-source-fastseek.html:
709         * media/media-source/media-source-fudge-factor.html:
710         * media/media-source/media-source-monitor-source-buffers.html:
711         * media/media-source/media-source-overlapping-append-buffered.html:
712         * media/media-source/media-source-overlapping-append-expected.txt:
713         * media/media-source/media-source-overlapping-append.html:
714         * media/media-source/media-source-overlapping-decodetime-expected.txt:
715         * media/media-source/media-source-overlapping-decodetime.html:
716         * media/media-source/media-source-play.html:
717         * media/media-source/media-source-range-end-frame-not-removed-expected.txt:
718         * media/media-source/media-source-range-end-frame-not-removed.html:
719         * media/media-source/media-source-range-start-frame-replaced-expected.txt:
720         * media/media-source/media-source-range-start-frame-replaced.html:
721         * media/media-source/media-source-remove-decodeorder-crash.html:
722         * media/media-source/media-source-remove-too-much.html:
723         * media/media-source/media-source-remove.html:
724         * media/media-source/media-source-restrictions.html:
725         * media/media-source/media-source-sample-wrong-track-id.html:
726         * media/media-source/media-source-seek-back-expected.txt:
727         * media/media-source/media-source-seek-back.html:
728         * media/media-source/media-source-seek-complete.html:
729         * media/media-source/media-source-sequence-timestamps-expected.txt:
730         * media/media-source/media-source-sequence-timestamps.html:
731         * media/media-source/media-source-small-gap.html:
732         * media/media-source/media-source-timeoffset-expected.txt:
733         * media/media-source/media-source-timeoffset.html:
734         * media/media-source/media-source-timestampoffset-rounding-error.html:
735         * media/media-source/media-source-timestampoffset-then-zero-expected.txt:
736         * media/media-source/media-source-timestampoffset-then-zero.html:
737         * media/media-source/media-source-video-playback-quality.html:
738         * media/media-source/mock-media-source.js:
739         (makeASample):
740
741 2018-10-31  YUHAN WU  <yuhan_wu@apple.com>
742
743         MediaRecorder should fire dataavailable event when all tracks are ended and stop() is called
744         https://bugs.webkit.org/show_bug.cgi?id=190778
745         <rdar://problem/45703574>
746
747         Reviewed by Youenn Fablet.
748
749         Increase the timer of recording to 2 seconds until we support timeslice in order to reduce flakiness.
750
751         * http/wpt/mediarecorder/MediaRecorder-dataavailable.html:
752         * http/wpt/mediarecorder/MediaRecorder-mock-dataavailable.html:
753
754 2018-10-31  Zach Li  <zacharyli323@gmail.com>
755
756         Add credit card autofill button
757         https://bugs.webkit.org/show_bug.cgi?id=191051
758         <rdar://problem/45657011>
759
760         Reviewed by Wenson Hsieh.
761
762         * fast/forms/auto-fill-button/input-credit-card-auto-fill-button-expected.txt: Added.
763         * fast/forms/auto-fill-button/input-credit-card-auto-fill-button.html: Added.
764         * fast/forms/auto-fill-button/last-auto-fill-button-type-expected.txt:
765         * fast/forms/auto-fill-button/last-auto-fill-button-type.html:
766         * platform/ios-simulator/fast/forms/auto-fill-button/input-credit-card-auto-fill-button-expected.txt: Added.
767         * platform/mac/fast/forms/auto-fill-button/input-credit-card-auto-fill-button-expected.png: Added.
768         * platform/win/fast/forms/auto-fill-button/input-credit-card-auto-fill-button-expected.txt: Added.
769
770 2018-10-31  Devin Rousso  <drousso@apple.com>
771
772         Web Inspector: Audit: show metadata for results
773         https://bugs.webkit.org/show_bug.cgi?id=190853
774         <rdar://problem/45527623>
775
776         Reviewed by Brian Burg.
777
778         * inspector/model/auditTestCaseResult-expected.txt:
779         * inspector/model/auditTestCaseResult.html:
780         * inspector/model/auditTestGroupResult-expected.txt:
781         * inspector/model/auditTestGroupResult.html:
782         * inspector/unit-tests/string-utilities-expected.txt:
783         * inspector/unit-tests/string-utilities.html:
784
785 2018-10-31  Eric Carlson  <eric.carlson@apple.com>
786
787         [MediaStream] Don't reveal device IDs until the user has granted permission to capture
788         https://bugs.webkit.org/show_bug.cgi?id=191112
789         <rdar://problem/45699932>
790
791         Reviewed by Youenn Fablet.
792
793         * TestExpectations: Skip http/tests/media/media-stream/enumerate-devices-source-id-persistent.html
794         and http/tests/media/media-stream/enumerate-devices-source-id.html for now, they don't make sense
795         with these changes and will be updated to pass in a future patch.
796         * fast/mediastream/MediaStreamTrack-getCapabilities.html:
797         * fast/mediastream/get-user-media-device-id-expected.txt:
798         * fast/mediastream/get-user-media-device-id.html:
799
800 2018-10-31  YUHAN WU  <yuhan_wu@apple.com>
801
802         MediaRecorder should fire dataavailable event when all tracks are ended and stop() is called
803         https://bugs.webkit.org/show_bug.cgi?id=190778
804
805         Reviewed by Youenn Fablet.
806
807         These tests are used to check if MediaRecorder can generate both video and audio buffers through mock source.
808
809         * http/wpt/mediarecorder/MediaRecorder-dataavailable-expected.txt: Added.
810         * http/wpt/mediarecorder/MediaRecorder-dataavailable.html: Added.
811         * http/wpt/mediarecorder/MediaRecorder-mock-dataavailable-expected.txt: Added.
812         * http/wpt/mediarecorder/MediaRecorder-mock-dataavailable.html: Added.
813         * platform/win/TestExpectations:
814
815 2018-10-31  Chris Dumez  <cdumez@apple.com>
816
817         [PSON] When process-swapping for a POST request the HTTP body gets dropped
818         https://bugs.webkit.org/show_bug.cgi?id=191046
819         <rdar://problem/45229732>
820
821         Reviewed by Alex Christensen.
822
823         Add layout test coverage.
824
825         * http/tests/misc/form-post-textplain-cross-site-expected.txt: Added.
826         * http/tests/misc/form-post-textplain-cross-site.html: Added.
827
828 2018-10-30  David Kilzer  <ddkilzer@apple.com>
829
830         XSLTProcessor should limit max transform depth
831         <https://webkit.org/b/191075>
832         <rdar://problem/45531453>
833
834         Reviewed by Alex Christensen.
835
836         * fast/xsl/xslt-max-depth-expected.txt: Added.
837         * fast/xsl/xslt-max-depth.html: Added.
838
839 2018-10-30  Devin Rousso  <drousso@apple.com>
840
841         Web Inspector: Audit: create Audit Tab
842         https://bugs.webkit.org/show_bug.cgi?id=190754
843
844         Reviewed by Matt Baker.
845
846         * inspector/audit/resources/audit-utilities.js: Added.
847         * inspector/audit/basic-expected.txt: Added.
848         * inspector/audit/basic.html: Added.
849         * inspector/audit/data-domAttributes-expected.txt: Added.
850         * inspector/audit/data-domAttributes.html: Added.
851         * inspector/audit/data-domNodes-expected.txt: Added.
852         * inspector/audit/data-domNodes.html: Added.
853         * inspector/audit/data-errors-expected.txt: Added.
854         * inspector/audit/data-errors.html: Added.
855         * inspector/model/auditTestCase-expected.txt: Added.
856         * inspector/model/auditTestCase.html: Added.
857         * inspector/model/auditTestCaseResult-expected.txt: Added.
858         * inspector/model/auditTestCaseResult.html: Added.
859         * inspector/model/auditTestGroup-expected.txt: Added.
860         * inspector/model/auditTestGroup.html: Added.
861         * inspector/model/auditTestGroupResult-expected.txt: Added.
862         * inspector/model/auditTestGroupResult.html: Added.
863         * inspector/unit-tests/promise-utilities-expected.txt: Added.
864         * inspector/unit-tests/promise-utilities.html: Added.
865
866         * inspector/audit/audit-manager-expected.txt: Removed.
867         * inspector/audit/audit-manager.html: Removed.
868         * inspector/audit/audit-report-expected.txt: Removed.
869         * inspector/audit/audit-report.html: Removed.
870         * inspector/audit/audit-test-case-expected.txt: Removed.
871         * inspector/audit/audit-test-case.html: Removed.
872         * inspector/audit/audit-test-suite-expected.txt: Removed.
873         * inspector/audit/audit-test-suite.html: Removed.
874         * inspector/audit/resources/audit-test-fixtures.js: Removed.
875
876 2018-10-30  Dawei Fenton  <realdawei@apple.com>
877
878         WebGL conformance: Failures and Timeouts in suite 2.0.0/conformance
879         https://bugs.webkit.org/show_bug.cgi?id=189641
880
881         Unreviewed.
882
883         * platform/ios-wk2/TestExpectations: Mark test as [ Slow ]
884
885 2018-10-30  Devin Rousso  <drousso@apple.com>
886
887         Web Inspector: provide options to WI.cssPath for more verbosity
888         https://bugs.webkit.org/show_bug.cgi?id=190987
889
890         Reviewed by Brian Burg.
891
892         * inspector/dom/domutilities-csspath.html:
893
894 2018-10-30  Ali Juma  <ajuma@chromium.org>
895
896         Calling window.open("", "_self") allows working around restrictions on window.close()
897         https://bugs.webkit.org/show_bug.cgi?id=191073
898
899         Reviewed by Chris Dumez.
900
901         * fast/dom/Window/window-open-self-disallow-close-expected.txt: Added.
902         * fast/dom/Window/window-open-self-disallow-close.html: Added.
903
904 2018-10-30  Andy Estes  <aestes@apple.com>
905
906         [Payment Request] Implement PaymentResponse.retry()
907         https://bugs.webkit.org/show_bug.cgi?id=190985
908
909         Reviewed by Daniel Bates
910
911         * http/tests/paymentrequest/payment-address-attributes-and-toJSON-method.https.html:
912         * http/tests/paymentrequest/payment-response-complete-method.https.html:
913         * http/tests/paymentrequest/payment-response-methodName-attribute.https.html:
914         * http/tests/paymentrequest/payment-response-payerEmail-attribute.https.html:
915         * http/tests/paymentrequest/payment-response-payerName-attribute.https.html:
916         * http/tests/paymentrequest/payment-response-payerPhone-attribute.https.html:
917         * http/tests/paymentrequest/payment-response-rejects-if-not-active.https-expected.txt: Added.
918         * http/tests/paymentrequest/payment-response-rejects-if-not-active.https.html: Copied from
919         imported/w3c/web-platform-tests/payment-request/payment-response/rejects_if_not_active-manual.https.html
920         and automated using internals.mockPaymentCoordinator.
921         * http/tests/paymentrequest/payment-response-retry-method.https-expected.txt: Added.
922         * http/tests/paymentrequest/payment-response-retry-method.https.html: Copied from
923         imported/w3c/web-platform-tests/payment-request/payment-response/retry-method-manual.https.html
924         and automated using internals.mockPaymentCoordinator.
925         * http/tests/paymentrequest/resources/helpers.js:
926         (setUpAndSmokeTest):
927
928 2018-10-30  Andy Estes  <aestes@apple.com>
929
930         [Apple Pay] PaymentRequest.canMakePayment() should resolve to true whenever Apple Pay is available
931         https://bugs.webkit.org/show_bug.cgi?id=191039
932
933         Reviewed by Megan Gardner.
934
935         * http/tests/paymentrequest/payment-request-canmakepayment-method.https-expected.txt:
936         * http/tests/paymentrequest/payment-request-canmakepayment-method.https.html:
937
938 2018-10-30  Dawei Fenton  <realdawei@apple.com>
939
940         [ Mojave Debug ] Layout Test http/tests/workers/service/self_registration.html is flaky
941         https://bugs.webkit.org/show_bug.cgi?id=190828
942
943         Unreviewed.
944
945         * platform/mac-wk2/TestExpectations: Mark test as flay.
946
947 2018-10-30  Sihui Liu  <sihui_liu@apple.com>
948
949         Add a deprecation warning to console for Web SQL
950         https://bugs.webkit.org/show_bug.cgi?id=190936
951
952         Reviewed by Ryosuke Niwa.
953
954         Rebaseline the tests that are affected by the added console message.
955
956         * fast/dom/MutationObserver/database-callback-delivery-expected.txt:
957         * fast/frames/sandboxed-iframe-storage-expected.txt:
958         * fast/history/page-cache-webdatabase-no-transaction-db-expected.txt:
959         * http/tests/security/cross-origin-websql-allowed-expected.txt:
960         * http/tests/security/cross-origin-websql-expected.txt:
961         * http/tests/security/same-origin-websql-blocked-expected.txt:
962         * http/tests/security/storage-blocking-loosened-websql-expected.txt:
963         * http/tests/security/storage-blocking-strengthened-websql-expected.txt:
964         * http/tests/storage/callbacks-are-called-in-correct-context-expected.txt:
965         * inspector/runtime/CommandLineAPI-inspect-expected.txt:
966         * js/dom/callback-function-with-handle-event-expected.txt:
967         * js/dom/exceptions-thrown-in-callbacks-expected.txt:
968         * storage/websql/alter-to-info-table-expected.txt:
969         * storage/websql/change-version-expected.txt:
970         * storage/websql/change-version-handle-reuse-expected.txt:
971         * storage/websql/change-version-no-crash-on-preflight-failure-expected.txt:
972         * storage/websql/close-during-stress-test-expected.txt:
973         * storage/websql/database-lock-after-reload-expected.txt:
974         * storage/websql/empty-statement-expected.txt:
975         * storage/websql/execute-sql-args-expected.txt:
976         * storage/websql/execute-sql-rowsAffected-expected.txt:
977         * storage/websql/executesql-accepts-only-one-statement-expected.txt:
978         * storage/websql/hash-change-with-xhr-expected.txt:
979         * storage/websql/multiple-databases-garbage-collection-expected.txt:
980         * storage/websql/multiple-transactions-expected.txt:
981         * storage/websql/multiple-transactions-on-different-handles-expected.txt:
982         * storage/websql/null-callbacks-expected.txt:
983         * storage/websql/open-database-creation-callback-expected.txt:
984         * storage/websql/open-database-creation-callback-isolated-world-expected.txt:
985         * storage/websql/open-database-empty-version-expected.txt:
986         * storage/websql/open-database-expand-quota-expected.txt:
987         * storage/websql/open-database-over-quota-expected.txt:
988         * storage/websql/open-database-set-empty-version-expected.txt:
989         * storage/websql/open-database-while-transaction-in-progress-expected.txt:
990         * storage/websql/private-browsing-noread-nowrite-expected.txt:
991         * storage/websql/read-and-write-transactions-dont-run-together-expected.txt:
992         * storage/websql/read-transactions-running-concurrently-expected.txt:
993         * storage/websql/sql-data-types-expected.txt:
994         * storage/websql/statement-error-callback-expected.txt:
995         * storage/websql/statement-error-callback-isolated-world-expected.txt:
996         * storage/websql/statement-success-callback-isolated-world-expected.txt:
997         * storage/websql/success-callback-expected.txt:
998         * storage/websql/success-callback-when-page-defers-loading-expected.txt:
999         * storage/websql/test-authorizer-expected.txt:
1000         * storage/websql/transaction-callback-exception-crash-expected.txt:
1001         * storage/websql/transaction-callback-isolated-world-expected.txt:
1002         * storage/websql/transaction-database-expand-quota-expected.txt:
1003         * storage/websql/transaction-error-callback-expected.txt:
1004         * storage/websql/transaction-error-callback-isolated-world-expected.txt:
1005         * storage/websql/transaction-prototype-expected.txt:
1006         * storage/websql/transaction-success-callback-isolated-world-expected.txt:
1007
1008 2018-10-30  Sihui Liu  <sihui_liu@apple.com>
1009
1010         IndexedDB: iteration of cursors skip records if updated or deleted
1011         https://bugs.webkit.org/show_bug.cgi?id=190917
1012         <rdar://problem/35250410>
1013
1014         Reviewed by Chris Dumez.
1015
1016         * storage/indexeddb/cursor-update-while-iterating-expected.txt: Added.
1017         * storage/indexeddb/cursor-update-while-iterating.html: Added.
1018         * storage/indexeddb/resources/cursor-update-while-iterating.js: Added.
1019         (prepareDatabase):
1020         (onOpenSuccess.request.onsuccess):
1021         (onOpenSuccess):
1022
1023 2018-10-28  Antoine Quint  <graouts@apple.com>
1024
1025         [Web Animations] Implement the update animations and send events procedure
1026         https://bugs.webkit.org/show_bug.cgi?id=191013
1027         <rdar://problem/45620495>
1028
1029         Reviewed by Dean Jackson.
1030
1031         Several tests that broke when turning Web Animations CSS Integration on by default are now passing. In the case of one test, we had to ensure
1032         that the final animation frame had been committed before terminating the test or there would be a tiny image reference issue.
1033
1034         * TestExpectations:
1035         * fast/layers/no-clipping-overflow-hidden-added-after-transform.html:
1036
1037 2018-10-30  Youenn Fablet  <youenn@apple.com>
1038
1039         LibWebRTCRtpReceiverBackend::getSynchronizationSources should use Vector::append
1040         https://bugs.webkit.org/show_bug.cgi?id=191026
1041
1042         Reviewed by Eric Carlson.
1043
1044         * webrtc/video-addTransceiver-expected.txt:
1045         * webrtc/video-addTransceiver.html:
1046
1047 2018-10-29  Devin Rousso  <drousso@apple.com>
1048
1049         Web Inspector: refactor code for getting properties via WI.RemoteObject
1050         https://bugs.webkit.org/show_bug.cgi?id=190989
1051
1052         Reviewed by Matt Baker.
1053
1054         * http/tests/inspector/paymentrequest/payment-request-internal-properties.https.html:
1055         * inspector/debugger/breakpoint-scope.html:
1056         * inspector/debugger/paused-scopes.html:
1057         * inspector/debugger/tail-deleted-frames-from-vm-entry.html:
1058         * inspector/debugger/tail-deleted-frames.html:
1059         * inspector/debugger/tail-recursion.html:
1060         * inspector/model/remote-object-fake-object.html:
1061         * inspector/model/remote-object-get-properties.html:
1062
1063 2018-10-29  Justin Michaud  <justin_michaud@apple.com>
1064
1065         Revert r237347 registered custom properties... https://bugs.webkit.org/show_bug.cgi?id=190039
1066         https://bugs.webkit.org/show_bug.cgi?id=190919
1067
1068         Reviewed by Michael Saboff.
1069
1070         * css-custom-properties-api/crash-expected.txt: Removed.
1071         * css-custom-properties-api/crash.html: Removed.
1072         * css-custom-properties-api/cycles-expected.txt: Removed.
1073         * css-custom-properties-api/cycles.html: Removed.
1074         * css-custom-properties-api/inline-expected.txt: Removed.
1075         * css-custom-properties-api/inline.html: Removed.
1076
1077 2018-10-29  Matt Lewis  <jlewis3@apple.com>
1078
1079         Marked http/tests/misc/large-js-program.php as a flaky timeout.
1080         https://bugs.webkit.org/show_bug.cgi?id=190724
1081
1082         Unreviewed test gardening.
1083
1084         * platform/mac/TestExpectations:
1085
1086 2018-10-29  Youenn Fablet  <youenn@apple.com>
1087
1088         Handle MDNS resolution of candidates through libwebrtc directly
1089         https://bugs.webkit.org/show_bug.cgi?id=190681
1090
1091         Reviewed by Eric Carlson.
1092
1093         * TestExpectations:
1094         Test should no longer be flaky as we no longer enforce a timer for resolving MDNS candidates.
1095
1096 2018-10-29  Tim Horton  <timothy_horton@apple.com>
1097
1098         Modernize WebKit nibs and lprojs for localization's sake
1099         https://bugs.webkit.org/show_bug.cgi?id=190911
1100         <rdar://problem/45349466>
1101
1102         Reviewed by Dan Bernstein.
1103
1104         * media/modern-media-controls/localized-strings/replaced-string.html:
1105         English->en
1106
1107 2018-10-29  Youenn Fablet  <youenn@apple.com>
1108
1109         Invalid ssrc value in the stats of type 'inbound-rtp'
1110         https://bugs.webkit.org/show_bug.cgi?id=190826
1111         <rdar://problem/45487435>
1112
1113         Reviewed by Eric Carlson.
1114
1115         * webrtc/video-mediastreamtrack-stats.html:
1116         * webrtc/video-stats-expected.txt:
1117         * webrtc/video-stats.html:
1118
1119 2018-10-29  Ali Juma  <ajuma@chromium.org>
1120
1121         Unreviewed test gardening
1122         https://bugs.webkit.org/show_bug.cgi?id=191002
1123
1124         Make expectations for IntersectionObserver WPTs more specific.
1125
1126         * TestExpectations:
1127         * platform/gtk/TestExpectations:
1128         * platform/mac-wk2/TestExpectations:
1129
1130 2018-10-29  Zalan Bujtas  <zalan@apple.com>
1131
1132         [LFC][IFC] Compute estimated margin top for inline formatting root's ancestors
1133         https://bugs.webkit.org/show_bug.cgi?id=191018
1134
1135         Reviewed by Antti Koivisto.
1136
1137         * fast/inline/simple-intruding-floats3-expected.txt: Added.
1138         * fast/inline/simple-intruding-floats3.html: Added.
1139         * platform/ios/TestExpectations:
1140
1141 2018-10-29  Zalan Bujtas  <zalan@apple.com>
1142
1143         [LFC] Add support for inflow non replaced content height when the box is an inline formatting root.
1144         https://bugs.webkit.org/show_bug.cgi?id=191011
1145
1146         Reviewed by Antti Koivisto.
1147
1148         * fast/inline/simple-intruding-floats2-expected.txt: Added.
1149         * fast/inline/simple-intruding-floats2.html: Added.
1150         * platform/ios/TestExpectations:
1151
1152 2018-10-29  Zalan Bujtas  <zalan@apple.com>
1153
1154         Missing from r237549
1155
1156         Reviewed by Antti Koivisto.
1157
1158         * platform/ios/TestExpectations:
1159
1160 2018-10-29  Zalan Bujtas  <zalan@apple.com>
1161
1162         [LFC][IFC] Add support for simple intruding floats.
1163         https://bugs.webkit.org/show_bug.cgi?id=190998
1164
1165         Reviewed by Antti Koivisto.
1166
1167         * fast/inline/simple-intruding-float1-expected.txt: Added.
1168         * fast/inline/simple-intruding-float1.html: Added.
1169         * platform/ios/TestExpectations:
1170
1171 2018-10-29  Zalan Bujtas  <zalan@apple.com>
1172
1173         [LFC][IFC] Inline layout produces separate runs when float is present.
1174         https://bugs.webkit.org/show_bug.cgi?id=190980
1175
1176         Reviewed by Antti Koivisto.
1177
1178         * fast/block/basic/inline-content-with-floating-images2-expected.txt: Added.
1179         * fast/block/basic/inline-content-with-floating-images2.html: Added.
1180         * platform/ios/TestExpectations:
1181
1182 2018-10-29  Tadeu Zagallo  <tzagallo@apple.com>
1183
1184         New bytecode format for JSC
1185         https://bugs.webkit.org/show_bug.cgi?id=187373
1186         <rdar://problem/44186758>
1187
1188         Reviewed by Filip Pizlo.
1189
1190         Don't use recursion on `equal` to avoid premature stack overflows when testing deep arrays.
1191
1192         * fast/dom/Window/resources/postmessage-test.js:
1193
1194 2018-10-28  Michael Catanzaro  <mcatanzaro@igalia.com>
1195
1196         Unreviewed, one more GTK expectations fix
1197
1198         * platform/gtk/inspector/canvas/recording-bitmaprenderer-expected.txt:
1199
1200 2018-10-28  Michael Catanzaro  <mcatanzaro@igalia.com>
1201
1202         Unreviewed, fix a few more expectations from yesterday
1203
1204         These should be timeouts!
1205
1206         * platform/gtk/TestExpectations:
1207
1208 2018-10-28  Michael Catanzaro  <mcatanzaro@igalia.com>
1209
1210         Unreviewed, attempt to fix missing trailing whitespace in new expectations
1211
1212         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt:
1213         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt:
1214         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt:
1215
1216 2018-10-27  Michael Catanzaro  <mcatanzaro@igalia.com>
1217
1218         Unreviewed, fix content added by a stray Ctrl+V
1219
1220         * platform/gtk/TestExpectations:
1221
1222 2018-10-27  Michael Catanzaro  <mcatanzaro@igalia.com>
1223
1224         Unreviewed GTK test gardening
1225
1226         * TestExpectations:
1227         * platform/gtk/TestExpectations:
1228         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt: Added.
1229         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt: Added.
1230         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt: Added.
1231         * platform/gtk/inspector/canvas/recording-bitmaprenderer-expected.txt: Added.
1232
1233 2018-10-27  Matt Baker  <mattbaker@apple.com>
1234
1235         Web Inspector: Table should support deleting rows
1236         https://bugs.webkit.org/show_bug.cgi?id=189803
1237         <rdar://problem/44655709>
1238
1239         Reviewed by Devin Rousso.
1240
1241         * inspector/table/resources/table-utilities.js:
1242         (TestPage.registerInitializer.InspectorTest.TableDelegate.prototype.tableDidRemoveRows):
1243         (TestPage.registerInitializer.createDataSource):
1244         (TestPage.registerInitializer.InspectorTest.createTable):
1245         (TestPage.registerInitializer.InspectorTest.createTableWithDelegate):
1246         (TestPage.registerInitializer):
1247         Update table test utilities to keep TableDataSource backing array in
1248         sync when rows are removed. Also allow the number of table rows to be
1249         specified when creating a table for testing.
1250
1251         * inspector/table/table-remove-rows-expected.txt: Added.
1252         * inspector/table/table-remove-rows.html: Added.
1253         Add tests for new Table methods `removeRow(rowIndex)` and `removeSelectedRows()`.
1254
1255         * inspector/unit-tests/index-set-expected.txt:
1256         * inspector/unit-tests/index-set.html:
1257         Add tests for new IndexSet method `copy()`.
1258
1259 2018-10-26  Commit Queue  <commit-queue@webkit.org>
1260
1261         Unreviewed, rolling out r237479 and r237484.
1262         https://bugs.webkit.org/show_bug.cgi?id=190978
1263
1264         broke JSC on iOS (Requested by tadeuzagallo on #webkit).
1265
1266         Reverted changesets:
1267
1268         "New bytecode format for JSC"
1269         https://bugs.webkit.org/show_bug.cgi?id=187373
1270         https://trac.webkit.org/changeset/237479
1271
1272         "Gardening: Build fix after r237479."
1273         https://bugs.webkit.org/show_bug.cgi?id=187373
1274         https://trac.webkit.org/changeset/237484
1275
1276 2018-10-26  Tadeu Zagallo  <tzagallo@apple.com>
1277
1278         New bytecode format for JSC
1279         https://bugs.webkit.org/show_bug.cgi?id=187373
1280         <rdar://problem/44186758>
1281
1282         Reviewed by Filip Pizlo.
1283
1284         Don't use recursion on `equal` to avoid premature stack overflows when testing deep arrays.
1285
1286         * fast/dom/Window/resources/postmessage-test.js:
1287
1288 2018-10-26  Antoine Quint  <graouts@apple.com>
1289
1290         [Web Animations] Remove useless internals methods
1291         https://bugs.webkit.org/show_bug.cgi?id=190968
1292
1293         Reviewed by Dean Jackson.
1294
1295         Remove a test that is no longer useful.
1296
1297         * webanimations/animation-creation-addition-expected.txt: Removed.
1298         * webanimations/animation-creation-addition.html: Removed.
1299
1300 2018-10-26  Per Arne Vollan  <pvollan@apple.com>
1301
1302         [High Sierra/Sierra Release] Layout Test media/track/track-cue-css.html is a flaky image failure
1303         https://bugs.webkit.org/show_bug.cgi?id=190876
1304
1305         Unreviewed test fix.
1306
1307         This is a speculative flakiness fix.
1308
1309         * media/track/track-cue-css-expected.html:
1310         * media/track/track-cue-css.html:
1311
1312 2018-10-26  Zalan Bujtas  <zalan@apple.com>
1313
1314         [iOS] Unreviewed test gardening.
1315
1316         * platform/ios/TestExpectations:
1317
1318 2018-10-26  Ali Juma  <ajuma@chromium.org>
1319
1320         [GTK] Unreviewed test gardening.
1321         https://bugs.webkit.org/show_bug.cgi?id=190962
1322
1323         Add a baseline for the test added in r237449.
1324
1325         * platform/gtk/fast/repaint/text-selection-overflow-hidden-expected.txt: Added.
1326
1327 2018-10-26  Zalan Bujtas  <zalan@apple.com>
1328
1329         [LFC][IFC] Layout floats as part of the inline content
1330         https://bugs.webkit.org/show_bug.cgi?id=190942
1331
1332         Reviewed by Antti Koivisto.
1333
1334         * fast/block/basic/inline-content-with-floating-image-expected.txt: Added.
1335         * fast/block/basic/inline-content-with-floating-image.html: Added.
1336
1337 2018-10-26  Alicia Boya García  <aboya@igalia.com>
1338
1339         [MSE][WTF][Media] Invalid MediaTime should be falsy
1340         https://bugs.webkit.org/show_bug.cgi?id=190893
1341
1342         Reviewed by Jer Noble.
1343
1344         A test is added that replicates a bug fixed by this patch.
1345
1346         * media/media-source/media-source-timestampoffset-then-zero-expected.txt: Added.
1347         * media/media-source/media-source-timestampoffset-then-zero.html: Added.
1348
1349 2018-10-26  Ali Juma  <ajuma@chromium.org>
1350
1351         REGRESSION (r237255): Text selection is broken in form fields
1352         https://bugs.webkit.org/show_bug.cgi?id=190899
1353
1354         Reviewed by Ryosuke Niwa.
1355
1356         Add layout test coverage.
1357
1358         * fast/repaint/text-selection-overflow-hidden-expected.txt: Added.
1359         * fast/repaint/text-selection-overflow-hidden.html: Added.
1360         * platform/win/fast/repaint/text-selection-overflow-hidden-expected.txt: Added.
1361
1362 2018-10-25  Ryan Haddad  <ryanhaddad@apple.com>
1363
1364         Layout Test http/tests/websocket/tests/hybi/handshake-ok-with-legacy-sec-websocket-response-headers.html is a flaky failure
1365         https://bugs.webkit.org/show_bug.cgi?id=173041
1366
1367         Unreviewed test gardening.
1368
1369         * platform/ios/TestExpectations: Mark test as flaky.
1370
1371 2018-10-25  Devin Rousso  <drousso@apple.com>
1372
1373         Web Inspector: Canvas Recording loading goes significantly slower when "Frame" tree element is expanded
1374         https://bugs.webkit.org/show_bug.cgi?id=190497
1375
1376         Reviewed by Joseph Pecoraro.
1377
1378         * inspector/unit-tests/set-utilities-expected.txt: Added.
1379         * inspector/unit-tests/set-utilities.html: Added.
1380
1381 2018-10-25  Dawei Fenton  <realdawei@apple.com>
1382
1383         Layout Test compositing/iframes/display-none-subframe.html is a flaky failure.
1384         https://bugs.webkit.org/show_bug.cgi?id=186406
1385
1386         Unreviewed.
1387
1388         * platform/mac-wk1/TestExpectations: Mark test flaky.
1389
1390 2018-10-25  Devin Rousso  <drousso@apple.com>
1391
1392         Web Inspector: display fullscreen enter/exit events in Timelines and Network node waterfalls
1393         https://bugs.webkit.org/show_bug.cgi?id=189874
1394         <rdar://problem/44700000>
1395
1396         Reviewed by Joseph Pecoraro.
1397
1398         * http/tests/inspector/dom/didFireEvent-expected.txt:
1399         * http/tests/inspector/dom/didFireEvent.html:
1400
1401 2018-10-25  Alexey Proskuryakov  <ap@apple.com>
1402
1403         https://bugs.webkit.org/show_bug.cgi?id=175597
1404         XMLHttpRequest should not sniff content encoding
1405
1406         Actually, the discussion in Bugzilla claims that it should always have worked on
1407         iOS. Not sure why the test was not enabled from the start.
1408
1409         * platform/ios/TestExpectations:
1410
1411 2018-10-25  Alexey Proskuryakov  <ap@apple.com>
1412
1413         Update test results for https://bugs.webkit.org/show_bug.cgi?id=175597
1414         XMLHttpRequest should not sniff content encoding
1415
1416         This code doesn't work like planned on macOS High Sierra, and I'm not sure what's
1417         up with iOS and other platforms. But I can to re-enable the test for Mojave.
1418
1419         * platform/mac/TestExpectations: As expected, this test is passing on macOS Mojave.
1420
1421 2018-10-25  Per Arne Vollan  <pvollan@apple.com>
1422
1423         [High Sierra/Sierra Release] Layout Test media/track/track-cue-css.html is a flaky image failure
1424         https://bugs.webkit.org/show_bug.cgi?id=190876
1425
1426         Reviewed by Alexey Proskuryakov.
1427
1428         This is a speculative fix; avoid an unnecessary video seek step in test.
1429
1430         * media/track/track-cue-css-expected.html:
1431         * media/track/track-cue-css.html:
1432
1433 2018-10-25  Chris Dumez  <cdumez@apple.com>
1434
1435         REGRESSION (236779) scandinaviandesigns.com product pages auto redirect to product image
1436         https://bugs.webkit.org/show_bug.cgi?id=190891
1437         <rdar://problem/45296796>
1438
1439         Reviewed by Antti Koivisto.
1440
1441         Add layout test coverage.
1442
1443         * fast/dom/HTMLInputElement/radio-element-fires-change-event-only-when-checked-state-changes-expected.txt: Added.
1444         * fast/dom/HTMLInputElement/radio-element-fires-change-event-only-when-checked-state-changes.html: Added.
1445
1446 2018-10-25  Frederic Wang  <fwang@igalia.com>
1447
1448         Unreviewed test gardening.
1449
1450         * platform/ios-wk1/TestExpectations: Add failures for tests requiring findString.
1451         * platform/ios-wk1/fast/scrolling/adjust-scroll-offset-on-zoom-expected.txt: Added. Adjust
1452         expectation to handle whitespace difference.
1453         * platform/ios-wk1/fast/scrolling/scrolling-tree-includes-frame-expected.txt: Added. The
1454         scrolling tree is not displayed on WK1.
1455
1456 2018-10-25  Frederic Wang  <fwang@igalia.com>
1457
1458         Add more tests for the Find UI
1459         https://bugs.webkit.org/show_bug.cgi?id=190823
1460
1461         Reviewed by Antonio Gomes.
1462
1463         We add more tests for iOS's find UI to cover cases fixed by r224284. Equivalent tests for
1464         subframes currently fails when frame flattening is disabled, they will be handled in bug
1465         184297.
1466
1467         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-expected.png: Added.
1468         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-expected.txt: Added.
1469         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-limit-expected.png: Added.
1470         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-limit-expected.txt: Added.
1471         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-limit.html: Added.
1472         Test with a match at the limit of the scrolling element.
1473         * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position.html: Added. Test
1474         with a match at the middle of the scrolling element.
1475         * platform/ios/fast/scrolling/find-text-in-overflow-node.html: Use names for parameters to
1476         make it more explicit.
1477         * platform/ios/fast/scrolling/find-text-in-subframe-expected.txt: Added.
1478         * platform/ios/fast/scrolling/find-text-in-subframe.html: Added. Test with a subframe instead
1479         of an overflow node.
1480
1481 2018-10-25  Jiewen Tan  <jiewen_tan@apple.com>
1482
1483         [WPT] Update resource-timing WPT tests to use the right cross origin
1484         https://bugs.webkit.org/show_bug.cgi?id=190554
1485
1486         Reviewed by Youenn Fablet.
1487
1488         * TestExpectations:
1489
1490 2018-10-24  Tim Horton  <timothy_horton@apple.com>
1491
1492         Attachment filenames with RTL characters should format similar to Finder
1493         https://bugs.webkit.org/show_bug.cgi?id=190736
1494         <rdar://problem/44735946>
1495
1496         Reviewed by Dan Bernstein.
1497
1498         * fast/attachment/attachment-title-with-rtl-expected.html: Added.
1499         * fast/attachment/attachment-title-with-rtl.html: Added.
1500         Add a test that directionality marks in the attachment's title are
1501         isolated from the file extension.
1502
1503 2018-10-24  Megan Gardner  <megan_gardner@apple.com>
1504
1505         Turn on Conic Gradients
1506         https://bugs.webkit.org/show_bug.cgi?id=190810
1507
1508         Reviewed by Tim Horton.
1509
1510         No longer necessary to manually turn on conic gradients for testing.
1511
1512         * http/wpt/css/css-images-4/conic-gradient-parsing.html:
1513
1514 2018-10-11  Jiewen Tan  <jiewen_tan@apple.com>
1515
1516         Only report resource timing to parent frame for the first iframe load
1517         https://bugs.webkit.org/show_bug.cgi?id=190498
1518         <rdar://problem/44347398>
1519
1520         Reviewed by Youenn Fablet.
1521
1522         The layout test is from Chromium change:
1523         https://chromium-review.googlesource.com/c/chromium/src/+/1186215.
1524
1525         * http/tests/misc/resource-timing-navigation-in-restored-iframe-expected.txt: Added.
1526         * http/tests/misc/resource-timing-navigation-in-restored-iframe.html: Added.
1527         * http/tests/misc/resources/alert-then-back.html: Added.
1528         * http/tests/misc/resources/navigate-on-message.html: Added.
1529         * http/tests/misc/resources/post-message-to-parent.html: Added.
1530
1531 2018-10-24  Ryan Haddad  <ryanhaddad@apple.com>
1532
1533         [macOS] Layout Test legacy-animation-engine/animations/suspend-resume-animation.html is a flaky failure
1534         https://bugs.webkit.org/show_bug.cgi?id=190883
1535
1536         Unreviewed test gardening.
1537
1538         * platform/mac/TestExpectations: Mark test as flaky.
1539
1540 2018-10-24  Matt Lewis  <jlewis3@apple.com>
1541
1542         Marked webgl/1.0.2/conformance/glsl/misc/shader-with-reserved-words.html as a flaky timout.
1543         https://bugs.webkit.org/show_bug.cgi?id=170877
1544
1545         Unreviewed test gardening.
1546
1547         * platform/mac/TestExpectations:
1548
1549 2018-10-24  Truitt Savell  <tsavell@apple.com>
1550
1551         Marking Multiple tests as flakey at once
1552         https://bugs.webkit.org/show_bug.cgi?id=190847
1553
1554         Unreviewed Test Gardening
1555
1556         * platform/ios-wk2/TestExpectations:
1557         * platform/mac-wk1/TestExpectations:
1558         * platform/mac-wk2/TestExpectations:
1559
1560 2018-10-24  Andy Estes  <aestes@apple.com>
1561
1562         [macOS Debug WK2] Layout Test http/tests/ssl/applepay/ApplePayShippingAddressChangeEventErrorsV3.https.html is a flaky failure
1563         https://bugs.webkit.org/show_bug.cgi?id=190650
1564         <rdar://problem/45341914>
1565
1566         Reviewed by Alex Christensen.
1567
1568         * http/tests/resources/payment-request.js:
1569         (updateDetailsOnShippingAddressChange):
1570
1571 2018-10-23  Jer Noble  <jer.noble@apple.com>
1572
1573         TextTrack cues should be updated more often than every 250ms.
1574         https://bugs.webkit.org/show_bug.cgi?id=190827
1575
1576         Reviewed by Eric Carlson.
1577
1578         Add a LayoutTest which plays back 6s of captions, each 50 ms in duration, and uses
1579         when the "enter" and "exit" were fired (in media time) to check whether they were missed
1580         or not. The test succeeds if fewer than 50 of the 120 cues were missed.
1581
1582         * media/track/track-cue-missing-expected.txt: Added.
1583         * media/track/track-cue-missing.html: Added.
1584
1585 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
1586
1587         Unreviewed, rolling out r237261.
1588
1589         The layout test for this change crashes under GuardMalloc.
1590
1591         Reverted changeset:
1592
1593         "Handle MDNS resolution of candidates through libwebrtc
1594         directly"
1595         https://bugs.webkit.org/show_bug.cgi?id=190681
1596         https://trac.webkit.org/changeset/237261
1597
1598 2018-10-23  Joseph Pecoraro  <pecoraro@apple.com>
1599
1600         Web Inspector: Remove unused css-rules pretty printing test expectation
1601         https://bugs.webkit.org/show_bug.cgi?id=190834
1602
1603         Reviewed by Matt Baker.
1604
1605         * inspector/codemirror/prettyprinting-css-rules-expected.txt: Removed.
1606
1607 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
1608
1609         Unreviewed, rolling out r237280.
1610
1611         Causes fast/box-shadow/box-shadow-with-zero-radius.html to
1612         fail on iOS Simulator.
1613
1614         Reverted changeset:
1615
1616         "[CG] Adopt CG SPI for non-even cornered rounded rects"
1617         https://bugs.webkit.org/show_bug.cgi?id=190155
1618         https://trac.webkit.org/changeset/237280
1619
1620 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
1621
1622         [macOS Debug WK1] Layout Test inspector/codemirror/prettyprinting-css.html is a flaky timeout
1623         https://bugs.webkit.org/show_bug.cgi?id=190833
1624
1625         Unreviewed test gardening.
1626
1627         * platform/mac-wk1/TestExpectations: Mark test as slow.
1628
1629 2018-10-23  Truitt Savell  <tsavell@apple.com>
1630
1631         [ MacOS Debug WK1 ] Layout Test fast/forms/state-restore-to-non-edited-controls.html is flaky
1632         https://bugs.webkit.org/show_bug.cgi?id=190832
1633
1634         Unreviewed Test Gardening.
1635
1636         * platform/mac-wk1/TestExpectations:
1637
1638 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
1639
1640         Layout Test imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/ready-states/autoplay-with-slow-text-tracks.html is flaky.
1641         https://bugs.webkit.org/show_bug.cgi?id=176929
1642
1643         Unreviewed test gardening.
1644
1645         * platform/mac/TestExpectations: Mark test as flaky.
1646
1647 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
1648
1649         REGRESSION (r236501?): Layout Test compositing/geometry/limit-layer-bounds-opacity-transition.html is flaky
1650         https://bugs.webkit.org/show_bug.cgi?id=190210
1651
1652         Unreviewed test gardening.
1653
1654         * platform/mac/TestExpectations: Mark test as flaky.
1655
1656 2018-10-22  Justin Michaud  <justin_michaud@apple.com>
1657
1658         Registered custom properties should support syntax parameter for <length> and *
1659         https://bugs.webkit.org/show_bug.cgi?id=190039
1660
1661         Reviewed by Antti Koivisto.
1662
1663         Add tests for inline styles, font-size cycles with custom properties, and a crash that was reported.
1664
1665         * css-custom-properties-api/crash-expected.txt: Added.
1666         * css-custom-properties-api/crash.html: Added.
1667         * css-custom-properties-api/cycles-expected.txt: Added.
1668         * css-custom-properties-api/cycles.html: Added.
1669         * css-custom-properties-api/inline-expected.txt: Added.
1670         * css-custom-properties-api/inline.html: Added.
1671
1672 2018-10-22  Ryan Haddad  <ryanhaddad@apple.com>
1673
1674         REGRESSION: [iOS] Layout Test media/media-fullscreen-pause-inline.html is a flaky failure
1675         https://bugs.webkit.org/show_bug.cgi?id=187618
1676
1677         Unreviewed test gardening.
1678
1679         * platform/ios/TestExpectations: Mark test as flaky.
1680
1681 2018-10-22  Justin Michaud  <justin_michaud@apple.com>
1682
1683         CSS Paint API should give a 2d rendering context
1684         https://bugs.webkit.org/show_bug.cgi?id=190762
1685
1686         Reviewed by Dean Jackson.
1687
1688         * fast/css-custom-paint/basic.html:
1689
1690 2018-10-22  Ryan Haddad  <ryanhaddad@apple.com>
1691
1692         Unreviewed, update TestExpectations for imported/w3c/web-platform-tests/fetch/nosniff/importscripts.html.
1693         https://bugs.webkit.org/show_bug.cgi?id=157068
1694
1695         * TestExpectations: Mark test as a flaky failure for release builds.
1696         * platform/mac-wk1/TestExpectations: Remove duplicate expectation.
1697
1698 2018-10-22  Dawei Fenton  <realdawei@apple.com>
1699
1700         REGRESSION (r234330): [mac-wk1] Layout Test fast/repaint/animation-after-layer-scroll.html is a flaky failure
1701         https://bugs.webkit.org/show_bug.cgi?id=188421
1702
1703         Unreviewed test gardening.
1704
1705         * platform/mac-wk1/TestExpectations: Mark test as flaky.
1706
1707 2018-10-22  Ryan Haddad  <ryanhaddad@apple.com>
1708
1709         [ Mojave WK1 ] Layout Test storage/indexeddb/database-odd-names.html is failing
1710         https://bugs.webkit.org/show_bug.cgi?id=190350
1711
1712         Unreviewed test gardening.
1713
1714         * platform/mac-wk1/TestExpectations: Mark test as failing.
1715
1716 2018-10-22  Ryan Haddad  <ryanhaddad@apple.com>
1717
1718         [macOS WK1] Layout Test http/tests/security/cross-origin-xsl-redirect-BLOCKED.html is a flaky failure
1719         https://bugs.webkit.org/show_bug.cgi?id=189723
1720
1721         Unreviewed test gardening.
1722
1723         * platform/mac-wk1/TestExpectations: Mark test as flaky.
1724
1725 2018-10-22  Ali Juma  <ajuma@chromium.org>
1726
1727         Layout Test imported/w3c/web-platform-tests/intersection-observer/containing-block.html is a flaky failure on Debug builds
1728         https://bugs.webkit.org/show_bug.cgi?id=190808
1729
1730         Unreviewed test gardening.
1731
1732         * TestExpectations:
1733
1734 2018-10-22  Dawei Fenton  <realdawei@apple.com>
1735
1736         Some WK1 repaint tests are flaky on Mojave
1737         https://bugs.webkit.org/show_bug.cgi?id=190627
1738
1739         Unreviewed, marked tests as flaky.
1740
1741         * platform/mac-wk1/TestExpectations:
1742
1743 2018-10-22  Wenson Hsieh  <wenson_hsieh@apple.com>
1744
1745         [iOS] [Datalist] fast/forms/datalist/datalist-show-hide.html fails
1746         https://bugs.webkit.org/show_bug.cgi?id=190777
1747
1748         Reviewed by Tim Horton.
1749
1750         Refactor this test such that it passes on both iOS and macOS. This test verifies that datalist suggestions menu
1751         UI can be shown and hidden. On macOS, we focus and then blur the input field; on iOS, we tap in the datalist
1752         button to show the suggestions UI, and then tap in the text field to bring back the regular keyboard.
1753
1754         * fast/forms/datalist/datalist-show-hide-expected.txt:
1755         * fast/forms/datalist/datalist-show-hide.html:
1756         * platform/ios/TestExpectations:
1757
1758         Unskip the layout test on iOS.
1759
1760         * resources/ui-helper.js:
1761         (window.UIHelper.isShowingDataListSuggestions):
1762
1763         Tweak this helper function to resolve with either true or false (Boolean types), instead of the strings "true"
1764         and "false".
1765
1766 2018-10-22  Truitt Savell  <tsavell@apple.com>
1767
1768         [ MacOS WK1 ] Layout Test platform/mac/media/audio-session-category-video-paused.html is flaky Timeout 
1769         https://bugs.webkit.org/show_bug.cgi?id=189680
1770
1771         Unreviewed Test Gardening
1772
1773         * platform/mac-wk1/TestExpectations:
1774
1775 2018-10-20  Daniel Bates  <dabates@apple.com>
1776
1777         Unskip test fast/writing-mode/english-rl-text-with-spelling-marker.html in iOS WebKit2
1778
1779         Following r235149 we mark spelling errors in iOS WebKit2.
1780
1781         * platform/ios-wk1/TestExpectations: Skip in legacy WebKit until we fix <https://webkit.org/b/188762>.
1782         * platform/ios/TestExpectations: Unskip test.
1783
1784 2018-10-19  Justin Fan  <justin_fan@apple.com>
1785
1786         [WebGPU] Add stubs for WebGPUSwapChain and WebGPURenderingContext
1787         https://bugs.webkit.org/show_bug.cgi?id=190742
1788
1789         Reviewed by Dean Jackson.
1790
1791         Updated basic webgpu feature detection test to check for WebGPURenderingContext.
1792
1793         * webgpu/webgpu-enabled-expected.txt: 
1794         * webgpu/webgpu-enabled.html:
1795
1796 2018-10-19  Wenson Hsieh  <wenson_hsieh@apple.com>
1797
1798         [iOS] [Datalist] Can't pick datalist suggestions in a stock WKWebView
1799         https://bugs.webkit.org/show_bug.cgi?id=190621
1800         <rdar://problem/45310649>
1801
1802         Reviewed by Tim Horton.
1803
1804         Refactor an existing layout test to run on both iOS and macOS. On both platforms, it checks that the top
1805         suggestion respects option element order in the document, as well as the current contents of the text field.
1806         On macOS, we use arrow keys and hit return to select a suggestion; on iOS, we tap the suggestions button and
1807         simulate hitting the done button on the input view to dismiss the keyboard.
1808
1809         * fast/forms/datalist/datalist-textinput-suggestions-order-expected.txt:
1810         * fast/forms/datalist/datalist-textinput-suggestions-order.html:
1811         * platform/ios/TestExpectations:
1812
1813         Enable this test on iOS.
1814
1815         * resources/ui-helper.js:
1816         (window.UIHelper.resignFirstResponder):
1817         (window.UIHelper):
1818
1819 2018-10-19  John Wilander  <wilander@apple.com>
1820
1821         Only cap lifetime of persistent cookies created client-side through document.cookie when resource load statistics is enabled
1822         https://bugs.webkit.org/show_bug.cgi?id=190687
1823         <rdar://problem/45349024>
1824
1825         Reviewed by Alex Christensen.
1826
1827         The test case now makes use of internals.setResourceLoadStatisticsEnabled()
1828         and was thus moved to http/tests/resourceLoadStatistics/.
1829
1830         * TestExpectations:
1831             Removed skip of previous test location.
1832         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-expected.txt: Renamed from LayoutTests/http/tests/cookies/capped-lifetime-for-cookie-set-in-js-expected.txt.
1833         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js.html: Renamed from LayoutTests/http/tests/cookies/capped-lifetime-for-cookie-set-in-js.html.
1834         * http/tests/webAPIStatistics/canvas-read-and-write-data-collection-expected.txt:
1835             Removed line containing "isMarkedForCookieBlocking: No."
1836         * http/tests/webAPIStatistics/font-load-data-collection-expected.txt:
1837             Removed line containing "isMarkedForCookieBlocking: No."
1838         * http/tests/webAPIStatistics/navigator-functions-accessed-data-collection-expected.txt:
1839             Removed line containing "isMarkedForCookieBlocking: No."
1840         * http/tests/webAPIStatistics/screen-functions-accessed-data-collection-expected.txt:
1841             Removed line containing "isMarkedForCookieBlocking: No."
1842         * platform/ios/TestExpectations:
1843             Removed pass of previous test location. The whole http/tests/resourceLoadStatistics/ is marked pass for relevant platforms.
1844         * platform/mac-wk2/TestExpectations:
1845             Removed pass of previous test location. The whole http/tests/resourceLoadStatistics/ is marked pass for relevant platforms.
1846
1847 2018-10-19  Commit Queue  <commit-queue@webkit.org>
1848
1849         Unreviewed, rolling out r237254.
1850         https://bugs.webkit.org/show_bug.cgi?id=190760
1851
1852         "It regresses JetStream 2 by 5% on some iOS devices"
1853         (Requested by saamyjoon on #webkit).
1854
1855         Reverted changeset:
1856
1857         "[JSC] JSC should have "parseFunction" to optimize Function
1858         constructor"
1859         https://bugs.webkit.org/show_bug.cgi?id=190340
1860         https://trac.webkit.org/changeset/237254
1861
1862 2018-10-19  Charlie Turner  <cturner@igalia.com>
1863
1864         [EME] Fix crash during tracing in  gst_qtdemux_request_protection_context
1865         https://bugs.webkit.org/show_bug.cgi?id=190738
1866
1867         Reviewed by Xabier Rodriguez-Calvar.
1868
1869         Add failing test expectations for the GTK port. These tests are
1870         not mirrored in the top-level TestExpectations file, since there
1871         are no passing baselines for these tests there. The testing
1872         infrastructure will report them as unexpected passing when they
1873         are marked as [ Failure ] there, since their output matches the
1874         failing output in this directory, and if you don't have an
1875         expected test, then they fail as [ Missing ], and putting failing
1876         baselines in the top-level cross-platform directory also seem
1877         wrong...
1878
1879         The following two tests produce a dumpRenderTree output for
1880         unknown reasons, and so they have been marked as Missing for now.
1881
1882         platform/gtk/imported/w3c/web-platform-tests/encrypted-media/resources/clearkey-retrieve-destroy-persistent-license.html
1883         platform/gtk/imported/w3c/web-platform-tests/encrypted-media/resources/clearkey-retrieve-persistent-license.html
1884
1885         * platform/gtk/TestExpectations: Update expectations.
1886         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearKey-encrypted-webm-event-mse-actual.txt: Added.
1887         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-license-events.https-expected.txt: Added.
1888         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-events.https-expected.txt: Added.
1889         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record.https-expected.txt: Added.
1890         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-usage-record.https-expected.txt: Added.
1891         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear.https-expected.txt: Added.
1892         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-events.https-expected.txt: Added.
1893         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState.https-expected.txt: Added.
1894         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential.https-expected.txt: Added.
1895         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src.https-expected.txt: Added.
1896         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-requestmediakeysystemaccess.https-expected.txt: Added.
1897         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys.https-expected.txt: Added.
1898         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-syntax-mediakeys.https-expected.txt: Added.
1899         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-unique-origin.https-expected.txt: Added.
1900         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-update-disallowed-input.https-expected.txt: Added.
1901         * platform/gtk/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-waiting-for-a-key.https-expected.txt: Added.
1902
1903 2018-10-18  Said Abou-Hallawa  <sabouhallawa@apple.com>
1904
1905         [CG] Adopt CG SPI for non-even cornered rounded rects
1906         https://bugs.webkit.org/show_bug.cgi?id=190155
1907
1908         Reviewed by Simon Fraser.
1909
1910         This test fails on iOS simulator because of just one pixel difference.
1911         I think it happens because of anti aliasing the color at the border of
1912         the black shadow. Since this test is testing the radius attribute of the
1913         CSS box-shadow and this should not be affected by whether the shadow has
1914         non-even rounded corners or not, I am going to change it to have even 
1915         rounded corners.
1916
1917         * fast/box-shadow/box-shadow-with-zero-radius-expected.html:
1918         * fast/box-shadow/box-shadow-with-zero-radius.html:
1919
1920 2018-10-18  Justin Fan  <justin_fan@apple.com>
1921
1922         Add test expectations for webgpu-enabled.html
1923         https://bugs.webkit.org/show_bug.cgi?id=190739
1924
1925         Unreviewed test gardening.
1926
1927         Added forgotten expectations for webgpu-enabled, and updated some expectations 
1928         to match the WebGPU -> WebMetal naming and new WebGPU tests.
1929
1930         * platform/ios/TestExpectations:
1931         * platform/mac-wk1/TestExpectations:
1932         * platform/win/TestExpectations:
1933         * platform/wincairo/TestExpectations:
1934         * platform/wpe/TestExpectations:
1935         * webgpu/webgpu-enabled-expected.txt: Added.
1936
1937 2018-10-18  Justin Michaud  <justin_michaud@apple.com>
1938
1939         Add new image type for CSS painting API
1940         https://bugs.webkit.org/show_bug.cgi?id=190697
1941
1942         Reviewed by Dean Jackson.
1943
1944         * fast/css-custom-paint/basic-expected.txt:
1945         * fast/css-custom-paint/basic.html:
1946
1947 2018-10-18  Jer Noble  <jer.noble@apple.com>
1948
1949         [MSE] timestampOffset can introduce floating-point rounding errors to incoming samples
1950         https://bugs.webkit.org/show_bug.cgi?id=190590
1951         <rdar://problem/45275626>
1952
1953         Reviewed by Eric Carlson.
1954
1955         * media/media-source/media-source-sequence-timestamps-expected.txt:
1956         * media/media-source/media-source-timestampoffset-rounding-error-expected.txt: Added.
1957         * media/media-source/media-source-timestampoffset-rounding-error.html: Added.
1958         * media/media-source/mock-media-source.js:
1959         (makeASample):
1960
1961 2018-10-18  Jer Noble  <jer.noble@apple.com>
1962
1963         Enable WKPreferences._lowPowerVideoAudioBufferSizeEnabled by default
1964         https://bugs.webkit.org/show_bug.cgi?id=190315
1965         <rdar://problem/45047807>
1966
1967         Reviewed by Eric Carlson.
1968
1969         * media/audio-controls-timeline-in-media-document-expected.txt:
1970         * media/audio-controls-timeline-in-media-document.html:
1971
1972 2018-10-18  Jer Noble  <jer.noble@apple.com>
1973
1974         Safari is not able to adapt between H264 streams with EditList and without EditList
1975         https://bugs.webkit.org/show_bug.cgi?id=190638
1976         <rdar://problem/45342208>
1977
1978         Reviewed by Eric Carlson.
1979
1980         * media/media-source/media-source-append-overlapping-dts-expected.txt: Added.
1981         * media/media-source/media-source-append-overlapping-dts.html: Added.
1982
1983 2018-10-18  Per Arne Vollan  <pvollan@apple.com>
1984
1985         [WebVTT] Region parameter and value should be separated by ':'
1986         https://bugs.webkit.org/show_bug.cgi?id=190735
1987
1988         Reviewed by Eric Carlson.
1989
1990         * media/track/captions-webvtt/captions-regions.vtt:
1991         * media/track/captions-webvtt/header-regions.vtt:
1992
1993 2018-10-18  Jer Noble  <jer.noble@apple.com>
1994
1995         Add support for MediaKeyEncryptionScheme
1996         https://bugs.webkit.org/show_bug.cgi?id=190173
1997
1998         Reviewed by Eric Carlson.
1999
2000         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-expected.txt:
2001         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html:
2002
2003 2018-10-18  Youenn Fablet  <youenn@apple.com>
2004
2005         Handle MDNS resolution of candidates through libwebrtc directly
2006         https://bugs.webkit.org/show_bug.cgi?id=190681
2007
2008         Reviewed by Eric Carlson.
2009
2010         * TestExpectations:
2011         Test should no longer be flaky as we no longer enforce a timer for resolving MDNS candidates.
2012
2013 2018-10-18  Ross Kirsling  <ross.kirsling@sony.com>
2014
2015         delete expression should not throw without a reference
2016         https://bugs.webkit.org/show_bug.cgi?id=190637
2017
2018         Reviewed by Yusuke Suzuki.
2019
2020         * js/basic-strict-mode-expected.txt:
2021         * js/script-tests/basic-strict-mode.js:
2022         Update test cases.
2023
2024 2018-10-18  Wenson Hsieh  <wenson_hsieh@apple.com>
2025
2026         [GTK] fast/selectors/read-only-read-write-input-basics.html failing since r237245
2027         https://bugs.webkit.org/show_bug.cgi?id=190711
2028
2029         Unreviewed test gardening.
2030
2031         Adjust layout test baselines after r237245. Make fast/selectors/read-only-read-write-input-basics-expected.txt
2032         contain PASS expectations for color inputs, and remove port-specific iOS/macOS WebKit2 expectations. Since color
2033         inputs are disabled in legacy WebKit, move the layout test expectation in platform/mac to platform/mac-wk1.
2034
2035         * fast/selectors/read-only-read-write-input-basics-expected.txt:
2036         * platform/ios-wk2/fast/selectors/read-only-read-write-input-basics-expected.txt: Removed.
2037         * platform/mac-wk2/fast/selectors/read-only-read-write-input-basics-expected.txt: Removed.
2038
2039 2018-10-18  Miguel Gomez  <magomez@igalia.com>
2040
2041         Unreviewed GTK+ gardening after r237249.
2042
2043         * platform/gtk/TestExpectations:
2044         * platform/gtk/fast/forms/fieldset/fieldset-elements-htmlcollection-expected.txt: Added.
2045
2046 2018-10-18  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
2047
2048         [JSC] JSC should have "parseFunction" to optimize Function constructor
2049         https://bugs.webkit.org/show_bug.cgi?id=190340
2050
2051         Reviewed by Mark Lam.
2052
2053         * fast/dom/attribute-event-listener-errors-expected.txt:
2054         * fast/events/attribute-listener-deletion-crash-expected.txt:
2055         * fast/events/window-onerror-syntax-error-in-attr-expected.txt:
2056         * js/dom/invalid-syntax-for-function-expected.txt:
2057         * js/dom/script-start-end-locations-expected.txt:
2058
2059 2018-10-17  Wenson Hsieh  <wenson_hsieh@apple.com>
2060
2061         Enable the datalist element by default on iOS and macOS
2062         https://bugs.webkit.org/show_bug.cgi?id=190594
2063         <rdar://problem/45281159>
2064
2065         Reviewed by Ryosuke Niwa and Tim Horton.
2066
2067         * TestExpectations:
2068
2069         Mark a couple of datalist tests as failures, with corresponding Bugzilla links.
2070
2071         * fast/forms/datalist/datalist-fallback-content-expected.html:
2072         * fast/forms/datalist/datalist-fallback-content.html:
2073
2074         Refactor this ref test. This was checking that a text input field with an associated datalist with fallback
2075         content looks identical to an text input field without a datalist, but this simply isn't the case with our
2076         current implementation due to the presence of the list button. Instead, add a div to cover the list button in
2077         both cases, and further augment this test to check that inputs of type color behave the same.
2078
2079         * fast/forms/datalist/range-snap-to-datalist-expected.txt: Added.
2080
2081         Add missing expectations for this test that were never checked in. Since sliderTickSnappingThreshold simply
2082         returns 0, this test behaves as expected, though behavior here may change when we add a make the "snapping
2083         threshold" nonzero.
2084
2085         * fast/forms/datalist/validity-assertion-inserting-into-datalist-expected.txt: Renamed from LayoutTests/fast/forms/validity-assertion-inserting-into-datalist-expected.txt.
2086         * fast/forms/datalist/validity-assertion-inserting-into-datalist.html: Renamed from LayoutTests/fast/forms/validity-assertion-inserting-into-datalist.html.
2087         * fast/selectors/read-only-read-write-input-basics-expected.txt:
2088         * platform/mac/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt:
2089         * platform/ios-simulator/fast/forms/datalist/datalist-searchinput-appearance-expected.txt: Added.
2090         * platform/ios-simulator/fast/forms/datalist/datalist-textinput-appearance-expected.txt: Added.
2091
2092         Add missing expectations.
2093
2094         * platform/ios-wk1/TestExpectations:
2095
2096         Don't run datalist tests in WebKitLegacy by marking them as [ WontFix ].
2097
2098         * platform/ios-wk2/accessibility/roles-exposed-expected.txt: Added.
2099         * platform/ios-wk2/fast/borders/empty-outline-border-assert-expected.txt: Added.
2100         * platform/ios-wk2/fast/dom/Window/window-lookup-precedence-expected.txt: Added.
2101         * platform/ios-wk2/fast/forms/label/labelable-elements-expected.txt: Added.
2102         * platform/ios-wk2/fast/forms/label/readwrite-readonly-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt.
2103         * platform/ios-wk2/fast/selectors/read-only-read-write-input-basics-expected.txt: Copied from LayoutTests/fast/selectors/read-only-read-write-input-basics-expected.txt.
2104         * platform/ios-wk2/imported/w3c/web-platform-tests/custom-elements/builtin-coverage-expected.txt: Added.
2105         * platform/ios-wk2/imported/w3c/web-platform-tests/dom/nodes/Node-cloneNode-expected.txt: Added.
2106         * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-expected.txt: Added.
2107         * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml-expected.txt: Added.
2108         * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt.
2109         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt.
2110         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt:
2111         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt.
2112         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt:
2113         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt.
2114         * platform/ios-wk2/imported/w3c/web-platform-tests/shadow-dom/input-element-list-expected.txt: Added.
2115         * platform/ios-wk2/mathml/presentation/foreign-element-in-token-expected.txt: Added.
2116
2117         Add baselines for WebKit2, where we enable the datalist element and color inputs.
2118
2119         * platform/ios/TestExpectations:
2120         * platform/mac-wk1/TestExpectations:
2121
2122         Don't run datalist tests in WebKitLegacy by marking them as [ WontFix ].
2123
2124         * platform/mac-wk2/accessibility/roles-exposed-expected.txt: Copied from LayoutTests/platform/mac/accessibility/roles-exposed-expected.txt.
2125         * platform/mac-wk2/fast/borders/empty-outline-border-assert-expected.txt: Added.
2126         * platform/mac-wk2/fast/dom/Window/window-lookup-precedence-expected.txt: Added.
2127         * platform/mac-wk2/fast/forms/label/labelable-elements-expected.txt: Added.
2128         * platform/mac-wk2/fast/forms/label/readwrite-readonly-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt.
2129         * platform/mac-wk2/fast/selectors/read-only-read-write-input-basics-expected.txt: Copied from LayoutTests/fast/selectors/read-only-read-write-input-basics-expected.txt.
2130         * platform/mac-wk2/imported/w3c/web-platform-tests/custom-elements/builtin-coverage-expected.txt: Added.
2131         * platform/mac-wk2/imported/w3c/web-platform-tests/dom/nodes/Node-cloneNode-expected.txt: Added.
2132         * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-expected.txt: Added.
2133         * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml-expected.txt: Added.
2134         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt: Renamed from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt.
2135         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt: Renamed from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt.
2136         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt.
2137         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt: Renamed from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt.
2138         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt.
2139         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt.
2140         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt: Copied from LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt.
2141         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt.
2142         * platform/mac-wk2/imported/w3c/web-platform-tests/shadow-dom/input-element-list-expected.txt: Added.
2143         * platform/mac-wk2/mathml/presentation/foreign-element-in-token-expected.txt: Added.
2144
2145         Add baselines for WebKit2, where we enable the datalist element and color inputs.
2146
2147         * platform/mac/TestExpectations:
2148         * platform/mac/accessibility/roles-exposed-expected.txt:
2149         * platform/mac/fast/selectors/read-only-read-write-input-basics-expected.txt:
2150         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt:
2151         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt:
2152         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt:
2153         * platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt:
2154
2155         Re-rebaseline test expectations that involve input type color, now that color inputs are off by default in WebKitLegacy.
2156
2157         * platform/win/TestExpectations:
2158
2159         Remove various datalist test skips and failures on macOS and iOS; ensure that the test failures that are still
2160         present are tracked with links to Bugzilla.
2161
2162 2018-10-17  Justin Michaud  <justin_michaud@apple.com>
2163
2164         Parse paint() and store paint callbacks for CSS Painting API
2165         https://bugs.webkit.org/show_bug.cgi?id=190657
2166
2167         Reviewed by Dean Jackson.
2168
2169         * fast/css-custom-paint/basic-expected.txt:
2170         * fast/css-custom-paint/basic.html:
2171
2172 2018-10-17  Justin Fan  <justin_fan@apple.com>
2173
2174         [WebGPU] Implement WebGPU bindings up through WebGPUDevice creation
2175         https://bugs.webkit.org/show_bug.cgi?id=190653
2176
2177         Reviewed by Dean Jackson.
2178
2179         Small test to validate creation of a WebGPUDevice when WebGPU is enabled.
2180
2181         * webgpu/webgpu-enabled.html: Added.
2182
2183 2018-10-17  Andy Estes  <aestes@apple.com>
2184
2185         [Apple Pay] Increment the API version to 5
2186         https://bugs.webkit.org/show_bug.cgi?id=190686
2187         <rdar://problem/45348523>
2188
2189         Reviewed by Simon Fraser.
2190
2191         * http/tests/ssl/applepay/ApplePaySessionV5-expected.txt: Added.
2192         * http/tests/ssl/applepay/ApplePaySessionV5.html: Added.
2193         * platform/mac-wk2/TestExpectations:
2194
2195 2018-10-17  Chris Fleizach  <cfleizach@apple.com>
2196
2197         AX: Certain tags should identify their context to iOS API
2198         https://bugs.webkit.org/show_bug.cgi?id=190622
2199         <rdar://problem/45308194>
2200
2201         Reviewed by Zalan Bujtas.
2202
2203         * accessibility/ios-simulator/text-context-attributes.html: Added.
2204         * accessibility/ios-simulator/text-context-attributes-expcted.txt: Added.
2205
2206 2018-10-17  Ali Juma  <ajuma@chromium.org>
2207
2208         Flaky IntersectionObserver web platform tests involving style updates
2209         https://bugs.webkit.org/show_bug.cgi?id=189091
2210
2211         Reviewed by Simon Fraser.
2212
2213         Remove expectation for tests that are no longer flaky.
2214
2215         Skip IntersectionObserver tests on WK1.
2216
2217         * TestExpectations:
2218         * platform/mac-wk1/TestExpectations:
2219
2220 2018-10-17  Charlie Turner  <cturner@igalia.com>
2221
2222         [EME] media/encrypted-media/mock-MediaKeySystemAccess.html crashes in CDM::createInstance
2223         https://bugs.webkit.org/show_bug.cgi?id=190578
2224
2225         Reviewed by Xabier Rodriguez-Calvar.
2226
2227         * platform/gtk/TestExpectations:
2228
2229 2018-10-16  Chris Dumez  <cdumez@apple.com>
2230
2231         Regression(r236795) Check boxes are sometimes checked when they should not be
2232         https://bugs.webkit.org/show_bug.cgi?id=190651
2233         <rdar://problem/45319934>
2234
2235         Reviewed by Ryosuke Niwa.
2236
2237         Add layout test coverage.
2238
2239         * fast/dom/HTMLInputElement/checkbox-dirty-checkedness-flag-expected.txt: Added.
2240         * fast/dom/HTMLInputElement/checkbox-dirty-checkedness-flag.html: Added.
2241
2242 2018-10-16  Chris Dumez  <cdumez@apple.com>
2243
2244         window.performance should not become null after the window loses its browsing context
2245         https://bugs.webkit.org/show_bug.cgi?id=190636
2246
2247         Reviewed by Ryosuke Niwa.
2248
2249         Extend layout test coverage.
2250
2251         * http/tests/dom/cross-origin-detached-window-properties-expected.txt:
2252         * http/tests/dom/cross-origin-detached-window-properties.html:
2253         * http/tests/dom/same-origin-detached-window-properties-expected.txt:
2254         * http/tests/dom/same-origin-detached-window-properties.html:
2255
2256 2018-10-16  Timothy Hatcher  <timothy@apple.com>
2257
2258         Add <meta name="supported-color-schemes"> to control what color schemes the page supports
2259         https://bugs.webkit.org/show_bug.cgi?id=190526
2260         rdar://problem/45230140
2261
2262         Reviewed by Dean Jackson.
2263
2264         * css-dark-mode/supported-color-schemes-expected.txt: Added.
2265         * css-dark-mode/supported-color-schemes.html: Added.
2266
2267 2018-10-16  Devin Rousso  <drousso@apple.com>
2268
2269         Web Inspector: Canvas: capture previously saved states and add them to the recording payload
2270         https://bugs.webkit.org/show_bug.cgi?id=190473
2271
2272         Reviewed by Joseph Pecoraro.
2273
2274         * inspector/canvas/recording-2d-expected.txt:
2275         * inspector/canvas/recording-2d.html:
2276         * inspector/canvas/resources/recording-utilities.js:
2277         (TestPage.registerInitializer):
2278         (TestPage.registerInitializer.async.logRecording): Added.
2279         (TestPage.registerInitializer.logRecording): Deleted.
2280         * inspector/model/recording-expected.txt:
2281         * inspector/model/recording.html:
2282
2283 2018-10-16  Justin Michaud  <justin_michaud@apple.com>
2284
2285         Implement feature flag and bindings for CSS Painting API
2286         https://bugs.webkit.org/show_bug.cgi?id=190237
2287
2288         Reviewed by Ryosuke Niwa.
2289
2290         Add basic tests for the CSS Painting API registerPaint function,
2291         and test the custom bindings.
2292
2293         * fast/css-custom-paint/basic-expected.txt: Added.
2294         * fast/css-custom-paint/basic.html: Added.
2295         * fast/css-custom-paint/registerPaintBindings-expected.txt: Added.
2296         * fast/css-custom-paint/registerPaintBindings.html: Added.
2297         * platform/ios-wk1/TestExpectations:
2298         * platform/mac-wk1/TestExpectations:
2299         * platform/win/TestExpectations:
2300
2301 2018-10-16  Per Arne Vollan  <pvollan@apple.com>
2302
2303         [WebVTT] Support inline WebVTT styles
2304         https://bugs.webkit.org/show_bug.cgi?id=190369
2305
2306         Reviewed by Eric Carlson.
2307
2308         * media/track/captions-webvtt/css-styling.vtt: Added.
2309         * media/track/captions-webvtt/no-css-styling.vtt: Added.
2310         * media/track/track-cue-css-expected.html: Added.
2311         * media/track/track-cue-css.html: Added.
2312
2313 2018-10-16  Chris Dumez  <cdumez@apple.com>
2314
2315         window.navigator should not become null after the window loses its browsing context
2316         https://bugs.webkit.org/show_bug.cgi?id=190595
2317
2318         Reviewed by Ryosuke Niwa.
2319
2320         Extend layout test coverage.
2321
2322         * fast/frames/detached-frame-property-expected.txt:
2323         * fast/frames/detached-frame-property.html:
2324         * http/tests/dom/cross-origin-detached-window-properties-expected.txt:
2325         * http/tests/dom/cross-origin-detached-window-properties.html:
2326         * http/tests/dom/same-origin-detached-window-properties-expected.txt:
2327         * http/tests/dom/same-origin-detached-window-properties.html:
2328
2329 2018-10-16  Charlie Turner  <cturner@igalia.com>
2330
2331         [EME] Multiple ClearKey tests crashing in gst_qtdemux_request_protection_context
2332         https://bugs.webkit.org/show_bug.cgi?id=190577
2333
2334         Reviewed by Michael Catanzaro.
2335
2336         * platform/gtk/TestExpectations:
2337
2338 2018-10-15  Timothy Hatcher  <timothy@apple.com>
2339
2340         Add support for prefers-color-scheme media query
2341         https://bugs.webkit.org/show_bug.cgi?id=190499
2342         rdar://problem/45212025
2343
2344         Reviewed by Dean Jackson.
2345
2346         * css-dark-mode/prefers-color-scheme-expected.txt: Added.
2347         * css-dark-mode/prefers-color-scheme.html: Added.
2348         * platform/gtk/TestExpectations: Skip css-dark-mode.
2349         * platform/ios/TestExpectations: Skip css-dark-mode.
2350         * platform/mac-wk1/TestExpectations: Skip css-dark-mode.
2351         * platform/win/TestExpectations: Skip css-dark-mode.
2352         * platform/wincairo/TestExpectations: Skip css-dark-mode.
2353         * platform/wpe/TestExpectations: Skip css-dark-mode.
2354
2355 2018-10-15  Matt Baker  <mattbaker@apple.com>
2356
2357         Web Inspector: Cleanup Table test utilities
2358         https://bugs.webkit.org/show_bug.cgi?id=190538
2359         <rdar://problem/45237730>
2360
2361         Reviewed by Joseph Pecoraro.
2362
2363         Cleanup Table test utilities by exposing removing the artificial dependency
2364         between TableDelegate and TableDataSource, and exposing a cleaner set of
2365         utility methods to InspectorTest. This patch changes `InspectorTest.createTable`
2366         to take no parameters, and adds `InspectorTest.createTableWithDelegate` for
2367         tests that need to supply a custom delegate.
2368
2369         * inspector/table/resources/table-utilities.js:
2370         (TestPage.registerInitializer.InspectorTest.TableDataSource):
2371         (TestPage.registerInitializer.InspectorTest.TableDelegate):
2372         (TestPage.registerInitializer.InspectorTest.TableDelegate.prototype.tablePopulateCell):
2373         (TestPage.registerInitializer.createDataSource):
2374         (TestPage.registerInitializer.createTableInternal):
2375         (TestPage.registerInitializer.InspectorTest.createTable):
2376         (TestPage.registerInitializer.InspectorTest.createTableWithDelegate):
2377         (TestPage.registerInitializer):
2378
2379         * inspector/table/table-selection-expected.txt:
2380         Update with new test suite name.
2381
2382         * inspector/table/table-selection.html:
2383
2384 2018-10-15  Charles Vazac  <cvazac@gmail.com>
2385
2386         Web Inspector: Expose Server Timing Response Headers in Network Tab
2387         https://bugs.webkit.org/show_bug.cgi?id=190440
2388
2389         Reviewed by Joseph Pecoraro.
2390
2391         * inspector/unit-tests/server-timing-entry-expected.txt:
2392         * inspector/unit-tests/server-timing-entry.html:
2393
2394 2018-10-15  Alex Christensen  <achristensen@webkit.org>
2395
2396         Garden WK2 tests after r237104
2397         https://bugs.webkit.org/show_bug.cgi?id=190522
2398
2399         * platform/wk2/http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Removed.
2400         I added  this wk2 expectation in r234658 after r234640.  r237104 effectively did the inverse of r234640,
2401         so behavior is back to how it was before then.  This makes the expectations reflect such.
2402
2403 2018-10-15  Chris Dumez  <cdumez@apple.com>
2404
2405         Experiment: target=_blank on anchors should imply rel=noopener
2406         https://bugs.webkit.org/show_bug.cgi?id=190481
2407
2408         Reviewed by Alex Christensen.
2409
2410         Update existing tests to reflect behavior change.
2411
2412         * TestExpectations:
2413         * http/tests/navigation/no-referrer-reset.html:
2414         * http/tests/security/resources/referrer-policy-redirect-link.html:
2415         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html:
2416         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html:
2417         * http/tests/security/xssAuditor/link-opens-new-window.html:
2418
2419 2018-10-15  Andy Estes  <aestes@apple.com>
2420
2421         [Apple Pay] New shipping methods are ignored when updating after the shippingaddresschange event
2422         https://bugs.webkit.org/show_bug.cgi?id=190560
2423         <rdar://problem/44559075>
2424
2425         Reviewed by Youenn Fablet.
2426
2427         * http/tests/ssl/applepay/ApplePayShippingAddressChangeEventErrors.https-expected.txt:
2428         * http/tests/ssl/applepay/ApplePayShippingAddressChangeEventErrors.https.html:
2429
2430 2018-10-15  Wenson Hsieh  <wenson_hsieh@apple.com>
2431
2432         [iOS] Can't select text after dismissing the keyboard when changing focus
2433         https://bugs.webkit.org/show_bug.cgi?id=190563
2434         <rdar://problem/44613559>
2435
2436         Reviewed by Tim Horton.
2437
2438         Add a new layout test to check that the user can make a selection by long pressing after the keyboard is
2439         dismissed due to changing the focused element.
2440
2441         * editing/selection/ios/select-text-after-changing-focus-expected.txt: Added.
2442         * editing/selection/ios/select-text-after-changing-focus.html: Added.
2443         * resources/ui-helper.js:
2444
2445         Also tweak the behavior of `UIHelper.waitForKeyboardToHide()`, so that it resolves immediately if the keyboard
2446         is not shown. This allows us to ensure that tests which use `UIHelper.waitForKeyboardToHide()` are robust in the
2447         case where they wait for another action to complete (e.g. a simulated tap) prior to registering a keyboard
2448         hiding callback.
2449
2450         (window.UIHelper.waitForKeyboardToHide.return.new.Promise):
2451         (window.UIHelper.waitForKeyboardToHide):
2452
2453 2018-10-15  Andy Estes  <aestes@apple.com>
2454
2455         [Apple Pay] Payment authorization results with ApplePayErrors should never be considered final
2456         https://bugs.webkit.org/show_bug.cgi?id=190559
2457         <rdar://problem/37250908>
2458
2459         Reviewed by Anders Carlsson.
2460
2461         * http/tests/ssl/applepay/ApplePaySessionFinalState.https-expected.txt: Added.
2462         * http/tests/ssl/applepay/ApplePaySessionFinalState.https.html: Added.
2463
2464 2018-10-15  Commit Queue  <commit-queue@webkit.org>
2465
2466         Unreviewed, rolling out r237054.
2467         https://bugs.webkit.org/show_bug.cgi?id=190593
2468
2469         "this regressed JetStream 2 by 6% on iOS" (Requested by
2470         saamyjoon on #webkit).
2471
2472         Reverted changeset:
2473
2474         "[JSC] JSC should have "parseFunction" to optimize Function
2475         constructor"
2476         https://bugs.webkit.org/show_bug.cgi?id=190340
2477         https://trac.webkit.org/changeset/237054
2478
2479 2018-10-15  Wenson Hsieh  <wenson_hsieh@apple.com>
2480
2481         Changing view scale should zoom to initial scale if the page is already at initial scale
2482         https://bugs.webkit.org/show_bug.cgi?id=190570
2483         <rdar://problem/45261877>
2484
2485         Reviewed by Tim Horton.
2486
2487         * fast/viewport/ios/initial-scale-after-changing-view-scale-expected.txt: Added.
2488         * fast/viewport/ios/initial-scale-after-changing-view-scale.html: Added.
2489
2490         Add a new layout test to verify that:
2491         1.  Changing view scale before the page scale factor is changed by the user zooms to the new initial scale.
2492         2.  Changing view scale after the user changes the page scale to something different than initial scale does not
2493             cause the page to zoom to the new initial scale.
2494         3.  Changing view scale after the user changes the page scale factor back to initial scale causes the page to
2495             zoom to the new initial scale.
2496
2497         * resources/basic-gestures.js:
2498
2499         Make a small tweak in `doubleTapToZoomAtPoint` to ensure that both single taps as well as zooming are complete
2500         before invoking UIScriptController completion.
2501
2502         (return.new.Promise):
2503
2504 2018-10-15  Yoshiaki Jitsukawa  <yoshiaki.jitsukawa@sony.com>
2505
2506         [Cairo] Incorrect rendering for 135-deg skews
2507         https://bugs.webkit.org/show_bug.cgi?id=190513
2508
2509         Reviewed by Žan Doberšek.
2510
2511         * fast/transforms/skew-x-135deg-with-gradient-expected.html: Added.
2512         * fast/transforms/skew-x-135deg-with-gradient.html: Added.
2513         * fast/transforms/skew-y-135deg-with-gradient-expected.html: Added.
2514         * fast/transforms/skew-y-135deg-with-gradient.html: Added.
2515
2516 2018-10-15  Chris Dumez  <cdumez@apple.com>
2517
2518         Restrict browsing context lookup by name to frames that are related to one another
2519         https://bugs.webkit.org/show_bug.cgi?id=190475
2520
2521         Reviewed by Alex Christensen.
2522
2523         * http/tests/dom/new-window-can-target-opener-expected.txt: Added.
2524         * http/tests/dom/new-window-can-target-opener.html: Added.
2525         * http/tests/dom/noopener-window-cannot-target-opener-expected.txt: Added.
2526         * http/tests/dom/noopener-window-cannot-target-opener.html: Added.
2527         * http/tests/dom/noopener-window-not-targetable-expected.txt: Added.
2528         * http/tests/dom/noopener-window-not-targetable.html: Added.
2529         * http/tests/dom/noopener-window-not-targetable2-expected.txt: Added.
2530         * http/tests/dom/noopener-window-not-targetable2.html: Added.
2531         * http/tests/dom/noreferrer-window-not-targetable-expected.txt: Added.
2532         * http/tests/dom/noreferrer-window-not-targetable.html: Added.
2533         * http/tests/dom/opened-window-not-targetable-after-disowning-opener-expected.txt: Added.
2534         * http/tests/dom/opened-window-not-targetable-after-disowning-opener.html: Added.
2535         * http/tests/dom/resources/new-window-can-target-opener-win.html: Added.
2536         * http/tests/dom/resources/noopener-window-cannot-target-opener-win.html: Added.
2537         Add layout test coverage.
2538
2539         * fast/dom/Window/a-rel-noopener-expected.txt:
2540         * fast/dom/Window/area-rel-noopener-expected.txt:
2541         * fast/dom/Window/resources/rel-noopener.js:
2542         * http/tests/navigation/no-referrer-target-blank-expected.txt:
2543         * http/tests/navigation/resources/no-referrer-helper.php:
2544         * platform/mac-wk1/imported/w3c/web-platform-tests/html/browsers/windows/noreferrer-window-name-expected.txt:
2545         * platform/wk2/imported/w3c/web-platform-tests/html/browsers/windows/noreferrer-window-name-expected.txt:
2546         Update / rebaseline existing tests to reflect behavior change.
2547
2548 2018-10-15  YUHAN WU  <yuhan_wu@apple.com>
2549
2550         Implement error handler of MediaRecorder
2551         https://bugs.webkit.org/show_bug.cgi?id=190438
2552
2553         Reviewed by Youenn Fablet.
2554
2555         Since dataavailable event has not been implemented, skip three MediaRecorder-related tests now.
2556         We will need to reenable those tests once implementing the dataavailable event for MediaRecorder.
2557
2558         * TestExpectations:
2559
2560 2018-10-15  Chris Dumez  <cdumez@apple.com>
2561
2562         Window's properties such as 'location' should not become null when it loses its browsing context
2563         https://bugs.webkit.org/show_bug.cgi?id=190539
2564
2565         Reviewed by Alex Christensen.
2566
2567         * http/tests/dom/cross-origin-detached-window-properties-expected.txt: Added.
2568         * http/tests/dom/cross-origin-detached-window-properties.html: Added.
2569         * http/tests/dom/resources/post-message-to-parent-when-loaded.html: Added.
2570         * http/tests/dom/same-origin-detached-window-properties-expected.txt: Added.
2571         * http/tests/dom/same-origin-detached-window-properties.html: Added.
2572         Add layout test coverage.
2573
2574         * fast/frames/detached-frame-property-expected.txt:
2575         * fast/frames/detached-frame-property.html:
2576         * http/tests/security/named-window-property-from-same-origin-inactive-document-expected.txt:
2577         * http/tests/security/named-window-property-from-same-origin-inactive-document.html:
2578         * http/tests/security/xss-DENIED-named-window-property-from-cross-origin-inactive-document-expected.txt:
2579         * http/tests/security/xss-DENIED-named-window-property-from-cross-origin-inactive-document.html:
2580         * http/tests/security/xss-DENIED-script-inject-into-inactive-window.html:
2581         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html:
2582         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html:
2583         * http/tests/security/xss-DENIED-script-inject-into-inactive-window3.html:
2584         Update existing layout tests to reflect behavior change.
2585
2586 2018-10-15  Claudio Saavedra  <csaavedra@igalia.com>
2587
2588         [GStreamer] MediaStream test failing since r236877
2589
2590         Unreviewed gardening
2591         * platform/gtk/TestExpectations:
2592         * platform/wpe/TestExpectations:
2593
2594 2018-10-12  Wenson Hsieh  <wenson_hsieh@apple.com>
2595
2596         [iOS] Allow SPI clients to lay out at arbitrarily scaled sizes and scale to fit the view
2597         https://bugs.webkit.org/show_bug.cgi?id=190504
2598         <rdar://problem/45117760>
2599
2600         Reviewed by Tim Horton.
2601
2602         Add two new layout tests on iOS that change WKWebView's view scale, and measure the resulting window sizes and
2603         lengths of viewport units.
2604
2605         * fast/viewport/ios/constant-width-viewport-after-changing-view-scale-expected.txt: Added.
2606         * fast/viewport/ios/constant-width-viewport-after-changing-view-scale.html: Added.
2607
2608         Add a test page with a viewport meta tag that has a constant width and an explicit initial scale of 0.5.
2609
2610         * fast/viewport/ios/device-width-viewport-after-changing-view-scale-expected.txt: Added.
2611         * fast/viewport/ios/device-width-viewport-after-changing-view-scale.html: Added.
2612
2613         Add a test page with a viewport meta tag at device-width, with initial scale 1.
2614
2615         * resources/ui-helper.js:
2616         (window.UIHelper.setViewScale):
2617
2618         Add a convenience function that wraps a UI script invocation of `setViewScale` in a promise.
2619
2620         (window.UIHelper):
2621
2622 2018-10-12  Dawei Fenton  <realdawei@apple.com>
2623
2624         [Mojave Wk2] Layout Test http/tests/cache/disk-cache/disk-cache-validation-attachment.html is flaky
2625         https://bugs.webkit.org/show_bug.cgi?id=190323
2626
2627         Unreviewed, mark test as Flaky.
2628
2629         * platform/mac-wk2/TestExpectations:
2630
2631 2018-10-12  Per Arne Vollan  <pvollan@apple.com>
2632
2633         Layout Test editing/pasteboard/copy-paste-across-shadow-boundaries-with-style-2.html is failing
2634         https://bugs.webkit.org/show_bug.cgi?id=190520
2635
2636         Unreviewed test gardening.
2637
2638         * platform/win/TestExpectations:
2639
2640 2018-10-08  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
2641
2642         [JSC] JSC should have "parseFunction" to optimize Function constructor
2643         https://bugs.webkit.org/show_bug.cgi?id=190340
2644
2645         Reviewed by Mark Lam.
2646
2647         * fast/dom/attribute-event-listener-errors-expected.txt:
2648         * fast/events/attribute-listener-deletion-crash-expected.txt:
2649         * fast/events/window-onerror-syntax-error-in-attr-expected.txt:
2650         * js/dom/invalid-syntax-for-function-expected.txt:
2651         * js/dom/script-start-end-locations-expected.txt:
2652
2653 2018-10-11  Thibault Saunier  <tsaunier@igalia.com>
2654
2655         [GStreamer] Support arbitrary video resolution in getUserMedia API
2656         https://bugs.webkit.org/show_bug.cgi?id=189734
2657
2658         Implement arbitrary video resolution for the getUserMedia API in GStreamer.
2659
2660         Fix the MockRealtimeMediaSource device list to make devices properties match
2661         test expectations.
2662
2663         Reactivate tests that were failling because of that.
2664
2665         Reviewed by Xabier Rodriguez-Calvar.
2666
2667         * platform/gtk/TestExpectations:
2668         * platform/wpe/TestExpectations:
2669
2670 2018-10-11  Per Arne Vollan  <pvollan@apple.com>
2671
2672         Layout Test fast/forms/fieldset/fieldset-elements-htmlcollection.html is failing
2673         https://bugs.webkit.org/show_bug.cgi?id=190472
2674
2675         Unreviewed test gardening.
2676
2677         * platform/win/TestExpectations:
2678
2679 2018-10-11  Alejandro G. Castro  <alex@igalia.com>
2680
2681         [GTK][WPE] Add mediaDevices.enumerateDevices support
2682         https://bugs.webkit.org/show_bug.cgi?id=185761
2683
2684         Reviewed by Youenn Fablet.
2685
2686         Remove the failure expectation for the test
2687         media-devices-enumerate-devices.html. Just for the record we have
2688         also checked the following tests.
2689
2690         fast/mediastream/media-devices-enumerate-devices.html
2691         fast/mediastream/resources/enumerate-devices-frame.html
2692         http/tests/media/media-stream/enumerate-devices-source-id.html
2693         http/tests/media/media-stream/enumerate-devices-source-id-persistent.html
2694         http/tests/media/media-stream/resources/enumerate-devices-source-id-frame.html
2695
2696         * platform/gtk/TestExpectations:
2697
2698 2018-10-10  Devin Rousso  <drousso@apple.com>
2699
2700         Web Inspector: create special Network waterfall for media events
2701         https://bugs.webkit.org/show_bug.cgi?id=189773
2702         <rdar://problem/44626605>
2703
2704         Reviewed by Joseph Pecoraro.
2705
2706         * http/tests/inspector/dom/didFireEvent-expected.txt: Added.
2707         * http/tests/inspector/dom/didFireEvent.html: Added.
2708
2709         * inspector/unit-tests/array-utilities-expected.txt:
2710         * inspector/unit-tests/array-utilities.html:
2711
2712 2018-10-10  Brent Fulgham  <bfulgham@apple.com>
2713
2714         Only report the supported WebGL version
2715         https://bugs.webkit.org/show_bug.cgi?id=190434
2716         <rdar://problem/45024677>
2717
2718         Reviewed by Dean Jackson.
2719
2720         * fast/canvas/webgl/gl-getstring-expected.txt:
2721         * fast/canvas/webgl/gl-getstring.html:
2722
2723 2018-10-10  Tim Horton  <timothy_horton@apple.com>
2724
2725         Share more WKShareSheet code between macOS and iOS, and fix a few bugs
2726         https://bugs.webkit.org/show_bug.cgi?id=190420
2727
2728         Reviewed by Simon Fraser.
2729
2730         * fast/events/ios/share-expected.txt: Removed.
2731         * fast/events/ios/share.html: Removed.
2732         * fast/web-share/share.html: Added.
2733         * fast/web-share/share-expected.txt: Added.
2734         * resources/ui-helper.js:
2735         (window.UIHelper.setShareSheetCompletesImmediatelyWithResolution):
2736         (window.UIHelper.invokeShareSheetWithResolution): Deleted.
2737         Move the existing share sheet test to fast/web-share so it runs on both macOS and iOS.
2738
2739         * fast/web-share/share-with-no-url.html: Added.
2740         * fast/web-share/share-with-no-url-expected.txt: Added.
2741         Add a new test that the sheet is successfully invoked even when a URL is not provided.
2742
2743 2018-10-10  Devin Rousso  <drousso@apple.com>
2744
2745         Web Inspector: notify the frontend when a canvas has started recording via console.record
2746         https://bugs.webkit.org/show_bug.cgi?id=190306
2747
2748         Reviewed by Brian Burg.
2749
2750         * inspector/canvas/recording-2d.html:
2751         * inspector/canvas/recording-bitmaprenderer.html:
2752         * inspector/canvas/recording-webgl-snapshots.html:
2753         * inspector/canvas/recording-webgl.html:
2754         * inspector/canvas/resources/recording-utilities.js:
2755         (TestPage.registerInitializer.window.startRecording):
2756         Wait to complete the test until the "LastFrame" event is fired, ensuring that any running
2757         commands don't affect the next test case.
2758
2759 2018-10-09  Antoine Quint  <graouts@apple.com>
2760
2761         Remove the frames() timing function
2762         https://bugs.webkit.org/show_bug.cgi?id=190034
2763         <rdar://problem/44827544>
2764
2765         Reviewed by Dean Jackson.
2766
2767         * legacy-animation-engine/transitions/frames-timing-function-expected.txt:
2768         * legacy-animation-engine/transitions/transitions-parsing-expected.txt:
2769         * transitions/frames-timing-function-expected.txt:
2770         * transitions/transitions-parsing-expected.txt:
2771
2772 2018-10-09  Devin Rousso  <drousso@apple.com>
2773
2774         Web Inspector: show redirect requests in Network and Timelines tabs
2775         https://bugs.webkit.org/show_bug.cgi?id=150005
2776         <rdar://problem/5378164>
2777
2778         Reviewed by Joseph Pecoraro.
2779
2780         * http/tests/inspector/network/resource-timing-expected.txt:
2781         * http/tests/inspector/network/resource-timing.html:
2782
2783         * http/tests/inspector/network/resources/delay.php: Added.
2784         * http/tests/inspector/network/resources/redirect.php: Added.
2785
2786 2018-10-09  Said Abou-Hallawa  <sabouhallawa@apple.com>
2787
2788         REGRESSION(r234620): SVGLangSpace::svgAttributeChanged() should invalidate the renderer of the SVGGeometryElement descendant only
2789         https://bugs.webkit.org/show_bug.cgi?id=190411
2790
2791         Reviewed by Simon Fraser.
2792
2793         * svg/dynamic-updates/SVGStopElement-dom-xml-lang-attrr-expected.txt: Added.
2794         * svg/dynamic-updates/SVGStopElement-dom-xml-lang-attrr.html: Added.
2795
2796 2018-10-09  Chris Dumez  <cdumez@apple.com>
2797
2798         Anchor target should be ignored on activation when the download attribute is set
2799         https://bugs.webkit.org/show_bug.cgi?id=190408
2800
2801         Reviewed by Geoffrey Garen.
2802
2803         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-base-target-popup-not-allowed-expected.txt: Added.
2804         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-base-target-popup-not-allowed.html: Added.
2805         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target-popup-not-allowed-expected.txt: Added.
2806         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target-popup-not-allowed.html: Added.
2807         Add layout test coverage.
2808
2809         * http/tests/download/anchor-load-after-download.html:
2810         * http/tests/workers/service/resources/registration-task-queue-scheduling-1.js:
2811         Update existing WK2-only layout tests to call testRunner.setCanOpenWindows() since they rely on
2812         opening a new window. We failed to notice the issue because these tests are not run on WK1.
2813
2814         * platform/ios-wk2/TestExpectations:
2815         * platform/mac-wk1/TestExpectations:
2816         * platform/win/TestExpectations:
2817         Skip new tests on WebKit1 since the download attribute is only supported on WebKit2.
2818
2819 2018-10-09  Chris Dumez  <cdumez@apple.com>
2820
2821         Unreviewed, skip fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target.html on iOS.
2822
2823         The download attribute is not supported on iOS yet.
2824
2825         * platform/ios-wk2/TestExpectations:
2826
2827 2018-10-09  Devin Rousso  <drousso@apple.com>
2828
2829         Web Inspector: REGRESSION: fix canvas test failures after r236952 and r236954
2830         https://bugs.webkit.org/show_bug.cgi?id=190403
2831
2832         Reviewed by Joseph Pecoraro.
2833
2834         * inspector/canvas/create-context-webmetal.html:
2835         Fix missing parenthesis.
2836
2837         * inspector/canvas/resources/shaderProgram-utilities.js:
2838         (createProgram):
2839         (TestPage.registerInitializer.awaitProgramAdded):
2840         (TestPage.registerInitializer):
2841         (TestPage.registerInitializer.window.initializeTestSuite):
2842         Replace the `WI.CanvasManager` events (which were removed) with listeners for events on the
2843         specific `WI.Canvas`.
2844
2845 2018-10-09  Chris Dumez  <cdumez@apple.com>
2846
2847         REGRESSION (Safari 12): Download of Blob URL fails
2848         https://bugs.webkit.org/show_bug.cgi?id=190351
2849         <rdar://problem/45091181>
2850
2851         Reviewed by Geoffrey Garen.
2852
2853         Add layout test coverage.
2854
2855         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target-expected.txt: Added.
2856         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-blank-target.html: Added.
2857
2858 2018-10-09  Youenn Fablet  <youenn@apple.com>
2859
2860         Add support for IceCandidate stats
2861         https://bugs.webkit.org/show_bug.cgi?id=190329
2862
2863         Reviewed by Eric Carlson.
2864
2865         * webrtc/candidate-stats-expected.txt: Added.
2866         * webrtc/candidate-stats.html: Added.
2867         * webrtc/routines.js:
2868         * webrtc/video-stats.html:
2869
2870 2018-10-09  Philippe Normand  <pnormand@igalia.com>
2871
2872         [GStreamer] Stealing cross-origin video pixel with HLS
2873         https://bugs.webkit.org/show_bug.cgi?id=190003
2874
2875         Reviewed by Xabier Rodriguez-Calvar.
2876
2877         * platform/gtk/TestExpectations: Unflag now-passing test.
2878
2879 2018-10-08  Devin Rousso  <drousso@apple.com>
2880
2881         Fix inspector/canvas/recording.html after r236952
2882
2883         Unreviewed. Test gardening.
2884
2885         * inspector/canvas/recording-expected.txt:
2886         * inspector/canvas/recording.html:
2887         Recordings default to only capturing a single frame, so add a parameter to ensure that we
2888         are capturing multiple frames.
2889
2890 2018-10-08  Wenson Hsieh  <wenson_hsieh@apple.com>
2891
2892         [Cocoa] [WK2] Add support for text alignment and text lists in font attributes
2893         https://bugs.webkit.org/show_bug.cgi?id=190342
2894         <rdar://problem/44767118>
2895
2896         Reviewed by Tim Horton.
2897
2898         * editing/mac/attributed-string/attributed-string-for-typing-expected.txt:
2899         * editing/mac/attributed-string/attributed-string-for-typing-with-color-filter-expected.txt:
2900         * platform/mac-sierra/editing/mac/attributed-string/attributed-string-for-typing-expected.txt:
2901         * platform/mac-sierra/editing/mac/attributed-string/attributed-string-for-typing-with-color-filter-expected.txt:
2902
2903         Rebaseline these two layout tests, now that typing attributes include an NSParagraphStyle.
2904
2905 2018-10-08  Justin Fan  <justin_fan@apple.com>
2906
2907         WebGPU: Rename old WebGPU prototype to WebMetal
2908         https://bugs.webkit.org/show_bug.cgi?id=190325
2909         <rdar://problem/44990443>
2910
2911         Reviewed by Dean Jackson.
2912
2913         Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.
2914
2915         * fast/canvas/webgpu/webgpu-runtime-flag-expected.txt: Removed.
2916         * fast/canvas/webmetal/webmetal-dispatch-expected.txt: Renamed from LayoutTests/fast/canvas/webgpu/webgpu-dispatch-expected.txt.
2917         * fast/canvas/webmetal/webmetal-dispatch.html: Renamed from LayoutTests/fast/canvas/webgpu/webgpu-dispatch.html.
2918         * fast/canvas/webmetal/webmetal-runtime-flag-expected.txt: Added.
2919         * fast/canvas/webmetal/webmetal-runtime-flag.html: Renamed from LayoutTests/fast/canvas/webgpu/webgpu-runtime-flag.html.
2920         * inspector/canvas/create-context-webmetal-expected.txt: Renamed from LayoutTests/inspector/canvas/create-context-webgpu-expected.txt.
2921         * inspector/canvas/create-context-webmetal.html: Renamed from LayoutTests/inspector/canvas/create-context-webgpu.html.
2922         * inspector/canvas/resolveCanvasContext-webgpu-expected.txt: Removed.
2923         * inspector/canvas/resolveCanvasContext-webmetal-expected.txt: Added.
2924         * inspector/canvas/resolveCanvasContext-webmetal.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgpu.html.
2925         * platform/gtk/TestExpectations:
2926         * platform/ios/TestExpectations:
2927         * platform/mac/TestExpectations:
2928         * platform/win/TestExpectations:
2929
2930 2018-10-08  Devin Rousso  <drousso@apple.com>
2931
2932         Web Inspector: allow multiple canvases to be recorded at the same time
2933         https://bugs.webkit.org/show_bug.cgi?id=190305
2934
2935         Reviewed by Brian Burg.
2936
2937         * inspector/canvas/recording-2d.html:
2938         * inspector/canvas/recording-bitmaprenderer.html:
2939         * inspector/canvas/recording-expected.html:
2940         * inspector/canvas/recording-webgl.html:
2941         * inspector/canvas/recording.html:
2942         * inspector/canvas/resources/recording-utilities.js:
2943         (TestPage.registerInitializer.window.startRecording.handleRecordingProgress):
2944         (TestPage.registerInitializer.window.startRecording):
2945         (TestPage.registerInitializer.window.consoleRecord):
2946         (TestPage.registerInitializer):
2947
2948 2018-10-08  Dean Jackson  <dino@apple.com>
2949
2950         CrashTracer: backboardd at Recursion :: QuartzCore: CA::Render::Updater::prepare_sublayer0
2951         https://bugs.webkit.org/show_bug.cgi?id=190376
2952         <rdar://problem/44986520>
2953
2954         Reviewed by Tim Horton.
2955
2956         * compositing/layer-creation/deep-tree.html:
2957
2958 2018-10-08  Aditya Keerthi  <akeerthi@apple.com>
2959
2960         Make <input type=color> a runtime enabled (on-by-default) feature
2961         https://bugs.webkit.org/show_bug.cgi?id=189162
2962
2963         Reviewed by Wenson Hsieh and Tim Horton.
2964
2965         Rebaseline layout tests after enabling input type=color by default.
2966
2967         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt:
2968         * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt:
2969         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt:
2970         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt:
2971         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt:
2972         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt:
2973         * platform/ios/fast/forms/color/input-appearance-color-expected.txt:
2974         * platform/ios/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-elements-filter-expected.txt: Added.
2975         * platform/ios/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/color-expected.txt:
2976         * platform/mac/accessibility/roles-exposed-expected.txt:
2977         * platform/mac/fast/selectors/read-only-read-write-input-basics-expected.txt:
2978         * platform/mac/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt:
2979         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt:
2980         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt:
2981         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt:
2982         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt:
2983         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt:
2984         * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt:
2985         * platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt:
2986
2987 2018-10-08  Ryan Haddad  <ryanhaddad@apple.com>
2988
2989         Move test expectations from ios-12 to ios directory
2990         https://bugs.webkit.org/show_bug.cgi?id=189839
2991
2992         Unreviewed test gardening..
2993
2994         * platform/ios-11/http/tests/quicklook/hide-referer-on-navigation-expected.txt: Removed.
2995         * platform/ios-11/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt: Removed.
2996         * platform/ios-11/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/test_hkdf.https-expected.txt: Removed.
2997         * platform/ios-11/platform/ios/ios/fast/text/opticalFont-expected.txt: Removed.
2998         * platform/ios-11/platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt: Removed.
2999         * platform/ios-11/platform/ios/ios/fast/text/opticalFontWithWeight-expected.txt: Removed.
3000         * platform/ios-11/quicklook/powerpoint-expected.txt: Removed.
3001         * platform/ios-11/quicklook/powerpoint-legacy-expected.txt: Removed.
3002         * platform/ios-11/quicklook/word-expected.txt: Removed.
3003         * platform/ios-11/quicklook/word-legacy-expected.txt: Removed.
3004         * platform/ios-11/svg/batik/text/longTextOnPath-expected.txt: Removed.
3005         * platform/ios-12/TestExpectations: Removed.
3006         * platform/ios/TestExpectations:
3007
3008 2018-10-08  Truitt Savell  <tsavell@apple.com>
3009
3010         Attempt to fix test failure after 236915
3011         https://bugs.webkit.org/show_bug.cgi?id=190352
3012
3013         Unreviewed Test Gardening
3014
3015         * platform/mac-highsierra/hkdf.https.worker-expected.txt: Removed.
3016         * platform/mac/imported/w3c/canvas/2d.shadow.gradient.basic-expected.png: Removed.
3017         * platform/mac/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt:
3018
3019 2018-10-08  Truitt Savell  <tsavell@apple.com>
3020
3021         Moving files to fix failures introduced in r236915
3022         https://bugs.webkit.org/show_bug.cgi?id=190352
3023
3024         Unreviewed test gardening 
3025
3026         * platform/mac-highsierra/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt: Copied from LayoutTests/platform/mac/hkdf.https.worker-expected.txt.
3027         * platform/mac/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt: Renamed from LayoutTests/platform/mac/hkdf.https.worker-expected.txt.
3028
3029 2018-10-08  Devin Rousso  <drousso@apple.com>
3030
3031         Web Inspector: group media network entries by the node that triggered the request
3032         https://bugs.webkit.org/show_bug.cgi?id=189606
3033         <rdar://problem/44438527>
3034
3035         Reviewed by Brian Burg.
3036
3037         * http/tests/inspector/network/resource-initiatorNode-expected.txt: Added.
3038         * http/tests/inspector/network/resource-initiatorNode.html: Added.
3039
3040         * inspector/canvas/requestNode.html:
3041         Test case no longer needed since the document is always requested once it's available.
3042
3043 2018-10-08  Andy Estes  <aestes@apple.com>
3044
3045         [Payment Request] Requests should be aborted after details settle when the user cancels
3046         https://bugs.webkit.org/show_bug.cgi?id=190333
3047
3048         Reviewed by Alex Christensen.
3049
3050         * http/tests/paymentrequest/payment-request-show-method.https-expected.txt:
3051         * http/tests/paymentrequest/payment-request-show-method.https.html:
3052
3053 2018-10-08  Ryan Haddad  <ryanhaddad@apple.com>
3054
3055         REGRESSION (r235630?): [Mojave WK1] Layout test compositing/filters/opacity-change-on-filtered-paints-into-ancestor.html is a flaky image failure
3056         https://bugs.webkit.org/show_bug.cgi?id=189756
3057
3058         Unreviewed test gardening.
3059
3060         * platform/mac-wk1/TestExpectations:
3061
3062 2018-10-08  David Fenton  <david_fenton@apple.com>
3063
3064         Layout Tests editing/deleting/delete-emoji.html editing/deleting/delete-emoji-1.html editing/deleting/delete-emoji-9.html are passing.
3065         https://bugs.webkit.org/show_bug.cgi?id=190353
3066
3067         Unreviewed. Remove the tests from TestExpectations file.
3068
3069         * platform/mac/TestExpectations:
3070
3071 2018-10-08  Dawei Fenton  <realdawei@apple.com>
3072
3073         Layout Tests editing/deleting/delete-emoji.html editing/deleting/delete-emoji-1.html editing/deleting/delete-emoji-9.html are passing.
3074         https://bugs.webkit.org/show_bug.cgi?id=190353
3075
3076         Unreviewed test gardening.
3077
3078         * platform/mac/TestExpectations:
3079
3080 2018-10-08  Truitt Savell  <tsavell@apple.com>
3081
3082         Rebaseline imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker.html for Mojave
3083         https://bugs.webkit.org/show_bug.cgi?id=190352
3084
3085         Unreviewed test Gardening
3086
3087         * platform/mac-highsierra/hkdf.https.worker-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt.
3088         * platform/mac/hkdf.https.worker-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.https.worker-expected.txt.
3089         * platform/mac/imported/w3c/canvas/2d.shadow.gradient.basic-expected.png: Added.
3090
3091 2018-10-05  Devin Rousso  <drousso@apple.com>
3092
3093         Web Inspector: refactor constructor of WI.Resource
3094         https://bugs.webkit.org/show_bug.cgi?id=190318
3095
3096         Reviewed by Joseph Pecoraro.
3097
3098         * http/tests/inspector/network/har/har-basic.html:
3099         * inspector/unit-tests/resource-collection.html:
3100
3101 2018-10-05  Joseph Pecoraro  <pecoraro@apple.com>
3102
3103         Try to unflake inspector/layers/layerTreeDidChange.html
3104
3105         Unreviewed. Test gardening.
3106
3107         * inspector/layers/layerTreeDidChange.html:
3108         Force a layout early in the test to try to force layout tree
3109         update events in the expected sequence.
3110
3111 2018-10-05  Antoine Quint  <graouts@apple.com>
3112
3113         [Web Animations] REGRESSION (r236809): crash under AnimationTimeline::updateCSSAnimationsForElement()
3114         https://bugs.webkit.org/show_bug.cgi?id=190307
3115         <rdar://problem/45009901>
3116
3117         Reviewed by Dean Jackson.
3118
3119         This test was also crashing even though it should not have been using the new animation engine. Adding the
3120         flag to opt into the legacy animation engine.
3121
3122         * legacy-animation-engine/animations/animation-shorthand-removed.html:
3123
3124 2018-10-04  Chris Dumez  <cdumez@apple.com>
3125
3126         A Document / Window should lose its browsing context as soon as its iframe is removed from the document
3127         https://bugs.webkit.org/show_bug.cgi?id=190282
3128
3129         Reviewed by Ryosuke Niwa.
3130
3131         Update existing layout test to reflect behavior change.
3132
3133         * fast/dom/Window/BarInfo-after-frame-removed.html:
3134         * fast/dom/Window/dom-access-from-closure-iframe-expected.txt:
3135         * fast/dom/Window/dom-access-from-closure-window-expected.txt:
3136         * fast/dom/Window/dom-access-from-closure-window-with-gc-expected.txt:
3137         * fast/dom/Window/resources/dom-access-from-closure-iframe-child.html:
3138         * fast/dom/Window/resources/dom-access-from-closure-window-child.html:
3139         * fast/events/resources/before-unload-return-string-conversion-frame.html:
3140         * fast/parser/resources/set-parent-to-javascript-url.html:
3141         * http/tests/media/media-stream/disconnected-frame.html:
3142         * http/tests/security/contentSecurityPolicy/resources/checkDidSameOriginChildWindowLoad.js:
3143         (checkDidLoad):
3144         * http/tests/security/named-window-property-from-same-origin-inactive-document-expected.txt:
3145         * http/tests/security/named-window-property-from-same-origin-inactive-document.html:
3146         * http/tests/security/xss-DENIED-contentWindow-eval-expected.txt:
3147         * http/tests/security/xss-DENIED-named-window-property-from-cross-origin-inactive-document-expected.txt:
3148         * http/tests/security/xss-DENIED-named-window-property-from-cross-origin-inactive-document.html:
3149
3150 2018-10-04  Ross Kirsling  <ross.kirsling@sony.com>
3151
3152         Unreviewed test gardening for WinCairo (and one cross-platform test). 
3153
3154         * TestExpectations:
3155         Remove a cross-platform failure that seems to be passing on all platforms now.
3156
3157         * platform/wincairo/TestExpectations:
3158         * platform/wincairo/editing/pasteboard/emacs-ctrl-k-y-001-expected.txt: Added.
3159
3160 2018-10-04  Matt Baker  <mattbaker@apple.com>
3161
3162         Web Inspector: Table should support multiple selection and Cmd-click behavior
3163         https://bugs.webkit.org/show_bug.cgi?id=189705
3164         <rdar://problem/44571170>
3165
3166         Reviewed by Devin Rousso.
3167
3168         * inspector/table/resources/table-utilities.js: Added.
3169         (TestPage.registerInitializer.InspectorTest.TableDataSource):
3170         (TestPage.registerInitializer.InspectorTest.TableDataSource.prototype.get items):
3171         (TestPage.registerInitializer.InspectorTest.TableDataSource.prototype.tableNumberOfRows):
3172         (TestPage.registerInitializer.InspectorTest.TableDelegate):
3173         (TestPage.registerInitializer.InspectorTest.TableDelegate.prototype.tableSelectionDidChange):
3174         (TestPage.registerInitializer.InspectorTest.TableDelegate.prototype.tablePopulateCell):
3175         (TestPage.registerInitializer.InspectorTest.createTable):
3176         (TestPage.registerInitializer):
3177
3178         * inspector/table/table-selection-expected.txt: Added.
3179         * inspector/table/table-selection.html: Added.
3180         * inspector/unit-tests/index-set-expected.txt: Added.
3181         * inspector/unit-tests/index-set.html: Added.
3182
3183 2018-10-03  Ryosuke Niwa  <rniwa@webkit.org>
3184
3185         MutationRecord doesn't keep JS wrappers of target, addedNodes, and removedNodes alive
3186         https://bugs.webkit.org/show_bug.cgi?id=190277
3187
3188         Reviewed by Antti Koivisto.
3189
3190         Added two regression tests for making sure mutation observers and mutation records keep JS wrappers
3191         of the enqueued nodes alive. Also see r236799 for a previous failed attempt to add a similar test.
3192
3193         * fast/dom/MutationObserver/mutation-observer-keeps-js-wrappers-of-nodes-alive-expected.txt: Added.
3194         * fast/dom/MutationObserver/mutation-observer-keeps-js-wrappers-of-nodes-alive.html: Added.
3195         * fast/dom/MutationObserver/mutation-record-keeps-js-wrappers-of-nodes-alive-expected.txt: Added.
3196         * fast/dom/MutationObserver/mutation-record-keeps-js-wrappers-of-nodes-alive.html: Added.
3197
3198 2018-10-04  Devin Rousso  <drousso@apple.com>
3199
3200         Web Inspector: merge ProbeManager into DebuggerManager
3201         https://bugs.webkit.org/show_bug.cgi?id=190225
3202
3203         Reviewed by Joseph Pecoraro.
3204
3205         * http/tests/inspector/debugger/debugger-test.js:
3206         (TestPage.registerInitializer.InspectorTest.startTracingProbes):
3207         (TestPage.registerInitializer):
3208         * http/tests/inspector/resources/probe-test.js:
3209         (TestPage.registerInitializer.ProtocolTest.Probe.installTracingListeners):
3210         (TestPage.registerInitializer):
3211
3212 2018-10-04  Devin Rousso  <drousso@apple.com>
3213
3214         Web Inspector: some files not listed in OpenResourceDialog
3215         https://bugs.webkit.org/show_bug.cgi?id=190272
3216
3217         Reviewed by Joseph Pecoraro.
3218
3219         * inspector/unit-tests/resource-query-controller-expected.txt:
3220         * inspector/unit-tests/resource-query-controller.html:
3221
3222 2018-10-04  Jiewen Tan  <jiewen_tan@apple.com>
3223
3224         [WebAuthN] Move time out control from WebProcess to UIProcess
3225         https://bugs.webkit.org/show_bug.cgi?id=189642
3226         <rdar://problem/44476765>
3227
3228         Reviewed by Chris Dumez.
3229
3230         This patch also fixes some flaky behaviours regarding to the dirty ASN.1 decoder.
3231
3232         * http/wpt/webauthn/public-key-credential-create-failure-local-silent.https-expected.txt: Added.
3233         * http/wpt/webauthn/public-key-credential-create-failure-local-silent.https.html: Copied from LayoutTests/http/wpt/webauthn/public-key-credential-create-failure-local.https.html.
3234         * http/wpt/webauthn/public-key-credential-create-failure-local.https-expected.txt:
3235         * http/wpt/webauthn/public-key-credential-create-failure-local.https.html:
3236         * http/wpt/webauthn/public-key-credential-create-failure.https-expected.txt:
3237         * http/wpt/webauthn/public-key-credential-create-failure.https.html:
3238         * http/wpt/webauthn/public-key-credential-get-failure-local-silent.https-expected.txt: Added.
3239         * http/wpt/webauthn/public-key-credential-get-failure-local-silent.https.html: Copied from LayoutTests/http/wpt/webauthn/public-key-credential-get-failure-local.https.html.
3240         * http/wpt/webauthn/public-key-credential-get-failure-local.https-expected.txt:
3241         * http/wpt/webauthn/public-key-credential-get-failure-local.https.html:
3242         * http/wpt/webauthn/public-key-credential-get-failure.https-expected.txt:
3243         * http/wpt/webauthn/public-key-credential-get-failure.https.html:
3244         * http/wpt/webauthn/resources/util.js:
3245
3246 2018-10-04  Chris Dumez  <cdumez@apple.com>
3247
3248         Regression(r236779): Crash when changing the input element type from inside an 'input' event listener
3249         https://bugs.webkit.org/show_bug.cgi?id=190252
3250
3251         Reviewed by Alex Christensen.
3252
3253         Add layout test coverage.
3254
3255         * fast/dom/HTMLInputElement/change-type-in-click-event-listener-expected.txt: Added.
3256         * fast/dom/HTMLInputElement/change-type-in-click-event-listener.html: Added.
3257         * fast/dom/HTMLInputElement/change-type-in-input-event-listener-expected.txt: Added.
3258         * fast/dom/HTMLInputElement/change-type-in-input-event-listener.html: Added.
3259
3260 2018-10-04  YUHAN WU  <yuhan_wu@apple.com>
3261
3262         runtime flag and IDL for MediaRecorder
3263         https://bugs.webkit.org/show_bug.cgi?id=190018
3264
3265         Reviewed by Youenn Fablet and Chris Dumez.
3266
3267         * platform/win/TestExpectations:
3268         * fast/mediacapturefromelement/CanvasCaptureMediaStream-capture-out-of-DOM-element-expected.txt:
3269         * fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0-expected.txt:
3270         * fast/mediacapturefromelement/CanvasCaptureMediaStream-imagebitmaprenderingcontext-expected.txt:
3271
3272 2018-10-04  Chris Dumez  <cdumez@apple.com>
3273
3274         Unreviewed, rolling out r236803.
3275
3276         Caused crashes on some bots
3277
3278         Reverted changeset:
3279
3280         "Regression(r236779): Crash when changing the input element
3281         type from inside an 'input' event listener"
3282         https://bugs.webkit.org/show_bug.cgi?id=190252
3283         https://trac.webkit.org/changeset/236803
3284
3285 2018-10-03  Justin Michaud  <justin_michaud@apple.com>
3286
3287         Registered custom properties should allow inheritance to be controlled
3288         https://bugs.webkit.org/show_bug.cgi?id=190038
3289
3290         Reviewed by Antti Koivisto.
3291
3292         Add tests to check css registered custom properties with inherits. Also test
3293         calc expression evaluation for inherited registered custom properties.
3294
3295         * css-custom-properties-api/inherits-expected.txt: Added.
3296         * css-custom-properties-api/inherits.html: Added.
3297         * css-custom-properties-api/length-expected.txt: Added.
3298         * css-custom-properties-api/length.html: Added.
3299         * css-custom-properties-api/length2-expected.txt: Added.
3300         * css-custom-properties-api/length2.html: Added.
3301
3302 2018-10-03  Youenn Fablet  <youenn@apple.com>
3303
3304         Add VP8 support to WebRTC
3305         https://bugs.webkit.org/show_bug.cgi?id=189976
3306
3307         Reviewed by Eric Carlson.
3308
3309         * webrtc/audio-peer-connection-g722.html:
3310         * webrtc/routines.js:
3311         * webrtc/video-mute-vp8-expected.txt: Added.
3312         * webrtc/video-mute-vp8.html: Added.
3313
3314 2018-09-28  Jiewen Tan  <jiewen_tan@apple.com>
3315
3316         [WebCrypto] ECDSA could not deal with invalid signature inputs
3317         https://bugs.webkit.org/show_bug.cgi?id=189879
3318         <rdar://problem/44701276>
3319
3320         Reviewed by Brent Fulgham.
3321
3322         * crypto/subtle/ecdsa-verify-malformed-parameters-expected.txt:
3323         * crypto/subtle/ecdsa-verify-malformed-parameters.html:
3324
3325 2018-10-03  Antoine Quint  <graouts@apple.com>
3326
3327         [Web Animations] REGRESSION: setting 'animation-name: none' after a 'fill: forwards' animation has completed does not revert to the unanimated style
3328         https://bugs.webkit.org/show_bug.cgi?id=190257
3329         <rdar://problem/41341473>
3330
3331         Reviewed by Dean Jackson.
3332
3333         Add a test that checks that an animation with fill: forwards no longer applies to an element once it's been removed.
3334
3335         * animations/animation-fill-forwards-removal-expected.txt: Added.
3336         * animations/animation-fill-forwards-removal.html: Added.
3337
3338 2018-10-03  Chris Dumez  <cdumez@apple.com>
3339
3340         Regression(r236779): Crash when changing the input element type from inside an 'input' event listener
3341         https://bugs.webkit.org/show_bug.cgi?id=190252
3342
3343         Reviewed by Alex Christensen.
3344
3345         Add layout test coverage.
3346
3347         * fast/dom/HTMLInputElement/change-type-in-click-event-listener-expected.txt: Added.
3348         * fast/dom/HTMLInputElement/change-type-in-click-event-listener.html: Added.
3349         * fast/dom/HTMLInputElement/change-type-in-input-event-listener-expected.txt: Added.
3350         * fast/dom/HTMLInputElement/change-type-in-input-event-listener.html: Added.
3351
3352 2018-10-03  Matt Lewis  <jlewis3@apple.com>
3353
3354         Unreviewed, rolling out r236781.
3355
3356         The test added with this commit is timing out consistently.
3357
3358         Reverted changeset:
3359
3360         "GC can collect JS wrappers of nodes in the mutation records
3361         waiting to be delivered"
3362         https://bugs.webkit.org/show_bug.cgi?id=190115
3363         https://trac.webkit.org/changeset/236781
3364
3365 2018-10-03  Youenn Fablet  <youenn@apple.com>
3366
3367         Enable H264 simulcast
3368         https://bugs.webkit.org/show_bug.cgi?id=190167
3369
3370         Reviewed by Eric Carlson.
3371
3372         * TestExpectations:
3373         * webrtc/simulcast-h264-expected.txt: Added.
3374         * webrtc/simulcast-h264.html: Added.
3375
3376 2018-10-03  Ryosuke Niwa  <rniwa@webkit.org>
3377
3378         Enable selectionAcrossShadowBoundariesEnabled by default in WebKitLegacy
3379         https://bugs.webkit.org/show_bug.cgi?id=190238
3380
3381         Reviewed by Antti Koivisto.
3382
3383         Removed the unnecessary webkit-test-runner directive.
3384
3385         * editing/pasteboard/copy-paste-across-shadow-boundaries-1.html:
3386         * editing/pasteboard/copy-paste-across-shadow-boundaries-2.html:
3387         * editing/pasteboard/copy-paste-across-shadow-boundaries-3.html:
3388         * editing/pasteboard/copy-paste-across-shadow-boundaries-4.html:
3389         * editing/pasteboard/copy-paste-across-shadow-boundaries-with-style-1.html:
3390         * editing/pasteboard/copy-paste-across-shadow-boundaries-with-style-2.html:
3391         * editing/pasteboard/copy-paste-with-shadow-content.html:
3392         * editing/selection/selection-across-shadow-boundaries-mixed-editability-1.html:
3393         * editing/selection/selection-across-shadow-boundaries-mixed-editability-2.html:
3394         * editing/selection/selection-across-shadow-boundaries-mixed-editability-3.html:
3395         * editing/selection/selection-across-shadow-boundaries-mixed-editability-4.html:
3396         * editing/selection/selection-across-shadow-boundaries-mixed-editability-5.html:
3397         * editing/selection/selection-across-shadow-boundaries-readonly-1.html:
3398         * editing/selection/selection-across-shadow-boundaries-readonly-2.html:
3399         * editing/selection/selection-across-shadow-boundaries-readonly-3.html:
3400         * editing/selection/selection-across-shadow-boundaries-user-select-all-1.html:
3401
3402 2018-10-02  Fujii Hironori  <Hironori.Fujii@sony.com>
3403
3404         [WinCairo][BuildBot] archive-test-results fails to delete pywebsocket.ws.log-err.txt
3405         https://bugs.webkit.org/show_bug.cgi?id=190236
3406
3407         Unreviewed test gardening.
3408
3409         * platform/wincairo/TestExpectations: Skipped http/wpt and imported/w3c.
3410
3411 2018-10-02  Ryosuke Niwa  <rniwa@webkit.org>
3412
3413         Copying content with shadow DOM doesn't copy any contents
3414         https://bugs.webkit.org/show_bug.cgi?id=157443
3415
3416         Reviewed by Wenson Hsieh.
3417
3418         Added tests for copying and pasting across shadow boundaries with HTML and plain text.
3419
3420         * editing/pasteboard/copy-paste-across-shadow-boundaries-1-expected.txt: Added.
3421         * editing/pasteboard/copy-paste-across-shadow-boundaries-1.html: Added.
3422         * editing/pasteboard/copy-paste-across-shadow-boundaries-2-expected.txt: Added.
3423         * editing/pasteboard/copy-paste-across-shadow-boundaries-2.html: Added.
3424         * editing/pasteboard/copy-paste-across-shadow-boundaries-3-expected.txt: Added.
3425         * editing/pasteboard/copy-paste-across-shadow-boundaries-3.html: Added.
3426         * editing/pasteboard/copy-paste-across-shadow-boundaries-4-expected.txt: Added.
3427         * editing/pasteboard/copy-paste-across-shadow-boundaries-4.html: Added.
3428         * editing/pasteboard/copy-paste-across-shadow-boundaries-with-style-1-expected.txt: Added.
3429         * editing/pasteboard/copy-paste-across-shadow-boundaries-with-style-1.html: Added.
3430         * editing/pasteboard/copy-paste-across-shadow-boundaries-with-style-2-expected.txt: Added.
3431         * editing/pasteboard/copy-paste-across-shadow-boundaries-with-style-2.html: Added.
3432         * editing/pasteboard/copy-paste-with-shadow-content-expected.txt: Added.
3433         * editing/pasteboard/copy-paste-with-shadow-content.html: Added.
3434
3435 2018-10-01  Ryosuke Niwa  <rniwa@webkit.org>
3436
3437         GC can collect JS wrappers of nodes in the mutation records waiting to be delivered
3438         https://bugs.webkit.org/show_bug.cgi?id=190115
3439
3440         Reviewed by Geoffrey Garen.
3441
3442         Added a regression test.
3443
3444         * fast/dom/MutationObserver/mutation-observer-retains-js-wrappers-of-targets-alive-expected.txt: Added.
3445         * fast/dom/MutationObserver/mutation-observer-retains-js-wrappers-of-targets-alive.html: Added.
3446
3447 2018-10-02  Chris Dumez  <cdumez@apple.com>
3448
3449         radio / checkbox inputs should fire "click, input, change" events in order when clicked
3450         https://bugs.webkit.org/show_bug.cgi?id=190223
3451
3452         Reviewed by Ryosuke Niwa.
3453
3454         Update existing test to reflect behavior change. I have verified that our new behavior
3455         on this test is consistent with Gecko and Chrome.
3456
3457         * fast/forms/radio/radio-group-keyboard-change-event-expected.txt:
3458         * fast/forms/radio/radio-group-keyboard-change-event.html:
3459
3460 2018-10-02  Chris Dumez  <cdumez@apple.com>
3461
3462         fieldset.elements should return an HTMLCollection instead of an HTMLFormControlsCollection
3463         https://bugs.webkit.org/show_bug.cgi?id=190218
3464
3465         Reviewed by Alex Christensen.
3466
3467         Update existing tests to reflect behavior change, after checking that our behavior is consistent
3468         with Gecko and Blink on these tests.
3469
3470         * fast/forms/fieldset/fieldset-elements-expected.txt:
3471         * fast/forms/fieldset/fieldset-elements-htmlcollection-expected.txt: Added.
3472         * fast/forms/fieldset/fieldset-elements-htmlcollection.html: Added.
3473         * fast/forms/fieldset/fieldset-elements.html:
3474         * fast/forms/fieldset/fieldset-form-collection-radionode-list-expected.txt: Removed.
3475         * fast/forms/fieldset/fieldset-form-collection-radionode-list.html: Removed.
3476
3477 2018-10-02  Devin Rousso  <drousso@apple.com>
3478
3479         Web Inspector: prevent layer events from firing until the layer information is re-requested
3480         https://bugs.webkit.org/show_bug.cgi?id=190159
3481
3482         Reviewed by Joseph Pecoraro.
3483
3484         * inspector/layers/layerTreeDidChange-expected.txt: Added.
3485         * inspector/layers/layerTreeDidChange.html: Added.
3486
3487 2018-10-02  Devin Rousso  <drousso@apple.com>
3488
3489         Web Inspector: rename frontend managers to be more consistent with backend agents
3490         https://bugs.webkit.org/show_bug.cgi?id=190160
3491
3492         Reviewed by Joseph Pecoraro.
3493
3494         * http/tests/inspector/dom/cross-domain-inspected-node-access.html:
3495         * http/tests/inspector/dom/disconnect-dom-tree-after-main-frame-navigation.html:
3496         * http/tests/inspector/dom/shapes-test.js:
3497         * http/tests/inspector/network/har/har-page.html:
3498         * http/tests/inspector/network/loadResource-insecure-resource.html:
3499         * http/tests/inspector/network/resource-response-source-memory-cache-revalidate-expired-only.html:
3500         * http/tests/inspector/network/resource-response-source-memory-cache.html:
3501         * http/tests/inspector/network/resource-sizes-memory-cache.html:
3502         * http/tests/inspector/network/set-resource-caching-disabled-memory-cache.html:
3503         * http/tests/websocket/tests/hybi/inspector/before-load.html:
3504         * http/tests/websocket/tests/hybi/inspector/resolveWebSocket.html:
3505         * inspector/canvas/requestNode.html:
3506         * inspector/codemirror/resources/prettyprinting/utilities.js:
3507         (TestPage.registerInitializer.loadPrettyPrintingTestAndExpectedResults):
3508         (TestPage.registerInitializer.window.addPrettyPrintingTests):
3509         (TestPage.registerInitializer):
3510         * inspector/console/clearMessages.html:
3511         * inspector/console/command-line-api.html:
3512         * inspector/console/console-api.html:
3513         * inspector/console/console-count.html:
3514         * inspector/console/console-table.html:
3515         * inspector/console/console-time.html:
3516         * inspector/console/message-stack-trace.html:
3517         * inspector/console/messageAdded-from-named-evaluations.html:
3518         * inspector/console/messageRepeatCountUpdated.html:
3519         * inspector/console/messagesCleared.html:
3520         * inspector/console/webcore-logging-expected.txt:
3521         * inspector/console/webcore-logging.html:
3522         * inspector/controller/runtime-controller-import.html:
3523         * inspector/controller/runtime-controller.html:
3524         * inspector/css/add-rule.html:
3525         * inspector/css/createStyleSheet.html:
3526         * inspector/css/css-property.html:
3527         * inspector/css/getAllStyleSheets.html:
3528         * inspector/css/manager-preferredInspectorStyleSheetForFrame.html:
3529         * inspector/css/matched-style-properties.html:
3530         * inspector/css/modify-css-property.html:
3531         * inspector/css/modify-rule-selector.html:
3532         * inspector/css/pseudo-element-matches-for-pseudo-element-node.html:
3533         * inspector/css/pseudo-element-matches.html:
3534         * inspector/css/selector-dynamic-specificity.html:
3535         * inspector/css/selector-specificity.html:
3536         * inspector/css/shadow-scoped-style.html:
3537         * inspector/css/stylesheet-events-basic.html:
3538         * inspector/css/stylesheet-events-imports.html:
3539         * inspector/css/stylesheet-events-inspector-stylesheet.html:
3540         * inspector/css/stylesheet-events-multiple-documents.html:
3541         * inspector/css/stylesheet-with-mutations.html:
3542         * inspector/debugger/csp-exceptions.html:
3543         * inspector/debugger/js-stacktrace.html:
3544         * inspector/debugger/resources/log-pause-location.js:
3545         (TestPage.registerInitializer.window.findScript):
3546         (TestPage.registerInitializer.window.loadMainPageContent):
3547         (TestPage.registerInitializer.window.logResolvedBreakpointLinesWithContext):
3548         (TestPage.registerInitializer.window.logLinesWithContext):
3549         * inspector/debugger/stepping/stepping-through-autoContinue-breakpoint.html:
3550         * inspector/dom-debugger/dom-breakpoints.html:
3551         * inspector/dom-debugger/xhr-breakpoints.html:
3552         * inspector/dom/breakpoint-for-event-listener.html:
3553         * inspector/dom/csp-big5-hash.html:
3554         * inspector/dom/csp-hash.html:
3555         * inspector/dom/customElementState.html:
3556         * inspector/dom/domutilities-csspath.html:
3557         * inspector/dom/domutilities-path-dump.html:
3558         * inspector/dom/domutilities-xpath.html:
3559         * inspector/dom/event-listener-add-remove.html:
3560         * inspector/dom/getEventListenersForNode.html:
3561         * inspector/dom/getOuterHTML.html:
3562         * inspector/dom/hideHighlight.html:
3563         * inspector/dom/highlightFrame.html:
3564         * inspector/dom/highlightNode.html:
3565         * inspector/dom/highlightNodeList.html:
3566         * inspector/dom/highlightSelector.html:
3567         * inspector/dom/insertAdjacentHTML.html:
3568         * inspector/dom/inspect.html:
3569         * inspector/dom/pseudo-element-dynamic.html:
3570         * inspector/dom/pseudo-element-static.html:
3571         * inspector/dom/push-node-by-path-to-frontend.html:
3572         * inspector/dom/setEventListenerDisabled.html:
3573         * inspector/dom/setInspectedNode.html:
3574         * inspector/dom/setOuterHTML-no-document-element.html:
3575         * inspector/dom/setOuterHTML.html:
3576         * inspector/dom/shadow-and-non-shadow-children.html:
3577         * inspector/dom/shadowRootType.html:
3578         * inspector/dom/template-content.html:
3579         * inspector/formatting/resources/utilities.js:
3580         (TestPage.registerInitializer.loadFormattingTestAndExpectedResults):
3581         (TestPage.registerInitializer.window.addFormattingTests):
3582         (TestPage.registerInitializer):
3583         * inspector/indexeddb/clearObjectStore.html:
3584         * inspector/indexeddb/deleteDatabaseNamesWithSpace.html:
3585         * inspector/indexeddb/requestData.html:
3586         * inspector/indexeddb/requestDatabase.html:
3587         * inspector/indexeddb/requestDatabaseNames.html:
3588         * inspector/layers/layer-tree-manager.html:
3589         * inspector/model/dom-node.html:
3590         * inspector/model/frame-extra-scripts.html:
3591         * inspector/model/script-resource-relationship.html:
3592         * inspector/model/stack-trace.html:
3593         * inspector/page/empty-or-missing-resources.html:
3594         * inspector/page/hidpi-snapshot-size.html:
3595         * inspector/page/main-frame-resource.html:
3596         * inspector/runtime/change-execution-context-identifier.html:
3597         * inspector/runtime/saveResult.html:
3598         * inspector/storage/domStorage-events.html:
3599         * inspector/worker/console-basic.html:
3600         * inspector/worker/resources-in-worker.html:
3601
3602 2018-10-02  Basuke Suzuki  <Basuke.Suzuki@sony.com>
3603
3604         [Curl] Fix missing values of  resource timing API.
3605         https://bugs.webkit.org/show_bug.cgi?id=190193
3606
3607         Reviewed by Alex Christensen.
3608
3609         * platform/wincairo/TestExpectations:
3610
3611 2018-10-02  Per Arne Vollan  <pvollan@apple.com>
3612
3613         [WebVTT] Cue with line setting is not rendered correctly
3614         https://bugs.webkit.org/show_bug.cgi?id=190168
3615
3616         Reviewed by Eric Carlson.
3617
3618         * media/track/captions-webvtt/line-position.vtt: Added.
3619         * media/track/track-cue-line-position-expected-mismatch.html: Added.
3620         * media/track/track-cue-line-position.html: Added.
3621
3622 2018-10-02  Carlos Eduardo Ramalho  <cadubentzen@gmail.com>
3623
3624         [GTK] fast/forms/color/input-appearance-color.html is failing
3625         https://bugs.webkit.org/show_bug.cgi?id=189350
3626
3627         Reviewed by Michael Catanzaro.
3628
3629         Update test expectations to match changes introduced in r235435.
3630
3631         * platform/gtk/TestExpectations:
3632         * platform/gtk/fast/forms/color/input-appearance-color-expected.png:
3633         * platform/gtk/fast/forms/color/input-appearance-color-expected.txt:
3634
3635 2018-10-01  Dean Jackson  <dino@apple.com>
3636
3637         Remove CSS Animation Triggers
3638         https://bugs.webkit.org/show_bug.cgi?id=190175
3639         <rdar://problem/44925626>
3640
3641         Reviewed by Simon Fraser.
3642
3643         Remove a bunch of tests that no longer have an implementation.
3644
3645         * TestExpectations:
3646         * animations/trigger-computed-style-expected.txt: Removed.
3647         * animations/trigger-computed-style.html: Removed.
3648         * animations/trigger-container-scroll-boundaries-expected.txt: Removed.
3649         * animations/trigger-container-scroll-boundaries.html: Removed.
3650         * animations/trigger-container-scroll-empty-expected.txt: Removed.
3651         * animations/trigger-container-scroll-empty.html: Removed.
3652         * animations/trigger-container-scroll-simple-expected.txt: Removed.
3653         * animations/trigger-container-scroll-simple.html: Removed.
3654         * animations/trigger-parsing-expected.txt: Removed.
3655         * animations/trigger-parsing.html: Removed.
3656         * fast/css/compare-animation-trigger-expected.txt: Removed.
3657         * fast/css/compare-animation-trigger.html: Removed.
3658         * legacy-animation-engine/animations/trigger-computed-style-expected.txt: Removed.
3659         * legacy-animation-engine/animations/trigger-computed-style.html: Removed.
3660         * legacy-animation-engine/animations/trigger-container-scroll-boundaries-expected.txt: Removed.
3661         * legacy-animation-engine/animations/trigger-container-scroll-boundaries.html: Removed.
3662         * legacy-animation-engine/animations/trigger-container-scroll-empty-expected.txt: Removed.
3663         * legacy-animation-engine/animations/trigger-container-scroll-empty.html: Removed.
3664         * legacy-animation-engine/animations/trigger-container-scroll-simple-expected.txt: Removed.
3665         * legacy-animation-engine/animations/trigger-container-scroll-simple.html: Removed.
3666         * legacy-animation-engine/animations/trigger-parsing-expected.txt: Removed.
3667         * legacy-animation-engine/animations/trigger-parsing.html: Removed.
3668         * legacy-animation-engine/fast/css/compare-animation-trigger-expected.txt: Removed.
3669         * legacy-animation-engine/fast/css/compare-animation-trigger.html: Removed.
3670         * platform/gtk/TestExpectations:
3671         * platform/ios/TestExpectations:
3672         * platform/mac-wk2/TestExpectations:
3673         * platform/wincairo/TestExpectations:
3674
3675 2018-10-02  Commit Queue  <commit-queue@webkit.org>
3676
3677         Unreviewed, rolling out r236624 and r236671.
3678         https://bugs.webkit.org/show_bug.cgi?id=190207
3679
3680         The change in r236624 introduced crashes on the bots
3681         (Requested by ryanhaddad on #webkit).
3682
3683         Reverted changesets:
3684
3685         "Refactoring: eliminate raw pointer usage in Fullscreen code"
3686         https://bugs.webkit.org/show_bug.cgi?id=188747
3687         https://trac.webkit.org/changeset/236624
3688
3689         "Unify implementation in VideoFullscreenInterfaceAVKit"
3690         https://bugs.webkit.org/show_bug.cgi?id=190091
3691         https://trac.webkit.org/changeset/236671
3692
3693 2018-10-02  Frederic Wang  <fwang@igalia.com>
3694
3695         [WPE] Enable more Cache Storage and Service Workers tests
3696         https://bugs.webkit.org/show_bug.cgi?id=190198
3697
3698         Reviewed by Michael Catanzaro.
3699
3700         * platform/wpe/TestExpectations: Unskip most tests and add expectations for a few of them.
3701
3702 2018-10-02  Frederic Wang  <fwang@igalia.com>
3703
3704         [GTK] Enable more Cache Storage and Service Workers tests
3705         https://bugs.webkit.org/show_bug.cgi?id=190196
3706
3707         Reviewed by Michael Catanzaro.
3708
3709         * platform/gtk/TestExpectations: Unskip most tests are add some failure annotations.
3710
3711 2018-10-02  Thibault Saunier  <tsaunier@igalia.com>
3712
3713         [GTK][WPE] Blacklist more tests that are requiring webrtc <-> webaudio bridging
3714         https://bugs.webkit.org/show_bug.cgi?id=189829
3715
3716         Reviewed by Alejandro G. Castro.
3717
3718         * platform/gtk/TestExpectations:
3719         * platform/wpe/TestExpectations:
3720
3721 2018-10-02  Basuke Suzuki  <Basuke.Suzuki@sony.com>
3722
3723         [WinCairo] Enable some wpt tests.
3724         https://bugs.webkit.org/show_bug.cgi?id=190129
3725
3726         Unreviewed test gardening..
3727
3728         * platform/wincairo/TestExpectations:
3729         * platform/wincairo/http/wpt/html/browsers/browsing-the-web/navigating-across-documents/click-expected.txt: Added.
3730         * platform/wincairo/http/wpt/html/browsers/browsing-the-web/navigating-across-documents/href-expected.txt: Added.
3731
3732 2018-10-01  Ross Kirsling  <ross.kirsling@sony.com>
3733
3734         [WinCairo] Unreviewed test gardening.
3735
3736         * platform/wincairo/TestExpectations:
3737
3738 2018-10-01  Ryosuke Niwa  <rniwa@webkit.org>
3739
3740         Removed a failing test expectation on imported/w3c/web-platform-tests/shadow-dom/slotchange.html
3741         since we haven't seen a single failure after the fix in r236440.
3742
3743         * platform/mac/TestExpectations:
3744
3745 2018-10-01  Myles C. Maxfield  <mmaxfield@apple.com>
3746
3747         [Cocoa] Update delete-emoji expected results
3748         https://bugs.webkit.org/show_bug.cgi?id=190182
3749
3750         Unreviewed.
3751
3752         Simply update the expected results.
3753
3754         * platform/mac-highsierra/editing/deleting/delete-emoji-1-expected.txt: Copied from LayoutTests/platform/mac/editing/deleting/delete-emoji-1-expected.txt.
3755         * platform/mac-highsierra/editing/deleting/delete-emoji-9-expected.txt: Copied from LayoutTests/platform/mac/editing/deleting/delete-emoji-9-expected.txt.
3756         * platform/mac-highsierra/editing/deleting/delete-emoji-expected.txt: Copied from LayoutTests/platform/mac/editing/deleting/delete-emoji-expected.txt.
3757         * platform/mac/TestExpectations:
3758         * platform/mac/editing/deleting/delete-emoji-1-expected.txt:
3759         * platform/mac/editing/deleting/delete-emoji-9-expected.txt:
3760         * platform/mac/editing/deleting/delete-emoji-expected.txt:
3761
3762 2018-10-01  Ryosuke Niwa  <rniwa@webkit.org>
3763
3764         Add a new variant of serializePreservingVisualAppearance which takes VisibleSelection
3765         https://bugs.webkit.org/show_bug.cgi?id=190108
3766
3767         Reviewed by Wenson Hsieh.
3768
3769         Rebaselined the test since the bug that interchange new lines are inserted in the last table cell is fixed.
3770         Also updated the description in the test to reflect this change.
3771
3772         * editing/pasteboard/paste-table-003-expected.txt:
3773         * editing/pasteboard/paste-table-003.html:
3774
3775 2018-10-01  Ryan Haddad  <ryanhaddad@apple.com>
3776
3777         Unreviewed, rebaseline tests after r236632.
3778
3779         * platform/ios/css3/blending/repaint/blend-mode-isolate-stacking-context-expected.txt:
3780         * platform/ios/css3/blending/repaint/blend-mode-turn-off-isolation-expected.txt:
3781         * platform/ios/css3/blending/repaint/blend-mode-turn-off-isolation-no-effect-expected.txt: Added.
3782
3783 2018-10-01  Sihui Liu  <sihui_liu@apple.com>
3784
3785         Remove StorageProcess
3786         https://bugs.webkit.org/show_bug.cgi?id=189975
3787
3788         Reviewed by Geoffrey Garen.
3789
3790         Since Service Worker management is in netowrk process now, we should terminate network 
3791         process instead of storage process.
3792
3793         * http/wpt/service-workers/persistent-importScripts.html:
3794
3795 2018-10-01  Jiewen Tan  <jiewen_tan@apple.com>
3796
3797         [WebAuthN] Import a JS CBOR coder
3798         https://bugs.webkit.org/show_bug.cgi?id=189877
3799         <rdar://problem/44701124>
3800
3801         Reviewed by Chris Dumez.
3802
3803         This patch import a 3rd party JS CBOR coder from https://github.com/paroga/cbor-js.
3804         The library is MIT licensed, which should be fine to use within WebKit.
3805
3806         As a benefit from the library, tests are updated to check CBOR binaries.
3807
3808         * http/wpt/credential-management/credentialscontainer-store-basics.https.html:
3809         * http/wpt/webauthn/idl.https.html:
3810         * http/wpt/webauthn/public-key-credential-create-failure-local.https.html:
3811         * http/wpt/webauthn/public-key-credential-create-success-local.https.html:
3812         * http/wpt/webauthn/public-key-credential-get-failure-local.https.html:
3813         * http/wpt/webauthn/public-key-credential-get-success-local.https.html:
3814         * http/wpt/webauthn/resources/cbor.js: Added.
3815         * http/wpt/webauthn/resources/util.js:
3816
3817 2018-10-01  Daniel Bates  <dabates@apple.com>
3818
3819         [iOS] Special keys are misidentified in DOM keyboard events
3820         https://bugs.webkit.org/show_bug.cgi?id=189974
3821
3822         Reviewed by Wenson Hsieh.
3823
3824         Add tests to ensure that we do not regress key identification for special keys.
3825
3826         Update the expected results for test fast/events/ios/keydown-keyup-special-keys-in-non-editable-element.html
3827         now that we correctly identify some more keys.
3828
3829         * fast/events/ios/keydown-keyup-arrow-keys-in-non-editable-element-expected.txt: Added.
3830         * fast/events/ios/keydown-keyup-arrow-keys-in-non-editable-element.html: Added.
3831         * fast/events/ios/keydown-keyup-special-keys-in-non-editable-element-expected.txt:
3832         * fast/events/ios/keypress-keys-in-non-editable-element-expected.txt: Added.
3833         * fast/events/ios/keypress-keys-in-non-editable-element.html: Added.
3834         * resources/ui-helper.js:
3835         (window.UIHelper.typeCharacter): Actually type the specified character in DumpRenderTree.
3836
3837 2018-10-01  Ryan Haddad  <ryanhaddad@apple.com>
3838
3839         REGRESSION (r235948?): Layout Test media/media-controls-accessibility.html is a flaky failure
3840         https://bugs.webkit.org/show_bug.cgi?id=189674
3841
3842         Unreviewed test gardening..
3843
3844         * platform/mac/TestExpectations: Remove flaky expectation.
3845
3846 2018-10-01  Youenn Fablet  <youenn@apple.com>
3847
3848         [macOS Sierra] Layout Test http/wpt/cache-storage/cache-put-keys.https.any.worker.html is a flaky failure
3849         https://bugs.webkit.org/show_bug.cgi?id=184204
3850
3851         Reviewed by Chris Dumez.
3852
3853         * platform/mac-wk2/TestExpectations:
3854
3855 2018-10-01  Chris Dumez  <cdumez@apple.com>
3856
3857         Make crossOriginObject.then undefined for promises
3858         https://bugs.webkit.org/show_bug.cgi?id=190094
3859
3860         Reviewed by Darin Adler.
3861
3862         Update existing tests to reflect behavior change.
3863
3864         * http/tests/navigation/process-swap-window-open-expected.txt:
3865         * http/tests/navigation/process-swap-window-open.html:
3866         * http/wpt/cross-origin-window-policy/resources/utils.js:
3867         (testCrossOriginOption):
3868
3869 2018-10-01  Alicia Boya García  <aboya@igalia.com>
3870
3871         [MSE][GStreamer] Reset running time in PlaybackPipeline::flush()
3872         https://bugs.webkit.org/show_bug.cgi?id=190076
3873
3874         Reviewed by Philippe Normand.
3875
3876         A test where a seek is followed by a redundant append is added. This
3877         test timed out in the GStreamer MSE implementation before the
3878         accompanying patch fixed it.
3879
3880         The MIME type declared in test-48khz-manifest.json has also been
3881         changed, from non-standard `audio/x-m4a` to `audio/mp4;
3882         codecs="mp4a.40.2"`, as implied by the MSE specs. This should not
3883         affect other tests because no other tests were reading this type
3884         string before.
3885
3886         * media/media-source/content/test-48khz-manifest.json:
3887         * media/media-source/media-source-seek-redundant-append-expected.txt: Added.
3888         * media/media-source/media-source-seek-redundant-append.html: Added.
3889         * media/video-test.js:
3890
3891 2018-10-01  Antoine Quint  <graouts@apple.com>
3892
3893         [Web Animations] Fix test regressions after enabling Web Animations with CSS Integration
3894         https://bugs.webkit.org/show_bug.cgi?id=190032
3895
3896         Unreviewed. We need to opt into the legacy animation engine for these tests to fix some crashes in other
3897         tests due to webkit.org/b/186946.
3898
3899         * legacy-animation-engine/animations/cross-fade-webkit-mask-image.html:
3900         * legacy-animation-engine/transitions/delay.html:
3901         * legacy-animation-engine/transitions/transition-timing-function.html:
3902
3903 2018-09-30  Eric Carlson  <eric.carlson@apple.com>
3904
3905         [MediaStream] Clean up RealtimeMediaSource settings change handling
3906         https://bugs.webkit.org/show_bug.cgi?id=189998
3907         <rdar://problem/44797884>
3908
3909         Reviewed by Youenn Fablet.
3910
3911         * webrtc/video-disabled-black.html:
3912
3913 2018-09-29  Commit Queue  <commit-queue@webkit.org>
3914
3915         Unreviewed, rolling out r236631.
3916         https://bugs.webkit.org/show_bug.cgi?id=190112
3917
3918         Caused various eventSender tests, including fast/css/pseudo-
3919         active-style-sharing*, to fail (Requested by smfr on #webkit).
3920
3921         Reverted changeset:
3922
3923         "Regression(r236512): http/tests/navigation/keyboard-events-
3924         during-provisional-navigation.html is flaky"
3925         https://bugs.webkit.org/show_bug.cgi?id=190052
3926         https://trac.webkit.org/changeset/236631
3927
3928 2018-09-28  Zamiul Haque  <zhaque@apple.com>
3929
3930         Angled gradient backgrounds in body render vertically when body height is 0
3931         https://bugs.webkit.org/show_bug.cgi?id=177232
3932         <rdar://problem/34548230>.
3933
3934         Reviewed by Tim Horton.
3935
3936         Added tests to make sure that angled background gradients inside of a 
3937         body tag of height 0 render as empty white screens.
3938
3939         * angled-background-repeating-gradient-rendering-vertical.html: Added.
3940         * angled-background-repeating-gradient-rendering-vertical-expected.html: Added.
3941
3942 2018-09-28  Chris Dumez  <cdumez@apple.com>
3943
3944         The return value of an OnBeforeUnloadEventHandler should always be coerced into a DOMString
3945         https://bugs.webkit.org/show_bug.cgi?id=190090
3946
3947         Reviewed by Ryosuke Niwa.
3948
3949         Update test that was returning a value in a beforeunload event listener instead of using an
3950         event handler. The test needs to use an event handler (window.onbeforeunload) as an event
3951         listener does not have a return value. I have verified that our behavior is consistent with
3952         Chrome and Firefox on this test, both with an event listener and an event handler.
3953
3954         * fast/loader/form-submission-after-beforeunload-cancel.html:
3955
3956 2018-09-28  Simon Fraser  <simon.fraser@apple.com>
3957
3958         RenderLayer::removeOnlyThisLayer() should not call updateLayerPositions()
3959         https://bugs.webkit.org/show_bug.cgi?id=190093
3960
3961         Reviewed by Dean Jackson and Zalan Bujtas.
3962         
3963         The ordering of the repaints changes.
3964         
3965         blend-mode-turn-off-isolation-no-effect.html now issues a repaint, which is expected now.
3966         Isolation is so rare that this is not a problem.
3967
3968         * css3/blending/repaint/blend-mode-isolate-stacking-context-expected.txt:
3969         * css3/blending/repaint/blend-mode-turn-off-isolation-expected.txt:
3970         * css3/blending/repaint/blend-mode-turn-off-isolation-no-effect-expected.txt:
3971         * fast/repaint/absolute-position-change-containing-block-expected.txt:
3972
3973 2018-09-28  Devin Rousso  <drousso@apple.com>
3974
3975         Web Inspector: crash in InspectorNetworkAgent::didReceiveResponse when loading denied x-frame resources
3976         https://bugs.webkit.org/show_bug.cgi?id=190046
3977
3978         Reviewed by Joseph Pecoraro.
3979
3980         * http/tests/inspector/network/resources/x-frame-options.php: Added.
3981         * http/tests/inspector/network/x-frame-options-expected.txt: Added.
3982         * http/tests/inspector/network/x-frame-options.html: Added.
3983
3984 2018-09-28  Jiewen Tan  <jiewen_tan@apple.com>
3985
3986         [WebAuthN] Polish WebAuthN auto-test environment
3987         https://bugs.webkit.org/show_bug.cgi?id=189283
3988         <rdar://problem/44117828>
3989
3990         Reviewed by Chris Dumez.
3991
3992         This patch does the following few things:
3993         1. Update tests that employ old mocking mechnism to the new one.
3994         2. Move tests from http/tests/webauthn to http/wpt/webauthn. As a result, we have one unified place for
3995         all WebAuthN tests: http/wpt/webauthn.
3996         3. Add a helper function to check DOMException message as well.
3997
3998         * TestExpectations:
3999         * http/tests/webauthn/public-key-credential-create-with-invalid-parameters.https-expected.txt: Removed.
4000         * http/tests/webauthn/public-key-credential-get-with-invalid-parameters.https-expected.txt: Removed.
4001         * http/tests/webauthn/public-key-credential-same-origin-with-ancestors-2.https-expected.txt: Removed.
4002         * http/tests/webauthn/public-key-credential-same-origin-with-ancestors-2.https.html: Removed.
4003         * http/tests/webauthn/public-key-credential-same-origin-with-ancestors.https-expected.txt: Removed.
4004         * http/tests/webauthn/public-key-credential-same-origin-with-ancestors.https.html: Removed.
4005         * http/tests/webauthn/resources/last-layer-frame.https.html: Removed.
4006         * http/tests/webauthn/resources/util.js: Removed.
4007         * http/wpt/credential-management/credentialscontainer-store-basics.https.html:
4008         * http/wpt/webauthn/idl.https.html:
4009         * http/wpt/webauthn/public-key-credential-create-failure-local.https.html:
4010         * http/wpt/webauthn/public-key-credential-create-failure.https-expected.txt:
4011         * http/wpt/webauthn/public-key-credential-create-failure.https.html:
4012         * http/wpt/webauthn/public-key-credential-create-success.https-expected.txt: Removed.
4013         * http/wpt/webauthn/public-key-credential-create-success.https.html: Removed.
4014         * http/wpt/webauthn/public-key-credential-create-with-invalid-parameters.https-expected.txt: Added.
4015         * http/wpt/webauthn/public-key-credential-create-with-invalid-parameters.https.html: Renamed from LayoutTests/http/tests/webauthn/public-key-credential-create-with-invalid-parameters.https.html.
4016         * http/wpt/webauthn/public-key-credential-get-failure-local.https.html:
4017         * http/wpt/webauthn/public-key-credential-get-failure.https-expected.txt:
4018         * http/wpt/webauthn/public-key-credential-get-failure.https.html:
4019         * http/wpt/webauthn/public-key-credential-get-success.https-expected.txt: Removed.
4020         * http/wpt/webauthn/public-key-credential-get-success.https.html: Removed.
4021         * http/wpt/webauthn/public-key-credential-get-with-invalid-parameters.https-expected.txt: Added.
4022         * http/wpt/webauthn/public-key-credential-get-with-invalid-parameters.https.html: Renamed from LayoutTests/http/tests/webauthn/public-key-credential-get-with-invalid-parameters.https.html.
4023         * http/wpt/webauthn/public-key-credential-same-origin-with-ancestors.https-expected.txt: Added.
4024         * http/wpt/webauthn/public-key-credential-same-origin-with-ancestors.https.html: Added.
4025         * http/wpt/webauthn/resources/last-layer-frame.https.html: Added.
4026         * http/wpt/webauthn/resources/second-layer-frame.https.html: Renamed from LayoutTests/http/tests/webauthn/resources/second-layer-frame.https.html.
4027         * http/wpt/webauthn/resources/util.js:
4028         * platform/gtk/TestExpectations:
4029         * platform/ios-wk1/TestExpectations:
4030         * platform/mac-wk1/TestExpectations:
4031         * platform/mac-wk2/TestExpectations:
4032         * platform/win/TestExpectations:
4033         * platform/wincairo/TestExpectations:
4034         * platform/wpe/TestExpectations:
4035
4036 2018-09-28  Jer Noble  <jer.noble@apple.com>
4037
4038         Refactoring: eliminate raw pointer usage in Fullscreen code
4039         https://bugs.webkit.org/show_bug.cgi?id=188747
4040         <rdar://problem/43541164>
4041
4042         Reviewed by Alex Christensen.
4043
4044         Test was causing false pass results due to the webkitPresentationMode being correctly set
4045         to "inline" during the close() operation; modify the test to only perform the close()
4046         operation when the presetation mode is changed to "picture-in-picture".
4047
4048         * media/controls/ipad/close-page-with-picture-in-picture-video-assertion-failure.html:
4049         * media/controls/ipad/resources/picture-in-picture.html:
4050
4051 2018-09-28  Chris Dumez  <cdumez@apple.com>
4052
4053         Drop support for cross-origin-window-policy header
4054         https://bugs.webkit.org/show_bug.cgi?id=190081
4055
4056         Reviewed by Ryosuke Niwa.
4057
4058         * http/wpt/cross-origin-window-policy/allow-postmessage-expected.txt: Removed.
4059         * http/wpt/cross-origin-window-policy/allow-postmessage-from-deny-expected.txt: Removed.
4060         * http/wpt/cross-origin-window-policy/allow-postmessage-from-deny.html: Removed.
4061         * http/wpt/cross-origin-window-policy/allow-postmessage-from-deny.html.headers: Removed.
4062         * http/wpt/cross-origin-window-policy/allow-postmessage.html: Removed.
4063         * http/wpt/cross-origin-window-policy/cross-origin-window-policy-header-expected.txt: Removed.
4064         * http/wpt/cross-origin-window-policy/cross-origin-window-policy-header.html: Removed.
4065         * http/wpt/cross-origin-window-policy/navigation-from-opener-via-open-target-expected.txt: Removed.
4066         * http/wpt/cross-origin-window-policy/navigation-from-opener-via-open-target.html: Removed.
4067         * http/wpt/cross-origin-window-policy/navigation-from-subframe-via-anchor-target-expected.txt: Removed.
4068         * http/wpt/cross-origin-window-policy/navigation-from-subframe-via-anchor-target.html: Removed.
4069         * http/wpt/cross-origin-window-policy/resources/cross-origin-window-policy-allow-postmessage-pong.html: Removed.
4070         * http/wpt/cross-origin-window-policy/resources/cross-origin-window-policy-allow-postmessage-pong.html.headers: Removed.
4071         * http/wpt/cross-origin-window-policy/resources/destination.html: Removed.
4072         * http/wpt/cross-origin-window-policy/resources/navigate-parent-via-anchor.html: Removed.
4073         * http/wpt/cross-origin-window-policy/resources/navigation-from-subframe-frame.py: Removed.
4074         * http/wpt/cross-origin-window-policy/resources/serve-cross-origin-window-policy-header.py: Removed.
4075         * http/wpt/cross-origin-window-policy/resources/utils.js: Removed.
4076
4077 2018-09-28  Andy Estes  <aestes@apple.com>
4078
4079         [Apple Pay] Remove the "in-store" button type
4080         https://bugs.webkit.org/show_bug.cgi?id=190079
4081
4082         Reviewed by Tim Horton.
4083
4084         * http/tests/ssl/applepay/ApplePayButton.html:
4085         * platform/mac/http/tests/ssl/applepay/ApplePayButton-expected.png:
4086         * platform/mac/http/tests/ssl/applepay/ApplePayButton-expected.txt:
4087
4088 2018-09-28  Dawei Fenton  <realdawei@apple.com>
4089
4090         WebGL conformance: Failures and Timeouts in suite 2.0.0/conformance
4091         https://bugs.webkit.org/show_bug.cgi?id=189641
4092
4093         Unreviewed, skip tests that are timing out.
4094
4095         * TestExpectations:
4096
4097 2018-09-28  Chris Dumez  <cdumez@apple.com>
4098
4099         document.open() should throw errors for cross-origin calls
4100         https://bugs.webkit.org/show_bug.cgi?id=189371
4101         <rdar://problem/44282700>
4102
4103         Reviewed by Youenn Fablet.
4104
4105         Tweak a couple of existing tests to reflect behavior change.
4106
4107         * fast/dom/HTMLDocument/document-open-return-value.html:
4108         * fast/parser/tokenizer-close-during-document-write.html:
4109
4110 2018-09-28  Commit Queue  <commit-queue@webkit.org>
4111
4112         Unreviewed, rolling out r236605.
4113         https://bugs.webkit.org/show_bug.cgi?id=190087
4114
4115         caused three API test timeouts (Requested by jernoble on
4116         #webkit).
4117
4118         Reverted changeset:
4119
4120         "Refactoring: eliminate raw pointer usage in Fullscreen code"
4121         https://bugs.webkit.org/show_bug.cgi?id=188747
4122         https://trac.webkit.org/changeset/236605
4123
4124 2018-09-28  Jer Noble  <jer.noble@apple.com>
4125
4126         Refactoring: eliminate raw pointer usage in Fullscreen code
4127         https://bugs.webkit.org/show_bug.cgi?id=188747
4128         <rdar://problem/43541164>
4129
4130         Reviewed by Alex Christensen.
4131
4132         Test was causing false pass results due to the webkitPresentationMode being correctly set
4133         to "inline" during the close() operation; modify the test to only perform the close()
4134         operation when the presetation mode is changed to "picture-in-picture".
4135
4136         * media/controls/ipad/close-page-with-picture-in-picture-video-assertion-failure.html:
4137         * media/controls/ipad/resources/picture-in-picture.html:
4138
4139