:default CSS pseudo-class should match checkboxes+radios with a `checked` attribute
[WebKit-https.git] / LayoutTests / ChangeLog
1 2016-06-20  Benjamin Poulain  <benjamin@webkit.org>
2
3         :default CSS pseudo-class should match checkboxes+radios with a `checked` attribute
4         https://bugs.webkit.org/show_bug.cgi?id=156230
5
6         Reviewed by Alex Christensen.
7
8         * fast/css/pseudo-default-basics-expected.html: Added.
9         * fast/css/pseudo-default-basics.html: Added.
10         * fast/selectors/default-style-update-expected.txt: Added.
11         * fast/selectors/default-style-update.html: Added.
12
13 2016-06-20  Simon Fraser  <simon.fraser@apple.com>
14
15         Focus event dispatched in iframe causes parent document to scroll incorrectly
16         https://bugs.webkit.org/show_bug.cgi?id=158629
17         rdar://problem/26521616
18
19         Reviewed by Tim Horton.
20
21         * fast/forms/ios/focus-input-in-iframe-expected.txt: Added.
22         * fast/forms/ios/focus-input-in-iframe.html: Added.
23         * fast/forms/ios/programmatic-focus-input-in-iframe-expected.txt: Added.
24         * fast/forms/ios/programmatic-focus-input-in-iframe.html: Added.
25
26 2016-06-20  Commit Queue  <commit-queue@webkit.org>
27
28         Unreviewed, rolling out r202179.
29         https://bugs.webkit.org/show_bug.cgi?id=158946
30
31         The test either fails or times out 100% of the time (Requested
32         by ap on #webkit).
33
34         Reverted changeset:
35
36         "REGRESSION: Double tap to zoom does not work on yahoo
37         finance"
38         https://bugs.webkit.org/show_bug.cgi?id=158886
39         http://trac.webkit.org/changeset/202179
40
41 2016-06-20  Alexey Proskuryakov  <ap@apple.com>
42
43         Fix a run-webkit-tests --lint warning.
44
45         * platform/mac/TestExpectations:
46
47 2016-06-20  Alexey Proskuryakov  <ap@apple.com>
48
49         Test expectations gardening for
50         https://bugs.webkit.org/show_bug.cgi?id=155196
51
52         Marked the tests as flaky instead of skipping, to make the results visible on the
53         flakiness dashboard. Also added video-with-data-url-allowed-by-media-src-star.html,
54         which is very flaky too.
55
56         * platform/mac-wk1/TestExpectations:
57         * platform/mac/TestExpectations:
58
59 2016-06-20  Joseph Pecoraro  <pecoraro@apple.com>
60
61         Web Inspector: console.profile should use the new Sampling Profiler
62         https://bugs.webkit.org/show_bug.cgi?id=153499
63         <rdar://problem/24352431>
64
65         Reviewed by Timothy Hatcher.
66
67         * inspector/timeline/setInstruments-programmatic-capture-expected.txt: Added.
68         * inspector/timeline/setInstruments-programmatic-capture.html: Added.
69         New test that the backend auto-starts instruments during programmatic capture.
70
71 2016-06-20  Chris Dumez  <cdumez@apple.com>
72
73         Unreviewed, rebaseline test now that TouchEvent has a constructor.
74
75         * fast/events/touch/document-create-touch-list-ios-expected.txt:
76
77 2016-06-19  Antti Koivisto  <antti@apple.com>
78
79         Updating class name of a shadow host does not update the style applied by :host()
80         https://bugs.webkit.org/show_bug.cgi?id=158900
81         <rdar://problem/26883707>
82
83         Reviewed by Simon Fraser.
84
85         * fast/shadow-dom/shadow-host-style-update-expected.html: Added.
86         * fast/shadow-dom/shadow-host-style-update.html: Added.
87
88 2016-06-19  Alexey Proskuryakov  <ap@apple.com>
89
90         Test expectation gardening.
91
92         * platform/mac-wk2/TestExpectations:
93         * platform/mac/TestExpectations:
94
95 2016-06-19  Alexey Proskuryakov  <ap@apple.com>
96
97         Test expectation gardening.
98
99         * platform/mac-wk2/TestExpectations:
100         * platform/mac/TestExpectations:
101
102 2016-06-19  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
103
104         [EFL] Mark shadow-dom tests to pass because it was enabled by r202091
105         https://bugs.webkit.org/show_bug.cgi?id=158930
106
107         Unreviewed EFL gardening.
108
109         * platform/efl/TestExpectations:
110
111 2016-06-19  Michael Catanzaro  <mcatanzaro@igalia.com>
112
113         [GTK] Unreviewed test gardening
114
115         * fast/forms/select-non-native-rendering-direction-expected.txt: Added.
116         * fast/text/hyphenate-avoid-orphaned-word-expected.txt: Added.
117         * platform/gtk/TestExpectations:
118
119 2016-06-17  Alexey Proskuryakov  <ap@apple.com>
120
121         Add test expectations for macOS Sierra
122         https://bugs.webkit.org/show_bug.cgi?id=158903
123
124         Reviewed by Alex Christensen.
125
126         * TestExpectations:
127         * media/click-placeholder-not-pausing-expected.txt: Added.
128         * media/click-placeholder-not-pausing.html: Added.
129         * media/controls/picture-in-picture-expected.txt: Added.
130         * media/controls/picture-in-picture.html: Added.
131         * media/element-containing-pip-video-going-into-fullscreen-expected.txt: Added.
132         * media/element-containing-pip-video-going-into-fullscreen.html: Added.
133         * media/fullscreen-api-enabled-media-with-presentation-mode-expected.txt: Added.
134         * media/fullscreen-api-enabled-media-with-presentation-mode.html: Added.
135         * media/fullscreen-video-going-into-pip-expected.txt: Added.
136         * media/fullscreen-video-going-into-pip.html: Added.
137         * media/navigate-with-pip-should-not-crash-expected.txt: Added.
138         * media/navigate-with-pip-should-not-crash.html: Added.
139         * media/pip-video-going-into-fullscreen-expected.txt: Added.
140         * media/pip-video-going-into-fullscreen.html: Added.
141         * media/video-contained-in-fullscreen-element-going-into-pip-expected.txt: Added.
142         * media/video-contained-in-fullscreen-element-going-into-pip.html: Added.
143         * platform/mac-elcapitan: Added.
144         * platform/mac-elcapitan/compositing: Added.
145         * platform/mac-elcapitan/compositing/rtl: Added.
146         * platform/mac-elcapitan/compositing/rtl/rtl-overflow-scrolling-expected.txt: Copied from LayoutTests/platform/mac/compositing/rtl/rtl-overflow-scrolling-expected.txt.
147         * platform/mac-elcapitan/fast: Added.
148         * platform/mac-elcapitan/fast/block: Added.
149         * platform/mac-elcapitan/fast/block/float: Added.
150         * platform/mac-elcapitan/fast/block/float/026-expected.png: Copied from LayoutTests/platform/mac/fast/block/float/026-expected.png.
151         * platform/mac-elcapitan/fast/block/float/026-expected.txt: Copied from LayoutTests/platform/mac/fast/block/float/026-expected.txt.
152         * platform/mac-elcapitan/fast/block/float/028-expected.png: Copied from LayoutTests/platform/mac/fast/block/float/028-expected.png.
153         * platform/mac-elcapitan/fast/block/float/028-expected.txt: Copied from LayoutTests/platform/mac/fast/block/float/028-expected.txt.
154         * platform/mac-elcapitan/fast/overflow: Added.
155         * platform/mac-elcapitan/fast/overflow/unreachable-overflow-rtl-bug-expected.png: Copied from LayoutTests/platform/mac/fast/overflow/unreachable-overflow-rtl-bug-expected.png.
156         * platform/mac-elcapitan/fast/overflow/unreachable-overflow-rtl-bug-expected.txt: Copied from LayoutTests/platform/mac/fast/overflow/unreachable-overflow-rtl-bug-expected.txt.
157         * platform/mac-elcapitan/fast/ruby: Added.
158         * platform/mac-elcapitan/fast/ruby/bopomofo-expected.png: Copied from LayoutTests/platform/mac/fast/ruby/bopomofo-expected.png.
159         * platform/mac-elcapitan/fast/ruby/bopomofo-expected.txt: Copied from LayoutTests/platform/mac/fast/ruby/bopomofo-expected.txt.
160         * platform/mac-elcapitan/fast/ruby/bopomofo-letter-spacing-expected.png: Copied from LayoutTests/platform/mac/fast/ruby/bopomofo-letter-spacing-expected.png.
161         * platform/mac-elcapitan/fast/ruby/bopomofo-letter-spacing-expected.txt: Copied from LayoutTests/platform/mac/fast/ruby/bopomofo-letter-spacing-expected.txt.
162         * platform/mac-elcapitan/fast/ruby/bopomofo-rl-expected.png: Copied from LayoutTests/platform/mac/fast/ruby/bopomofo-rl-expected.png.
163         * platform/mac-elcapitan/fast/ruby/bopomofo-rl-expected.txt: Copied from LayoutTests/platform/mac/fast/ruby/bopomofo-rl-expected.txt.
164         * platform/mac-elcapitan/fast/text: Added.
165         * platform/mac-elcapitan/fast/text/crash-complex-text-surrogate-expected.txt: Copied from LayoutTests/platform/mac/fast/text/crash-complex-text-surrogate-expected.txt.
166         * platform/mac-elcapitan/fast/text/justify-ideograph-complex-expected.png: Copied from LayoutTests/platform/mac/fast/text/justify-ideograph-complex-expected.png.
167         * platform/mac-elcapitan/fast/text/justify-ideograph-complex-expected.txt: Copied from LayoutTests/platform/mac/fast/text/justify-ideograph-complex-expected.txt.
168         * platform/mac-elcapitan/fast/text/line-initial-and-final-swashes-expected.png: Copied from LayoutTests/platform/mac/fast/text/line-initial-and-final-swashes-expected.png.
169         * platform/mac-elcapitan/fast/text/line-initial-and-final-swashes-expected.txt: Copied from LayoutTests/platform/mac/fast/text/line-initial-and-final-swashes-expected.txt.
170         * platform/mac-elcapitan/http: Added.
171         * platform/mac-elcapitan/http/tests: Added.
172         * platform/mac-elcapitan/http/tests/cookies: Added.
173         * platform/mac-elcapitan/http/tests/cookies/third-party-cookie-relaxing-expected.txt: Copied from LayoutTests/http/tests/cookies/third-party-cookie-relaxing-expected.txt.
174         * platform/mac-elcapitan/http/tests/security: Added.
175         * platform/mac-elcapitan/http/tests/security/mixedContent: Added.
176         * platform/mac-elcapitan/http/tests/security/mixedContent/insecure-audio-video-in-main-frame-expected.txt: Copied from LayoutTests/platform/mac/http/tests/security/mixedContent/insecure-audio-video-in-main-frame-expected.txt.
177         * platform/mac-elcapitan/media: Added.
178         * platform/mac-elcapitan/media/controls-strict-expected.png: Copied from LayoutTests/platform/mac/media/controls-strict-expected.png.
179         * platform/mac-elcapitan/media/controls-strict-expected.txt: Copied from LayoutTests/platform/mac/media/controls-strict-expected.txt.
180         * platform/mac-elcapitan/media/controls-without-preload-expected.png: Copied from LayoutTests/platform/mac/media/controls-without-preload-expected.png.
181         * platform/mac-elcapitan/media/controls-without-preload-expected.txt: Copied from LayoutTests/platform/mac/media/controls-without-preload-expected.txt.
182         * platform/mac-elcapitan/media/track: Added.
183         * platform/mac-elcapitan/media/track/video-track-alternate-groups-expected.txt: Copied from LayoutTests/platform/mac/media/track/video-track-alternate-groups-expected.txt.
184         * platform/mac-elcapitan/media/video-controls-rendering-expected.txt: Copied from LayoutTests/platform/mac/media/video-controls-rendering-expected.txt.
185         * platform/mac-elcapitan/media/video-display-toggle-expected.png: Copied from LayoutTests/platform/mac/media/video-display-toggle-expected.png.
186         * platform/mac-elcapitan/media/video-display-toggle-expected.txt: Copied from LayoutTests/platform/mac/media/video-display-toggle-expected.txt.
187         * platform/mac-elcapitan/media/video-no-audio-expected.txt: Copied from LayoutTests/platform/mac/media/video-no-audio-expected.txt.
188         * platform/mac-elcapitan/media/video-volume-slider-expected.txt: Copied from LayoutTests/platform/mac/media/video-volume-slider-expected.txt.
189         * platform/mac-wk1/TestExpectations:
190         * platform/mac-wk2/TestExpectations:
191         * platform/mac-wk2/fast/scrolling: Added.
192         * platform/mac-wk2/fast/scrolling/rtl-scrollbars-animation-property-expected.txt: Added.
193         * platform/mac/TestExpectations:
194         * platform/mac/compositing/rtl/rtl-overflow-scrolling-expected.png: Added.
195         * platform/mac/compositing/rtl/rtl-overflow-scrolling-expected.txt:
196         * platform/mac/fast/block/float/026-expected.png:
197         * platform/mac/fast/block/float/026-expected.txt:
198         * platform/mac/fast/block/float/028-expected.png:
199         * platform/mac/fast/block/float/028-expected.txt:
200         * platform/mac/fast/overflow/unreachable-overflow-rtl-bug-expected.png:
201         * platform/mac/fast/overflow/unreachable-overflow-rtl-bug-expected.txt:
202         * platform/mac/fast/ruby/bopomofo-expected.png:
203         * platform/mac/fast/ruby/bopomofo-expected.txt:
204         * platform/mac/fast/ruby/bopomofo-letter-spacing-expected.png:
205         * platform/mac/fast/ruby/bopomofo-letter-spacing-expected.txt:
206         * platform/mac/fast/ruby/bopomofo-rl-expected.png:
207         * platform/mac/fast/ruby/bopomofo-rl-expected.txt:
208         * platform/mac/fast/text/crash-complex-text-surrogate-expected.txt:
209         * platform/mac/fast/text/justify-ideograph-complex-expected.png:
210         * platform/mac/fast/text/justify-ideograph-complex-expected.txt:
211         * platform/mac/fast/text/line-initial-and-final-swashes-expected.png:
212         * platform/mac/fast/text/line-initial-and-final-swashes-expected.txt:
213         * platform/mac/http/tests/cookies/third-party-cookie-relaxing-expected.txt: Added.
214         * platform/mac/http/tests/security/mixedContent/insecure-audio-video-in-main-frame-expected.txt:
215         * platform/mac/media/controls-strict-expected.png: Removed.
216         * platform/mac/media/controls-without-preload-expected.png: Removed.
217         * platform/mac/media/track/video-track-alternate-groups-expected.txt:
218         * platform/mac/media/video-controls-rendering-expected.png: Removed.
219         * platform/mac/media/video-display-toggle-expected.png: Removed.
220         * platform/mac/media/video-no-audio-expected.png: Removed.
221         * platform/mac/media/video-volume-slider-expected.png: Removed.
222
223 2016-06-17  Benjamin Poulain  <benjamin@webkit.org>
224
225         :indeterminate pseudo-class should match radios whose group has no checked radio
226         https://bugs.webkit.org/show_bug.cgi?id=156270
227
228         Reviewed by Simon Fraser.
229
230         There are two important aspect to cover for this change:
231         1) The style is updated correctly when a Button Group composition change.
232         2) When the checkness changes for a Button Group, all its elements
233            are invalidated to match :indeterminate.
234
235         * fast/forms/radio/indeterminate-radio.html:
236         This test was verifying that the property "indeterminate" of the input element
237         is not reflected to the style through :indeterminate.
238         I updated the test to still verify that except that we now match :indeterminate
239         before changing the property.
240
241         * fast/css/pseudo-indeterminate-radio-buttons-basics-expected.html: Added.
242         * fast/css/pseudo-indeterminate-radio-buttons-basics.html: Added.
243
244         * fast/css/pseudo-indeterminate-with-radio-buttons-style-invalidation-expected.txt: Added.
245         * fast/css/pseudo-indeterminate-with-radio-buttons-style-invalidation.html: Added.
246         Verify that we don't invalidate everything when the checked button changes.
247         We only need to invalidate everything if the checked state of the whole group changes.
248
249         * fast/selectors/detached-radio-button-checked-and-indeterminate-states-expected.txt: Added.
250         * fast/selectors/detached-radio-button-checked-and-indeterminate-states.html: Added.
251         * fast/selectors/pseudo-indeterminate-with-radio-buttons-style-update-expected.txt: Added.
252         * fast/selectors/pseudo-indeterminate-with-radio-buttons-style-update.html: Added.
253
254 2016-06-17  Commit Queue  <commit-queue@webkit.org>
255
256         Unreviewed, rolling out r202152.
257         https://bugs.webkit.org/show_bug.cgi?id=158897
258
259         The new test is very unstable, timing out frequently
260         (Requested by ap on #webkit).
261
262         Reverted changeset:
263
264         "Web Inspector: console.profile should use the new Sampling
265         Profiler"
266         https://bugs.webkit.org/show_bug.cgi?id=153499
267         http://trac.webkit.org/changeset/202152
268
269 2016-06-17  Commit Queue  <commit-queue@webkit.org>
270
271         Unreviewed, rolling out r202068, r202115, and r202128.
272         https://bugs.webkit.org/show_bug.cgi?id=158896
273
274         The new test is very unstable, timing out frequently
275         (Requested by ap on #webkit).
276
277         Reverted changesets:
278
279         "decompose4 return value is unchecked, leading to potentially
280         uninitialized data."
281         https://bugs.webkit.org/show_bug.cgi?id=158761
282         http://trac.webkit.org/changeset/202068
283
284         "[mac] LayoutTest transforms/undecomposable.html is a flaky
285         timeout"
286         https://bugs.webkit.org/show_bug.cgi?id=158816
287         http://trac.webkit.org/changeset/202115
288
289         "[mac] LayoutTest transforms/undecomposable.html is a flaky
290         timeout"
291         https://bugs.webkit.org/show_bug.cgi?id=158816
292         http://trac.webkit.org/changeset/202128
293
294 2016-06-17  Chris Fleizach  <cfleizach@apple.com>
295
296         AX: HTML indeterminate IDL attribute not mapped to checkbox value=2 for native checkboxes
297         https://bugs.webkit.org/show_bug.cgi?id=158876
298         <rdar://problem/26842619>
299
300         Reviewed by Joanmarie Diggs.
301
302         * accessibility/checkbox-mixed-value-expected.txt: Added.
303         * accessibility/checkbox-mixed-value.html: Added.
304
305 2016-06-17  Dean Jackson  <dino@apple.com>
306
307         REGRESSION (r199819): CrashTracer: [GraphicsContext3D::getInternalFramebufferSize
308         https://bugs.webkit.org/show_bug.cgi?id=158895
309         <rdar://problem/26423617>
310
311         Reviewed by Zalan Bujtas.
312
313         New test to access the contexts after loss. Also cleaned
314         up the JavaScript code in the existing test (and made sure
315         it ran outside of the test system).
316
317         * webgl/many-contexts-access-after-loss-expected.txt: Added.
318         * webgl/many-contexts-access-after-loss.html: Added.
319         * webgl/many-contexts.html:
320
321 2016-06-17  Antoine Quint  <graouts@apple.com>
322
323         Web video playback controls should have RTL volume slider
324         https://bugs.webkit.org/show_bug.cgi?id=158856
325         <rdar://problem/25971769>
326
327         Reviewed by Tim Horton.
328
329         New test that checks that the volume box has the correct CSS class name and the expected
330         CSS transform value applied to it when the user interface layout direction is right-to-left
331         and that changing the user interface layout direction dynamically update the media element
332         shadow tree as expected.
333
334         * fullscreen/video-controls-rtl-expected.txt: Added.
335         * fullscreen/video-controls-rtl.html: Added.
336
337 2016-06-17  Ryan Haddad  <ryanhaddad@apple.com>
338
339         Update LayoutTest fast/canvas/canvas-composite-text-alpha.html
340         https://bugs.webkit.org/show_bug.cgi?id=158710
341
342         Reviewed by Alexey Proskuryakov.
343
344         Though this test passes, opening the test file directly reports multiple failures. Updating the
345         readback locations to get the correct results.
346
347         * fast/canvas/canvas-composite-text-alpha.html:
348
349 2016-06-17  Ryan Haddad  <ryanhaddad@apple.com>
350
351         Marking media/video-controls-show-on-kb-or-ax-event.html as flaky on Mac
352         https://bugs.webkit.org/show_bug.cgi?id=158889
353
354         Unreviewed test gardening.
355
356         * platform/mac/TestExpectations:
357
358 2016-06-17  Ryan Haddad  <ryanhaddad@apple.com>
359
360         Skip security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star.html on Mac
361         https://bugs.webkit.org/show_bug.cgi?id=155196
362
363         Unreviewed test gardening.
364
365         * platform/mac/TestExpectations:
366
367 2016-06-17  Dean Jackson  <dino@apple.com>
368
369         REGRESSION: Double tap to zoom does not work on yahoo finance
370         https://bugs.webkit.org/show_bug.cgi?id=158886
371         <rdar://problem/24917760>
372
373         Reviewed by Simon Fraser.
374
375         * fast/events/ios/viewport-shrink-to-fit-allows-double-tap-expected.txt: Added.
376         * fast/events/ios/viewport-shrink-to-fit-allows-double-tap.html: Added.
377
378 2016-06-17  Chris Dumez  <cdumez@apple.com>
379
380         TouchEvent should have a constructor
381         https://bugs.webkit.org/show_bug.cgi?id=158883
382         <rdar://problem/26063585>
383
384         Reviewed by Benjamin Poulain.
385
386         Add layout test coverage for the TouchEvent constructor.
387
388         * fast/events/touch/touch-event-constructor-expected.txt: Added.
389         * fast/events/touch/touch-event-constructor.html: Added.
390
391 2016-06-17  Chris Dumez  <cdumez@apple.com>
392
393         URL hash setter does not remove fragment identifier if argument is an empty string
394         https://bugs.webkit.org/show_bug.cgi?id=158869
395         <rdar://problem/26863430>
396
397         Reviewed by Darin Adler.
398
399         Update existing layout tests now that setting hash to "" or "#" clears
400         the fragment identifier.
401
402         * fast/dom/DOMURL/set-href-attribute-hash-expected.txt:
403         * fast/dom/DOMURL/set-href-attribute-hash.html:
404         * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-hash.js:
405         * fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt:
406
407 2016-06-17  John Wilander  <wilander@apple.com>
408
409         Ignore case in the check for security origin inheritance
410         https://bugs.webkit.org/show_bug.cgi?id=158878
411
412         Reviewed by Alex Christensen.
413
414         * http/tests/dom/window-open-about-uppercase-blank-and-access-document-expected.txt: Added.
415         * http/tests/dom/window-open-about-uppercase-blank-and-access-document.html: Added.
416
417 2016-06-17  Ryan Haddad  <ryanhaddad@apple.com>
418
419         Skipping two new LayoutTests that rely on mouse events on ios-simulator.
420         https://bugs.webkit.org/show_bug.cgi?id=158855
421
422         Unreviewed test gardening.
423
424         * platform/ios-simulator/TestExpectations:
425
426 2016-06-17  Frederic Wang  <fwang@igalia.com>
427
428         Refactor RenderMathMLRoot layout function to avoid using flexbox
429         https://bugs.webkit.org/show_bug.cgi?id=153987
430
431         Reviewed by Brent Fulgham.
432
433         Update expectations for some MathML tests containing radical operators.
434
435         * TestExpectations: mathml/roots-removeChild.html works as expected now
436         that we do not manage anonymous wrappers anymore.
437         * mathml/presentation/roots.xhtml: Add one test for RTL roots.
438         * platform/gtk/mathml/presentation/mo-stretch-expected.txt: Update expectation to
439         take into change in the render tree.
440         * platform/gtk/mathml/presentation/roots-expected.txt: Ditto.
441         * platform/gtk/mathml/presentation/roots-expected.png: Update expectation to take
442         into account small rendering changes.
443         * platform/ios-simulator/mathml/presentation/roots-expected.txt: Ditto.
444         * platform/gtk/mathml/radical-fallback-expected.txt: Ditto.
445         * platform/gtk/mathml/radical-fallback-expected.png: Ditto.
446         * platform/mac/mathml/radical-fallback-expected.txt: Ditto.
447         * platform/mac/mathml/radical-fallback-expected.png: Ditto.
448         * platform/ios-simulator/mathml/radical-fallback-expected.txt: Ditto.
449         * platform/ios-simulator/mathml/radical-fallback-expected.png: Added.
450
451 2016-06-17  Romain Bellessort  <romain.bellessort@crf.canon.fr>
452
453         Update test-expected file for failing fullscreen test
454         https://bugs.webkit.org/show_bug.cgi?id=158838
455
456         Reviewed by Carlos Garcia Campos.
457
458         Used MAC version of the test as the default version since only MAC and
459         GTK do not skip this test and expect the same result. Removed 
460         test-expected files specific to each port when there was one. Prior to
461         this patch, GTK test was failing unexpectedly.
462
463         * fullscreen/video-controls-override-expected.txt:
464         * platform/efl/fullscreen/video-controls-override-expected.txt: Removed.
465         * platform/gtk/fullscreen/video-controls-override-expected.txt: Removed.
466         * platform/mac/fullscreen/video-controls-override-expected.txt: Removed.
467
468 2016-06-17  Youenn Fablet  <youenn.fablet@crf.canon.fr>
469
470         CORS preflight with a non-200 response should be a preflight failure
471         https://bugs.webkit.org/show_bug.cgi?id=111008
472
473         Reviewed by Darin Adler.
474
475         * http/tests/xmlhttprequest/access-control-and-redirects-async-expected.txt:
476         * http/tests/xmlhttprequest/access-control-and-redirects-async.html:
477         * http/tests/xmlhttprequest/access-control-basic-get-fail-non-simple-expected.txt:
478         * http/tests/xmlhttprequest/workers/access-control-basic-get-fail-non-simple-expected.txt:
479
480 2016-06-17  Frederic Wang  <fred.wang@free.fr>
481
482         MathOperator: Add fallback mechanisms for stretching and mirroring radical symbols
483         https://bugs.webkit.org/show_bug.cgi?id=156836
484
485         Reviewed by Sergio Villar Senin.
486
487         We add a pixel test to verify the result of stretching a radical operator.
488         We test RTL/LTR direction as well as default/sans-serif font in order to check the fallback code.
489
490         * mathml/radical-fallback.html: Added.
491         * platform/gtk/mathml/radical-fallback-expected.png: Added.
492         * platform/gtk/mathml/radical-fallback-expected.txt: Added.
493         * platform/ios-simulator/mathml/radical-fallback-expected.txt: Added.
494         * platform/mac/mathml/radical-fallback-expected.png: Added.
495         * platform/mac/mathml/radical-fallback-expected.txt: Added.
496         * platform/ios-simulator/mathml/presentation/roots.txt: Updated.
497
498 2016-06-16  Commit Queue  <commit-queue@webkit.org>
499
500         Unreviewed, rolling out r202147.
501         https://bugs.webkit.org/show_bug.cgi?id=158867
502
503         Broke scrolling tests on iOS Simulator (Requested by ap on
504         #webkit).
505
506         Reverted changeset:
507
508         "Focus event dispatched in iframe causes parent document to
509         scroll incorrectly"
510         https://bugs.webkit.org/show_bug.cgi?id=158629
511         http://trac.webkit.org/changeset/202147
512
513 2016-06-16  Benjamin Poulain  <bpoulain@apple.com>
514
515         :in-range & :out-of-range CSS pseudo-classes shouldn't match disabled or readonly inputs
516         https://bugs.webkit.org/show_bug.cgi?id=156530
517
518         Reviewed by Simon Fraser.
519
520         * fast/css/pseudo-in-range-on-disabled-input-basics-expected.html: Added.
521         * fast/css/pseudo-in-range-on-disabled-input-basics.html: Added.
522         * fast/css/pseudo-in-range-on-readonly-input-basics-expected.html: Added.
523         * fast/css/pseudo-in-range-on-readonly-input-basics.html: Added.
524         * fast/css/pseudo-in-range-out-of-range-on-disabled-input-trivial-expected.html: Added.
525         * fast/css/pseudo-in-range-out-of-range-on-disabled-input-trivial.html: Added.
526         * fast/css/pseudo-out-of-range-on-disabled-input-basics-expected.html: Added.
527         * fast/css/pseudo-out-of-range-on-disabled-input-basics.html: Added.
528         * fast/css/pseudo-out-of-range-on-readonly-input-basics-expected.html: Added.
529         * fast/css/pseudo-out-of-range-on-readonly-input-basics.html: Added.
530         * fast/selectors/in-range-out-of-range-style-update-expected.txt: Added.
531         * fast/selectors/in-range-out-of-range-style-update.html: Added.
532
533 2016-06-16  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
534
535         [EFL][GTK] LayoutTest doesn't run on Ubuntu 16.04
536         https://bugs.webkit.org/show_bug.cgi?id=158141
537
538         Reviewed by Michael Catanzaro.
539
540         * http/conf/debian-httpd-2.4-php7.conf: Added.
541
542 2016-06-15  Filip Pizlo  <fpizlo@apple.com>
543
544         Baseline JIT should be concurrent
545         https://bugs.webkit.org/show_bug.cgi?id=158755
546
547         Reviewed by Geoffrey Garen.
548         
549         This change revealed a latent bug in the LLInt.  The non-llint version of this new test
550         would usually fail because it was still in LLInt.  This new test always fails.
551
552         * js/dom/prototype-chain-caching-with-impure-get-own-property-slot-traps-llint.html: Added.
553         * js/dom/prototype-chain-caching-with-impure-get-own-property-slot-traps-llint-expected.txt: Added.
554         * js/dom/script-tests/prototype-chain-caching-with-impure-get-own-property-slot-traps-llint.js: Added.
555
556 2016-06-16  Frederic Wang  <fwang@igalia.com>
557
558         Add separate MathOperator for selection/measuring/drawing of stretchy operators
559         https://bugs.webkit.org/show_bug.cgi?id=152244
560
561         Reviewed by Brent Fulgham.
562
563         Update expectations for some MathML tests containing operators/radicals
564         to take into account small rendering changes.
565
566         * platform/gtk/mathml/opentype/horizontal-expected.png:
567         * platform/gtk/mathml/opentype/horizontal-expected.txt:
568         * platform/gtk/mathml/opentype/horizontal-munderover-expected.txt:
569         * platform/gtk/mathml/opentype/large-operators-expected.png:
570         * platform/gtk/mathml/opentype/large-operators-expected.txt:
571         * platform/gtk/mathml/opentype/opentype-stretchy-expected.png:
572         * platform/gtk/mathml/opentype/opentype-stretchy-expected.txt:
573         * platform/gtk/mathml/opentype/opentype-stretchy-horizontal-expected.png:
574         * platform/gtk/mathml/opentype/opentype-stretchy-horizontal-expected.txt:
575         * platform/gtk/mathml/opentype/vertical-expected.png:
576         * platform/gtk/mathml/opentype/vertical-expected.txt:
577         * platform/gtk/mathml/presentation/mo-stretch-expected.png:
578         * platform/gtk/mathml/presentation/mo-stretch-expected.txt:
579         * platform/gtk/mathml/presentation/roots-expected.txt:
580         * platform/ios-simulator/mathml/opentype/horizontal-munderover-expected.txt:
581         * platform/mac/mathml/opentype/opentype-stretchy-horizontal-expected.png:
582         * platform/mac/mathml/opentype/opentype-stretchy-horizontal-expected.txt:
583
584 2016-06-16  Jiewen Tan  <jiewen_tan@apple.com>
585
586         CSP: Content Security Policy should allow '*' to match the originating page's scheme
587         https://bugs.webkit.org/show_bug.cgi?id=158811
588         <rdar://problem/26819568>
589
590         Reviewed by Daniel Bates.
591
592         * security/contentSecurityPolicy/image-with-file-url-allowed-by-img-src-star-expected.html: Added.
593         * security/contentSecurityPolicy/image-with-file-url-allowed-by-img-src-star.html: Added.
594         * security/contentSecurityPolicy/image-with-file-url-blocked-by-img-src-star-expected.html: Removed.
595         * security/contentSecurityPolicy/image-with-file-url-blocked-by-img-src-star.html: Removed.
596         * security/contentSecurityPolicy/link-with-file-url-allowed-by-style-src-star-expected.html: Added.
597         * security/contentSecurityPolicy/link-with-file-url-allowed-by-style-src-star.html: Added.
598         * security/contentSecurityPolicy/link-with-file-url-blocked-by-style-src-star-expected.html: Removed.
599         * security/contentSecurityPolicy/link-with-file-url-blocked-by-style-src-star.html: Removed.
600         * security/contentSecurityPolicy/resources/alert-pass.js: Added.
601         * security/contentSecurityPolicy/script-with-file-url-allowed-by-script-src-star-expected.txt: Added.
602         * security/contentSecurityPolicy/script-with-file-url-allowed-by-script-src-star.html: Added.
603         * security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star-expected.html: Copied from LayoutTests/security/contentSecurityPolicy/video-with-file-url-blocked-by-media-src-star.html.
604         * security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star.html: Renamed from LayoutTests/security/contentSecurityPolicy/video-with-file-url-blocked-by-media-src-star.html.
605         * security/contentSecurityPolicy/video-with-file-url-blocked-by-media-src-star-expected.html: Removed.
606
607 2016-06-16  Joseph Pecoraro  <pecoraro@apple.com>
608
609         Web Inspector: console.profile should use the new Sampling Profiler
610         https://bugs.webkit.org/show_bug.cgi?id=153499
611         <rdar://problem/24352431>
612
613         Reviewed by Timothy Hatcher.
614
615         * inspector/timeline/setInstruments-programmatic-capture-expected.txt: Added.
616         * inspector/timeline/setInstruments-programmatic-capture.html: Added.
617         New test that the backend auto-starts instruments during programmatic capture.
618
619 2016-06-16  John Wilander  <wilander@apple.com>
620
621         Restrict security origin inheritance to empty, about:blank, and about:srcdoc URLs
622         https://bugs.webkit.org/show_bug.cgi?id=158855
623         <rdar://problem/26142632>
624
625         Reviewed by Alex Christensen.
626
627         * http/tests/dom/window-open-about-blank-and-access-document-expected.txt: Added.
628         * http/tests/dom/window-open-about-blank-and-access-document.html: Added.
629         * http/tests/dom/window-open-about-webkit-org-and-access-document-expected.txt: Added.
630         * http/tests/dom/window-open-about-webkit-org-and-access-document.html: Added.
631
632 2016-06-16  Jiewen Tan  <jiewen_tan@apple.com>
633
634         Move most of CSP tests into security/contentSecurityPolicy/
635         https://bugs.webkit.org/show_bug.cgi?id=158859
636
637         Reviewed by Daniel Bates.
638
639         * platform/mac-wk1/TestExpectations:
640         * platform/mac/TestExpectations:
641         * platform/wk2/TestExpectations:
642         * security/contentSecurityPolicy/blocks-video-expected.txt: Renamed from LayoutTests/media/csp-blocks-video-expected.txt.
643         * security/contentSecurityPolicy/blocks-video.html: Renamed from LayoutTests/media/csp-blocks-video.html.
644         * security/contentSecurityPolicy/font-loading-block-all-expected.txt: Renamed from LayoutTests/fast/text/font-loading-csp-block-all-expected.txt.
645         * security/contentSecurityPolicy/font-loading-block-all.html: Renamed from LayoutTests/fast/text/font-loading-csp-block-all.html.
646         * security/contentSecurityPolicy/image-with-blob-url-allowed-by-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-blob-url-allowed-by-csp-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
647         * security/contentSecurityPolicy/image-with-blob-url-allowed-by-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-blob-url-allowed-by-csp-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
648         * security/contentSecurityPolicy/image-with-blob-url-blocked-by-img-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-blob-url-blocked-by-csp-img-src-star-expected.html.
649         * security/contentSecurityPolicy/image-with-blob-url-blocked-by-img-src-star.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-blob-url-blocked-by-csp-img-src-star.html.
650         * security/contentSecurityPolicy/image-with-data-url-allowed-by-img-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-data-url-allowed-by-csp-img-src-star-expected.html.
651         * security/contentSecurityPolicy/image-with-data-url-allowed-by-img-src-star.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-data-url-allowed-by-csp-img-src-star.html.
652         * security/contentSecurityPolicy/image-with-file-url-allowed-by-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-file-url-allowed-by-csp-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
653         * security/contentSecurityPolicy/image-with-file-url-allowed-by-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-file-url-allowed-by-csp-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
654         * security/contentSecurityPolicy/image-with-file-url-blocked-by-img-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-file-url-blocked-by-csp-img-src-star-expected.html.
655         * security/contentSecurityPolicy/image-with-file-url-blocked-by-img-src-star.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-file-url-blocked-by-csp-img-src-star.html.
656         * security/contentSecurityPolicy/link-with-blob-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-blob-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
657         * security/contentSecurityPolicy/link-with-blob-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-blob-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
658         * security/contentSecurityPolicy/link-with-blob-url-blocked-by-style-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-blob-url-blocked-by-csp-style-src-star-expected.html.
659         * security/contentSecurityPolicy/link-with-blob-url-blocked-by-style-src-star.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-blob-url-blocked-by-csp-style-src-star.html.
660         * security/contentSecurityPolicy/link-with-data-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-data-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
661         * security/contentSecurityPolicy/link-with-data-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-data-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
662         * security/contentSecurityPolicy/link-with-data-url-blocked-by-style-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-data-url-blocked-by-csp-style-src-star-expected.html.
663         * security/contentSecurityPolicy/link-with-data-url-blocked-by-style-src-star.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-data-url-blocked-by-csp-style-src-star.html.
664         * security/contentSecurityPolicy/link-with-file-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-file-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
665         * security/contentSecurityPolicy/link-with-file-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-file-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
666         * security/contentSecurityPolicy/link-with-file-url-blocked-by-style-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-file-url-blocked-by-csp-style-src-star-expected.html.
667         * security/contentSecurityPolicy/link-with-file-url-blocked-by-style-src-star.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-file-url-blocked-by-csp-style-src-star.html.
668         * security/contentSecurityPolicy/resources/worker-inherits-blocks-eval.js: Renamed from LayoutTests/fast/workers/resources/worker-inherits-csp-blocks-eval.js.
669         (catch):
670         * security/contentSecurityPolicy/resources/worker-inherits-blocks-xhr.js: Renamed from LayoutTests/fast/workers/resources/worker-inherits-csp-blocks-xhr.js.
671         (catch):
672         * security/contentSecurityPolicy/video-with-blob-url-allowed-by-media-src-star-expected.html: Renamed from LayoutTests/media/video-with-blob-url-allowed-by-csp-media-src-star-expected.html.
673         * security/contentSecurityPolicy/video-with-blob-url-allowed-by-media-src-star.html: Renamed from LayoutTests/media/video-with-blob-url-allowed-by-csp-media-src-star.html.
674         * security/contentSecurityPolicy/video-with-data-url-allowed-by-media-src-star-expected.html: Renamed from LayoutTests/media/video-with-data-url-allowed-by-csp-media-src-star-expected.html.
675         * security/contentSecurityPolicy/video-with-data-url-allowed-by-media-src-star.html: Renamed from LayoutTests/media/video-with-data-url-allowed-by-csp-media-src-star.html.
676         * security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/media/video-with-file-url-allowed-by-csp-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
677         * security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/media/video-with-file-url-allowed-by-csp-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
678         * security/contentSecurityPolicy/video-with-file-url-blocked-by-media-src-star-expected.html: Renamed from LayoutTests/media/video-with-file-url-blocked-by-csp-media-src-star-expected.html.
679         * security/contentSecurityPolicy/video-with-file-url-blocked-by-media-src-star.html: Renamed from LayoutTests/media/video-with-file-url-blocked-by-csp-media-src-star.html.
680         * security/contentSecurityPolicy/worker-inherits-blocks-eval-expected.txt: Renamed from LayoutTests/fast/workers/worker-inherits-csp-blocks-eval-expected.txt.
681         * security/contentSecurityPolicy/worker-inherits-blocks-eval.html: Renamed from LayoutTests/fast/workers/worker-inherits-csp-blocks-eval.html.
682         * security/contentSecurityPolicy/worker-inherits-blocks-xhr-expected.txt: Renamed from LayoutTests/fast/workers/worker-inherits-csp-blocks-xhr-expected.txt.
683         * security/contentSecurityPolicy/worker-inherits-blocks-xhr.html: Renamed from LayoutTests/fast/workers/worker-inherits-csp-blocks-xhr.html.
684
685 2016-06-16  Simon Fraser  <simon.fraser@apple.com>
686
687         Focus event dispatched in iframe causes parent document to scroll incorrectly
688         https://bugs.webkit.org/show_bug.cgi?id=158629
689         rdar://problem/26521616
690
691         Reviewed by Enrica Casucci.
692         
693         Tests for user-initiated and programmatic focus in frames.
694
695         * fast/forms/ios/focus-input-in-iframe-expected.txt: Added.
696         * fast/forms/ios/focus-input-in-iframe.html: Added.
697         * fast/forms/ios/programmatic-focus-input-in-iframe.html: Added.
698         * fast/forms/ios/programmatic-focus-input-in-iframe-expected.txt: Added.
699
700 2016-06-16  Zalan Bujtas  <zalan@apple.com>
701
702         [New Block-Inside-Inline Model] Do not attempt to re-run margin collapsing on the block sequence.
703         https://bugs.webkit.org/show_bug.cgi?id=158854
704
705         Reviewed by David Hyatt.
706
707         * fast/block/inside-inlines/crash-on-first-line-change-expected.txt: Added.
708         * fast/block/inside-inlines/crash-on-first-line-change.html: Added.
709
710 2016-06-16  Benjamin Poulain  <bpoulain@apple.com>
711
712         :in-range & :out-of-range CSS pseudo-classes shouldn't match inputs without range limitations
713         https://bugs.webkit.org/show_bug.cgi?id=156558
714
715         Reviewed by Simon Fraser.
716
717         * fast/css/pseudo-in-range-basics-expected.html: Added.
718         * fast/css/pseudo-in-range-basics.html: Added.
719         * fast/css/pseudo-in-range-out-of-range-trivial-expected.html: Added.
720         * fast/css/pseudo-in-range-out-of-range-trivial.html: Added.
721         * fast/css/pseudo-out-of-range-basics-expected.html: Added.
722         * fast/css/pseudo-out-of-range-basics.html: Added.
723
724 2016-06-15  Simon Fraser  <simon.fraser@apple.com>
725
726         [iOS WK2] On iPad, indirect focussing of a text field doesn't always scroll to the correct location
727         https://bugs.webkit.org/show_bug.cgi?id=158828
728
729         Reviewed by Enrica Casucci.
730         
731         Add various tests for focusing form fields. focus-input-via-button-ipad.html tests
732         the change in the current patch.
733
734         * fast/forms/ios/focus-input-in-fixed-expected.txt: Added.
735         * fast/forms/ios/focus-input-in-fixed.html: Added.
736         * fast/forms/ios/focus-input-via-button-ipad-expected.txt: Added.
737         * fast/forms/ios/focus-input-via-button-ipad.html: Added.
738         * fast/forms/ios/focus-long-textarea-expected.txt: Added.
739         * fast/forms/ios/focus-long-textarea.html: Added.
740         * fast/forms/ios/resources/zooming-test-utils.js:
741         (testZoomAfterTap):
742
743 2016-06-16  Adam Bergkvist  <adam.bergkvist@ericsson.com>
744
745         WebRTC: Check type of this in RTCPeerConnection JS built-in functions
746         https://bugs.webkit.org/show_bug.cgi?id=151303
747
748         Reviewed by Youenn Fablet.
749
750         Verify that the RTCPeerConnection JS built-in methods checks 'this'. The test has expected
751         failures (bug: http://webkit.org/b/158831).
752
753         * fast/mediastream/RTCPeerConnection-js-built-ins-check-this-expected.txt: Added.
754         * fast/mediastream/RTCPeerConnection-js-built-ins-check-this.html: Added.
755         * platform/mac/TestExpectations:
756         The mac port does not build with WEB_RTC enabled yet.
757
758 2016-06-16  Dean Jackson  <dino@apple.com>
759
760         [mac] LayoutTest transforms/undecomposable.html is a flaky timeout
761         https://bugs.webkit.org/show_bug.cgi?id=158816
762
763         Another attempt to deflake this test. Or is it unflake? I don't know.
764
765         * transforms/undecomposable.html:
766
767 2016-06-16  Myles C. Maxfield  <mmaxfield@apple.com>
768
769         Sporadic crash in HashTableAddResult following CSSValuePool::createFontFamilyValue
770         https://bugs.webkit.org/show_bug.cgi?id=158297
771
772         Reviewed by Darin Adler.
773
774         * fast/text/placeholder-renderstyle-null-font-expected.txt: Added.
775         * fast/text/placeholder-renderstyle-null-font.html: Added.
776
777 2016-06-15  Keith Miller  <keith_miller@apple.com>
778
779         Add support for Symbol.isConcatSpreadable (round 2)
780         https://bugs.webkit.org/show_bug.cgi?id=158769
781
782         Reviewed by Mark Lam.
783
784         Fix tests for Symbol.isConcatSpreadable. Also, add new test that
785         the array species construction does not use the callees' global
786         object's Array[Symbol.species] when given an array from another
787         global object.
788
789         * js/Object-getOwnPropertyNames-expected.txt:
790         * js/array-species-different-globalobjects.html:
791         * js/dom/array-prototype-properties-expected.txt:
792         * js/script-tests/Object-getOwnPropertyNames.js:
793
794 2016-06-15  Zalan Bujtas  <zalan@apple.com>
795
796         Decouple the percent height and positioned descendants maps.
797         https://bugs.webkit.org/show_bug.cgi?id=158773
798
799         Reviewed by David Hyatt and Chris Dumez.
800
801         Various dynamic containing block changing tests.
802
803         * fast/block/fixed-position-reparent-when-transition-is-removed.html:
804         * fast/block/positioning/change-containing-block-for-absolute-positioned-expected.txt: Added.
805         * fast/block/positioning/change-containing-block-for-absolute-positioned.html: Added.
806         * fast/block/positioning/change-containing-block-for-fixed-positioned-expected.txt: Added.
807         * fast/block/positioning/change-containing-block-for-fixed-positioned.html: Added.
808
809 2016-06-15  Tim Horton  <timothy_horton@apple.com>
810
811         <attachment> elements jump around a lot around when subtitle text changes slightly
812         https://bugs.webkit.org/show_bug.cgi?id=158818
813         <rdar://problem/24450270>
814
815         Reviewed by Simon Fraser.
816
817         * fast/attachment/attachment-subtitle-resize-expected.txt: Added.
818         * fast/attachment/attachment-subtitle-resize.html: Added.
819
820 2016-06-13  Simon Fraser  <simon.fraser@apple.com>
821
822         [iOS WK2] Make it possible to test the Next/Previous buttons in the keyboard accessory bar
823         https://bugs.webkit.org/show_bug.cgi?id=158714
824
825         Reviewed by Enrica Casucci.
826
827         Add UIScriptController.keyboardAccessoryBar{Next,Previous} and hook it up to the WKContentView
828         method that gets called from UIKit.
829
830         Add a test that exercises it.
831
832         * TestExpectations:
833         * fast/forms/ios/accessory-bar-navigation-expected.txt: Added.
834         * fast/forms/ios/accessory-bar-navigation.html: Added.
835         * fast/forms/ios/resources/zooming-test-utils.js: Added.
836         (testZoomAfterTap):
837         (tableFromJSON):
838         * platform/ios-simulator-wk2/TestExpectations:
839
840 2016-06-15  Dean Jackson  <dino@apple.com>
841
842         [mac] LayoutTest transforms/undecomposable.html is a flaky timeout
843         https://bugs.webkit.org/show_bug.cgi?id=158816
844
845         Unflakify this test by putting the script in a place that
846         will execute it before the load event (by which time the animation
847         may have started).
848
849         * transforms/undecomposable.html:
850
851 2016-06-15  Simon Fraser  <simon.fraser@apple.com>
852
853         [iOS WK2] Add tests for zooming to text fields on focus
854         https://bugs.webkit.org/show_bug.cgi?id=158786
855
856         Reviewed by Enrica Casucci.
857
858         Add tests that focus form controls, and test the resulting scroll position and zoom level.
859
860         * TestExpectations:
861         * fast/forms/ios/focus-input-via-button-expected.txt: Added.
862         * fast/forms/ios/focus-input-via-button-no-scaling-expected.txt: Added.
863         * fast/forms/ios/focus-input-via-button-no-scaling.html: Added.
864         * fast/forms/ios/focus-input-via-button.html: Added.
865         * fast/forms/ios/resources/zooming-test-utils.js: Added.
866         (testZoomAfterTap):
867         (tableFromJSON):
868         * fast/forms/ios/zoom-after-input-tap-expected.txt: Added.
869         * fast/forms/ios/zoom-after-input-tap-wide-input-expected.txt: Added.
870         * fast/forms/ios/zoom-after-input-tap-wide-input.html: Added.
871         * fast/forms/ios/zoom-after-input-tap.html: Added.
872         * platform/ios-simulator-wk2/TestExpectations:
873
874 2016-06-15  Adam Bergkvist  <adam.bergkvist@ericsson.com>
875
876         WebRTC: Add media setup test using the legacy callback APIs
877         https://bugs.webkit.org/show_bug.cgi?id=158736
878
879         Reviewed by Eric Carlson.
880
881         Add a test that sets up media using the legacy callback-based createOffer/Answer() and
882         setLocal/RemoteDescription() methods [1].
883
884         [1] https://w3c.github.io/webrtc-pc/archives/20160513/webrtc.html#legacy-interface-extensions
885
886         * fast/mediastream/RTCPeerConnection-media-setup-callbacks-single-dialog-expected.txt: Added.
887         * fast/mediastream/RTCPeerConnection-media-setup-callbacks-single-dialog.html: Added.
888         * platform/mac/TestExpectations:
889         The mac port is not building with WEB_RTC yet.
890
891 2016-06-15  Antti Koivisto  <antti@apple.com>
892
893         GoogleMaps transit schedule explorer comes up blank initially
894         https://bugs.webkit.org/show_bug.cgi?id=158803
895         rdar://problem/25818080
896
897         Reviewed by Andreas Kling
898
899         Expand the tests to cover this case.
900
901         * fast/css/style-invalidation-attribute-change-descendants-expected.txt:
902         * fast/css/style-invalidation-attribute-change-descendants.html:
903         * fast/css/style-invalidation-class-change-descendants-expected.txt:
904         * fast/css/style-invalidation-class-change-descendants.html:
905
906 2016-06-15  Javier Fernandez  <jfernandez@igalia.com>
907
908         [css-sizing] Item borders are missing with 'min-width:-webkit-fill-available' and zero available width
909         https://bugs.webkit.org/show_bug.cgi?id=158258
910
911         Tests to verify that fill-available size works as expected when contaner's width is zero.
912
913         Reviewed by Darin Adler.
914
915         * fast/css-intrinsic-dimensions/fill-available-with-zero-width-expected.html: Added.
916         * fast/css-intrinsic-dimensions/fill-available-with-zero-width.html: Added.
917
918 2016-06-15  Alex Christensen  <achristensen@webkit.org>
919
920         Fix 2d canvas transform after r192900
921         https://bugs.webkit.org/show_bug.cgi?id=158725
922
923         Reviewed by Dean Jackson.
924
925         * fast/canvas/canvas-transform-inverse-expected.html: Added.
926         * fast/canvas/canvas-transform-inverse.html: Added.
927
928 2016-06-15  Eric Carlson  <eric.carlson@apple.com>
929
930         [iOS] Make HTMLMediaElement.muted mutable
931         https://bugs.webkit.org/show_bug.cgi?id=158787
932         <rdar://problem/24452567>
933
934         Reviewed by Dean Jackson.
935
936         * media/audio-playback-restriction-removed-muted-expected.txt: Added.
937         * media/audio-playback-restriction-removed-muted.html: Added.
938         * media/audio-playback-restriction-removed-track-enabled-expected.txt: Added.
939         * media/audio-playback-restriction-removed-track-enabled.html: Added.
940
941 2016-06-15  Simon Fraser  <simon.fraser@apple.com>
942
943         fast/events/ios tests are marked as flakey, but really just fail in OpenSource and WK1
944         https://bugs.webkit.org/show_bug.cgi?id=158804
945         
946         Test gardening.
947
948         fast/events/ios is skipped globally. Ideally it would be re-enabled in /ios-simulator-wk2/TestExpectations, but relies on unreleased
949         software, so leave disabled for now.
950
951         * platform/ios-simulator/TestExpectations:
952
953 2016-06-15  Antti Koivisto  <antti@apple.com>
954
955         Vary:Cookie validation doesn't work in private browsing
956         https://bugs.webkit.org/show_bug.cgi?id=158616
957
958         Reviewed by Darin Adler.
959
960         * http/tests/cache/disk-cache/disk-cache-vary-cookie-expected.txt:
961         * http/tests/cache/disk-cache/disk-cache-vary-cookie.html:
962
963         Exapand the existing test to cover memory cache and private browsing.
964
965 2016-06-14  Myles C. Maxfield  <mmaxfield@apple.com>
966
967         Honor bidi unicode codepoints
968         https://bugs.webkit.org/show_bug.cgi?id=149170
969         <rdar://problem/26527378>
970
971         Reviewed by Simon Fraser.
972
973         * fast/text/isolate-ignore-expected.html: Added.
974         * fast/text/isolate-ignore.html: Added.
975
976 2016-06-14  Joseph Pecoraro  <pecoraro@apple.com>
977
978         Web Inspector: Rename Timeline.setAutoCaptureInstruments to Timeline.setInstruments
979         https://bugs.webkit.org/show_bug.cgi?id=158762
980
981         Reviewed by Timothy Hatcher.
982
983         * inspector/timeline/setInstruments-errors-expected.txt: Renamed from LayoutTests/inspector/timeline/setAutoCaptureInstruments-errors-expected.txt.
984         * inspector/timeline/setInstruments-errors.html: Renamed from LayoutTests/inspector/timeline/setAutoCaptureInstruments-errors.html.
985
986 2016-06-14  Dean Jackson  <dino@apple.com>
987
988         decompose4 return value is unchecked, leading to potentially uninitialized data.
989         https://bugs.webkit.org/show_bug.cgi?id=158761
990         <rdar://problem/17526268>
991
992         Reviewed by Simon Fraser.
993
994         * transforms/undecomposable-expected.txt: Added.
995         * transforms/undecomposable.html: Added.
996
997 2016-06-14  Keith Miller  <keith_miller@apple.com>
998
999         The Array species constructor watchpoints should be created the first time they are needed rather than on creation
1000         https://bugs.webkit.org/show_bug.cgi?id=158754
1001
1002         Reviewed by Benjamin Poulain.
1003
1004         Add new micro-benchmark that tests the impact of lazily
1005         initializing the array species watchpoints.
1006
1007         * js/regress/lazy-array-species-watchpoints-expected.txt: Added.
1008         * js/regress/lazy-array-species-watchpoints.html: Added.
1009         * js/regress/script-tests/lazy-array-species-watchpoints.js: Added.
1010         (test):
1011
1012 2016-06-14  Benjamin Poulain  <bpoulain@apple.com>
1013
1014         Add the unprefixed version of the pseudo element ::placeholder
1015         https://bugs.webkit.org/show_bug.cgi?id=158653
1016
1017         Reviewed by Dean Jackson.
1018
1019         * fast/css/css-selector-text-expected.txt:
1020         * fast/css/css-selector-text.html:
1021         * fast/css/css-set-selector-text-expected.txt:
1022         * fast/css/css-set-selector-text.html:
1023         This covers CSSOM for the prefixed version.
1024
1025         * fast/forms/placeholder-pseudo-element-with-webkit-prefix-expected.html: Added.
1026         * fast/forms/placeholder-pseudo-element-with-webkit-prefix.html: Added.
1027         This verifies both version of the pseudo elements are equivalent.
1028
1029         * fast/css/pseudo-cache-stale-expected.html:
1030         * fast/css/pseudo-cache-stale.html:
1031         * fast/forms/input-placeholder-paint-order-2-expected.html:
1032         * fast/forms/input-placeholder-paint-order-2.html:
1033         * fast/forms/input-placeholder-paint-order.html:
1034         * fast/forms/input-placeholder-text-indent.html:
1035         * fast/forms/input-user-modify.html:
1036         * fast/forms/isindex-placeholder.html:
1037         * fast/forms/placeholder-position.html:
1038         * fast/forms/placeholder-pseudo-style.html:
1039         * fast/forms/textarea-placeholder-pseudo-style.html:
1040         * fast/forms/textarea/textarea-placeholder-paint-order-2-expected.html:
1041         * fast/forms/textarea/textarea-placeholder-paint-order-2.html:
1042         * fast/forms/textarea/textarea-placeholder-paint-order.html:
1043
1044 2016-06-14  Doug Russell  <d_russell@apple.com>
1045
1046         AX: Form label text should be exposed as static text if it contains only static text
1047         https://bugs.webkit.org/show_bug.cgi?id=158634
1048
1049         Reviewed by Chris Fleizach.
1050
1051         Use AccessibilityLabel to represent HTMLLabelElement to assistive technology.
1052         AccessibilityLabel::containsOnlyStaticText() searches label subtree to evaluate 
1053         if all children are static text.
1054         AccessibilityLabel::stringValue() consults containsOnlyStaticText() and returns
1055         textUnderElement() if true.
1056         WebAccessibilityObjectWrapperMac consults containsOnlyStaticText() and substitutes
1057         StaticTextRole for LabelRole if true.
1058         Cache containsOnlyStaticText() in the common case when updating children.
1059
1060         * accessibility/aria-labelledby-overrides-label-expected.txt:
1061         * accessibility/mac/label-element-all-text-string-value-expected.txt: Added.
1062         * accessibility/mac/label-element-all-text-string-value.html: Added.
1063         * accessibility/mac/label-element-with-hidden-control-expected.txt:
1064         * accessibility/mac/label-element-with-hidden-control.html:
1065         * accessibility/mac/label-element-with-link-string-value-expected.txt: Added.
1066         * accessibility/mac/label-element-with-link-string-value.html: Added.
1067         * accessibility/mac/slider-allows-title-ui-element-expected.txt:
1068         * accessibility/mac/slider-allows-title-ui-element.html:
1069
1070 2016-06-14  Ryan Haddad  <ryanhaddad@apple.com>
1071
1072         Increase timeouts for userscripts/window-onerror-for-isolated-world-3.html to fix flakiness.
1073         https://bugs.webkit.org/show_bug.cgi?id=158750
1074
1075         Reviewed by Joseph Pecoraro.
1076
1077         * userscripts/window-onerror-for-isolated-world-3.html:
1078
1079 2016-06-14  Commit Queue  <commit-queue@webkit.org>
1080
1081         Unreviewed, rolling out r202057.
1082         https://bugs.webkit.org/show_bug.cgi?id=158749
1083
1084         This change broke the Windows build. (Requested by ryanhaddad
1085         on #webkit).
1086
1087         Reverted changeset:
1088
1089         "Honor bidi unicode codepoints"
1090         https://bugs.webkit.org/show_bug.cgi?id=149170
1091         http://trac.webkit.org/changeset/202057
1092
1093 2016-06-14  Myles C. Maxfield  <mmaxfield@apple.com>
1094
1095         Honor bidi unicode codepoints
1096         https://bugs.webkit.org/show_bug.cgi?id=149170
1097         <rdar://problem/26527378>
1098
1099         Reviewed by Simon Fraser.
1100
1101         * fast/text/isolate-ignore-expected.html: Added.
1102         * fast/text/isolate-ignore.html: Added.
1103
1104 2016-06-14  Ryan Haddad  <ryanhaddad@apple.com>
1105
1106         Removing duplicated TestExpectation and sorting others alphabetically
1107
1108         Unreviewed test gardening.
1109
1110         * platform/mac/TestExpectations:
1111
1112 2016-06-14  Ryan Haddad  <ryanhaddad@apple.com>
1113
1114         Marking inspector/debugger/break-in-constructor-before-super.html as flaky on mac debug.
1115         https://bugs.webkit.org/show_bug.cgi?id=158742
1116
1117         Unreviewed test gardening.
1118
1119         * platform/mac/TestExpectations:
1120
1121 2016-06-14  Ryan Haddad  <ryanhaddad@apple.com>
1122
1123         Moving flaky expectation for inspector/heap/garbageCollected.html from mac-wk1 to mac
1124         https://bugs.webkit.org/show_bug.cgi?id=153039
1125
1126         Unreviewed test gardening.
1127
1128         * platform/mac-wk1/TestExpectations:
1129         * platform/mac/TestExpectations:
1130
1131 2016-06-14  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
1132
1133         WebRTC: RTCPeerConnection::addTrack() should throw InvalidAccessError instead of InvalidModificationError.
1134         https://bugs.webkit.org/show_bug.cgi?id=158735
1135
1136         Reviewed by Eric Carlson.
1137
1138         Check that an InvalidAccessError exception is thrown when the track already exists in set of senders.
1139
1140         * fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt:
1141
1142 2016-06-14  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1143
1144         WebRTC: Imlement MediaEndpointPeerConnection::addIceCandidate()
1145         https://bugs.webkit.org/show_bug.cgi?id=158690
1146
1147         Reviewed by Eric Carlson.
1148
1149         Add test for RTCPeerConnection.addIceCandidate() that verifies:
1150         - Candidate line parsing
1151         - That a underlying media description can be identified using either sdpMid or sdpMLineIndex
1152         - That sdpMid takes precedence over sdpMLineIndex
1153
1154         * fast/mediastream/RTCPeerConnection-addIceCandidate-expected.txt: Added.
1155         * fast/mediastream/RTCPeerConnection-addIceCandidate.html: Added.
1156         * platform/mac/TestExpectations:
1157         The mac port is not building with WEB_RTC yet.
1158
1159 2016-06-14  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1160
1161         WebRTC: Add media setup test where media is set up in one direction at a time
1162         https://bugs.webkit.org/show_bug.cgi?id=158691
1163
1164         Reviewed by Eric Carlson.
1165
1166         Test setting up media in one direction at a time. This is achieved by first negotiating
1167         media in one direction. In a second step, an updated offer is sent to add bi-directional
1168         media.
1169
1170         * fast/mediastream/RTCPeerConnection-media-setup-two-dialogs-expected.txt: Added.
1171         * fast/mediastream/RTCPeerConnection-media-setup-two-dialogs.html: Added.
1172         * platform/mac/TestExpectations:
1173         The mac port is not building with WEB_RTC yet.
1174
1175 2016-06-13  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1176
1177         WebRTC: Imlement MediaEndpointPeerConnection::replaceTrack()
1178         https://bugs.webkit.org/show_bug.cgi?id=158688
1179
1180         Reviewed by Eric Carlson.
1181
1182         Update existing test for RTCRtpSender.replaceTrack.
1183
1184         * fast/mediastream/RTCRtpSender-replaceTrack-expected.txt:
1185         * fast/mediastream/RTCRtpSender-replaceTrack.html:
1186         Add test cases where a "not yet negotiated track" is directly replaced. Also check that the
1187         old track id is used in later offers.
1188         * fast/mediastream/resources/promise-utils.js:
1189         (promiseShouldResolve):
1190         Added utility method to test promise expressions that are expected to resolve.
1191
1192 2016-06-13  Joseph Pecoraro  <pecoraro@apple.com>
1193
1194         window.onerror should pass the ErrorEvent's 'error' property as the 5th argument to the event handler
1195         https://bugs.webkit.org/show_bug.cgi?id=55092
1196         <rdar://problem/25731279>
1197
1198         Reviewed by Dean Jackson.
1199
1200         * platform/wk2/TestExpectations:
1201         Skip new userscript test on WebKit2 like others.
1202
1203         * fast/events/constructors/error-event-constructor-expected.txt:
1204         * fast/events/constructors/error-event-constructor.html:
1205         Test for the new any "error" initialization property.
1206
1207         * fast/events/event-leak-objects-expected.txt:
1208         * fast/events/event-leak-objects.html:
1209         * fast/events/event-properties-gc-expected.txt:
1210         * fast/events/event-properties-gc.html:
1211         Like CustomEvent.details, ErrorEvent.error should not leak
1212         objects across isolated worlds.
1213
1214         * fast/events/window-onerror-exception-in-attr-expected.txt:
1215         * fast/events/window-onerror-exception-in-attr.html:
1216         * fast/events/window-onerror-syntax-error-in-attr-expected.txt:
1217         * fast/events/window-onerror-syntax-error-in-attr.html:
1218         * fast/events/window-onerror1-expected.txt:
1219         * fast/events/window-onerror1.html:
1220         * fast/events/window-onerror10-expected.txt:
1221         * fast/events/window-onerror10.html:
1222         * fast/events/window-onerror11-expected.txt:
1223         * fast/events/window-onerror11.html:
1224         * fast/events/window-onerror12-expected.txt:
1225         * fast/events/window-onerror12.html:
1226         * fast/events/window-onerror13.html:
1227         * fast/events/window-onerror14.html:
1228         * fast/events/window-onerror16.html:
1229         * fast/events/window-onerror17-expected.txt: Added.
1230         * fast/events/window-onerror17.html: Copied from LayoutTests/fast/events/window-onerror12.html.
1231         * fast/events/window-onerror2-expected.txt:
1232         * fast/events/window-onerror2.html:
1233         * fast/events/window-onerror3-expected.txt:
1234         * fast/events/window-onerror3.html:
1235         * fast/events/window-onerror4-expected.txt:
1236         * fast/events/window-onerror4.html:
1237         * fast/events/window-onerror5-expected.txt:
1238         * fast/events/window-onerror5.html:
1239         * fast/events/window-onerror6-expected.txt:
1240         * fast/events/window-onerror6.html:
1241         * fast/events/window-onerror7-expected.txt:
1242         * fast/events/window-onerror7.html:
1243         * fast/events/window-onerror8-expected.txt:
1244         * fast/events/window-onerror8.html:
1245         * fast/events/window-onerror9-expected.txt:
1246         * fast/events/window-onerror9.html:
1247         Include output for the column number and error object where possible.
1248
1249         * fast/files/resources/setup-for-read-common.js:
1250         * fast/files/workers/worker-apply-blob-url-to-xhr.html:
1251         * fast/workers/resources/worker-error-in-handling-script-error.js:
1252         * fast/workers/resources/worker-script-error-bubbled.js:
1253         * fast/workers/resources/worker-script-error-handled.js:
1254         * fast/workers/resources/worker-script-error.js:
1255         * fast/workers/worker-script-error-expected.txt:
1256         Test "onerror" within Workers, and the "error" event on
1257         the Worker from the spawning context.
1258
1259         * http/tests/security/cross-origin-script-error-event-expected.txt: Added.
1260         * http/tests/security/cross-origin-script-error-event-redirected-expected.txt: Added.
1261         * http/tests/security/cross-origin-script-error-event-redirected.html: Added.
1262         * http/tests/security/cross-origin-script-error-event.html: Added.
1263         * http/tests/security/cross-origin-script-window-onerror-expected.txt:
1264         * http/tests/security/cross-origin-script-window-onerror-redirected-expected.txt:
1265         * http/tests/security/cross-origin-script-window-onerror-redirected.html:
1266         * http/tests/security/cross-origin-script-window-onerror.html:
1267         * http/tests/security/script-crossorigin-error-event-information-expected.txt: Added.
1268         * http/tests/security/script-crossorigin-error-event-information.html: Added.
1269         * http/tests/security/script-crossorigin-onerror-information-expected.txt:
1270         * http/tests/security/script-crossorigin-onerror-information.html:
1271         * http/tests/security/script-no-crossorigin-error-event-should-be-sanitized-expected.txt: Added.
1272         * http/tests/security/script-no-crossorigin-error-event-should-be-sanitized.html: Copied from LayoutTests/http/tests/security/script-no-crossorigin-onerror-should-be-sanitized.html.
1273         * http/tests/security/script-no-crossorigin-onerror-should-be-sanitized-expected.txt:
1274         * http/tests/security/script-no-crossorigin-onerror-should-be-sanitized.html:
1275         * http/tests/security/window-onerror-exception-in-iframe-expected.txt:
1276         * http/tests/security/window-onerror-exception-in-iframe.html:
1277         * http/tests/workers/worker-importScriptsOnError-expected.txt:
1278         * js/dom/exception-line-number-expected.txt:
1279         * js/dom/script-tests/exception-line-number.js:
1280         (window.onerror):
1281
1282         * userscripts/window-onerror-for-isolated-world-1-expected.txt:
1283         * userscripts/window-onerror-for-isolated-world-1.html:
1284         * userscripts/window-onerror-for-isolated-world-2-expected.txt:
1285         * userscripts/window-onerror-for-isolated-world-2.html:
1286         * userscripts/window-onerror-for-isolated-world-3-expected.txt: Added.
1287         * userscripts/window-onerror-for-isolated-world-3.html: Added.
1288         Add an explicit test for error objects crossing isolated world boundaries.
1289         In the Isolated World case, serializable values are cloned, but unserializable
1290         values cause the error object to return to null to avoid leaking across worlds.
1291
1292 2016-06-13  Dean Jackson  <dino@apple.com>
1293
1294         SVG elements don't blend correctly into HTML
1295         https://bugs.webkit.org/show_bug.cgi?id=158718
1296         <rdar://problem/26782004>
1297
1298         Reviewed by Antoine Quint.
1299
1300         * svg/css/mix-blend-mode-with-inline-svg-expected.html: Added.
1301         * svg/css/mix-blend-mode-with-inline-svg.html: Added.
1302
1303 2016-06-13  Brady Eidson  <beidson@apple.com>
1304
1305         storage/indexeddb/modern/leaks-1.html leaks the database connection handle.
1306         https://bugs.webkit.org/show_bug.cgi?id=158643
1307
1308         Reviewed by Alex Christensen.
1309
1310         * storage/indexeddb/modern/leak-1-expected.txt:
1311         * storage/indexeddb/modern/resources/leak-1.js:
1312
1313 2016-06-13  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1314
1315         WebRTC: Add test that verifies that RTCPeerConnection.addTrack can reuse an existing RTCRtpSender
1316         https://bugs.webkit.org/show_bug.cgi?id=158621
1317
1318         Reviewed by Eric Carlson.
1319
1320         Add test to verify that RTCPeerConnection.addTrack reuses an existing RTCRtpSender
1321         under the right circumstances.
1322
1323         * fast/mediastream/RTCPeerConnection-addTrack-reuse-sender-expected.txt: Added.
1324         * fast/mediastream/RTCPeerConnection-addTrack-reuse-sender.html: Added.
1325         * platform/mac/TestExpectations:
1326         The mac port is not building with WEB_RTC yet.
1327
1328 2016-06-13  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1329
1330         WebRTC: Add media setup test with complete offer/answer dialog
1331         https://bugs.webkit.org/show_bug.cgi?id=158620
1332
1333         Reviewed by Eric Carlson.
1334
1335         Test a complete SDP offer/answer dialog between two RTCPeerConnection instances in the same
1336         page. Media is set up in both direction with a single dialog. Check the local- and
1337         remoteDescription attributes and the RTCPeerConnection states.
1338
1339         * fast/mediastream/RTCPeerConnection-media-setup-single-dialog-expected.txt: Added.
1340         * fast/mediastream/RTCPeerConnection-media-setup-single-dialog.html: Added.
1341         * platform/mac/TestExpectations:
1342         The mac port is not building with WEB_RTC yet.
1343
1344 2016-06-13  Romain Bellessort  <romain.bellessort@crf.canon.fr>
1345
1346         [GTK] Enabling Shadow DOM by default
1347         https://bugs.webkit.org/show_bug.cgi?id=158686
1348
1349         Reviewed by Carlos Garcia Campos.
1350
1351         Changed GTK test expectations for fast/shadow-dom tests (most tests
1352         pass).
1353
1354         * platform/gtk/TestExpectations:
1355
1356 2016-06-13  Per Arne Vollan  <pvollan@apple.com>
1357
1358         Unreviewed test gardening.
1359         
1360         Unskip passing fast/workers tests.
1361
1362         * platform/win/TestExpectations:
1363
1364 2016-06-12  Zalan Bujtas  <zalan@apple.com>
1365
1366         Remove positioned descendants when RenderBlock is no longer a containing block.
1367         https://bugs.webkit.org/show_bug.cgi?id=158655
1368         <rdar://problem/26510032>
1369
1370         Reviewed by Simon Fraser.
1371
1372         Normally the RenderView is the containing block for fixed positioned renderers.
1373         However when a renderer acquires some transform related properties, it becomes the containing
1374         block for all the fixed positioned renderers in its descendant tree.
1375         When the last transform related property is removed, the renderer is no longer a containing block
1376         and we need to remove all these positioned renderers from the descendant tracker map (gPositionedDescendantsMap).
1377         They will be inserted back into the tracker map during the next layout (either under the RenderView or
1378         under the next transformed renderer in the ancestor chain).
1379
1380         * fast/block/fixed-position-reparent-when-transition-is-removed-expected.txt: Added.
1381         * fast/block/fixed-position-reparent-when-transition-is-removed.html: Added.
1382
1383 2016-06-11  Myles C. Maxfield  <mmaxfield@apple.com>
1384
1385         [Cocoa] Map commonly used Chinese Windows font names to names present on Cocoa operating systems
1386         https://bugs.webkit.org/show_bug.cgi?id=158649
1387         <rdar://problem/13258122>
1388
1389         Reviewed by Darin Adler.
1390
1391         Because this tests platform-specific font names, the test must
1392         be platform-specific. Because it's a ref test, make two tests which
1393         are mutually-exclusive on Cocoa platforms, and expected to fail
1394         everywhere else.
1395
1396         * fast/text/chinese-font-name-aliases-2-expected.html: Added.
1397         * fast/text/chinese-font-name-aliases-2.html: Added.
1398         * fast/text/chinese-font-name-aliases-expected.html: Added.
1399         * fast/text/chinese-font-name-aliases.html: Added.
1400         * platform/efl/TestExpectations:
1401         * platform/gtk/TestExpectations:
1402         * platform/ios-simulator/TestExpectations:
1403         * platform/mac/TestExpectations:
1404         * platform/win/TestExpectations:
1405
1406 2016-06-11  Commit Queue  <commit-queue@webkit.org>
1407
1408         Unreviewed, rolling out r201967, r201968, and r201972.
1409         https://bugs.webkit.org/show_bug.cgi?id=158665
1410
1411         Caused flaky failures on IndexedDB tests (Requested by ap on
1412         #webkit).
1413
1414         Reverted changesets:
1415
1416         "Vary:Cookie validation doesn't work in private browsing"
1417         https://bugs.webkit.org/show_bug.cgi?id=158616
1418         http://trac.webkit.org/changeset/201967
1419
1420         "Build fix."
1421         http://trac.webkit.org/changeset/201968
1422
1423         "WinCairo build fix attempt."
1424         http://trac.webkit.org/changeset/201972
1425
1426 2016-06-11  Myles C. Maxfield  <mmaxfield@apple.com>
1427
1428         Deleting a CSSOM style rule invalidates any previously-added FontFaces
1429         https://bugs.webkit.org/show_bug.cgi?id=158450
1430
1431         Reviewed by Darin Adler.
1432
1433         * fast/text/font-face-set-cssom-expected.txt: Added.
1434         * fast/text/font-face-set-cssom.html: Added.
1435
1436 2016-06-11  Chris Dumez  <cdumez@apple.com>
1437
1438         WorkerNavigator is missing some attributes
1439         https://bugs.webkit.org/show_bug.cgi?id=158593
1440         <rdar://problem/26731334>
1441
1442         Reviewed by Darin Adler.
1443
1444         Improved test coverage for WorkerNavigator.
1445
1446         * fast/workers/resources/worker-navigator.js:
1447
1448 2016-06-10  Antti Koivisto  <antti@apple.com>
1449
1450         Vary:Cookie validation doesn't work in private browsing
1451         https://bugs.webkit.org/show_bug.cgi?id=158616
1452
1453         Reviewed by Darin Adler.
1454
1455         * http/tests/cache/disk-cache/disk-cache-vary-cookie-expected.txt:
1456         * http/tests/cache/disk-cache/disk-cache-vary-cookie.html:
1457
1458         Exapand the existing test to cover memory cache and private browsing.
1459
1460 2016-06-10  Benjamin Poulain  <bpoulain@apple.com>
1461
1462         Add support for passive event listeners on touch events
1463         https://bugs.webkit.org/show_bug.cgi?id=158601
1464
1465         Reviewed by Simon Fraser.
1466
1467         * fast/events/touch/ios/tap-with-active-listener-on-elements-expected.txt: Added.
1468         * fast/events/touch/ios/tap-with-active-listener-on-elements.html: Added.
1469         * fast/events/touch/ios/tap-with-active-listener-on-window-expected.txt: Added.
1470         * fast/events/touch/ios/tap-with-active-listener-on-window.html: Added.
1471         * fast/events/touch/ios/tap-with-passive-listener-inside-active-listener-expected.txt: Added.
1472         * fast/events/touch/ios/tap-with-passive-listener-on-elements-expected.txt: Added.
1473         * fast/events/touch/ios/tap-with-passive-listener-on-elements.html: Added.
1474         * fast/events/touch/ios/tap-with-passive-listener-on-window-expected.txt: Added.
1475         * fast/events/touch/ios/tap-with-passive-listener-on-window.html: Added.
1476
1477 2016-06-10  Enrica Casucci  <enrica@apple.com>
1478
1479         REGRESSION(r198177): Cannot paste an image when the pasteboard format is mime type.
1480         https://bugs.webkit.org/show_bug.cgi?id=158590
1481         rdar://problem/25471371
1482
1483         Reviewed by Darin Adler.
1484
1485         * editing/pasteboard/image-in-iframe-expected.txt: Added.
1486         * editing/pasteboard/image-in-iframe.html: Added.
1487
1488 2016-06-10  Ryan Haddad  <ryanhaddad@apple.com>
1489
1490         Marking imported/blink/storage/indexeddb/blob-delete-objectstore-db.html as flaky on Yosemite Release WK2
1491         https://bugs.webkit.org/show_bug.cgi?id=158639
1492
1493         Unreviewed test gardening.
1494
1495         * platform/mac-wk2/TestExpectations:
1496
1497 2016-06-10  Brady Eidson  <beidson@apple.com>
1498
1499         Add an IDB leak test.
1500         https://bugs.webkit.org/show_bug.cgi?id=158632
1501
1502         Reviewed by Alex Christensen.
1503
1504         * storage/indexeddb/modern/leak-1-expected.txt: Added.
1505         * storage/indexeddb/modern/leak-1.html: Added.
1506         * storage/indexeddb/modern/resources/leak-1.js: Added.
1507
1508 2016-06-10  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1509
1510         [GTK] Unreviewed gardening.
1511
1512         * TestExpectations: shadow-dom tests timeout on the GTK port.
1513         Update the general expectations file to include also Timeout as
1514         an expected failure.
1515         * platform/gtk/TestExpectations: Since r200320 resource-timing feature is a runtime flag and this causes failures.
1516         Remove also one test that has been removed.
1517         * platform/gtk/fast/table/border-collapsing/cached-change-row-border-width-expected.txt: rebaseline after r201234
1518         * platform/gtk/fast/table/border-collapsing/cached-change-tbody-border-width-expected.txt: rebaseline after r201234
1519         * platform/gtk/fast/table/max-width-integer-overflow-expected.txt: rebaseline after r201234
1520
1521 2016-06-10  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1522
1523         Origin header is not included in CORS requests for preloaded cross-origin resources
1524         https://bugs.webkit.org/show_bug.cgi?id=155761
1525         <rdar://problem/25351850>
1526
1527         Reviewed by Alex Christensen.
1528
1529         * http/tests/security/cross-origin-css-9-expected.txt: Added.
1530         * http/tests/security/cross-origin-css-9.html: Added.
1531         * http/tests/security/resources/get-css-if-origin-header.php: Added.
1532
1533 2016-06-10  Ryan Haddad  <ryanhaddad@apple.com>
1534
1535         Marking fast/hidpi/hidpi-3x-device-pixel-ratio.html as failing on ios-simulator
1536         https://bugs.webkit.org/show_bug.cgi?id=158618
1537
1538         Unreviewed test gardening.
1539
1540         * platform/ios-simulator/TestExpectations:
1541
1542 2016-06-10  Chris Dumez  <cdumez@apple.com>
1543
1544         ErrorEvent / ProgressEvent should be exposed to workers
1545         https://bugs.webkit.org/show_bug.cgi?id=158606
1546
1547         Reviewed by Brady Eidson.
1548
1549         Rebaseline test.
1550
1551         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
1552
1553 2016-06-10  Chris Dumez  <cdumez@apple.com>
1554
1555         MessagePort should be exposed to workers
1556         https://bugs.webkit.org/show_bug.cgi?id=158607
1557
1558         Reviewed by Brady Eidson.
1559
1560         Rebaseline test.
1561
1562         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
1563
1564 2016-06-10  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1565
1566         WebRTC: Imlement MediaEndpointPeerConnection::createAnswer()
1567         https://bugs.webkit.org/show_bug.cgi?id=158566
1568
1569         Reviewed by Eric Carlson.
1570
1571         Add test for RTCPeerConnection.createAnswer.
1572
1573         * fast/mediastream/RTCPeerConnection-inspect-answer-expected.txt: Added.
1574         * fast/mediastream/RTCPeerConnection-inspect-answer.html: Added.
1575         Generate two answers, one with audio only and a second with audio and video, and inspect
1576         the result.
1577         * platform/mac/TestExpectations:
1578         Skip tests for mac that require building with WEB_RTC enabled.
1579
1580 2016-06-08  Sergio Villar Senin  <svillar@igalia.com>
1581
1582         [css-grid] CRASH when getting the computed style of a grid with only absolutely positioned children
1583         https://bugs.webkit.org/show_bug.cgi?id=158537
1584
1585         Reviewed by Darin Adler.
1586
1587         * fast/css-grid-layout/grid-only-abspos-item-computed-style-crash-expected.txt: Added.
1588         * fast/css-grid-layout/grid-only-abspos-item-computed-style-crash.html: Added.
1589         * fast/css-grid-layout/grid-template-shorthand-get-set-expected.txt: Adjusted, grid-template
1590         does create explicit tracks so we should return 0px instead of none.
1591         * fast/css-grid-layout/grid-template-shorthand-get-set.html: Ditto.
1592
1593 2016-06-10  Chris Dumez  <cdumez@apple.com>
1594
1595         DOMException should be exposed to workers
1596         https://bugs.webkit.org/show_bug.cgi?id=158608
1597
1598         Reviewed by Alex Christensen.
1599
1600         Rebaseline existing test.
1601
1602         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
1603
1604 2016-06-09  Chris Fleizach  <cfleizach@apple.com>
1605
1606         AX: VoiceOver Unable to View Download Progress or Completion Status for Mail Attachments
1607         https://bugs.webkit.org/show_bug.cgi?id=158581
1608
1609         Reviewed by Darin Adler.
1610
1611         * accessibility/attachment-element-expected.txt:
1612         * accessibility/attachment-element.html:
1613         * accessibility/ios-simulator/attributed-string-for-range-expected.txt:
1614         * platform/ios-simulator/TestExpectations:
1615         * platform/ios-simulator/accessibility/attachment-element-expected.txt: Added.
1616
1617 2016-06-09  Zalan Bujtas  <zalan@apple.com>
1618
1619         Hairline borders do not show up on 3x displays.
1620         https://bugs.webkit.org/show_bug.cgi?id=158604
1621         <rdar://problem/26511679>
1622
1623         Reviewed by Simon Fraser.
1624
1625         On a 3x display, when we convert a 1/3px hairline border from float
1626         to LayoutUnit and pixel floor the result, we end up with a 0px width border.
1627         It's because float to LayoutUnit is lossy and since the current kFixedPointDenominator % 3 != 0,
1628         flooring LayoutUnit(1/3px) ends up being 0px. (float: 1/3 -> LayoutUnit: (1/3 - 1/kFixedPointDenominator) -> floor: 0)
1629         This patch eliminates the (unnecessary) float -> LayoutUnit - float conversion on border width.   
1630
1631         * fast/borders/hidpi-3x-input-hairline-border-expected-mismatch.html: Added.
1632         * fast/borders/hidpi-3x-input-hairline-border.html: Added.
1633
1634 2016-06-09  Commit Queue  <commit-queue@webkit.org>
1635
1636         Unreviewed, rolling out r201887.
1637         https://bugs.webkit.org/show_bug.cgi?id=158610
1638
1639         This change caused LayoutTest crashes under GuardMalloc and
1640         ASan (Requested by ryanhaddad on #webkit).
1641
1642         Reverted changeset:
1643
1644         "Deleting a CSSOM style rule invalidates any previously-added
1645         FontFaces"
1646         https://bugs.webkit.org/show_bug.cgi?id=158450
1647         http://trac.webkit.org/changeset/201887
1648
1649 2016-06-09  Zalan Bujtas  <zalan@apple.com>
1650
1651         Add testing support for 3x device scale factor.
1652         https://bugs.webkit.org/show_bug.cgi?id=158597
1653
1654         Reviewed by Simon Fraser.
1655
1656         Set 3x device scale factor on the test canvas when the test url is prefixed with hidpi-3x-. 
1657
1658         * fast/hidpi/hidpi-3x-device-pixel-ratio-expected.txt: Added.
1659         * fast/hidpi/hidpi-3x-device-pixel-ratio.html: Added.
1660
1661 2016-06-09  Ryosuke Niwa  <rniwa@webkit.org>
1662
1663         REGRESSION(r201823) editing/selection/selection-in-iframe-removed-crash.html is flaky
1664         https://bugs.webkit.org/show_bug.cgi?id=158569
1665
1666         Commit the test fix that was supposed to be landed as a part of r201823,
1667         and remove the flaky test expectation.
1668
1669         * editing/selection/selection-in-iframe-removed-crash.html:
1670         * platform/mac/TestExpectations:
1671
1672 2016-06-09  Antoine Quint  <graouts@apple.com>
1673
1674         [iOS] -webkit-overflow-scrolling: touch; ignores pointer-events: none;
1675         https://bugs.webkit.org/show_bug.cgi?id=119839
1676         <rdar://problem/9671514>
1677
1678         Reviewed by Simon Fraser.
1679
1680         * fast/scrolling/ios/touch-scroll-pointer-events-none-expected.txt: Added.
1681         * fast/scrolling/ios/touch-scroll-pointer-events-none.html: Added.
1682
1683 2016-06-09  Chris Dumez  <cdumez@apple.com>
1684
1685         WorkerNavigator property should exist on WorkerGlobalScope
1686         https://bugs.webkit.org/show_bug.cgi?id=158574
1687         <rdar://problem/26725108>
1688
1689         Reviewed by Darin Adler.
1690
1691         Rebaseline existing test now that WorkerNavigator is exposed to workers.
1692
1693         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
1694
1695 2016-06-09  Chris Dumez  <cdumez@apple.com>
1696
1697         atob() / btoa() API should be exposed to workers
1698         https://bugs.webkit.org/show_bug.cgi?id=158576
1699         <rdar://problem/26729340>
1700
1701         Reviewed by Sam Weinig.
1702
1703         Add test for atob() / btoa() in workers.
1704
1705         * fast/workers/atob-btoa-expected.txt: Added.
1706         * fast/workers/atob-btoa.html: Added.
1707         * fast/workers/resources/worker-atob-btoa.js: Added.
1708
1709 2016-06-09  Michael Saboff  <msaboff@apple.com>
1710
1711         ES6: Reusing function name as a parameter name shouldn't throw Syntax Error
1712         https://bugs.webkit.org/show_bug.cgi?id=158575
1713
1714         Reviewed by Benjamin Poulain.
1715
1716         Added a new test case.
1717
1718         * js/basic-strict-mode-expected.txt:
1719         * js/script-tests/basic-strict-mode.js:
1720
1721 2016-06-09  Antoine Quint  <graouts@apple.com>
1722
1723         Changing canvas height immediately after page load does not relayout canvas
1724         https://bugs.webkit.org/show_bug.cgi?id=156097
1725
1726         Reviewed by Zalan Bujtas.
1727
1728         * fast/canvas/canvas-css-size-after-height-change-with-display-flex-expected.html: Added.
1729         * fast/canvas/canvas-css-size-after-height-change-with-display-flex.html: Added.
1730
1731 2016-06-09  Myles C. Maxfield  <mmaxfield@apple.com>
1732
1733         Deleting a CSSOM style rule invalidates any previously-added FontFaces
1734         https://bugs.webkit.org/show_bug.cgi?id=158450
1735
1736         Reviewed by Darin Adler.
1737
1738         * fast/text/font-face-set-cssom-expected.txt: Added.
1739         * fast/text/font-face-set-cssom.html: Added.
1740
1741 2016-06-09  Ryan Haddad  <ryanhaddad@apple.com>
1742
1743         Marking webgl/webgl-backing-store-size-update.html as a flaky timeout on mac-wk1
1744         https://bugs.webkit.org/show_bug.cgi?id=158585
1745
1746         Unreviewed test gardening.
1747
1748         * platform/mac-wk1/TestExpectations:
1749
1750 2016-06-09  Ryan Haddad  <ryanhaddad@apple.com>
1751
1752         Removing Mavericks-specific TestExpectations from mac-wk1 TestExpectations file.
1753
1754         Unreviewed test gardening.
1755
1756         * platform/mac-wk1/TestExpectations:
1757
1758 2016-06-09  Eric Carlson  <eric.carlson@apple.com>
1759
1760         Don't show the caption menu if a video has only forced tracks
1761         https://bugs.webkit.org/show_bug.cgi?id=158573
1762         <rdar://problem/24632384>
1763
1764         Reviewed by Jer Noble.
1765
1766         * media/controls/forced-tracks-only-expected.txt: Added.
1767         * media/controls/forced-tracks-only.html: Added.
1768
1769 2016-06-09  Chris Dumez  <cdumez@apple.com>
1770
1771         WorkerGlobalScope attributes / operations should be on the prototype
1772         https://bugs.webkit.org/show_bug.cgi?id=158568
1773         <rdar://problem/26720079>
1774
1775         Reviewed by Geoffrey Garen.
1776
1777         * fast/workers/WorkerGlobalScope-properties-prototype-expected.txt: Added.
1778         * fast/workers/WorkerGlobalScope-properties-prototype.html: Added.
1779         Add layout test coverage.
1780
1781         * fast/workers/self-hasOwnProperty-expected.txt:
1782         * fast/workers/self-hasOwnProperty.html:
1783         Update test I added a couple of days ago because it wrongly expected
1784         the 'navigator' property to be on the instance. This check was failing
1785         in other browsers (Firefox and Chrome).
1786
1787 2016-06-09  Tim Horton  <timothy_horton@apple.com>
1788
1789         Writing-mode-dependent properties don't apply if their value is a variable
1790         https://bugs.webkit.org/show_bug.cgi?id=158449
1791         <rdar://problem/26662478>
1792
1793         Reviewed by Simon Fraser.
1794
1795         * fast/css/variables/direction-dependent-variable-properties-expected.html: Added.
1796         * fast/css/variables/direction-dependent-variable-properties.html: Added.
1797         Add a test ensuring that direction-dependent properties work correctly,
1798         including flipping when the direction is flipped.
1799
1800 2016-06-09  Ryan Haddad  <ryanhaddad@apple.com>
1801
1802         Marking editing/selection/selection-in-iframe-removed-crash.html as flaky on Mac
1803         https://bugs.webkit.org/show_bug.cgi?id=158569
1804
1805         Unreviewed test gardening.
1806
1807         * platform/mac/TestExpectations:
1808
1809 2016-06-09  Brady Eidson  <beidson@apple.com>
1810
1811         LayoutTest storage/indexeddb/modern/handle-user-delete.html is a flaky failure.
1812         https://bugs.webkit.org/show_bug.cgi?id=158501
1813
1814         Reviewed by Darin Adler.
1815         
1816         The order in which the transaction abort happens doesn't matter; It only matters that it happens.
1817         
1818         Update the test to reflect this.
1819         
1820         * storage/indexeddb/modern/handle-user-delete-expected.txt:
1821         * storage/indexeddb/modern/resources/handle-user-delete.js:
1822
1823 2016-06-09  Simon Fraser  <simon.fraser@apple.com>
1824
1825         border-radius with different width and height rendered wrong
1826         https://bugs.webkit.org/show_bug.cgi?id=158300
1827         <rdar://problem/26672922>
1828
1829         Reviewed by Zalan Bujtas.
1830         
1831         * fast/borders/border-non-renderable-radius-inner-clip-expected.html: Added.
1832         * fast/borders/border-non-renderable-radius-inner-clip.html: Added.
1833         * fast/borders/border-radius-inner-clip-expected-mismatch.html: Added.
1834         * fast/borders/border-radius-inner-clip-vertical-expected-mismatch.html: Added.
1835         * fast/borders/border-radius-inner-clip-vertical.html: Added.
1836         * fast/borders/border-radius-inner-clip.html: Added.
1837         * fast/borders/resources/border-radius-helpers.js: Added.
1838         (createContainer):
1839         (createReferenceContainer):
1840
1841 2016-06-09  Per Arne Vollan  <pvollan@apple.com>
1842
1843         Unreviewed test gardening.
1844         
1845         Unskip passing websocket tests.
1846
1847         * platform/win/TestExpectations:
1848
1849 2016-06-09  Ryan Haddad  <ryanhaddad@apple.com>
1850
1851         Unreviewed, rolling out r201842.
1852
1853         The change that prompted this rebaseline was rolled out.
1854
1855         Reverted changeset:
1856
1857         "Rebaseline js/dom/global-constructors-attributes.html for Mac
1858         after r201810"
1859         http://trac.webkit.org/changeset/201842
1860
1861 2016-06-09  Michael Saboff  <msaboff@apple.com>
1862
1863         WebKitTestRunner and DumpRenderTree do not handle dangling surrogate characters
1864         https://bugs.webkit.org/show_bug.cgi?id=154863
1865
1866         Reviewed by Alexey Proskuryakov.
1867
1868         New tests.
1869
1870         * fast/text/dangling-surrogates-expected.txt: Added.
1871         * fast/text/dangling-surrogates.html: Added.
1872
1873 2016-06-09  Commit Queue  <commit-queue@webkit.org>
1874
1875         Unreviewed, rolling out r201810.
1876         https://bugs.webkit.org/show_bug.cgi?id=158563
1877
1878         breaks build without ENABLE_WEB_ANIMATION (Requested by
1879         mcatanzaro on #webkit).
1880
1881         Reverted changeset:
1882
1883         "[web-animations] Add Animatable, AnimationEffect,
1884         KeyframeEffect and Animation interface"
1885         https://bugs.webkit.org/show_bug.cgi?id=156096
1886         http://trac.webkit.org/changeset/201810
1887
1888 2016-06-09  Ryosuke Niwa  <rniwa@webkit.org>
1889
1890         slotchange event should be fired at the end of microtask
1891         https://bugs.webkit.org/show_bug.cgi?id=157374
1892         <rdar://problem/26154024>
1893
1894         Reviewed by Antti Koivisto.
1895
1896         Added a test case to ensure slotchange event is dispatched at the end of a microtask.
1897
1898         * fast/shadow-dom/slotchange-event-expected.txt:
1899         * fast/shadow-dom/slotchange-event.html:
1900
1901 2016-06-08  Joseph Pecoraro  <pecoraro@apple.com>
1902
1903         REGRESSION: Web Inspector: Should be able to evaluate "{a:1, b:2}" in the console
1904         https://bugs.webkit.org/show_bug.cgi?id=158548
1905         <rdar://problem/26708513>
1906
1907         Reviewed by Timothy Hatcher.
1908
1909         * inspector/console/addInspectedNode.html:
1910         * inspector/console/command-line-api-copy.html:
1911         * inspector/console/command-line-api.html:
1912         * inspector/console/console-api.html:
1913         * inspector/console/console-table.html:
1914         * inspector/console/messagesCleared.html:
1915         * inspector/controller/runtime-controller.html:
1916         * inspector/debugger/command-line-api-exception-nested-catch.html:
1917         * inspector/debugger/command-line-api-exception.html:
1918         * inspector/model/remote-object-get-properties.html:
1919         * inspector/model/remote-object-weak-collection.html:
1920         * inspector/model/remote-object.html:
1921         * inspector/timeline/exception-in-injected-script-while-recording.html:
1922         Update evaluateInInspectedWindow callsites to use options dictionary.
1923
1924 2016-06-08  Chris Dumez  <cdumez@apple.com>
1925
1926         DedicatedWorkerGlobalScope prototype chain is incorrect
1927         https://bugs.webkit.org/show_bug.cgi?id=158544
1928
1929         Reviewed by Brady Eidson.
1930
1931         Add test coverage for the DedicatedWorkerGlobalScope prototype chain.
1932
1933         * fast/workers/DedicatedWorkerGlobalScope-prototype-chain-expected.txt: Added.
1934         * fast/workers/DedicatedWorkerGlobalScope-prototype-chain.html: Added.
1935
1936 2016-06-08  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1937
1938         WebRTC: Imlement MediaEndpointPeerConnection::setRemoteDescription()
1939         https://bugs.webkit.org/show_bug.cgi?id=158467
1940
1941         Reviewed by Eric Carlson.
1942
1943         Add tests for RTCPeerConnection.setRemoteDescription() and the RTCTrackEvent constructor.
1944
1945         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer-expected.txt: Added.
1946         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer.html: Added.
1947         Verify the description set, the expected RTCPeerConnection state changes and that the
1948         'track' event is fired before the setRemoteDescription() promise fulfills.
1949         * fast/mediastream/RTCTrackEvent-constructor-expected.txt: Added.
1950         * fast/mediastream/RTCTrackEvent-constructor.html: Added.
1951         This test has some expected failures since the bindings generator don't support 'required'
1952         dictionary members for event init dictionaries.
1953         * platform/mac/TestExpectations:
1954         Skip tests for mac that require building with WEB_RTC enabled.
1955
1956 2016-06-08  John Wilander  <wilander@apple.com>
1957
1958         Perform IDNA encoding on parameters for setHostAndPort and setHost
1959         https://bugs.webkit.org/show_bug.cgi?id=158371
1960         <rdar://problem/16869342>
1961
1962         Reviewed by Brent Fulgham.
1963
1964         * fast/dom/resources/set-document-location-iframe.html: Added.
1965         * fast/dom/set-document-location-host-to-unaccepted-values-expected.txt: Added.
1966         * fast/dom/set-document-location-host-to-unaccepted-values.html: Added.
1967         * fast/dom/set-document-location-hostname-to-unaccepted-values-expected.txt: Added.
1968         * fast/dom/set-document-location-hostname-to-unaccepted-values.html: Added.
1969         * http/tests/dom/resources/set-document-location-iframe.html: Added.
1970         * http/tests/dom/set-document-location-host-to-accepted-values-expected.txt: Added.
1971         * http/tests/dom/set-document-location-host-to-accepted-values.html: Added.
1972         * http/tests/dom/set-document-location-hostname-to-accepted-values-expected.txt: Added.
1973         * http/tests/dom/set-document-location-hostname-to-accepted-values.html: Added.
1974
1975 2016-06-08  Ryan Haddad  <ryanhaddad@apple.com>
1976
1977         Rebaseline js/dom/global-constructors-attributes.html for Mac after r201810
1978
1979         Unreviewed test gardening.
1980
1981         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
1982
1983 2016-06-08  Jer Noble  <jer.noble@apple.com>
1984
1985         With audio user gesture restriction in place, video.src = 'file', video.play() succeeds where it should fail.
1986         https://bugs.webkit.org/show_bug.cgi?id=158546
1987
1988         Reviewed by Eric Carlson.
1989
1990         * media/video-playback-restriction-play-before-load-expected.txt: Added.
1991         * media/video-playback-restriction-play-before-load.html: Added.
1992
1993 2016-06-08  Chris Dumez  <cdumez@apple.com>
1994
1995         First parameter to MessagePort / DedicatedWorkerGlobalScope.postMessage() should be mandatory
1996         https://bugs.webkit.org/show_bug.cgi?id=158540
1997
1998         Reviewed by Geoffrey Garen.
1999
2000         Add test coverage.
2001
2002         * fast/files/workers/inline-worker-via-blob-url.html:
2003         * fast/workers/postMessage-missing-parameter-expected.txt: Added.
2004         * fast/workers/postMessage-missing-parameter.html: Added.
2005         * fast/workers/worker-messageport-expected.txt:
2006         * fast/workers/worker-messageport.html:
2007
2008 2016-06-08  Nan Wang  <n_wang@apple.com>
2009
2010         For keyboard users, activating a fragment URL should transfer focus and caret to the destination
2011         https://bugs.webkit.org/show_bug.cgi?id=116046
2012
2013         Reviewed by Ryosuke Niwa.
2014
2015         Added a layout test to check that mouse pressing, fragment navigation, focusing an element and removing
2016         the focused element will give us the expected focus navigation starting point.
2017
2018         Also updated the fragment activation test because now that navigating to an unfocusable fragment will
2019         unfocus the current focused element.
2020
2021         * fast/dom/fragment-activation-focuses-target-expected.txt:
2022         * fast/dom/fragment-activation-focuses-target.html:
2023         * fast/events/sequential-focus-navigation-starting-point-expected.txt: Added.
2024         * fast/events/sequential-focus-navigation-starting-point.html: Added.
2025         * platform/ios-simulator/TestExpectations:
2026
2027 2016-06-07  Ryosuke Niwa  <rniwa@webkit.org>
2028
2029         REGRESSION (r201667): ASSERTION FAILED: !m_anchorNode || !editingIgnoresContent(*m_anchorNode)
2030         https://bugs.webkit.org/show_bug.cgi?id=158373
2031
2032         Reviewed by Brent Fulgham.
2033
2034         Fixed a test so that the assertion failure happens within the test instead of affecting the subsequent test.
2035
2036         * editing/selection/selection-in-iframe-removed-crash-expected.txt:
2037         * editing/selection/selection-in-iframe-removed-crash.html:
2038
2039 2016-06-08  Ryan Haddad  <ryanhaddad@apple.com>
2040
2041         Marking css3/filters/backdrop/dynamic-backdrop-filter-change.html as flaky on Mac
2042         https://bugs.webkit.org/show_bug.cgi?id=158534
2043
2044         Unreviewed test gardening.
2045
2046         * platform/mac/TestExpectations:
2047
2048 2016-06-08  Dean Jackson  <dino@apple.com>
2049
2050         Multiple selectors break keyframes animation
2051         https://bugs.webkit.org/show_bug.cgi?id=158199
2052         <rdar://problem/26652591>
2053
2054         Reviewed by Simon Fraser.
2055
2056         * animations/duplicate-keys-expected.html: Added.
2057         * animations/duplicate-keys.html: Added.
2058
2059 2016-06-08  Per Arne Vollan  <pvollan@apple.com>
2060
2061         [Win] Shadow DOM tests are failing.
2062         https://bugs.webkit.org/show_bug.cgi?id=158524
2063
2064         Reviewed by Brent Fulgham.
2065
2066         Update test expectations for Shadow DOM.
2067
2068         * platform/win/TestExpectations:
2069
2070 2016-06-08  Rawinder Singh  <rawinder.singh-webkit@cisra.canon.com.au>
2071
2072         [web-animations] Add Animatable, AnimationEffect, KeyframeEffect and Animation interface
2073         https://bugs.webkit.org/show_bug.cgi?id=156096
2074
2075         Reviewed by Dean Jackson.
2076
2077         Adds:
2078         - Animatable interface and implementation of getAnimations in Element
2079         - Interface and implementation for Document getAnimations method.
2080         - AnimationEffect interface and class stub.
2081         - KeyframeEffect interface and constructor implementation.
2082         - 'Animation' interface, constructor and query methods for effect and timeline.
2083         - Remove runtime condition on Web animation interfaces (compile time flag is specified).
2084
2085         * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
2086         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
2087         * webanimations/Document-expected.txt: Added.
2088         * webanimations/Document.html: Added.
2089         * webanimations/script-tests/Document.js: Added.
2090
2091 2016-06-08  Chris Dumez  <cdumez@apple.com>
2092
2093         self.hasOwnProperty() does not work inside Web workers
2094         https://bugs.webkit.org/show_bug.cgi?id=158446
2095         <rdar://problem/26638397>
2096
2097         Reviewed by Geoffrey Garen.
2098
2099         Add tests to make sure that self.toString() and self.hasOwnProperty()
2100         now work in workers.
2101
2102         * fast/workers/self-hasOwnProperty-expected.txt: Added.
2103         * fast/workers/self-hasOwnProperty.html: Added.
2104         * fast/workers/self-toString-expected.txt: Added.
2105         * fast/workers/self-toString.html: Added.
2106
2107 2016-06-06  Antti Koivisto  <antti@apple.com>
2108
2109         WebKit memory cache doesn't respect Vary header
2110         https://bugs.webkit.org/show_bug.cgi?id=71509
2111         <rdar://problem/26651033>
2112
2113         Reviewed by Sam Weinig.
2114
2115         * http/tests/cache/disk-cache/disk-cache-vary-expected.txt:
2116         * http/tests/cache/disk-cache/disk-cache-vary-no-body-expected.txt:
2117
2118 2016-06-08  Adam Bergkvist  <adam.bergkvist@ericsson.com>
2119
2120         WebRTC: Imlement MediaEndpointPeerConnection::setLocalDescription()
2121         https://bugs.webkit.org/show_bug.cgi?id=158190
2122
2123         Reviewed by Eric Carlson.
2124
2125         Add new test for RTCPeerConnection.setLocalDescription.
2126
2127         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer-expected.txt: Added.
2128         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer.html: Added.
2129         Set two local offers as local descriptions and inspect the state changes. Also set some
2130         descriptions with bad types.
2131         * platform/mac/TestExpectations:
2132         Skip the above test for mac (not building with WEB_RTC)
2133
2134 2016-06-07  Chris Dumez  <cdumez@apple.com>
2135
2136         Expose Event / EventTarget properties on WorkerGlobalScope
2137         https://bugs.webkit.org/show_bug.cgi?id=158511
2138
2139         Reviewed by Sam Weinig.
2140
2141         Rebaseline existing test.
2142
2143         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
2144
2145 2016-06-07  Antoine Quint  <graouts@apple.com>
2146
2147         The backdrop-filter property does not respect border-radius
2148         https://bugs.webkit.org/show_bug.cgi?id=158483
2149         <rdar://problem/24210257>
2150
2151         Reviewed by Simon Fraser.
2152
2153         Adding new tests checking that border-radius correctly affects clipping of the backdrop layer
2154         in a basic scenario, when we change border-radius to a different value, when we set border-radius
2155         back to 0 and when we add a reflection.
2156
2157         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection-add-expected.html: Added.
2158         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection-add.html: Added.
2159         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection-expected.html: Added.
2160         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection-remove-expected.html: Added.
2161         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection-remove.html: Added.
2162         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection.html: Added.
2163         * css3/filters/backdrop/backdrop-filter-with-border-radius-expected.html: Added.
2164         * css3/filters/backdrop/backdrop-filter-with-border-radius-value-change-expected.html: Added.
2165         * css3/filters/backdrop/backdrop-filter-with-border-radius-value-change.html: Added.
2166         * css3/filters/backdrop/backdrop-filter-with-border-radius-value-remove-expected.html: Added.
2167         * css3/filters/backdrop/backdrop-filter-with-border-radius-value-remove.html: Added.
2168         * css3/filters/backdrop/backdrop-filter-with-border-radius.html: Added.
2169
2170 2016-06-07  Sam Weinig  <sam@webkit.org>
2171
2172         Update tests to work around https://bugs.webkit.org/show_bug.cgi?id=158507.
2173
2174         * TestExpectations:
2175         Re-enable now passing test.
2176
2177         * animations/script-tests/spring-computed-style.js:
2178         * animations/script-tests/spring-parsing.js:
2179         Use a non-body element to do the testing.
2180
2181 2016-06-07  Sam Weinig  <sam@webkit.org>
2182
2183         Mark animations/spring-computed-style.html as failing temporarily.
2184
2185         * TestExpectations:
2186
2187 2016-06-07  Ryan Haddad  <ryanhaddad@apple.com>
2188
2189         Rebaseline fast/events/touch/document-create-touch-list-ios.html
2190
2191         Unreviewed test gardening.
2192
2193         * fast/events/touch/document-create-touch-list-ios-expected.txt:
2194
2195 2016-06-07  Myles C. Maxfield  <mmaxfield@apple.com>
2196
2197         Text-decoration-style: dashed / dotted rendered as solid
2198         https://bugs.webkit.org/show_bug.cgi?id=134336
2199
2200         Reviewed by Dean Jackson.
2201
2202         Make sure that the dotted / dashed / solid renderings are all distinct.
2203
2204         * fast/css3-text/css3-text-decoration/text-decoration-dashed-expected-mismatch.html: Added.
2205         * fast/css3-text/css3-text-decoration/text-decoration-dashed.html: Added.
2206         * fast/css3-text/css3-text-decoration/text-decoration-dotted-dashed-expected-mismatch.html: Added.
2207         * fast/css3-text/css3-text-decoration/text-decoration-dotted-dashed.html: Added.
2208         * fast/css3-text/css3-text-decoration/text-decoration-dotted-expected-mismatch.html: Added.
2209         * fast/css3-text/css3-text-decoration/text-decoration-dotted.html: Added.
2210
2211 2016-06-07  Ryan Haddad  <ryanhaddad@apple.com>
2212
2213         Skipping http/tests/websocket/tests/hybi/upgrade-simple-ws.html
2214         https://bugs.webkit.org/show_bug.cgi?id=158480
2215
2216         Unreviewed test gardening.
2217
2218         * TestExpectations:
2219
2220 2016-06-05  Sam Weinig  <sam@webkit.org>
2221
2222         Add experimental support for spring based CSS animations
2223         https://bugs.webkit.org/show_bug.cgi?id=158403
2224
2225         Reviewed by Dean Jackson.
2226
2227         * animations/script-tests/spring-computed-style.js: Added.
2228         * animations/script-tests/spring-parsing.js: Added.
2229         * animations/spring-computed-style-expected.txt: Added.
2230         * animations/spring-computed-style.html: Added.
2231         * animations/spring-function-expected.txt: Added.
2232         * animations/spring-function.html: Added.
2233         * animations/spring-parsing-expected.txt: Added.
2234         * animations/spring-parsing.html: Added.
2235         Add tests for the spring timing function.
2236
2237 2016-06-07  Chris Dumez  <cdumez@apple.com>
2238
2239         Implement EventListenerOptions argument to addEventListener
2240         https://bugs.webkit.org/show_bug.cgi?id=149466
2241         <rdar://problem/22802031>
2242
2243         Reviewed by Dean Jackson.
2244
2245         * fast/events/AddEventListenerOptions-once-expected.txt: Added.
2246         * fast/events/AddEventListenerOptions-once-recursive-expected.txt: Added.
2247         * fast/events/AddEventListenerOptions-once-recursive.html: Added.
2248         * fast/events/AddEventListenerOptions-once.html: Added.
2249         * fast/events/AddEventListenerOptions-passive-expected.txt: Added.
2250         * fast/events/AddEventListenerOptions-passive.html: Added.
2251         * fast/events/removeEventListener-EventListenerOptions-capture-expected.txt: Added.
2252         * fast/events/removeEventListener-EventListenerOptions-capture.html: Added.
2253
2254         Add layout testing coverage for various aspects of the functionality.
2255
2256         * imported/blink/fast/events/eventlisteneroptions/capture_default-expected.txt: Added.
2257         * imported/blink/fast/events/eventlisteneroptions/capture_default.html: Added.
2258         * imported/blink/fast/events/eventlisteneroptions/capture_equality-expected.txt: Added.
2259         * imported/blink/fast/events/eventlisteneroptions/capture_equality.html: Added.
2260         * imported/blink/fast/events/eventlisteneroptions/capture_query-expected.txt: Added.
2261         * imported/blink/fast/events/eventlisteneroptions/capture_query.html: Added.
2262         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch-expected.txt: Added.
2263         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch.html: Added.
2264         * imported/blink/fast/events/eventlisteneroptions/passive_inequality-expected.txt: Added.
2265         * imported/blink/fast/events/eventlisteneroptions/passive_inequality.html: Added.
2266         * imported/blink/fast/events/eventlisteneroptions/passive_query-expected.txt: Added.
2267         * imported/blink/fast/events/eventlisteneroptions/passive_query.html: Added.
2268
2269         Import blink tests for this functionality.
2270
2271 2016-06-07  Brent Fulgham  <bfulgham@apple.com>
2272
2273         CSP: Content Security Policy directive, upgrade-insecure-requests (UIR)
2274         https://bugs.webkit.org/show_bug.cgi?id=143653
2275         <rdar://problem/23032067>
2276
2277         Reviewed by Andy Estes.
2278
2279         Some of these tests are based on a set of Blink patches by Mike West <mkwst@chromium.org>.
2280         <https://src.chromium.org/viewvc/blink?revision=192607&view=revision>,
2281         <https://codereview.chromium.org/1178093002>, <https://codereview.chromium.org/1964303003>
2282
2283         The rest of them are based on our own mixedContent tests, revised for upgraded requests.
2284
2285         Note that WebSockets are not part of this testing at present due to https://bugs.webkit.org/show_bug.cgi?id=157884.
2286
2287         * http/tests/security/contentSecurityPolicy/report-only-upgrade-insecure.php: Added.
2288         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests: Added.
2289         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade-cors.https-expected.txt: Added.
2290         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade-cors.https.html: Added.
2291         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https-expected.txt: Added.
2292         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html: Added.
2293         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/form-upgrade-expected.txt: Added.
2294         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/form-upgrade.html: Added.
2295         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-auxiliary-expected.txt: Added.
2296         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-auxiliary.html: Added.
2297         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-nested-expected.txt: Added.
2298         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-nested.html: Added.
2299         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-subresource-expected.txt: Added.
2300         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-subresource.html: Added.
2301         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-top-level-expected.txt: Added.
2302         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-top-level.html: Added.
2303         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Added.
2304         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https.html: Added.
2305         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt: Added.
2306         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades.html: Added.
2307         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades-expected.txt: Added.
2308         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades.html: Added.
2309         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources: Added.
2310         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/basic-upgrade-cors.https.html: Added.
2311         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/check-https-header.pl: Added.
2312         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/echo-https-header.pl: Added.
2313         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-audio-video.html: Added.
2314         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-css.html: Added.
2315         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-image.html: Added.
2316         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-redirect-http-to-https-script.html: Added.
2317         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-redirect-https-to-http-script.html: Added.
2318         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/insecure-xhr-in-main-frame-window.html: Added.
2319         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/mixed-content-with-upgrade.html: Added.
2320         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/post-https-header.pl: Added.
2321         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-audio-video-in-main-frame-expected.txt: Added.
2322         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-audio-video-in-main-frame.html: Added.
2323         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe-expected.txt: Added.
2324         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe.html: Added.
2325         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-image-in-main-frame-expected.txt: Added.
2326         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-image-in-main-frame.html: Added.
2327         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-xhr-in-main-frame-expected.txt: Added.
2328         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-xhr-in-main-frame.html: Added.
2329         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe-expected.txt: Added.
2330         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe.html: Added.
2331         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe-expected.txt: Added.
2332         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe.html: Added.
2333         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrades-mixed-content-expected.txt: Added.
2334         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrades-mixed-content.html: Added.
2335         * http/tests/security/resources/post-origin-to-parent.html: Added.
2336         * http/tests/ssl/iframe-upgrade.https-expected.txt: Added.
2337         * http/tests/ssl/iframe-upgrade.https.html: Added.
2338         * http/tests/ssl/upgrade-origin-usage-expected.txt: Added.
2339         * http/tests/ssl/upgrade-origin-usage.html: Added.
2340         * http/tests/ssl/resources/origin-usage-iframe-1.html: Added.
2341         * http/tests/ssl/resources/origin-usage-iframe-1.manifest: Added.
2342         * http/tests/ssl/resources/origin-usage-iframe-2.html: Added.
2343         * http/tests/ssl/resources/origin-usage-iframe-2.manifest: Added.
2344         * http/tests/websocket/tests/hybi/upgrade-simple-ws-expected.txt: Added.
2345         * http/tests/websocket/tests/hybi/upgrade-simple-ws.html: Added.
2346         * TestExpectations: Skip http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-simple-ws.html since the
2347         WebSocket server does not currently support wss sockets.
2348
2349 2016-06-07  Fujii Hironori  <Hironori.Fujii@sony.com>
2350
2351         Video elements are painted twice, in PaintPhaseForeground and PaintPhaseSelfOutline
2352         https://bugs.webkit.org/show_bug.cgi?id=158247
2353
2354         Reviewed by Simon Fraser.
2355
2356         * fast/replaced/outline-replaced-elements-offset-expected.html: Added.
2357         * fast/replaced/outline-replaced-elements-offset.html: Added.
2358
2359 2016-06-07  Michael Catanzaro  <mcatanzaro@igalia.com>
2360
2361         [GTK] Mark fast/text/international/system-language/han-quotes.html as flaky
2362
2363         Unreviewed gardening
2364
2365         * platform/gtk/TestExpectations:
2366
2367 2016-06-07  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
2368
2369         Creating a TouchList with non Touch items should throw an exception
2370         https://bugs.webkit.org/show_bug.cgi?id=158302
2371
2372         Reviewed by Youenn Fablet.
2373
2374         Only Touch items should be passed to CreateTouchList function as
2375         per specification (https://w3c.github.io/touch-events/#extensions-to-the-document-interface).
2376
2377         Tests have been modified to check whether behavior of CreateTouchList is correct.
2378
2379         * fast/events/touch/document-create-touch-list-crash-expected.txt:
2380         * fast/events/touch/document-create-touch-list-expected.txt:
2381         * fast/events/touch/script-tests/document-create-touch-list-crash.js:
2382         * fast/events/touch/script-tests/document-create-touch-list.js:
2383
2384 2016-06-07  Joseph Pecoraro  <pecoraro@apple.com>
2385
2386         Unskip js/script-tests/class-syntax-scoping.js
2387         https://bugs.webkit.org/show_bug.cgi?id=158458
2388
2389         Reviewed by Ryosuke Niwa.
2390
2391         * js/script-tests/class-syntax-scoping.js:
2392
2393 2016-06-06  Joseph Pecoraro  <pecoraro@apple.com>
2394
2395         ASSERTION failed in get-by-pname.js when run with JSC_useLLINT=false and 2 other configurations
2396         https://bugs.webkit.org/show_bug.cgi?id=138497
2397         <rdar://problem/18909792>
2398
2399         Reviewed by Mark Lam.
2400
2401         * js/script-tests/get-by-pname.js:
2402         Test is no longer failing. Lets unskip.
2403
2404 2016-06-06  Commit Queue  <commit-queue@webkit.org>
2405
2406         Unreviewed, rolling out r201735.
2407         https://bugs.webkit.org/show_bug.cgi?id=158465
2408
2409         fast/events/AddEventListenerOptions-once-recursive.html fails
2410         on all bots (Requested by ap on #webkit).
2411
2412         Reverted changeset:
2413
2414         "Implement EventListenerOptions argument to addEventListener"
2415         https://bugs.webkit.org/show_bug.cgi?id=149466
2416         http://trac.webkit.org/changeset/201735
2417
2418 2016-06-06  Commit Queue  <commit-queue@webkit.org>
2419
2420         Unreviewed, rolling out r201679.
2421         https://bugs.webkit.org/show_bug.cgi?id=158464
2422
2423         http/tests/websocket/tests/hybi/upgrade-simple-ws.html is
2424         flaky (Requested by ap on #webkit).
2425
2426         Reverted changeset:
2427
2428         "CSP: Content Security Policy directive, upgrade-insecure-
2429         requests (UIR)"
2430         https://bugs.webkit.org/show_bug.cgi?id=143653
2431         http://trac.webkit.org/changeset/201679
2432
2433 2016-06-06  Jiewen Tan  <jiewen_tan@apple.com>
2434
2435         URLs containing tabs or newlines are parsed incorrectly
2436         https://bugs.webkit.org/show_bug.cgi?id=143381
2437         <rdar://problem/26567214>
2438
2439         Reviewed by Brent Fulgham.
2440
2441         * fast/dom/DOMURL/set-href-attribute-host-expected.txt:
2442         * fast/dom/DOMURL/set-href-attribute-host.html:
2443         * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-host.js:
2444         * fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt:
2445         * fast/url/segments-expected.txt:
2446         * fast/url/segments-from-data-url-expected.txt:
2447         * fast/url/segments-from-data-url.html:
2448         * fast/url/segments.html:
2449         * fast/url/tab-and-newline-stripping-expected.txt: Added.
2450         * fast/url/tab-and-newline-stripping.html: Added.
2451         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
2452         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
2453         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
2454         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
2455         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
2456         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
2457         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
2458         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
2459         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
2460         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
2461         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
2462         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
2463         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
2464         * http/tests/security/xssAuditor/javascript-link-control-char2-expected.txt:
2465
2466 2016-06-02  Ryosuke Niwa  <rniwa@webkit.org>
2467
2468         Update the list of elements attachShadow is allowed
2469         https://bugs.webkit.org/show_bug.cgi?id=157706
2470
2471         Reviewed by Darin Adler.
2472
2473         Added more test cases for validating elements on which attachShadow is allowed and disallowed.
2474
2475         * fast/shadow-dom/Element-interface-attachShadow-expected.txt:
2476         * fast/shadow-dom/Element-interface-attachShadow.html:
2477
2478 2016-06-03  Ryosuke Niwa  <rniwa@webkit.org>
2479
2480         Crash inside moveOutOfAllShadowRoots
2481         https://bugs.webkit.org/show_bug.cgi?id=158378
2482
2483         Reviewed by Antti Koivisto.
2484
2485         Added a regression test that reproduced the crash reliably at least on my machine.
2486
2487         * fast/shadow-dom/shadow-host-removal-crash-expected.txt: Added.
2488         * fast/shadow-dom/shadow-host-removal-crash.html: Added.
2489         * platform/ios-simulator/TestExpectations:
2490
2491 2016-06-06  Chris Dumez  <cdumez@apple.com>
2492
2493         Implement EventListenerOptions argument to addEventListener
2494         https://bugs.webkit.org/show_bug.cgi?id=149466
2495         <rdar://problem/22802031>
2496
2497         Reviewed by Dean Jackson.
2498
2499         * fast/events/AddEventListenerOptions-once-expected.txt: Added.
2500         * fast/events/AddEventListenerOptions-once-recursive-expected.txt: Added.
2501         * fast/events/AddEventListenerOptions-once-recursive.html: Added.
2502         * fast/events/AddEventListenerOptions-once.html: Added.
2503         * fast/events/AddEventListenerOptions-passive-expected.txt: Added.
2504         * fast/events/AddEventListenerOptions-passive.html: Added.
2505         * fast/events/removeEventListener-EventListenerOptions-capture-expected.txt: Added.
2506         * fast/events/removeEventListener-EventListenerOptions-capture.html: Added.
2507
2508         Add layout testing coverage for various aspects of the functionality.
2509
2510         * imported/blink/fast/events/eventlisteneroptions/capture_default-expected.txt: Added.
2511         * imported/blink/fast/events/eventlisteneroptions/capture_default.html: Added.
2512         * imported/blink/fast/events/eventlisteneroptions/capture_equality-expected.txt: Added.
2513         * imported/blink/fast/events/eventlisteneroptions/capture_equality.html: Added.
2514         * imported/blink/fast/events/eventlisteneroptions/capture_query-expected.txt: Added.
2515         * imported/blink/fast/events/eventlisteneroptions/capture_query.html: Added.
2516         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch-expected.txt: Added.
2517         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch.html: Added.
2518         * imported/blink/fast/events/eventlisteneroptions/passive_inequality-expected.txt: Added.
2519         * imported/blink/fast/events/eventlisteneroptions/passive_inequality.html: Added.
2520         * imported/blink/fast/events/eventlisteneroptions/passive_query-expected.txt: Added.
2521         * imported/blink/fast/events/eventlisteneroptions/passive_query.html: Added.
2522
2523         Import blink tests for this functionality.
2524
2525 2016-06-06  Commit Queue  <commit-queue@webkit.org>
2526
2527         Unreviewed, rolling out r201730.
2528         https://bugs.webkit.org/show_bug.cgi?id=158453
2529
2530         This change caused existing LayoutTests to crash (Requested by
2531         ryanhaddad on #webkit).
2532
2533         Reverted changeset:
2534
2535         "Implement EventListenerOptions argument to addEventListener"
2536         https://bugs.webkit.org/show_bug.cgi?id=149466
2537         http://trac.webkit.org/changeset/201730
2538
2539 2016-06-02  Ryan Haddad  <ryanhaddad@apple.com>
2540
2541         Marking http/tests/misc/slow-loading-animated-image.html as flaky on ios-simulator
2542         https://bugs.webkit.org/show_bug.cgi?id=157916
2543
2544         Unreviewed test gardening.
2545
2546         * platform/ios-simulator/TestExpectations:
2547
2548 2016-06-06  Chris Dumez  <cdumez@apple.com>
2549
2550         Implement EventListenerOptions argument to addEventListener
2551         https://bugs.webkit.org/show_bug.cgi?id=149466
2552         <rdar://problem/22802031>
2553
2554         Reviewed by Dean Jackson.
2555
2556         * fast/events/AddEventListenerOptions-once-expected.txt: Added.
2557         * fast/events/AddEventListenerOptions-once-recursive-expected.txt: Added.
2558         * fast/events/AddEventListenerOptions-once-recursive.html: Added.
2559         * fast/events/AddEventListenerOptions-once.html: Added.
2560         * fast/events/AddEventListenerOptions-passive-expected.txt: Added.
2561         * fast/events/AddEventListenerOptions-passive.html: Added.
2562         * fast/events/removeEventListener-EventListenerOptions-capture-expected.txt: Added.
2563         * fast/events/removeEventListener-EventListenerOptions-capture.html: Added.
2564
2565         Add layout testing coverage for various aspects of the functionality.
2566
2567         * imported/blink/fast/events/eventlisteneroptions/capture_default-expected.txt: Added.
2568         * imported/blink/fast/events/eventlisteneroptions/capture_default.html: Added.
2569         * imported/blink/fast/events/eventlisteneroptions/capture_equality-expected.txt: Added.
2570         * imported/blink/fast/events/eventlisteneroptions/capture_equality.html: Added.
2571         * imported/blink/fast/events/eventlisteneroptions/capture_query-expected.txt: Added.
2572         * imported/blink/fast/events/eventlisteneroptions/capture_query.html: Added.
2573         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch-expected.txt: Added.
2574         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch.html: Added.
2575         * imported/blink/fast/events/eventlisteneroptions/passive_inequality-expected.txt: Added.
2576         * imported/blink/fast/events/eventlisteneroptions/passive_inequality.html: Added.
2577         * imported/blink/fast/events/eventlisteneroptions/passive_query-expected.txt: Added.
2578         * imported/blink/fast/events/eventlisteneroptions/passive_query.html: Added.
2579
2580         Import blink tests for this functionality.
2581
2582 2016-06-06  Adam Bergkvist  <adam.bergkvist@ericsson.com>
2583
2584         WebRTC: Update MediaEndpointPeerConnection::createOffer() to use the transceiver set
2585         https://bugs.webkit.org/show_bug.cgi?id=158203
2586
2587         Reviewed by Eric Carlson.
2588
2589         Updated existing test.
2590
2591         * fast/mediastream/RTCPeerConnection-inspect-offer-expected.txt:
2592         * fast/mediastream/RTCPeerConnection-inspect-offer.html:
2593         Add verification of mid attribute [1] (corresponds to the RTCRtpTransceiver mid attribute).
2594         [1] https://tools.ietf.org/html/rfc5888
2595         * fast/mediastream/resources/sdp-utils.js: Added.
2596         (printComparableSessionDescription):
2597         (verified):
2598         (match):
2599         Move the printComparableSessionDescription function to a separate file
2600         to make it usable in other (future) tests.
2601
2602 2016-06-06  Antoine Quint  <graouts@apple.com>
2603
2604         Position of WebGL <canvas> on iOS is incorrect with CSS borders
2605         https://bugs.webkit.org/show_bug.cgi?id=156790
2606
2607         Reviewed by Simon Fraser.
2608
2609         Adding new tests checking that CSS border, box-shadow and padding properties used on a
2610         WebGL <canvas> element correctly affect the position of the WebGL content.
2611
2612         * webgl/webgl-border-expected.html: Added.
2613         * webgl/webgl-border.html: Added.
2614         * webgl/webgl-box-shadow-expected.html: Added.
2615         * webgl/webgl-box-shadow.html: Added.
2616         * webgl/webgl-padding-expected.html: Added.
2617         * webgl/webgl-padding.html: Added.
2618
2619 2016-06-06  Skachkov Oleksandr  <gskachkov@gmail.com>
2620
2621         [ESNext] Support trailing commas in function param lists
2622         https://bugs.webkit.org/show_bug.cgi?id=158020
2623
2624         Reviewed by Keith Miller.
2625
2626         * js/parser-syntax-check-expected.txt:
2627         * js/script-tests/parser-syntax-check.js:
2628         * sputnik/Conformance/13_Function_Definition/S13_A5.html:
2629
2630 2016-06-06  George Ruan  <gruan@apple.com>
2631
2632         Support createPattern(HTMLVideoElement, const String& repetitionType)
2633         https://bugs.webkit.org/show_bug.cgi?id=149984
2634         <rdar://problem/23058823>
2635
2636         Reviewed by Dean Jackson.
2637
2638         * fast/canvas/canvas-createPattern-video-invalid-expected.txt: Added.
2639         * fast/canvas/canvas-createPattern-video-invalid.html: Added. Test
2640         behavior when given invalid arguments.
2641         * fast/canvas/canvas-createPattern-video-loading-expected.txt: Added.
2642         * fast/canvas/canvas-createPattern-video-loading.html: Added. Tests
2643         behavior before video loaded, right after it's loaded, and after being
2644         played.
2645         * fast/canvas/canvas-createPattern-video-modify-expected.txt: Added.
2646         * fast/canvas/canvas-createPattern-video-modify.html: Added. Tests
2647         that modifying the video after calling the createPattern() function
2648         does not affect the pattern rendered or to be rendered.
2649         *
2650         http/tests/security/canvas-remote-read-remote-image-allowed-expected.txt:
2651         Fix typo.
2652         *
2653         http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials-expected.txt:
2654         Fix typo.
2655         *
2656         http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials.html:
2657         Fix typo.
2658         * http/tests/security/canvas-remote-read-remote-image-allowed.html:
2659         Fix typo.
2660         *
2661         http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin-expected.txt:
2662         Fix typo.
2663         *
2664         http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin.html:
2665         Fix typo.
2666         * http/tests/security/canvas-remote-read-remote-video-allowed-anonymous-expected.txt: Added.
2667         *
2668         http/tests/security/canvas-remote-read-remote-video-allowed-anonymous.html:
2669         Added. This test will fail as CORS is not implemented for media yet.
2670         Tests that data can be retrieved from canvas even when tainted if CORS
2671         is enabled with anonymous.
2672         * http/tests/security/canvas-remote-read-remote-video-allowed-with-credentials-expected.txt: Added.
2673         *
2674         http/tests/security/canvas-remote-read-remote-video-allowed-with-credentials.html:
2675         Added. This test will fail as CORS is not implemented for media yet.
2676         Tests that data can be retrieved from canvas even when tainted if CORS
2677         is enabled with credentials.
2678         * http/tests/security/canvas-remote-read-remote-video-blocked-no-crossorigin-expected.txt: Added.
2679         *
2680         http/tests/security/canvas-remote-read-remote-video-blocked-no-crossorigin.html:
2681         Added. Ensures that data cannot be retrieved from a tainted canvas if
2682         no cross origin is enabled.
2683         * http/tests/security/canvas-remote-read-remote-video-localhost-expected.txt: Added.
2684         * http/tests/security/canvas-remote-read-remote-video-localhost.html:
2685         Added. Ensures that localhost is blocked like http.
2686         * http/tests/security/canvas-remote-read-remote-video-redirect-expected.txt: Added.
2687         * http/tests/security/canvas-remote-read-remote-video-redirect.html:
2688         Added. Ensures that redirects are blocked.
2689         * http/tests/security/resources/canvas-video-crossorigin.js: Added.
2690         Includes common functions used to test the CORS of canvas for video.
2691         *
2692         http/tests/security/resources/video-cross-origin-allow-credentials.php:
2693         Added. Script that serves test video for
2694         canvas-remote-read-remote-video-allowed-with-credentials.html.
2695         * media/video-canvas-createPattern-expected.txt: Added.
2696         * media/video-canvas-createPattern.html: Added. Naive test that
2697         ensures functionality of createPattern() with HTMLVideoElement
2698         argument.
2699         * platform/ios-simulator-wk1/TestExpectations: Added
2700         canvas-remote-read-remote-video-allowed-anonymous.html and
2701         canvas-remote-read-remote-video-allowed-with-credentials.html.
2702         * platform/ios-simulator-wk2/TestExpectations: Same as wk1.
2703         * platform/mac/TestExpectations: Same as wk1.
2704         * platform/mac/media/video-canvas-createPattern-expected.png: Added.
2705         * platform/win/TestExpectations: Same as wk1.
2706         * platform/wk2/TestExpectations: Same as wk1.
2707
2708 2016-06-06  Commit Queue  <commit-queue@webkit.org>
2709
2710         Unreviewed, rolling out r201706.
2711         https://bugs.webkit.org/show_bug.cgi?id=158427
2712
2713         This change broke the Yosemite build and its LayoutTest is
2714         failing on Mac and iOS testers (Requested by ryanhaddad on
2715         #webkit).
2716
2717         Reverted changeset:
2718
2719         "Add experimental support for spring based CSS animations"
2720         https://bugs.webkit.org/show_bug.cgi?id=158403
2721         http://trac.webkit.org/changeset/201706
2722
2723 2016-06-03  Oliver Hunt  <oliver@apple.com>
2724
2725         RegExp unicode parsing reads an extra character before failing
2726         https://bugs.webkit.org/show_bug.cgi?id=158376
2727
2728         Reviewed by Saam Barati.
2729
2730         Add a couple of tests.
2731
2732         * js/script-tests/regexp-unicode.js:
2733
2734 2016-06-06  Chris Dumez  <cdumez@apple.com>
2735
2736         Crash under JSObject::getOwnPropertyDescriptor()
2737         https://bugs.webkit.org/show_bug.cgi?id=158382
2738         <rdar://problem/26605004>
2739
2740         Reviewed by Mark Lam.
2741
2742         Add layout test to cover the crash in JSObject::getOwnPropertyDescriptor().
2743
2744         * js/dom/getOwnPropertyDescriptor-crash-expected.txt: Added.
2745         * js/dom/getOwnPropertyDescriptor-crash.html: Added.
2746
2747 2016-06-06  Javier Fernandez  <jfernandez@igalia.com>
2748
2749         [css-grid] Horizontal scroll must account for grid container's height
2750         https://bugs.webkit.org/show_bug.cgi?id=157971
2751
2752         Reviewed by Darin Adler.
2753
2754         Test to verify we account horizontal scrollbar's size for grid container's
2755         height computation.
2756
2757         * fast/css-grid-layout/grid-container-scroll-accounts-for-sizing-expected.html: Added.
2758         * fast/css-grid-layout/grid-container-scroll-accounts-for-sizing.html: Added.
2759
2760 2016-06-05  Sam Weinig  <sam@webkit.org>
2761
2762         Add experimental support for spring based CSS animations
2763         https://bugs.webkit.org/show_bug.cgi?id=158403
2764
2765         Reviewed by Dean Jackson.
2766
2767         * animations/script-tests/spring-computed-style.js: Added.
2768         * animations/script-tests/spring-parsing.js: Added.
2769         * animations/spring-computed-style-expected.txt: Added.
2770         * animations/spring-computed-style.html: Added.
2771         * animations/spring-function-expected.txt: Added.
2772         * animations/spring-function.html: Added.
2773         * animations/spring-parsing-expected.txt: Added.
2774         * animations/spring-parsing.html: Added.
2775         Add tests for the spring timing function.
2776
2777 2016-06-05  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2778
2779         Unreviewed EFL gardening on June 6. Unskip passing tests and mark failing tests.
2780         New bug is filed for new failing tests.
2781
2782         * platform/efl/TestExpectations:
2783
2784 2016-06-05  Gavin & Ellie Barraclough  <barraclough@apple.com>
2785
2786         Deprecate remaining uses of Lookup getStatic*, use HasStaticPropertyTable instead.
2787         https://bugs.webkit.org/show_bug.cgi?id=158178
2788
2789         Reviewed by Darin Adler.
2790
2791         As of bug #158059 most JSC static table property access no longer requires getOwnPropertySlot to be
2792         overridden. Port remaining calls to the getStatic* functions in Lookup.h over to the new mechanism.
2793
2794         Switch JSGlobalObject & WebCore DOM instance bindings to use HasStaticPropertyTable.
2795
2796         * fast/dom/unforgeable-attributes-expected.txt:
2797             - Progression, similar to the getOwnPropertyDescriptor test below. Previously we
2798               were reporting an error with a message appropriate to a disallowed value->value
2799               redefinition. This is actually a disallowed accessor->value reconfiguration, now
2800               reporting the correct error message for this.
2801         * http/tests/security/cross-origin-window-property-access-expected.txt:
2802             - Newly reporting previously missing CORS error.
2803         * js/dom/getOwnPropertyDescriptor-expected.txt:
2804         * js/resources/getOwnPropertyDescriptor.js:
2805             - This test was previously incorrect - was expecting window.window property to
2806               reflect as a value decriptor. This now reflect as an accesor descriptor. New
2807               behaviour is correct per spec & matches Firefox.
2808
2809 2016-06-05  Antti Koivisto  <antti@apple.com>
2810
2811         TextIterator should ignore non-visible frames in findPlainText
2812         https://bugs.webkit.org/show_bug.cgi?id=158395
2813
2814         Reviewed by Dan Bernstein and Darin Adler.
2815
2816         * editing/text-iterator/count-matches-in-frames-expected.txt: Added.
2817         * editing/text-iterator/count-matches-in-frames.html: Added.
2818         * imported/blink/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash-width.html: Non-rendered whitespace change.
2819
2820 2016-06-04  Brady Eidson  <beidson@apple.com>
2821
2822         Modern IDB: Add -private.html variants of crypto/subtle IndexedDB tests.
2823         https://bugs.webkit.org/show_bug.cgi?id=153323
2824
2825         Reviewed by Darin Adler.
2826
2827         * crypto/subtle/resources/rsa-indexeddb-non-exportable.js: Copied from LayoutTests/crypto/subtle/rsa-indexeddb-non-exportable.html.
2828         * crypto/subtle/resources/rsa-indexeddb.js: Copied from LayoutTests/crypto/subtle/rsa-indexeddb.html.
2829
2830         * crypto/subtle/rsa-indexeddb-non-exportable-private-expected.txt: Added.
2831         * crypto/subtle/rsa-indexeddb-non-exportable-private.html: Added.
2832         * crypto/subtle/rsa-indexeddb-non-exportable.html:
2833         * crypto/subtle/rsa-indexeddb-private-expected.txt: Added.
2834         * crypto/subtle/rsa-indexeddb-private.html: Added.
2835         * crypto/subtle/rsa-indexeddb.html:
2836
2837 2016-06-04  Alexey Proskuryakov  <ap@apple.com>
2838
2839         REGRESSION (r201263): Some tests have become flaky timeouts.
2840         https://bugs.webkit.org/show_bug.cgi?id=157990
2841
2842         Reviewed by Darin Adler.
2843
2844         * platform/mac-wk2/TestExpectations:
2845         * platform/mac/TestExpectations:
2846
2847 2016-06-04  Joseph Pecoraro  <pecoraro@apple.com>
2848
2849         Add better basic isNaN test coverage
2850         https://bugs.webkit.org/show_bug.cgi?id=158379
2851
2852         Reviewed by Benjamin Poulain.
2853
2854         * js/Number-isNaN-expected.txt: Added.
2855         * js/Number-isNaN.html: Added.
2856         * js/global-isNaN-expected.txt: Added.
2857         * js/global-isNaN.html: Added.
2858         * js/script-tests/Number-isNaN.js: Added.
2859         (objectWithNumberValueOf.valueOf):
2860         (objectWithNaNValueOf.valueOf):
2861         (objectRecordConversionCalls.toString):
2862         (objectRecordConversionCalls.valueOf):
2863         * js/script-tests/global-isNaN.js: Added.
2864         (objectConvertToString.toString):
2865         (objectRecordToStringCall.toString):
2866         (objectThrowOnToString.toString):
2867         (objectWithValueOf.valueOf):
2868         (objectThrowOnValueOf.valueOf):
2869         (objectThrowOnValueOf.toString):
2870         (objectRecordValueOfCall.valueOf):
2871         (objectRecordConversionCalls.toString):
2872         (objectRecordConversionCalls.valueOf):
2873         * js/script-tests/math-clz32.js:
2874
2875 2016-06-04  Brent Fulgham  <bfulgham@apple.com>
2876
2877         CSP: Content Security Policy directive, upgrade-insecure-requests (UIR)
2878         https://bugs.webkit.org/show_bug.cgi?id=143653
2879         <rdar://problem/23032067>
2880
2881         Reviewed by Andy Estes.
2882
2883         Some of these tests are based on a set of Blink patches by Mike West <mkwst@chromium.org>.
2884         <https://src.chromium.org/viewvc/blink?revision=192607&view=revision>,
2885         <https://codereview.chromium.org/1178093002>, <https://codereview.chromium.org/1964303003>
2886
2887         The rest of them are based on our own mixedContent tests, revised for upgraded requests.
2888
2889         Note that WebSockets are not part of this testing at present due to https://bugs.webkit.org/show_bug.cgi?id=157884.
2890
2891         * http/tests/security/contentSecurityPolicy/report-only-upgrade-insecure.php: Added.
2892         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests: Added.
2893         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade-cors.https-expected.txt: Added.
2894         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade-cors.https.html: Added.
2895         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https-expected.txt: Added.
2896         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html: Added.
2897         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/form-upgrade-expected.txt: Added.
2898         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/form-upgrade.html: Added.
2899         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-auxiliary-expected.txt: Added.
2900         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-auxiliary.html: Added.
2901         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-nested-expected.txt: Added.
2902         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-nested.html: Added.
2903         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-subresource-expected.txt: Added.
2904         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-subresource.html: Added.
2905         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-top-level-expected.txt: Added.
2906         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-top-level.html: Added.
2907         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Added.
2908         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https.html: Added.
2909         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt: Added.
2910         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades.html: Added.
2911         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades-expected.txt: Added.
2912         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades.html: Added.
2913         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources: Added.
2914         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/basic-upgrade-cors.https.html: Added.
2915         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/check-https-header.pl: Added.
2916         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/echo-https-header.pl: Added.
2917         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-audio-video.html: Added.
2918         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-css.html: Added.
2919         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-image.html: Added.
2920         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-redirect-http-to-https-script.html: Added.
2921         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-redirect-https-to-http-script.html: Added.
2922         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/insecure-xhr-in-main-frame-window.html: Added.
2923         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/mixed-content-with-upgrade.html: Added.
2924         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/post-https-header.pl: Added.
2925         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-audio-video-in-main-frame-expected.txt: Added.
2926         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-audio-video-in-main-frame.html: Added.
2927         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe-expected.txt: Added.
2928         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe.html: Added.
2929         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-image-in-main-frame-expected.txt: Added.
2930         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-image-in-main-frame.html: Added.
2931         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-xhr-in-main-frame-expected.txt: Added.
2932         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-xhr-in-main-frame.html: Added.
2933         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe-expected.txt: Added.
2934         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe.html: Added.
2935         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe-expected.txt: Added.
2936         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe.html: Added.
2937         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrades-mixed-content-expected.txt: Added.
2938         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrades-mixed-content.html: Added.
2939         * http/tests/security/resources/post-origin-to-parent.html: Added.
2940         * http/tests/ssl/iframe-upgrade.https-expected.txt: Added.
2941         * http/tests/ssl/iframe-upgrade.https.html: Added.
2942         * http/tests/ssl/upgrade-origin-usage-expected.txt: Added.
2943         * http/tests/ssl/upgrade-origin-usage.html: Added.
2944         * http/tests/ssl/resources/origin-usage-iframe-1.html: Added.
2945         * http/tests/ssl/resources/origin-usage-iframe-1.manifest: Added.
2946         * http/tests/ssl/resources/origin-usage-iframe-2.html: Added.
2947         * http/tests/ssl/resources/origin-usage-iframe-2.manifest: Added.
2948         * http/tests/websocket/tests/hybi/upgrade-simple-ws-expected.txt: Added.
2949         * http/tests/websocket/tests/hybi/upgrade-simple-ws.html: Added.
2950         * TestExpectations: Skip http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-simple-ws.html since the
2951         WebSocket server does not currently support wss sockets.
2952
2953 2016-06-03  Myles C. Maxfield  <mmaxfield@apple.com>
2954
2955         Bopomofo ruby in Dictionary.app is written horizontally (when it should be written vertically)
2956         https://bugs.webkit.org/show_bug.cgi?id=158245
2957         <rdar://problem/25675318>
2958
2959         Reviewed by Darin Adler.
2960
2961         Rebaselined fast/table/border-collapsing/004-vertical.html to show a progression.
2962
2963         * fast/text/orthogonal-writing-mode-containing-block-frameView-resize-relayout-expected.html: Added.
2964         * fast/text/orthogonal-writing-mode-containing-block-frameView-resize-relayout.html: Added.
2965         * platform/mac/fast/table/border-collapsing/004-vertical-expected.png: Rebased
2966         * platform/mac/fast/table/border-collapsing/004-vertical-expected.txt: Rebased
2967
2968 2016-06-03  Myles C. Maxfield  <mmaxfield@apple.com>
2969
2970         Text not visible while external font downloading
2971         https://bugs.webkit.org/show_bug.cgi?id=25207
2972         <rdar://problem/15167413>
2973
2974         Reviewed by Dean Jackson.
2975
2976         * fast/text/web-font-load-fallback-during-loading-no-multiple-expected.txt: Added.
2977         * fast/text/web-font-load-fallback-during-loading-no-multiple.html: Added.
2978         * fast/text/web-font-load-fallback-during-loading-expected.html: Added.
2979         * fast/text/web-font-load-fallback-during-loading.html: Added.
2980
2981 2016-06-03  Benjamin Poulain  <bpoulain@apple.com>
2982
2983         JSON.stringify replacer function calls with numeric array indices
2984         https://bugs.webkit.org/show_bug.cgi?id=158262
2985
2986         Reviewed by Saam Barati.
2987
2988         * js/JSON-stringify-exposes-array-indices-as-strings-expected.txt: Added.
2989         * js/JSON-stringify-exposes-array-indices-as-strings.html: Added.
2990         * js/script-tests/JSON-stringify-exposes-array-indices-as-strings.js: Added.
2991         (replacer):
2992         (testObject.toJSON):
2993         (toJSONArrayHelper):
2994         * js/resources/JSON-stringify.js:
2995         * js/dom/JSON-stringify-expected.txt:
2996         Update the test results for the native implementation.
2997
2998 2016-06-03  Ryosuke Niwa  <rniwa@webkit.org>
2999
3000         Crash under VisibleSelection::firstRange()
3001         https://bugs.webkit.org/show_bug.cgi?id=158241
3002
3003         Reviewed by Enrica Casucci.
3004
3005         Added a regression test.
3006
3007         * fast/shadow-dom/selection-at-shadow-root-crash-expected.txt: Added.
3008         * fast/shadow-dom/selection-at-shadow-root-crash.html: Added.
3009
3010 2016-06-03  Zalan Bujtas  <zalan@apple.com>
3011
3012         Incorrect rendering on boostmobile FAQ page
3013         https://bugs.webkit.org/show_bug.cgi?id=158303
3014         <rdar://problem/26603462>
3015
3016         Reviewed by Chris Dumez.
3017
3018         Initial value for background-color is 'transparent'. see https://drafts.csswg.org/css-backgrounds-3/#background-color
3019
3020         * fast/selectors/non-visited-link-backround-color-expected.html: Added.
3021         * fast/selectors/non-visited-link-backround-color.html: Added.
3022
3023 2016-06-03  Chris Dumez  <cdumez@apple.com>
3024
3025         CanvasRenderingContext2D.createPattern() / putImageData() throw wrong exception type
3026         https://bugs.webkit.org/show_bug.cgi?id=158322
3027
3028         Reviewed by Ryosuke Niwa.
3029
3030         Update several outdated layout tests.
3031
3032         * canvas/philip/tests/2d.imageData.put.null.html:
3033         * canvas/philip/tests/2d.pattern.image.null.html:
3034         * canvas/philip/tests/2d.pattern.image.undefined.html:
3035
3036 2016-06-03  Ryan Haddad  <ryanhaddad@apple.com>
3037
3038         Marking fast/scrolling/scroll-container-horizontally.html as flaky on mac-wk2 and ios-simulator-wk1
3039         https://bugs.webkit.org/show_bug.cgi?id=158237
3040
3041         Unreviewed test gardening.
3042
3043         * platform/ios-simulator-wk1/TestExpectations:
3044         * platform/mac-wk2/TestExpectations:
3045
3046 2016-06-03  Brady Eidson  <beidson@apple.com>
3047
3048         LayoutTest imported/w3c/indexeddb/idbcursor-advance-continue-async.htm is flaky on Yosemite WK2
3049         https://bugs.webkit.org/show_bug.cgi?id=154606
3050
3051         Reviewed by Alex Christensen.
3052
3053         * platform/mac-wk2/TestExpectations: Remove expectations. Test has been working great for quite awhile.
3054
3055 2016-06-03  Brady Eidson  <beidson@apple.com>
3056
3057         storage/indexeddb/intversion-open-in-upgradeneeded.html is flaky on mac.
3058         https://bugs.webkit.org/show_bug.cgi?id=155050
3059
3060         Reviewed by Alex Christensen.
3061
3062         The test no longer crashes/times out, but it does have text failures.
3063         Resolve them by removing a race in the test itself.
3064         
3065         * platform/mac-wk2/TestExpectations:
3066         * storage/indexeddb/intversion-open-in-upgradeneeded-expected.txt:
3067         * storage/indexeddb/intversion-open-in-upgradeneeded-private-expected.txt:
3068         * storage/indexeddb/resources/intversion-open-in-upgradeneeded.js:
3069
3070 2016-06-03  Antoine Quint  <graouts@apple.com>
3071
3072         Reflection of element does not respect backdrop-filter property
3073         https://bugs.webkit.org/show_bug.cgi?id=158201
3074
3075         Reviewed by Dean Jackson.
3076
3077         * css3/filters/backdrop/backdrop-filter-with-reflection-add-backdrop-expected.html: Added.
3078         * css3/filters/backdrop/backdrop-filter-with-reflection-add-backdrop.html: Added.
3079
3080         Covers the case where a reflected element without a backdrop-filter initially has one added later.
3081
3082         * css3/filters/backdrop/backdrop-filter-with-reflection-expected.html: Added.
3083         * css3/filters/backdrop/backdrop-filter-with-reflection-remove-backdrop-expected.html: Added.
3084
3085         Covers the case where a reflected element with a backdrop-filter initially has it removed later.
3086
3087         * css3/filters/backdrop/backdrop-filter-with-reflection-remove-backdrop.html: Added.
3088         * css3/filters/backdrop/backdrop-filter-with-reflection-value-change-expected.html: Added.
3089
3090         Covers the case where a reflected element with a backdrop-filter has its backdrop-filter property changed later.
3091
3092         * css3/filters/backdrop/backdrop-filter-with-reflection-value-change.html: Added.
3093         * css3/filters/backdrop/backdrop-filter-with-reflection.html: Added.
3094
3095         Covers the basic case of a reflected element with a backdrop-filter.
3096
3097 2016-06-03  Antoine Quint  <graouts@apple.com>
3098
3099         REGRESSION: WebGL doesn't show up in CSS reflections
3100         https://bugs.webkit.org/show_bug.cgi?id=76489
3101
3102         Reviewed by Dean Jackson.
3103
3104         Update the expected rendering to contain the reflected WebGL <canvas>.
3105
3106         * platform/mac/compositing/webgl/webgl-reflection-expected.png:
3107
3108 2016-06-02  Zalan Bujtas  <zalan@apple.com>
3109
3110         Repaint issue with vertical text in an out of flow container.
3111         https://bugs.webkit.org/show_bug.cgi?id=102665
3112         <rdar://problem/26605298>
3113
3114         Reviewed by David Hyatt.
3115
3116         Since the renderer’s offset for positioned objects is always physical, we only
3117         need to flip the repaint rect(always logical) for writing root, when we see the first positioned object.
3118         All subsequent writing root changes for positioned objects are okay and they don't need flipping.
3119
3120         * fast/repaint/vertical-text-repaint-expected.txt: Added.
3121         * fast/repaint/vertical-text-repaint.html: Added.
3122
3123 2016-06-02  Benjamin Poulain  <bpoulain@apple.com>
3124
3125         Fix a typo in the clz32() tests
3126
3127         Rubber-stamped by Joseph Pecoraro.
3128
3129         Joe found a bug in math-clz32.js: I typed INFINITI instead of INFINITY.
3130         The tests was effectively checking "undefined" instead of infinity.
3131
3132         * js/math-clz32-expected.txt:
3133         * js/script-tests/math-clz32.js:
3134         (objectRecordConversionCalls.valueOf):
3135
3136 2016-06-02  Chris Dumez  <cdumez@apple.com>
3137
3138         [WebIDL] 'undefined' should be an acceptable value for nullable parameters
3139         https://bugs.webkit.org/show_bug.cgi?id=158321
3140
3141         Reviewed by Ryosuke Niwa.
3142
3143         Rebaseline existing test that is now passing.
3144
3145         * canvas/philip/tests/2d.pattern.image.undefined-expected.txt:
3146
3147 2016-06-02  Oliver Hunt  <oliver@apple.com>
3148
3149         JS parser incorrectly handles invalid utf8 in error messages.
3150         https://bugs.webkit.org/show_bug.cgi?id=158128
3151
3152         Reviewed by Saam Barati.
3153
3154         Add a testcase.
3155
3156         * js/invalid-utf8-in-syntax-error-expected.txt: Added.
3157         * js/script-tests/invalid-utf8-in-syntax-error.js: Added.
3158
3159 2016-06-02  Michael Saboff  <msaboff@apple.com>
3160
3161         REGRESSION(r200694): %ThrowTypeError% is not unique
3162         https://bugs.webkit.org/show_bug.cgi?id=158231
3163
3164         Reviewed by Joseph Pecoraro.
3165
3166         Rebased tests for the new TypeError messages.
3167         Added a new test, throw-type-error-is-unique.html.
3168
3169         * inspector/runtime/getProperties-expected.txt:
3170         * js/basic-strict-mode-expected.txt:
3171         * js/caller-property-expected.txt:
3172         * js/class-method-and-constructor-properties-expected.txt:
3173         * js/script-tests/caller-property.js:
3174         (strictCaller):
3175         (strictTailCaller):
3176         * js/script-tests/class-method-and-constructor-properties.js:
3177         (F.prototype.getElement):
3178         (F):
3179         (G.prototype.get item):
3180         (G):
3181         (H.prototype.arguments):
3182         (H):
3183         * js/script-tests/throw-type-error-is-unique.js: Added.
3184         (ThrowTypeErrorSource):
3185         (ThrowTypeErrorSource.prototype.checkTypeErrorFunctions):
3186         (A):
3187         (strictArguments):
3188         (test):
3189         * js/throw-type-error-is-unique-expected.txt: Added.
3190         * js/throw-type-error-is-unique.html: Added.
3191
3192 2016-06-02  Daniel Bates  <dabates@apple.com>
3193
3194         Fix a couple of mistakes in CSSParserValue memory management
3195         https://bugs.webkit.org/show_bug.cgi?id=158307
3196         <rdar://problem/26127225>
3197
3198         Reviewed by Darin Adler.
3199
3200         * fast/css/calc-with-two-variables-crash-expected.txt: Added.
3201         * fast/css/calc-with-two-variables-crash.html: Added.
3202
3203 2016-06-02  Said Abou-Hallawa  <sabouhallawa@apple.com>
3204
3205         SVG content renders in incorrect vertical position when padding-left is not specified
3206         https://bugs.webkit.org/show_bug.cgi?id=158234
3207
3208         Reviewed by Darin Adler.
3209
3210         Make sure the SVG root element is positioned correctly when either the sum
3211         of its (leftPadding + rightPadding) or the sum of its (topPadding + bottomPadding)
3212         is equal to zero.
3213
3214         * svg/custom/svg-root-padding-individual-expected.html: Added.
3215         * svg/custom/svg-root-padding-individual.html: Added.
3216
3217 2016-06-02  Adam Bergkvist  <adam.bergkvist@ericsson.com>
3218
3219         WebRTC: Update RTCPeerConnection.addTrack() to create (or reuse) an RTCRtpTransceiver
3220         https://bugs.webkit.org/show_bug.cgi?id=158191
3221
3222         Reviewed by Eric Carlson.
3223
3224         Extend existing test to verify the created RTCRtpTransceiver object.
3225
3226         * fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt:
3227         * fast/mediastream/RTCPeerConnection-add-removeTrack.html:
3228         Add checks for bad argument lists and verify the created RTCRtpTransceiver.
3229
3230 2016-06-02  Per Arne Vollan  <pvollan@apple.com>
3231
3232         Unreviewed test gardening.
3233         
3234         Unskip websocket tests passing after r201500.
3235
3236         * platform/win/TestExpectations:
3237
3238 2016-06-02  Per Arne Vollan  <pvollan@apple.com>
3239
3240         Unreviewed test gardening.
3241         
3242         The test storage/indexeddb/modern/blob-simple.html is passing.
3243
3244         * platform/win/TestExpectations:
3245
3246 2016-06-02  Javier Fernandez  <jfernandez@igalia.com>
3247
3248         Unreviewed GTK+ gardening Additional rebaseline after r201397.
3249
3250         Added reference files for pixel tests.
3251
3252         * fast/forms/search-input-rtl-expected.txt:
3253         * platform/gtk/fast/css/text-overflow-input-expected.png:
3254         * platform/gtk/fast/forms/placeholder-position-expected.png:
3255         * platform/gtk/fast/forms/search-input-rtl-expected.png: Added.
3256         * platform/gtk/fast/forms/search-rtl-expected.png:
3257
3258 2016-06-01  Benjamin Poulain  <bpoulain@apple.com>
3259
3260         [JSC] Some setters for components of Date do not timeClip() their result
3261         https://bugs.webkit.org/show_bug.cgi?id=158278
3262         rdar://problem/25131426
3263
3264         Reviewed by Geoffrey Garen.
3265
3266         New test coverage for large values.
3267
3268         Note that some of those tests are still failing with this patch.
3269
3270         The reason is our code handling month and years is unable to deal
3271         with values outside int32.
3272         Changing that is a bit more complicated due to the number of users
3273         of DateMath. I leave that for the future.
3274
3275         * js/date-timeClip-large-values-expected.txt: Added.
3276         * js/date-timeClip-large-values.html: Added.
3277         * js/script-tests/date-timeClip-large-values.js: Added.
3278
3279 2016-06-01  Chris Fleizach  <cfleizach@apple.com>
3280
3281         AX: iOS: VoiceOver can't access attachments in mail messages
3282         https://bugs.webkit.org/show_bug.cgi?id=158198
3283
3284         Reviewed by Joanmarie Diggs.
3285
3286         * accessibility/ios-simulator/attributed-string-for-range.html: Added.
3287
3288 2016-06-01  Commit Queue  <commit-queue@webkit.org>
3289
3290         Unreviewed, rolling out r201488.
3291         https://bugs.webkit.org/show_bug.cgi?id=158268
3292
3293         Caused 23% regression on JetStream's crypto-md5 (Requested by
3294         rniwa on #webkit).
3295
3296         Reverted changeset:
3297
3298         "[ESNext] Support trailing commas in function param lists"
3299         https://bugs.webkit.org/show_bug.cgi?id=158020
3300         http://trac.webkit.org/changeset/201488
3301
3302 2016-06-01  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
3303
3304         POST request on a blob resource should return a "network error" instead of HTTP 500 response
3305         https://bugs.webkit.org/show_bug.cgi?id=158022
3306
3307         Reviewed by Alex Christensen.
3308
3309         Make sure response to XHR request on blob is correct.
3310
3311         * fast/files/xhr-blob-request-expected.txt: Added.
3312         * fast/files/xhr-blob-request.html: Added.
3313
3314 2016-06-01  Javier Fernandez  <jfernandez@igalia.com>
3315
3316         Unreviewed GTK+ gardening. Rebaseline several tests after r201397.
3317
3318         We correctly render search field's cancel and result button for RTL content.
3319
3320         * fast/forms/search-input-rtl-expected.txt: Added.
3321         * platform/gtk/fast/css/text-overflow-input-expected.txt:
3322         * platform/gtk/fast/forms/placeholder-position-expected.txt:
3323         * platform/gtk/fast/forms/search-rtl-expected.txt:
3324
3325 2016-06-01  Adam Bergkvist  <adam.bergkvist@ericsson.com>
3326
3327         WebRTC: Add RTCRtpTransceiver interface and RTCPeerConnection.addTransceiver()
3328         https://bugs.webkit.org/show_bug.cgi?id=158189
3329
3330         Reviewed by Darin Adler.
3331
3332         Added test for RTCPeerConnection.addTransceiver().
3333
3334         * fast/mediastream/RTCPeerConnection-addTransceiver-expected.txt: Added.
3335         * fast/mediastream/RTCPeerConnection-addTransceiver.html: Added.
3336         Test creating several RTCRtpTransceivers with various configurations and inspect the result.
3337         * platform/mac/TestExpectations:
3338         Skip the new test since the Mac port currently doesn't build with WebRTC support.
3339
3340 2016-06-01  Manuel Rego Casasnovas  <rego@igalia.com>
3341
3342         [css-grid] Positioned items can be placed on the implicit grid
3343         https://bugs.webkit.org/show_bug.cgi?id=158197
3344
3345         Reviewed by Sergio Villar Senin.
3346
3347         Updated the test to follow the expected behavior.
3348
3349         * fast/css-grid-layout/grid-positioned-items-within-grid-implicit-track-expected.txt:
3350         * fast/css-grid-layout/grid-positioned-items-within-grid-implicit-track.html:
3351
3352 2016-05-31  Dave Hyatt  <hyatt@apple.com>
3353
3354         REGRESSION(r201040): Repainting of moving overflow:hidden objects is broken.
3355         https://bugs.webkit.org/show_bug.cgi?id=158079
3356
3357         Reviewed by Zalan Bujtas.
3358
3359         * fast/repaint/overflow-hidden-movement-expected.txt: Added.
3360         * fast/repaint/overflow-hidden-movement.html: Added.
3361
3362 2016-05-31  Eric Carlson  <eric.carlson@apple.com>
3363
3364         [Mac] AirPlay route is sometimes reset when changing video.src
3365         https://bugs.webkit.org/show_bug.cgi?id=158226
3366         <rdar://problem/24197592>
3367
3368         Reviewed by Jer Noble.
3369
3370         * media/airplay-autoplay-expected.txt: Added.
3371         * media/airplay-autoplay.html: Added.
3372
3373 2016-05-31  Dave Hyatt  <hyatt@apple.com>
3374
3375         REGRESSION (r189567): Elements with aspect ratios not handled correctly inside flexbox.
3376         https://bugs.webkit.org/show_bug.cgi?id=158040
3377
3378         Reviewed by Zalan Bujtas.
3379
3380         * fast/flexbox/aspect-ratio-intrinsic-adjust-expected.html: Added.
3381         * fast/flexbox/aspect-ratio-intrinsic-adjust.html: Added.
3382         * fast/flexbox/resources/subjects_sm.png: Added.
3383
3384 2016-05-25  Sergio Villar Senin  <svillar@igalia.com>
3385
3386         [css-grid] Empty grid without explicit tracks shouldn't have any size
3387         https://bugs.webkit.org/show_bug.cgi?id=155197
3388
3389         Reviewed by Darin Adler.
3390
3391         Make sure that empty grids (and grids with one empty axis) are properly handled. Do also
3392         verify that removing all the items from a grid also generates an correct empty grid.
3393
3394         * fast/css-grid-layout/empty-grid-expected.txt: Added.
3395         * fast/css-grid-layout/empty-grid.html: Added.
3396
3397 2016-05-30  Per Arne Vollan  <pvollan@apple.com>
3398
3399         Unreviewed test gardening.
3400         
3401         After the crash fix in r201500, update the test expectations for 
3402         http/tests/websocket/tests/hybi/stop-on-resume-in-error-handler.html.
3403
3404         * platform/win/TestExpectations:
3405
3406 2016-05-30  Javier Fernandez  <jfernandez@igalia.com>
3407
3408         [CSS Box Alignment] New CSS Value 'normal' for Self Alignment
3409         https://bugs.webkit.org/show_bug.cgi?id=156254
3410
3411         Reviewed by Darin Adler.
3412
3413         Changes in the already defined tests for the alignment properties to
3414         consider the new CSS value 'normal', which is the default for align-items
3415         and the value to resolve 'auto' when there is no parent.
3416
3417         Added a new test to verify the Self-Alignment properties work as expected
3418         with root elements.
3419
3420         * css3/flexbox/css-properties-expected.txt:
3421         * css3/flexbox/css-properties.html:
3422         * css3/parse-align-items-expected.txt:
3423         * css3/parse-align-items.html:
3424         * css3/parse-align-self-expected.txt:
3425         * css3/parse-align-self.html:
3426         * css3/parse-alignment-of-root-elements-expected.txt: Added.
3427         * css3/parse-alignment-of-root-elements.html: Added.
3428         * fast/css/getComputedStyle/computed-style-expected.txt:
3429         * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
3430         * fast/css/parse-justify-items-expected.txt:
3431         * fast/css/parse-justify-items.html:
3432         * fast/css/parse-justify-self-expected.txt:
3433         * fast/css/parse-justify-self.html:
3434         * fast/css/resources/alignment-parsing-utils.js:
3435         * svg/css/getComputedStyle-basic-expected.txt:
3436         (checkBadValues):
3437         * svg/css/getComputedStyle-basic-expected.txt:
3438
3439 2016-05-25  Skachkov Oleksandr  <gskachkov@gmail.com>
3440
3441         [ESNext] Support trailing commas in function param lists
3442         https://bugs.webkit.org/show_bug.cgi?id=158020
3443
3444         Reviewed by Keith Miller.
3445
3446         * js/parser-syntax-check-expected.txt:
3447         * js/script-tests/parser-syntax-check.js:
3448         * sputnik/Conformance/13_Function_Definition/S13_A5.html:
3449
3450 2016-05-27  Zalan Bujtas  <zalan@apple.com>
3451
3452         EventHandler finds incorrect scrollable container.
3453         https://bugs.webkit.org/show_bug.cgi?id=158132
3454         <rdar://problem/26423126>
3455
3456         Reviewed by Brent Fulgham.
3457
3458         Fix the logic that checks whether we are at the beginning or at the end of the container (horizontally).
3459         While scrolling to the right, deltaX has negative values. So in case of deltaX < 0, we need to check if
3460         the container is not scrolled all the way to the right.
3461
3462         * fast/scrolling/scroll-container-horizontally-expected.txt: Added.
3463         * fast/scrolling/scroll-container-horizontally.html: Added.
3464         * platform/ios-simulator/TestExpectations:
3465         * platform/mac-wk1/TestExpectations:
3466
3467 2016-05-27  Saam barati  <sbarati@apple.com>
3468
3469         DebuggerCallFrame crashes when updated with the globalExec because neither ShadowChicken's algorithm nor StackVisitor's algorithm reasons about the globalExec
3470         https://bugs.webkit.org/show_bug.cgi?id=158104
3471
3472         Reviewed by Filip Pizlo.
3473
3474         * inspector/debugger/breakpoint-syntax-error-top-level-expected.txt: Added.
3475         * inspector/debugger/breakpoint-syntax-error-top-level.html: Added.
3476         * inspector/debugger/resources/file-with-syntax-error.js: Added.
3477
3478 2016-05-27  Brent Fulgham  <bfulgham@apple.com>
3479
3480         Unreviewed test fix after r201468.
3481
3482         Correct output handling to reduce flakiness on test bots.
3483
3484         * http/tests/security/contentSecurityPolicy/frame-src-cross-origin-load.html:
3485
3486 2016-05-26  Ryosuke Niwa  <rniwa@webkit.org>
3487
3488         Crash in TreeScope::focusedElement
3489         https://bugs.webkit.org/show_bug.cgi?id=158108
3490
3491         Reviewed by Enrica Casucci.
3492
3493         Added a regression test for accessing shadowRoot.activeElement after re-focusing an element
3494         inside DOMNodeRemovedFromDocument event and unload events.
3495