Unreviewed, rolling out r224273 and r224278.
[WebKit-https.git] / LayoutTests / ChangeLog
1 2017-11-01  Commit Queue  <commit-queue@webkit.org>
2
3         Unreviewed, rolling out r224273 and r224278.
4         https://bugs.webkit.org/show_bug.cgi?id=179120
5
6         Some crashes under guard malloc (Requested by anttik on
7         #webkit).
8
9         Reverted changesets:
10
11         "Remove empty continuations in
12         RenderObject::removeFromParentAndDestroyCleaningUpAnonymousWrappers"
13         https://bugs.webkit.org/show_bug.cgi?id=179014
14         https://trac.webkit.org/changeset/224273
15
16         "Fix ContinuationChainNode::insertAfter assertion."
17         https://bugs.webkit.org/show_bug.cgi?id=179115
18         https://trac.webkit.org/changeset/224278
19
20 2017-11-01  Antti Koivisto  <antti@apple.com>
21
22         Remove empty continuations in RenderObject::removeFromParentAndDestroyCleaningUpAnonymousWrappers
23         https://bugs.webkit.org/show_bug.cgi?id=179014
24
25         Reviewed by Geoff Garen.
26
27         * fast/ruby/float-overhang-from-ruby-text-expected.txt:
28         * platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.txt:
29
30 2017-10-31  Chris Dumez  <cdumez@apple.com>
31
32         Fix a couple of service worker tests and unskip them
33         https://bugs.webkit.org/show_bug.cgi?id=179088
34
35         Reviewed by Sam Weinig.
36
37         Unskip the 2 tests.
38
39         * TestExpectations:
40
41 2017-10-31  Alex Christensen  <achristensen@webkit.org>
42
43         Use asynchronous ResourceHandleClient calls for WebKit1
44         https://bugs.webkit.org/show_bug.cgi?id=160677
45
46         Reviewed by Brady Eidson.
47
48         * TestExpectations:
49         * platform/gtk/TestExpectations:
50         * platform/ios-wk2/TestExpectations:
51         * platform/mac-wk2/TestExpectations:
52         * platform/wk2/TestExpectations:
53
54         http/tests/cache/iframe-304-crash.html used to deterministically record its didFinishLoading callback,
55         but only for WK1.  It was marked as flaky for all WK2 ports.  It is now flaky in WK1 because the order
56         of the testRunner.notifyDone call and the didFinishLoading logging is no longer deterministic with
57         asynchronous loading, but the test still verifies that there is no crash.
58
59         http/tests/security/cross-origin-modal-dialog-base.html does navigation during showModalDialog, which
60         probably should've never worked in WK1 and never worked in WK2.  WK1 behavior now matches WK2 behavior.
61         I'm not aware of any complaints about no navigation working during showModalDialog in WK2 and I imagine
62         nobody will be regressed by this change, but if we do find such a problem, creative use of MessageQueues
63         like we do with sync xhr in WK1 now could theoretically fix the problem, but we are trying to get
64         rid of showModalDialog anyway.  The test was written to verify that the SecurityOrigin doesn't fall back
65         to the wrong origin, and it certainly doesn't now.
66
67         These tests dump load delegate call order, which are less deterministic now but the tests still behave correctly.
68         http/tests/svg/svg-use-external.html
69         http/tests/loading/text-content-type-with-binary-extension.html
70         http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame.html
71
72 2017-10-31  Simon Fraser  <simon.fraser@apple.com>
73
74         Rubber-banding overflow-scrolling-touch shows black
75         https://bugs.webkit.org/show_bug.cgi?id=179087
76         rdar://problem/35260253
77
78         Reviewed by Sam Weinig.
79
80         * fast/scrolling/rubber-band-shows-background-expected.html: Added.
81         * fast/scrolling/rubber-band-shows-background.html: Added.
82
83 2017-10-31  Ryan Haddad  <ryanhaddad@apple.com>
84
85         Remove TestExpectation entry for a test that has been deleted.
86         https://bugs.webkit.org/show_bug.cgi?id=178190
87
88         Unreviewed test gardening.
89
90         * TestExpectations:
91
92 2017-10-31  Youenn Fablet  <youenn@apple.com>
93
94         Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/fetch-header-visibility.https.html is flaky.
95         https://bugs.webkit.org/show_bug.cgi?id=179081
96
97         Reviewed by Chris Dumez.
98
99         * TestExpectations: Marking test as flaky.
100
101 2017-10-31  Ryan Haddad  <ryanhaddad@apple.com>
102
103         [iOS] Skip LayoutTests that rely on eventsender.keyDown()
104         https://bugs.webkit.org/show_bug.cgi?id=179061
105
106         Unreviewed test gardening.
107
108         * platform/ios-wk2/TestExpectations:
109         * platform/ios/TestExpectations:
110
111 2017-10-31  Simon Fraser  <simon.fraser@apple.com>
112
113         Make it possible to test rubber-banding in overflow scroll
114         https://bugs.webkit.org/show_bug.cgi?id=179078
115
116         Reviewed by Sam Weinig.
117
118         Test that internals.unconstrainedScrollTo() works.
119
120         * fast/scrolling/unconstrained-scrollto-expected.txt: Added.
121         * fast/scrolling/unconstrained-scrollto.html: Added.
122
123 2017-10-31  Youenn Fablet  <youenn@apple.com>
124
125         rwt should allow service worker to load localhost HTTPS resources with any certificate
126         https://bugs.webkit.org/show_bug.cgi?id=179018
127
128         Reviewed by Chris Dumez.
129
130         * TestExpectations:
131         * http/tests/workers/service/service-worker-fetch-expected.txt: Removed.
132         * http/tests/workers/service/service-worker-fetch.https-expected.txt: Added.
133         * http/tests/workers/service/service-worker-fetch.https.html: Renamed from LayoutTests/http/tests/workers/service/service-worker-fetch.html.
134
135 2017-10-31  Ryan Haddad  <ryanhaddad@apple.com>
136
137         Mark imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/sandbox_032.htm as flaky.
138         https://bugs.webkit.org/show_bug.cgi?id=179069
139
140         Unreviewed test gardening.
141
142         * TestExpectations:
143
144 2017-10-31  Ryan Haddad  <ryanhaddad@apple.com>
145
146         [iOS] Skip LayoutTests that rely on mouse events
147         https://bugs.webkit.org/show_bug.cgi?id=179034
148
149         Unreviewed test gardening.
150
151         * platform/ios-simulator/TestExpectations:
152         * platform/ios-wk2/TestExpectations:
153         * platform/ios/TestExpectations:
154
155 2017-10-31  Chris Dumez  <cdumez@apple.com>
156
157         navigator.serviceWorker should always return the same object
158         https://bugs.webkit.org/show_bug.cgi?id=179067
159
160         Reviewed by Youenn Fablet.
161
162         Add layout test coverage.
163
164         * http/tests/workers/service/navigator-serviceWorker-same-object-expected.txt: Added.
165         * http/tests/workers/service/navigator-serviceWorker-same-object.html: Added.
166
167 2017-10-31  Antoine Quint  <graouts@apple.com>
168
169         [Web Animations] Support AnimationEffect parameter in Animation constructor and read-write timeline property
170         https://bugs.webkit.org/show_bug.cgi?id=179066
171
172         Reviewed by Dean Jackson.
173
174         Rebaseline and amend tests to show support for the AnimationEffect first parameter to the Animation
175         constructor and the default document timeline value for the AnimationTimeline second parameter.
176
177         * http/wpt/web-animations/interfaces/Animation/constructor-expected.txt:
178         * http/wpt/web-animations/interfaces/Animation/idlharness-expected.txt:
179         * http/wpt/web-animations/interfaces/Animation/startTime-expected.txt:
180         * http/wpt/web-animations/interfaces/KeyframeEffect/setTarget-expected.txt:
181         * http/wpt/web-animations/timing-model/animations/current-time-expected.txt:
182         * http/wpt/web-animations/timing-model/animations/reversing-an-animation-expected.txt:
183         * http/wpt/web-animations/timing-model/animations/set-the-animation-start-time-expected.txt:
184         * http/wpt/web-animations/timing-model/animations/set-the-timeline-of-an-animation-expected.txt:
185         * http/wpt/wk-web-animations/timing-model/animation-creation-basic-expected.txt:
186         * http/wpt/wk-web-animations/timing-model/animation-creation-basic.html:
187         * http/wpt/wk-web-animations/timing-model/animation-current-time.html:
188         * http/wpt/wk-web-animations/timing-model/animation-playback-rate.html:
189         * webanimations/animation-creation-addition.html:
190
191 2017-10-31  Ali Juma  <ajuma@chromium.org>
192
193         Layout viewport rect is too wide after window resize
194         https://bugs.webkit.org/show_bug.cgi?id=175235
195
196         Reviewed by Dave Hyatt.
197
198         * fast/dom/Window/window-resize-update-scrollbars-expected.txt: Added.
199         * fast/dom/Window/window-resize-update-scrollbars.html: Added.
200         * platform/ios/TestExpectations:
201
202 2017-10-31  Youenn Fablet  <youenn@apple.com>
203
204         Crash in:  com.apple.WebKit: WebKit::CacheStorage::Caches::initializeSize(WTF::Function<void (std::optional<WebCore::DOMCacheEngine::Error>&&)>&&) + 30 (CacheStorageEngineCaches.cpp:163)
205         https://bugs.webkit.org/show_bug.cgi?id=179037
206
207         Reviewed by Chris Dumez.
208
209         * TestExpectations: Unskipping crashing tests.
210
211 2017-10-31  Matt Lewis  <jlewis3@apple.com>
212
213         Adjusted test expectations for animations/needs-layout.html.
214         https://bugs.webkit.org/show_bug.cgi?id=172397
215
216         Unreviewed test gardening.
217
218         * platform/ios-wk2/TestExpectations:
219         * platform/mac-wk1/TestExpectations:
220         * platform/mac-wk2/TestExpectations:
221
222 2017-10-31  Charlie Turner  <cturner@igalia.com>
223
224         [GTK] Rebaseline after r224223
225         https://bugs.webkit.org/show_bug.cgi?id=179059
226
227         Reviewed by Carlos Garcia Campos.
228
229         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt:
230         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt:
231         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt:
232         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt:
233         * platform/gtk/fast/css/text-overflow-ellipsis-text-align-center-expected.png:
234         * platform/gtk/fast/css/text-overflow-ellipsis-text-align-center-expected.txt:
235         * platform/gtk/fast/css/text-overflow-ellipsis-text-align-right-expected.png:
236         * platform/gtk/fast/css/text-overflow-ellipsis-text-align-right-expected.txt:
237
238 2017-10-31  Charles Turner  <cturner@igalia.com>
239
240         [GTK] Test gardening
241         https://bugs.webkit.org/show_bug.cgi?id=179058
242
243         Unreviewed gardening.
244
245         * platform/gtk/TestExpectations:
246
247 2017-10-31  Devin Rousso  <webkit@devinrousso.com>
248
249         Web Inspector: replace Canvas stack iteration with createScriptCallStack
250         https://bugs.webkit.org/show_bug.cgi?id=178980
251
252         Reviewed by Joseph Pecoraro.
253
254         * inspector/canvas/create-context-2d-expected.txt:
255         * inspector/canvas/create-context-webgl-expected.txt:
256         * inspector/canvas/create-context-webgl2-expected.txt:
257         * inspector/canvas/create-context-webgpu-expected.txt:
258         * inspector/canvas/recording-2d-expected.txt:
259         * inspector/canvas/recording-webgl-expected.txt:
260         * inspector/canvas/recording-webgl-snapshots-expected.txt:
261
262 2017-10-30  Chris Dumez  <cdumez@apple.com>
263
264         Fire updatefound event after resolving the registration promise
265         https://bugs.webkit.org/show_bug.cgi?id=178985
266
267         Reviewed by Youenn Fablet.
268
269         Update tests that are skipped due to timing out.
270
271         * TestExpectations:
272
273 2017-10-30  Ryan Haddad  <ryanhaddad@apple.com>
274
275         [iOS] Rebaseline and re-enable CSS tests
276         https://bugs.webkit.org/show_bug.cgi?id=178746
277
278         Unreviewed test gardening.
279
280         * platform/ios-simulator/TestExpectations:
281         * platform/ios-wk2/TestExpectations:
282         [ truncated ]
283
284 2017-10-30  Chris Dumez  <cdumez@apple.com>
285
286         Unreviewed, skip cache storage WPT tests that cause flaky crashes on the bots
287         https://bugs.webkit.org/show_bug.cgi?id=179035
288
289         * TestExpectations:
290
291 2017-10-30  Nikita Vasilyev  <nvasilyev@apple.com>
292
293         Web Inspector: [PARITY] Styles Redesign: Ability to modify style attributes
294         https://bugs.webkit.org/show_bug.cgi?id=178328
295         <rdar://problem/35000990>
296
297         Reviewed by Joseph Pecoraro.
298
299         Add tests for WI.TextRange.protopyte.resolveOffsets.
300
301         * inspector/unit-tests/text-range-expected.txt: Added.
302         * inspector/unit-tests/text-range.html: Added.
303
304 2017-10-30  Matt Lewis  <jlewis3@apple.com>
305
306         Followup rebaseline to r224204.
307
308         Unreviewed test gardening.
309
310         * platform/mac-elcapitan-wk2/http/tests/contentextensions/make-https-expected.txt: Added.
311         * platform/mac-sierra-wk2/http/tests/contentextensions/make-https-expected.txt: Added.
312
313 2017-10-30  Matt Lewis  <jlewis3@apple.com>
314
315         Rebaselined imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-ontrack.https.html for iOS after r224156.
316
317         Unreviewed test gardening.
318
319         * platform/ios-wk2/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-ontrack.https-expected.txt: Added.
320
321 2017-10-30  Matt Lewis  <jlewis3@apple.com>
322
323         Rebaselining multiple http/tests/websocket/tests/hybi/contentextensions/ test after r224031.
324
325         Unreviewed test gardening.
326
327         * http/tests/websocket/tests/hybi/contentextensions/upgrade-expected.txt:
328         * http/tests/websocket/tests/hybi/contentextensions/upgrade-worker-expected.txt:
329
330 2017-10-27  Ryosuke Niwa  <rniwa@webkit.org>
331
332         Crash in addChildNodesToDeletionQueue
333         https://bugs.webkit.org/show_bug.cgi?id=178974
334         <rdar://problem/35234372>
335
336         Reviewed by Brent Fulgham.
337
338         Add a regression test.
339
340         * fast/parser/foster-parent-inside-template-expected.txt: Added.
341         * fast/parser/foster-parent-inside-template.html: Added.
342         * resources/dump-as-markup.js:
343         (Markup._get): Fixed the bug that this code would always throw an exception inside a browser.
344
345 2017-10-30  Commit Queue  <commit-queue@webkit.org>
346
347         Unreviewed, rolling out r224078.
348         https://bugs.webkit.org/show_bug.cgi?id=179026
349
350         MotionMark regression (Requested by shallawa on #webkit).
351
352         Reverted changeset:
353
354         "When navigating back to a page, compositing layers may not
355         use accelerated drawing"
356         https://bugs.webkit.org/show_bug.cgi?id=178749
357         https://trac.webkit.org/changeset/224078
358
359 2017-10-30  Ryan Haddad  <ryanhaddad@apple.com>
360
361         Remove flaky expectation for contentextension tests.
362         https://bugs.webkit.org/show_bug.cgi?id=162942
363
364         Unreviewed test gardening.
365
366         The underlying issue was resolved a while ago, but this expectation was not removed.
367
368         * platform/mac-wk2/TestExpectations:
369
370 2017-10-30  Simon Fraser  <simon.fraser@apple.com>
371
372         tab-size: 0px asserts
373         https://bugs.webkit.org/show_bug.cgi?id=176198
374
375         Reviewed by Antti Koivisto.
376
377         Don't claim to support tab-size values with units. We don't, and they would become 0, rather
378         than fall back to the default as should happen.
379
380         * fast/css/tab-size-expected.html:
381         * fast/css/tab-size.html:
382
383 2017-10-30  Antoine Quint  <graouts@apple.com>
384
385         [Web Animations] Rewrite homegrown tests as Web Platform tests
386         https://bugs.webkit.org/show_bug.cgi?id=179017
387
388         We rewrite all of the new homegrown Web Animations tests as Web Platorm tests,
389         except for one test which checks dumping of the document timeline using an
390         internals method which is not appropriate as a WPT.
391
392         Reviewed by Dean Jackson.
393
394         * http/wpt/wk-web-animations/timing-model/animation-creation-basic-expected.txt: Added.
395         * http/wpt/wk-web-animations/timing-model/animation-creation-basic.html: Added.
396         * http/wpt/wk-web-animations/timing-model/animation-current-time-expected.txt: Added.
397         * http/wpt/wk-web-animations/timing-model/animation-current-time.html: Added.
398         * http/wpt/wk-web-animations/timing-model/animation-effect-expected.txt: Added.
399         * http/wpt/wk-web-animations/timing-model/animation-effect-timing-expected.txt: Added.
400         * http/wpt/wk-web-animations/timing-model/animation-effect-timing.html: Added.
401         * http/wpt/wk-web-animations/timing-model/animation-effect.html: Added.
402         * http/wpt/wk-web-animations/timing-model/animation-interface-effect-property-expected.txt: Added.
403         * http/wpt/wk-web-animations/timing-model/animation-interface-effect-property.html: Added.
404         * http/wpt/wk-web-animations/timing-model/animation-interface-start-time-property-expected.txt: Added.
405         * http/wpt/wk-web-animations/timing-model/animation-interface-start-time-property.html: Added.
406         * http/wpt/wk-web-animations/timing-model/document-timeline-expected.txt: Added.
407         * http/wpt/wk-web-animations/timing-model/document-timeline.html: Added.
408         * http/wpt/wk-web-animations/timing-model/keyframe-effect-expected.txt: Added.
409         * http/wpt/wk-web-animations/timing-model/keyframe-effect-interface-timing-duration-expected.txt: Added.
410         * http/wpt/wk-web-animations/timing-model/keyframe-effect-interface-timing-duration.html: Added.
411         * http/wpt/wk-web-animations/timing-model/keyframe-effect.html: Added.
412         * http/wpt/wk-web-animations/timing-model/timeline-current-time-expected.txt: Added.
413         * http/wpt/wk-web-animations/timing-model/timeline-current-time.html: Added.
414         * webanimations/animation-creation-basic-expected.txt: Removed.
415         * webanimations/animation-creation-basic.html: Removed.
416         * webanimations/animation-current-time-expected.txt: Removed.
417         * webanimations/animation-current-time.html: Removed.
418         * webanimations/animation-effect-expected.txt: Removed.
419         * webanimations/animation-effect-timing-expected.txt: Removed.
420         * webanimations/animation-effect-timing.html: Removed.
421         * webanimations/animation-effect.html: Removed.
422         * webanimations/animation-interface-effect-property-expected.txt: Removed.
423         * webanimations/animation-interface-effect-property.html: Removed.
424         * webanimations/animation-interface-start-time-property-expected.txt: Removed.
425         * webanimations/animation-interface-start-time-property.html: Removed.
426         * webanimations/document-timeline-expected.txt: Removed.
427         * webanimations/document-timeline.html: Removed.
428         * webanimations/keyframe-effect-expected.txt: Removed.
429         * webanimations/keyframe-effect-interface-timing-duration-expected.txt: Removed.
430         * webanimations/keyframe-effect-interface-timing-duration.html: Removed.
431         * webanimations/keyframe-effect.html: Removed.
432         * webanimations/timeline-current-time-expected.txt: Removed.
433         * webanimations/timeline-current-time.html: Removed.
434
435 2017-10-30  Per Arne Vollan  <pvollan@apple.com>
436
437         [Win] Rebaseline tests after r224177.
438
439         Unreviewed test gardening.
440
441         * platform/win/editing/deleting/4922367-expected.txt:
442         * platform/win/editing/deleting/delete-at-paragraph-boundaries-004-expected.txt:
443         * platform/win/editing/deleting/delete-at-paragraph-boundaries-010-expected.txt:
444         * platform/win/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
445         * platform/win/editing/deleting/delete-block-merge-contents-005-expected.txt:
446         * platform/win/editing/deleting/delete-block-merge-contents-006-expected.txt:
447         * platform/win/editing/deleting/delete-block-merge-contents-007-expected.txt:
448         * platform/win/editing/deleting/delete-block-merge-contents-008-expected.txt:
449         * platform/win/editing/deleting/delete-block-merge-contents-023-expected.txt:
450         * platform/win/editing/deleting/delete-block-merge-contents-024-expected.txt:
451         * platform/win/editing/deleting/delete-br-008-expected.txt:
452         * platform/win/editing/deleting/delete-br-009-expected.txt:
453         * platform/win/editing/deleting/delete-br-010-expected.txt:
454         * platform/win/editing/deleting/delete-line-015-expected.txt:
455         * platform/win/editing/deleting/delete-line-016-expected.txt:
456         * platform/win/editing/deleting/delete-line-017-expected.txt:
457         * platform/win/editing/deleting/merge-no-br-expected.txt:
458         * platform/win/editing/deleting/type-delete-after-quote-expected.txt:
459         * platform/win/editing/execCommand/4747450-expected.txt:
460         * platform/win/editing/execCommand/4916402-expected.txt:
461         * platform/win/editing/execCommand/4916541-expected.txt:
462         * platform/win/editing/execCommand/4924441-expected.txt:
463         * platform/win/editing/execCommand/5136770-expected.txt:
464         * platform/win/editing/execCommand/5142012-2-expected.txt:
465         * platform/win/editing/execCommand/5190926-expected.txt:
466         * platform/win/editing/execCommand/5481523-expected.txt:
467         * platform/win/editing/execCommand/create-list-with-hr-expected.txt:
468         * platform/win/editing/execCommand/indent-selection-expected.txt:
469         * platform/win/editing/execCommand/insert-list-and-stitch-expected.txt:
470         * platform/win/editing/execCommand/nsresponder-indent-expected.txt:
471         * platform/win/editing/inserting/insert-br-quoted-004-expected.txt:
472         * platform/win/editing/inserting/insert-br-quoted-006-expected.txt:
473         * platform/win/editing/style/4916887-expected.txt:
474         * platform/win/editing/style/5046875-1-expected.txt:
475         * platform/win/editing/style/5046875-2-expected.txt:
476         * platform/win/editing/style/5279521-expected.txt:
477         * platform/win/editing/style/create-block-for-style-003-expected.txt:
478         * platform/win/editing/style/create-block-for-style-004-expected.txt:
479         * platform/win/editing/style/create-block-for-style-007-expected.txt:
480         * platform/win/editing/style/create-block-for-style-009-expected.txt:
481         * platform/win/editing/style/create-block-for-style-010-expected.txt:
482         * platform/win/editing/style/create-block-for-style-011-expected.txt:
483         * platform/win/editing/style/create-block-for-style-012-expected.txt:
484         * platform/win/editing/style/create-block-for-style-013-expected.txt:
485         * platform/win/editing/style/smoosh-styles-001-expected.txt:
486         * platform/win/editing/style/style-boundary-005-expected.txt:
487         * platform/win/editing/unsupported-content/list-delete-001-expected.txt:
488         * platform/win/fast/forms/button-generated-content-expected.txt:
489         * platform/win/fast/ruby/rubyDOM-remove-text2-expected.txt:
490
491 2017-10-30  Matt Lewis  <jlewis3@apple.com>
492
493         Rebaselined imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-within-sw-manual.https.html for iOS.
494
495         Unreviewed test gardening.
496
497         * platform/ios-wk2/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-within-sw-manual.https-expected.txt: Added.
498
499 2017-10-30  Antoine Quint  <graouts@apple.com>
500
501         [Web Animations] Add Web Platform tests
502         https://bugs.webkit.org/show_bug.cgi?id=178999
503
504         Reviewed by Sam Weinig.
505
506         The vast majority is failing, as expected due to the nascent status of our Web Animations implementation.
507
508         * http/wpt/web-animations/OWNERS: Added.
509         * http/wpt/web-animations/README.md: Added.
510         * http/wpt/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: Added.
511         * http/wpt/web-animations/animation-model/animation-types/accumulation-per-property.html: Added.
512         * http/wpt/web-animations/animation-model/animation-types/addition-per-property-expected.txt: Added.
513         * http/wpt/web-animations/animation-model/animation-types/addition-per-property.html: Added.
514         * http/wpt/web-animations/animation-model/animation-types/discrete-animation-expected.txt: Added.
515         * http/wpt/web-animations/animation-model/animation-types/discrete-animation.html: Added.
516         * http/wpt/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt: Added.
517         * http/wpt/web-animations/animation-model/animation-types/interpolation-per-property.html: Added.
518         * http/wpt/web-animations/animation-model/animation-types/property-list.js: Added.
519         (testAnimationSamplesWithAnyOrder):
520         (isSupported):
521         (TestKeyframe.):
522         (TestKeyframe.get Object):
523         (TestKeyframe):
524         (get propertyToIDL):
525         (calcFromPercentage):
526         * http/wpt/web-animations/animation-model/animation-types/property-types.js: Added.
527         (const.discreteType.):
528         (const.discreteType.testInterpolation):
529         (const.discreteType.testAdditionOrAccumulation):
530         (const.discreteType.testAddition):
531         (const.discreteType.testAccumulation):
532         (const.lengthType.testInterpolation):
533         (const.lengthType.testAdditionOrAccumulation):
534         (const.lengthType.testAddition):
535         (const.lengthType.testAccumulation):
536         (const.lengthPairType.testInterpolation):
537         (const.lengthPairType.testAdditionOrAccumulation):
538         (const.lengthPairType.testAddition):
539         (const.lengthPairType.testAccumulation):
540         (const.percentageType.testInterpolation):
541         (const.percentageType.testAdditionOrAccumulation):
542         (const.percentageType.testAddition):
543         (const.percentageType.testAccumulation):
544         (const.integerType.testInterpolation):
545         (const.integerType.testAdditionOrAccumulation):
546         (const.integerType.testAddition):
547         (const.integerType.testAccumulation):
548         (const.positiveIntegerType.testInterpolation):
549         (const.positiveIntegerType.testAdditionOrAccumulation):
550         (const.positiveIntegerType.testAddition):
551         (const.positiveIntegerType.testAccumulation):
552         (const.lengthPercentageOrCalcType.testInterpolation):
553         (const.lengthPercentageOrCalcType.testAdditionOrAccumulation):
554         (const.lengthPercentageOrCalcType.testAddition):
555         (const.lengthPercentageOrCalcType.testAccumulation):
556         (const.positiveNumberType.testInterpolation):
557         (const.positiveNumberType.testAdditionOrAccumulation):
558         (const.positiveNumberType.testAddition):
559         (const.positiveNumberType.testAccumulation):
560         (const.opacityType.testInterpolation):
561         (const.opacityType.testAdditionOrAccumulation):
562         (const.opacityType.testAddition):
563         (const.opacityType.testAccumulation):
564         (const.visibilityType.testInterpolation):
565         (const.visibilityType.testAdditionOrAccumulation):
566         (const.visibilityType.testAddition):
567         (const.visibilityType.testAccumulation):
568         (const.colorType.testInterpolation):
569         (const.colorType.testAdditionOrAccumulation):
570         (const.colorType.testAddition):
571         (const.colorType.testAccumulation):
572         (const.transformListType.testInterpolation):
573         (const.transformListType.testAddition):
574         (const.transformListType.testAccumulation):
575         (const.filterListType.testInterpolation):
576         (const.filterListType.testAddition):
577         (const.filterListType.testAccumulation):
578         (const.textShadowListType.testInterpolation):
579         (const.textShadowListType.testAddition):
580         (const.textShadowListType.testAccumulation):
581         (const.boxShadowListType.testInterpolation):
582         (const.boxShadowListType.testAddition):
583         (const.boxShadowListType.testAccumulation):
584         (const.positionType.testInterpolation):
585         (const.positionType.testAdditionOrAccumulation):
586         (const.positionType.testAddition):
587         (const.positionType.testAccumulation):
588         (const.rectType.testInterpolation):
589         (const.rectType.testAdditionOrAccumulation):
590         (const.rectType.testAddition):
591         (const.rectType.testAccumulation):
592         (const.dasharrayType.testInterpolation):
593         (const.dasharrayType.testAdditionOrAccumulation):
594         (const.dasharrayType.testAddition):
595         (const.dasharrayType.testAccumulation):
596         (const.fontStretchType.testInterpolation):
597         (const.fontStretchType.testAdditionOrAccumulation):
598         (const.fontStretchType.testAddition):
599         (const.fontStretchType.testAccumulation):
600         (const.fontVariationSettingsType.testInterpolation):
601         (const.fontVariationSettingsType.testAdditionOrAccumulation):
602         (const.fontVariationSettingsType.testAddition):
603         (const.fontVariationSettingsType.testAccumulation):
604         * http/wpt/web-animations/animation-model/combining-effects/effect-composition-expected.txt: Added.
605         * http/wpt/web-animations/animation-model/combining-effects/effect-composition.html: Added.
606         * http/wpt/web-animations/animation-model/keyframe-effects/effect-value-context-expected.txt: Added.
607         * http/wpt/web-animations/animation-model/keyframe-effects/effect-value-context.html: Added.
608         * http/wpt/web-animations/animation-model/keyframe-effects/effect-value-overlapping-keyframes-expected.txt: Added.
609         * http/wpt/web-animations/animation-model/keyframe-effects/effect-value-overlapping-keyframes.html: Added.
610         * http/wpt/web-animations/animation-model/keyframe-effects/effect-value-transformed-distance-expected.txt: Added.
611         * http/wpt/web-animations/animation-model/keyframe-effects/effect-value-transformed-distance.html: Added.
612         * http/wpt/web-animations/animation-model/keyframe-effects/effect-value-visibility-expected.txt: Added.
613         * http/wpt/web-animations/animation-model/keyframe-effects/effect-value-visibility.html: Added.
614         * http/wpt/web-animations/interfaces/Animatable/animate-expected.txt: Added.
615         * http/wpt/web-animations/interfaces/Animatable/animate-no-browsing-context-expected.txt: Added.
616         * http/wpt/web-animations/interfaces/Animatable/animate-no-browsing-context.html: Added.
617         * http/wpt/web-animations/interfaces/Animatable/animate.html: Added.
618         * http/wpt/web-animations/interfaces/Animatable/getAnimations-expected.txt: Added.
619         * http/wpt/web-animations/interfaces/Animatable/getAnimations.html: Added.
620         * http/wpt/web-animations/interfaces/Animation/cancel-expected.txt: Added.
621         * http/wpt/web-animations/interfaces/Animation/cancel.html: Added.
622         * http/wpt/web-animations/interfaces/Animation/constructor-expected.txt: Added.
623         * http/wpt/web-animations/interfaces/Animation/constructor.html: Added.
624         * http/wpt/web-animations/interfaces/Animation/effect-expected.txt: Added.
625         * http/wpt/web-animations/interfaces/Animation/effect.html: Added.
626         * http/wpt/web-animations/interfaces/Animation/finish-expected.txt: Added.
627         * http/wpt/web-animations/interfaces/Animation/finish.html: Added.
628         * http/wpt/web-animations/interfaces/Animation/finished-expected.txt: Added.
629         * http/wpt/web-animations/interfaces/Animation/finished.html: Added.
630         * http/wpt/web-animations/interfaces/Animation/id-expected.txt: Added.
631         * http/wpt/web-animations/interfaces/Animation/id.html: Added.
632         * http/wpt/web-animations/interfaces/Animation/idlharness-expected.txt: Added.
633         * http/wpt/web-animations/interfaces/Animation/idlharness.html: Added.
634         * http/wpt/web-animations/interfaces/Animation/oncancel-expected.txt: Added.
635         * http/wpt/web-animations/interfaces/Animation/oncancel.html: Added.
636         * http/wpt/web-animations/interfaces/Animation/onfinish-expected.txt: Added.
637         * http/wpt/web-animations/interfaces/Animation/onfinish.html: Added.
638         * http/wpt/web-animations/interfaces/Animation/pause-expected.txt: Added.
639         * http/wpt/web-animations/interfaces/Animation/pause.html: Added.
640         * http/wpt/web-animations/interfaces/Animation/play-expected.txt: Added.
641         * http/wpt/web-animations/interfaces/Animation/play.html: Added.
642         * http/wpt/web-animations/interfaces/Animation/playState-expected.txt: Added.
643         * http/wpt/web-animations/interfaces/Animation/playState.html: Added.
644         * http/wpt/web-animations/interfaces/Animation/playbackRate-expected.txt: Added.
645         * http/wpt/web-animations/interfaces/Animation/playbackRate.html: Added.
646         * http/wpt/web-animations/interfaces/Animation/ready-expected.txt: Added.
647         * http/wpt/web-animations/interfaces/Animation/ready.html: Added.
648         * http/wpt/web-animations/interfaces/Animation/startTime-expected.txt: Added.
649         * http/wpt/web-animations/interfaces/Animation/startTime.html: Added.
650         * http/wpt/web-animations/interfaces/AnimationEffectTiming/delay-expected.txt: Added.
651         * http/wpt/web-animations/interfaces/AnimationEffectTiming/delay.html: Added.
652         * http/wpt/web-animations/interfaces/AnimationEffectTiming/direction-expected.txt: Added.
653         * http/wpt/web-animations/interfaces/AnimationEffectTiming/direction.html: Added.
654         * http/wpt/web-animations/interfaces/AnimationEffectTiming/duration-expected.txt: Added.
655         * http/wpt/web-animations/interfaces/AnimationEffectTiming/duration.html: Added.
656         * http/wpt/web-animations/interfaces/AnimationEffectTiming/easing-expected.txt: Added.
657         * http/wpt/web-animations/interfaces/AnimationEffectTiming/easing.html: Added.
658         * http/wpt/web-animations/interfaces/AnimationEffectTiming/endDelay-expected.txt: Added.
659         * http/wpt/web-animations/interfaces/AnimationEffectTiming/endDelay.html: Added.
660         * http/wpt/web-animations/interfaces/AnimationEffectTiming/fill-expected.txt: Added.
661         * http/wpt/web-animations/interfaces/AnimationEffectTiming/fill.html: Added.
662         * http/wpt/web-animations/interfaces/AnimationEffectTiming/getAnimations-expected.txt: Added.
663         * http/wpt/web-animations/interfaces/AnimationEffectTiming/getAnimations.html: Added.
664         * http/wpt/web-animations/interfaces/AnimationEffectTiming/getComputedStyle-expected.txt: Added.
665         * http/wpt/web-animations/interfaces/AnimationEffectTiming/getComputedStyle.html: Added.
666         * http/wpt/web-animations/interfaces/AnimationEffectTiming/iterationStart-expected.txt: Added.
667         * http/wpt/web-animations/interfaces/AnimationEffectTiming/iterationStart.html: Added.
668         * http/wpt/web-animations/interfaces/AnimationEffectTiming/iterations-expected.txt: Added.
669         * http/wpt/web-animations/interfaces/AnimationEffectTiming/iterations.html: Added.
670         * http/wpt/web-animations/interfaces/AnimationTimeline/document-timeline-expected.txt: Added.
671         * http/wpt/web-animations/interfaces/AnimationTimeline/document-timeline.html: Added.
672         * http/wpt/web-animations/interfaces/AnimationTimeline/idlharness-expected.txt: Added.
673         * http/wpt/web-animations/interfaces/AnimationTimeline/idlharness.html: Added.
674         * http/wpt/web-animations/interfaces/Document/getAnimations-expected.txt: Added.
675         * http/wpt/web-animations/interfaces/Document/getAnimations.html: Added.
676         * http/wpt/web-animations/interfaces/DocumentTimeline/constructor-expected.txt: Added.
677         * http/wpt/web-animations/interfaces/DocumentTimeline/constructor.html: Added.
678         * http/wpt/web-animations/interfaces/KeyframeEffect/composite-expected.txt: Added.
679         * http/wpt/web-animations/interfaces/KeyframeEffect/composite.html: Added.
680         * http/wpt/web-animations/interfaces/KeyframeEffect/constructor-expected.txt: Added.
681         * http/wpt/web-animations/interfaces/KeyframeEffect/constructor.html: Added.
682         * http/wpt/web-animations/interfaces/KeyframeEffect/copy-constructor-expected.txt: Added.
683         * http/wpt/web-animations/interfaces/KeyframeEffect/copy-constructor.html: Added.
684         * http/wpt/web-animations/interfaces/KeyframeEffect/getComputedTiming-expected.txt: Added.
685         * http/wpt/web-animations/interfaces/KeyframeEffect/getComputedTiming.html: Added.
686         * http/wpt/web-animations/interfaces/KeyframeEffect/iterationComposite-expected.txt: Added.
687         * http/wpt/web-animations/interfaces/KeyframeEffect/iterationComposite.html: Added.
688         * http/wpt/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001-expected.txt: Added.
689         * http/wpt/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001.html: Added.
690         * http/wpt/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-002-expected.txt: Added.
691         * http/wpt/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-002.html: Added.
692         * http/wpt/web-animations/interfaces/KeyframeEffect/setKeyframes-expected.txt: Added.
693         * http/wpt/web-animations/interfaces/KeyframeEffect/setKeyframes.html: Added.
694         * http/wpt/web-animations/interfaces/KeyframeEffect/setTarget-expected.txt: Added.
695         * http/wpt/web-animations/interfaces/KeyframeEffect/setTarget.html: Added.
696         * http/wpt/web-animations/interfaces/KeyframeEffectReadOnly/copy-constructor-expected.txt: Added.
697         * http/wpt/web-animations/interfaces/KeyframeEffectReadOnly/copy-constructor.html: Added.
698         * http/wpt/web-animations/resources/easing-tests.js: Added.
699         (easingFunction.stepStart):
700         (easingFunction.stepEnd):
701         (easingFunction.framesTiming):
702         (easingFunction.cubicBezier):
703         * http/wpt/web-animations/resources/effect-tests.js: Added.
704         (assert_computed_timing_for_each_phase):
705         * http/wpt/web-animations/resources/keyframe-utils.js: Added.
706         (assert_frame_lists_equal):
707         (assert_frames_equal):
708         * http/wpt/web-animations/resources/xhr-doc.py: Added.
709         (main):
710         * http/wpt/web-animations/testcommon.js: Added.
711         (window.assert_times_equal.window.assert_times_equal):
712         (createDiv):
713         (createElement):
714         (createStyle):
715         (createPseudo):
716         (xForT):
717         (yForT):
718         (tForX):
719         (return.bezierClosure):
720         (cubicBezier):
721         (stepEnd.return.stepEndClosure):
722         (stepEnd):
723         (stepStart.return.stepStartClosure):
724         (stepStart):
725         (framesTiming.return.framesClosure):
726         (framesTiming):
727         (waitForAnimationFrames):
728         (rotate3dToMatrix3d):
729         (rotate3dToMatrix):
730         (assert_matrix_equals):
731         * http/wpt/web-animations/timing-model/animation-effects/active-time-expected.txt: Added.
732         * http/wpt/web-animations/timing-model/animation-effects/active-time.html: Added.
733         * http/wpt/web-animations/timing-model/animation-effects/current-iteration-expected.txt: Added.
734         * http/wpt/web-animations/timing-model/animation-effects/current-iteration.html: Added.
735         * http/wpt/web-animations/timing-model/animation-effects/local-time-expected.txt: Added.
736         * http/wpt/web-animations/timing-model/animation-effects/local-time.html: Added.
737         * http/wpt/web-animations/timing-model/animation-effects/phases-and-states-expected.txt: Added.
738         * http/wpt/web-animations/timing-model/animation-effects/phases-and-states.html: Added.
739         * http/wpt/web-animations/timing-model/animation-effects/simple-iteration-progress-expected.txt: Added.
740         * http/wpt/web-animations/timing-model/animation-effects/simple-iteration-progress.html: Added.
741         * http/wpt/web-animations/timing-model/animations/canceling-an-animation-expected.txt: Added.
742         * http/wpt/web-animations/timing-model/animations/canceling-an-animation.html: Added.
743         * http/wpt/web-animations/timing-model/animations/current-time-expected.txt: Added.
744         * http/wpt/web-animations/timing-model/animations/current-time.html: Added.
745         * http/wpt/web-animations/timing-model/animations/finishing-an-animation-expected.txt: Added.
746         * http/wpt/web-animations/timing-model/animations/finishing-an-animation.html: Added.
747         * http/wpt/web-animations/timing-model/animations/pausing-an-animation-expected.txt: Added.
748         * http/wpt/web-animations/timing-model/animations/pausing-an-animation.html: Added.
749         * http/wpt/web-animations/timing-model/animations/playing-an-animation-expected.txt: Added.
750         * http/wpt/web-animations/timing-model/animations/playing-an-animation.html: Added.
751         * http/wpt/web-animations/timing-model/animations/reversing-an-animation-expected.txt: Added.
752         * http/wpt/web-animations/timing-model/animations/reversing-an-animation.html: Added.
753         * http/wpt/web-animations/timing-model/animations/set-the-animation-start-time-expected.txt: Added.
754         * http/wpt/web-animations/timing-model/animations/set-the-animation-start-time.html: Added.
755         * http/wpt/web-animations/timing-model/animations/set-the-target-effect-of-an-animation-expected.txt: Added.
756         * http/wpt/web-animations/timing-model/animations/set-the-target-effect-of-an-animation.html: Added.
757         * http/wpt/web-animations/timing-model/animations/set-the-timeline-of-an-animation-expected.txt: Added.
758         * http/wpt/web-animations/timing-model/animations/set-the-timeline-of-an-animation.html: Added.
759         * http/wpt/web-animations/timing-model/animations/updating-the-finished-state-expected.txt: Added.
760         * http/wpt/web-animations/timing-model/animations/updating-the-finished-state.html: Added.
761         * http/wpt/web-animations/timing-model/time-transformations/transformed-progress-expected.txt: Added.
762         * http/wpt/web-animations/timing-model/time-transformations/transformed-progress.html: Added.
763
764 2017-10-30  Antoine Quint  <graouts@apple.com>
765
766         [Web Animations] Expose the playbackRate property on Animation
767         https://bugs.webkit.org/show_bug.cgi?id=178931
768
769         Reviewed by Sam Weinig.
770
771         Add a new test, using WPT, to check that the playbackRate property is accounted
772         for when getting and setting the current time.
773
774         * http/wpt/wk-web-animations/timing-model/animation-playback-rate-expected.txt: Added.
775         * http/wpt/wk-web-animations/timing-model/animation-playback-rate.html: Added.
776
777 2017-10-30  Carlos Alberto Lopez Perez  <clopez@igalia.com>
778
779         [GTK] Rebaseline affected tests after r224177
780         https://bugs.webkit.org/show_bug.cgi?id=178933
781
782         Unreviewed gardening.
783
784         * platform/gtk/editing/deleting/4922367-expected.txt:
785         * platform/gtk/editing/deleting/delete-at-paragraph-boundaries-004-expected.txt:
786         * platform/gtk/editing/deleting/delete-at-paragraph-boundaries-010-expected.txt:
787         * platform/gtk/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
788         * platform/gtk/editing/deleting/delete-block-merge-contents-005-expected.txt:
789         * platform/gtk/editing/deleting/delete-block-merge-contents-006-expected.txt:
790         * platform/gtk/editing/deleting/delete-block-merge-contents-007-expected.txt:
791         * platform/gtk/editing/deleting/delete-block-merge-contents-008-expected.txt:
792         * platform/gtk/editing/deleting/delete-block-merge-contents-023-expected.txt:
793         * platform/gtk/editing/deleting/delete-block-merge-contents-024-expected.txt:
794         * platform/gtk/editing/deleting/delete-br-008-expected.txt:
795         * platform/gtk/editing/deleting/delete-br-010-expected.txt:
796         * platform/gtk/editing/deleting/delete-line-015-expected.txt:
797         * platform/gtk/editing/deleting/delete-line-016-expected.txt:
798         * platform/gtk/editing/deleting/delete-line-017-expected.txt:
799         * platform/gtk/editing/deleting/merge-no-br-expected.txt:
800         * platform/gtk/editing/deleting/type-delete-after-quote-expected.txt:
801         * platform/gtk/editing/execCommand/4747450-expected.txt:
802         * platform/gtk/editing/execCommand/4916402-expected.txt:
803         * platform/gtk/editing/execCommand/4916541-expected.txt:
804         * platform/gtk/editing/execCommand/4924441-expected.txt:
805         * platform/gtk/editing/execCommand/5136770-expected.txt:
806         * platform/gtk/editing/execCommand/5142012-2-expected.txt:
807         * platform/gtk/editing/execCommand/5190926-expected.txt:
808         * platform/gtk/editing/execCommand/5481523-expected.txt:
809         * platform/gtk/editing/execCommand/create-list-with-hr-expected.txt:
810         * platform/gtk/editing/execCommand/indent-selection-expected.txt:
811         * platform/gtk/editing/execCommand/insert-list-and-stitch-expected.txt:
812         * platform/gtk/editing/execCommand/nsresponder-indent-expected.txt:
813         * platform/gtk/editing/inserting/insert-br-quoted-004-expected.txt:
814         * platform/gtk/editing/inserting/insert-br-quoted-006-expected.txt:
815         * platform/gtk/editing/pasteboard/5071074-2-expected.txt:
816         * platform/gtk/editing/pasteboard/displaced-generic-placeholder-expected.txt:
817         * platform/gtk/editing/pasteboard/displaced-placeholder-expected.txt:
818         * platform/gtk/editing/pasteboard/merge-after-delete-2-expected.txt:
819         * platform/gtk/editing/pasteboard/merge-after-delete-expected.txt:
820         * platform/gtk/editing/pasteboard/merge-end-blockquote-expected.txt:
821         * platform/gtk/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt:
822         * platform/gtk/editing/pasteboard/paste-line-endings-008-expected.txt:
823         * platform/gtk/editing/pasteboard/paste-match-style-001-expected.txt:
824         * platform/gtk/editing/pasteboard/paste-text-008-expected.txt:
825         * platform/gtk/editing/pasteboard/paste-text-009-expected.txt:
826         * platform/gtk/editing/pasteboard/smart-paste-007-expected.txt:
827         * platform/gtk/editing/pasteboard/smart-paste-008-expected.txt:
828         * platform/gtk/editing/pasteboard/undoable-fragment-removes-expected.txt:
829         * platform/gtk/editing/pasteboard/unrendered-br-expected.txt:
830         * platform/gtk/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
831         * platform/gtk/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
832         * platform/gtk/editing/style/4916887-expected.txt:
833         * platform/gtk/editing/style/5046875-1-expected.txt:
834         * platform/gtk/editing/style/5046875-2-expected.txt:
835         * platform/gtk/editing/style/5279521-expected.txt:
836         * platform/gtk/editing/style/create-block-for-style-003-expected.txt:
837         * platform/gtk/editing/style/create-block-for-style-004-expected.txt:
838         * platform/gtk/editing/style/create-block-for-style-007-expected.txt:
839         * platform/gtk/editing/style/create-block-for-style-009-expected.txt:
840         * platform/gtk/editing/style/create-block-for-style-010-expected.txt:
841         * platform/gtk/editing/style/create-block-for-style-011-expected.txt:
842         * platform/gtk/editing/style/create-block-for-style-012-expected.txt:
843         * platform/gtk/editing/style/create-block-for-style-013-expected.txt:
844         * platform/gtk/editing/unsupported-content/list-delete-001-expected.txt:
845         * platform/gtk/fast/forms/button-generated-content-expected.txt:
846
847 2017-10-30  Antti Koivisto  <antti@apple.com>
848
849         Destroy all unneeded anonymous wrappers in RenderObject::removeFromParentAndDestroyCleaningUpAnonymousWrappers()
850         https://bugs.webkit.org/show_bug.cgi?id=178933
851
852         Reviewed by Zalan Bujtas.
853
854         Many leftover empty anonymous wrappers go away in render tree dumps. No visual impact.
855
856         * editing/deleting/delete-br-009-expected.txt:
857         * platform/ios-wk2/editing/execCommand/4747450-expected.txt:
858         * platform/ios-wk2/editing/execCommand/4924441-expected.txt:
859         * platform/ios-wk2/editing/inserting/insert-br-quoted-004-expected.txt:
860         * platform/ios-wk2/editing/inserting/insert-br-quoted-006-expected.txt:
861         * platform/ios-wk2/editing/pasteboard/merge-end-blockquote-expected.txt:
862         * platform/ios-wk2/editing/pasteboard/paste-line-endings-008-expected.txt:
863         * platform/ios-wk2/editing/pasteboard/paste-match-style-001-expected.txt:
864         * platform/ios-wk2/editing/pasteboard/paste-text-008-expected.txt:
865         * platform/ios-wk2/editing/pasteboard/paste-text-009-expected.txt:
866         * platform/ios-wk2/editing/pasteboard/undoable-fragment-removes-expected.txt:
867         * platform/ios-wk2/editing/pasteboard/unrendered-br-expected.txt:
868         * platform/ios-wk2/editing/style/4916887-expected.txt:
869         * platform/ios-wk2/editing/style/5046875-1-expected.txt:
870         * platform/ios-wk2/editing/style/5046875-2-expected.txt:
871         * platform/ios-wk2/editing/style/5279521-expected.txt:
872         * platform/ios-wk2/editing/style/create-block-for-style-003-expected.txt:
873         * platform/ios-wk2/editing/style/create-block-for-style-004-expected.txt:
874         * platform/ios-wk2/editing/style/create-block-for-style-007-expected.txt:
875         * platform/ios-wk2/editing/style/create-block-for-style-009-expected.txt:
876         * platform/ios-wk2/editing/style/create-block-for-style-010-expected.txt:
877         * platform/ios-wk2/editing/style/create-block-for-style-011-expected.txt:
878         * platform/ios-wk2/editing/style/create-block-for-style-012-expected.txt:
879         * platform/ios-wk2/editing/style/create-block-for-style-013-expected.txt:
880         * platform/ios/editing/deleting/4922367-expected.txt:
881         * platform/ios/editing/deleting/type-delete-after-quote-expected.txt:
882         * platform/ios/editing/execCommand/4916402-expected.txt:
883         * platform/ios/editing/execCommand/4916541-expected.txt:
884         * platform/ios/editing/execCommand/5136770-expected.txt:
885         * platform/ios/editing/execCommand/5142012-2-expected.txt:
886         * platform/ios/editing/execCommand/5190926-expected.txt:
887         * platform/ios/editing/execCommand/5481523-expected.txt:
888         * platform/ios/editing/pasteboard/5071074-2-expected.txt:
889         * platform/ios/editing/pasteboard/displaced-generic-placeholder-expected.txt:
890         * platform/ios/editing/pasteboard/displaced-placeholder-expected.txt:
891         * platform/ios/editing/pasteboard/merge-after-delete-2-expected.txt:
892         * platform/ios/editing/pasteboard/merge-after-delete-expected.txt:
893         * platform/ios/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt:
894         * platform/ios/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
895         * platform/ios/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
896         * platform/ios/fast/forms/button-generated-content-expected.txt:
897         * platform/ios/fast/ruby/rubyDOM-remove-text2-expected.txt:
898         * platform/mac-elcapitan/fast/forms/button-generated-content-expected.txt:
899         * platform/mac/editing/deleting/4922367-expected.txt:
900         * platform/mac/editing/deleting/delete-at-paragraph-boundaries-004-expected.txt:
901         * platform/mac/editing/deleting/delete-at-paragraph-boundaries-010-expected.txt:
902         * platform/mac/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
903         * platform/mac/editing/deleting/delete-block-merge-contents-005-expected.txt:
904         * platform/mac/editing/deleting/delete-block-merge-contents-006-expected.txt:
905         * platform/mac/editing/deleting/delete-block-merge-contents-007-expected.txt:
906         * platform/mac/editing/deleting/delete-block-merge-contents-008-expected.txt:
907         * platform/mac/editing/deleting/delete-block-merge-contents-023-expected.txt:
908         * platform/mac/editing/deleting/delete-block-merge-contents-024-expected.txt:
909         * platform/mac/editing/deleting/delete-br-008-expected.txt:
910         * platform/mac/editing/deleting/delete-br-010-expected.txt:
911         * platform/mac/editing/deleting/delete-line-015-expected.txt:
912         * platform/mac/editing/deleting/delete-line-016-expected.txt:
913         * platform/mac/editing/deleting/delete-line-017-expected.txt:
914         * platform/mac/editing/deleting/merge-no-br-expected.txt:
915         * platform/mac/editing/deleting/type-delete-after-quote-expected.txt:
916         * platform/mac/editing/execCommand/4747450-expected.txt:
917         * platform/mac/editing/execCommand/4916402-expected.txt:
918         * platform/mac/editing/execCommand/4916541-expected.txt:
919         * platform/mac/editing/execCommand/4924441-expected.txt:
920         * platform/mac/editing/execCommand/5136770-expected.txt:
921         * platform/mac/editing/execCommand/5142012-2-expected.txt:
922         * platform/mac/editing/execCommand/5190926-expected.txt:
923         * platform/mac/editing/execCommand/5481523-expected.txt:
924         * platform/mac/editing/execCommand/create-list-with-hr-expected.txt:
925         * platform/mac/editing/execCommand/indent-selection-expected.txt:
926         * platform/mac/editing/execCommand/insert-list-and-stitch-expected.txt:
927         * platform/mac/editing/execCommand/nsresponder-indent-expected.txt:
928         * platform/mac/editing/inserting/break-blockquote-after-delete-expected.txt:
929         * platform/mac/editing/inserting/insert-br-quoted-004-expected.txt:
930         * platform/mac/editing/inserting/insert-br-quoted-006-expected.txt:
931         * platform/mac/editing/pasteboard/5071074-2-expected.txt:
932         * platform/mac/editing/pasteboard/displaced-generic-placeholder-expected.txt:
933         * platform/mac/editing/pasteboard/displaced-placeholder-expected.txt:
934         * platform/mac/editing/pasteboard/merge-after-delete-2-expected.txt:
935         * platform/mac/editing/pasteboard/merge-after-delete-expected.txt:
936         * platform/mac/editing/pasteboard/merge-end-blockquote-expected.txt:
937         * platform/mac/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt:
938         * platform/mac/editing/pasteboard/paste-line-endings-008-expected.txt:
939         * platform/mac/editing/pasteboard/paste-match-style-001-expected.txt:
940         * platform/mac/editing/pasteboard/paste-text-008-expected.txt:
941         * platform/mac/editing/pasteboard/paste-text-009-expected.txt:
942         * platform/mac/editing/pasteboard/smart-paste-007-expected.txt:
943         * platform/mac/editing/pasteboard/smart-paste-008-expected.txt:
944         * platform/mac/editing/pasteboard/undoable-fragment-removes-expected.txt:
945         * platform/mac/editing/pasteboard/unrendered-br-expected.txt:
946         * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
947         * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
948         * platform/mac/editing/style/4916887-expected.txt:
949         * platform/mac/editing/style/5046875-1-expected.txt:
950         * platform/mac/editing/style/5046875-2-expected.txt:
951         * platform/mac/editing/style/5279521-expected.txt:
952         * platform/mac/editing/style/create-block-for-style-003-expected.txt:
953         * platform/mac/editing/style/create-block-for-style-004-expected.txt:
954         * platform/mac/editing/style/create-block-for-style-007-expected.txt:
955         * platform/mac/editing/style/create-block-for-style-009-expected.txt:
956         * platform/mac/editing/style/create-block-for-style-010-expected.txt:
957         * platform/mac/editing/style/create-block-for-style-011-expected.txt:
958         * platform/mac/editing/style/create-block-for-style-012-expected.txt:
959         * platform/mac/editing/style/create-block-for-style-013-expected.txt:
960         * platform/mac/editing/style/smoosh-styles-001-expected.txt:
961         * platform/mac/editing/style/style-boundary-005-expected.txt:
962         * platform/mac/editing/style/unbold-in-bold-expected.txt:
963         * platform/mac/editing/unsupported-content/list-delete-001-expected.txt:
964         * platform/mac/fast/forms/button-generated-content-expected.txt:
965         * platform/mac/fast/ruby/rubyDOM-remove-text2-expected.txt:
966
967 2017-10-30  Zan Dobersek  <zdobersek@igalia.com>
968
969         [GCrypt] Add support for P-521 EC curves
970         https://bugs.webkit.org/show_bug.cgi?id=175199
971
972         Reviewed by Jiewen Tan.
973
974         Add or update Web Crypto test baselines for the GTK+ and WPE ports
975         to reflect the added EC P-521 support.
976
977         * platform/gtk/crypto/subtle/ec-generate-key-malformed-parameters-expected.txt: Added.
978         * platform/gtk/crypto/subtle/ecdh-derive-bits-length-limits-expected.txt: Added.
979         * platform/gtk/crypto/subtle/ecdh-import-spki-key-ecdh-identifier-expected.txt: Added.
980         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/ecdh_bits.worker-expected.txt: Added.
981         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/ecdh_keys.worker-expected.txt: Added.
982         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/test_ecdh_bits.https-expected.txt: Added.
983         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/test_ecdh_keys.https-expected.txt: Added.
984         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures.worker-expected.txt:
985         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.worker-expected.txt: Added.
986         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.worker-expected.txt: Added.
987         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes.worker-expected.txt:
988         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.worker-expected.txt: Added.
989         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.worker-expected.txt: Added.
990         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_failures.https-expected.txt:
991         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDH.https-expected.txt: Added.
992         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDSA.https-expected.txt: Added.
993         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDH.https-expected.txt: Added.
994         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDSA.https-expected.txt: Added.
995         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/ec_importKey.worker-expected.txt: Added.
996         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/test_ec_importKey.https-expected.txt: Added.
997         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/ecdsa.worker-expected.txt: Added.
998         * platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/test_ecdsa.https-expected.txt: Added.
999         * platform/wpe/crypto/subtle/ec-generate-key-malformed-parameters-expected.txt: Added.
1000         * platform/wpe/crypto/subtle/ecdh-derive-bits-length-limits-expected.txt: Added.
1001         * platform/wpe/crypto/subtle/ecdh-import-spki-key-ecdh-identifier-expected.txt: Added.
1002         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/ecdh_bits.worker-expected.txt: Added.
1003         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/ecdh_keys.worker-expected.txt: Added.
1004         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/test_ecdh_bits.https-expected.txt: Added.
1005         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/test_ecdh_keys.https-expected.txt: Added.
1006         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures.worker-expected.txt:
1007         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.worker-expected.txt: Added.
1008         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.worker-expected.txt: Added.
1009         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes.worker-expected.txt:
1010         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.worker-expected.txt: Added.
1011         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.worker-expected.txt: Added.
1012         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_failures.https-expected.txt:
1013         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDH.https-expected.txt: Added.
1014         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDSA.https-expected.txt: Added.
1015         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDH.https-expected.txt: Added.
1016         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDSA.https-expected.txt: Added.
1017         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/ec_importKey.worker-expected.txt: Added.
1018         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/test_ec_importKey.https-expected.txt: Added.
1019         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/ecdsa.worker-expected.txt: Added.
1020         * platform/wpe/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/test_ecdsa.https-expected.txt: Added.
1021
1022 2017-10-30  Carlos Garcia Campos  <cgarcia@igalia.com>
1023
1024         Unreviewed WPE gardening. Skip Service Workers tests again after r224132.
1025
1026         Service Workers tests were unskipped from main TestExpectations in r224132, but Service Workers are not enabled
1027         in WPE port yet.
1028
1029         * platform/wpe/TestExpectations:
1030
1031 2017-10-30  Carlos Garcia Campos  <cgarcia@igalia.com>
1032
1033         Unreviewed GTK+ gardening. Skip Service Workers tests again after r224132.
1034
1035         Service Workers tests were unskipped from main TestExpectations in r224132, but Service Workers are not enabled
1036         in GTk+ port yet.
1037
1038         * platform/gtk/TestExpectations:
1039
1040 2017-10-29  Chris Dumez  <cdumez@apple.com>
1041
1042         Unreviewed, rebaseline a few tests after r224156.
1043
1044         * TestExpectations:
1045
1046 2017-10-29  Sam Weinig  <sam@webkit.org>
1047
1048         [Conic Gradients] Add support for parsing conic gradients
1049         https://bugs.webkit.org/show_bug.cgi?id=178987
1050
1051         Reviewed by Dean Jackson.
1052
1053         * http/wpt/css: Added.
1054         * http/wpt/css/css-images-4: Added.
1055         * http/wpt/css/css-images-4/conic-gradient-parsing-expected.txt: Added.
1056         * http/wpt/css/css-images-4/conic-gradient-parsing.html: Added.
1057
1058             Add tests for basic parsing of conic gradients.
1059
1060 2017-10-29  Antoine Quint  <graouts@apple.com>
1061
1062         [Web Animations] Expose the currentTime property on Animation
1063         https://bugs.webkit.org/show_bug.cgi?id=178988
1064
1065         Reviewed by Dean Jackson.
1066
1067         Add a new test that checks that the currentTime property is set
1068         correctly based on the startTime value and the document timeline
1069         currentTime, and that setting the property may raise an exception
1070         and otherwise update the animation startTime.
1071
1072         * webanimations/animation-current-time-expected.txt: Added.
1073         * webanimations/animation-current-time.html: Added.
1074
1075 2017-10-28  Dean Jackson  <dino@apple.com>
1076
1077         createImageBitmap with HTMLCanvasElement
1078         https://bugs.webkit.org/show_bug.cgi?id=178984
1079         <rdar://problem/35238440>
1080
1081         Reviewed by Sam Weinig.
1082
1083         Exercise new creation method.
1084
1085         * http/wpt/2dcontext/imagebitmap/common.js:
1086         (create9x9CanvasWithTargetImage):
1087         * http/wpt/2dcontext/imagebitmap/createImageBitmap-expected.txt:
1088         * http/wpt/2dcontext/imagebitmap/createImageBitmap-sizing-expected.txt:
1089         * http/wpt/2dcontext/imagebitmap/createImageBitmap-sizing.html:
1090         * http/wpt/2dcontext/imagebitmap/createImageBitmap.html:
1091         * http/wpt/2dcontext/imagebitmap/drawImage-ImageBitmap-expected.txt:
1092         * http/wpt/2dcontext/imagebitmap/drawImage-ImageBitmap.html:
1093
1094 2017-10-28  Youenn Fablet  <youenn@apple.com>
1095
1096         Make HTTPS WPT tests time out through testharness.js to get better error reports
1097         https://bugs.webkit.org/show_bug.cgi?id=178982
1098
1099         Reviewed by Chris Dumez.
1100
1101         * resources/testharnessreport.js: extending to tests run over HTTPS WPT port 9443.
1102
1103 2017-10-28  Youenn Fablet  <youenn@apple.com>
1104
1105         Rebase WPT tests up to a1c0107
1106         https://bugs.webkit.org/show_bug.cgi?id=178589
1107
1108         Reviewed by Alex Christensen.
1109
1110         * TestExpectations:
1111         * platform/mac-wk1/TestExpectations:
1112         * platform/mac-wk1/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-default-feature-policy.sub-expected.txt: Added.
1113
1114 2017-10-28  Myles C. Maxfield  <mmaxfield@apple.com>
1115
1116         [iOS] Unify Font::platformCharWidthInit() with macOS
1117         https://bugs.webkit.org/show_bug.cgi?id=178951
1118         <rdar://problem/7848198>
1119
1120         Reviewed by Zalan Bujtas.
1121
1122         Updating expected results.
1123
1124         * platform/ios-wk2/fast/forms/search-styled-expected.txt: Removed.
1125         * platform/ios-wk2/fast/forms/text-control-intrinsic-widths-expected.txt: Removed.
1126         * platform/ios-wk2/fast/forms/textarea-width-expected.txt: Removed.
1127         * platform/ios/fast/forms/search-styled-expected.txt:
1128         * platform/ios/fast/forms/text-control-intrinsic-widths-expected.txt:
1129         * platform/ios/fast/forms/textarea-width-expected.txt:
1130
1131 2017-10-28  Chris Dumez  <cdumez@apple.com>
1132
1133         self.ExtendableEvent / Client / Clients / WindowClient do not exist in a Service Worker
1134         https://bugs.webkit.org/show_bug.cgi?id=178976
1135
1136         Reviewed by Sam Weinig.
1137
1138         Add layout test coverage.
1139
1140         * http/tests/workers/service/ServiceWorkerGlobalScope-properties-expected.txt: Added.
1141         * http/tests/workers/service/ServiceWorkerGlobalScope-properties.html: Added.
1142         * http/tests/workers/service/resources/ServiceWorkerGlobalScope-properties-worker.js: Added.
1143
1144 2017-10-27  Devin Rousso  <webkit@devinrousso.com>
1145
1146         Web Inspector: Canvas Tab: no way to see backtrace of where a canvas context was created
1147         https://bugs.webkit.org/show_bug.cgi?id=178799
1148         <rdar://problem/35175805>
1149
1150         Reviewed by Brian Burg.
1151
1152         * inspector/canvas/create-context-2d-expected.txt:
1153         * inspector/canvas/create-context-webgl-expected.txt:
1154         * inspector/canvas/create-context-webgl2-expected.txt:
1155         * inspector/canvas/create-context-webgpu-expected.txt:
1156         * inspector/canvas/resources/create-context-utilities.js:
1157         (TestPage.registerInitializer.sanitizeURL):
1158         (TestPage.registerInitializer.awaitCanvasAdded):
1159         Pretty-print backtrace when canvases are added to the page.
1160
1161 2017-10-27  Daniel Bates  <dabates@apple.com>
1162
1163         Skip test http/tests/security/mixedContent/insecure-download-redirects-to-basic-auth-secure-download.https.html on OS X El Capitan
1164
1165         For now skip this test that was added in r224134 on OS X El Capitan. OS X El Capitan uses the
1166         legacy NSURLDownload code path for downloads. This code path is not happy with the self-signed
1167         certificate we use when running HTTPS tests. See <https://bugs.webkit.org/show_bug.cgi?id=155132>
1168         for more details.
1169
1170         * platform/mac-elcapitan/TestExpectations:
1171
1172 2017-10-27  Daniel Bates  <dabates@apple.com>
1173
1174         Only allow non-mixed content protected subresources to ask for credentials
1175         https://bugs.webkit.org/show_bug.cgi?id=178919
1176         <rdar://problem/35015245>
1177
1178         Reviewed by Alex Christensen.
1179
1180         * http/tests/security/mixedContent/insecure-download-redirects-to-basic-auth-secure-download.https-expected.txt: Added.
1181         * http/tests/security/mixedContent/insecure-download-redirects-to-basic-auth-secure-download.https.html: Added.
1182         * http/tests/security/mixedContent/insecure-image-redirects-to-basic-auth-secure-image-expected.txt: Added.
1183         * http/tests/security/mixedContent/insecure-image-redirects-to-basic-auth-secure-image.html: Added.
1184         * http/tests/security/mixedContent/insecure-script-redirects-to-basic-auth-secure-script-expected.https.txt: Added.
1185         * http/tests/security/mixedContent/insecure-script-redirects-to-basic-auth-secure-script-expected.txt: Added.
1186         * http/tests/security/mixedContent/insecure-script-redirects-to-basic-auth-secure-script.html: Added.
1187         * http/tests/security/mixedContent/insecure-stylesheet-redirects-to-basic-auth-secure-stylesheet-expected.txt: Added.
1188         * http/tests/security/mixedContent/insecure-stylesheet-redirects-to-basic-auth-secure-stylesheet.html: Added.
1189         * http/tests/security/mixedContent/resources/frame-with-insecure-image-redirects-to-basic-auth-secure-image.html: Added.
1190         * http/tests/security/mixedContent/resources/frame-with-insecure-script-redirects-to-basic-auth-secure-script.html: Added.
1191         * http/tests/security/mixedContent/resources/frame-with-insecure-stylesheet-redirects-to-basic-auth-secure-stylesheet.html: Added.
1192         * http/tests/security/mixedContent/resources/frame-with-programmatically-added-insecure-image-redirects-to-basic-auth-secure-image.html: Added.
1193         * http/tests/security/mixedContent/resources/subresource/protected-image.php: Added.
1194         * http/tests/security/mixedContent/resources/subresource/protected-pdf.php: Added.
1195         * http/tests/security/mixedContent/resources/subresource/protected-script.php: Added.
1196         * http/tests/security/mixedContent/resources/subresource/protected-stylesheet.php: Added.
1197         * http/tests/security/mixedContent/secure-redirect-to-insecure-redirect-to-basic-auth-secure-image.https-expected.txt: Added.
1198         * http/tests/security/mixedContent/secure-redirect-to-insecure-redirect-to-basic-auth-secure-image.https.html: Added.
1199         * http/tests/security/mixedContent/secure-redirect-to-secure-redirect-to-basic-auth-insecure-image.https-expected.txt: Added.
1200         * http/tests/security/mixedContent/secure-redirect-to-secure-redirect-to-basic-auth-insecure-image.https.html: Added.
1201         * http/tests/security/mixedContent/secure-redirect-to-secure-redirect-to-basic-auth-secure-image.https-expected.txt: Added.
1202         * http/tests/security/mixedContent/secure-redirect-to-secure-redirect-to-basic-auth-secure-image.https.html: Added.
1203         * platform/ios-wk1/http/tests/security/mixedContent/secure-redirect-to-secure-redirect-to-basic-auth-secure-image.https-expected.txt: Added.
1204         * platform/mac-wk1/http/tests/security/mixedContent/secure-redirect-to-secure-redirect-to-basic-auth-secure-image.https-expected.txt: Added.
1205         * platform/win/http/tests/security/mixedContent/secure-redirect-to-secure-redirect-to-basic-auth-secure-image.https-expected.txt: Added.
1206
1207 2017-10-27  Daniel Bates  <dabates@apple.com>
1208
1209         Add tests for automatic decompression of gzip-compressed subresources
1210         https://bugs.webkit.org/show_bug.cgi?id=178941
1211         <rdar://problem/35230090>
1212
1213         Reviewed by Alex Christensen.
1214
1215         Although automatic decompression of gzip-compressed subresources is handled by CFNetwork
1216         (<rdar://problem/5418646>) we should add tests to ensure that WebKit does not inadvertently
1217         opt out of such functionality and to catch a regression in CFNetwork.
1218
1219         * TestExpectations: Skip the tests on all platforms. We will unskip on Cocoa platforms and Apple Windows.
1220         * http/tests/gzip-content-encoding/gzip-encoded-script-expected.txt: Added.
1221         * http/tests/gzip-content-encoding/gzip-encoded-script.html: Added.
1222         * http/tests/gzip-content-encoding/gzip-encoded-script2-expected.txt: Added.
1223         * http/tests/gzip-content-encoding/gzip-encoded-script2.html: Added.
1224         * http/tests/gzip-content-encoding/gzip-encoded-stylesheet-expected.html: Added.
1225         * http/tests/gzip-content-encoding/gzip-encoded-stylesheet.html: Added.
1226         * http/tests/gzip-content-encoding/gzip-encoded-stylesheet2-expected.html: Added.
1227         * http/tests/gzip-content-encoding/gzip-encoded-stylesheet2.html: Added.
1228         * http/tests/gzip-content-encoding/resources/echo-data-encoding-with-gzip.php: Added.
1229         * http/tests/gzip-content-encoding/resources/script.js.gz: Added.
1230         * http/tests/gzip-content-encoding/resources/stylesheet.css.gz: Added.
1231         * platform/ios/TestExpectations: Unskip tests.
1232         * platform/mac/TestExpectations: Ditto.
1233         * platform/win/TestExpectations: Ditto.
1234
1235 2017-10-27  Chris Dumez  <cdumez@apple.com>
1236
1237         Unskip more Service Workers tests
1238         https://bugs.webkit.org/show_bug.cgi?id=178944
1239
1240         Reviewed by Sam Weinig.
1241
1242         Unskip all Service Workers tests except for the 39 that are timing out.
1243
1244         * TestExpectations:
1245
1246 2017-10-27  Matt Lewis  <jlewis3@apple.com>
1247
1248         Adjusted expectations for fast/scrolling/arrow-key-scroll-in-rtl-document.html.
1249         https://bugs.webkit.org/show_bug.cgi?id=173779
1250
1251         Unreviewed test gardening.
1252
1253         * platform/mac-wk2/TestExpectations:
1254
1255 2017-10-27  Matt Lewis  <jlewis3@apple.com>
1256
1257         Adjusted expectations for multiple media/ Layout Tests.
1258         https://bugs.webkit.org/show_bug.cgi?id=176054
1259
1260         Unreviewed test gardening.
1261
1262         * platform/mac-wk2/TestExpectations:
1263
1264 2017-10-27  Antoine Quint  <graouts@apple.com>
1265
1266         [Web Animations] Expose the currentTime property on AnimationTimeline
1267         https://bugs.webkit.org/show_bug.cgi?id=178928
1268
1269         Reviewed by Dean Jackson.
1270
1271         Add a new test that checks we can read the document's timeline currentTime
1272         property and set it via the internals method.
1273
1274         * webanimations/timeline-current-time-expected.txt: Added.
1275         * webanimations/timeline-current-time.html: Added.
1276
1277 2017-10-27  Ryan Haddad  <ryanhaddad@apple.com>
1278
1279         Skip two tests that are flaky crashes.
1280         https://bugs.webkit.org/show_bug.cgi?id=177828
1281
1282         Unreviewed test gardening.
1283
1284         * platform/mac-wk2/TestExpectations:
1285
1286 2017-10-27  Chris Dumez  <cdumez@apple.com>
1287
1288         DOMWindow::dispatchEvent() does not reset the event's dispatch flag
1289         https://bugs.webkit.org/show_bug.cgi?id=178897
1290
1291         Reviewed by Darin Adler.
1292
1293         Add layout test coverage. I have verified that this test is passing in Firefox.
1294
1295         * fast/events/window-load-initEvent-expected.txt: Added.
1296         * fast/events/window-load-initEvent.html: Added.
1297
1298 2017-10-27  Ryan Haddad  <ryanhaddad@apple.com>
1299
1300         Move TestExpectation for imported/w3c/web-platform-tests/XMLHttpRequest/open-url-worker-origin.htm.
1301         https://bugs.webkit.org/show_bug.cgi?id=178190
1302
1303         Unreviewed test gardening.
1304
1305         * TestExpectations:
1306         * platform/mac/TestExpectations:
1307
1308 2017-10-27  Chris Dumez  <cdumez@apple.com>
1309
1310         Add initial support for serviceWorkerClient.postMessage()
1311         https://bugs.webkit.org/show_bug.cgi?id=178794
1312
1313         Reviewed by Youenn Fablet.
1314
1315         Add layout test coverage.
1316
1317         * http/tests/workers/service/basic-ServiceWorker-postMessage.https-expected.txt:
1318         * http/tests/workers/service/resources/basic-ServiceWorker-postMessage-worker.js:
1319         * http/tests/workers/service/resources/basic-ServiceWorker-postMessage.js:
1320         (then):
1321
1322 2017-10-27  Ryan Haddad  <ryanhaddad@apple.com>
1323
1324         Skip failing service worker tests that were missed in r224066.
1325         https://trac.webkit.org/changeset/224066/webkit
1326
1327         Unreviewed test gardening.
1328
1329         * TestExpectations:
1330
1331 2017-10-27  Alicia Boya García  <aboya@igalia.com>
1332
1333         [GStreamer][MSE] Trim space between codecs
1334         https://bugs.webkit.org/show_bug.cgi?id=178160
1335
1336         Reviewed by Xabier Rodriguez-Calvar.
1337
1338         Update expected test output.
1339
1340         * platform/gtk/imported/w3c/web-platform-tests/media-source/mediasource-is-type-supported-expected.txt:
1341
1342 2017-10-27  Ryosuke Niwa  <rniwa@webkit.org>
1343
1344         Skip some copy & paste tests I wrote on GTK since they're are known to timeout/slow.
1345
1346         * platform/gtk/TestExpectations:
1347
1348 2017-10-26  Fujii Hironori  <Hironori.Fujii@sony.com>
1349
1350         [GTK][WPE] install-dependencies can't find libapache2-mod-php7.0 on Ubuntu 17.10
1351         https://bugs.webkit.org/show_bug.cgi?id=178854
1352
1353         Reviewed by Michael Catanzaro.
1354
1355         * http/conf/debian-httpd-2.2.conf: Removed.
1356         * http/conf/debian-httpd-2.4-php7.0.conf: Renamed from LayoutTests/http/conf/debian-httpd-2.4-php7.conf.
1357         * http/conf/debian-httpd-2.4-php7.1.conf: Copied from LayoutTests/http/conf/debian-httpd-2.4-php7.conf.
1358
1359 2017-10-26  Devin Rousso  <webkit@devinrousso.com>
1360
1361         Web Inspector: Canvas Tab: canvas path components from old page stick around when page is reloaded
1362         https://bugs.webkit.org/show_bug.cgi?id=178806
1363         <rdar://problem/35176360>
1364
1365         Reviewed by Brian Burg.
1366
1367         * inspector/canvas/context-attributes.html:
1368         * inspector/canvas/resources/create-context-utilities.js:
1369         (destroyCanvases):
1370         (TestPage.registerInitializer.awaitCanvasAdded):
1371         (TestPage.registerInitializer):
1372         * inspector/canvas/resources/shaderProgram-utilities.js:
1373         (deleteContext):
1374         (TestPage.registerInitializer.window.addParentCanvasRemovedTestCase):
1375         (TestPage.registerInitializer):
1376
1377 2017-10-25  Simon Fraser  <simon.fraser@apple.com>
1378
1379         When navigating back to a page, compositing layers may not use accelerated drawing
1380         https://bugs.webkit.org/show_bug.cgi?id=178749
1381         rdar://problem/35158946
1382
1383         Reviewed by Dean Jackson.
1384         
1385         Moved iframes/resources/page-cache-helper.html up to compositing/resources/go-back.html.
1386
1387         * compositing/accelerated-layers-after-back-expected.txt: Added.
1388         * compositing/accelerated-layers-after-back.html: Added.
1389         * compositing/iframes/page-cache-layer-tree.html:
1390         * compositing/page-cache-back-crash.html:
1391         * compositing/resources/go-back.html: Renamed from LayoutTests/compositing/iframes/resources/page-cache-helper.html.
1392         * platform/ios/compositing/accelerated-layers-after-back-expected.txt: Added.
1393
1394 2017-10-26  Myles C. Maxfield  <mmaxfield@apple.com>
1395
1396         [iOS] Update expected results for writing-mode tests
1397         https://bugs.webkit.org/show_bug.cgi?id=178916
1398         <rdar://problem/33250084>
1399
1400         Unreviewed.
1401
1402         * platform/ios/TestExpectations:
1403         * platform/ios/fast/writing-mode/border-vertical-lr-expected.txt:
1404         * platform/ios/fast/writing-mode/japanese-lr-text-expected.txt:
1405         * platform/ios/fast/writing-mode/japanese-rl-text-expected.txt:
1406         * platform/ios/fast/writing-mode/japanese-ruby-horizontal-bt-expected.txt:
1407         * platform/ios/fast/writing-mode/japanese-ruby-vertical-lr-expected.txt:
1408         * platform/ios/fast/writing-mode/japanese-ruby-vertical-rl-expected.txt:
1409         * platform/ios/fast/writing-mode/vertical-align-table-baseline-expected.txt:
1410         * platform/ios/fast/writing-mode/vertical-baseline-alignment-expected.txt:
1411
1412 2017-10-26  Youenn Fablet  <youenn@apple.com>
1413
1414         importScripts in service worker should use ServiceWorkersMode::None
1415         https://bugs.webkit.org/show_bug.cgi?id=178888
1416
1417         Reviewed by Chris Dumez.
1418
1419         * http/tests/workers/service/resources/service-worker-importScript-worker.js: Added.
1420         * http/tests/workers/service/resources/service-worker-importScript.js: Added.
1421         * http/tests/workers/service/service-worker-importScript-expected.txt: Added.
1422         * http/tests/workers/service/service-worker-importScript.html: Added.
1423
1424 2017-10-26  Youenn Fablet  <youenn@apple.com>
1425
1426         Implement ServiceWorkerContainer getRegistration
1427         https://bugs.webkit.org/show_bug.cgi?id=178882
1428
1429         Unreviewed.
1430
1431         * TestExpectations: Skipping service worker tests until they can produce results.
1432
1433 2017-10-26  Youenn Fablet  <youenn@apple.com>
1434
1435         Add service worker handle fetch support for all subresource requests
1436         https://bugs.webkit.org/show_bug.cgi?id=178769
1437
1438         Reviewed by Chris Dumez.
1439
1440         * http/tests/workers/service/image-fetch-expected.txt: Added.
1441         * http/tests/workers/service/image-fetch.html: Added.
1442         * http/tests/workers/service/resources/image-fetch-worker.js: Added.
1443         (event.event.request.url.indexOf):
1444         (event.event.request.url.endsWith):
1445         * http/tests/workers/service/resources/image-fetch.js: Added.
1446         (done):
1447         (async.loadedImage):
1448         (async.erroredImage):
1449         (async.logStatus):
1450         (async.test):
1451
1452 2017-10-26  Ryosuke Niwa  <rniwa@webkit.org>
1453
1454         LayoutTest http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin.html is a flaky failure
1455         https://bugs.webkit.org/show_bug.cgi?id=178828
1456
1457         Reviewed by Wenson Hsieh.
1458
1459         When the pasted content's iframe's body isn't available, wait for load event.
1460
1461         * http/tests/security/clipboard/resources/content-to-copy.html: Always wait for load event before notifying
1462         the parent page that it had finish loading.
1463         * http/tests/security/clipboard/resources/subdirectory/paste-html.html:
1464
1465 2017-10-26  Myles C. Maxfield  <mmaxfield@apple.com>
1466
1467         [iOS] Update expected results for platform/ios/ios/fast/text/opticalFontWith*.html
1468         https://bugs.webkit.org/show_bug.cgi?id=178885
1469
1470         Unreviewed.
1471
1472         * platform/ios/TestExpectations:
1473         * platform/ios/platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt:
1474         * platform/ios/platform/ios/ios/fast/text/opticalFontWithWeight-expected.txt:
1475
1476 2017-10-26  Myles C. Maxfield  <mmaxfield@apple.com>
1477
1478         [iOS] Update expected results for fast/text/international/complex-character-based-fallback.html
1479         https://bugs.webkit.org/show_bug.cgi?id=178884
1480         <rdar://problem/33602192>
1481
1482         Unreviewed.
1483
1484         Test gardening.
1485
1486         * platform/ios/TestExpectations:
1487         * platform/ios/fast/text/international/complex-character-based-fallback-expected.png: Added.
1488         * platform/ios/fast/text/international/complex-character-based-fallback-expected.txt:
1489
1490 2017-10-26  Youenn Fablet  <youenn@apple.com>
1491
1492         http/tests/workers/service/service-worker-cache-api.https.html is flaky
1493         https://bugs.webkit.org/show_bug.cgi?id=178877
1494
1495         Reviewed by Alex Christensen.
1496
1497         Marking test as PASS/FAIL.
1498         Changing test to finish after 10 seconds.
1499         Beefing up logging to help identifiying flakiness reason.
1500
1501         * TestExpectations:
1502         * http/tests/workers/service/resources/service-worker-cache-api-worker.js:
1503         (event.event.respondWith.promise.then):
1504         * http/tests/workers/service/resources/service-worker-cache-api.js:
1505         (async.test):
1506         * http/tests/workers/service/service-worker-cache-api.https-expected.txt:
1507
1508 2017-10-26  Matt Lewis  <jlewis3@apple.com>
1509
1510         Marked webrtc/video-mute.html as flaky.
1511         https://bugs.webkit.org/show_bug.cgi?id=177501
1512
1513         Unreviewed test gardening.
1514
1515         * platform/ios-wk2/TestExpectations:
1516         * platform/mac-wk2/TestExpectations:
1517
1518 2017-10-26  Ryan Haddad  <ryanhaddad@apple.com>
1519
1520         Unreviewed, rolling out r223984.
1521
1522         Caused LayoutTest assertion failures.
1523
1524         Reverted changeset:
1525
1526         "When navigating back to a page, compositing layers may not
1527         use accelerated drawing"
1528         https://bugs.webkit.org/show_bug.cgi?id=178749
1529         https://trac.webkit.org/changeset/223984
1530
1531 2017-10-25  Alex Christensen  <achristensen@webkit.org>
1532
1533         Rebase contentextensions test expectations
1534         https://bugs.webkit.org/show_bug.cgi?id=178841
1535
1536         Reviewed by Alexey Proskuryakov.
1537
1538         They've been marked as flaky for so long that nobody has rebased them.  The URLParser
1539         has changed underneath them, DOM error reporting has changed, etc.  The first step to
1540         gaining this test coverage back again is rebasing.
1541
1542         * http/tests/contentextensions/block-everything-if-domain-expected.txt:
1543         * http/tests/contentextensions/block-everything-unless-domain-redirect-expected.txt:
1544         * http/tests/contentextensions/character-set-basic-support-expected.txt:
1545         * http/tests/contentextensions/main-resource-expected.txt:
1546         * http/tests/contentextensions/main-resource-redirect-blocked-expected.txt:
1547         * http/tests/contentextensions/main-resource-redirect-error-expected.txt:
1548         * http/tests/contentextensions/make-https-expected.txt:
1549         * http/tests/contentextensions/plugin-doesnt-crash-expected.txt:
1550         * http/tests/contentextensions/sync-xhr-blocked-expected.txt:
1551         * http/tests/contentextensions/text-track-blocked-expected.txt:
1552
1553 2017-10-26  Matt Lewis  <jlewis3@apple.com>
1554
1555         Skipped webrtc/video-replace-muted-track.html on iOS.
1556         https://bugs.webkit.org/show_bug.cgi?id=173608
1557
1558         Unreviewed test gardening.
1559
1560         * platform/ios-wk2/TestExpectations:
1561
1562 2017-10-26  Ryan Haddad  <ryanhaddad@apple.com>
1563
1564         Unreviewed, rolling out r224019.
1565
1566         This change caused API test WebKit.MSEIsPlayingAudio to time
1567         out.
1568
1569         Reverted changeset:
1570
1571         "XMLHttpRequest should not treat file URLs as same origin"
1572         https://bugs.webkit.org/show_bug.cgi?id=178565
1573         https://trac.webkit.org/changeset/224019
1574
1575 2017-10-26  Ryan Haddad  <ryanhaddad@apple.com>
1576
1577         Unreviewed, rolling out r223994.
1578
1579         The LayoutTest for this change is failing.
1580
1581         Reverted changeset:
1582
1583         "Add service worker handle fetch support for all subresource
1584         requests"
1585         https://bugs.webkit.org/show_bug.cgi?id=178769
1586         https://trac.webkit.org/changeset/223994
1587
1588 2017-10-25  Ryan Haddad  <ryanhaddad@apple.com>
1589
1590         Update TestExpectations for compositing/tiling/non-active-window-tiles-size.html.
1591         https://bugs.webkit.org/show_bug.cgi?id=171763
1592
1593         Unreviewed test gardening.
1594
1595         * platform/mac-wk2/TestExpectations: Remove Debug-only flag.
1596
1597 2017-10-25  Brent Fulgham  <bfulgham@apple.com>
1598
1599         XMLHttpRequest should not treat file URLs as same origin
1600         https://bugs.webkit.org/show_bug.cgi?id=178565
1601         <rdar://problem/11115901>
1602
1603         Reviewed by Ryosuke Niwa.
1604
1605         * fast/xmlhttprequest/resources/xmlhttprequest-access-self-as-file-real.html: Added.
1606         * fast/xmlhttprequest/xmlhttprequest-access-self-as-file.html: Added.
1607         * fast/xmlhttprequest/xmlhttprequest-access-self-as-file-expected.txt: Added.
1608         * fast/xmlhttprequest/xmlhttprequest-access-self-as-blob-expected.txt: Added.
1609         * fast/xmlhttprequest/xmlhttprequest-access-self-as-blob.html: Added.
1610         * fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt: Rebaseline test now that we reject
1611           XHR to local file URLs.
1612         * platform/ios/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt: Rebaselined.
1613         * platform/wk2/TestExpectations: Skip test since 'beginDragWithFiles' is not supported in WKTR.
1614
1615 2017-10-26  Carlos Garcia Campos  <cgarcia@igalia.com>
1616
1617         REGRESSION(r222090): [HarfBuzz] Arabic shaping is broken except for first word in line
1618         https://bugs.webkit.org/show_bug.cgi?id=178625
1619
1620         Reviewed by Michael Catanzaro.
1621
1622         Rebaseline several tests that have been improved.
1623
1624         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.png:
1625         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt:
1626         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.png:
1627         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt:
1628         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.png:
1629         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt:
1630         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.png:
1631         * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt:
1632         * platform/gtk/fast/text/atsui-negative-spacing-features-expected.png:
1633         * platform/gtk/fast/text/atsui-negative-spacing-features-expected.txt:
1634         * platform/gtk/fast/text/international/hebrew-vowels-expected.png:
1635         * platform/gtk/fast/text/international/hebrew-vowels-expected.txt:
1636         * platform/gtk/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.png:
1637         * platform/gtk/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt:
1638         * platform/gtk/svg/custom/glyph-selection-arabic-forms-expected.png:
1639         * platform/gtk/svg/custom/glyph-selection-arabic-forms-expected.txt:
1640
1641 2017-10-26  Ryosuke Niwa  <rniwa@webkit.org>
1642
1643         LayoutTest http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin.html is a flaky failure
1644         https://bugs.webkit.org/show_bug.cgi?id=178828
1645
1646         Reviewed by Wenson Hsieh.
1647
1648         Removed the superflous call to finishJSTest after 3s.
1649
1650         * http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin.html:
1651
1652 2017-10-25  Devin Rousso  <webkit@devinrousso.com>
1653
1654         Web Inspector: provide a way to enable/disable event listeners
1655         https://bugs.webkit.org/show_bug.cgi?id=177451
1656         <rdar://problem/34994925>
1657
1658         Reviewed by Joseph Pecoraro.
1659
1660         * inspector/dom/setEventListenerDisabled-expected.txt: Added.
1661         * inspector/dom/setEventListenerDisabled.html: Added.
1662
1663 2017-10-25  Devin Rousso  <webkit@devinrousso.com>
1664
1665         Web Inspector: Canvas Tab: starting a second recording doesn't show red titlebar if the first recording was empty
1666         https://bugs.webkit.org/show_bug.cgi?id=178805
1667         <rdar://problem/35176303>
1668
1669         Reviewed by Brian Burg.
1670
1671         * inspector/canvas/recording-2d-expected.txt:
1672         * inspector/canvas/recording-2d.html:
1673
1674 2017-10-25  Devin Rousso  <webkit@devinrousso.com>
1675
1676         Web Inspector: replace TypeVerifier with subclasses of WI.Collection
1677         https://bugs.webkit.org/show_bug.cgi?id=178045
1678         <rdar://problem/35174307>
1679
1680         Reviewed by Brian Burg.
1681
1682         * inspector/unit-tests/collection-expected.txt:
1683         * inspector/unit-tests/collection.html:
1684
1685 2017-10-25  Youenn Fablet  <youenn@apple.com>
1686
1687         Add service worker handle fetch support for all subresource requests
1688         https://bugs.webkit.org/show_bug.cgi?id=178769
1689
1690         Reviewed by Chris Dumez.
1691
1692         * http/tests/workers/service/image-fetch.https-expected.txt: Added.
1693         * http/tests/workers/service/image-fetch.https.html: Added.
1694         * http/tests/workers/service/resources/image-fetch-worker.js: Added.
1695         (event.event.request.url.indexOf):
1696         (event.event.request.url.endsWith):
1697         * http/tests/workers/service/resources/image-fetch.js: Added.
1698         (done):
1699         (async.loadedImage):
1700         (async.erroredImage):
1701         (async.logStatus):
1702         (async.test):
1703
1704 2017-10-25  Simon Fraser  <simon.fraser@apple.com>
1705
1706         Aliasing of text in CSS specs is blocky and ugly
1707         https://bugs.webkit.org/show_bug.cgi?id=174946
1708
1709         Reviewed by Dean Jackson.
1710
1711         * compositing/contents-format/subpixel-antialiased-nested-layer-expected.txt: Added.
1712         * compositing/contents-format/subpixel-antialiased-nested-layer.html: Added.
1713
1714 2017-10-25  Simon Fraser  <simon.fraser@apple.com>
1715
1716         When navigating back to a page, compositing layers may not use accelerated drawing
1717         https://bugs.webkit.org/show_bug.cgi?id=178749
1718         rdar://problem/35158946
1719
1720         Reviewed by Dean Jackson.
1721         
1722         Moved iframes/resources/page-cache-helper.html up to compositing/resources/go-back.html.
1723
1724         * compositing/accelerated-layers-after-back-expected.txt: Added.
1725         * compositing/accelerated-layers-after-back.html: Added.
1726         * compositing/iframes/page-cache-layer-tree.html:
1727         * compositing/page-cache-back-crash.html:
1728         * compositing/resources/go-back.html: Renamed from LayoutTests/compositing/iframes/resources/page-cache-helper.html.
1729         * platform/ios/compositing/accelerated-layers-after-back-expected.txt: Added.
1730
1731 2017-10-25  Alex Christensen  <achristensen@webkit.org>
1732
1733         LayoutTest http/tests/loading/basic-credentials-sent-automatically.html is flaky
1734         https://bugs.webkit.org/show_bug.cgi?id=159427
1735
1736         Reviewed by Youenn Fablet.
1737         
1738         Use setTimeout to make load delegate callback printing more deterministic.
1739         The important part is that the credentials are printed, and they still are.
1740
1741         * http/tests/loading/basic-credentials-sent-automatically-expected.txt:
1742         * http/tests/loading/basic-credentials-sent-automatically.html:
1743         * platform/mac/TestExpectations:
1744         * platform/wk2/http/tests/loading/basic-credentials-sent-automatically-expected.txt:
1745
1746 2017-10-25  Youenn Fablet  <youenn@apple.com>
1747
1748         Enable ServiceWorker to fetch resources
1749         https://bugs.webkit.org/show_bug.cgi?id=178673
1750
1751         Reviewed by Brady Eidson.
1752
1753         * http/tests/workers/service/resources/service-worker-fetch-worker.js: Added.
1754         * http/tests/workers/service/resources/service-worker-fetch.js: Added.
1755         * http/tests/workers/service/service-worker-fetch-expected.txt: Added.
1756         * http/tests/workers/service/service-worker-fetch.html: Added.
1757
1758 2017-10-25  Jer Noble  <jer.noble@apple.com>
1759
1760         UNPACK_FLIP_Y is broken for MSE-backed videos
1761         https://bugs.webkit.org/show_bug.cgi?id=178774
1762
1763         Reviewed by Dean Jackson.
1764
1765         * fast/canvas/webgl/resources/orientation-flipped-fragmented.mp4: Added.
1766         * fast/canvas/webgl/resources/orientation-normal-fragmented.mp4: Added.
1767         * fast/canvas/webgl/texImage2D-mse-flipY-false-expected.txt: Added.
1768         * fast/canvas/webgl/texImage2D-mse-flipY-false.html: Added.
1769         * fast/canvas/webgl/texImage2D-mse-flipY-true-expected.txt: Added.
1770         * fast/canvas/webgl/texImage2D-mse-flipY-true.html: Added.
1771         * platform/ios/TestExpectations:
1772
1773 2017-10-25  Ryan Haddad  <ryanhaddad@apple.com>
1774
1775         Mark http/tests/loading/basic-credentials-sent-automatically.html as flaky.
1776         https://bugs.webkit.org/show_bug.cgi?id=159427
1777
1778         Unreviewed test gardening.
1779
1780         * platform/mac/TestExpectations:
1781
1782 2017-10-25  Chris Dumez  <cdumez@apple.com>
1783
1784         Add support for unregistering a service worker
1785         https://bugs.webkit.org/show_bug.cgi?id=178735
1786
1787         Reviewed by Brady Eidson.
1788
1789         Add layout test coverage.
1790
1791         * http/tests/workers/service/basic-unregister.https-expected.txt: Added.
1792         * http/tests/workers/service/basic-unregister.https.html: Added.
1793         * http/tests/workers/service/resources/basic-unregister.js: Added.
1794
1795 2017-10-25  Andy Estes  <aestes@apple.com>
1796
1797         [Payment Request] Implement the "user aborts the payment request" algorithm
1798         https://bugs.webkit.org/show_bug.cgi?id=178810
1799
1800         Reviewed by Tim Horton.
1801
1802         * http/tests/paymentrequest/payment-request-show-method.https-expected.txt:
1803         * http/tests/paymentrequest/payment-request-show-method.https.html:
1804
1805 2017-10-25  Daniel Bates  <dabates@apple.com>
1806
1807         Attempt to fix flaky test fast/writing-mode/english-bt-text-with-spelling-marker.html following r223938
1808         (https://bugs.webkit.org/show_bug.cgi?id=178759)
1809
1810         Call internals.updateEditorUINowIfScheduled() to force the editor UI to update and add spelling markers.
1811
1812         * fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:
1813         * fast/writing-mode/english-bt-text-with-spelling-marker.html:
1814
1815 2017-10-25  Eric Carlson  <eric.carlson@apple.com>
1816
1817         Web Inspector: Enable WebKit logging configuration and display
1818         https://bugs.webkit.org/show_bug.cgi?id=177027
1819         <rdar://problem/33964767>
1820
1821         Unreviewed, fix flakey test.
1822
1823         * inspector/console/webcore-logging-expected.txt:
1824         * inspector/console/webcore-logging.html:
1825
1826 2017-10-25  Devin Rousso  <webkit@devinrousso.com>
1827
1828         Web Inspector: preserve Recordings for each Canvas after closing the Canvas tab
1829         https://bugs.webkit.org/show_bug.cgi?id=178767
1830         <rdar://problem/35167239>
1831
1832         Reviewed by Brian Burg.
1833
1834         * inspector/canvas/resources/recording-utilities.js:
1835         (TestPage.registerInitializer.window.startRecording):
1836         Add assertions that the recording is added to the canvas' RecordingCollection.
1837
1838 2017-10-24  Ryosuke Niwa  <rniwa@webkit.org>
1839
1840         RenderSVGModelObject::checkIntersection triggers layout
1841         https://bugs.webkit.org/show_bug.cgi?id=178710
1842
1843         Reviewed by Simon Fraser.
1844
1845         Added the support for SVG documents to js-test.js, and added a basic test for checkIntersection
1846         and checkEnclosure using it.
1847
1848         * resources/js-test.js:
1849         (ensureRootElement): Added. Creates a foreignObject element inside a SVG document.
1850         (moveForeignObjectToTopIfNeeded): Added. In SVG, z-index order is determined by the element order.
1851         In order to make the results visible, we move the foreignObject to the top by appending to the end
1852         of the document element.
1853         (getOrCreate):
1854         (debug): Run innerHTML before appendChild as setting namespaceURI before running innerHTML would
1855         result in span's being parsed as SVG elements.
1856         (insertStyleSheet):
1857         (finishJSTest):
1858         * svg/custom/check-intersection-basic-expected.txt: Added.
1859         * svg/custom/check-intersection-basic.svg: Added.
1860
1861 2017-10-24  Andy Estes  <aestes@apple.com>
1862
1863         [Apple Pay] Implement a paymentmethodselected event for PaymentRequest
1864         https://bugs.webkit.org/show_bug.cgi?id=178765
1865
1866         Reviewed by Tim Horton.
1867
1868         * http/tests/ssl/applepay/ApplePayPaymentMethodUpdateEvent.https-expected.txt: Added.
1869         * http/tests/ssl/applepay/ApplePayPaymentMethodUpdateEvent.https.html: Added.
1870
1871 2017-10-24  Daniel Bates  <dabates@apple.com>
1872
1873         Test fast/writing-mode/english-bt-text-with-spelling-marker.html should wait for editing commands to complete
1874         https://bugs.webkit.org/show_bug.cgi?id=178759
1875
1876         Reviewed by Ryosuke Niwa.
1877
1878         Make use of typeCharacterCommand() from (LayoutTests/editing/editing.js) to type each character
1879         with a delay and delay test completion until all characters have been typed.
1880
1881         * fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:
1882         * fast/writing-mode/english-bt-text-with-spelling-marker.html:
1883
1884 2017-10-24  Youenn Fablet  <youenn@apple.com>
1885
1886         Enable service worker to use cache storage api
1887         https://bugs.webkit.org/show_bug.cgi?id=178684
1888
1889         Reviewed by Brady Eidson.
1890
1891         * http/tests/workers/service/resources/service-worker-cache-api-worker.js: Added.
1892         * http/tests/workers/service/resources/service-worker-cache-api.js: Added.
1893         * http/tests/workers/service/service-worker-cache-api.https-expected.txt: Added.
1894         * http/tests/workers/service/service-worker-cache-api.https.html: Added.
1895
1896 2017-10-24  Matt Lewis  <jlewis3@apple.com>
1897
1898         Skipped imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/011.html on High Sierra Release.
1899         https://bugs.webkit.org/show_bug.cgi?id=178553
1900
1901         Unreviewed test gardening.
1902
1903         * platform/mac-wk2/TestExpectations:
1904
1905 2017-10-24  Eric Carlson  <eric.carlson@apple.com>
1906
1907         Web Inspector: Enable WebKit logging configuration and display
1908         https://bugs.webkit.org/show_bug.cgi?id=177027
1909         <rdar://problem/33964767>
1910
1911         Reviewed by Joseph Pecoraro.
1912
1913         * inspector/console/webcore-logging-expected.txt: Added.
1914         * inspector/console/webcore-logging.html: Added.
1915         * platform/mac/TestExpectations: Skip new test on Yosemite and ElCapitan.
1916         * platform/win/TestExpectations: Skip new test.
1917
1918 2017-10-24  Dean Jackson  <dino@apple.com>
1919
1920         Implement resizing options for ImageBitmap rendering
1921         https://bugs.webkit.org/show_bug.cgi?id=178687
1922         <rdar://problem/35135417>
1923
1924         Reviewed by Sam Weinig.
1925
1926         More ImageBitmap tests, this time focusing on sizing.
1927
1928         * http/wpt/2dcontext/imagebitmap/common.js:
1929         (createCanvasOfSize):
1930         (create9x9CanvasWith2dContext):
1931         (create18x18CanvasWith2dContext):
1932
1933             Helper functions.
1934
1935         * http/wpt/2dcontext/imagebitmap/createImageBitmap-sizing-expected.txt: Added.
1936         * http/wpt/2dcontext/imagebitmap/createImageBitmap-sizing.html: Added.
1937         * http/wpt/2dcontext/imagebitmap/drawImage-ImageBitmap.html:
1938         * http/wpt/2dcontext/imagebitmap/resources/target-blue-dot-no-intrinsic.svg: Added.
1939         * http/wpt/2dcontext/imagebitmap/resources/target-blue-dot.png: Renamed from LayoutTests/http/wpt/2dcontext/imagebitmap/target-blue-dot.png.
1940         * http/wpt/2dcontext/imagebitmap/resources/target-blue-dot.svg: Added.
1941
1942 2017-10-24  Chris Dumez  <cdumez@apple.com>
1943
1944         Add initial implementation for serviceWorker.postMessage()
1945         https://bugs.webkit.org/show_bug.cgi?id=178534
1946
1947         Reviewed by Youenn Fablet.
1948
1949         Add layout test coverage.
1950
1951         * http/tests/workers/service/basic-ServiceWorker-postMessage.https-expected.txt: Added.
1952         * http/tests/workers/service/basic-ServiceWorker-postMessage.https.html: Added.
1953         * http/tests/workers/service/resources/basic-ServiceWorker-postMessage-worker.js: Added.
1954         * http/tests/workers/service/resources/basic-ServiceWorker-postMessage.js: Added.
1955
1956 2017-10-24  Joseph Pecoraro  <pecoraro@apple.com>
1957
1958         Unreviewed test gardening. Update inspector/network/har tests.
1959
1960         * http/tests/inspector/network/har/har-page-expected.txt:
1961         Size of the test file changed and results needed to be updated.
1962
1963 2017-10-24  Ryan Haddad  <ryanhaddad@apple.com>
1964
1965         Skip fast/html/marquee-reparent-check.html on macOS debug.
1966         https://bugs.webkit.org/show_bug.cgi?id=178465
1967
1968         Unreviewed test gardening.
1969
1970         * platform/mac/TestExpectations:
1971
1972 2017-10-24  Ross Kirsling  <ross.kirsling@sony.com>
1973
1974         Web Inspector: Layer mutations should be purely based on layerId, not based on nodeId
1975         https://bugs.webkit.org/show_bug.cgi?id=178554
1976
1977         Reviewed by Devin Rousso.
1978
1979         * inspector/layers/layer-tree-manager-expected.txt:
1980         * inspector/layers/layer-tree-manager.html:
1981
1982 2017-10-24  Adrian Perez de Castro  <aperez@igalia.com>
1983
1984         [GTK] Unskip layout tests editing/deleting/delete-emoji-1.html & editing/deleting/delete-emoji-1.html
1985         https://bugs.webkit.org/show_bug.cgi?id=178742
1986
1987         Unreviewed test gardening.
1988
1989         * platform/gtk/TestExpectations: Updated expectations for the emoji deletion layout tests.
1990         * platform/gtk/editing/deleting/delete-emoji-1-expected.txt: Added.
1991         * platform/gtk/editing/deleting/delete-emoji-expected.txt: Added.
1992
1993 2017-10-24  Adrian Perez de Castro  <aperez@igalia.com>
1994
1995         [WPE] Remove expectations for tests which do not exist anymore
1996         https://bugs.webkit.org/show_bug.cgi?id=178717
1997
1998         Unreviewed WPE test gardening.
1999
2000         This avoids the following warning being emitted by run-webkit-tests:
2001
2002           --lint-test-files warnings:
2003           LayoutTests/platform/wpe/TestExpectations:366 Path does not exist. fast/events/constructors/device-proximity-event-constructor.html
2004           LayoutTests/platform/wpe/TestExpectations:902 Path does not exist. http/tests/dom/document-attributes-null-handling
2005
2006         * platform/wpe/TestExpectations:
2007
2008 2017-10-24  Adrian Perez de Castro  <aperez@igalia.com>
2009
2010         Unreviewed GTK+ test gardening.
2011
2012         * platform/gtk/TestExpectations:
2013
2014 2017-10-24  Andy Estes  <aestes@apple.com>
2015
2016         [Payment Request] Implement the "PaymentRequest updated" algorithm
2017         https://bugs.webkit.org/show_bug.cgi?id=178689
2018
2019         Reviewed by Alex Christensen.
2020
2021         * http/tests/paymentrequest/payment-request-change-shipping-address.https-expected.txt: Added.
2022         * http/tests/paymentrequest/payment-request-change-shipping-address.https.html: Copied from imported/w3c/web-platform-tests/payment-request/shipping-address-changed-manual.https.html.
2023         * http/tests/paymentrequest/payment-request-change-shipping-option.https-expected.txt: Added.
2024         * http/tests/paymentrequest/payment-request-change-shipping-option.https.html: Copied from imported/w3c/web-platform-tests/payment-request/change-shipping-option-manual.https.html.
2025         * http/tests/paymentrequest/resources/helpers.js:
2026         (async.getPaymentRequestResponse):
2027         * http/tests/paymentrequest/updateWith-method-pmi-handling.https-expected.txt: Added.
2028         * http/tests/paymentrequest/updateWith-method-pmi-handling.https.html: Copied from imported/w3c/web-platform-tests/payment-request/updateWith-method-pmi-handling-manual.https.html.
2029
2030 2017-10-24  David Kilzer  <ddkilzer@apple.com>
2031
2032         [Regression] Webkit "-apple-system" font fallback token handles font weights of PingFang incorrectly.
2033         https://bugs.webkit.org/show_bug.cgi?id=177345
2034         <rdar://problem/32975942>
2035
2036         Unreviewed fix to move tests into LayoutTests.
2037
2038         If these tests start failing, please roll out this commit and
2039         r223589.
2040
2041         * fast/text/system-ui-chinese-bold-fallback-expected.html: Renamed from fast/text/system-ui-chinese-bold-fallback-expected.html.
2042         * fast/text/system-ui-chinese-bold-fallback.html: Renamed from fast/text/system-ui-chinese-bold-fallback.html.
2043
2044 2017-10-24  Joseph Pecoraro  <pecoraro@apple.com>
2045
2046         Unreviewed test gardening. Improved attempt to reduce flakiness of inspector/network/har tests.
2047
2048         * http/tests/inspector/network/har/har-page-expected.txt:
2049         * http/tests/inspector/network/har/har-page.html:
2050         Earlier filters were taking affect, so move these checks up.
2051
2052 2017-10-24  Antti Koivisto  <antti@apple.com>
2053
2054         Create inline wrappers for before/after pseudo elements that have display:contents
2055         https://bugs.webkit.org/show_bug.cgi?id=178722
2056
2057         Reviewed by Ryosuke Niwa.
2058
2059         * TestExpectations:
2060
2061         Enable
2062
2063         imported/w3c/web-platform-tests/css/css-display-3/display-contents-dynamic-before-after-first-letter-001.html and
2064         imported/w3c/web-platform-tests/css/css-display-3/display-contents-dynamic-before-after-001.html
2065
2066 2017-10-24  Per Arne Vollan  <pvollan@apple.com>
2067
2068         Mark fast/css-generated-content/details-summary-before-after.html as failing on Windows.
2069         https://bugs.webkit.org/show_bug.cgi?id=178724
2070
2071         Unreviewed test gardening.
2072
2073         * platform/win/TestExpectations:
2074
2075 2017-10-24  Antoine Quint  <graouts@apple.com>
2076
2077         [Web Animations] Add basic timing and target properties
2078         https://bugs.webkit.org/show_bug.cgi?id=178674
2079
2080         Reviewed by Dean Jackson.
2081
2082         Add new tests to check the behavior of the newly exposed interfaces,
2083         constructors and properties.
2084
2085         * webanimations/animation-effect-expected.txt: Added.
2086         * webanimations/animation-effect-timing-expected.txt: Added.
2087         * webanimations/animation-effect-timing.html: Added.
2088         * webanimations/animation-effect.html: Added.
2089         * webanimations/animation-interface-effect-property-expected.txt: Added.
2090         * webanimations/animation-interface-effect-property.html: Added.
2091         * webanimations/animation-interface-start-time-property-expected.txt: Added.
2092         * webanimations/animation-interface-start-time-property.html: Added.
2093         * webanimations/keyframe-effect-expected.txt: Added.
2094         * webanimations/keyframe-effect-interface-timing-duration-expected.txt: Added.
2095         * webanimations/keyframe-effect-interface-timing-duration.html: Added.
2096         * webanimations/keyframe-effect.html: Added.
2097
2098 2017-10-24  Nan Wang  <n_wang@apple.com>
2099
2100         AX: Crash at -[WebAccessibilityObjectWrapper _accessibilityMinValue] + 24
2101         https://bugs.webkit.org/show_bug.cgi?id=178697
2102
2103         Reviewed by Chris Fleizach.
2104
2105         * accessibility/ios-simulator/slider-min-value-crash-expected.txt: Added.
2106         * accessibility/ios-simulator/slider-min-value-crash.html: Added.
2107
2108 2017-10-23  Michael Catanzaro  <mcatanzaro@igalia.com>
2109
2110         Unreviewed WPE test gardening
2111
2112         * platform/wpe/TestExpectations:
2113
2114 2017-10-23  Joseph Pecoraro  <pecoraro@apple.com>
2115
2116         Unreviewed test gardening. Try to reduce flakiness of inspector/network/har tests.
2117
2118         * http/tests/inspector/network/har/har-page-expected.txt:
2119         * http/tests/inspector/network/har/har-page.html:
2120         Remove properties which may sometimes be optional.
2121         Filter contents which are shared across tests and might change.
2122
2123 2017-10-23  Youenn Fablet  <youenn@apple.com>
2124
2125         Multiple imported layout tests are crashing and timing out.
2126         https://bugs.webkit.org/show_bug.cgi?id=178685
2127
2128         Unreviewed.
2129
2130         * TestExpectations: skipping cache storage tests in service worker context until it is functional.
2131
2132 2017-10-23  Joseph Pecoraro  <pecoraro@apple.com>
2133
2134         Web Inspector: Please support HAR Export for network traffic
2135         https://bugs.webkit.org/show_bug.cgi?id=146692
2136         <rdar://problem/7463672>
2137
2138         Reviewed by Brian Burg.
2139
2140         * http/tests/inspector/network/har/har-basic-expected.txt: Added.
2141         * http/tests/inspector/network/har/har-basic.html: Added.
2142         * http/tests/inspector/network/har/har-page-expected.txt: Added.
2143         * http/tests/inspector/network/har/har-page.html: Added.
2144         Tests with mock resources / data and real resources.
2145
2146         * platform/mac-wk1/TestExpectations:
2147         * platform/mac/TestExpectations:
2148         * platform/win/TestExpectations:
2149         Skip on platforms that cannot provide complete metrics, so some optional
2150         fields may be missing.
2151
2152 2017-10-23  Andy Estes  <aestes@apple.com>
2153
2154         [Payment Request] Resolve PaymentRequest.show()'s accept promise when a payment is authorized
2155         https://bugs.webkit.org/show_bug.cgi?id=178609
2156         <rdar://problem/33542813>
2157
2158         Reviewed by Alex Christensen.
2159
2160         * http/tests/paymentrequest/payment-address-attributes-and-toJSON-method.https-expected.txt: Added.
2161         * http/tests/paymentrequest/payment-address-attributes-and-toJSON-method.https.html: Copied from imported/w3c/web-platform-tests/payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html.
2162         * http/tests/paymentrequest/payment-response-complete-method.https-expected.txt: Added.
2163         * http/tests/paymentrequest/payment-response-complete-method.https.html: Copied from imported/w3c/web-platform-tests/payment-request/payment-response/complete-method-manual.https.html.
2164         * http/tests/paymentrequest/payment-response-methodName-attribute.https-expected.txt: Added.
2165         * http/tests/paymentrequest/payment-response-methodName-attribute.https.html: Copied from imported/w3c/web-platform-tests/payment-request/payment-response/methodName-attribute-manual.https.html.
2166         * http/tests/paymentrequest/payment-response-payerEmail-attribute.https-expected.txt: Added.
2167         * http/tests/paymentrequest/payment-response-payerEmail-attribute.https.html: Copied from imported/w3c/web-platform-tests/payment-request/payment-response/payerEmail-attribute-manual.https.html.
2168         * http/tests/paymentrequest/payment-response-payerName-attribute.https-expected.txt: Added.
2169         * http/tests/paymentrequest/payment-response-payerName-attribute.https.html: Copied from imported/w3c/web-platform-tests/payment-request/payment-response/payerName-attribute-manual.https.html.
2170         * http/tests/paymentrequest/payment-response-payerPhone-attribute.https-expected.txt: Added.
2171         * http/tests/paymentrequest/payment-response-payerPhone-attribute.https.html: Copied from imported/w3c/web-platform-tests/payment-request/payment-response/payerPhone-attribute-manual.https.html.
2172         * http/tests/paymentrequest/resources/helpers.js: Copied from imported/w3c/web-platform-tests/payment-request/payment-response/helpers.js.
2173         (test):
2174         (async.getPaymentResponse):
2175         (async.getPaymentRequestResponse):
2176         (async.runTest):
2177
2178 2017-10-23  Chris Dumez  <cdumez@apple.com>
2179
2180         Drop confusing Event::dispatched() method
2181         https://bugs.webkit.org/show_bug.cgi?id=178670
2182
2183         Reviewed by Youenn Fablet.
2184
2185         Add layout test coverage.
2186
2187         * fast/events/initEvent-after-dispatching-expected.txt: Added.
2188         * fast/events/initEvent-after-dispatching.html: Added.
2189
2190 2017-10-23  Antti Koivisto  <antti@apple.com>
2191
2192         Remember previous child renderer during render tree update
2193         https://bugs.webkit.org/show_bug.cgi?id=178659
2194
2195         Reviewed by Zalan Bujtas.
2196
2197         * fast/block/float/float-not-removed-from-pre-block-expected.txt:
2198         * platform/mac/fast/css-generated-content/details-summary-before-after-expected.txt:
2199
2200 2017-10-23  Daniel Bates  <dabates@apple.com>
2201
2202         Add tests to ensure spelling error dots are drawn in the correct place in bottom-to-top
2203         and right-to-left writing modes
2204         https://bugs.webkit.org/show_bug.cgi?id=178671
2205
2206         Reviewed by Simon Fraser.
2207
2208         * fast/writing-mode/english-bt-text-with-spelling-marker-expected.html: Added.
2209         * fast/writing-mode/english-bt-text-with-spelling-marker.html: Added.
2210         * fast/writing-mode/english-rl-text-with-spelling-marker-expected.html: Added.
2211         * fast/writing-mode/english-rl-text-with-spelling-marker.html: Added.
2212         * platform/ios/TestExpectations: Skip the test on iOS as it does not support spelling and grammar
2213         marker painting.
2214         * platform/mac-wk2/TestExpectations: Mark the test as an image failure until we fix <https://bugs.webkit.org/show_bug.cgi?id=105616>.
2215
2216 2017-10-22  Dean Jackson  <dino@apple.com>
2217
2218         Implement drawImage(ImageBitmap) on 2d canvas
2219         https://bugs.webkit.org/show_bug.cgi?id=178653
2220         <rdar://problem/35104360>
2221
2222         Reviewed by Antoine Quint.
2223
2224         Add a new test that exercises drawImage(ImageBitmap)
2225         that will be contributed back to Web Platform Tests.
2226
2227         * http/wpt/2dcontext/imagebitmap/common.js: Copied (mostly) from WPT.
2228         (create9x9CanvasWith2dContext): New helper function to create a canvas
2229         and provide a rendering context.
2230         * http/wpt/2dcontext/imagebitmap/drawImage-ImageBitmap-expected.txt: Added.
2231         * http/wpt/2dcontext/imagebitmap/drawImage-ImageBitmap.html: Added.
2232         * http/wpt/2dcontext/imagebitmap/target-blue-dot.png: Added.
2233
2234 2017-10-23  Daniel Bates  <dabates@apple.com>
2235
2236         Add tests to ensure spelling error dots are drawn in the correct place for overlapping lines
2237         https://bugs.webkit.org/show_bug.cgi?id=178611
2238         <rdar://problem/35105805>
2239
2240         Reviewed by Zalan Bujtas.
2241
2242         Add tests to ensure that we paint the spelling error dots in the correct place for
2243         overlapping lines.
2244
2245         * editing/spelling/spelling-markers-in-overlapping-lines-expected.html: Added.
2246         * editing/spelling/spelling-markers-in-overlapping-lines-large-font-expected.html: Added.
2247         * editing/spelling/spelling-markers-in-overlapping-lines-large-font.html: Added.
2248         * editing/spelling/spelling-markers-in-overlapping-lines.html: Added.
2249         * platform/ios/TestExpectations: Skip the test on iOS as it does not support spelling and grammar
2250         marker painting.
2251         * platform/mac-wk2/TestExpectations: Mark the test as an image failure until we fix <https://bugs.webkit.org/show_bug.cgi?id=105616>.
2252
2253 2017-10-23  Zan Dobersek  <zdobersek@igalia.com>
2254
2255         Unreviewed WPE gardening. Unskip the SVG tests and generate the
2256         required platform-specific baselines.
2257
2258         * platform/wpe/TestExpectations:
2259         * platform/wpe/svg: Added ~800 baselines.
2260
2261 2017-10-23  Youenn Fablet  <youenn@apple.com>
2262
2263         TestController should clear all fetch caches when resetting its state
2264         https://bugs.webkit.org/show_bug.cgi?id=178486
2265         <rdar://problem/35066305>
2266
2267         Reviewed by Chris Dumez.
2268
2269         Beefing up the test by using fetch event handler to return responses
2270         previously hard coded in ServiceWorkerContextManager.
2271
2272         * http/tests/workers/service/basic-fetch.https-expected.txt:
2273         * http/tests/workers/service/resources/basic-fetch-worker.js:
2274         (event.event.request.url.indexOf):
2275         * http/tests/workers/service/resources/basic-fetch.js:
2276
2277 2017-10-23  Ryan Haddad  <ryanhaddad@apple.com>
2278
2279         Mark compositing/visible-rect/iframe-no-layers.html as a flaky failure.
2280         https://bugs.webkit.org/show_bug.cgi?id=178669
2281
2282         Unreviewed test gardening.
2283
2284         * platform/ios/TestExpectations:
2285
2286 2017-10-22  Joseph Pecoraro  <pecoraro@apple.com>
2287
2288         REGRESSION(r219675): Web Inspector: CommandLineAPI getEventListeners does not work
2289         https://bugs.webkit.org/show_bug.cgi?id=178650
2290         <rdar://problem/35116347>
2291
2292         Reviewed by Sam Weinig.
2293
2294         * inspector/console/command-line-api-getEventListeners-expected.txt: Added.
2295         * inspector/console/command-line-api-getEventListeners.html: Added.
2296
2297 2017-10-22  Antoine Quint  <graouts@apple.com>
2298
2299         [Web Animations] Add animations to the timeline
2300         https://bugs.webkit.org/show_bug.cgi?id=178643
2301
2302         Reviewed by Dean Jackson.
2303
2304         Add a new test that checks that animations created with a timeline
2305         are added to the provided timeline.
2306
2307         * webanimations/animation-creation-addition-expected.txt: Added.
2308         * webanimations/animation-creation-addition.html: Added.
2309
2310 2017-10-21  Dean Jackson  <dino@apple.com>
2311
2312         createImageBitmap with basic HTMLImageElement
2313         https://bugs.webkit.org/show_bug.cgi?id=178619
2314         <rdar://problem/35104118>
2315
2316         Reviewed by Antoine Quint.
2317
2318         Make a better test for createImageBitmap. This will be
2319         submitted to Web Platform Tests.
2320
2321         * http/wpt/2dcontext/imagebitmap/createImageBitmap-expected.txt: Added.
2322         * http/wpt/2dcontext/imagebitmap/createImageBitmap.html: Added.
2323         * http/wpt/common/canvas-tests.css: Added.
2324         * http/wpt/common/canvas-tests.js: Added.
2325         * http/wpt/images/pattern.png: Added.
2326
2327 2017-10-21  Antti Koivisto  <antti@apple.com>
2328
2329         Support ::before/::after pseudo elements with display:contents
2330         https://bugs.webkit.org/show_bug.cgi?id=178584
2331
2332         Reviewed by Ryosuke Niwa.
2333
2334         * TestExpectations: Enable imported/w3c/web-platform-tests/css/css-display-3/display-contents-before-after-002.html
2335
2336 2017-10-20  Joseph Pecoraro  <pecoraro@apple.com>
2337
2338         Web Inspector: Support `async test() { ... }` in Inspector Test Suites
2339         https://bugs.webkit.org/show_bug.cgi?id=178614
2340
2341         Reviewed by Devin Rousso.
2342
2343         Add the ability to have test functions be async functions. A successful
2344         async test function just needs to complete evaluation. To indicate
2345         failure it should throw an exception.
2346
2347             suite.addTestCase({
2348                 name: "ExceptionOfNormal",
2349                 async test() {
2350                     InspectorTest.expectThat(...);
2351                 }
2352             });
2353
2354             suite.addTestCase({
2355                 name: "ExampleOfRejection",
2356                 async test() {
2357                     let value = await SomeAgent.method();
2358                     if (value.error)
2359                         throw "Exception";
2360                     ...
2361                 }
2362             });
2363
2364         Using async test functions has the added benefit that a runtime exception
2365         inside of asynchronous test code will reject the current test case instead
2366         of timing out. For example...
2367         
2368             suite.addTestCase({
2369                 name: "ExampleOfRejectionThroughRuntimeException",
2370                 async test() {
2371                     let arr = [];
2372                     arr.this.does.not.exist;
2373                 }
2374             });
2375         
2376         ... should will lead to a failure instead of a timeout.
2377         
2378         This should allow us to structure some common tests more naturally, like so:
2379
2380             suite.addTestCase({
2381                 name: "ExampleOfNormalAsyncTest",
2382                 async test() {
2383                     InspectorTest.evaluateInPage(`...`);
2384                     let event = await WI.Manager.awaitEvent(...);
2385                     let resource = event.data.resource;
2386                     InspectorTest.expectEqual(...);
2387                     InspectorTest.expectEqual(...);
2388                     InspectorTest.expectEqual(...);
2389                 }
2390             });
2391
2392         * inspector/unit-tests/async-test-suite-expected.txt:
2393         * inspector/unit-tests/async-test-suite.html:
2394         * inspector/unit-tests/target-manager.html:
2395
2396 2017-10-20  Ryosuke Niwa  <rniwa@webkit.org>
2397
2398         http/tests/security/clipboard/drag-drop-html-cross-origin-iframe-in-same-origin.html is flaky
2399         https://bugs.webkit.org/show_bug.cgi?id=178606
2400
2401         Reviewed by Wenson Hsieh.
2402
2403         The bug was caused by the race condition during the page loading of iframes.
2404
2405         Waiting for message event wasn't doing anything useful because it was receiving the message from
2406         source iframe before the drag & drop had started.
2407
2408         Fixed the bug by waiting for the second message event. Also replaced the wait for load event
2409         by the wait for the first message event for clarity.
2410
2411         * http/tests/security/clipboard/drag-drop-html-cross-origin-iframe-in-same-origin.html:
2412
2413 2017-10-20  Ryan Haddad  <ryanhaddad@apple.com>
2414
2415         [iOS] Rebaseline compositing tests
2416         https://bugs.webkit.org/show_bug.cgi?id=178492
2417
2418         Unreviewed test gardening.
2419
2420         * platform/ios-wk2/TestExpectations:
2421         * platform/ios/TestExpectations:
2422         * platform/ios/compositing/backing/child-layer-no-backing-expected.txt: Added.
2423         * platform/ios/compositing/contents-scale/animating-expected.txt:
2424         * platform/ios/compositing/geometry/ancestor-overflow-change-expected.txt:
2425         * platform/ios/compositing/geometry/fixed-position-expected.txt:
2426         * platform/ios/compositing/geometry/fixed-position-flipped-writing-mode-expected.txt: Added.
2427         * platform/ios/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt: Added.
2428         * platform/ios/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.txt: Added.
2429         * platform/ios/compositing/geometry/preserve-3d-switching-expected.txt: Added.
2430         * platform/ios/compositing/geometry/tall-page-composited-expected.txt: Added.
2431         * platform/ios/compositing/geometry/video-fixed-scrolling-expected.txt: Added.
2432         * platform/ios/compositing/geometry/video-opacity-overlay-expected.txt: Added.
2433         * platform/ios/compositing/iframes/invisible-nested-iframe-show-expected.txt:
2434         * platform/ios/compositing/iframes/overlapped-nested-iframes-expected.txt: Renamed from LayoutTests/platform/ios-wk2/compositing/iframes/overlapped-nested-iframes-expected.txt.
2435         * platform/ios/compositing/images/direct-image-object-fit-expected.txt: Added.
2436         * platform/ios/compositing/layer-creation/animation-overlap-with-children-expected.txt: Removed.
2437         * platform/ios/compositing/layer-creation/fixed-position-and-transform-expected.txt: Renamed from LayoutTests/platform/ios-wk2/compositing/layer-creation/fixed-position-and-transform-expected.txt.
2438         * platform/ios/compositing/overflow/ancestor-overflow-expected.txt:
2439         * platform/ios/compositing/overflow/clipping-ancestor-with-accelerated-scrolling-ancestor-expected.txt: Added.
2440         * platform/ios/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt: Added.
2441         * platform/ios/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt: Added.
2442         * platform/ios/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt:
2443         * platform/ios/compositing/overflow/fixed-position-ancestor-clip-expected.txt:
2444         * platform/ios/compositing/overflow/overflow-clip-with-accelerated-scrolling-ancestor-expected.txt: Added.
2445         * platform/ios/compositing/reflections/direct-image-object-fit-reflected-expected.txt: Added.
2446         * platform/ios/compositing/reflections/load-video-in-reflection-expected.txt: Added.
2447         * platform/ios/compositing/reflections/nested-reflection-on-overflow-expected.txt:
2448         * platform/ios/compositing/repaint/page-scale-repaint-expected.txt: Added.
2449         * platform/ios/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt: Renamed from LayoutTests/platform/ios-wk2/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt.
2450         * platform/ios/compositing/rtl/rtl-overflow-scrolling-expected.txt: Added.
2451         * platform/ios/compositing/self-painting-layers-expected.txt: Added.
2452         * platform/ios/compositing/tiling/huge-layer-img-expected.txt: Added.
2453         * platform/ios/compositing/visible-rect/3d-transform-style-expected.txt: Added.
2454         * platform/ios/compositing/visible-rect/animated-expected.txt: Added.
2455         * platform/ios/compositing/visible-rect/iframe-no-layers-expected.txt: Added.
2456         * platform/ios/compositing/visible-rect/iframe-with-layers-outside-viewport-expected.txt: Added.
2457         * platform/ios/compositing/visible-rect/mask-layer-coverage-expected.txt: Added.
2458
2459 2017-10-20  Matt Lewis  <jlewis3@apple.com>
2460
2461         Marked plugins/js-from-destroy.html as flaky.
2462         https://bugs.webkit.org/show_bug.cgi?id=176881
2463
2464         Unreviewed test gardening.
2465
2466         * platform/mac-wk2/TestExpectations:
2467
2468 2017-10-20  Matt Lewis  <jlewis3@apple.com>
2469
2470         Marked http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour.html as flaky.
2471         https://bugs.webkit.org/show_bug.cgi?id=178536
2472
2473         Unreviewed test gardening.
2474
2475         * platform/mac-wk2/TestExpectations:
2476
2477 2017-10-20  Youenn Fablet  <youenn@apple.com>
2478
2479         ResourceResponse should have a ServiceWorker source
2480         https://bugs.webkit.org/show_bug.cgi?id=178593
2481
2482         Reviewed by Alex Christensen.
2483
2484         * http/tests/workers/service/basic-fetch.https-expected.txt:
2485         * http/tests/workers/service/resources/basic-fetch.js:
2486         (async.test):
2487
2488 2017-10-20  Antoine Quint  <graouts@apple.com>
2489
2490         [Web Animations] Provide basic timeline and animation interfaces
2491         https://bugs.webkit.org/show_bug.cgi?id=178526
2492
2493         Reviewed by Dean Jackson.
2494
2495         Basic test coverage to check that we are exposing a DocumentTimeline instance on
2496         the Document and that we can construct Animations, optionally associated with a timeline.
2497
2498         * platform/mac-elcapitan/TestExpectations:
2499         * webanimations/animation-creation-basic-expected.txt: Added.
2500         * webanimations/animation-creation-basic.html: Added.
2501         * webanimations/document-timeline-expected.txt: Added.
2502         * webanimations/document-timeline.html: Added.
2503
2504 2017-10-20  Commit Queue  <commit-queue@webkit.org>
2505
2506         Unreviewed, rolling out r223744, r223750, and r223751.
2507         https://bugs.webkit.org/show_bug.cgi?id=178594
2508
2509         These caused consistent failures in test that existed and were
2510         added in the patches. (Requested by mlewis13 on #webkit).
2511
2512         Reverted changesets:
2513
2514         "[JSC] ScriptFetcher should be notified directly from module
2515         pipeline"
2516         https://bugs.webkit.org/show_bug.cgi?id=178340
2517         https://trac.webkit.org/changeset/223744
2518
2519         "Unreviewed, fix changed line number in test expect files"
2520         https://bugs.webkit.org/show_bug.cgi?id=178340
2521         https://trac.webkit.org/changeset/223750
2522
2523         "Unreviewed, follow up to reflect comments"
2524         https://bugs.webkit.org/show_bug.cgi?id=178340
2525         https://trac.webkit.org/changeset/223751
2526
2527 2017-10-20  Zan Dobersek  <zdobersek@igalia.com>
2528
2529         Unreviewed GTK+ gardening. Adding GTK+-specific baselines for a bunch
2530         of HTTP tests, and adding failure expectations for some others.
2531
2532         * platform/gtk/TestExpectations:
2533         * platform/gtk/http/tests/security/contentSecurityPolicy/1.1: Added.
2534         * platform/gtk/http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-redirect-expected.txt: Added.
2535         * platform/gtk/http/tests/security/module-no-mime-type-expected.txt:
2536         * platform/gtk/imported/w3c/web-platform-tests/2dcontext: Added.
2537         * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap: Added.
2538         * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt: Added.
2539         * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt: Added.
2540
2541 2017-10-20  Ms2ger  <Ms2ger@igalia.com>
2542
2543         [GTK] Update expectations for webkitConvertPoint.html
2544         https://bugs.webkit.org/show_bug.cgi?id=178582
2545
2546         Reviewed by Michael Catanzaro.
2547
2548         This at least makes the test useful as a regression test.
2549
2550         * platform/gtk/TestExpectations:
2551         * platform/gtk/fast/dom/Window/webkitConvertPoint-expected.txt:
2552
2553 2017-10-20  Joanmarie Diggs  <jdiggs@igalia.com>
2554
2555         AX: [ATK] Events missing and state incorrect for aria-activedescendant
2556         https://bugs.webkit.org/show_bug.cgi?id=178523
2557
2558         Reviewed by Chris Fleizach.
2559
2560         * accessibility/gtk/aria-activedescendant-changed-notification-expected.txt: Added.
2561         * accessibility/gtk/aria-activedescendant-changed-notification.html: Added.
2562         * accessibility/gtk/aria-activedescendant-expected.txt: Added.
2563         * accessibility/gtk/aria-activedescendant.html: Added.
2564
2565 2017-10-20  Per Arne Vollan  <pvollan@apple.com>
2566
2567         [Win] Mark http/tests/navigation/keyboard-events-during-provisional-navigation.html and
2568         http/tests/navigation/keyboard-events-during-provisional-subframe-navigation.html as failures.
2569         https://bugs.webkit.org/show_bug.cgi?id=178549
2570
2571         Unreviewed test gardening.
2572
2573         * platform/win/TestExpectations:
2574
2575 2017-10-20  Ms2ger  <Ms2ger@igalia.com>
2576
2577         Add the MAX_CLIENT_WAIT_TIMEOUT_WEBGL constant to WebGL2RenderingContext.
2578         https://bugs.webkit.org/show_bug.cgi?id=178572
2579
2580         Reviewed by Žan Doberšek.
2581
2582         * fast/canvas/webgl/webgl2/constants-expected.txt:
2583         * fast/canvas/webgl/webgl2/constants.html:
2584
2585 2017-10-20  Zan Dobersek  <zdobersek@igalia.com>
2586
2587         Unreviewed WPE gardening. Managing failure expectations for
2588         a set of failing HTTP tests.
2589
2590         * platform/wpe/TestExpectations:
2591
2592 2017-10-20  Miguel Gomez  <magomez@igalia.com>
2593
2594         [GTK][WPE] Fix review comments on WEBPImageDecoder
2595         https://bugs.webkit.org/show_bug.cgi?id=178080
2596
2597         Reviewed by Said Abou-Hallawa.
2598
2599         Adjusted test duration.
2600
2601         * fast/images/animated-webp.html:
2602
2603 2017-10-20  Zan Dobersek  <zdobersek@igalia.com>
2604
2605         Unreviewed WPE gardening. Rebaselining CSS tests that were affected
2606         by recent font changes.
2607
2608         * platform/wpe/css1/font_properties/font-expected.txt:
2609         * platform/wpe/css1/pseudo/firstline-expected.txt:
2610         * platform/wpe/css1/pseudo/multiple_pseudo_elements-expected.txt:
2611         * platform/wpe/css2.1/t051201-c23-first-line-00-b-expected.txt:
2612         * platform/wpe/css2.1/t051202-c26-psudo-nest-00-c-expected.txt:
2613         * platform/wpe/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt:
2614         * platform/wpe/css2.1/t1508-c527-font-00-b-expected.txt:
2615         * platform/wpe/css2.1/t1508-c527-font-06-b-expected.txt:
2616         * platform/wpe/css2.1/t1508-c527-font-07-b-expected.txt:
2617         * platform/wpe/css2.1/t1508-c527-font-10-c-expected.txt:
2618
2619 2017-10-20  Yusuke Suzuki  <utatane.tea@gmail.com>
2620
2621         Unreviewed, fix changed line number in test expect files
2622         https://bugs.webkit.org/show_bug.cgi?id=178340
2623
2624         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-redirect-expected.txt:
2625         * http/tests/security/module-no-mime-type-expected.txt:
2626
2627 2017-10-19  Antti Koivisto  <antti@apple.com>
2628
2629         Support ::before/::after pseudo elements on elements with display:contents
2630         https://bugs.webkit.org/show_bug.cgi?id=178513
2631
2632         Reviewed by Ryosuke Niwa.
2633
2634         * TestExpectations: Enable imported/w3c/web-platform-tests/css/css-display-3/display-contents-before-after-001.html
2635
2636 2017-10-20  Yusuke Suzuki  <utatane.tea@gmail.com>
2637
2638         [JSC] ScriptFetcher should be notified directly from module pipeline
2639         https://bugs.webkit.org/show_bug.cgi?id=178340
2640
2641         Reviewed by Sam Weinig.
2642
2643         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-redirect-expected.txt:
2644         * http/tests/security/module-no-mime-type-expected.txt:
2645         * js/dom/modules/module-execution-error-should-be-propagated-to-onerror-expected.txt:
2646
2647 2017-10-19  Youenn Fablet  <youenn@apple.com>
2648
2649         Add preliminary support for ServiceWorker Handle Fetch
2650         https://bugs.webkit.org/show_bug.cgi?id=178475
2651         <rdar://problem/35066424>
2652
2653         Reviewed by Chris Dumez.
2654
2655         * http/tests/workers/service/basic-fetch.https-expected.txt: Added.
2656         * http/tests/workers/service/basic-fetch.https.html: Added.
2657         * http/tests/workers/service/resources/basic-fetch-worker.js: Added.
2658         * http/tests/workers/service/resources/basic-fetch.js: Added.
2659
2660 2017-10-19  Daniel Bates  <dabates@apple.com>
2661
2662         Attempt to fix Legacy WebKit test failure following r223704
2663         (https://bugs.webkit.org/show_bug.cgi?id=178403)
2664
2665         Call testRunner.setCanOpenWindows() to tell DumpRenderTree to allow the test to open a new window.
2666
2667         * http/tests/security/referrer-policy-subframe-window-open.html:
2668
2669 2017-10-19  Tim Horton  <timothy_horton@apple.com>
2670
2671         Expand r209943 to suppress paste during provisional navigation as well
2672         https://bugs.webkit.org/show_bug.cgi?id=178429
2673         <rdar://problem/33952830>
2674
2675         Reviewed by Dean Jackson.
2676
2677         * http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt:
2678         * http/tests/navigation/keyboard-events-during-provisional-navigation.html:
2679         * http/tests/navigation/keyboard-events-during-provisional-subframe-navigation-expected.txt:
2680         * http/tests/navigation/keyboard-events-during-provisional-subframe-navigation.html:
2681         * http/tests/navigation/resources/keyboard-events-after-navigation.html:
2682         * http/tests/navigation/resources/keyboard-events-test.js:
2683         (runBeforeTest):
2684         (runTest):
2685         Copy a "d" to the clipboard before running the test, and paste it while running.
2686         I put the copy before running the test so that if someone comes along and
2687         blacklists copy during provisional load as well, the test for this behavior
2688         still actually tests the paste portion.
2689         Also ensure that paste events are not triggered during provisional navigation.
2690
2691 2017-10-19  Daniel Bates  <dabates@apple.com>
2692
2693         Referrer policy should be inherited from creator
2694         https://bugs.webkit.org/show_bug.cgi?id=178403
2695         <rdar://problem/31546136>
2696
2697         Add missing file that I inadvertently forgot to commit in r223697. The tests depend on this file.
2698
2699         * http/tests/security/resources/nested-referrer-policy-postmessage.html: Added.
2700
2701 2017-10-19  Matt Lewis  <jlewis3@apple.com>
2702
2703         Marked http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown.html as flaky.
2704         https://bugs.webkit.org/show_bug.cgi?id=178472
2705
2706         Unreviewed test gardening.
2707
2708         * platform/mac-wk2/TestExpectations:
2709
2710 2017-10-19  Daniel Bates  <dabates@apple.com>
2711
2712         Referrer policy should be inherited from creator
2713         https://bugs.webkit.org/show_bug.cgi?id=178403
2714         <rdar://problem/31546136>
2715
2716         Reviewed by Andy Estes.
2717
2718         Add tests to ensure that the referrer policy of a document is initially inherited from its creator.
2719
2720         * http/tests/security/referrer-policy-nested-subframe-expected.txt: Added.
2721         * http/tests/security/referrer-policy-nested-subframe.html: Added.
2722         * http/tests/security/referrer-policy-nested-window-open-expected.txt: Added.
2723         * http/tests/security/referrer-policy-nested-window-open.html: Added.
2724         * http/tests/security/referrer-policy-subframe-window-open-expected.txt: Added.
2725         * http/tests/security/referrer-policy-subframe-window-open.html: Added.
2726         * http/tests/security/referrer-policy-window-open-subframe-expected.txt: Added.
2727         * http/tests/security/referrer-policy-window-open-subframe.html: Added.
2728         * http/tests/security/resources/referrer-policy-postmessage.php:
2729
2730 2017-10-19  Chris Dumez  <cdumez@apple.com>
2731
2732         Unreviewed, revert r223650 as it caused crashes on the bots.
2733
2734         * http/tests/workers/service/basic-fetch.https-expected.txt: Removed.
2735         * http/tests/workers/service/basic-fetch.https.html: Removed.
2736         * http/tests/workers/service/resources/basic-fetch-worker.js: Removed.
2737         * http/tests/workers/service/resources/basic-fetch.js: Removed.
2738
2739 2017-10-19  Antti Koivisto  <antti@apple.com>
2740
2741         Overlapping text on all CSS fonts specs
2742         https://bugs.webkit.org/show_bug.cgi?id=177585
2743         <rdar://problem/34704078>
2744
2745         Reviewed by Daniel Bates.
2746
2747         * fast/html/details-line-height-overlap-expected.html: Added.
2748         * fast/html/details-line-height-overlap.html: Added.
2749         * platform/ios/fast/shadow-dom/copy-shadow-tree-expected.txt:
2750
2751 2017-10-18  Ryosuke Niwa  <rniwa@webkit.org>
2752
2753         Don't expose raw HTML in pasteboard to the web content
2754         https://bugs.webkit.org/show_bug.cgi?id=178422
2755
2756         Reviewed by Wenson Hsieh.
2757
2758         Added tests to copy & paste web contents within the same origin as well as cross origin.
2759
2760         * TestExpectations:
2761         * editing/pasteboard/data-transfer-get-data-on-drop-rich-text-expected.txt: Now contains DOCTYPE.
2762         * editing/pasteboard/data-transfer-get-data-on-paste-rich-text-expected.txt: Ditto.
2763         * editing/pasteboard/onpaste-text-html-expected.txt: Rebaselined as now inline styles are stripped.
2764         * editing/pasteboard/onpaste-text-html.html: Strip away the inline style data since they differ on each platform.
2765         * http/tests/misc/copy-resolves-urls-expected.txt:
2766         * http/tests/misc/copy-resolves-urls.html: Now uses blob URL for the pasted image as expected.
2767         * http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin-expected.txt: Added.
2768         * http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin.html: Added.
2769         * http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-in-same-origin-expected.txt: Added.
2770         * http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-in-same-origin.html: Added.
2771         * http/tests/security/clipboard/drag-drop-html-cross-origin-iframe-in-same-origin-expected.txt: Added.
2772         * http/tests/security/clipboard/drag-drop-html-cross-origin-iframe-in-same-origin.html: Added.
2773         * http/tests/security/clipboard/resources/content-to-copy.html: Added.
2774         * http/tests/security/clipboard/resources/subdirectory/paste-html.html: Added.
2775         * platform/ios/TestExpectations: Unskip tests that have started passing.
2776         * platform/mac-wk1/TestExpectations: Unskip the drag & drop test which only works in Mac WK1.
2777         * platform/win/TestExpectations: Skip the newly added tests since we don't support custom pasteboard
2778         data on Windows port.
2779
2780 2017-10-18  Chris Dumez  <cdumez@apple.com>
2781
2782         Implement ServiceWorkerRegistration.scope / updateViaCache
2783         https://bugs.webkit.org/show_bug.cgi?id=178497
2784
2785         Reviewed by Youenn Fablet.
2786
2787         Extend layout test coverage.
2788
2789         * http/tests/workers/service/basic-register-expected.txt:
2790         * http/tests/workers/service/resources/basic-register.js:
2791         (then):
2792
2793 2017-10-18  Youenn Fablet  <youenn@apple.com>
2794
2795         Add preliminary support for ServiceWorker Handle Fetch
2796         https://bugs.webkit.org/show_bug.cgi?id=178475
2797
2798         Reviewed by Chris Dumez.
2799
2800         * http/tests/workers/service/basic-fetch.https-expected.txt: Added.
2801         * http/tests/workers/service/basic-fetch.https.html: Added.
2802         * http/tests/workers/service/resources/basic-fetch-worker.js: Added.
2803         * http/tests/workers/service/resources/basic-fetch.js: Added.
2804
2805 2017-10-18  Youenn Fablet  <youenn@apple.com>
2806
2807         TestController should clear all fetch caches when resetting its state
2808         https://bugs.webkit.org/show_bug.cgi?id=178486
2809
2810         Reviewed by Chris Dumez.
2811
2812         * http/tests/cache-storage/cache-clearing-all.https.html:
2813
2814 2017-10-18  Dean Jackson  <dino@apple.com>
2815
2816         Some older hardware can't actually use renderbuffers at the size they advertise
2817         https://bugs.webkit.org/show_bug.cgi?id=178417
2818         <rdar://problem/35042291>
2819
2820         Reviewed by Tim Horton.
2821
2822         Unskip webgl/1.0.2/conformance/canvas/drawingbuffer-static-canvas-test.html.
2823
2824         * TestExpectations:
2825
2826 2017-10-18  Daniel Bates  <dabates@apple.com>
2827
2828         Add test to ensure that text-overflow: ellipsis text is scrollable
2829         https://bugs.webkit.org/show_bug.cgi?id=178395
2830
2831         Reviewed by Zalan Bujtas.
2832
2833         * fast/text/scroll-text-overflow-ellipsis-expected.html: Added.
2834         * fast/text/scroll-text-overflow-ellipsis.html: Added.
2835         * platform/ios-wk1/TestExpectations: For now, skip the test in legacy WebKit on iOS
2836         as eventSender.keyDown() does not seem to be dispatching a keyboard event to the
2837         focused field. See <https://bugs.webkit.org/show_bug.cgi?id=178490>.
2838         * resources/ui-helper.js:
2839         (window.UIHelper.keyDown.return.new.Promise):
2840         (window.UIHelper.keyDown):
2841
2842 2017-10-17  Dean Jackson  <dino@apple.com>
2843
2844         Make failing WebGL tests produce debug output
2845         https://bugs.webkit.org/show_bug.cgi?id=178421
2846
2847         Reviewed by Jon Lee.
2848
2849         If a WebGL conformance test fails, we just get the word "FAIL". Instead,
2850         have it log the actual output of the test, so we can see what happens
2851         on bots.
2852
2853         Drive-by fix where I noticed a test file was missing, that causes
2854         two tests to timeout. They may still timeout, but now because they
2855         take a long time to run rather than they have a JS error.
2856
2857         * platform/mac/TestExpectations:
2858         * webgl/1.0.2/resources/webgl_test_files/conformance/resources/iterable-test.js: Added.
2859         * webgl/1.0.2/resources/webkit-webgl-test-harness.js:
2860         (window.webglTestHarness.notifyFinished):
2861         * webgl/resources/webkit-webgl-test-harness.js:
2862         (window.webglTestHarness.notifyFinished):
2863
2864 2017-10-18  Eric Carlson  <eric.carlson@apple.com>
2865
2866         Key events should not update Document.lastHandledUserGestureTimestamp unless key event is handled
2867         https://bugs.webkit.org/show_bug.cgi?id=178473
2868         <rdar://problem/34869935>
2869
2870         Reviewed by Brent Fulgham.
2871
2872         * media/restricted-audio-playback-with-document-gesture.html: Pass true to runWithKeyDown so
2873         it consumes the keydown event.
2874         * media/video-test.js:
2875         (runWithKeyDown): Take optional parameter which causes event handler to call preventDefault.
2876
2877 2017-10-18  Myles C. Maxfield  <mmaxfield@apple.com>
2878
2879         editing/deleting/delete-emoji-9.html is failing consistently.
2880         https://bugs.webkit.org/show_bug.cgi?id=178478
2881
2882         Unreviewed.
2883
2884         * platform/mac/editing/deleting/delete-emoji-9-expected.txt:
2885
2886 2017-10-18  Commit Queue  <commit-queue@webkit.org>
2887
2888         Unreviewed, rolling out r223321.
2889         https://bugs.webkit.org/show_bug.cgi?id=178476
2890
2891         This protocol change broke some internal builds (Requested by
2892         brrian__ on #webkit).
2893
2894         Reverted changeset:
2895
2896         "Web Inspector: provide a way to enable/disable event
2897         listeners"
2898         https://bugs.webkit.org/show_bug.cgi?id=177451
2899         https://trac.webkit.org/changeset/223321
2900
2901 2017-10-18  Alex Christensen  <achristensen@webkit.org>
2902
2903         http/tests/loading/basic-auth-resend-wrong-credentials.html is still a flaky failure after proposed fix.
2904         https://bugs.webkit.org/show_bug.cgi?id=178467
2905
2906         Reviewed by Andy Estes.
2907
2908         * http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt:
2909         * http/tests/loading/basic-auth-resend-wrong-credentials.html:
2910         * platform/wk2/http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt:
2911         Use setTimeout to make the loading order deterministic.
2912         The important part of this test is that the passwords shown in the delegate callbacks are correct,
2913         and this doesn't change that.
2914
2915 2017-10-18  Ms2ger  <Ms2ger@igalia.com>
2916
2917         [GTK] Test gardening.
2918         https://bugs.webkit.org/show_bug.cgi?id=178461
2919
2920         Unreviewed test gardening.
2921
2922         * platform/gtk/TestExpectations:
2923
2924 2017-10-18  Chris Dumez  <cdumez@apple.com>
2925
2926         Add an efficient data structure for WebCore to query if there is a Service Worker registered for a given origin
2927         https://bugs.webkit.org/show_bug.cgi?id=177876
2928         <rdar://problem/34813129>
2929
2930         Reviewed by Ryosuke Niwa.
2931
2932         Add layout test coverage. Also rebaseline a few tests now that registration succeeds.
2933
2934         * http/tests/workers/service/basic-register-exceptions-expected.txt:
2935         * http/tests/workers/service/basic-register-expected.txt:
2936         * http/tests/workers/service/registration-task-queue-scheduling-1-expected.txt:
2937         * http/tests/workers/service/resources/basic-register.js:
2938         * http/tests/workers/service/resources/registration-task-queue-scheduling-1.js:
2939
2940 2017-10-18  Antti Koivisto  <antti@apple.com>
2941
2942         Resolve ::before and ::after pseudo elements during style resolution
2943         https://bugs.webkit.org/show_bug.cgi?id=178339
2944         <rdar://problem/35025601>
2945
2946         Reviewed by Ryosuke Niwa.
2947
2948         Add a test verifying a crash noticed with earlier version of this patch.
2949
2950         * fast/css-generated-content/svg-use-crash-expected.html: Added.
2951         * fast/css-generated-content/svg-use-crash.html: Added.
2952
2953 2017-10-18  Yusuke Suzuki  <utatane.tea@gmail.com>
2954
2955         [JSC] __proto__ getter should be fast
2956         https://bugs.webkit.org/show_bug.cgi?id=178067
2957
2958         Reviewed by Saam Barati.
2959
2960         * js/object-literal-shorthand-construction-expected.txt:
2961         * js/script-tests/object-literal-shorthand-construction.js:
2962         (set 2):
2963         (get 1):
2964         * js/script-tests/sloppy-getter-setter-global-object.js:
2965         * js/sloppy-getter-setter-global-object-expected.txt:
2966
2967 2017-10-17  Myles C. Maxfield  <mmaxfield@apple.com>
2968
2969         [Regression] Webkit "-apple-system" font fallback token handles font weights of PingFang incorrectly.
2970         https://bugs.webkit.org/show_bug.cgi?id=177345
2971         <rdar://problem/32975942>
2972
2973         Reviewed by Jon Lee.
2974
2975         * fast/text/system-ui-chinese-bold-fallback.html:
2976
2977 2017-10-17  Dean Jackson  <dino@apple.com>
2978
2979         webgl/1.0.2/conformance/canvas/drawingbuffer-static-canvas-test.html failing
2980         https://bugs.webkit.org/show_bug.cgi?id=178417
2981         <rdar://problem/35042291>
2982
2983         Skip this test while I work out what causes it to fail on older hardware.
2984
2985         * TestExpectations:
2986
2987 2017-10-17  Ryan Haddad  <ryanhaddad@apple.com>
2988
2989         Unreviewed, rolling out r223523.
2990
2991         A test for this change is failing on debug JSC bots.
2992
2993         Reverted changeset:
2994
2995         "[JSC] __proto__ getter should be fast"
2996         https://bugs.webkit.org/show_bug.cgi?id=178067
2997         https://trac.webkit.org/changeset/223523
2998
2999 2017-10-17  Per Arne Vollan  <pvollan@apple.com>
3000
3001         Mark fast/text/ellipsis-text-rtl.html as a failure on Windows.
3002         https://bugs.webkit.org/show_bug.cgi?id=178413
3003
3004         Unreviewed test gardening.
3005
3006         * platform/win/TestExpectations:
3007
3008 2017-10-16  Andy Estes  <aestes@apple.com>
3009
3010         [Apple Pay] Add subLocality and subAdministrativeArea to ApplePayPaymentContact and ApplePayError
3011         https://bugs.webkit.org/show_bug.cgi?id=178191
3012         <rdar://problem/34906367>
3013
3014         Reviewed by Tim Horton.
3015
3016         * http/tests/ssl/applepay/ApplePayError-expected.txt:
3017         * http/tests/ssl/applepay/ApplePaySession-expected.txt:
3018         * http/tests/ssl/applepay/ApplePaySession.html:
3019
3020 2017-10-17  Myles C. Maxfield  <mmaxfield@apple.com>
3021
3022         Delete button doesn't fully delete certain emoji
3023         https://bugs.webkit.org/show_bug.cgi?id=178096
3024         <rdar://problem/34785106>
3025
3026         Reviewed by Simon Fraser.
3027
3028         * editing/deleting/delete-emoji-1.html: Added.
3029         * editing/deleting/delete-emoji-2.html: Added.
3030         * editing/deleting/delete-emoji-3.html: Added.
3031         * editing/deleting/delete-emoji-4.html: Added.
3032         * editing/deleting/delete-emoji-5.html: Added.
3033         * editing/deleting/delete-emoji-6.html: Added.
3034         * editing/deleting/delete-emoji-7.html: Added.
3035         * editing/deleting/delete-emoji-8.html: Added.
3036         * editing/deleting/delete-emoji-9.html: Added.
3037         * editing/deleting/delete-emoji.html:
3038         * platform/ios/editing/deleting/delete-emoji-1-expected.txt: Added.
3039         * platform/ios/editing/deleting/delete-emoji-2-expected.txt: Added.
3040         * platform/ios/editing/deleting/delete-emoji-3-expected.txt: Added.
3041         * platform/ios/editing/deleting/delete-emoji-4-expected.txt: Added.
3042         * platform/ios/editing/deleting/delete-emoji-5-expected.txt: Added.
3043         * platform/ios/editing/deleting/delete-emoji-6-expected.txt: Added.
3044         * platform/ios/editing/deleting/delete-emoji-7-expected.txt: Added.
3045         * platform/ios/editing/deleting/delete-emoji-8-expected.txt: Added.
3046         * platform/ios/editing/deleting/delete-emoji-9-expected.txt: Added.
3047         * platform/ios/editing/deleting/delete-emoji-expected.txt:
3048         * platform/mac-elcapitan/editing/deleting/delete-emoji-2-expected.txt: Added.
3049         * platform/mac-elcapitan/editing/deleting/delete-emoji-3-expected.txt: Added.
3050         * platform/mac-elcapitan/editing/deleting/delete-emoji-4-expected.txt: Added.
3051         * platform/mac-elcapitan/editing/deleting/delete-emoji-5-expected.txt: Added.
3052         * platform/mac-elcapitan/editing/deleting/delete-emoji-6-expected.txt: Added.
3053         * platform/mac-elcapitan/editing/deleting/delete-emoji-7-expected.txt: Added.
3054         * platform/mac-elcapitan/editing/deleting/delete-emoji-8-expected.txt: Added.
3055         * platform/mac-elcapitan/editing/deleting/delete-emoji-9-expected.txt: Added.
3056         * platform/mac-elcapitan/editing/deleting/delete-emoji-expected.txt: Added.
3057         * platform/mac-sierra/editing/deleting/delete-emoji-1-expected.txt: Added.
3058         * platform/mac-sierra/editing/deleting/delete-emoji-2-expected.txt: Added.
3059         * platform/mac-sierra/editing/deleting/delete-emoji-3-expected.txt: Added.
3060         * platform/mac-sierra/editing/deleting/delete-emoji-4-expected.txt: Added.
3061         * platform/mac-sierra/editing/deleting/delete-emoji-5-expected.txt: Added.
3062         * platform/mac-sierra/editing/deleting/delete-emoji-6-expected.txt: Added.
3063         * platform/mac-sierra/editing/deleting/delete-emoji-7-expected.txt: Added.
3064         * platform/mac-sierra/editing/deleting/delete-emoji-8-expected.txt: Added.
3065         * platform/mac-sierra/editing/deleting/delete-emoji-9-expected.txt: Added.
3066         * platform/mac-sierra/editing/deleting/delete-emoji-expected.txt: Added.
3067         * platform/mac/editing/deleting/delete-emoji-1-expected.txt: Added.
3068         * platform/mac/editing/deleting/delete-emoji-2-expected.txt: Added.
3069         * platform/mac/editing/deleting/delete-emoji-3-expected.txt: Added.
3070         * platform/mac/editing/deleting/delete-emoji-4-expected.txt: Added.
3071         * platform/mac/editing/deleting/delete-emoji-5-expected.txt: Added.
3072         * platform/mac/editing/deleting/delete-emoji-6-expected.txt: Added.
3073         * platform/mac/editing/deleting/delete-emoji-7-expected.txt: Added.
3074         * platform/mac/editing/deleting/delete-emoji-8-expected.txt: Added.
3075         * platform/mac/editing/deleting/delete-emoji-9-expected.txt: Added.
3076         * platform/mac/editing/deleting/delete-emoji-expected.txt:
3077         * platform/win/TestExpectations:
3078
3079 2017-10-17  Per Arne Vollan  <pvollan@apple.com>
3080
3081         Skip service workers tests on Windows.
3082
3083         Unreviewed test gardening.
3084
3085         * platform/win/TestExpectations:
3086
3087 2017-10-17  Per Arne Vollan  <pvollan@apple.com>
3088
3089         Mark animations/play-state-suspend.html as flaky on Windows.
3090         https://bugs.webkit.org/show_bug.cgi?id=178341
3091
3092         Unreviewed test gardening.
3093
3094         * platform/win/TestExpectations:
3095
3096 2017-10-16  Dean Jackson  <dino@apple.com>
3097
3098         WebGL clamps drawingBufferWidth to 4096 pixels on a 5120 monitor/canvas
3099         https://bugs.webkit.org/show_bug.cgi?id=178223
3100         <rdar://problem/34597567>
3101
3102         Reviewed by Antoine Quint.
3103
3104         Test that resizes an already large buffer to make sure it
3105         doesn't get clamped to 4k.
3106
3107         * fast/canvas/webgl/large-drawing-buffer-resize-expected.txt: Added.
3108         * fast/canvas/webgl/large-drawing-buffer-resize.html: Added.
3109
3110 2017-10-17  John Wilander  <wilander@apple.com>
3111
3112         Add and remove cookie partition accordingly in intermediary redirect requests
3113         https://bugs.webkit.org/show_bug.cgi?id=178369
3114         <rdar://problem/34467603>
3115
3116         Reviewed by Brent Fulgham.
3117
3118         This patch adds two new tests, relevant for the code change.
3119         Also makes changes to existing tests to increase speed and
3120         reliability.
3121
3122         * http/tests/resourceLoadStatistics/add-partitioning-to-redirect-expected.txt: Added.
3123         * http/tests/resourceLoadStatistics/add-partitioning-to-redirect.html: Added.
3124         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
3125         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
3126         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
3127         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
3128         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
3129         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
3130         * http/tests/resourceLoadStatistics/remove-partitioning-from-redirect-expected.txt: Added.
3131         * http/tests/resourceLoadStatistics/remove-partitioning-from-redirect.html: Added.
3132         * http/tests/resourceLoadStatistics/resources/get-cookies.php: Added.
3133         * http/tests/resourceLoadStatistics/resources/redirect.php:
3134         * http/tests/resourceLoadStatistics/resources/set-cookie.php: Added.
3135         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
3136         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
3137         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
3138         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
3139         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html:
3140         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html:
3141         * platform/ios/TestExpectations:
3142             The two new tests are marked [ Pass ].
3143         * platform/mac-wk2/TestExpectations:
3144             The two new tests are marked [ Pass ].
3145         * platform/wk2/TestExpectations:
3146             The two new tests are marked [ Skip ] because they require cookie partitioning.
3147
3148 2017-10-17  Ryan Haddad  <ryanhaddad@apple.com>
3149
3150         Unreviewed, rolling out r223459.
3151
3152         This change introduced LayoutTest failures.
3153
3154         Reverted changeset:
3155
3156         "WebGL clamps drawingBufferWidth to 4096 pixels on a 5120
3157         monitor/canvas"
3158         https://bugs.webkit.org/show_bug.cgi?id=178223
3159         https://trac.webkit.org/changeset/223459
3160
3161 2017-10-17  Youenn Fablet  <youenn@apple.com>
3162
3163         Add preliminary support for fetch event
3164         https://bugs.webkit.org/show_bug.cgi?id=178171
3165
3166         Reviewed by Chris Dumez.
3167
3168         Skipping new tests for WK1 and GTK that do not have SW.
3169
3170         * http/wpt/service-workers/extendableEvent.https-expected.txt: Added.
3171         * http/wpt/service-workers/extendableEvent.https.html: Added.
3172         * http/wpt/service-workers/fetchEvent.https-expected.txt: Added.
3173         * http/wpt/service-workers/fetchEvent.https.html: Added.
3174         * platform/gtk/TestExpectations:
3175         * platform/ios-wk1/TestExpectations:
3176         * platform/mac-wk1/TestExpectations:
3177
3178 2017-10-17  Youenn Fablet  <youenn@apple.com>
3179
3180         Cache API implementation should be able to compute storage size for WebKit client applications.
3181         https://bugs.webkit.org/show_bug.cgi?id=178350
3182
3183         Reviewed by Chris Dumez.
3184
3185         * http/tests/cache-storage/cache-clearing-origin.https.html:
3186         * http/tests/cache-storage/cache-representation.https.html:
3187
3188 2017-10-17  Ryan Haddad  <ryanhaddad@apple.com>
3189
3190         Add expected result file for fast/css/DOMQuad-points-SameObject.html.
3191         https://bugs.webkit.org/show_bug.cgi?id=178366
3192
3193         Unreviewed test gardening.
3194
3195         * fast/css/DOMQuad-points-SameObject-expected.txt: Added.
3196
3197 2017-10-17  Alex Christensen  <achristensen@webkit.org>
3198
3199         de-flakify http/tests/security/cross-frame-access-put.html
3200         https://bugs.webkit.org/show_bug.cgi?id=178371
3201
3202         Reviewed by Tim Horton.
3203
3204         In the iframe, the test was being run after 0ms.  Sometimes, the whole iframe hadn't loaded yet,
3205         so window.innerHeight and window.innerWidth were 0 instead of their intended values.  This changes
3206         the test to wait for the iframe to finish loading before running the test, then post a message to
3207         the parent to tell it to finish running its test instead of just relying on setTimeout(..., 0) to
3208         always work after the iframe had finished loading.
3209
3210         * http/tests/security/cross-frame-access-put-expected.txt:
3211         * http/tests/security/cross-frame-access-put.html:
3212         * http/tests/security/resources/cross-frame-iframe-for-put-test.html:
3213         * platform/mac-wk2/TestExpectations:
3214
3215 2017-10-17  Alex Christensen  <achristensen@webkit.org>
3216
3217         Layout Test http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-invalidstaterror.html is flaky
3218         https://bugs.webkit.org/show_bug.cgi?id=150095
3219
3220         Reviewed by Tim Horton.
3221
3222         * http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-invalidstaterror-expected.txt:
3223         * http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-invalidstaterror.html:
3224         * platform/mac-wk2/TestExpectations:
3225         We were mixing jsTestIsAsync with testRunner.notifyDone which caused some flakiness.
3226         Calling finishJSTest on the next runloop iteration causes it to no longer be flaky.
3227
3228 2017-10-17  Alex Christensen  <achristensen@webkit.org>
3229
3230         De-flakify http/tests/loading/basic-auth-resend-wrong-credentials.html
3231         https://bugs.webkit.org/show_bug.cgi?id=178370
3232
3233         Reviewed by Ryosuke Niwa.
3234
3235         Like r223445, in WebKit2 (and WebKit1 with asynchronous loading) sometimes the iframe would start
3236         loading before the main resource loading finished, sometimes it wouldn't.  This isn't a problem,
3237         and the rest of the test is still valid, but in order to make the dumped delegate callbacks deterministic,
3238         we make it so the iframe always starts loading after the main resource is done loading.
3239
3240         * http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt:
3241         * http/tests/loading/basic-auth-resend-wrong-credentials.html:
3242         * platform/ios-wk2/TestExpectations:
3243         * platform/mac-wk2/TestExpectations:
3244         * platform/wk2/http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt:
3245
3246 2017-10-17  Daniel Bates  <dabates@apple.com>
3247
3248         ASSERTION FAILED: m_truncation != cFullTruncation in InlineTextBox::clampedOffset()
3249         https://bugs.webkit.org/show_bug.cgi?id=178322
3250
3251         Reviewed by Darin Adler.
3252
3253         Add a test to ensure that clicking on the ellipsis in a truncated text run does not
3254         cause an assertion failure in a debug build.
3255
3256         * fast/text/click-ellipsis-assertion-failure-expected.txt: Added.
3257         * fast/text/click-ellipsis-assertion-failure.html: Added.
3258
3259 2017-10-17  Daniel Bates  <dabates@apple.com>
3260
3261         REGRESSION (r222670 and r222732): RTL truncated text may not be drawn
3262         https://bugs.webkit.org/show_bug.cgi?id=178278
3263         <rdar://problem/34982818>
3264
3265         Reviewed by Darin Adler.
3266
3267         Add a test to ensure that we draw right-to-left truncated text correctly.
3268
3269         * fast/text/ellipsis-text-rtl-expected.html: Added.
3270         * fast/text/ellipsis-text-rtl.html: Added.
3271
3272 2017-10-10  Yusuke Suzuki  <utatane.tea@gmail.com>
3273
3274         [JSC] __proto__ getter should be fast
3275         https://bugs.webkit.org/show_bug.cgi?id=178067
3276
3277         Reviewed by Saam Barati.
3278
3279         * js/object-literal-shorthand-construction-expected.txt:
3280         * js/script-tests/object-literal-shorthand-construction.js:
3281         (set 2):
3282         (get 1):
3283         * js/script-tests/sloppy-getter-setter-global-object.js:
3284         * js/sloppy-getter-setter-global-object-expected.txt:
3285
3286 2017-10-17  Antti Koivisto  <antti@apple.com>
3287
3288         Text nodes with display:contents parent should render as if they were wrapped in an unstyled <span>
3289         https://bugs.webkit.org/show_bug.cgi?id=178332
3290
3291         Reviewed by Ryosuke Niwa.
3292
3293         * TestExpectations: 10 more display:contents tests pass.
3294
3295 2017-10-17  Alicia Boya García  <aboya@igalia.com>
3296
3297         [MSE][GStreamer] Insert parser elements in AppendPipeline when demuxing opus or Vorbis
3298         https://bugs.webkit.org/show_bug.cgi?id=178076
3299
3300         Reviewed by Xabier Rodriguez-Calvar.
3301
3302         YouTube does not include durations in the WebM container for files
3303         containing Opus audio, so we need to read them from the contained
3304         stream. Fortunately, GStreamer has an element to do that: opusparse.
3305
3306         The same thing happens with Vorbis contained in WebM files from the
3307         W3C tests, which should also be fixed by the GStreamer element
3308         vorbisparse.
3309
3310         This patch adds an opusparse or vorbisparse element to the
3311         AppendPipeline at the sinkpad of the demuxer when either is found.
3312
3313         Tests: updated expectations.
3314
3315         * platform/gtk/TestExpectations:
3316
3317 2017-10-17  Alicia Boya García  <aboya@igalia.com>
3318
3319         [GStreamer][MSE] Unreviewed microgardening
3320         https://bugs.webkit.org/show_bug.cgi?id=178344
3321
3322         Updates the following expectations:
3323
3324         - imported/w3c/web-platform-tests/media-source/mediasource-is-type-supported.html
3325
3326           Updated with current output (as a prerequisite to land this:
3327           https://bugs.webkit.org/show_bug.cgi?id=178160, which improves the
3328           -expected output a bit)
3329
3330         - imported/w3c/web-platform-tests/media-source/SourceBuffer-abort*.html
3331
3332           Marked them as passing, as they have been passing for a while.
3333
3334         - imported/w3c/web-platform-tests/media-source/mediasource-play-then-seek-back.html
3335           imported/w3c/web-platform-tests/media-source/mediasource-sourcebuffer-mode.html
3336
3337           Marked them as passing. They were crashing on the build bot because
3338           the changes of https://bugs.webkit.org/show_bug.cgi?id=176804 were
3339           not being built, but Carlos López is already working on that.
3340
3341         * platform/gtk/TestExpectations:
3342
3343 2017-10-16  Wenson Hsieh  <wenson_hsieh@apple.com>
3344
3345         Allow reading data and blob URLs via DataTransfer when the pasteboard contains files
3346         https://bugs.webkit.org/show_bug.cgi?id=178377
3347
3348         Reviewed by Ryosuke Niwa.
3349
3350         Tweaks an existing layout test to test dragging and dropping more URL protocols (ftp:, data: and blob:).
3351
3352         * editing/pasteboard/drag-drop-href-as-url-expected.txt:
3353         * editing/pasteboard/drag-drop-href-as-url.html:
3354
3355 2017-10-16  Ryosuke Niwa  <rniwa@webkit.org>
3356
3357         Strip away event handlers and JavaScript URLs when copying
3358         https://bugs.webkit.org/show_bug.cgi?id=178375
3359
3360         Reviewed by Wenson Hsieh.
3361
3362         Added a regression test.
3363
3364         * editing/pasteboard/copying-html-strips-javascript-url-and-event-handler-expected.txt: Added.
3365         * editing/pasteboard/copying-html-strips-javascript-url-and-event-handler.html: Added.
3366
3367 2017-10-16  Dean Jackson  <dino@apple.com>
3368
3369         WebGL clamps drawingBufferWidth to 4096 pixels on a 5120 monitor/canvas
3370         https://bugs.webkit.org/show_bug.cgi?id=178223
3371         <rdar://problem/34597567>
3372
3373         Reviewed by Antoine Quint.
3374
3375         Test that resizes an already large buffer to make sure it
3376         doesn't get clamped to 4k.
3377
3378         * fast/canvas/webgl/large-drawing-buffer-resize-expected.txt: Added.
3379         * fast/canvas/webgl/large-drawing-buffer-resize.html: Added.
3380
3381 2017-10-16  Chris Dumez  <cdumez@apple.com>
3382
3383         DOMQuad.p1 / p2 / p3 / p4 should behave as [SameObject]
3384         https://bugs.webkit.org/show_bug.cgi?id=178366
3385
3386         Reviewed by Youenn Fablet.
3387
3388         Add layout test coverage.
3389
3390         * fast/css/DOMQuad-points-SameObject.html: Added.
3391
3392 2017-10-16  Andy Estes  <aestes@apple.com>
3393
3394         [Apple Pay] Add subLocality and subAdministrativeArea to ApplePayPaymentContact and ApplePayError
3395         https://bugs.webkit.org/show_bug.cgi?id=178191
3396         <rdar://problem/34906367>
3397
3398         Reviewed by Tim Horton.
3399
3400         * http/tests/ssl/applepay/ApplePayError-expected.txt:
3401         * http/tests/ssl/applepay/ApplePaySession-expected.txt:
3402         * http/tests/ssl/applepay/ApplePaySession.html:
3403
3404 2017-10-16  Alex Christensen  <achristensen@webkit.org>
3405
3406         De-flakify http/tests/loading/basic-credentials-sent-automatically.html
3407         https://bugs.webkit.org/show_bug.cgi?id=178365
3408
3409         Reviewed by Andy Estes.
3410
3411         * http/tests/loading/basic-credentials-sent-automatically-expected.txt:
3412         * http/tests/loading/basic-credentials-sent-automatically.html:
3413         * platform/ios-wk2/TestExpectations:
3414         * platform/mac-wk2/TestExpectations:
3415         * platform/wk2/http/tests/loading/basic-credentials-sent-automatically-expected.txt:
3416
3417 2017-10-15  Ryosuke Niwa  <rniwa@webkit.org>
3418
3419         Cannot access images included in the content pasted from Microsoft Word
3420         https://bugs.webkit.org/show_bug.cgi?id=124391
3421         <rdar://problem/26862741>
3422
3423         Reviewed by Antti Koivisto.
3424
3425         Added tests for copying & pasting and dragging & dropping HTML contents.
3426
3427         * TestExpectations:
3428         * editing/pasteboard/data-transfer-get-data-on-drop-rich-text-expected.txt: Rebaselined.
3429         * editing/pasteboard/data-transfer-get-data-on-paste-rich-text-expected.txt: Ditto.
3430         * editing/pasteboard/data-transfer-get-data-on-paste-rich-text.html: Modified the test to strip away platform specific
3431         inline style properties.
3432         * editing/pasteboard/data-transfer-get-data-on-pasting-html-uses-blob-url-expected.txt: Added.
3433         * editing/pasteboard/data-transfer-get-data-on-pasting-html-uses-blob-url.html: Added.
3434         * editing/pasteboard/data-transfer-set-data-sanitizes-html-when-copying-expected.txt: Added.
3435         * editing/pasteboard/data-transfer-set-data-sanitizes-html-when-copying-in-null-origin-expected.txt: Added.
3436         * editing/pasteboard/data-transfer-set-data-sanitizes-html-when-copying-in-null-origin.html: Added.
3437         * editing/pasteboard/data-transfer-set-data-sanitizes-html-when-copying.html: Added.
3438         * editing/pasteboard/data-transfer-set-data-sanitizes-html-when-dragging-in-null-origin-expected.txt: Added.
3439         * editing/pasteboard/data-transfer-set-data-sanitizes-html-when-dragging-in-null-origin.html: Added.
3440         * editing/pasteboard/data-transfer-set-data-sanitizes-url-when-dragging-in-null-origin.html: Removed the superflous
3441         call to setTimeout that was errornously added during debugging. Also updated the test to not claim all URL and
3442         HTML values are read in the same origin, and updated the assertion for cross-origin case as it's now sanitized.
3443         * editing/pasteboard/onpaste-text-html-expected.txt: Rebaselined. The order of CSS properties have changed.
3444         * http/tests/security/clipboard/copy-paste-html-across-origin-sanitizes-html-expected.txt: Added.
3445         * http/tests/security/clipboard/copy-paste-html-across-origin-sanitizes-html.html: Added.
3446         * http/tests/security/clipboard/copy-paste-url-across-origin-sanitizes-url.html:
3447         * http/tests/security/clipboard/resources/copy-html.html: Added.
3448         * http/tests/security/clipboard/resources/copy-url.html: Renamed from copy.html.
3449         * platform/ios-wk2/editing/pasteboard/data-transfer-get-data-on-paste-rich-text-expected.txt: Remoevd.
3450         * platform/ios-wk1/editing/pasteboard/data-transfer-get-data-on-paste-rich-text-expected.txt: Remoevd.
3451         * platform/mac-wk1/TestExpectations:
3452
3453 2017-10-16  Ross Kirsling  <ross.kirsling@sony.com>
3454
3455         Web Inspector: Layers tab mistakenly throws out the root element's layer.
3456         https://bugs.webkit.org/show_bug.cgi?id=178222
3457
3458         Reviewed by Brian Burg.
3459
3460         * inspector/layers/layer-tree-manager-expected.txt: Added.
3461         * inspector/layers/layer-tree-manager.html: Added.
3462
3463 2017-10-16  Tim Horton  <timothy_horton@apple.com>
3464
3465         Adjust one more test from constant() to env() after r177581
3466
3467         * fast/events/ios/rotation/safe-area-insets-during-safari-type-rotation.html:
3468
3469 2017-10-16  Youenn Fablet  <youenn@apple.com>
3470
3471         LayoutTest http/tests/cache-storage/cache-clearing-origin.https.html is a flaky failure
3472         https://bugs.webkit.org/show_bug.cgi?id=178305
3473         <rdar://problem/34990264>
3474
3475         Unreviewed.
3476
3477         Removing flaky test expectations based on dashboard.
3478
3479         * TestExpectations:
3480         * platform/ios/TestExpectations:
3481         * platform/mac/TestExpectations:
3482
3483 2017-10-16  Chris Dumez  <cdumez@apple.com>
3484
3485         Clicks on Link with download attribute causes all (other) links to trigger download when clicked
3486         https://bugs.webkit.org/show_bug.cgi?id=178267
3487         <rdar://problem/34985016>
3488
3489         Reviewed by Darin Adl