Implement the Web Share API for mac
[WebKit-https.git] / LayoutTests / ChangeLog
1 2018-09-11  Olivia Barnett  <obarnett@apple.com>
2
3         Implement the Web Share API for mac
4         https://bugs.webkit.org/show_bug.cgi?id=189443
5
6         Reviewed by Tim Horton.
7
8         * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: Added.
9         * platform/mac-wk2/imported/w3c/web-platform-tests/web-share/idlharness.https-expected.txt: Added.
10         * platform/mac-wk2/imported/w3c/web-platform-tests/web-share/share-empty.https-expected.txt: Added.
11         * platform/mac-wk2/imported/w3c/web-platform-tests/web-share/share-securecontext.http-expected.txt: Added.
12         * platform/mac-wk2/imported/w3c/web-platform-tests/web-share/share-url-invalid.https-expected.txt: Added.
13         * platform/mac-wk2/imported/w3c/web-platform-tests/web-share/share-without-user-gesture.https-expected.txt: Added.
14         Updated test expectations.
15
16 2018-09-11  Myles C. Maxfield  <mmaxfield@apple.com>
17
18         Unreviewed test fix after r235910
19         https://bugs.webkit.org/show_bug.cgi?id=188008
20
21         * platform/mac-wk1/TestExpectations:
22
23 2018-09-11  James Savage  <james.savage@apple.com>
24
25         Follow up to:
26         Expose -apple-system-container-border color to internal web views.
27         https://bugs.webkit.org/show_bug.cgi?id=189178.
28
29         Reviewed by Timothy Hatcher.
30
31         * platform/mac-highsierra/fast/css/apple-system-control-colors-expected.txt:
32         Reset test expectations to go along with fix.
33
34 2018-09-07  Dean Jackson  <dino@apple.com>
35
36         Add and expose Internal features from WebKit
37         https://bugs.webkit.org/show_bug.cgi?id=189442
38         <rdar://problem/44243404>
39
40         Reviewed by Simon Fraser.
41
42         Skip some tests that rely on an experimental feature that has
43         moved to internal. A follow-up patch will allow WKTR to enable
44         them on demand.
45
46         * platform/mac/TestExpectations:
47
48 2018-09-11  Jer Noble  <jer.noble@apple.com>
49
50         [MediaCapabilities] Implement MediaEngineConfigurationFactory registration
51         https://bugs.webkit.org/show_bug.cgi?id=189438
52
53         Reviewed by Eric Carlson.
54
55         * media/mediacapabilities/mediacapabilities-types-expected.txt:
56
57 2018-09-08  Ryosuke Niwa  <rniwa@webkit.org>
58
59         :first-child, :last-child, :nth-child, and :nth-of-type don't work on shadow root's children
60         https://bugs.webkit.org/show_bug.cgi?id=166748
61         <rdar://problem/29649177>
62
63         Reviewed by Yusuke Suzuki.
64
65         Added ref tests for matching positional pseudo classes on direct child of shadow roots
66         during style resolutions and DOM API matching with C++ selector checker and selector compilers.
67
68         Also added a test for invalidating these selectors.
69
70         * fast/shadow-dom/nth-node-on-shadow-child-expected.html: Added.
71         * fast/shadow-dom/nth-node-on-shadow-child-invalidation-expected.html: Added.
72         * fast/shadow-dom/nth-node-on-shadow-child-invalidation.html: Added.
73         * fast/shadow-dom/nth-node-on-shadow-child-no-jit-expected.html: Added.
74         * fast/shadow-dom/nth-node-on-shadow-child-no-jit.html: Added.
75         * fast/shadow-dom/nth-node-on-shadow-child.html: Added.
76
77 2018-09-11  Ryosuke Niwa  <rniwa@webkit.org>
78
79         Updated the test expectation as this test also causes a crash in release builds.
80
81         * TestExpectations:
82
83 2018-09-11  Wenson Hsieh  <wenson_hsieh@apple.com>
84
85         [macOS] [WK2] Support changing foreground colors via color panel
86         https://bugs.webkit.org/show_bug.cgi?id=189382
87         <rdar://problem/44227311>
88
89         Reviewed by Ryosuke Niwa.
90
91         Adjust an existing layout test that applies a text color with alpha. Currently, this results in a font element
92         being emitted with the `color` attribute, but this is incorrect, since the `color` attribute of a font element
93         does not support "rgba(…)" values.
94
95         Instead, split this into two cases: verify that setting the color to an opaque color (with alpha = 1) emits a
96         font element with the correct `color` attribute, and fall back to using an inline style when the color is
97         partially transparent.
98
99         * editing/style/inline-style-container-expected.txt:
100         * editing/style/inline-style-container.html:
101
102 2018-09-11  Justin Fan  <justin_fan@apple.com>
103
104         Update webkit-webgl-test-harness.js for more details on WebGL 2 conformance tests part 3
105         https://bugs.webkit.org/show_bug.cgi?id=189491
106
107         Reviewed by Dean Jackson.
108
109         Small update to the test-harness file used for the new 2.0.0 suite tests, as well as 
110         expectation updates for the unskipped tests. 
111
112         * webgl/2.0.0/conformance2/glsl3/array-as-return-value-expected.txt:
113         * webgl/2.0.0/conformance2/glsl3/array-assign-constructor-expected.txt:
114         * webgl/2.0.0/conformance2/glsl3/array-assign-expected.txt:
115         * webgl/2.0.0/conformance2/glsl3/array-complex-indexing-expected.txt:
116         * webgl/2.0.0/conformance2/glsl3/array-element-increment-expected.txt:
117         * webgl/2.0.0/conformance2/glsl3/array-equality-expected.txt:
118         * webgl/2.0.0/conformance2/glsl3/array-in-complex-expression-expected.txt:
119         * webgl/2.0.0/conformance2/glsl3/attrib-location-length-limits-expected.txt:
120         * webgl/2.0.0/conformance2/glsl3/bool-type-cast-bug-uint-ivec-uvec-expected.txt:
121         * webgl/2.0.0/conformance2/glsl3/compare-structs-containing-arrays-expected.txt:
122         * webgl/2.0.0/conformance2/glsl3/compound-assignment-type-combination-expected.txt:
123         * webgl/2.0.0/conformance2/glsl3/const-array-init-expected.txt:
124         * webgl/2.0.0/conformance2/glsl3/forbidden-operators-expected.txt:
125         * webgl/2.0.0/conformance2/glsl3/frag-depth-expected.txt:
126         * webgl/2.0.0/conformance2/glsl3/invalid-default-precision-expected.txt:
127         * webgl/2.0.0/conformance2/glsl3/invalid-invariant-expected.txt:
128         * webgl/2.0.0/conformance2/glsl3/loops-with-side-effects-expected.txt:
129         * webgl/2.0.0/conformance2/glsl3/misplaced-version-directive-expected.txt:
130         * webgl/2.0.0/conformance2/glsl3/no-attribute-vertex-shader-expected.txt:
131         * webgl/2.0.0/conformance2/glsl3/sampler-no-precision-expected.txt:
132         * webgl/2.0.0/conformance2/glsl3/sequence-operator-returns-non-constant-expected.txt:
133         * webgl/2.0.0/conformance2/glsl3/shader-linking-expected.txt:
134         * webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-define-expected.txt:
135         * webgl/2.0.0/conformance2/glsl3/shader-with-1024-character-identifier.frag-expected.txt:
136         * webgl/2.0.0/conformance2/glsl3/shader-with-1025-character-define-expected.txt:
137         * webgl/2.0.0/conformance2/glsl3/shader-with-1025-character-identifier.frag-expected.txt:
138         * webgl/2.0.0/conformance2/glsl3/shader-with-invalid-characters-expected.txt:
139         * webgl/2.0.0/conformance2/glsl3/shader-with-mis-matching-uniform-block-expected.txt:
140         * webgl/2.0.0/conformance2/glsl3/short-circuiting-in-loop-condition-expected.txt:
141         * webgl/2.0.0/conformance2/glsl3/texture-offset-out-of-range-expected.txt:
142         * webgl/2.0.0/conformance2/glsl3/texture-offset-uniform-texture-coordinate-expected.txt:
143         * webgl/2.0.0/conformance2/glsl3/tricky-loop-conditions-expected.txt:
144         * webgl/2.0.0/conformance2/glsl3/unary-minus-operator-in-dynamic-loop-expected.txt:
145         * webgl/2.0.0/conformance2/glsl3/uniform-block-layout-match-expected.txt:
146         * webgl/2.0.0/conformance2/glsl3/uniform-block-layouts-expected.txt:
147         * webgl/2.0.0/conformance2/glsl3/uniform-location-length-limits-expected.txt:
148         * webgl/2.0.0/conformance2/glsl3/valid-invariant-expected.txt:
149         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-expected.txt:
150         * webgl/2.0.0/conformance2/glsl3/vector-dynamic-indexing-nv-driver-bug-expected.txt:
151         * webgl/2.0.0/conformance2/renderbuffers/framebuffer-test-expected.txt:
152         * webgl/2.0.0/conformance2/vertex_arrays/vertex-array-object-expected.txt:
153         * webgl/2.0.0/resources/webkit-webgl-test-harness.js:
154         (list):
155         (window.webglTestHarness.reportResults):
156         (window.webglTestHarness.notifyFinished):
157
158 2018-09-11  Myles C. Maxfield  <mmaxfield@apple.com>
159
160         Crash under PlatformPopupMenuData::encode when interacting with a select menu that has variable fonts
161         https://bugs.webkit.org/show_bug.cgi?id=188008
162
163         Reviewed by Alex Christensen.
164
165         * fast/text/variations/ipc2-expected.txt: Added.
166         * fast/text/variations/ipc2.html: Added.
167
168 2018-09-11  Woodrow Wang  <woodrow_wang@apple.com>
169
170         Add Web API Statistics Collection
171         https://bugs.webkit.org/show_bug.cgi?id=187773
172         <rdar://problem/44155162>
173
174         Reviewed by Brent Fulgham.
175
176         Added new tests and expectations for the web API statistics data collection.
177
178         * TestExpectations:
179         * http/tests/webAPIStatistics/canvas-read-and-write-data-collection-expected.txt: Added.
180         * http/tests/webAPIStatistics/canvas-read-and-write-data-collection.html: Added.
181         * http/tests/webAPIStatistics/font-load-data-collection-expected.txt: Added.
182         * http/tests/webAPIStatistics/font-load-data-collection.html: Added.
183         * http/tests/webAPIStatistics/navigator-functions-accessed-data-collection-expected.txt: Added.
184         * http/tests/webAPIStatistics/navigator-functions-accessed-data-collection.html: Added.
185         * http/tests/webAPIStatistics/screen-functions-accessed-data-collection-expected.txt: Added.
186         * http/tests/webAPIStatistics/screen-functions-accessed-data-collection.html: Added.
187         * platform/ios-wk2/TestExpectations:
188         * platform/mac-wk2/TestExpectations:
189
190 2018-09-11  Frederic Wang  <fwang@igalia.com>
191
192         Modify more tests to use document.scrollingElement to access viewport scroll properties
193         https://bugs.webkit.org/show_bug.cgi?id=189495
194
195         After r235806, it is wrong to use document.body to access scroll properties of the viewport
196         in standard mode. New tests added since r227781 are modified to use
197         document.scrollingElement instead and avoid flaky behavior. For consistency, we do the same
198         for old tests in quirks mode. Note that WPT tests as well as the following tests using
199         document.body on purpose are not modified:
200         - fast/dom/Element/*
201         - events/scroll-in-scaled-page-with-overflow-hidden.html
202         - compositing/ios/overflow-scroll-update-overlap.html
203         - body-stuck-with-dirty-bit-with-columns.html
204
205         Reviewed by Antonio Gomes.
206
207         * compositing/rtl/rtl-absolute-overflow-scrolled.html:
208         * compositing/rtl/rtl-fixed-overflow-scrolled.html:
209         * editing/caret/ios/absolute-caret-position-after-scroll.html:
210         * editing/caret/ios/fixed-caret-position-after-scroll.html:
211         * editing/execCommand/delete-no-scroll.html:
212         * editing/input/resources/reveal-utilities.js:
213         (performJumpAtTheEdgeTest):
214         * editing/pasteboard/copy-crash.html:
215         * editing/selection/ios/absolute-selection-after-scroll.html:
216         * editing/selection/ios/fixed-selection-after-scroll.html:
217         * fast/autoresize/autoresize-with-iframe-expected.txt:
218         * fast/autoresize/autoresize-with-iframe.html:
219         * fast/autoresize/basic-expected.txt:
220         * fast/autoresize/basic.html:
221         * fast/autoresize/turn-off-autoresize-expected.txt:
222         * fast/autoresize/turn-off-autoresize.html:
223         * fast/css/element-scrollByLines-scrollByPages-obsolete.html:
224         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
225         * fast/dom/non-numeric-values-numeric-parameters.html:
226         * fast/dom/resources/check-scroll-position-onload.html:
227         * fast/dom/scroll-position-for-new-loads.html:
228         * fast/events/attempt-scroll-with-no-scrollbars.html:
229         * fast/events/fire-scroll-event.html:
230         * fast/events/frame-scroll-fake-mouse-move.html:
231         * fast/events/ios/no-touch-events-when-stopping-momentum-scroll-in-mainframe-expected.txt:
232         * fast/events/ios/no-touch-events-when-stopping-momentum-scroll-in-mainframe.html:
233         * fast/events/ios/touch-events-during-scroll-deceleration-in-overflow.html:
234         * fast/events/mouse-cursor-image-set.html:
235         * fast/events/mouse-cursor-multiframecur.html:
236         * fast/events/mouse-cursor.html:
237         * fast/events/no-scroll-on-input-text-selection-expected.txt:
238         * fast/events/no-scroll-on-input-text-selection.html:
239         * fast/events/platform-wheelevent-paging-x-in-non-scrolling-page-expected.txt:
240         * fast/events/platform-wheelevent-paging-x-in-non-scrolling-page.html:
241         * fast/events/platform-wheelevent-paging-x-in-scrolling-page-expected.txt:
242         * fast/events/platform-wheelevent-paging-x-in-scrolling-page.html:
243         * fast/events/platform-wheelevent-paging-xy-in-scrolling-page-expected.txt:
244         * fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html:
245         * fast/events/platform-wheelevent-paging-y-in-non-scrolling-page-expected.txt:
246         * fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html:
247         * fast/events/platform-wheelevent-paging-y-in-scrolling-page-expected.txt:
248         * fast/events/platform-wheelevent-paging-y-in-scrolling-page.html:
249         * fast/events/scale-and-scroll-body-expected.txt:
250         * fast/events/scale-and-scroll-body.html:
251         * fast/events/scale-and-scroll-window-expected.txt:
252         * fast/events/scale-and-scroll-window.html:
253         * fast/events/scroll-after-click-on-tab-index.html:
254         * fast/events/scroll-to-anchor-in-overflow-hidden.html:
255         * fast/events/touch/ios/touchmove-cancelable-after-touchstart-expected.txt:
256         * fast/events/touch/ios/touchmove-cancelable-after-touchstart.html:
257         * fast/forms/autofocus-opera-003.html:
258         * fast/forms/input-readonly-autoscroll.html:
259         * fast/forms/resources/common.js:
260         (getAbsoluteRect):
261         * fast/frames/iframe-scroll-page-up-down.html:
262         * fast/frames/transparent-scrollbar.html:
263         * fast/harness/results.html:
264         * fast/html/empty-fragment-id-goto-top-expected.txt:
265         * fast/html/empty-fragment-id-goto-top.html:
266         * fast/images/imagemap-scroll.html:
267         * fast/loader/scroll-position-restored-on-back-non-cached.html:
268         * fast/loader/scroll-position-restored-on-back.html:
269         * fast/multicol/body-stuck-with-dirty-bit-with-columns.html:
270         * fast/repaint/resources/iframe-scroll-repaint-iframe.html:
271         * fast/scrolling/ios/iframe-scroll-into-view.html:
272         * fast/scrolling/latching/scroll-div-latched-div.html:
273         * fast/scrolling/latching/scroll-div-latched-mainframe.html:
274         * fast/scrolling/latching/scroll-div-with-nested-nonscrollable-iframe.html:
275         * fast/scrolling/latching/scroll-iframe-fragment.html:
276         * fast/scrolling/latching/scroll-iframe-latched-iframe.html:
277         * fast/scrolling/latching/scroll-iframe-latched-mainframe.html:
278         * fast/scrolling/latching/scroll-iframe-webkit1-latching-bug.html:
279         * fast/scrolling/latching/scroll-select-bottom-test.html:
280         * fast/scrolling/latching/scroll-select-latched-mainframe.html:
281         * fast/scrolling/latching/scroll-select-latched-select.html:
282         * fast/scrolling/rtl-point-in-iframe.html:
283         * fast/spatial-navigation/snav-unit-overflow-and-scroll-in-direction.html:
284         * fast/table/assert-when-visual-overflow-is-cleared.html:
285         * fast/transforms/selection-bounds-in-transformed-view.html:
286         * http/tests/navigation/anchor-frames-cross-origin-expected.txt:
287         * http/tests/navigation/resources/frame-with-anchor-cross-origin.html:
288         * jquery/resources/test/unit/offset.js:
289         * legacy-animation-engine/fast/harness/results.html:
290         * media/video-controls-to-not-scroll-page-on-load.html:
291         * media/video-main-content-allow-then-scroll-expected.txt:
292         * media/video-main-content-allow-then-scroll.html:
293         * scrollbars/scrollbar-large-overflow-rectangle.html:
294         * tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler.html:
295         * tiled-drawing/scrolling/fast-scroll-div-latched-div.html:
296         * tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler.html:
297         * tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler.html:
298         * tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe.html:
299         * tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler.html:
300         * tiled-drawing/scrolling/fast-scroll-iframe-latched-select.html:
301         * tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html:
302         * tiled-drawing/scrolling/fast-scroll-select-latched-mainframe.html:
303         * tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler.html:
304         * tiled-drawing/scrolling/fast-scroll-select-latched-select.html:
305         * tiled-drawing/scrolling/latched-to-deleted-node.html:
306         * tiled-drawing/scrolling/non-fast-region/top-content-inset-header.html:
307         * tiled-drawing/scrolling/non-fast-region/top-content-inset.html:
308         * tiled-drawing/scrolling/non-fast-region/wheel-event-plugin.html:
309         * tiled-drawing/scrolling/root-overflow-with-mousewheel.html:
310         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal.html:
311         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal.html:
312         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical.html:
313         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical-then-horizontal.html:
314         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical.html:
315         * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-mainframe.html:
316
317 == Rolled over to ChangeLog-2018-09-11 ==