[CMake] Use find_package for zlib
[WebKit-https.git] / Tools / ChangeLog
1 2017-08-29  Don Olmstead  <don.olmstead@sony.com>
2
3         [CMake] Use find_package for zlib
4         https://bugs.webkit.org/show_bug.cgi?id=176075
5
6         Reviewed by Alex Christensen.
7
8         * TestWebKitAPI/PlatformWin.cmake:
9
10 2017-08-29  Brent Fulgham  <bfulgham@apple.com>
11
12         ResourceLoadStatistics logic does not understand custom WebsiteData stores
13         https://bugs.webkit.org/show_bug.cgi?id=176037
14         <rdar://problem/33338238>
15
16         Reviewed by Alex Christensen.
17
18         * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm:
19         (TEST): Update for ResourceLoadStatistics directories.
20
21 2017-08-29  Brady Eidson  <beidson@apple.com>
22
23         Rename "potentionally trustworthy" to "potentially trustworthy"
24         https://bugs.webkit.org/show_bug.cgi?id=176081
25
26         Reviewed by Daniel Bates.
27
28         * TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp:
29         (TestWebKitAPI::TEST_F):
30
31 2017-08-29  Stephan Szabo  <stephan.szabo@sony.com>
32
33         [Win][JSCOnly] Fix call for updating wincairo-libs in build-jsc
34         https://bugs.webkit.org/show_bug.cgi?id=176080
35
36         Reviewed by Brent Fulgham.
37
38         * Scripts/build-jsc:
39
40 2017-08-29  Adrian Perez de Castro  <aperez@igalia.com>
41
42         [WPE] Avoid using autogen for JHBuild modules, trying to fix the EWS
43
44         Unreviewed build fix.
45
46         This also makes the JHBuild process faster, because there are less
47         modules which will trigger slow, ancient Perl and M4 based tooling.
48
49         * wpe/jhbuild.modules:
50
51 2017-08-29  Don Olmstead  <don.olmstead@sony.com>
52
53         [CMake] Use find_package for libxml2 and libxstl
54         https://bugs.webkit.org/show_bug.cgi?id=176042
55
56         Reviewed by Konstantin Tokarev.
57
58         * TestWebKitAPI/PlatformWin.cmake:
59
60 2017-08-29  Per Arne Vollan  <pvollan@apple.com>
61
62         [Win] A WTF test is timing out in run-api-tests.
63         https://bugs.webkit.org/show_bug.cgi?id=176056
64
65         Reviewed by Brent Fulgham.
66
67         The test SynchronizedFixedQueue.ProduceOnly relies on that putting a thread to sleep for
68         1ms will wake it up before another thread which is put to sleep for 10ms. I believe this
69         is not neccessarily true on Windows where the thread scheduling does not have millisecond
70         accuracy. Fix the test timeout by adjusting the sleep time slightly.
71  
72         * TestWebKitAPI/Tests/WTF/SynchronizedFixedQueue.cpp:
73         (TestWebKitAPI::ToUpperConverter::startProducing):
74
75 2017-08-29  Eric Carlson  <eric.carlson@apple.com>
76
77         Unreviewed, update my watchlist filters.
78
79         * Scripts/webkitpy/common/config/watchlist:
80
81 2017-08-29  Carlos Garcia Campos  <cgarcia@igalia.com>
82
83         Unreviewed. REGRESSION(r221219): Fix unit tests using resources from WebKit directory.
84
85         The WebKit2 directory was renamed as WebKit in r221219, but neither run-gtk-tests script nor
86         Test::getResourcesDir() were updated to use the new name.
87
88         * Scripts/run-gtk-tests:
89         (TestRunner._setup_testing_environment):
90         * TestWebKitAPI/glib/WebKitGLib/TestMain.h:
91         (Test::getResourcesDir):
92
93 2017-08-28  Eric Carlson  <eric.carlson@apple.com>
94
95         Logger should use makeString instead of String::format
96         https://bugs.webkit.org/show_bug.cgi?id=176035
97
98         Reviewed by Jer Noble.
99
100         * TestWebKitAPI/Tests/WebCore/Logging.cpp:
101         (TestWebKitAPI::TEST_F): Update test.
102
103 2017-08-28  Michael Catanzaro  <mcatanzaro@igalia.com>
104
105         [GStreamer] The glvideoflip GStreamer element isn't available. Video mirroring and rotation functionalities are thus disabled.
106         https://bugs.webkit.org/show_bug.cgi?id=175576
107
108         Reviewed by Carlos Alberto Lopez Perez.
109
110         Build graphene to enable the glvideoflip element.
111
112         * gstreamer/jhbuild.modules:
113         * gtk/jhbuild.modules:
114         * jhbuild/jhbuild-wrapper:
115         * wpe/jhbuild.modules:
116
117 2017-08-28  Ms2ger  <Ms2ger@gmail.com>
118
119         Ensure that the alert function is called in TestWebExtensions.
120         https://bugs.webkit.org/show_bug.cgi?id=175880
121
122         Reviewed by Carlos Garcia Campos.
123
124         The test relied on a bug in the HTMLDocument JavaScript bindings: when calling
125         document.open() with three arguments, it would call any function set as the
126         "open" property on the window object, rather than just the real Window::open()
127         method. This bug was fixed by the removal of custom bindings for HTMLDocument
128         in r218437. As a result, the test no longer called alert(), which caused it to
129         fail.
130
131         Instead, call the window.open() function directly.
132
133         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
134         (testWebExtensionIsolatedWorld):
135
136 2017-08-27  Wenson Hsieh  <wenson_hsieh@apple.com>
137
138         Picking an emoji via the emoji dialog (Ctrl+Cmd+Space) fires inconsistent beforeinput events.
139         https://bugs.webkit.org/show_bug.cgi?id=170955
140         <rdar://problem/31697653>
141
142         Reviewed by Ryosuke Niwa.
143
144         Replace UIScriptController.insertText with UIScriptController.replaceTextAtRange, and implement
145         replaceTextAtRange in WebKit1. See corresponding layout tests (input-event-insert-replacement.html and
146         before-input-prevent-insert-replacement.html) for more detail.
147
148         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
149         * DumpRenderTree/mac/AppKitTestSPI.h: Added.
150
151         Introduce an SPI header for private AppKit headers needed to support DumpRenderTree.
152
153         * DumpRenderTree/mac/UIScriptControllerMac.mm:
154         (WTR::UIScriptController::replaceTextAtRange):
155         (WTR::UIScriptController::insertText): Deleted.
156         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
157         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
158         (WTR::UIScriptController::replaceTextAtRange):
159         (WTR::UIScriptController::insertText): Deleted.
160         * TestRunnerShared/UIScriptContext/UIScriptController.h:
161         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
162         (WTR::UIScriptController::replaceTextAtRange):
163         (WTR::UIScriptController::insertText): Deleted.
164
165         Replace UIScriptController.insertText with UIScriptController.replaceTextAtRange, which better describes the
166         behavior of this function.
167
168 2017-08-27  Wenson Hsieh  <wenson_hsieh@apple.com>
169
170         [iOS WK2] Web process crashes after changing selection to the end of the document when speaking a selection
171         https://bugs.webkit.org/show_bug.cgi?id=176011
172         <rdar://problem/32614095>
173
174         Reviewed by Ryosuke Niwa.
175
176         Introduces AccessibilityTests, and adds three new tests that traverse selection-rect-finding codepaths when
177         speaking selected content. See WebKit and WebCore ChangeLogs for more detail.
178
179         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
180         * TestWebKitAPI/Tests/ios/AccessibilityTestsIOS.mm: Added.
181         (-[WKWebView rectsAtSelectionOffset:withText:]):
182         (checkCGRectValueAtIndex):
183         (TestWebKitAPI::TEST):
184
185 2017-08-25  Eric Carlson  <eric.carlson@apple.com>
186
187         Add Logger::logAlways
188         https://bugs.webkit.org/show_bug.cgi?id=175996
189
190         Reviewed by Jer Noble.
191
192         * TestWebKitAPI/Tests/WebCore/Logging.cpp:
193         (TestWebKitAPI::TEST_F):
194
195 2017-08-25  Alex Christensen  <achristensen@webkit.org>
196
197         Disable saveDataToFile API test.
198         https://bugs.webkit.org/show_bug.cgi?id=176000
199
200         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
201         The test was only working on High Sierra.  It needs investigation on older operating systems.
202
203 2017-08-25  Alex Christensen  <achristensen@webkit.org>
204
205         Rename TestWebKitAPI/Tests/WebKit2* to WebKit* following Source directory rename.
206
207         Rubber-stamped by Brady Eidson.
208
209         * TestWebKitAPI/PlatformGTK.cmake:
210         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
211         * TestWebKitAPI/Tests/WebKit2Cocoa: Removed.
212         * TestWebKitAPI/Tests/WebKit2Cocoa/AdditionalReadAccessAllowedURLs.mm: Removed.
213         * TestWebKitAPI/Tests/WebKit2Cocoa/AdditionalReadAccessAllowedURLsPlugin.mm: Removed.
214         * TestWebKitAPI/Tests/WebKit2Cocoa/AdditionalReadAccessAllowedURLsProtocol.h: Removed.
215         * TestWebKitAPI/Tests/WebKit2Cocoa/AllAhem.svg: Removed.
216         * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm: Removed.
217         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm: Removed.
218         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db: Removed.
219         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db-shm: Removed.
220         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db-wal: Removed.
221         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm: Removed.
222         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegate.mm: Removed.
223         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegatePlugIn.mm: Removed.
224         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegateProtocol.h: Removed.
225         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParameters.mm: Removed.
226         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParametersPlugIn.mm: Removed.
227         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleRangeHandle.mm: Removed.
228         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleRangeHandlePlugIn.mm: Removed.
229         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleRangeHandleProtocol.h: Removed.
230         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresource.mm: Removed.
231         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresourcePlugIn.mm: Removed.
232         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm: Removed.
233         * TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm: Removed.
234         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.h: Removed.
235         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.html: Removed.
236         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm: Removed.
237         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm: Removed.
238         * TestWebKitAPI/Tests/WebKit2Cocoa/CookieAcceptPolicy.mm: Removed.
239         * TestWebKitAPI/Tests/WebKit2Cocoa/CookieMessage.html: Removed.
240         * TestWebKitAPI/Tests/WebKit2Cocoa/Copying.mm: Removed.
241         * TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm: Removed.
242         * TestWebKitAPI/Tests/WebKit2Cocoa/DecidePolicyForNavigationAction.mm: Removed.
243         * TestWebKitAPI/Tests/WebKit2Cocoa/DoAfterNextPresentationUpdateAfterCrash.mm: Removed.
244         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm: Removed.
245         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestBlobURL.html: Removed.
246         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURL.html: Removed.
247         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURL2.html: Removed.
248         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURLFrame.html: Removed.
249         * TestWebKitAPI/Tests/WebKit2Cocoa/DuplicateCompletionHandlerCalls.mm: Removed.
250         * TestWebKitAPI/Tests/WebKit2Cocoa/EditorStateTests.mm: Removed.
251         * TestWebKitAPI/Tests/WebKit2Cocoa/EmptyGrandfatheredResourceLoadStatistics.plist: Removed.
252         * TestWebKitAPI/Tests/WebKit2Cocoa/FindInPage.mm: Removed.
253         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Removed.
254         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenDelegate.html: Removed.
255         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenDelegate.mm: Removed.
256         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenLayoutConstraints.html: Removed.
257         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenLayoutConstraints.mm: Removed.
258         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.html: Removed.
259         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm: Removed.
260         * TestWebKitAPI/Tests/WebKit2Cocoa/Geolocation.mm: Removed.
261         * TestWebKitAPI/Tests/WebKit2Cocoa/GeolocationGetCurrentPositionResult.html: Removed.
262         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.html: Removed.
263         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.mm: Removed.
264         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3: Removed.
265         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3-shm: Removed.
266         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3-wal: Removed.
267         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.html: Removed.
268         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.mm: Removed.
269         * TestWebKitAPI/Tests/WebKit2Cocoa/IconLoadingDelegate.mm: Removed.
270         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexUpgrade.blob: Removed.
271         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexUpgrade.sqlite3: Removed.
272         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill-1.html: Removed.
273         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm: Removed.
274         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-1.html: Removed.
275         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-2.html: Removed.
276         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-3.html: Removed.
277         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm: Removed.
278         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-1.html: Removed.
279         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-2.html: Removed.
280         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm: Removed.
281         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.mm: Removed.
282         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3: Removed.
283         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3-shm: Removed.
284         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3-wal: Removed.
285         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibilityRead.html: Removed.
286         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibilityWrite.html: Removed.
287         * TestWebKitAPI/Tests/WebKit2Cocoa/InitialWarmedProcessUsed.mm: Removed.
288         * TestWebKitAPI/Tests/WebKit2Cocoa/InteractionDeadlockAfterCrash.mm: Removed.
289         * TestWebKitAPI/Tests/WebKit2Cocoa/LineBreaking.html: Removed.
290         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadAlternateHTMLString.mm: Removed.
291         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadDataWithNilMIMEType.mm: Removed.
292         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm: Removed.
293         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.html: Removed.
294         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm: Removed.
295         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.html: Removed.
296         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.localstorage: Removed.
297         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.localstorage-shm: Removed.
298         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.mm: Removed.
299         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageQuirkEnabled.html: Removed.
300         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageQuirkTest.mm: Removed.
301         * TestWebKitAPI/Tests/WebKit2Cocoa/ModalAlerts.mm: Removed.
302         * TestWebKitAPI/Tests/WebKit2Cocoa/NSFileManagerExtras.mm: Removed.
303         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm: Removed.
304         * TestWebKitAPI/Tests/WebKit2Cocoa/NowPlayingControlsTests.mm: Removed.
305         * TestWebKitAPI/Tests/WebKit2Cocoa/ObservedRenderingProgressEventsAfterCrash.mm: Removed.
306         * TestWebKitAPI/Tests/WebKit2Cocoa/OpenAndCloseWindow.mm: Removed.
307         * TestWebKitAPI/Tests/WebKit2Cocoa/OverrideContentSecurityPolicy.mm: Removed.
308         * TestWebKitAPI/Tests/WebKit2Cocoa/PictureInPictureDelegate.html: Removed.
309         * TestWebKitAPI/Tests/WebKit2Cocoa/PictureInPictureDelegate.mm: Removed.
310         * TestWebKitAPI/Tests/WebKit2Cocoa/PluginLoadClientPolicies.mm: Removed.
311         * TestWebKitAPI/Tests/WebKit2Cocoa/Preferences.mm: Removed.
312         * TestWebKitAPI/Tests/WebKit2Cocoa/PrepareForMoveToWindow.mm: Removed.
313         * TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLNotChange.mm: Removed.
314         * TestWebKitAPI/Tests/WebKit2Cocoa/QuickLook.mm: Removed.
315         * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.h: Removed.
316         * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.mm: Removed.
317         * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistryPlugIn.mm: Removed.
318         * TestWebKitAPI/Tests/WebKit2Cocoa/RenderedImageWithOptions.mm: Removed.
319         * TestWebKitAPI/Tests/WebKit2Cocoa/RenderedImageWithOptionsPlugIn.mm: Removed.
320         * TestWebKitAPI/Tests/WebKit2Cocoa/RenderedImageWithOptionsProtocol.h: Removed.
321         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm: Removed.
322         * TestWebKitAPI/Tests/WebKit2Cocoa/ResourceLoadStatistics.mm: Removed.
323         * TestWebKitAPI/Tests/WebKit2Cocoa/RunOpenPanel.mm: Removed.
324         * TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm: Removed.
325         * TestWebKitAPI/Tests/WebKit2Cocoa/ShrinkToFit.mm: Removed.
326         * TestWebKitAPI/Tests/WebKit2Cocoa/SnapshotStore.mm: Removed.
327         * TestWebKitAPI/Tests/WebKit2Cocoa/StoreBlobThenDelete.mm: Removed.
328         * TestWebKitAPI/Tests/WebKit2Cocoa/StoreBlobToBeDeleted.html: Removed.
329         * TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm: Removed.
330         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm: Removed.
331         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentWorld.mm: Removed.
332         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentWorldPlugIn.mm: Removed.
333         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentWorldProtocol.h: Removed.
334         * TestWebKitAPI/Tests/WebKit2Cocoa/UserInitiatedActionInNavigationAction.mm: Removed.
335         * TestWebKitAPI/Tests/WebKit2Cocoa/UserMediaDisabled.mm: Removed.
336         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm: Removed.
337         * TestWebKitAPI/Tests/WebKit2Cocoa/VisibleContentRect.mm: Removed.
338         * TestWebKitAPI/Tests/WebKit2Cocoa/WKContentExtensionStore.mm: Removed.
339         * TestWebKitAPI/Tests/WebKit2Cocoa/WKContentViewEditingActions.mm: Removed.
340         * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm: Removed.
341         * TestWebKitAPI/Tests/WebKit2Cocoa/WKNSNumber.mm: Removed.
342         * TestWebKitAPI/Tests/WebKit2Cocoa/WKObject.mm: Removed.
343         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFView.mm: Removed.
344         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewResizeCrash.mm: Removed.
345         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewStablePresentationUpdateCallback.mm: Removed.
346         * TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm: Removed.
347         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm: Removed.
348         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-leaks.mm: Removed.
349         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm: Removed.
350         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDefaultNavigationDelegate.mm: Removed.
351         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDiagnosticLogging.mm: Removed.
352         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDoesNotLogDuringInitialization.mm: Removed.
353         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm: Removed.
354         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewGetContents.mm: Removed.
355         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewSnapshot.mm: Removed.
356         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewTextInput.mm: Removed.
357         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup-1.html: Removed.
358         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup-2.html: Removed.
359         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm: Removed.
360         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.html: Removed.
361         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.mm: Removed.
362         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm: Removed.
363         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm: Removed.
364         * TestWebKitAPI/Tests/WebKit2Cocoa/apple.gif: Removed.
365         * TestWebKitAPI/Tests/WebKit2Cocoa/attachment-element.html: Removed.
366         * TestWebKitAPI/Tests/WebKit2Cocoa/autofocus-contenteditable.html: Removed.
367         * TestWebKitAPI/Tests/WebKit2Cocoa/autofocused-text-input.html: Removed.
368         * TestWebKitAPI/Tests/WebKit2Cocoa/autoplaying-video-with-audio.html: Removed.
369         * TestWebKitAPI/Tests/WebKit2Cocoa/background-image-link-and-input.html: Removed.
370         * TestWebKitAPI/Tests/WebKit2Cocoa/blinking-div.html: Removed.
371         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-click.html: Removed.
372         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-end.html: Removed.
373         * TestWebKitAPI/Tests/WebKit2Cocoa/compressed-files.zip: Removed.
374         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-and-target.html: Removed.
375         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-and-textarea.html: Removed.
376         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-in-iframe.html: Removed.
377         * TestWebKitAPI/Tests/WebKit2Cocoa/disableGetUserMedia.html: Removed.
378         * TestWebKitAPI/Tests/WebKit2Cocoa/div-and-large-image.html: Removed.
379         * TestWebKitAPI/Tests/WebKit2Cocoa/double-click-does-not-select-trailing-space.html: Removed.
380         * TestWebKitAPI/Tests/WebKit2Cocoa/dragstart-change-selection-offscreen.html: Removed.
381         * TestWebKitAPI/Tests/WebKit2Cocoa/dragstart-clear-selection.html: Removed.
382         * TestWebKitAPI/Tests/WebKit2Cocoa/duplicate-completion-handler-calls.html: Removed.
383         * TestWebKitAPI/Tests/WebKit2Cocoa/editable-body.html: Removed.
384         * TestWebKitAPI/Tests/WebKit2Cocoa/editor-state-test-harness.html: Removed.
385         * TestWebKitAPI/Tests/WebKit2Cocoa/enormous-video-with-sound.html: Removed.
386         * TestWebKitAPI/Tests/WebKit2Cocoa/enormous.svg: Removed.
387         * TestWebKitAPI/Tests/WebKit2Cocoa/file-uploading.html: Removed.
388         * TestWebKitAPI/Tests/WebKit2Cocoa/focus-inputs.html: Removed.
389         * TestWebKitAPI/Tests/WebKit2Cocoa/full-size-autoplaying-video-with-audio.html: Removed.
390         * TestWebKitAPI/Tests/WebKit2Cocoa/gif-and-file-input.html: Removed.
391         * TestWebKitAPI/Tests/WebKit2Cocoa/image-and-contenteditable.html: Removed.
392         * TestWebKitAPI/Tests/WebKit2Cocoa/image-and-textarea.html: Removed.
393         * TestWebKitAPI/Tests/WebKit2Cocoa/image-in-link-and-input.html: Removed.
394         * TestWebKitAPI/Tests/WebKit2Cocoa/image-map.html: Removed.
395         * TestWebKitAPI/Tests/WebKit2Cocoa/input-field-in-scrollable-document.html: Removed.
396         * TestWebKitAPI/Tests/WebKit2Cocoa/large-input-field-focus-onload.html: Removed.
397         * TestWebKitAPI/Tests/WebKit2Cocoa/large-red-square.png: Removed.
398         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-hides-controls-after-seek-to-end.html: Removed.
399         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-mutes-onplaying.html: Removed.
400         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-offscreen.html: Removed.
401         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-playing-scroll-away.html: Removed.
402         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-after-ending.html: Removed.
403         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-to-beginning-and-play-after-ending.html: Removed.
404         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-test-now-playing.html: Removed.
405         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html: Removed.
406         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.mp4: Removed.
407         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-without-audio.html: Removed.
408         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-click-to-pause.html: Removed.
409         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-scroll-to-video.html: Removed.
410         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-paused-video-hides-controls.html: Removed.
411         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-muted-video-hides-controls.html: Removed.
412         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-video-keeps-controls.html: Removed.
413         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio-autoplay.html: Removed.
414         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio.html: Removed.
415         * TestWebKitAPI/Tests/WebKit2Cocoa/link-and-input.html: Removed.
416         * TestWebKitAPI/Tests/WebKit2Cocoa/link-and-target-div.html: Removed.
417         * TestWebKitAPI/Tests/WebKit2Cocoa/offscreen-iframe-of-media-document.html: Removed.
418         * TestWebKitAPI/Tests/WebKit2Cocoa/open-multiple-external-url.html: Removed.
419         * TestWebKitAPI/Tests/WebKit2Cocoa/page-with-csp-iframe.html: Removed.
420         * TestWebKitAPI/Tests/WebKit2Cocoa/page-with-csp.html: Removed.
421         * TestWebKitAPI/Tests/WebKit2Cocoa/page-without-csp-iframe.html: Removed.
422         * TestWebKitAPI/Tests/WebKit2Cocoa/page-without-csp.html: Removed.
423         * TestWebKitAPI/Tests/WebKit2Cocoa/password-protected.pages: Removed.
424         * TestWebKitAPI/Tests/WebKit2Cocoa/play-audio-on-click.html: Removed.
425         * TestWebKitAPI/Tests/WebKit2Cocoa/prevent-operation.html: Removed.
426         * TestWebKitAPI/Tests/WebKit2Cocoa/prevent-start.html: Removed.
427         * TestWebKitAPI/Tests/WebKit2Cocoa/rendered-image-excluding-overflow.html: Removed.
428         * TestWebKitAPI/Tests/WebKit2Cocoa/rich-and-plain-text.html: Removed.
429         * TestWebKitAPI/Tests/WebKit2Cocoa/silence-long.m4a: Removed.
430         * TestWebKitAPI/Tests/WebKit2Cocoa/skinny-autoplaying-video-with-audio.html: Removed.
431         * TestWebKitAPI/Tests/WebKit2Cocoa/text-and-password-inputs.html: Removed.
432         * TestWebKitAPI/Tests/WebKit2Cocoa/textarea-to-input.html: Removed.
433         * TestWebKitAPI/Tests/WebKit2Cocoa/two-paragraph-contenteditable.html: Removed.
434         * TestWebKitAPI/Tests/WebKit2Cocoa/wide-autoplaying-video-with-audio.html: Removed.
435         * TestWebKitAPI/Tests/WebKit2Gtk: Removed.
436         * TestWebKitAPI/Tests/WebKit2Gtk/AccessibilityTestServer.cpp: Removed.
437         * TestWebKitAPI/Tests/WebKit2Gtk/AutocleanupsTest.cpp: Removed.
438         * TestWebKitAPI/Tests/WebKit2Gtk/DOMClientRectTest.cpp: Removed.
439         * TestWebKitAPI/Tests/WebKit2Gtk/DOMDOMWindowTest.cpp: Removed.
440         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp: Removed.
441         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp: Removed.
442         * TestWebKitAPI/Tests/WebKit2Gtk/DOMXPathNSResolverTest.cpp: Removed.
443         * TestWebKitAPI/Tests/WebKit2Gtk/EditorTest.cpp: Removed.
444         * TestWebKitAPI/Tests/WebKit2Gtk/InspectorTestServer.cpp: Removed.
445         * TestWebKitAPI/Tests/WebKit2Gtk/TestAutocleanups.cpp: Removed.
446         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp: Removed.
447         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMClientRect.cpp: Removed.
448         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMDOMWindow.cpp: Removed.
449         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp: Removed.
450         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNodeFilter.cpp: Removed.
451         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMXPathNSResolver.cpp: Removed.
452         * TestWebKitAPI/Tests/WebKit2Gtk/TestEditor.cpp: Removed.
453         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspector.cpp: Removed.
454         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp: Removed.
455         * TestWebKitAPI/Tests/WebKit2Gtk/TestOptionMenu.cpp: Removed.
456         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp: Removed.
457         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitAccessibility.cpp: Removed.
458         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitVersion.cpp: Removed.
459         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp: Removed.
460         * TestWebKitAPI/Tests/WebKit2ObjC: Removed.
461         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm: Removed.
462         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme_Bundle.cpp: Removed.
463         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm: Removed.
464         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm: Removed.
465         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing_Bundle.cpp: Removed.
466         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm: Removed.
467         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextGroupTest.mm: Removed.
468         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextLoadDelegateTest.mm: Removed.
469         * TestWebKitAPI/Tests/WebKitCocoa: Copied from TestWebKitAPI/Tests/WebKit2Cocoa.
470         * TestWebKitAPI/Tests/WebKitGtk: Copied from TestWebKitAPI/Tests/WebKit2Gtk.
471         * TestWebKitAPI/Tests/WebKitObjC: Copied from TestWebKitAPI/Tests/WebKit2ObjC.
472         * TestWebKitAPI/glib/PlatformGTK.cmake:
473
474 2017-08-25  Alex Christensen  <achristensen@webkit.org>
475
476         Rename TestWebKitAPI/Tests/WebKit2 to WebKit following Source directory rename.
477
478         Rubber-stamped by Brady Eidson.
479
480         * TestWebKitAPI/CMakeLists.txt:
481         * TestWebKitAPI/PlatformGTK.cmake:
482         * TestWebKitAPI/PlatformWin.cmake:
483         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
484         * TestWebKitAPI/Tests/WebKit: Copied from TestWebKitAPI/Tests/WebKit2.
485         * TestWebKitAPI/Tests/WebKit2: Removed.
486         * TestWebKitAPI/Tests/WebKit2/18-characters.html: Removed.
487         * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp: Removed.
488         * TestWebKitAPI/Tests/WebKit2/Ahem.ttf: Removed.
489         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp: Removed.
490         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp: Removed.
491         * TestWebKitAPI/Tests/WebKit2/CloseFromWithinCreatePage.cpp: Removed.
492         * TestWebKitAPI/Tests/WebKit2/CloseThenTerminate.cpp: Removed.
493         * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp: Removed.
494         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic.cpp: Removed.
495         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp: Removed.
496         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache.cpp: Removed.
497         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp: Removed.
498         * TestWebKitAPI/Tests/WebKit2/DeferredViewInWindowStateChange.mm: Removed.
499         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls.cpp: Removed.
500         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp: Removed.
501         * TestWebKitAPI/Tests/WebKit2/DidNotHandleKeyDown.cpp: Removed.
502         * TestWebKitAPI/Tests/WebKit2/DidRemoveFrameFromHiearchyInPageCache.cpp: Removed.
503         * TestWebKitAPI/Tests/WebKit2/DidRemoveFrameFromHiearchyInPageCache_Bundle.cpp: Removed.
504         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp: Removed.
505         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp: Removed.
506         * TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp: Removed.
507         * TestWebKitAPI/Tests/WebKit2/EnumerateMediaDevices.cpp: Removed.
508         * TestWebKitAPI/Tests/WebKit2/EnvironmentUtilitiesTest.cpp: Removed.
509         * TestWebKitAPI/Tests/WebKit2/EphemeralSessionPushStateNoHistoryCallback.cpp: Removed.
510         * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp: Removed.
511         * TestWebKitAPI/Tests/WebKit2/EventModifiers.cpp: Removed.
512         * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp: Removed.
513         * TestWebKitAPI/Tests/WebKit2/Find.cpp: Removed.
514         * TestWebKitAPI/Tests/WebKit2/FindMatches.mm: Removed.
515         * TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp: Removed.
516         * TestWebKitAPI/Tests/WebKit2/FrameHandle.cpp: Removed.
517         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp: Removed.
518         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp: Removed.
519         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp: Removed.
520         * TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback.cpp: Removed.
521         * TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback_Bundle.cpp: Removed.
522         * TestWebKitAPI/Tests/WebKit2/GetUserMediaNavigation.mm: Removed.
523         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp: Removed.
524         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp: Removed.
525         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp: Removed.
526         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp: Removed.
527         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest.cpp: Removed.
528         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp: Removed.
529         * TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins.cpp: Removed.
530         * TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins_Bundle.cpp: Removed.
531         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakeAllShadowRootsOpen.cpp: Removed.
532         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakeAllShadowRootsOpen_Bundle.cpp: Removed.
533         * TestWebKitAPI/Tests/WebKit2/LayoutMilestonesWithAllContentInFrame.cpp: Removed.
534         * TestWebKitAPI/Tests/WebKit2/LimitTitleSize.cpp: Removed.
535         * TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp: Removed.
536         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback.cpp: Removed.
537         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback_Bundle.cpp: Removed.
538         * TestWebKitAPI/Tests/WebKit2/LoadPageOnCrash.cpp: Removed.
539         * TestWebKitAPI/Tests/WebKit2/MediaStreamTrackDetached.mm: Removed.
540         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp: Removed.
541         * TestWebKitAPI/Tests/WebKit2/ModalAlertsSPI.cpp: Removed.
542         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp: Removed.
543         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash_Bundle.cpp: Removed.
544         * TestWebKitAPI/Tests/WebKit2/NavigationClientDefaultCrypto.cpp: Removed.
545         * TestWebKitAPI/Tests/WebKit2/NetworkProcessCrashWithPendingConnection.mm: Removed.
546         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp: Removed.
547         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails.cpp: Removed.
548         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails_Bundle.cpp: Removed.
549         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages.cpp: Removed.
550         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages_Bundle.cpp: Removed.
551         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames.cpp: Removed.
552         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames_Bundle.cpp: Removed.
553         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout_Bundle.cpp: Removed.
554         * TestWebKitAPI/Tests/WebKit2/PageGroup.cpp: Removed.
555         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp: Removed.
556         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp: Removed.
557         * TestWebKitAPI/Tests/WebKit2/ParentFrame.cpp: Removed.
558         * TestWebKitAPI/Tests/WebKit2/ParentFrame_Bundle.cpp: Removed.
559         * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications.mm: Removed.
560         * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications_Bundle.cpp: Removed.
561         * TestWebKitAPI/Tests/WebKit2/PendingAPIRequestURL.cpp: Removed.
562         * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp: Removed.
563         * TestWebKitAPI/Tests/WebKit2/PrivateBrowsingPushStateNoHistoryCallback.cpp: Removed.
564         * TestWebKitAPI/Tests/WebKit2/ProcessDidTerminate.cpp: Removed.
565         * TestWebKitAPI/Tests/WebKit2/ProvisionalURLAfterWillSendRequestCallback.cpp: Removed.
566         * TestWebKitAPI/Tests/WebKit2/ProvisionalURLAfterWillSendRequestCallback_Bundle.cpp: Removed.
567         * TestWebKitAPI/Tests/WebKit2/ReloadPageAfterCrash.cpp: Removed.
568         * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp: Removed.
569         * TestWebKitAPI/Tests/WebKit2/ResizeWindowAfterCrash.cpp: Removed.
570         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimer.cpp: Removed.
571         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp: Removed.
572         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly_Bundle.cpp: Removed.
573         * TestWebKitAPI/Tests/WebKit2/RestoreSessionState.cpp: Removed.
574         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp: Removed.
575         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateWithoutNavigation.cpp: Removed.
576         * TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp: Removed.
577         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp: Removed.
578         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem_Bundle.cpp: Removed.
579         * TestWebKitAPI/Tests/WebKit2/ShouldKeepCurrentBackForwardListItemInList.cpp: Removed.
580         * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp: Removed.
581         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad.cpp: Removed.
582         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad_bundle.cpp: Removed.
583         * TestWebKitAPI/Tests/WebKit2/TerminateTwice.cpp: Removed.
584         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing.cpp: Removed.
585         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing_Bundle.cpp: Removed.
586         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp: Removed.
587         * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp: Removed.
588         * TestWebKitAPI/Tests/WebKit2/UserMessage_Bundle.cpp: Removed.
589         * TestWebKitAPI/Tests/WebKit2/ViewportSizeForViewportUnits.mm: Removed.
590         * TestWebKitAPI/Tests/WebKit2/WKBackForwardList.mm: Removed.
591         * TestWebKitAPI/Tests/WebKit2/WKBundleFileHandle.cpp: Removed.
592         * TestWebKitAPI/Tests/WebKit2/WKBundleFileHandle_Bundle.cpp: Removed.
593         * TestWebKitAPI/Tests/WebKit2/WKImageCreateCGImageCrash.cpp: Removed.
594         * TestWebKitAPI/Tests/WebKit2/WKPageConfiguration.cpp: Removed.
595         * TestWebKitAPI/Tests/WebKit2/WKPageCopySessionStateWithFiltering.cpp: Removed.
596         * TestWebKitAPI/Tests/WebKit2/WKPageGetScaleFactorNotZero.cpp: Removed.
597         * TestWebKitAPI/Tests/WebKit2/WKPageIsPlayingAudio.cpp: Removed.
598         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp: Removed.
599         * TestWebKitAPI/Tests/WebKit2/WKRetainPtr.cpp: Removed.
600         * TestWebKitAPI/Tests/WebKit2/WKString.cpp: Removed.
601         * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp: Removed.
602         * TestWebKitAPI/Tests/WebKit2/WKThumbnailView.mm: Removed.
603         * TestWebKitAPI/Tests/WebKit2/WKURL.cpp: Removed.
604         * TestWebKitAPI/Tests/WebKit2/WebArchive.cpp: Removed.
605         * TestWebKitAPI/Tests/WebKit2/WebArchive_Bundle.cpp: Removed.
606         * TestWebKitAPI/Tests/WebKit2/WebCoreStatisticsWithNoWebProcess.cpp: Removed.
607         * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp: Removed.
608         * TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp: Removed.
609         * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent.cpp: Removed.
610         * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent_Bundle.cpp: Removed.
611         * TestWebKitAPI/Tests/WebKit2/all-content-in-one-iframe.html: Removed.
612         * TestWebKitAPI/Tests/WebKit2/associate-form-controls.html: Removed.
613         * TestWebKitAPI/Tests/WebKit2/auto-submitting-form.html: Removed.
614         * TestWebKitAPI/Tests/WebKit2/autoplay-check-frame.html: Removed.
615         * TestWebKitAPI/Tests/WebKit2/autoplay-check-in-iframe.html: Removed.
616         * TestWebKitAPI/Tests/WebKit2/autoplay-check.html: Removed.
617         * TestWebKitAPI/Tests/WebKit2/autoplay-inherits-gesture-from-document.html: Removed.
618         * TestWebKitAPI/Tests/WebKit2/autoplay-muted-with-controls.html: Removed.
619         * TestWebKitAPI/Tests/WebKit2/autoplay-no-audio-check.html: Removed.
620         * TestWebKitAPI/Tests/WebKit2/autoplay-with-controls.html: Removed.
621         * TestWebKitAPI/Tests/WebKit2/autoplay-zero-volume-check.html: Removed.
622         * TestWebKitAPI/Tests/WebKit2/bundle-file.html: Removed.
623         * TestWebKitAPI/Tests/WebKit2/chinese-character-with-image.html: Removed.
624         * TestWebKitAPI/Tests/WebKit2/close-from-within-create-page.html: Removed.
625         * TestWebKitAPI/Tests/WebKit2/closed-shadow-tree-test.html: Removed.
626         * TestWebKitAPI/Tests/WebKit2/cocoa: Removed.
627         * TestWebKitAPI/Tests/WebKit2/cocoa/WeakObjCPtr.mm: Removed.
628         * TestWebKitAPI/Tests/WebKit2/contentBlockerCheck.html: Removed.
629         * TestWebKitAPI/Tests/WebKit2/custom-protocol-sync-xhr.html: Removed.
630         * TestWebKitAPI/Tests/WebKit2/encrypted.pdf: Removed.
631         * TestWebKitAPI/Tests/WebKit2/enumerateMediaDevices.html: Removed.
632         * TestWebKitAPI/Tests/WebKit2/execCopy.html: Removed.
633         * TestWebKitAPI/Tests/WebKit2/file-with-anchor.html: Removed.
634         * TestWebKitAPI/Tests/WebKit2/file-with-mse.html: Removed.
635         * TestWebKitAPI/Tests/WebKit2/file-with-video.html: Removed.
636         * TestWebKitAPI/Tests/WebKit2/find.html: Removed.
637         * TestWebKitAPI/Tests/WebKit2/findRanges.html: Removed.
638         * TestWebKitAPI/Tests/WebKit2/geolocationGetCurrentPosition.html: Removed.
639         * TestWebKitAPI/Tests/WebKit2/geolocationGetCurrentPositionWithHighAccuracy.html: Removed.
640         * TestWebKitAPI/Tests/WebKit2/geolocationWatchPosition.html: Removed.
641         * TestWebKitAPI/Tests/WebKit2/geolocationWatchPositionWithHighAccuracy.html: Removed.
642         * TestWebKitAPI/Tests/WebKit2/getUserMedia.html: Removed.
643         * TestWebKitAPI/Tests/WebKit2/gtk: Removed.
644         * TestWebKitAPI/Tests/WebKit2/gtk/InputMethodFilter.cpp: Removed.
645         * TestWebKitAPI/Tests/WebKit2/icon.png: Removed.
646         * TestWebKitAPI/Tests/WebKit2/input-focus-blur.html: Removed.
647         * TestWebKitAPI/Tests/WebKit2/js-autoplay-audio.html: Removed.
648         * TestWebKitAPI/Tests/WebKit2/js-play-with-controls.html: Removed.
649         * TestWebKitAPI/Tests/WebKit2/large-red-square-image.html: Removed.
650         * TestWebKitAPI/Tests/WebKit2/link-with-download-attribute-with-slashes.html: Removed.
651         * TestWebKitAPI/Tests/WebKit2/link-with-download-attribute.html: Removed.
652         * TestWebKitAPI/Tests/WebKit2/link-with-title.html: Removed.
653         * TestWebKitAPI/Tests/WebKit2/lots-of-iframes.html: Removed.
654         * TestWebKitAPI/Tests/WebKit2/lots-of-images.html: Removed.
655         * TestWebKitAPI/Tests/WebKit2/lots-of-text-vertical-lr.html: Removed.
656         * TestWebKitAPI/Tests/WebKit2/lots-of-text.html: Removed.
657         * TestWebKitAPI/Tests/WebKit2/mac: Removed.
658         * TestWebKitAPI/Tests/WebKit2/mac/AttributedSubstringForProposedRangeWithImage.mm: Removed.
659         * TestWebKitAPI/Tests/WebKit2/mac/ContextMenuDownload.mm: Removed.
660         * TestWebKitAPI/Tests/WebKit2/mac/EditorCommands.mm: Removed.
661         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor.mm: Removed.
662         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor_Bundle.mm: Removed.
663         * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp: Removed.
664         * TestWebKitAPI/Tests/WebKit2/mac/InjectedBundleAppleEvent.cpp: Removed.
665         * TestWebKitAPI/Tests/WebKit2/mac/InjectedBundleAppleEvent_Bundle.cpp: Removed.
666         * TestWebKitAPI/Tests/WebKit2/mac/RestoreStateAfterTermination.mm: Removed.
667         * TestWebKitAPI/Tests/WebKit2/many-iframes.html: Removed.
668         * TestWebKitAPI/Tests/WebKit2/mediastreamtrack-detached.html: Removed.
669         * TestWebKitAPI/Tests/WebKit2/modal-alerts-in-new-about-blank-window.html: Removed.
670         * TestWebKitAPI/Tests/WebKit2/mouse-button-listener.html: Removed.
671         * TestWebKitAPI/Tests/WebKit2/mouse-move-listener.html: Removed.
672         * TestWebKitAPI/Tests/WebKit2/navigation-client-default-crypto.html: Removed.
673         * TestWebKitAPI/Tests/WebKit2/no-autoplay-with-controls.html: Removed.
674         * TestWebKitAPI/Tests/WebKit2/open-and-close-window.html: Removed.
675         * TestWebKitAPI/Tests/WebKit2/push-state.html: Removed.
676         * TestWebKitAPI/Tests/WebKit2/set-long-title.html: Removed.
677         * TestWebKitAPI/Tests/WebKit2/should-open-external-schemes.html: Removed.
678         * TestWebKitAPI/Tests/WebKit2/simple-accelerated-compositing.html: Removed.
679         * TestWebKitAPI/Tests/WebKit2/simple-form.html: Removed.
680         * TestWebKitAPI/Tests/WebKit2/simple-iframe.html: Removed.
681         * TestWebKitAPI/Tests/WebKit2/simple-tall.html: Removed.
682         * TestWebKitAPI/Tests/WebKit2/simple.html: Removed.
683         * TestWebKitAPI/Tests/WebKit2/simple2.html: Removed.
684         * TestWebKitAPI/Tests/WebKit2/simple3.html: Removed.
685         * TestWebKitAPI/Tests/WebKit2/spacebar-scrolling.html: Removed.
686         * TestWebKitAPI/Tests/WebKit2/test-mse.mp4: Removed.
687         * TestWebKitAPI/Tests/WebKit2/test-without-audio-track.mp4: Removed.
688         * TestWebKitAPI/Tests/WebKit2/test.mp4: Removed.
689         * TestWebKitAPI/Tests/WebKit2/test.pdf: Removed.
690         * TestWebKitAPI/Tests/WebKit2/webfont.html: Removed.
691
692 2017-08-25  Alex Christensen  <achristensen@webkit.org>
693
694         Rename TestWebKitAPI/Tests/WebKit to WebKitLegacy following Source directory rename.
695
696         Rubber-stamped by Brady Eidson.
697
698         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
699         * TestWebKitAPI/Tests/WebKit: Removed.
700         * TestWebKitAPI/Tests/WebKit/ios: Removed.
701         * TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm: Removed.
702         * TestWebKitAPI/Tests/WebKit/ios/SnapshotViaRenderInContext.mm: Removed.
703         * TestWebKitAPI/Tests/WebKit/ios/audio-only.html: Removed.
704         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html: Removed.
705         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.mp4: Removed.
706         * TestWebKitAPI/Tests/WebKit/ios/video-with-muted-audio-and-webaudio.html: Removed.
707         * TestWebKitAPI/Tests/WebKit/ios/video-with-muted-audio.html: Removed.
708         * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.html: Removed.
709         * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.mp4: Removed.
710         * TestWebKitAPI/Tests/WebKit/win: Removed.
711         * TestWebKitAPI/Tests/WebKit/win/ScaleWebView.cpp: Removed.
712         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp: Removed.
713         * TestWebKitAPI/Tests/WebKitLegacy: Copied from TestWebKitAPI/Tests/WebKit.
714
715 2017-08-25  Alex Christensen  <achristensen@webkit.org>
716
717         Add WKUIDelegatePrivate equivalent of WKPageUIClient's saveDataToFileInDownloadsFolder
718         https://bugs.webkit.org/show_bug.cgi?id=176000
719         <rdar://problem/29270035>
720
721         Reviewed by Andy Estes.
722
723         * TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm:
724         (-[FocusDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
725         (TEST):
726         (-[SaveDataToFileDelegate _webView:saveDataToFile:suggestedFilename:mimeType:originatingURL:]):
727         (-[SaveDataToFileDelegate webView:didFinishNavigation:]):
728
729 2017-08-25  Youenn Fablet  <youenn@apple.com>
730
731         WPT server should not need to copy test harness files
732         https://bugs.webkit.org/show_bug.cgi?id=175938
733
734         Reviewed by Alexey Proskuryakov.
735
736         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
737         (WebPlatformTestServer.__init__): Stopping explicit resource files copy when launching the WPT server.
738         Use aliases instead.
739
740 2017-08-25  Eric Carlson  <eric.carlson@apple.com>
741
742         Add String::format variant that takes va_args
743         https://bugs.webkit.org/show_bug.cgi?id=175988
744
745         Reviewed by Jer Noble.
746
747         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
748         (TestWebKitAPI::testWithFormatAndArguments):
749         (TestWebKitAPI::TEST):
750
751 2017-08-25  Jonathan Bedard  <jbedard@apple.com>
752
753         Follow-up Internal build fix for r221187
754         https://bugs.webkit.org/show_bug.cgi?id=175960
755         <rdar://problem/34069264>
756
757         Unreviewed build fix.
758
759         * TestWebKitAPI/ios/DataInteractionSimulator.h: Move UIItemProvider declaration
760         into #if block.
761
762 2017-08-25  Don Olmstead  <don.olmstead@sony.com>
763
764         [WinCairo] Use GitHub releases for WinCairoRequirements
765         https://bugs.webkit.org/show_bug.cgi?id=175972
766
767         Reviewed by Brent Fulgham.
768
769         * Scripts/build-webkit:
770         (cMakeArgsFromFeatures): Deleted.
771         (writeCongrats): Deleted.
772         * Scripts/download-latest-github-release.py:
773         (Status):
774         (parse_args):
775         (main):
776         * Scripts/update-webkit-wincairo-libs.py: Renamed from Tools/Scripts/update-webkit-wincairo-libs.
777
778 2017-08-25  Jonathan Bedard  <jbedard@apple.com>
779
780         Fix build breakage with Public iOS 11 SDK
781         https://bugs.webkit.org/show_bug.cgi?id=175960
782         <rdar://problem/34069264>
783
784         Reviewed by Wenson Hsieh.
785
786         * TestWebKitAPI/ios/DataInteractionSimulator.h: Add UIItemProvider declaration.
787
788 2017-08-24  Chris Dumez  <cdumez@apple.com>
789
790         [Directory Upload] Add basic support for input.webkitdirectory
791         https://bugs.webkit.org/show_bug.cgi?id=175950
792         <rdar://problem/33951915>
793
794         Reviewed by Geoffrey Garen.
795
796         * DumpRenderTree/mac/DumpRenderTree.mm:
797         (resetWebPreferencesToConsistentValues):
798         * WebKitTestRunner/TestController.cpp:
799         (WTR::TestController::resetPreferencesToConsistentValues):
800         Enable Directory Upload feature for testing, given that it is currently disabled by default.
801
802         (WTR::runOpenPanel):
803         Print additional text when directories are allowed to extend testing coverage.
804
805 2017-08-24  Alex Christensen  <achristensen@webkit.org>
806
807         Add WKUIDelegatePrivate equivalent of WKPageUIClient's handleAutoplayEvent
808         https://bugs.webkit.org/show_bug.cgi?id=175965
809         <rdar://problem/29270035>
810
811         Reviewed by Tim Horton.
812
813         * TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm:
814         (TEST):
815         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
816         (-[AutoplayPoliciesDelegate _webView:handleAutoplayEvent:withFlags:]):
817         (TEST):
818         (handleAutoplayEvent): Deleted.
819
820 2017-08-24  Alex Christensen  <achristensen@webkit.org>
821
822         didNotHandleWheelEvent test times out
823         https://bugs.webkit.org/show_bug.cgi?id=175967
824
825         * TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm:
826         Skip the test until WebCore's wheel event handling is reliable enough to test.
827
828 2017-08-24  Jonathan Bedard  <jbedard@apple.com>
829
830         Update configure-xcode-for-ios-development for iOS 11
831         https://bugs.webkit.org/show_bug.cgi?id=173937
832         <rdar://problem/33038924>
833
834         Reviewed by Daniel Bates.
835
836         Xcode 9 has removed the following headers from the iOS 11 Simulator SDK:
837                 /usr/include/crt_externs.h
838                 /usr/include/mach/mach_types.defs
839                 /usr/include/mach/machine/machine_types.defs
840                 /usr/include/mach/std_types.defs
841                 /usr/include/objc/objc-class.h
842                 /usr/include/objc/objc-runtime.h
843                 /usr/include/objc/Protocol.h
844                 /usr/include/readline/history.h
845                 /usr/include/readline/readline.h
846         To solve this problem, configure-xcode-for-ios-development copies these headers
847         from the active macOS SDK into the iOS Simulator SDK.
848
849         * Scripts/configure-xcode-for-ios-development:
850         (copyMissingHeadersFromSDKToSDKIfNeeded): Copy all missing header from one SDK
851         into another if those headers do not exist in the destination SDK.
852         (copyMissingHeadersToIPhoneOSSDKIfNeeded): Deleted.
853
854 2017-08-24  Alex Christensen  <achristensen@webkit.org>
855
856         Add WKUIDelegatePrivate callback corresponding to PageUIClient's didNotHandleWheelEvent
857         https://bugs.webkit.org/show_bug.cgi?id=175957
858         <rdar://problem/29270035>
859
860         Reviewed by Geoffrey Garen.
861
862         * TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm:
863         (synthesizeWheelEvents):
864         (-[WheelDelegate _webView:didNotHandleWheelEvent:]):
865         (-[WheelDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
866         (TEST):
867
868 2017-08-24  Tim Horton  <timothy_horton@apple.com>
869
870         Layout size override changes during in-flight animated resize are dropped on the floor forever
871         https://bugs.webkit.org/show_bug.cgi?id=175916
872         <rdar://problem/33887295>
873
874         Reviewed by Beth Dakin.
875
876         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm:
877         (TEST):
878         Add a test ensuring that override layout size changes
879         during an animated resize actually take effect.
880
881 2017-08-23  Matt Lewis  <jlewis3@apple.com>
882
883         Disabled VideoControlsManagerMultipleVideosSwitchControlledVideoWhenScrolling.
884         https://bugs.webkit.org/show_bug.cgi?id=175909
885
886         Unreviewed test gardening.
887
888         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
889         (TestWebKitAPI::TEST):
890
891 2017-08-24  Don Olmstead  <don.olmstead@sony.com>
892
893         [CMake] Use find_package for SQLite
894         https://bugs.webkit.org/show_bug.cgi?id=175803
895
896         Reviewed by Konstantin Tokarev.
897
898         * TestWebKitAPI/PlatformWin.cmake:
899
900 2017-08-23  Jonathan Bedard  <jbedard@apple.com>
901
902         Leaking CARenderServerBuffer in PlatformWebView::windowSnapshotImage()
903         https://bugs.webkit.org/show_bug.cgi?id=175905
904
905         Reviewed by Tim Horton.
906
907         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
908         (WTR::PlatformWebView::windowSnapshotImage): Pass CARenderServerBuffer to CGDataProviderCreateWithData
909         so that the buffer can be destroyed.
910
911 2017-08-23  Alex Christensen  <achristensen@webkit.org>
912
913         Add WKUIDelegatePrivate callbacks corresponding to WKPageUIClient's takeFocus, focus, and unfocus
914         https://bugs.webkit.org/show_bug.cgi?id=175896
915
916         Reviewed by Tim Horton.
917
918         * TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm:
919         (-[UITestDelegate _showWebView:]):
920         (TEST):
921         (tabEvent):
922         (synthesizeTab):
923         (-[FocusDelegate _webView:takeFocus:]):
924         (-[FocusDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
925         (-[UITestDelegate _webViewShow:]): Deleted.
926
927 2017-08-23  Eric Carlson  <eric.carlson@apple.com>
928
929         Platform code should be able to safely log in release builds
930         https://bugs.webkit.org/show_bug.cgi?id=175854
931         <rdar://problem/34022930>
932
933         Reviewed by Jer Noble.
934
935         * TestWebKitAPI/Tests/WebCore/Logging.cpp:
936         (TestWebKitAPI::TEST_F):
937
938 2017-08-23  Jonathan Bedard  <jbedard@apple.com>
939
940         Access expectations path through apple_additions
941         https://bugs.webkit.org/show_bug.cgi?id=174800
942         <rdar://problem/33498899>
943
944         Unreviewed follow-up fix for r221087.
945
946         * Scripts/webkitpy/port/ios.py:
947         (IOSPort._apple_additions_path): Use iOS mapping instead of Mac mapping.
948
949 2017-08-23  Jonathan Bedard  <jbedard@apple.com>
950
951         Access expectations path through apple_additions
952         https://bugs.webkit.org/show_bug.cgi?id=174800
953         <rdar://problem/33498899>
954
955         Reviewed by David Kilzer.
956
957         Follow-up fix. Mapping of operating system names was done incorrectly.
958
959         * Scripts/webkitpy/port/ios.py:
960         (IOSPort._apple_additions_path): Correctly find the operating system to be replaced.
961         * Scripts/webkitpy/port/ios_device_unittest.py:
962         (IOSDeviceTest.test_layout_test_searchpath_with_apple_additions): Add test for operating
963         system name replacement.
964         * Scripts/webkitpy/port/ios_simulator_unittest.py:
965         (IOSSimulatorTest.test_layout_test_searchpath_with_apple_additions): Add test for operating
966         system name replacement.
967         * Scripts/webkitpy/port/mac.py: Correctly find the operating system to be replaced.
968         (MacPort._apple_additions_path):
969         * Scripts/webkitpy/port/mac_unittest.py:
970         (MacTest.test_layout_test_searchpath_with_apple_additions): Add test for operating system
971         name replacement.
972         * Scripts/webkitpy/port/port_testcase.py:
973         (bind_mock_apple_additions.MockAppleAdditions.ios_os_name): Change the passed name so that
974         operating system name replacement can be tested.
975         (bind_mock_apple_additions.MockAppleAdditions.mac_os_name): Ditto.
976
977 2017-08-23  Jonathan Bedard  <jbedard@apple.com>
978
979         Access expectations path through apple_additions
980         https://bugs.webkit.org/show_bug.cgi?id=174800
981         <rdar://problem/33498899>
982
983         Reviewed by Alexey Proskuryakov.
984
985         When external test expectations are imported through additional-platform-directory, they will
986         over-write any WebKit expectations. Access some expectations from apple_additions to correct
987         these precedence issues.
988
989         * Scripts/webkitpy/port/ios.py:
990         (IOSPort._apple_additions_path): Convert test expectation directory to a path
991         coming from apple_additions.
992         (IOSPort.default_baseline_search_path): Alternate between WebKit path and apple_additions
993         path for layout test expectations.
994         * Scripts/webkitpy/port/ios_device_unittest.py:
995         (IOSDeviceTest.test_layout_test_searchpath_with_apple_additions): Added to test layout-test search paths.
996         * Scripts/webkitpy/port/ios_simulator_unittest.py:
997         (IOSSimulatorTest.test_layout_test_searchpath_with_apple_additions): Added to test layout-test search paths.
998         * Scripts/webkitpy/port/mac.py:
999         (MacPort._apple_additions_path): Convert test expectation directory to a path
1000         coming from apple_additions.
1001         (MacPort.default_baseline_search_path): Alternate between WebKit path and apple_additions
1002         path for layout test expectations.
1003         * Scripts/webkitpy/port/mac_unittest.py:
1004         (MacTest.test_layout_test_searchpath_with_apple_additions): Added to test layout-test search paths.
1005         * Scripts/webkitpy/port/port_testcase.py:
1006         (bind_mock_apple_additions): Added to create mock apple_additions for a block.
1007         (bind_mock_apple_additions.MockAppleAdditions): Contains apple_addition stubs for testing.
1008         * Scripts/webkitpy/port/win.py:
1009         (WinPort.default_baseline_search_path): Include apple_additions test expectation for Windows.
1010
1011 2017-08-22  Zan Dobersek  <zdobersek@igalia.com>
1012
1013         Unreviewed. The WPE port should build TestWebKitAPI with the same
1014         compiler flags as the GTK+ port, disabling a few flags that are
1015         sprouting a lot of warning output.
1016
1017         * TestWebKitAPI/PlatformWPE.cmake:
1018
1019 2017-08-20  Wenson Hsieh  <wenson_hsieh@apple.com>
1020
1021         [iOS WK2] WKWebView schedules nonstop layout after pressing cmb+b,i,u inside a contenteditable div
1022         https://bugs.webkit.org/show_bug.cgi?id=175116
1023         <rdar://problem/28279301>
1024
1025         Reviewed by Darin Adler and Ryosuke Niwa.
1026
1027         Introduces new testing infrastructure and API tests to test EditorState updates in the UI process. The new
1028         EditorStateTests run on both iOS and Mac.
1029
1030         * TestWebKitAPI/EditingTestHarness.h: Added.
1031         * TestWebKitAPI/EditingTestHarness.mm: Added.
1032
1033         EditingTestHarness is a helper object that API tests may use to apply editing commands and store EditorState
1034         history. This test harness adds sugaring around various editing commands, and simplifies the process of checking
1035         the state of the latest observed EditorState.
1036
1037         (-[EditingTestHarness initWithWebView:]):
1038         (-[EditingTestHarness dealloc]):
1039         (-[EditingTestHarness webView]):
1040         (-[EditingTestHarness latestEditorState]):
1041         (-[EditingTestHarness editorStateHistory]):
1042         (-[EditingTestHarness insertText:andExpectEditorStateWith:]):
1043         (-[EditingTestHarness insertHTML:andExpectEditorStateWith:]):
1044         (-[EditingTestHarness selectAllAndExpectEditorStateWith:]):
1045         (-[EditingTestHarness moveBackwardAndExpectEditorStateWith:]):
1046         (-[EditingTestHarness moveWordBackwardAndExpectEditorStateWith:]):
1047         (-[EditingTestHarness toggleBold]):
1048         (-[EditingTestHarness toggleItalic]):
1049         (-[EditingTestHarness toggleUnderline]):
1050         (-[EditingTestHarness setForegroundColor:]):
1051         (-[EditingTestHarness alignJustifiedAndExpectEditorStateWith:]):
1052         (-[EditingTestHarness alignLeftAndExpectEditorStateWith:]):
1053         (-[EditingTestHarness alignCenterAndExpectEditorStateWith:]):
1054         (-[EditingTestHarness alignRightAndExpectEditorStateWith:]):
1055         (-[EditingTestHarness insertParagraphAndExpectEditorStateWith:]):
1056         (-[EditingTestHarness deleteBackwardAndExpectEditorStateWith:]):
1057         (-[EditingTestHarness _execCommand:argument:expectEntries:]):
1058
1059         Dispatches an editing command to the web process, and blocks until a response is received. If an expected
1060         entries dictionary is given, this will additionally verify that the latest EditorState contains all the expected
1061         keys and values.
1062
1063         (-[EditingTestHarness latestEditorStateContains:]):
1064         (-[EditingTestHarness _webView:editorStateDidChange:]):
1065         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1066         * TestWebKitAPI/Tests/WebKit2Cocoa/EditorStateTests.mm: Added.
1067         (TestWebKitAPI::setUpEditorStateTestHarness):
1068         (TestWebKitAPI::TEST):
1069         * TestWebKitAPI/Tests/WebKit2Cocoa/editor-state-test-harness.html: Added.
1070
1071 2017-08-22  Wenson Hsieh  <wenson_hsieh@apple.com>
1072
1073         [WK2] EditorState updates should be rolled into the layer update lifecycle when possible
1074         https://bugs.webkit.org/show_bug.cgi?id=175370
1075         <rdar://problem/33799806>
1076
1077         Reviewed by Ryosuke Niwa.
1078
1079         Tweaks API tests that involve editing to wait for a presentation update before checking against UI process-side
1080         information sent via EditorState updates. This allows any EditorState update scheduled by the test to propagate
1081         to the UI process.
1082
1083         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm:
1084         (-[CandidateTestWebView typeString:inputMessage:]):
1085         (+[CandidateTestWebView setUpWithFrame:testPage:]):
1086         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewTextInput.mm:
1087         * TestWebKitAPI/Tests/mac/AcceptsFirstMouse.mm:
1088         (TestWebKitAPI::AcceptsFirstMouse::runTest):
1089         * TestWebKitAPI/Tests/mac/WKWebViewMacEditingTests.mm:
1090         * TestWebKitAPI/cocoa/TestWKWebView.h:
1091         * TestWebKitAPI/cocoa/TestWKWebView.mm:
1092         (-[TestWKWebView waitForNextPresentationUpdate]):
1093
1094         Add a new helper method to spin until the next presentation update.
1095
1096         * TestWebKitAPI/mac/WebKitAgnosticTest.h:
1097         * TestWebKitAPI/mac/WebKitAgnosticTest.mm:
1098         (TestWebKitAPI::WebKitAgnosticTest::waitForNextPresentationUpdate):
1099
1100 2017-08-22  Alex Christensen  <achristensen@webkit.org>
1101
1102         Add UIDelegatePrivate SPI corresponding to WKPageUIClient.showPage
1103         https://bugs.webkit.org/show_bug.cgi?id=175797
1104         <rdar://problem/29270035>
1105
1106         Reviewed by Geoffrey Garen.
1107
1108         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1109         * TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm: Added.
1110         (-[UITestDelegate webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
1111         (-[UITestDelegate _showPage:]):
1112         (-[UITestDelegate webView:startURLSchemeTask:]):
1113         (-[UITestDelegate webView:stopURLSchemeTask:]):
1114         (TEST):
1115
1116 2017-08-22  Devin Rousso  <webkit@devinrousso.com>
1117
1118         Unreviewed, change my IRC nick.
1119
1120         * Scripts/webkitpy/common/config/contributors.json:
1121
1122 2017-08-22  Matt Lewis  <jlewis3@apple.com>
1123
1124         Unreviewed, rolling out r221026.
1125
1126         This caused a consistent API failure on iOS Simulator.
1127
1128         Reverted changeset:
1129
1130         "Add UIDelegatePrivate SPI corresponding to
1131         WKPageUIClient.showPage"
1132         https://bugs.webkit.org/show_bug.cgi?id=175797
1133         http://trac.webkit.org/changeset/221026
1134
1135 2017-08-22  Alex Christensen  <achristensen@webkit.org>
1136
1137         Add UIDelegatePrivate SPI corresponding to WKPageUIClient.showPage
1138         https://bugs.webkit.org/show_bug.cgi?id=175797
1139         <rdar://problem/29270035>
1140
1141         Reviewed by Geoffrey Garen.
1142
1143         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1144         * TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm: Added.
1145         (-[UITestDelegate webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
1146         (-[UITestDelegate _showPage:]):
1147         (-[UITestDelegate webView:startURLSchemeTask:]):
1148         (-[UITestDelegate webView:stopURLSchemeTask:]):
1149         (TEST):
1150
1151 2017-08-22  Jonathan Bedard  <jbedard@apple.com>
1152
1153         Fix leak-checking for iOS Simulators
1154         https://bugs.webkit.org/show_bug.cgi?id=175735
1155
1156         Reviewed by David Kilzer.
1157
1158         Follow-up fix to r220942. _proc may be undefined.
1159
1160         * Scripts/webkitpy/port/server_process.py:
1161         (ServerProcess._wait_for_stop): Handle case where _proc is undefined.
1162
1163 2017-08-22  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1164
1165         [GTK][WPE] install-dependencies should install the required gstreamer packages needed for production builds.
1166         https://bugs.webkit.org/show_bug.cgi?id=175822
1167
1168         Reviewed by Xabier Rodriguez-Calvar.
1169
1170         * gtk/install-dependencies: Add the bad plugins to the list.
1171         * wpe/install-dependencies: Add all the gst related packages (copied from GTK listing).
1172
1173 2017-08-21  Myles C. Maxfield  <mmaxfield@apple.com>
1174
1175         DataInteractionTests.ExternalSourceAttributedStringToContentEditable hits a debug assertion
1176         https://bugs.webkit.org/show_bug.cgi?id=175787
1177         <rdar://problem/33996612>
1178
1179         Reviewed by Wenson Hsieh.
1180
1181         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1182         (TestWebKitAPI::TEST):
1183
1184 2017-08-21  Myles C. Maxfield  <mmaxfield@apple.com>
1185
1186         Typo in "webkit-patch land"
1187         https://bugs.webkit.org/show_bug.cgi?id=175788
1188
1189         Reviewed by Tim Horton.
1190
1191         * Scripts/webkitpy/tool/steps/commit.py:
1192         (Commit._commit_warning):
1193
1194 2017-08-20  Sam Weinig  <sam@webkit.org>
1195
1196         StringView could use a function to strip leading/trailing characters without allocation
1197         https://bugs.webkit.org/show_bug.cgi?id=175757
1198
1199         Reviewed by Darin Adler.
1200
1201         * TestWebKitAPI/Tests/WTF/StringView.cpp:
1202         Add tests for StringView::stripLeadingAndTrailingMatchedCharacters().
1203
1204 2017-08-21  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
1205
1206         [PAL] Move spi/mac directory into PAL
1207         https://bugs.webkit.org/show_bug.cgi?id=175649
1208
1209         Reviewed by Myles C. Maxfield.
1210
1211         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
1212
1213 2017-08-21  Per Arne Vollan  <pvollan@apple.com>
1214
1215         [Win] DRT should only allow any https certificate for localhost.
1216         https://bugs.webkit.org/show_bug.cgi?id=175147
1217
1218         Reviewed by Brent Fulgham.
1219
1220         Add check to make sure only localhost requests allow any https certificate.
1221
1222         * DumpRenderTree/win/DumpRenderTree.cpp:
1223         (runTest):
1224
1225 2017-08-21  Eric Carlson  <eric.carlson@apple.com>
1226
1227         Add WTFLogChannel level to allow runtime log filtering
1228         https://bugs.webkit.org/show_bug.cgi?id=175731
1229         <rdar://problem/33967234>
1230
1231         Unreviewed build fix.
1232
1233         * TestWebKitAPI/Tests/WebCore/Logging.cpp:
1234         (TestWebKitAPI::LoggingTest::output): Disable testing output by default because it 
1235         fails on some of the bots.
1236
1237 2017-08-21  Eric Carlson  <eric.carlson@apple.com>
1238
1239         Add WTFLogChannel level to allow runtime log filtering
1240         https://bugs.webkit.org/show_bug.cgi?id=175731
1241         <rdar://problem/33967234>
1242
1243         Reviewed by Jer Noble.
1244
1245         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1246         * TestWebKitAPI/Tests/WebCore/Logging.cpp: Added.
1247         (TestWebKitAPI::LoggingTest::output):
1248         (TestWebKitAPI::TEST_F):
1249
1250 2017-08-19  Wenson Hsieh  <wenson_hsieh@apple.com>
1251
1252         [iOS WK2] Add a version of DataInteractionTests.ExternalSourceAttributedStringToContentEditable that doesn't hit a debug assertion
1253         https://bugs.webkit.org/show_bug.cgi?id=175509
1254         <rdar://problem/33728169>
1255
1256         Reviewed by Ryosuke Niwa.
1257
1258         Removes ExternalSourceAttributedStringToContentEditable and adds
1259         ExternalSourceColoredAttributedStringToContentEditable, which tests dropping an attributed string with colored
1260         text instead of a bold attributed string of system font. Due to a recent change in behavior in UIKit, the
1261         original test (which this patch renames to ExternalSourceBoldSystemAttributedStringToContentEditable) hits a
1262         debug assertion when dropping text of system bold font. Since the original intent of this test was to verify
1263         that the attributed string UTI can be accepted in richly contenteditable areas, it suffices to check that some
1264         other style attribute, such as color, carries over from the NSAttributedString to the DOM.
1265
1266         Also marks ExternalSourceBoldSystemAttributedStringToContentEditable as disabled for the time being.
1267
1268         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1269         (TestWebKitAPI::TEST):
1270
1271 2017-08-18  Ryan Haddad  <ryanhaddad@apple.com>
1272
1273         Unreviewed, rolling out r220938.
1274
1275         The API tests added with this change are failing.
1276
1277         Reverted changeset:
1278
1279         "Add WTFLogChannel level to allow runtime log filtering"
1280         https://bugs.webkit.org/show_bug.cgi?id=175731
1281         http://trac.webkit.org/changeset/220938
1282
1283 2017-08-18  Devin Rousso  <webkit@devinrousso.com>
1284
1285         Unreviewed, change my email.
1286
1287         * Scripts/webkitpy/common/config/contributors.json:
1288
1289 2017-08-18  Jonathan Bedard  <jbedard@apple.com>
1290
1291         Fix leak-checking for iOS Simulators
1292         https://bugs.webkit.org/show_bug.cgi?id=175735
1293
1294         Reviewed by Darin Adler.
1295
1296         If the leak checking currently occurs in ServerProcess, we can’t check leaks on an iOS
1297         Simulator (or device) because the process will have already been killed by the time we
1298         check for leaks. Duplicate leak-checking code and share code waiting on a process to stop.
1299
1300         * Scripts/webkitpy/port/server_process.py:
1301         (ServerProcess.stop): Move code waiting for the process to close to _wait_for_stop(...).
1302         (ServerProcess._wait_for_stop): Share code shutting down a process between ServerProcess
1303         and SimulatorProcess.
1304         * Scripts/webkitpy/port/simulator_process.py:
1305         (SimulatorProcess.stop): Before closing the process, check for leaks.
1306
1307 2017-08-18  Eric Carlson  <eric.carlson@apple.com>
1308
1309         Add WTFLogChannel level to allow runtime log filtering
1310         https://bugs.webkit.org/show_bug.cgi?id=175731
1311         <rdar://problem/33967234>
1312
1313         Reviewed by Jer Noble.
1314
1315         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1316         * TestWebKitAPI/Tests/WebCore/Logging.cpp: Added.
1317         (TestWebKitAPI::LoggingTest::output):
1318         (TestWebKitAPI::TEST_F):
1319
1320 2017-08-18  Alexey Proskuryakov  <ap@apple.com>
1321
1322         Add Dean Johnson to contributors.json for Bugzilla autocomplete.
1323
1324         * Scripts/webkitpy/common/config/contributors.json:
1325
1326 2017-08-18  Ross Kirsling  <ross.kirsling@sony.com>
1327
1328         [Tools] Add script to download a GitHub release
1329         https://bugs.webkit.org/show_bug.cgi?id=175279
1330
1331         Reviewed by Brent Fulgham.
1332
1333         * Scripts/download-latest-github-release.py: Added.
1334
1335 2017-08-18  Commit Queue  <commit-queue@webkit.org>
1336
1337         Unreviewed, rolling out r220854.
1338         https://bugs.webkit.org/show_bug.cgi?id=175716
1339
1340         I'm not sure we really need this (Requested by KaL on
1341         #webkit).
1342
1343         Reverted changeset:
1344
1345         "[GTK][WPE] Add NTLM authentication enabled API"
1346         https://bugs.webkit.org/show_bug.cgi?id=122952
1347         http://trac.webkit.org/changeset/220854
1348
1349 2017-08-17  Michael Catanzaro  <mcatanzaro@igalia.com>
1350
1351         [GTK] Make TestContextMenu work on Fedora
1352         https://bugs.webkit.org/show_bug.cgi?id=175708
1353
1354         Reviewed by Carlos Garcia Campos.
1355
1356         TestContextMenu has been broken for as long as I remember, but not on the bots, only for me
1357         and my student last summer who was trying to work on a context menu API. It's trying to load
1358         an MPEG-2 video file and confirm that right-clicking on it shows media element context menu
1359         entries. Doesn't work on Fedora. Dunno why, since Fedora actually can play MPEG-2, but I
1360         don't care to investigate. Let's switch it to WebM so I can move on.
1361
1362         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
1363         (prepareContextMenuTestView):
1364         * TestWebKitAPI/Tests/WebKitGLib/resources/silence.mpg: Removed.
1365         * TestWebKitAPI/Tests/WebKitGLib/resources/silence.webm: Added.
1366
1367 2017-08-17  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
1368
1369         check-webkit-style shouldn't check spacing in #elif preprocessor lines
1370         https://bugs.webkit.org/show_bug.cgi?id=175652
1371
1372         Reviewed by Alex Christensen.
1373
1374         * Scripts/webkitpy/style/checkers/cpp.py:
1375         (check_spacing):
1376         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1377         (CppStyleTest.test_spacing_for_binary_ops):
1378
1379 2017-08-17  Wenson Hsieh  <wenson_hsieh@apple.com>
1380
1381         Fix the build on other platforms after r220865
1382         https://bugs.webkit.org/show_bug.cgi?id=175683
1383
1384         Reviewed by Tim Horton.
1385
1386         Check __IPHONE_OS_VERSION_MAX_ALLOWED instead of __IPHONE_OS_VERSION_MIN_REQUIRED in an SPI header. SPI
1387         availability is determined by SDK version rather than deployment version.
1388
1389         * TestWebKitAPI/ios/UIKitSPI.h:
1390
1391 2017-08-17  Andreas Kling  <akling@apple.com>
1392
1393         Disable CSS regions at compile time
1394         https://bugs.webkit.org/show_bug.cgi?id=175630
1395
1396         Reviewed by Antti Koivisto.
1397
1398         * Scripts/webkitperl/FeatureList.pm:
1399         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1400
1401 2017-08-17  Wenson Hsieh  <wenson_hsieh@apple.com>
1402
1403         Unreviewed, try to fix the internal iOS 10 build after r220865.
1404
1405         * TestWebKitAPI/ios/UIKitSPI.h:
1406
1407         On the iOS 10 SDK, UIApplication_Private.h cannot be imported in the simulator. Simply fall back to using the
1408         extern declaration when building for pre-iOS 11; once the bots stop building for iOS 10, we can safely remove
1409         this compiler guard.
1410
1411 2017-08-17  Wenson Hsieh  <wenson_hsieh@apple.com>
1412
1413         [iOS] Respect type fidelities when copying image elements to the pasteboard
1414         https://bugs.webkit.org/show_bug.cgi?id=175638
1415         <rdar://problem/26556043>
1416
1417         Reviewed by Ryosuke Niwa.
1418
1419         Add API tests that simulate copying an image element using the action sheet, and verifying that the pasteboard
1420         contains UTIs in order of fidelity (image type before URL). Also pulls out UIKit SPI (UIApplicationInitialize)
1421         used in UIPasteboardTests and ActionSheetTests into a common UIKitSPI header.
1422
1423         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1424         * TestWebKitAPI/Tests/ios/ActionSheetTests.mm:
1425         (-[ActionSheetObserver _webView:actionsForElement:defaultActions:]):
1426         (TestWebKitAPI::TEST):
1427         (TestWebKitAPI::presentActionSheetAndChooseAction):
1428         (-[ActionSheetObserver waitForActionSheetAfterBlock:]): Deleted.
1429         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1430         (checkEstimatedSize):
1431         (checkSuggestedNameAndEstimatedSize):
1432
1433         Replace -estimatedDisplayedSize with its non-deprecated counterpart, -preferredPresentationSize.
1434
1435         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
1436         (TestWebKitAPI::TEST):
1437         * TestWebKitAPI/ios/DataInteractionSimulator.h:
1438         * TestWebKitAPI/ios/UIKitSPI.h: Added.
1439
1440 2017-08-17  Jonathan Bedard  <jbedard@apple.com>
1441
1442         Recursively create resource load statistics folder for testing
1443         https://bugs.webkit.org/show_bug.cgi?id=175676
1444
1445         Reviewed by Brady Eidson.
1446
1447         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1448         (WTR::TestController::cocoaPlatformInitialize): Recursively create resourceLoadStatisticsFolder.
1449
1450 2017-08-17  Carlos Garcia Campos  <cgarcia@igalia.com>
1451
1452         [GTK][WPE] Add NTLM authentication enabled API
1453         https://bugs.webkit.org/show_bug.cgi?id=122952
1454
1455         Reviewed by Michael Catanzaro.
1456
1457         Add a test case to check we can enable/disable NTLM.
1458
1459         * TestWebKitAPI/Tests/WebKitGLib/TestAuthentication.cpp:
1460         (testWebViewAuthenticationNTLM):
1461         (beforeAll):
1462
1463 2017-08-16  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
1464
1465         [PAL] Move spi/ios and spi/win directories into PAL
1466         https://bugs.webkit.org/show_bug.cgi?id=175171
1467
1468         Reviewed by Antti Koivisto.
1469
1470         * DumpRenderTree/mac/EventSendingController.mm:
1471
1472 2017-08-16  Andy Estes  <aestes@apple.com>
1473
1474         [Payment Request] Add an ENABLE flag and an experimental feature preference
1475         https://bugs.webkit.org/show_bug.cgi?id=175622
1476
1477         Reviewed by Tim Horton.
1478
1479         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1480         * WebKitTestRunner/TestController.cpp:
1481         (WTR::TestController::resetPreferencesToConsistentValues):
1482
1483 2017-08-15  Aakash Jain  <aakash_jain@apple.com>
1484
1485         undefined URL in PopoverTracker for failed step
1486         https://bugs.webkit.org/show_bug.cgi?id=175593
1487         <rdar://problem/33898769>
1488
1489         Reviewed by Daniel Bates.
1490
1491         This fix is a workaround for Buildbot 0.9 bug <https://github.com/buildbot/buildbot/issues/3529> where it
1492         does not provide a URL to stdio for a build step. Buildbot 0.8 always included a URL to the stdio of the step.
1493
1494         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1495         (BuildbotIteration.prototype._parseData): Pass the URL while instantiating BuildbotTestResults.
1496         (BuildbotIteration.prototype._urlForStep): Method to get the URL for a step.
1497         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
1498         (BuildbotTestResults): Accept URL in constructor.
1499
1500 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
1501
1502         Remove Proximity Events and related code
1503         https://bugs.webkit.org/show_bug.cgi?id=175545
1504
1505         Reviewed by Daniel Bates.
1506
1507         No platform enables Proximity Events, so remove code inside ENABLE(PROXIMITY_EVENTS)
1508         and other related code.
1509
1510         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1511
1512 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
1513
1514         Remove ENABLE(REQUEST_AUTOCOMPLETE) code, which was disabled everywhere
1515         https://bugs.webkit.org/show_bug.cgi?id=175504
1516
1517         Reviewed by Sam Weinig.
1518
1519         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1520
1521 2017-08-14  Simon Fraser  <simon.fraser@apple.com>
1522
1523         Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
1524         https://bugs.webkit.org/show_bug.cgi?id=175557
1525
1526         Reviewed by Jon Lee.
1527         
1528         No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.
1529
1530         * DumpRenderTree/TestRunner.cpp:
1531         (TestRunner::staticFunctions):
1532         (setViewModeMediaFeatureCallback): Deleted.
1533         * DumpRenderTree/TestRunner.h:
1534         * DumpRenderTree/mac/TestRunnerMac.mm:
1535         (TestRunner::setViewModeMediaFeature): Deleted.
1536         * DumpRenderTree/win/TestRunnerWin.cpp:
1537         (TestRunner::setViewModeMediaFeature): Deleted.
1538         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1539
1540 2017-08-14  Andy Estes  <aestes@apple.com>
1541
1542         REGRESSION (r220456): Crash in PreviewLoader::shouldCreateForMIMEType() when a ResourceResponse has a null MIME type
1543         https://bugs.webkit.org/show_bug.cgi?id=175548
1544         <rdar://problem/33866206>
1545
1546         Reviewed by Brady Eidson.
1547
1548         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1549         * TestWebKitAPI/Tests/WebCore/ios/PreviewLoader.cpp: Added.
1550         (TestWebKitAPI::TEST): Added an API test for PreviewLoader::shouldCreateForMIMEType().
1551
1552 2017-08-14  Youenn Fablet  <youenn@apple.com>
1553
1554         WPT server should be able to do logging even if its output folder is not created at launch time
1555         https://bugs.webkit.org/show_bug.cgi?id=175543
1556
1557         Reviewed by Alexey Proskuryakov.
1558
1559         Removing no longer used stdout/stderr member variables.
1560         Creating if needed the output folder so that we can create WPT server output log folder at WPT server launch time.
1561
1562         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1563         (WebPlatformTestServer.__init__):
1564         (WebPlatformTestServer._prepare_config):
1565         (WebPlatformTestServer._spawn_process):
1566         (WebPlatformTestServer._stop_running_server):
1567
1568 2017-08-14  Daniel Bates  <dabates@apple.com>
1569
1570         webkit-patch: Passing --no-review should submit patch to EWS by default
1571         https://bugs.webkit.org/show_bug.cgi?id=148899
1572
1573         Reviewed by David Kilzer.
1574
1575         Make "webkit-patch upload --no-review" and "webkit-patch post-commits --no-review" submit
1576         the patch(es) for EWS analysis by default. Add a new optional command line argument, --no-ews,
1577         to these commands to not submit a non-reviewed patch(es) for EWS analysis.
1578
1579         Frequently I want to post a draft of a patch without review to have the EWS bots process
1580         it to catch build and test breakage before I clean it up and post it for formal review.
1581         Currently this requires using "webkit-patch upload --no-review --open-bug" to upload the
1582         patch and open the bug in Safari so that I can click the Submit for EWS analysis button.
1583         We should teach "webkit-patch upload" and "webkit-patch post-commits" how to do this.
1584
1585         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1586         (Bugzilla._parse_attachment_id_from_add_patch_to_bug_response): Add helper function to
1587         parse the attachment id from the response page after adding an attachment to the bug.
1588         (Bugzilla.add_patch_to_bug): Modified to parse and return the attachment id from the
1589         HTTP response after uploading the patch.
1590         * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py:
1591         (MockBugzilla.add_patch_to_bug): Return a dummy attachment id for testing purposes.
1592         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
1593         (test__parse_attachment_id_from_add_patch_to_bug_response): Added.
1594         * Scripts/webkitpy/tool/commands/upload.py:
1595         (Upload): Add step SubmitToEWS to the list of steps when uploading a patch. 
1596         (PostCommits.__init__): Add --no-ews option to the list of applicable option flags for
1597         this command.
1598         (PostCommits.execute): Submit the patch to EWS, if applicable.
1599         * Scripts/webkitpy/tool/commands/upload_unittest.py:
1600         (test_upload): Set options.ews to False as the upload command expects this option
1601         to be specified.
1602         (test_upload_with_no_review_and_ews): Added.
1603         * Scripts/webkitpy/tool/steps/__init__.py: Import module SubmitToEWS.
1604         * Scripts/webkitpy/tool/steps/options.py:
1605         (Options): Added command line option --no-ews (defaults: False - submit to EWS).
1606         * Scripts/webkitpy/tool/steps/postdiff.py:
1607         (PostDiff.options): Add --no-ews option to the list of applicable option flags for
1608         this command.
1609         (PostDiff.run): Submit the patch to EWS, if applicable.
1610         * Scripts/webkitpy/tool/steps/submittoews.py: Added.
1611         (SubmitToEWS):
1612         (SubmitToEWS.options): Return an empty array as we this step does not have any command line options.
1613         (SubmitToEWS.run): Submit the specified attachment ids for EWS analysis.
1614
1615 2017-08-14  Ryan Haddad  <ryanhaddad@apple.com>
1616
1617         Disable two flaky VideoControlsManager API tests.
1618
1619         Unreviewed test gardening.
1620
1621         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
1622         (TestWebKitAPI::TEST):
1623
1624 2017-08-14  Tim Horton  <timothy_horton@apple.com>
1625
1626         Only create directory and sandbox extension handle for storage directories if they are set
1627         https://bugs.webkit.org/show_bug.cgi?id=175522
1628
1629         Reviewed by Brady Eidson.
1630
1631         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1632         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDoesNotLogDuringInitialization.mm: Added.
1633         (TEST):
1634         Add a test that making a WKWebView with an ephemeral WKWebsiteDataStore
1635         doesn't log anything to stderr.
1636
1637 2017-08-14  Jonathan Bedard  <jbedard@apple.com>
1638
1639         sub-categorize Sandbox violation logs
1640         https://bugs.webkit.org/show_bug.cgi?id=175536
1641         <rdar://problem/33834416>
1642
1643         Reviewed by David Kilzer.
1644
1645         * Scripts/webkitpy/common/system/crashlogs.py:
1646         (CrashLogs._parse_darwin_crash_log): Add 'Sandbox-' to the log name if the log is
1647         a Sandbox violation.
1648         (CrashLogs._find_all_logs_darwin): Update comment.
1649         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
1650         (make_mock_sandbox_report_darwin): Create a Sandbox violation log for testing. 
1651         (CrashLogsTest.create_crash_logs_darwin): Add Sandbox violation to list of crashes.
1652         (CrashLogsTest.test_find_all_log_darwin): 8 logs in testing instead of 7.
1653         (CrashLogsTest.test_duplicate_log_darwin): Check for Sandbox violation log.
1654         * Scripts/webkitpy/port/darwin.py:
1655         (DarwinPort._merge_crash_logs): Handle Sandbox violation case.
1656
1657 2017-08-14  Daniel Bates  <dabates@apple.com>
1658
1659         Add Automator service to copy permalink to Clipboard
1660         https://bugs.webkit.org/show_bug.cgi?id=170978
1661
1662         Reviewed by Joseph Pecoraro.
1663
1664         It is helpful to reference using a hyperlink a particular line of code when having
1665         a discussion on IRC or in a bug. You can get such a link by navigating to the file
1666         in the Trac Browse Source viewer and selecting the line your are interested in.
1667         I found myself doing this often enough that I wrote an Automator service to do it
1668         for me.
1669
1670         This Automator service works with Xcode 8 and Xcode 9 beta 5 (9M202q) or later.
1671
1672         * CopyPermalink/Copy WebKit Permalink.workflow/Contents/Info.plist: Added.
1673         * CopyPermalink/Copy WebKit Permalink.workflow/Contents/document.wflow: Added.
1674         * CopyPermalink/README: Added.
1675
1676 2017-08-14  Chris Dumez  <cdumez@apple.com>
1677
1678         Address flakiness related to download tests
1679         https://bugs.webkit.org/show_bug.cgi?id=175338
1680         <rdar://problem/33865119>
1681
1682         Unreviewed, forgot in r220626 to reset m_shouldLogDownloadCallbacks to false
1683         between tests.
1684
1685         * WebKitTestRunner/TestController.cpp:
1686         (WTR::TestController::resetStateToConsistentValues):
1687
1688 2017-08-11  Ryosuke Niwa  <rniwa@webkit.org>
1689
1690         Replace DATA_TRANSFER_ITEMS by a runtime flag and add a stub implementation
1691         https://bugs.webkit.org/show_bug.cgi?id=175474
1692         <rdar://problem/33844628>
1693
1694         Reviewed by Wenson Hsieh.
1695
1696         Enable dataTransfer.items by default in DumpRenderTree and WebKitTestRunner for testing purposes.
1697
1698         * DumpRenderTree/mac/DumpRenderTree.mm:
1699         (resetWebPreferencesToConsistentValues):
1700         * WebKitTestRunner/TestController.cpp:
1701         (WTR::TestController::resetPreferencesToConsistentValues):
1702
1703 2017-08-12  Chris Dumez  <cdumez@apple.com>
1704
1705         Address flakiness related to download tests
1706         https://bugs.webkit.org/show_bug.cgi?id=175338
1707
1708         Reviewed by Ryosuke Niwa.
1709
1710         - Update WKTR so that the flag set by testRunner.waitUntilDownloadFinished()
1711           is actually queried when a download completes. Previously, this would be
1712           identical to a call to testRunner.waitUntilDone() because any download
1713           completion would call testRunner.notifyDone().
1714         - Disable logging of download callbacks by default and add a
1715           testRunner.setShouldLogDownloadCallbacks(true) API to allow tests to
1716           enable such logging.
1717
1718         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1719         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1720         (WTR::InjectedBundle::didReceiveMessageToPage):
1721         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1722         (WTR::TestRunner::setShouldLogDownloadCallbacks):
1723         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1724         * WebKitTestRunner/TestController.cpp:
1725         (WTR::TestController::downloadDidStart):
1726         (WTR::TestController::decideDestinationWithSuggestedFilename):
1727         (WTR::TestController::downloadDidFinish):
1728         (WTR::TestController::downloadDidFail):
1729         (WTR::TestController::downloadDidCancel):
1730         * WebKitTestRunner/TestController.h:
1731         (WTR::TestController::setShouldLogDownloadCallbacks):
1732         * WebKitTestRunner/TestInvocation.cpp:
1733         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1734
1735 2017-08-11  Jonathan Bedard  <jbedard@apple.com>
1736
1737         Create mock ITP data in testing to prevent grandfathering
1738         https://bugs.webkit.org/show_bug.cgi?id=174720
1739
1740         Unreviewed follow-up fix for r220604.
1741
1742         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1743         (WTR::TestController::cocoaPlatformInitialize): Release resourceLogPlist.
1744
1745 2017-08-11  Jonathan Bedard  <jbedard@apple.com>
1746
1747         Create mock ITP data in testing to prevent grandfathering
1748         https://bugs.webkit.org/show_bug.cgi?id=174720
1749         <rdar://problem/33457779>
1750
1751         Reviewed by Brent Fulgham.
1752
1753         We don't need to be triggering grandfathering when each test runner starts. On Mac,
1754         this may launch plugins which can cause layout tests to fail later if the test
1755         runner does not shut-down before the plugins unload.
1756
1757         * WebKitTestRunner/TestController.h: Add declaration of cocoaPlatformInitialize.
1758         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1759         (WTR::TestController::cocoaPlatformInitialize): Write the minimum data required to
1760         prevent grandfathering from being triggered.
1761         * WebKitTestRunner/ios/TestControllerIOS.mm:
1762         (WTR::TestController::platformInitialize): Call cocoaPlatformInitialize.
1763         * WebKitTestRunner/mac/TestControllerMac.mm:
1764         (WTR::TestController::platformInitialize): Ditto.
1765
1766 2017-08-11  Sam Weinig  <sam@webkit.org>
1767
1768         WTF::Function does not allow for reference / non-default constructible return types
1769         https://bugs.webkit.org/show_bug.cgi?id=175244
1770         <rdar://problem/33801582>
1771
1772         Reviewed by Chris Dumez.
1773
1774         * TestWebKitAPI/Tests/WTF/Function.cpp:
1775         (TestWebKitAPI::TEST):
1776
1777 2017-08-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1778
1779         [Soup] Cannot access HTTPS sites using a HTTP proxy that requires authentication
1780         https://bugs.webkit.org/show_bug.cgi?id=175378
1781
1782         Reviewed by Sergio Villar Senin.
1783
1784         Add two test cases to check proxy authentication.
1785
1786         * TestWebKitAPI/Tests/WebKitGLib/TestAuthentication.cpp:
1787         (Tunnel::Tunnel):
1788         (Tunnel::~Tunnel):
1789         (Tunnel::connect):
1790         (Tunnel::connected):
1791         (serverCallback):
1792         (ProxyAuthenticationTest::ProxyAuthenticationTest):
1793         (ProxyAuthenticationTest::~ProxyAuthenticationTest):
1794         (ProxyAuthenticationTest::proxyServerPortAsString):
1795         (testWebViewAuthenticationProxy):
1796         (testWebViewAuthenticationProxyHTTPS):
1797         (beforeAll):
1798
1799 2017-08-11  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1800
1801         [GStreamer][GTK][WPE] Unify GStreamer JHBuild moduleset for both GTK+ and WPE
1802         https://bugs.webkit.org/show_bug.cgi?id=175428
1803
1804         Both ports share the GStreamer code as multimedia backend and till
1805         not so long they were using different versions. Now they do use
1806         the same versions and it does not make any sense anymore (and
1807         neither had sense before) to have differences in the modulesets.
1808
1809         In this patch I created a GStreamer moduleset and referenced it
1810         from both GTK+'s and WPE's. GStreamer patches were also moved there.
1811
1812         Reviewed by Žan Doberšek.
1813
1814         * gstreamer/jhbuild.modules: Added.
1815         * gstreamer/patches/gst-plugins-good-0003-rtpbin-receive-bundle-support.patch: Renamed from Tools/gtk/patches/gst-plugins-good-0003-rtpbin-receive-bundle-support.patch.
1816         * gstreamer/patches/gst-plugins-good-0005-souphttpsrc-cookie-jar-and-context-query-support.patch: Renamed from Tools/gtk/patches/gst-plugins-good-0005-souphttpsrc-cookie-jar-and-context-query-support.patch.
1817         * gstreamer/patches/gst-plugins-good-0006-qtdemux-add-context-for-a-preferred-protection.patch: Renamed from Tools/gtk/patches/gst-plugins-good-0006-qtdemux-add-context-for-a-preferred-protection.patch.
1818         * gstreamer/patches/gst-plugins-good-0008-qtdemux-also-push-buffers-without-encryption-info-in.patch: Renamed from Tools/gtk/patches/gst-plugins-good-0008-qtdemux-also-push-buffers-without-encryption-info-in.patch.
1819         * gstreamer/patches/gstreamer-0001-protection-added-function-to-filter-system-ids.patch: Renamed from Tools/gtk/patches/gstreamer-0001-protection-added-function-to-filter-system-ids.patch.
1820         * gstreamer/patches/openh264-configure.patch: Renamed from Tools/gtk/patches/openh264-configure.patch.
1821         * gtk/jhbuild.modules:
1822         * wpe/jhbuild.modules:
1823         * wpe/patches/gst-plugins-good-0003-rtpbin-receive-bundle-support.patch: Removed.
1824         * wpe/patches/gst-plugins-good-0005-souphttpsrc-cookie-jar-and-context-query-support.patch: Removed.
1825         * wpe/patches/gst-plugins-good-0006-qtdemux-add-context-for-a-preferred-protection.patch: Removed.
1826         * wpe/patches/gst-plugins-good-0008-qtdemux-also-push-buffers-without-encryption-info-in.patch: Removed.
1827         * wpe/patches/gstreamer-0001-protection-added-function-to-filter-system-ids.patch: Removed.
1828
1829 2017-08-10  Don Olmstead  <don.olmstead@sony.com>
1830
1831         Unreviewed, adding Ross Kirsling to contributors.json
1832
1833         * Scripts/webkitpy/common/config/contributors.json:
1834
1835 2017-08-10  Yusuke Suzuki  <utatane.tea@gmail.com>
1836
1837         Unreviewed, attempt to fix build failure with VC2017
1838
1839         * TestWebKitAPI/Tests/WTF/PriorityQueue.cpp:
1840         (TEST):
1841
1842 2017-08-10  Yusuke Suzuki  <utatane.tea@gmail.com>
1843
1844         Unreviewed, suppress warnings on GCC
1845
1846         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
1847         (TestWebKitAPI::CheckedArithmeticTester::run):
1848
1849 2017-08-10  Dan Bernstein  <mitz@apple.com>
1850
1851         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
1852         https://bugs.webkit.org/show_bug.cgi?id=173223
1853
1854         Reviewed by Tim Horton.
1855
1856         The rebuilds were happening due to a difference in the compiler options that the IDE and
1857         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
1858         xcodebuild pass that option, too, set INDEX_ENABLE_DATA_STORE to YES and
1859         INDEX_DATA_STORE_DIR to the Index Datastore path specified in Xcode Locations preferences >
1860         Advanced when a Custom Absolute path is selected.
1861
1862         * Scripts/webkitdirs.pm:
1863         (determineBaseProductDir):
1864
1865 2017-08-10  Yusuke Suzuki  <utatane.tea@gmail.com>
1866
1867         Run more WTF tests
1868         https://bugs.webkit.org/show_bug.cgi?id=174970
1869
1870         Reviewed by Michael Catanzaro.
1871
1872         Some of WTF tests are not executed in non Apple ports while they are generic ones.
1873         This patch adds these tests to non-Apple port TestWebKitAPI.
1874         Currently, we do not add Signals.cpp since it depends on signal functionality.
1875
1876         * TestWebKitAPI/CMakeLists.txt:
1877         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1878         * TestWebKitAPI/Tests/WTF/PriorityQueue.cpp:
1879         (isHigherPriority):
1880         (TEST):
1881         * TestWebKitAPI/Tests/WTF/Signals.cpp: Copied from Tools/TestWebKitAPI/Tests/WTF/ThreadMessages.cpp.
1882         (TEST):
1883         * TestWebKitAPI/Tests/WTF/ThreadMessages.cpp:
1884         (TEST):
1885
1886 2017-08-10  obinna obike  <oobike@apple.com>
1887
1888         Remove obsolete link from webkit-queues status page
1889         https://bugs.webkit.org/show_bug.cgi?id=175337
1890
1891         Reviewed by Aakash Jain.
1892
1893         * QueueStatusServer/templates/recentstatus.html:
1894         Removed the link to the ews-watcher server.
1895
1896 2017-08-10  Brian Burg  <bburg@apple.com>
1897
1898         WKPreferences should conform to NSCopying
1899         https://bugs.webkit.org/show_bug.cgi?id=175303
1900         <rdar://problem/33764939>
1901
1902         Reviewed by Dan Bernstein.
1903
1904         Add unit test to make sure a WKPreference and its copy are
1905         not aliased to each other or affect each other's properties.
1906
1907         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1908         * TestWebKitAPI/Tests/WebKit2Cocoa/Copying.mm: Added.
1909         (TEST):
1910
1911 2017-08-10  Tim Horton  <timothy_horton@apple.com>
1912
1913         Remove some unused lambda captures so that WebKit builds with -Wunused-lambda-capture
1914         https://bugs.webkit.org/show_bug.cgi?id=175436
1915         <rdar://problem/33667497>
1916
1917         Reviewed by Simon Fraser.
1918
1919         * TestWebKitAPI/Tests/WebCore/FileMonitor.cpp:
1920         (TestWebKitAPI::TEST_F):
1921
1922 2017-08-10  Lucas Forschler  <lforschler@apple.com>
1923
1924         Fix duplicated code in r220534.
1925
1926         Unreviewed cleanup.
1927
1928         * Scripts/bisect-builds:
1929
1930 2017-08-08  Jiewen Tan  <jiewen_tan@apple.com>
1931
1932         [WebCrypto] Enable SerializedCryptoKeyWrapTest in iOS
1933         https://bugs.webkit.org/show_bug.cgi?id=175344
1934         <rdar://problem/28507240>
1935
1936         Reviewed by Alexey Proskuryakov.
1937
1938         Add entitlements to TestWebKitAPI project for iOS. Then add Keychain Access entitlement to the project.
1939         Finally enable the existing tests for iOS.
1940
1941         * TestWebKitAPI/Configurations/TestWebKitAPI-iOS.entitlements: Added.
1942         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
1943         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1944         * TestWebKitAPI/Tests/WebCore/cocoa/SerializedCryptoKeyWrap.mm:
1945
1946 2017-08-10  Lucas Forschler  <lforschler@apple.com>
1947
1948         Write a tool to bisect WebKit builds
1949         https://bugs.webkit.org/show_bug.cgi?id=174596
1950
1951         Reviewed by Dean Johnson and Kocsen Chung.
1952
1953         * Scripts/bisect-builds: Added.
1954         (bisect_builds): main bisection algorithm
1955         (download_archive):download an archive from S3 using existing tools
1956         (extract_archive):extract an archive using existing tools
1957         (find_le):Find rightmost value less than or equal to x
1958         (find_ge):Find leftmost item greater than or equal to x
1959         (get_api_url):generate url for the rest api/database
1960         (get_indices_from_revisions):convert revisions to list indexes for bisection
1961         (get_sorted_revisions):retrieve sorted revision list
1962         (get_s3_location_for_revision):calculate the S3 archive storage location
1963         (parse_args):parse command line arguments
1964         (pick_next_build):compute the next build to bisect
1965         (prompt_did_reproduce):prompt user for direction for bisection
1966         (set_webkit_output_dir):set the folder for bisected builds to avoid overwriting engineering build output
1967         (test_archive):Platform specific logic to test downloaded archive
1968         (minified_platforms):return a list of minified platforms in the database
1969         (unminified_platforms):return a list of full platforms in the database
1970         (is_supported_platform):check if platform is supported
1971         (validate_options):validate command line options
1972         (main):
1973
1974 2017-08-10  Lucas Forschler  <lforschler@apple.com>
1975
1976         Remove bisect-builds script.
1977         https://bugs.webkit.org/show_bug.cgi?id=175433
1978         
1979         Reviewed by Aakash Jain.
1980
1981         * Scripts/bisect-builds: Removed.
1982
1983 2017-08-10  Michael Catanzaro  <mcatanzaro@igalia.com>
1984
1985         Remove ENABLE_GAMEPAD_DEPRECATED
1986         https://bugs.webkit.org/show_bug.cgi?id=175361
1987
1988         Reviewed by Carlos Garcia Campos.
1989
1990         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1991
1992 2017-08-10  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1993
1994         REGRESSION(r220515) [GTK][CMake] Build with ENABLE_GEOLOCATION fails on Debian Jessie
1995         https://bugs.webkit.org/show_bug.cgi?id=175426
1996
1997         Reviewed by Carlos Garcia Campos.
1998
1999         * gtk/install-dependencies: libgeoclue-dev packages not really needed on Debian/Ubuntu.
2000
2001 2017-08-10  Ms2ger  <Ms2ger@igalia.com>
2002
2003         Add Ms2ger as contributor.
2004         https://bugs.webkit.org/show_bug.cgi?id=175325
2005
2006         Reviewed by Carlos Alberto Lopez Perez.
2007
2008         * Scripts/webkitpy/common/config/contributors.json:
2009
2010 2017-08-09  Dewei Zhu  <dewei_zhu@apple.com>
2011
2012         Fix run-benchmark after r220483.
2013         https://bugs.webkit.org/show_bug.cgi?id=175415
2014         <rdar://problem/33803003>
2015
2016         Reviewed by Ryosuke Niwa.
2017
2018         Update run-benchmark script to adapt new Timeout implementation introduced in r220483.
2019
2020         * Scripts/webkitpy/benchmark_runner/webserver_benchmark_runner.py:
2021         (WebServerBenchmarkRunner._run_one_test):
2022
2023 2017-08-09  Chris Dumez  <cdumez@apple.com>
2024
2025         Disable Beacon API on WK1 DRT and WK2 when not using NETWORK_SESSION
2026         https://bugs.webkit.org/show_bug.cgi?id=175401
2027
2028         Reviewed by Brady Eidson.
2029
2030         * DumpRenderTree/mac/DumpRenderTree.mm:
2031         (enableExperimentalFeatures):
2032
2033 2017-08-09  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
2034
2035         [PAL] Move spi/cocoa and spi/cg directories into PAL
2036         https://bugs.webkit.org/show_bug.cgi?id=175175
2037
2038         Reviewed by Myles C. Maxfield.
2039
2040         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
2041         * DumpRenderTree/mac/DumpRenderTree.mm:
2042         * TestWebKitAPI/Tests/WebKit2Cocoa/NSFileManagerExtras.mm:
2043         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2044
2045         * Scripts/webkitpy/style/checker.py:
2046         * Scripts/webkitpy/style/checker_unittest.py:
2047         (GlobalVariablesTest.test_path_rules_specifier):
2048
2049         Add path rules specifiers for PassKitSPI.h and DataDetectorsCoreSPI.h
2050
2051         * Scripts/webkitpy/style/checkers/cpp.py:
2052         (check_braces):
2053         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2054         (WebKitStyleTest.test_braces.CF_OPTIONS):
2055         (WebKitStyleTest.test_braces):
2056
2057         Prevent CF_OPTIONS() from being handled as funtion definition.
2058
2059 2017-08-09  Don Olmstead  <don.olmstead@sony.com>
2060
2061         [WTF] Move TextStream into WTF
2062         https://bugs.webkit.org/show_bug.cgi?id=175211
2063
2064         Reviewed by Myles C. Maxfield.
2065
2066         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
2067
2068 2017-08-09  Andy Estes  <aestes@apple.com>
2069
2070         Part 3 of: Rename DatabaseProcess to StorageProcess
2071         https://bugs.webkit.org/show_bug.cgi?id=175034
2072
2073         Reviewed by Brady Eidson.
2074
2075         * WebKitTestRunner/TestController.cpp:
2076         (WTR::TestController::databaseProcessName): Updated to return
2077         "com.apple.WebKit.Storage.Development" on macOS and iOS Simulator.
2078
2079 2017-08-09  Commit Queue  <commit-queue@webkit.org>
2080
2081         Unreviewed, rolling out r220466, r220477, and r220487.
2082         https://bugs.webkit.org/show_bug.cgi?id=175411
2083
2084         This change broke existing API tests and follow up fixes did
2085         not resolve all the issues. (Requested by ryanhaddad on
2086         #webkit).
2087
2088         Reverted changesets:
2089
2090         https://bugs.webkit.org/show_bug.cgi?id=175244
2091         http://trac.webkit.org/changeset/220466
2092
2093         "WTF::Function does not allow for reference / non-default
2094         constructible return types"
2095         https://bugs.webkit.org/show_bug.cgi?id=175244
2096         http://trac.webkit.org/changeset/220477
2097
2098         https://bugs.webkit.org/show_bug.cgi?id=175244
2099         http://trac.webkit.org/changeset/220487
2100
2101 2017-08-09  Sam Weinig  <sam@webkit.org>
2102
2103         Update for https://bugs.webkit.org/show_bug.cgi?id=175244.
2104
2105         Remove one addition of null Function test.
2106
2107 2017-08-09  Jonathan Bedard  <jbedard@apple.com>
2108
2109         Allow nested timeouts in webkitpy
2110         https://bugs.webkit.org/show_bug.cgi?id=175390
2111         <rdar://problem/33803003>
2112
2113         Reviewed by David Kilzer.
2114
2115         We need to be able to nest timeouts in webkitpy. In particular, we have a few cases where functions
2116         which use timeouts also call the executive. For on-device testing, we need to have timeouts inside
2117         the executive to detect and recover from any issues connecting with devices.
2118
2119         * Scripts/webkitpy/benchmark_runner/utils.py:
2120         (TimeoutError): Deleted.
2121         (timeout): Deleted.
2122         * Scripts/webkitpy/common/timeout_context.py: Added.
2123         (Timeout): A timeout context designed to be nested.
2124         (Timeout.TimeoutData): The data required to construct an alarm for a given timeout.
2125         (Timeout.TimeoutData.__init__):
2126         (Timeout.default_handler): Timeout handler used if none is specified.
2127         (Timeout.current): Access data about the most urgent timeout.
2128         (Timeout.__init__): Construct a Timeout object with seconds and an optional handler.
2129         (Timeout._bind_timeout_data_to_alarm): Given data about a timeout, initialize an alarm for that timeout.
2130         (Timeout.__enter__): Un-bind all alarms. Add data for this timeout to the ordered list and bind the most
2131         urgent timeout data.
2132         (Timeout.__exit__): Un-bind all alarms. Remove data for this timeout from the ordered list and bind the
2133         most urgent timeout data, if such data exists.
2134         * Scripts/webkitpy/common/timeout_context_unittest.py: Added.
2135         (TimeoutContextTests):
2136         (TimeoutContextTests.test_current_timeout): Test that accessing the nearest timeout works as expected.
2137         (TimeoutContextTests.test_invalid_timeout): Test a timeout of 0.
2138         (TimeoutContextTests.test_timeout_data): Confirm that timeouts are constructed correctly.
2139         (TimeoutContextTests.test_nested_inner_precedence): Check that a more urgent inner timeout takes precedence
2140         over a less urgent outer timeout.
2141         (TimeoutContextTests.test_nested_outer_precedence): Check that a more urgent outer timeout takes precedence
2142         over a less urgent inner timeout.
2143         (TimeoutContextTests.test_no_timeout): Test a block of code without a timeout.
2144         (TimeoutContextTests.test_basic_timeout): Test a block of code expected to timeout.
2145         (TimeoutContextTests.test_exception_constructor_timeout): Test a timeout where the handler is an exception.
2146         (TimeoutContextTests.test_nested_inner_timeout): Confirm that a more urgent inner timeout is triggered.
2147         (TimeoutContextTests.test_nested_outer_timeout): Confirm that a more urgent outer timeout is triggered.
2148         * Scripts/webkitpy/port/simulator_process.py:
2149         (SimulatorProcess._start): Use Timeout class.
2150         * Scripts/webkitpy/xcode/simulated_device.py:
2151         (SimulatedDevice.launch_app._log_debug_error): Use Timeout class.
2152         (SimulatedDevice.launch_app): Ditto.
2153         (SimulatedDevice.launch_app._install_timeout): Deleted.
2154         * Scripts/webkitpy/xcode/simulator.py:
2155         (Simulator.wait_until_device_is_booted):Use Timeout class.
2156         (Simulator.wait_until_device_is_in_state): Ditto.
2157
2158 2017-08-09  Wenson Hsieh  <wenson_hsieh@apple.com>
2159
2160         [iOS DnD] ENABLE_DRAG_SUPPORT should be turned off for iOS 10 and enabled by default
2161         https://bugs.webkit.org/show_bug.cgi?id=175392
2162         <rdar://problem/33783207>
2163
2164         Reviewed by Tim Horton and Megan Gardner.
2165
2166         Tweak FeatureDefines to enable drag and drop by default, and disable only on unsupported platforms (i.e. iOS 10).
2167
2168         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2169
2170 2017-08-09  Sam Weinig  <sam@webkit.org>
2171
2172         Update for https://bugs.webkit.org/show_bug.cgi?id=175244.
2173
2174         * TestWebKitAPI/Tests/WTF/Function.cpp:
2175         Remove tests of null Functions, as they are no longer supported.
2176
2177 2017-08-09  Daniel Bates  <dabates@apple.com>
2178
2179         REGRESSION (r219013): OAuth flows are broken when redirecting back to application after authentication
2180         https://bugs.webkit.org/show_bug.cgi?id=175247
2181         <rdar://problem/33679804>
2182
2183         Reviewed by Brady Eidson.
2184
2185         Add tests for redirects.
2186
2187         * TestWebKitAPI/Tests/WebKit2Cocoa/DecidePolicyForNavigationAction.mm:
2188         (TEST):
2189         * TestWebKitAPI/cocoa/TestProtocol.mm:
2190         (createRedirectURL):
2191         (-[TestProtocol startLoading]):
2192
2193 2017-08-08  Wenson Hsieh  <wenson_hsieh@apple.com>
2194
2195         Unreviewed, rolling out r220393.
2196
2197         This patch regresses the performance of WebPage::editorState.
2198
2199         Reverted changeset:
2200
2201         "[iOS WK2] WKWebView schedules nonstop layout after pressing
2202         cmb+b,i,u inside a contenteditable div"
2203         https://bugs.webkit.org/show_bug.cgi?id=175116
2204         http://trac.webkit.org/changeset/220393
2205
2206 2017-08-08  obinna obike  <oobike@apple.com>
2207
2208         Created Individual EWS Pages
2209         https://bugs.webkit.org/show_bug.cgi?id=174477
2210
2211         Reviewed by Aakash Jain.
2212
2213         Created individual pages for each EWS. Changed the link within each status bubble
2214         to go directly to the individual EWS page. Also added a link to original status page showing all EWSes.
2215
2216         * QueueStatusServer/handlers/patch.py:
2217         (Patch.get): Handles the case for individual ews queue as well as for all EWS queues.
2218         * QueueStatusServer/handlers/statusbubble.py:
2219         (StatusBubble._build_bubble): Updated url for specific EWS.
2220         * QueueStatusServer/main.py: Added a link to the individual ews in the routes dictionary.
2221         * QueueStatusServer/templates/patch.html: Added a link to go directly to the page with
2222         all ews queues.
2223         * QueueStatusServer/templates/statusbubble.html: If you click on a statusbubble it
2224         takes you directly to the individual ews page.
2225
2226 2017-08-08  Stephan Szabo  <stephan.szabo@sony.com>
2227
2228         Separate jsc stress test script writer from run-jsc-stress-tests
2229         https://bugs.webkit.org/show_bug.cgi?id=175216
2230
2231         Reviewed by Mark Lam.
2232
2233         * Scripts/run-jsc-stress-tests:
2234         * Scripts/webkitruby/jsc-stress-test-writer-default.rb: Added.
2235
2236 2017-08-08  Michael Catanzaro  <mcatanzaro@igalia.com>
2237
2238         Unreviewed, fix Ubuntu LTS build
2239         https://bugs.webkit.org/show_bug.cgi?id=174490
2240
2241         * TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp:
2242
2243 2017-08-08  Wenson Hsieh  <wenson_hsieh@apple.com>
2244
2245         [Mac WK2] WebViewImpl should hold a weak pointer to its WKWebView or WKView
2246         https://bugs.webkit.org/show_bug.cgi?id=175302
2247         <rdar://problem/33762116>
2248
2249         Reviewed by Tim Horton.
2250
2251         Adds a new unit test checking that delayed event processing in text input context does not cause unwanted behaviors.
2252         See WebKit ChangeLog for more details.
2253
2254         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2255         * TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h: Renamed from Tools/TestWebKitAPI/Tests/TestWebKitAPI/mac/NSTextInputClientSPI.h.
2256         * TestWebKitAPI/Tests/mac/WKWebViewMacEditingTests.mm: Renamed from Tools/TestWebKitAPI/Tests/mac/WKWebViewSelectionTests.mm.
2257         (-[SlowTextInputContext handleEventByInputMethod:completionHandler:]):
2258         (-[SlowTextInputContext handleEvent:completionHandler:]):
2259         (-[SlowInputWebView inputContext]):
2260         (-[SlowInputWebView _web_superInputContext]):
2261         (TEST):
2262
2263 2017-08-08  John Wilander  <wilander@apple.com>
2264
2265         Resource Load Statistics: Clear web processes' state on history removal
2266         https://bugs.webkit.org/show_bug.cgi?id=175271
2267         <rdar://problem/33756560>
2268
2269         Reviewed by Chris Dumez.
2270
2271         Test infrastructure for asynchronous tests of website data
2272         removal for _WKWebsiteDataTypeResourceLoadStatistics.
2273
2274         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2275         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2276         (WTR::InjectedBundle::didReceiveMessageToPage):
2277         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2278         (WTR::TestRunner::statisticsClearThroughWebsiteDataRemoval):
2279         (WTR::TestRunner::statisticsCallClearThroughWebsiteDataRemovalCallback):
2280         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2281         * WebKitTestRunner/TestController.cpp:
2282         (WTR::TestController::statisticsClearThroughWebsiteDataRemoval):
2283         * WebKitTestRunner/TestController.h:
2284         * WebKitTestRunner/TestInvocation.cpp:
2285         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2286         (WTR::TestInvocation::didClearStatisticsThroughWebsiteDataRemoval):
2287         * WebKitTestRunner/TestInvocation.h:
2288         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2289         (WTR::TestController::statisticsClearThroughWebsiteDataRemoval):
2290
2291 2017-08-08  Alicia Boya García  <aboya@igalia.com>
2292
2293         Add Alicia Boya García as contributor
2294         https://bugs.webkit.org/show_bug.cgi?id=175326
2295
2296         Reviewed by Michael Catanzaro.
2297
2298         * Scripts/webkitpy/common/config/contributors.json:
2299
2300 2017-08-08  Michael Catanzaro  <mcatanzaro@igalia.com>
2301
2302         [CMake] Properly test if compiler supports compiler flags
2303         https://bugs.webkit.org/show_bug.cgi?id=174490
2304
2305         Reviewed by Konstantin Tokarev.
2306
2307         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
2308         * MiniBrowser/gtk/CMakeLists.txt:
2309         * TestRunnerShared/Bindings/JSWrapper.cpp:
2310         (WTR::JSWrapper::initialize):
2311         * TestWebKitAPI/CMakeLists.txt:
2312         * TestWebKitAPI/PlatformGTK.cmake:
2313         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
2314         (TestWebKitAPI::CheckedArithmeticTester::run):
2315         * TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp:
2316         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
2317         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
2318         (formControlsAssociatedCallback):
2319         * TestWebKitAPI/glib/CMakeLists.txt:
2320         * TestWebKitAPI/glib/WebKitGLib/TestMain.h:
2321         (Test::getResourcesDir):
2322         * WebKitTestRunner/CMakeLists.txt:
2323         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2324         (WTR::menuItemClickCallback):
2325         (WTR::staticConvertMenuItemToType):
2326         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2327         (WTR::TestRunner::setUseDashboardCompatibilityMode):
2328         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
2329         (WTR::AccessibilityNotificationHandler::disconnectAccessibilityCallbacks):
2330         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2331         (WTR::AccessibilityUIElement::helpText const):
2332         (WTR::AccessibilityUIElement::attributedStringForRange):
2333         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
2334         (WTR::EventSenderProxy::updateTouchPoint):
2335         (WTR::EventSenderProxy::releaseTouchPoint):
2336
2337 2017-08-08  Wenson Hsieh  <wenson_hsieh@apple.com>
2338
2339         [iOS WK2] WKWebView schedules nonstop layout after pressing cmb+b,i,u inside a contenteditable div
2340         https://bugs.webkit.org/show_bug.cgi?id=175116
2341         <rdar://problem/28279301>
2342
2343         Reviewed by Darin Adler and Ryosuke Niwa.
2344
2345         Introduces new testing infrastructure and API tests to test EditorState updates in the UI process. The new
2346         EditorStateTests run on both iOS and Mac.
2347
2348         * TestWebKitAPI/EditingTestHarness.h: Added.
2349         * TestWebKitAPI/EditingTestHarness.mm: Added.
2350
2351         EditingTestHarness is a helper object that API tests may use to apply editing commands and store EditorState
2352         history. This test harness adds sugaring around various editing commands, and simplifies the process of checking
2353         the state of the latest observed EditorState.
2354
2355         (-[EditingTestHarness initWithWebView:]):
2356         (-[EditingTestHarness dealloc]):
2357         (-[EditingTestHarness webView]):
2358         (-[EditingTestHarness latestEditorState]):
2359         (-[EditingTestHarness editorStateHistory]):
2360         (-[EditingTestHarness insertText:andExpectEditorStateWith:]):
2361         (-[EditingTestHarness insertHTML:andExpectEditorStateWith:]):
2362         (-[EditingTestHarness selectAllAndExpectEditorStateWith:]):
2363         (-[EditingTestHarness moveBackwardAndExpectEditorStateWith:]):
2364         (-[EditingTestHarness moveWordBackwardAndExpectEditorStateWith:]):
2365         (-[EditingTestHarness toggleBold]):
2366         (-[EditingTestHarness toggleItalic]):
2367         (-[EditingTestHarness toggleUnderline]):
2368         (-[EditingTestHarness setForegroundColor:]):
2369         (-[EditingTestHarness alignJustifiedAndExpectEditorStateWith:]):
2370         (-[EditingTestHarness alignLeftAndExpectEditorStateWith:]):
2371         (-[EditingTestHarness alignCenterAndExpectEditorStateWith:]):
2372         (-[EditingTestHarness alignRightAndExpectEditorStateWith:]):
2373         (-[EditingTestHarness insertParagraphAndExpectEditorStateWith:]):
2374         (-[EditingTestHarness deleteBackwardAndExpectEditorStateWith:]):
2375         (-[EditingTestHarness _execCommand:argument:expectEntries:]):
2376
2377         Dispatches an editing command to the web process, and blocks until a response is received. If an expected
2378         entries dictionary is given, this will additionally verify that the latest EditorState contains all the expected
2379         keys and values.
2380
2381         (-[EditingTestHarness latestEditorStateContains:]):
2382         (-[EditingTestHarness _webView:editorStateDidChange:]):
2383         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2384         * TestWebKitAPI/Tests/WebKit2Cocoa/EditorStateTests.mm: Added.
2385         (TestWebKitAPI::setUpEditorStateTestHarness):
2386         (TestWebKitAPI::TEST):
2387         * TestWebKitAPI/Tests/WebKit2Cocoa/editor-state-test-harness.html: Added.
2388
2389 2017-08-04  Brent Fulgham  <bfulgham@apple.com>
2390
2391         Prevent domain from being set to a TLD
2392         https://bugs.webkit.org/show_bug.cgi?id=175226
2393         <rdar://problem/11079948>
2394
2395         Reviewed by Chris Dumez.
2396
2397         Extend the public suffix tests to include cases used by the
2398         Public Domain 'Public Suffix List'.
2399
2400         * TestWebKitAPI/Tests/mac/PublicSuffix.cpp: 
2401         (TestWebKitAPI::TEST):
2402
2403 2017-08-07  Stephan Szabo  <stephan.szabo@sony.com>
2404
2405         [XCode] webkit-patch should run sort-Xcode-project-file
2406         https://bugs.webkit.org/show_bug.cgi?id=174036
2407         <rdar://problem/33732709>
2408
2409         Reviewed by Simon Fraser.
2410
2411         * Scripts/webkitpy/common/config/ports.py:
2412         * Scripts/webkitpy/tool/commands/download.py:
2413         * Scripts/webkitpy/tool/commands/download_unittest.py:
2414         * Scripts/webkitpy/tool/commands/upload.py:
2415         * Scripts/webkitpy/tool/commands/upload_unittest.py:
2416         * Scripts/webkitpy/tool/steps/__init__.py:
2417         * Scripts/webkitpy/tool/steps/options.py:
2418         * Scripts/webkitpy/tool/steps/sortxcodeprojectfiles.py: Added.
2419
2420 2017-08-07  Devin Rousso  <drousso@apple.com>
2421
2422         Web Inspector: Preview Canvas path when viewing a recording
2423         https://bugs.webkit.org/show_bug.cgi?id=174967
2424
2425         Reviewed by Brian Burg.
2426
2427         * DumpRenderTree/TestOptions.h:
2428         * DumpRenderTree/TestOptions.mm:
2429         (TestOptions::TestOptions):
2430         * DumpRenderTree/mac/DumpRenderTree.mm:
2431         (setWebPreferencesForTestOptions):
2432         * WebKitTestRunner/TestController.cpp:
2433         (WTR::TestController::resetPreferencesToConsistentValues):
2434         (WTR::updateTestOptionsFromTestHeader):
2435         * WebKitTestRunner/TestOptions.h:
2436         (WTR::TestOptions::hasSameInitializationOptions const):
2437         Add plumbing for new InspectorAdditions runtime flag.
2438
2439 2017-08-07  obinna obike  <oobike@apple.com>
2440
2441         Sorted EWS Queues on Patch page
2442         https://bugs.webkit.org/show_bug.cgi?id=173667
2443
2444         Reviewed by Aakash Jain.
2445
2446         * QueueStatusServer/handlers/patch.py:
2447         (Patch.get): Sorted queue_status.
2448         * QueueStatusServer/templates/patch.html:
2449         Changed queue_status.items to queue_status because it's a list.
2450
2451 2017-08-07  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
2452
2453         check-webkit-style: NS_ERROR_ENUM and NS_OPTIONS should not be handled as function definitions.
2454         https://bugs.webkit.org/show_bug.cgi?id=175286
2455
2456         Reviewed by Myles C. Maxfield.
2457
2458         * Scripts/webkitpy/style/checkers/cpp.py:
2459         (check_braces):
2460         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2461         (WebKitStyleTest.test_braces.NS_ERROR_ENUM):
2462         (WebKitStyleTest.test_braces):
2463         (WebKitStyleTest.test_braces.NS_OPTIONS):
2464
2465 2017-08-07  Brian Burg  <bburg@apple.com>
2466
2467         Remove CANVAS_PATH compilation guard
2468         https://bugs.webkit.org/show_bug.cgi?id=175207
2469
2470         Reviewed by Sam Weinig.
2471
2472         * Scripts/webkitperl/FeatureList.pm:
2473         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2474
2475 2017-08-07  Per Arne Vollan  <pvollan@apple.com>
2476
2477         [Win] Use Visual Studio 2017 if installed.
2478         https://bugs.webkit.org/show_bug.cgi?id=175188
2479
2480         Reviewed by Sam Weinig.
2481
2482         If installed, use VS2017 to build WebKit. If not, fall back to VS2015.
2483
2484         * Scripts/webkitdirs.pm:
2485         (visualStudioInstallDir):
2486         (msBuildInstallDir):
2487
2488 2017-08-05  Carlos Garcia Campos  <cgarcia@igalia.com>
2489
2490         [GTK][WPE] Add API to provide browser information required by automation
2491         https://bugs.webkit.org/show_bug.cgi?id=175130
2492
2493         Reviewed by Michael Catanzaro.
2494
2495         * MiniBrowser/gtk/main.c:
2496         (automationStartedCallback): Set browser information when a new automation session is started.
2497         * TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp:
2498         (testAutomationSessionApplicationInfo):
2499         (beforeAll):
2500
2501 2017-08-06  Ryan Haddad  <ryanhaddad@apple.com>
2502
2503         Unreviewed, rolling out r220295.
2504
2505         This change introduced 4 errors in webkitpy tests.
2506
2507         Reverted changeset:
2508
2509         "[XCode] webkit-patch should run sort-Xcode-project-file"
2510         https://bugs.webkit.org/show_bug.cgi?id=174036
2511         http://trac.webkit.org/changeset/220295
2512
2513 2017-08-04  Ryan Haddad  <ryanhaddad@apple.com>
2514
2515         Disable API test NowPlayingControlsTests.NowPlayingControlsIOS.
2516
2517         Unreviewed test gardening.
2518
2519         * TestWebKitAPI/Tests/WebKit2Cocoa/NowPlayingControlsTests.mm:
2520         (TestWebKitAPI::TEST):
2521
2522 2017-08-05  Filip Pizlo  <fpizlo@apple.com>
2523
2524         REGRESSION (r219895-219897): Number of leaks on Open Source went from 9240 to 235983 and is now at 302372
2525         https://bugs.webkit.org/show_bug.cgi?id=175083
2526
2527         Reviewed by Oliver Hunt.
2528         
2529         Leaks results are super confusing if leaks runs while some VMs are destructing. This calls a new SPI
2530         to wait for VM destructions to finish before running the next test. This makes it easier to 
2531         understand leaks results from workers tests, and leads to fewer reported leaks.
2532
2533         * DumpRenderTree/mac/DumpRenderTree.mm:
2534         (runTest):
2535
2536 2017-08-05  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
2537
2538         check-webkit-style: fix path-specific rules for WebKit2 rename
2539         https://bugs.webkit.org/show_bug.cgi?id=175182
2540
2541         Reviewed by David Kilzer.
2542
2543         * Scripts/webkitpy/style/checker.py:
2544
2545 2017-08-04  Youenn Fablet  <youenn@apple.com>
2546
2547         [Cache API] Add Cache and CacheStorage IDL definitions
2548         https://bugs.webkit.org/show_bug.cgi?id=175201
2549
2550         Reviewed by Brady Eidson.
2551
2552         * DumpRenderTree/mac/DumpRenderTree.mm:
2553         (enableExperimentalFeatures):
2554         (resetWebPreferencesToConsistentValues):
2555         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2556         (WTR::InjectedBundle::beginTesting):
2557         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2558         (WTR::TestRunner::setCacheAPIEnabled):
2559         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2560
2561 2017-08-04  John Wilander  <wilander@apple.com>
2562
2563         Resource Load Statistics: Report user interaction immediately, but only when needed
2564         https://bugs.webkit.org/show_bug.cgi?id=175090
2565         <rdar://problem/33685546>
2566
2567         Reviewed by Chris Dumez.
2568
2569         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2570         (WTR::InjectedBundle::beginTesting):
2571             Now calls WebCore::ResourceLoadObserver::clearState().
2572
2573 2017-08-04  Tim Horton  <timothy_horton@apple.com>
2574
2575         Add an API test for r220286
2576         https://bugs.webkit.org/show_bug.cgi?id=175206
2577
2578         Reviewed by Simon Fraser.
2579
2580         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm:
2581         (-[AnimatedResizeWebView _webView:didChangeSafeAreaShouldAffectObscuredInsets:]):
2582         (createAnimatedResizeWebView):
2583         (TEST):
2584         Add a test to ensure that we don't call
2585         _webView:didChangeSafeAreaShouldAffectObscuredInsets: during an
2586         animated resize.
2587
2588 2017-08-04  Stephan Szabo  <stephan.szabo@sony.com>
2589
2590         [XCode] webkit-patch should run sort-Xcode-project-file
2591         https://bugs.webkit.org/show_bug.cgi?id=174036
2592
2593         Reviewed by Simon Fraser.
2594
2595         * Scripts/webkitpy/common/config/ports.py:
2596         * Scripts/webkitpy/tool/commands/download.py:
2597         * Scripts/webkitpy/tool/commands/upload.py:
2598         * Scripts/webkitpy/tool/steps/__init__.py:
2599         * Scripts/webkitpy/tool/steps/options.py:
2600         * Scripts/webkitpy/tool/steps/sortxcodeprojectfiles.py: Added.
2601
2602 2017-08-04  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2603
2604         REGRESSION(r219857): run-benchmark --allplans broken
2605         https://bugs.webkit.org/show_bug.cgi?id=175186
2606
2607         Reviewed by Saam Barati.
2608
2609         r219857 forgot to update also the calls to BenchmarkRunner() that
2610         is done when the script is run with --allplans.
2611
2612         To fix this (and avoid future issues like this), let's factorize
2613         the calls to the benchhmark runner in a run_benchmark_plan()
2614         function.
2615
2616         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
2617         (run_benchmark_plan):
2618         (start):
2619
2620 2017-08-04  Aakash Jain  <aakash_jain@apple.com>
2621
2622         Dashboard bubbles sometimes show failure count instead of crash count
2623         https://bugs.webkit.org/show_bug.cgi?id=175157
2624         <rdar://problem/33709009>
2625
2626         Reviewed by Alexey Proskuryakov.
2627
2628         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
2629         (BuildbotTestResults.prototype.resultSummarizer): Use the regex for the precise match first.
2630
2631 2017-08-04  Joseph Pecoraro  <pecoraro@apple.com>
2632
2633         Add tests for NeverDestroyed
2634         https://bugs.webkit.org/show_bug.cgi?id=175146
2635
2636         Reviewed by Darin Adler.
2637
2638         * CMakeLists.txt:
2639         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2640         New files and sort.
2641
2642         * TestWebKitAPI/Tests/WTF/Logger.h:
2643         * TestWebKitAPI/Tests/WTF/Logger.cpp:
2644         (TestWebKitAPI::log):
2645         (TestWebKitAPI::takeLogStr):
2646         * TestWebKitAPI/Tests/WTF/RefLogger.h:
2647         * TestWebKitAPI/Tests/WTF/RefLogger.cpp:
2648         (TestWebKitAPI::log): Deleted.
2649         (TestWebKitAPI::takeLogStr): Deleted.
2650         Extract log() / takeLogStr() from RefLogger to a general Logger.h/cpp.
2651
2652         * TestWebKitAPI/Tests/WTF/LifecycleLogger.h:
2653         * TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp: Added.
2654         (TestWebKitAPI::LifecycleLogger::LifecycleLogger):
2655         (TestWebKitAPI::LifecycleLogger::operator=):
2656         (TestWebKitAPI::LifecycleLogger::~LifecycleLogger):
2657         (TestWebKitAPI::LifecycleLogger::setName):
2658         (TestWebKitAPI::TEST):
2659         Add a class that logs construction / assignment / modifications.
2660
2661         * TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp: Added.
2662         (TestWebKitAPI::TEST):
2663         (TestWebKitAPI::list):
2664         Test construction behavior is as expected both directly and using makeNeverDestroyed.
2665
2666 2017-08-04  Lucas Forschler  <lforschler@apple.com>
2667
2668         minification logic is not implemented for ios builds
2669         <rdar://problem/33726561>
2670
2671         Reviewed by Dean Johnson
2672
2673         * BuildSlaveSupport/built-product-archive:
2674         (minifyDirectory): refactor minifySource -> minifyDirectory
2675         (archiveBuiltProduct): add ios minification logic
2676         (minifySource): Deleted.
2677
2678 2017-08-04  Matt Lewis  <jlewis3@apple.com>
2679
2680         Unreviewed, rolling out r220271.
2681
2682         Rolling out due to Layout Test failing on iOS Simulator.
2683
2684         Reverted changeset:
2685
2686         "Remove STREAMS_API compilation guard"
2687         https://bugs.webkit.org/show_bug.cgi?id=175165
2688         http://trac.webkit.org/changeset/220271
2689
2690 2017-08-04  Ryan Haddad  <ryanhaddad@apple.com>
2691
2692         Unreviewed, rolling out r220268.
2693
2694         This change caused assertion failures on macOS and iOS Debug
2695         WK2.
2696
2697         Reverted changeset:
2698
2699         "Resource Load Statistics: Report user interaction
2700         immediately, but only when needed"
2701         https://bugs.webkit.org/show_bug.cgi?id=175090
2702         http://trac.webkit.org/changeset/220268
2703
2704 2017-08-04  Youenn Fablet  <youenn@apple.com>
2705
2706         Remove STREAMS_API compilation guard
2707         https://bugs.webkit.org/show_bug.cgi?id=175165
2708
2709         Reviewed by Darin Adler.
2710
2711         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2712
2713 2017-08-04  John Wilander  <wilander@apple.com>
2714
2715         Resource Load Statistics: Report user interaction immediately, but only when needed
2716         https://bugs.webkit.org/show_bug.cgi?id=175090
2717         <rdar://problem/33685546>
2718
2719         Reviewed by Chris Dumez.
2720
2721         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2722         (WTR::InjectedBundle::beginTesting):
2723             Now calls WebCore::ResourceLoadObserver::clearState().
2724
2725 2017-08-03  Brian Burg  <bburg@apple.com>
2726
2727         Remove ENABLE(WEB_SOCKET) guards
2728         https://bugs.webkit.org/show_bug.cgi?id=167044
2729
2730         Reviewed by Joseph Pecoraro.
2731
2732         * Scripts/webkitperl/FeatureList.pm:
2733         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2734
2735 2017-08-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2736
2737         REGRESSION(r219850): run-benchmark script broken on Linux
2738         https://bugs.webkit.org/show_bug.cgi?id=175126
2739
2740         Reviewed by Stephanie Lewis.
2741
2742         The run-benchmark script dynamically generates the list of supported
2743         browsers and platforms (currently Linux and OSX) by loading all
2744         python files from Tools/Scripts/webkitpy/benchmark_runner/browser_driver
2745         and getting the browser_name and platform variables from the
2746         classes defined there.
2747
2748         This means that this classes should not raise an exception when
2749         loaded on other platforms or otherwise they will broke the whole
2750         script. Its fine if they raise an exception when executing any of
2751         the methods they implement, but not when just loading/importing
2752         the class.
2753
2754         Move the argument variable definitions that call on the platform
2755         specific OSXBrowserDriver._screen_size() function from beeing
2756         variables that are evaluated when loading the file, to be functions
2757         that are only evaluated when the actual functionality needs to be
2758         executed.
2759
2760         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
2761         (OSXChromeDriver.launch_url):
2762         (OSXChromeCanaryDriver.launch_url):
2763         (create_args):
2764         (create_chrome_options):
2765         (create_window_size_arg):
2766         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
2767         (OSXFirefoxDriver.launch_url):
2768         (OSXFirefoxNightlyDriver.launch_url):
2769         (OSXFirefoxNightlyDriver.launch_driver):
2770         (create_args):
2771
2772 2017-08-03  Yoshiaki Jitsukawa  <jitsu@rd.scei.sony.co.jp>
2773
2774         [PAL] Move spi/cf directory into PAL
2775         https://bugs.webkit.org/show_bug.cgi?id=175057
2776
2777         Reviewed by Antti Koivisto.
2778
2779         * Scripts/webkitpy/style/checker.py:
2780         * Scripts/webkitpy/style/checker_unittest.py:
2781         (GlobalVariablesTest.test_path_rules_specifier):
2782
2783         Ignore "readability/naming/underscores" style errors for sources
2784         under the WebCore/PAL/pal/spi directory.
2785
2786         * TestWebKitAPI/Tests/WebKit2Cocoa/CookieAcceptPolicy.mm:
2787
2788 2017-08-03  Youenn Fablet  <youenn@apple.com>
2789
2790         Remove FETCH_API compilation guard
2791         https://bugs.webkit.org/show_bug.cgi?id=175154
2792
2793         Reviewed by Chris Dumez.
2794
2795         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2796
2797 2017-08-03  Lucas Forschler  <lforschler@apple.com>
2798
2799         Enable archive minification on iOS builds
2800         https://bugs.webkit.org/show_bug.cgi?id=174718
2801         
2802         Reviewed by Aakash Jain.
2803
2804         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2805         (BuildFactory.__init__):
2806
2807 2017-08-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2808
2809         [GTK][WKE] Pass the --memory-limited option on the GTK and WPE buildbots for the JSC tests.
2810         https://bugs.webkit.org/show_bug.cgi?id=175140
2811
2812         Reviewed by Alexey Proskuryakov.
2813
2814         We are having lately issues with JSC tests causing problems on
2815         the GTK+ and WPE bots due to the high amount of memory some tests
2816         need to run.
2817
2818         The best thing we can do now is to workaround this by disabling
2819         all the tests marked as memoryLimited on the GTK and WPE bots.
2820         We may revise this on the future.
2821
2822         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2823         (RunJavaScriptCoreTests.start):
2824
2825 2017-08-03  Brady Eidson  <beidson@apple.com>
2826
2827         Add SW IDLs and stub out basic functionality.
2828         https://bugs.webkit.org/show_bug.cgi?id=175115
2829
2830         Reviewed by Chris Dumez.
2831
2832         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2833
2834         * Scripts/webkitpy/bindings/main.py:
2835
2836 2017-08-03  Per Arne Vollan  <pvollan@apple.com>
2837
2838         [Win] The test http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html is failing.
2839         https://bugs.webkit.org/show_bug.cgi?id=159510
2840
2841         Reviewed by Daniel Bates.
2842
2843         Allow any https certificate when running tests.
2844
2845         * DumpRenderTree/win/DumpRenderTree.cpp:
2846         (runTest):
2847
2848 2017-08-02  Youenn Fablet  <youenn@apple.com>
2849
2850         HTTP tests with 'https' suffix are only run over HTTPS for WK2, not WK1
2851         https://bugs.webkit.org/show_bug.cgi?id=175089
2852
2853         Reviewed by Chris Dumez.
2854
2855         * DumpRenderTree/TestOptions.mm:
2856         (TestOptions::TestOptions): Using absolutePath if available.
2857         * DumpRenderTree/mac/DumpRenderTree.mm:
2858         (computeTestURL): Removing http/tests/ specific URL computation.
2859         * Scripts/webkitpy/port/driver.py:
2860         (Driver._command_from_driver_input): Making webkitpy passing HTTP urls for HTTP served tests to all test runners, including WK1.
2861
2862 2017-08-02  Lucas Forschler  <lforschler@apple.com>
2863
2864         download-built-product should allow for a proxy option
2865         https://bugs.webkit.org/show_bug.cgi?id=174875
2866
2867         Reviewed by Aakash Jain, Alexey Proskuryakov, Dean Johnson
2868
2869         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2870         (DownloadBuiltProduct.start): Teach buildbot to pass along proxy for Apple bots
2871         
2872
2873 2017-08-02  Jonathan Bedard  <jbedard@apple.com>
2874
2875         check-webkit-style: deleting lines in a file runs the linter on the whole file
2876         https://bugs.webkit.org/show_bug.cgi?id=175078
2877
2878         Reviewed by David Kilzer.
2879
2880         Deleting lines in a file should not cause linter errors to be blamed on the patch.
2881         <https://bugs.webkit.org/show_bug.cgi?id=86142> is an example of this happening.
2882
2883         * Scripts/webkitpy/style/checkers/test_expectations.py:
2884         (TestExpectationsChecker._should_log_linter_warning): Do not log a linter error if the file it is associated with only has deleted lines
2885         * Scripts/webkitpy/style/main_unittest.py:
2886         (ExpectationLinterInStyleCheckerTest.test_linter_duplicate_line): Added files should have every line number in the file when processing.
2887         (ExpectationLinterInStyleCheckerTest.test_linter_duplicate_line_only_deletes): Test case where the file with the linter errors only contained deletes.
2888         (ExpectationLinterInStyleCheckerTest.test_linter_added_file_with_error): Added files should have every line number in the file when processing.
2889
2890 2017-08-02  Jonathan Bedard  <jbedard@apple.com>
2891
2892         webkitpy: Allow caller to specify response to unicode encode/decode error in filesystem
2893         https://bugs.webkit.org/show_bug.cgi?id=175075
2894
2895         Reviewed by David Kilzer.
2896
2897         We have no way of handling text files with illegal unicode characters. Allow the callers of
2898         filesystem.read_text_file to specify one of Python 2.7's supported responses ('strict', 'ignore', or
2899         'replace'). See https://docs.python.org/2/howto/unicode.html for details on these responses.
2900
2901         * Scripts/webkitpy/common/system/filesystem.py:
2902         (FileSystem.read_text_file): Allow caller to specify unicode error handling.
2903         (FileSystem.write_text_file): Ditto.
2904         * Scripts/webkitpy/common/system/filesystem_mock.py:
2905         (MockFileSystem.read_text_file): Allow caller to specify unicode error handling.
2906         (MockFileSystem.write_text_file): Ditto.
2907         * Scripts/webkitpy/common/system/filesystem_unittest.py:
2908         (RealFileSystemTest.test_read_text_file_unicode_decode_error): Test reading a file with illegal unicode content.
2909         (RealFileSystemTest.test_write_text_file_unicode_encode_error): Test writing illegal unicode content to a file.
2910
2911 2017-08-02  Aakash Jain  <aakash_jain@apple.com>
2912
2913         Intermittent exception in buildPageURLForIteration for Buildbot 0.9 dashboard
2914         https://bugs.webkit.org/show_bug.cgi?id=175072
2915
2916         Reviewed by Alexey Proskuryakov.
2917
2918         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
2919         (Buildbot): Make sure this._builderNameToIDMap is always defined for Buildbot 0.9.
2920
2921 2017-08-02  Michael Catanzaro  <mcatanzaro@igalia.com>
2922
2923         [CMake] Remove obsolete code in TestWebKitAPI/CMakeLists.txt
2924         https://bugs.webkit.org/show_bug.cgi?id=175019
2925
2926         Reviewed by Darin Adler.
2927
2928         * TestWebKitAPI/CMakeLists.txt:
2929
2930 2017-08-01  Csaba Osztrogonác  <ossy@webkit.org>
2931
2932         Enabling uploading archives to S3
2933         https://bugs.webkit.org/show_bug.cgi?id=174198
2934
2935         Unreviewed unit test fix after r219235.
2936
2937         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2938
2939 2017-08-01  Csaba Osztrogonác  <ossy@webkit.org>
2940
2941         Fix JSCOnly ARM buildbots after r220047
2942         https://bugs.webkit.org/show_bug.cgi?id=174993
2943
2944         Unreviewed fix after r220087.
2945
2946         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2947         (BuildAndRemoteJSCTestsFactory.__init__):
2948
2949 2017-08-01  Chris Dumez  <cdumez@apple.com>
2950
2951         Add initial support for navigator.sendBeacon
2952         https://bugs.webkit.org/show_bug.cgi?id=175007
2953         <rdar://problem/33547728>
2954
2955         Reviewed by Sam Weinig.
2956
2957         Enable the Beacon API at runtime in the context of layout tests since the
2958         feature is currently disabled by default.
2959
2960         * DumpRenderTree/mac/DumpRenderTree.mm:
2961         (enableExperimentalFeatures):
2962         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2963         (WTR::InjectedBundle::beginTesting):
2964         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2965         (WTR::TestRunner::setModernMediaControlsEnabled):
2966         (WTR::TestRunner::setBeaconAPIEnabled):
2967         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2968
2969 2017-08-01  Aakash Jain  <aakash_jain@apple.com>
2970
2971         Update Bot Watcher's Dashboard for Buildbot 0.9
2972         https://bugs.webkit.org/show_bug.cgi?id=174777
2973
2974         Reviewed by Daniel Bates.
2975
2976         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
2977         (Buildbot): Check if USE_BUILDBOT_VERSION_LESS_THAN_09 is passed.
2978         (Buildbot.prototype._computeBuilderNameToIDMap): Fetch the builder name to ID mapping from buidbot and store
2979         in a dictionary.
2980         (Buildbot.prototype.buildPageURLForIteration): Updated URL as per Buildbot 0.9 format. Buildbot 0.9 currently does not support
2981         builder name in the build url. See <https://github.com/buildbot/buildbot/issues/3465>.
2982         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2983         (isMultiCodebaseGotRevisionProperty): Adapting to new data format.
2984         (parseRevisionProperty): Ditto.
2985         (BuildbotIteration.prototype.failureLogURL): Return the URL to build page if precise failure url is not available. For
2986         Buildbot 0.9, build page URL would be appropriate in most cases as per the new UI.
2987         (BuildbotIteration.prototype._parseData): Parsing the data as per new data format. Many variable names and data types
2988         have changed in Buildbot 0.9.
2989         (BuildbotIteration.prototype._adjustBuildDataForBuildbot09): Adjust the Buildbot 0.8 data to new format.
2990         (BuildbotIteration.prototype._updateIfDataAvailable): Update method for Buildbot 0.9 data. We are performing two API calls, 
2991         one for build information, another for step information of that build. We need to wait until data from both REST API calls are available.
2992         (BuildbotIteration.prototype._deprecatedUpdateWithData): Renamed from _updateWithData, used for Buildbot 0.8 data.
2993         (BuildbotIteration.prototype.get buildURL): URL to fetch build information from Buildbot. Also fetches got_revision property.
2994         (BuildbotIteration.prototype.get buildStepsURL): URL to fetch the steps information from Buildbot.
2995         (BuildbotIteration.prototype.urlFailedToLoad): Callback method to be used when URL fails to load. Made it a separate function now.
2996         (BuildbotIteration.prototype.update): Modified to support both Buildbot 0.9 and 0.8 data format.
2997         (BuildbotIteration.prototype.actualUpdate): Update method for Buildbot 0.9 data.
2998         (BuildbotIteration.prototype.deprecatedUpdate): Update method for Buildbot 0.8 data.
2999         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
3000         (BuildbotQueue.prototype.get baseURL): Updated URL as per Buildbot 0.9 format.
3001         (BuildbotQueue.prototype.get allIterationsURL): Ditto.
3002         (BuildbotQueue.prototype.get overviewURL): Ditto.
3003         (BuildbotQueue.prototype.get buildsURL): URL to fetch builds data in Buildbot 0.9.
3004         (BuildbotQueue.prototype.get buildsInfoURL): Returns the appropriate URL to use to fetch builds information from
3005         Buildbot 0.8 or 0.9.
3006         (BuildbotQueue.prototype.getBuilds): Method compatible with both Buildbot 0.8 and 0.9 to get build information from data
3007         fetched from Buildbot. Also, reversing the Buildbot 0.8 data to make it similar to 0.9 data format.
3008         (BuildbotQueue.prototype.isBuildComplete): Method compatible with both Buildbot 0.8 and 0.9 to check if the build has completed.
3009         (BuildbotQueue.prototype.getIterationID):  Method compatible with both Buildbot 0.8 and 0.9 to get the Iteration ID.
3010         (BuildbotQueue.prototype.update): Supports both Buildbot 0.8 and 0.9. Buildbot 0.9 REST API doesn't have cachedBuilds and currentBuilds. 
3011         Therefore we are fetching information for fixed number of build. 
3012         Also iterating the loop incrementally since the build data is already reverse sorted.
3013         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
3014         (BuildbotTestResults.prototype._parseResults): Updated as per Buildbot 0.9 format. Note that we do not
3015         need to worry about 0.8 or 0.9 data format here, since the data is already converted to 0.9 format.
3016         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
3017         (WebKitBuildbot): Pass the USE_BUILDBOT_VERSION_LESS_THAN_09 flag.
3018
3019 2017-08-01  Devin Rousso  <drousso@apple.com>
3020
3021         Web Inspector: simplify WebInspector with WI
3022         https://bugs.webkit.org/show_bug.cgi?id=175058
3023
3024         Reviewed by Joseph Pecoraro.
3025
3026         * Scripts/check-inspector-strings:
3027         (extract_ui_strings):
3028         * Scripts/extract-localizable-js-strings:
3029
3030 2017-08-01  Youenn Fablet  <youenn@apple.com>
3031
3032         Layout tests with 'https' suffix should be run over HTTPS
3033         https://bugs.webkit.org/show_bug.cgi?id=174992
3034
3035         Reviewed by Chris Dumez.
3036
3037         Updating the test-name <-> uri conversion routines to use https when test names contain ".https." in them.
3038         This covers WPT tests, WPT WebKit tests and HTTP layout tests.
3039         Covered by corresponding unit tests.
3040
3041         * Scripts/webkitpy/layout_tests/servers/run_webkit_httpd.py:
3042         (run_server):
3043         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3044         (base_http_url):
3045         (base_https_url):
3046         (base_url): Deleted.
3047         * Scripts/webkitpy/port/base.py:
3048         (Port.to.web_platform_test_server_base_http_url):
3049         (Port.to):
3050         (Port.to.web_platform_test_server_base_https_url):
3051         (Port.to.web_platform_test_server_base_url): Deleted.
3052         * Scripts/webkitpy/port/driver.py:
3053         (Driver.__init__):
3054         (Driver.wpt_test_path_to_uri):
3055         (Driver):
3056         (Driver.http_test_path_to_uri):
3057         (Driver.test_to_uri):
3058         (Driver.uri_to_test):
3059         * Scripts/webkitpy/port/driver_unittest.py:
3060         (DriverTest.test_test_to_uri):
3061         (DriverTest.test_uri_to_test):
3062
3063 2017-07-26  Jiewen Tan  <jiewen_tan@apple.com>
3064
3065         Add tests to detect mistakes in backward compatibility when the structured clone algorithm is changed in the future
3066         https://bugs.webkit.org/show_bug.cgi?id=173998
3067
3068         Reviewed by Darin Adler.
3069
3070         Since the structured clone algorithm is used for data stored in persistent databases, we need tests to help us
3071         detect mistakes in backward compatibility in the future when we change it.
3072
3073         The way it works is to read from a pre-baked database and see if all the values are matched with the expectations.
3074         Surprisedly, some of structured clonable objects cannot be stored into the indexedDB. Those are FileList,
3075         ObjectReference, MessagePortReference, ArrayBufferView, ArrayBufferTransfer, NonMapProperties, NonSetProperties,
3076         SharedArrayBuffer, WasmModule, DOMPointReadOnly, DOMPoint, DOMRectReadOnly, DOMRect, DOMMatrixReadOnly, DOMMatrix,
3077         DOMQuad and Error. CryptoKey objects are not included as well as they need new API for encrypting/decrypting the
3078         internal key data slot.
3079
3080         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3081         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.mm: Added.
3082         (-[IndexedDBStructuredCloneBackwardCompatibilityMessageHandler userContentController:didReceiveScriptMessage:]):
3083         (getNextMessage):
3084         (TEST):
3085         Here is the API test that moves the pre-baked database to the location where TestWebKitAPI can read from.
3086         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3: Added.
3087         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3-shm: Added.
3088         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3-wal: Added.
3089         These are the pre-baked databases.
3090         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibilityRead.html: Added.
3091         This is the actual test that do all the reads and comparisons.
3092         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibilityWrite.html: Added.
3093         This is the page that bakes the database. It never runs automatically. It is for someone who needs to teach
3094         IndexedDB new stuffs. Then it can be used to bake the database again.
3095
3096 2017-08-01  Brady Eidson  <beidson@apple.com>
3097
3098         API test URLSchemeHandler.Exceptions is Exiting out early on macOS Debug..
3099         https://bugs.webkit.org/show_bug.cgi?id=175030
3100
3101         Reviewed by Andy Estes.
3102
3103         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
3104         (-[TaskSchemeHandler webView:startURLSchemeTask:]): Stop calling an invalid NSError constructor.
3105
3106 2017-08-01  Brady Eidson  <beidson@apple.com>
3107
3108         Part 2 of: Rename DatabaseProcess to StorageProcess.
3109         https://bugs.webkit.org/show_bug.cgi?id=174880
3110
3111         Reviewed by Andy Estes.
3112
3113         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.mm:
3114         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.mm:
3115         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm:
3116         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
3117         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
3118         * TestWebKitAPI/Tests/WebKit2Cocoa/ResourceLoadStatistics.mm:
3119         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm:
3120         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.mm:
3121
3122 2017-07-31  Csaba Osztrogonác  <ossy@webkit.org>
3123
3124         Fix JSCOnly ARM buildbots after r220047
3125         https://bugs.webkit.org/show_bug.cgi?id=174993
3126
3127         Reviewed by Saam Barati.
3128
3129         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3130         (BuildAndRemoteJSCTestsFactory.__init__):
3131
3132 2017-07-30  Yusuke Suzuki  <utatane.tea@gmail.com>
3133
3134         [WTF] Introduce Private Symbols
3135         https://bugs.webkit.org/show_bug.cgi?id=174935
3136
3137         Reviewed by Darin Adler.
3138
3139         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3140         (TestWebKitAPI::TEST):
3141
3142 2017-07-30  Darin Adler  <darin@apple.com>
3143
3144         Remove code in HTMLObjectElement attribute parsing that forces style resolution and layout
3145         https://bugs.webkit.org/show_bug.cgi?id=130653
3146
3147         Reviewed by Antti Koivisto.
3148
3149         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3150         (WTR::InjectedBundlePage::didFinishLoadForFrame): Omit now-unneeded "shouldDump" argument
3151         when calling frameDidChangeLocation.
3152         (WTR::InjectedBundlePage::frameDidChangeLocation): Removed "shouldDump" argument. This was
3153         causing WebKitTestRunner to not dump anything in cases where DumpRenderTree will dump, and
3154         thus causing mysterious failures of a couple of tests. There are two remaining issues:
3155         1) WebKitTestRunner won't run its dump code if there is no "page", and there is no such
3156         consideration in DumpRenderTree and 2) Both DumpRenderTree and WebKitTestRunner share the
3157         same logic flaw that causes "top loading frame" to get set to one of the subframes in
3158         tests where  the following sequence occurs: test calls waitUntilDone, main frame finishes
3159         loading, subframe starts loading. It would be good to clean that up some day, but for now
3160         this patch makes the two work identically rather than changing both.
3161         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h: Updated for change above.
3162
3163 2017-07-30  Wenson Hsieh  <wenson_hsieh@apple.com>
3164
3165         [WK2] Replace RetainPtr<> with auto when adopting allocated ObjC objects in DataInteractionTests
3166         https://bugs.webkit.org/show_bug.cgi?id=174963
3167
3168         Reviewed by Darin Adler.
3169
3170         Replaces several uses of RetainPtr<>s with auto. Some test cases in this file use auto, while other test cases declare using
3171         RetainPtr<>. This patch changes them to all use auto.
3172
3173         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
3174         (TestWebKitAPI::TEST):
3175
3176 2017-07-30  Brady Eidson  <beidson@apple.com>
3177
3178         Add URLSchemeHandler API tests that verify the lack of URLSchemeTask object leaks.
3179         https://bugs.webkit.org/show_bug.cgi?id=174958
3180
3181         Reviewed by Darin Adler.
3182
3183         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3184         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-leaks.mm: Added.
3185         (-[LeakSchemeHandler webView:startURLSchemeTask:]):
3186         (-[LeakSchemeHandler webView:stopURLSchemeTask:]):
3187         (runUntilTasksInFlight):
3188         (TEST):
3189
3190 2017-07-28  Commit Queue  <commit-queue@webkit.org>
3191
3192         Unreviewed, rolling out r219990.
3193         https://bugs.webkit.org/show_bug.cgi?id=174961
3194
3195         "broke PLT on iOS (rdar://problem/33602751)" (Requested by
3196         estes on #webkit).
3197
3198         Reverted changeset:
3199
3200         "Part 2 of: Rename DatabaseProcess to StorageProcess."
3201         https://bugs.webkit.org/show_bug.cgi?id=174880
3202         http://trac.webkit.org/changeset/219990
3203
3204 2017-07-28  Brady Eidson  <beidson@apple.com>
3205
3206         API tests that use URLSchemeHandler are failing.
3207         https://bugs.webkit.org/show_bug.cgi?id=174950
3208
3209         Reviewed by Alex Christensen.
3210
3211         Fix the NoMIMEType test to be correct.
3212
3213         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
3214         (-[SchemeHandler initWithData:mimeType:]):
3215         (-[SchemeHandler webView:startURLSchemeTask:]):
3216         (TEST):
3217
3218 2017-07-28  Daniel Bates  <dabates@apple.com>
3219
3220         prepare-ChangeLog should not list added layout tests in PAL ChangeLog
3221         https://bugs.webkit.org/show_bug.cgi?id=174876
3222
3223         Reviewed by Alex Christensen.
3224
3225         Do not list added layout tests in the PAL ChangeLog as such tests are unlikely to be related
3226         to a PAL change. Unit tests are more appropriate for PAL changes than layout tests because
3227         they provide a more direct way to test the platform abstraction.
3228
3229         As a side effect of this change we no longer list added layout tests in WebCore/platform/gtk/po/ChangeLog.
3230
3231         * Scripts/prepare-ChangeLog:
3232         (generateNewChangeLogs): Only list added layout tests in the WebCore ChangeLog regardless
3233         of the current working directory.
3234
3235 2017-07-28  Jonathan Bedard  <jbedard@apple.com>
3236
3237         Using "auto <function()> -> returnType" breaks prepare-ChangeLog
3238         https://bugs.webkit.org/show_bug.cgi?id=174930
3239
3240         Unreviewed test fix.
3241
3242         We need to check parentheses before printing 'const' or 'volatile' in the ChangeLog. 
3243
3244         * Scripts/prepare-ChangeLog:
3245         (get_function_line_ranges_for_cpp):
3246
3247 2017-07-28  JF Bastien  <jfbastien@apple.com>
3248
3249         Using "auto <function()> -> returnType" breaks prepare-ChangeLog
3250         https://bugs.webkit.org/show_bug.cgi?id=174930
3251
3252         Reviewed by Daniel Bates.
3253
3254         Teach prepare-ChangeLog about C++ auto arrow return, and while I'm
3255         here also teach it about const and volatile overloads. I didn't do
3256         reference and rvalue reference overloads because we don't really
3257         use them, and the current parser throws away those characters and
3258         it doesn't seem worth making it more complex.
3259
3260         * Scripts/prepare-ChangeLog:
3261         (get_function_line_ranges_for_cpp):
3262         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt:
3263         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests.cpp:
3264         (Foo::Arrow::arrow):
3265         (Foo::Arrow::otherArrow):
3266         (Foo::Arrow::otherArrow const):
3267         (Foo::Arrow::otherArrow volatile):
3268         (Foo::Arrow::otherArrow const volatile):
3269
3270 2017-07-28  Adrian Perez de Castro  <aperez@igalia.com>
3271
3272         [GTK] Building with ENABLE_VIDEO=OFF fails
3273         https://bugs.webkit.org/show_bug.cgi?id=174940
3274
3275         Reviewed by Alex Christensen.
3276
3277         When GStreamer usage is completely disabled at build time, CMake does not query pkg-config for the GStreamer.
3278         This adds missing USE(GSTREAMER) guards in order to make testing code buildable when GStreamer usage is disabled.
3279
3280         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
3281         (methodCallCallback): Add missing USE(GSTREAMER) guard.
3282
3283 2017-07-28  Claudio Saavedra  <csaavedra@igalia.com>
3284
3285         [WPE] Implement EventSenderProxy in WTR
3286         https://bugs.webkit.org/show_bug.cgi?id=173419
3287
3288         Reviewed by Žan Doberšek.
3289
3290         Add the implementation of EventSenderProxy to the WTR. This
3291         allows us to extend the coverage of the test suite in WKWPE.
3292
3293         * WebKitTestRunner/EventSenderProxy.h:
3294         * WebKitTestRunner/PlatformWPE.cmake: Add dependency on
3295         libxkbcommon needed to deal with key events.
3296         * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp:
3297         (WTR::EventSenderProxy::EventSenderProxy):
3298         (WTR::senderButtonToWPEButton):
3299         (WTR::EventSenderProxy::mouseDown):
3300         (WTR::EventSenderProxy::mouseUp):
3301         (WTR::EventSenderProxy::mouseMoveTo):
3302         (WTR::EventSenderProxy::mouseScrollBy):
3303         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
3304         (WTR::EventSenderProxy::leapForward):
3305         (WTR::wkEventModifiersToWPE):
3306         (WTR::getXKBKeySymForKeyRef):
3307         (WTR::EventSenderProxy::keyDown):
3308         (WTR::EventSenderProxy::addTouchPoint):
3309         (WTR::EventSenderProxy::updateTouchPoint):
3310         (WTR::EventSenderProxy::setTouchModifier):
3311         (WTR::EventSenderProxy::setTouchPointRadius):
3312         (WTR::EventSenderProxy::getUpdatedTouchEvents):
3313         (WTR::EventSenderProxy::removeUpdatedTouchEvents):
3314         (WTR::EventSenderProxy::prepareAndDispatchTouchEvent):
3315         (WTR::EventSenderProxy::touchStart):
3316         (WTR::EventSenderProxy::touchMove):
3317         (WTR::EventSenderProxy::touchEnd):
3318         (WTR::EventSenderProxy::touchCancel):
3319         (WTR::EventSenderProxy::clearTouchPoints):
3320         (WTR::EventSenderProxy::releaseTouchPoint):
3321         (WTR::EventSenderProxy::cancelTouchPoint):
3322
3323 2017-07-27  Brady Eidson  <beidson@apple.com>
3324
3325         Part 2 of: Rename DatabaseProcess to StorageProcess.
3326         https://bugs.webkit.org/show_bug.cgi?id=174880
3327
3328         Reviewed by Andy Estes.
3329
3330         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.mm:
3331         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.mm:
3332         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm:
3333         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
3334         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
3335         * TestWebKitAPI/Tests/WebKit2Cocoa/ResourceLoadStatistics.mm:
3336         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm:
3337         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.mm:
3338
3339 2017-07-26  Mark Lam  <mark.lam@apple.com>
3340
3341         Add ability to only run specific tests in run-javascriptcore-tests.
3342         https://bugs.webkit.org/show_bug.cgi?id=174884
3343
3344         Reviewed by Saam Barati.
3345
3346         For example, if we only want to run testapi, we can do so as follows:
3347             $ run-javascriptcore-tests --testapi
3348
3349         Previously, specifying --testapi effectively does nothing because we run all tests
3350         by default.  Only --no-testapi had the effect of disabling the test set.  This
3351         old behavior for --testapi is not very useful or meaningful.  We're now changing
3352         it to mean that we will only run that test.
3353
3354         With this change, we can also run more than one set of tests.  For example, if we
3355         only want to run testmasm and testair, we can do so as follows:
3356             $ run-javascriptcore-tests --testmasm --testair
3357
3358         By default, if no specific test option is specified, run-javascriptcore-tests will
3359         run all tests.
3360
3361         Note that the jsc stress tests (--jsc-stress) are a different set of tests than
3362         the mozilla tests (--mozilla-tests) even though both are run via the lower level
3363         run-jsc-stress-tests test harness.  Hence, if you only specify one of the tests,
3364         the other set will not run.  For example, the following only runs the mozilla tests:
3365             $ run-javascriptcore-tests --mozilla-tests
3366
3367         Note also that --jit-stress-tests is not for choosing a different set of tests.
3368         Instead, it is used for determining whether we run JIT'ed test configurations
3369         on the jsc stress tests and mozilla tests.  As a result, specifying
3370         --jit-stress-tests will not omit other tests.  For example, the following still
3371         runs all tests:
3372             $ run-javascriptcore-tests --jit-stress-tests
3373
3374         * Scripts/run-javascriptcore-tests:
3375         (defaultStringForTestState):
3376         (enableTestOrNot):
3377         (runJSCStressTests):
3378
3379 2017-07-26  Mark Lam  <mark.lam@apple.com>
3380
3381         Make run-javascriptcore-test run testair, testb3, and testmasm.
3382         https://bugs.webkit.org/show_bug.cgi?id=174837
3383         <rdar://problem/33522927>
3384
3385         Reviewed by Saam Barati and Filip Pizlo.
3386
3387         1. Refactors code for running testapi so that we can use it to run other tests.
3388         2. Added running of testmasm, testair, testb3.
3389
3390         Note: the existing testapi invocation code does not support remote invocation of
3391         the tests (e.g. on a ARM device).  Hence, the new additions of testmasm, testair,
3392         and testb3 also do not support remote invocation.  If we wish to add remote
3393         invocation support, we should do that in a separate patch.
3394
3395         * Scripts/run-javascriptcore-tests:
3396         (testPath):
3397         (runTest):
3398         (testapiPath): Deleted.
3399
3400 2017-07-26  Aakash Jain  <aakash_jain@apple.com>
3401
3402         Remove duplicate code from Buildbot.js in dashboard
3403         https://bugs.webkit.org/show_bug.cgi?id=174870
3404
3405         Reviewed by Daniel Bates.
3406
3407         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
3408         (Buildbot.prototype.javaScriptCoreTestFailuresURLForIteration): Remove duplicate code and reuse buildPageURLForIteration() to construct URL.
3409         (Buildbot.prototype.javaScriptCoreTestStdioUrlForIteration): Ditto.
3410         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbot.js:
3411         (MockBuildbot.prototype.javaScriptCoreTestStdioUrlForIteration): Ditto for tests.
3412
3413 2017-07-26  Brady Eidson  <beidson@apple.com>
3414
3415         Add test to verify certain child processes are not launched as a side effect of enabling ResourceLoadStatistics.
3416         https://bugs.webkit.org/show_bug.cgi?id=174851
3417
3418         Reviewed by Chris Dumez.
3419
3420         * TestWebKitAPI/Tests/WebKit2Cocoa/ResourceLoadStatistics.mm:
3421         (TEST):
3422
3423 2017-07-26  Brian Burg  <bburg@apple.com>
3424
3425         Remove WEB_TIMING feature flag
3426         https://bugs.webkit.org/show_bug.cgi?id=174795
3427
3428         Reviewed by Alex Christensen.
3429
3430         * Scripts/webkitperl/FeatureList.pm:
3431         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3432
3433 2017-07-26  Chris Dumez  <cdumez@apple.com>
3434
3435         Pressing the Escape key should not be a valid user gesture to enter fullscreen
3436         https://bugs.webkit.org/show_bug.cgi?id=174864
3437         <rdar://problem/33009088>
3438
3439         Reviewed by Geoffrey Garen.
3440
3441         Add support for eventSender.keyDown('escape') in DRT to match the behavior of
3442         WKTR.
3443
3444         * DumpRenderTree/mac/EventSendingController.mm:
3445         (-[EventSendingController keyDown:withModifiers:withLocation:]):
3446
3447 2017-07-26  Romain Bellessort  <romain.bellessort@crf.canon.fr>
3448
3449         Unreviewed, added Romain Bellessort to contributors.json.
3450
3451         * Scripts/webkitpy/common/config/contributors.json:
3452
3453 2017-07-26  Zan Dobersek  <zdobersek@igalia.com>
3454
3455         [WPE] WebGL2 support
3456         https://bugs.webkit.org/show_bug.cgi?id=174249
3457
3458         Reviewed by Alex Christensen.
3459
3460         * Scripts/webkitperl/FeatureList.pm:
3461         Enable WebGL2 for WPE when building through build-webkit.
3462
3463 2017-07-26  Carlos Garcia Campos  <cgarcia@igalia.com>
3464
3465         Unreviewed. Fix GTK distcheck.
3466
3467         * gtk/make-dist.py:
3468         (ensure_version_if_possible): Use the right pkg-config filename, it's webkit2gtk not webkitgtk.
3469
3470 2017-07-25  Brady Eidson  <beidson@apple.com>
3471
3472         ResourceLoadStatistics grandfathering happens much too often.
3473         <rdar://problem/32655834> and https://bugs.webkit.org/show_bug.cgi?id=174825
3474
3475         Reviewed by Chris Dumez.
3476
3477         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3478         * TestWebKitAPI/Tests/WebKit2Cocoa/EmptyGrandfatheredResourceLoadStatistics.plist: Added.
3479         * TestWebKitAPI/Tests/WebKit2Cocoa/ResourceLoadStatistics.mm: Added.
3480         (TEST):
3481
3482 2017-07-25  Matthew Stewart  <matthew_r_stewart@apple.com>
3483
3484         Fix autoinstaller failing on autoinstall_everything
3485         https://bugs.webkit.org/show_bug.cgi?id=174830
3486
3487         Reviewed by Joseph Pecoraro.
3488
3489         * Scripts/webkitpy/thirdparty/__init__.py:
3490         (AutoinstallImportHook.find_module):
3491         (AutoinstallImportHook.install_chromedriver):
3492         (AutoinstallImportHook.install_geckodriver):
3493         (AutoinstallImportHook._install_chromedriver): Deleted.
3494         (AutoinstallImportHook._install_geckodriver): Deleted.
3495
3496 2017-07-25  Jonathan Bedard  <jbedard@apple.com>
3497
3498         Replace --runtime with something for both ios-simulator and ios-device
3499         https://bugs.webkit.org/show_bug.cgi?id=173775
3500         <rdar://problem/32952164>
3501
3502         Reviewed by Aakash Jain.
3503
3504         Add --version flag for both iOS simulator and iOS device.
3505
3506         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3507         (parse_args): Add --version flag and move --no-install.
3508         * Scripts/webkitpy/port/factory.py:
3509         (platform_options): Move --no-intall to run_webkit_tests.py.
3510         * Scripts/webkitpy/port/ios.py:
3511         (IOSPort):
3512         (IOSPort._is_valid_ios_version): Check that the provided version string is legal.
3513         (IOSPort.get_option): If accessing the iOS version, check that it is a valid version string.
3514         * Scripts/webkitpy/port/ios_device.py:
3515         (IOSDevicePort.ios_version): Consult --version flag before checking connected
3516         devices for iOS version.
3517         * Scripts/webkitpy/port/ios_device_unittest.py:
3518         (IOSDeviceTest.make_port): Set --version option so that we can generate test
3519         expectation paths without devices connected.
3520         (IOSDeviceTest.test_additional_platform_directory): Deleted.
3521         (IOSDeviceTest.test_baseline_searchpath): Deleted.
3522         (IOSDeviceTest.test_expectations_ordering): Deleted.
3523         * Scripts/webkitpy/port/ios_simulator.py:
3524         (IOSSimulatorPort.simulator_runtime): If no runtime is specified, use the --version
3525         flag to specify a runtime.
3526         (IOSSimulatorPort.ios_version): First check the --version flag, then the --runtime
3527         flag and then use the default runtime.
3528
3529 2017-07-25  Carlos Garcia Campos  <cgarcia@igalia.com>
3530
3531         [GTK] TestWebKitAPI tests are no longer built since the WebKit2 rename
3532         https://bugs.webkit.org/show_bug.cgi?id=174815
3533
3534         Reviewed by Carlos Alberto Lopez Perez.
3535
3536         Only WebKitGTK specific tests are built, but not WebKit2, WTF nor WebCore ones. We are still checking
3537         ENABLE_WEBKIT2 in the makefile, that was renamed to ENABLE_WEBKIT. Also, all WebKit2 test paths were updated to
3538         use WebKit dir, while the tests are still in WebKit2 directory. This patch also removes
3539         TestWebKitAPIInjectedBundle_PATH that is unused and now makes the configure to fail (it used to be a warning, I
3540         think), probably because of a newer CMake version.
3541
3542         * CMakeLists.txt:
3543         * TestWebKitAPI/CMakeLists.txt: