WSL Node.prototype.visit should probably do memoization
[WebKit-https.git] / Tools / ChangeLog
1 2017-09-07  Filip Pizlo  <fpizlo@apple.com>
2
3         WSL Node.prototype.visit should probably do memoization
4         https://bugs.webkit.org/show_bug.cgi?id=176286
5
6         Reviewed by Mark Lam.
7         
8         Visitors can sometimes revisit the same thing. For example, we may visit a FuncDef because it belongs
9         to Program and we may visit it again because a CallExpression resolved to it. That's just plain silly.
10         
11         Our tests don't currently do this, so it's not a performance problem, yet. Also, we usually avoid that
12         kind of repetitive visiting inside the visitor implementations. But as far as I can tell, this is an
13         emergent property rather than a deliberate design.
14         
15         This change just makes the policy super explicit. If you visit something more than once with the same
16         visitor, you get the same answer back. This is achieved by means of a memo table inside each visitor.
17         
18         * WebGPUShadingLanguageRI/All.js:
19         * WebGPUShadingLanguageRI/FuncInstantiator.js:
20         * WebGPUShadingLanguageRI/Node.js:
21         (Node.prototype.visit):
22         * WebGPUShadingLanguageRI/Rewriter.js:
23         (Rewriter):
24         * WebGPUShadingLanguageRI/Test.html:
25         * WebGPUShadingLanguageRI/Visitor.js:
26         (Visitor):
27         * WebGPUShadingLanguageRI/VisitorBase.js: Added.
28         (VisitorBase):
29
30 2017-09-07  Wenson Hsieh  <wenson_hsieh@apple.com>
31
32         [Directory Upload] Extend drag and drop support to iOS
33         https://bugs.webkit.org/show_bug.cgi?id=176492
34         <rdar://problem/34291584>
35
36         Reviewed by Tim Horton.
37
38         Adds two new iOS drag and drop unit tests, which both exercise the DataTransferItem.webKitGetAsEntry codepath
39         upon drop. (...)GetFolderAsEntry creates a new folder in the temporary directory and uses it to generate an item
40         provider. This item provider is then dropped over a custom drop handling element, which writes information about
41         the exposed FileSystemEntries into a textarea. (...)ExternalSourceDataTransferItemGetPlainTextFileAsEntry does
42         something similar, except that it only drops a plain text file instead.
43
44         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
45         * TestWebKitAPI/Tests/WebKitCocoa/DataTransferItem-getAsEntry.html: Added.
46
47         Introduce a new test page that dumps information about DataTransferItems' file system entries upon drop.
48
49         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
50         (runTestWithTemporaryTextFile):
51         (runTestWithTemporaryFolder):
52
53         Introduce helpers to set up and tear down temporary files and folders over the duration of a test.
54
55         (TestWebKitAPI::setUpTestWebViewForDataTransferItems):
56         (TestWebKitAPI::TEST):
57
58 2017-09-07  Filip Pizlo  <fpizlo@apple.com>
59
60         WSL should check recursion
61         https://bugs.webkit.org/show_bug.cgi?id=176553
62
63         Reviewed by Michael Saboff and Mark Lam.
64         
65         This adds a recursion checker. Previously, we would only check for recursion during inlining, but that
66         generally only happens when we call the function.
67
68         * WebGPUShadingLanguageRI/All.js:
69         * WebGPUShadingLanguageRI/CheckRecursion.js: Added.
70         (checkRecursion):
71         * WebGPUShadingLanguageRI/Prepare.js:
72         (prepare):
73         * WebGPUShadingLanguageRI/RecursionChecker.js: Added.
74         (RecursionChecker):
75         (RecursionChecker.prototype.visitFuncDef):
76         (RecursionChecker.prototype.visitCallExpression):
77         * WebGPUShadingLanguageRI/Test.html:
78         * WebGPUShadingLanguageRI/Test.js:
79         (TEST_simpleRecursion):
80
81 2017-09-07  Chris Dumez  <cdumez@apple.com>
82
83         [WK2] Notify client when downloads are redirected
84         https://bugs.webkit.org/show_bug.cgi?id=176481
85         <rdar://problem/34309065>
86
87         Reviewed by Geoffrey Garen.
88
89         * TestWebKitAPI/Tests/WebKitCocoa/Download.mm:
90         (-[UIDownloadAsFileTestDelegate _webView:contextMenu:forElement:]):
91         (-[RedirectedDownloadDelegate _download:decideDestinationWithSuggestedFilename:allowOverwrite:]):
92         (-[RedirectedDownloadDelegate _download:didReceiveServerRedirectToURL:]):
93         (-[RedirectedDownloadDelegate _downloadDidFinish:]):
94         (TEST):
95         Add API test coverage.
96
97         * WebKitTestRunner/TestController.cpp:
98         (WTR::TestController::createWebViewWithOptions):
99         (WTR::TestController::downloadDidReceiveServerRedirectToURL):
100         * WebKitTestRunner/TestController.h:
101         Add layout test infrastructure.
102
103 2017-09-07  Per Arne Vollan  <pvollan@apple.com>
104
105         [Win] fast/canvas/2d.getPath.modification.html is failing.
106         https://bugs.webkit.org/show_bug.cgi?id=176534
107
108         Reviewed by Alex Christensen.
109
110         We need to enable Inspector additions at runtime in order to expose the getPath function.
111
112         * DumpRenderTree/win/DumpRenderTree.cpp:
113         (resetWebPreferencesToConsistentValues):
114
115 2017-09-07  Filip Pizlo  <fpizlo@apple.com>
116
117         WSL tests should run in run-javascriptcore-tests
118         https://bugs.webkit.org/show_bug.cgi?id=176550
119
120         Reviewed by Keith Miller.
121
122         * Scripts/run-javascriptcore-tests:
123         (runJSCStressTests):
124         * WebGPUShadingLanguageRI/wsl-tests.yaml: Added.
125
126 2017-09-07  Lucas Forschler  <lforschler@apple.com>
127
128         bisect-builds started failing with invalid json
129         https://bugs.webkit.org/show_bug.cgi?id=176478
130         
131         Once we hit 1000 items in our dynamoDB, we ran into an upper limit on the AWS API Gateway looping mechanism. 
132         This prevented us from doing a body mapping template to reformat the json. This fix is to simply return the raw json, 
133         and adjust the json parsing in our code. The AWS rest API has been fixed, and updated to v2. 
134         
135         This change is for the script which operates against the endpoint.
136         
137         Reviewed by Aakash Jain.
138
139         * Scripts/bisect-builds:
140         (get_sorted_revisions):
141
142 2017-09-07  Filip Pizlo  <fpizlo@apple.com>
143
144         [WSL] Rationalize how protocol inheritance deals with type parameters
145         https://bugs.webkit.org/show_bug.cgi?id=176334
146
147         Reviewed by Mark Lam.
148         
149         This adds a bunch of tests for structs, protocols, and functions interacting in interesting
150         ways. The most complex of these tests triggers the case where the protocol contains a function
151         with one type parameter and the real function has more than one. This should give a WTypeError,
152         and now it does.
153         
154         * WebGPUShadingLanguageRI/ProtocolDecl.js:
155         (ProtocolDecl.prototype.hasHeir): Fix the handling of a mismatch of number of type parameters by actually passing the type parameters and then correctly handling the error.
156         * WebGPUShadingLanguageRI/Test.js: Add a bunch of tests for this case and a lot of other protocol cases.
157         (TEST_protocolMonoSigPolyDef):
158         (TEST_protocolPolySigPolyDef):
159         (TEST_protocolDoublePolySigDoublePolyDef):
160         (TEST_protocolDoublePolySigDoublePolyDefExplicit):
161         (TEST_protocolMonoPolySigDoublePolyDefExplicit):
162         * WebGPUShadingLanguageRI/TypeVariable.js:
163         (TypeVariable.prototype.get origin): This wasn't implemented before, which made error reporting harder.
164
165 2017-09-07  Per Arne Vollan  <pvollan@apple.com>
166
167         [Win] Dashboard test is failing.
168         https://bugs.webkit.org/show_bug.cgi?id=176527
169
170         Reviewed by Brent Fulgham.
171
172         Skip test on Windows since WebKitTestRunner is required, but not built on Windows.
173
174         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
175         (TestFactory.__init__):
176
177 2017-09-07  Adrian Perez de Castro  <aperez@igalia.com>
178
179         [WPE][CMake] Add "dist" and "distcheck" targets
180         https://bugs.webkit.org/show_bug.cgi?id=176448
181
182         Reviewed by Carlos Garcia Campos.
183
184         Add "dist" and "distcheck" CMake targets, which create release tarballs.
185         These are available only when configuring with -DDEVELOPER_MODE=TRUE.
186
187         * wpe/manifest.txt.in: Added.
188
189 2017-09-07  Per Arne Vollan  <pvollan@apple.com>
190
191         [Win] Enable DatatransferItems in DRT.
192         https://bugs.webkit.org/show_bug.cgi?id=176424
193
194         Reviewed by Brent Fulgham.
195
196         * DumpRenderTree/win/DumpRenderTree.cpp:
197         (resetWebPreferencesToConsistentValues):
198
199 2017-09-07  Carlos Garcia Campos  <cgarcia@igalia.com>
200
201         [GTK] Bump libxml2 version to 1.9.5
202         https://bugs.webkit.org/show_bug.cgi?id=176502
203
204         Reviewed by Carlos Alberto Lopez Perez.
205
206         It has been released very recently, but it fixes the issues that prevented us from upgrading to 1.9.4.
207
208         * gtk/jhbuild.modules:
209
210 2017-09-06  Joseph Pecoraro  <pecoraro@apple.com>
211
212         Remove new-run-webkit-httpd as it appears to be old
213         https://bugs.webkit.org/show_bug.cgi?id=176493
214
215         Reviewed by Alexey Proskuryakov.
216
217         * Scripts/new-run-webkit-httpd: Removed.
218
219 2017-09-06  Alex Christensen  <achristensen@webkit.org>
220
221         Add WKUIDelegatePrivate equivalent of WKPageUIClient's pageDidScroll
222         https://bugs.webkit.org/show_bug.cgi?id=176482
223         <rdar://problem/29270035>
224
225         Reviewed by Tim Horton.
226
227         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
228         (-[DidScrollDelegate _webViewDidScroll:]):
229         (TEST):
230
231 2017-09-06  Eric Carlson  <eric.carlson@apple.com>
232
233         Require LoggingHelper overrides to provide identifier
234         https://bugs.webkit.org/show_bug.cgi?id=176477
235
236         Reviewed by Jer Noble.
237
238         * TestWebKitAPI/Tests/WebCore/Logging.cpp:
239         (TestWebKitAPI::TEST_F):
240
241 2017-09-06  Alex Christensen  <achristensen@webkit.org>
242
243         Add WKUIDelegatePrivate equivalent of WKPageUIClient's pinnedStateDidChange
244         https://bugs.webkit.org/show_bug.cgi?id=176474
245         <rdar://problem/29270035>
246
247         Reviewed by Tim Horton.
248
249         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
250         (-[PinnedStateObserver observeValueForKeyPath:ofObject:change:context:]):
251         (TEST):
252
253 2017-09-06  Alex Christensen  <achristensen@webkit.org>
254
255         Unreviewed, rolling out r221694.
256
257         broke build
258
259         Reverted changeset:
260
261         "Add WKUIDelegatePrivate equivalent of WKPageUIClient's
262         pinnedStateDidChange"
263         https://bugs.webkit.org/show_bug.cgi?id=176474
264         http://trac.webkit.org/changeset/221694
265
266 2017-09-06  Per Arne Vollan  <pvollan@apple.com>
267
268         [Win] test-webkitpy test timeout_context_unittest is failing.
269         https://bugs.webkit.org/show_bug.cgi?id=176471
270
271         Reviewed by Brent Fulgham.
272
273         This assert failure is possibly caused by different time resolution on
274         various platforms.
275  
276         * Scripts/webkitpy/common/timeout_context_unittest.py:
277         (TimeoutContextTests.test_timeout_data):
278
279 2017-09-06  Aakash Jain  <aakash_jain@apple.com>
280
281         status-bubbles turn orange after checking relevance of patch
282         https://bugs.webkit.org/show_bug.cgi?id=176457
283
284         Reviewed by Alexey Proskuryakov.
285
286         * QueueStatusServer/handlers/statusbubble.py: Added "Checked relevance of patch" as a progress_statuses.
287
288 2017-09-06  Alex Christensen  <achristensen@webkit.org>
289
290         Add WKUIDelegatePrivate equivalent of WKPageUIClient's pinnedStateDidChange
291         https://bugs.webkit.org/show_bug.cgi?id=176474
292         <rdar://problem/29270035>
293
294         Reviewed by Tim Horton.
295
296         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
297         (-[PinnedStateObserver observeValueForKeyPath:ofObject:change:context:]):
298         (TEST):
299
300 2017-09-06  Filip Pizlo  <fpizlo@apple.com>
301
302         WSL: Inliner doesn't allow double-negation
303         https://bugs.webkit.org/show_bug.cgi?id=176440
304
305         Reviewed by Mylex Maxfield.
306         
307         The problem was that we were visiting the operands to calls while inside doVisit. This is too strict
308         since it rejects nested calls like foo(foo(x)). The solution is to visit the operands to calls before
309         entering doVisit.
310         
311         This also fixes some other issues in the parser that made the Inliner's error really strange.
312
313         * WebGPUShadingLanguageRI/Func.js:
314         (Func):
315         * WebGPUShadingLanguageRI/Inliner.js:
316         (Inliner.prototype.visitCallExpression):
317         (Inliner):
318         * WebGPUShadingLanguageRI/Parse.js:
319         (parseOperatorFuncDefValues):
320         (parseNonOperatorFuncDefValues):
321         (parseGenericFuncDefValues):
322         (parseFuncDecl):
323         * WebGPUShadingLanguageRI/Test.js:
324         * WebGPUShadingLanguageRI/VisitingSet.js:
325         (VisitingSet.prototype.doVisit):
326         (VisitingSet):
327
328 2017-09-06  Myles C. Maxfield  <mmaxfield@apple.com>
329
330         WSL should support the bool type
331         https://bugs.webkit.org/show_bug.cgi?id=176285
332
333         Reviewed by Filip Pizlo.
334
335         I forgot to commit a couple files.
336
337         * WebGPUShadingLanguageRI/StandardLibraryEpilogue.js: Added.
338         (const.standardLibraryEpilogue.operator.bool.T.Equatable):
339         * WebGPUShadingLanguageRI/StandardLibraryPrologue.js: Added.
340         (operator.T.T):
341
342 2017-09-06  Myles C. Maxfield  <mmaxfield@apple.com>
343
344         WSL should correctly handle the interaction between casting operators and complex types
345         https://bugs.webkit.org/show_bug.cgi?id=176316
346
347         Reviewed by Filip Pizlo.
348
349         This allows the standard library to include all identity cast operators for all exsting
350         and yet-to-exist types. The standard library now has a function with the signature:
351         operator T<><T>(T). This means "for all T, define a cast operator from T to T<>." The
352         duplicate <>s lets us say things like operator OutputVector<T><T>(InputVector<T> x).
353
354         For testing, this patch also adds the ability to cast an arbitrary Equatable type to bool,
355         by comparing the value to the default value for that type.
356
357         * WebGPUShadingLanguageRI/All.js:
358         * WebGPUShadingLanguageRI/CastExpression.js: Copied from Tools/WebGPUShadingLanguageRI/NativeFuncInstance.js.
359         (CastExpression):
360         (CastExpression.prototype.get functionName):
361         (CastExpression.prototype.get returnType):
362         (CastExpression.prototype.toString):
363         * WebGPUShadingLanguageRI/Checker.js:
364         * WebGPUShadingLanguageRI/Func.js:
365         (Func.prototype.toDeclString):
366         * WebGPUShadingLanguageRI/FuncInstantiator.js:
367         (FuncInstantiator.prototype.getUnique.Instantiate.prototype.visitNativeFunc):
368         (FuncInstantiator.prototype.getUnique.Instantiate):
369         (FuncInstantiator.prototype.getUnique):
370         (FuncInstantiator):
371         * WebGPUShadingLanguageRI/Inliner.js:
372         (Inliner.prototype.visitCastExpression):
373         (Inliner):
374         * WebGPUShadingLanguageRI/Intrinsics.js:
375         (Intrinsics):
376         * WebGPUShadingLanguageRI/NativeFunc.js:
377         * WebGPUShadingLanguageRI/NativeFuncInstance.js:
378         (NativeFuncInstance):
379         * WebGPUShadingLanguageRI/Parse.js:
380         (parsePossiblePrefix):
381         (parseFuncDecl):
382         (parseOperatorFuncDefValues): Deleted.
383         (parseNonOperatorFuncDefValues): Deleted.
384         (parseGenericFuncDefValues): Deleted.
385         * WebGPUShadingLanguageRI/Prepare.js:
386         (prepare):
387         * WebGPUShadingLanguageRI/Program.js:
388         (Program.prototype.resolveFuncOverload):
389         * WebGPUShadingLanguageRI/ResolveOverloadImpl.js:
390         (resolveOverloadImpl):
391         * WebGPUShadingLanguageRI/Rewriter.js:
392         (Rewriter.prototype.processDerivedCallData):
393         (Rewriter.prototype.visitCastExpression):
394         (Rewriter.prototype.visitCallExpression):
395         * WebGPUShadingLanguageRI/StandardLibrary.js: Removed.
396         * WebGPUShadingLanguageRI/Test.html:
397         * WebGPUShadingLanguageRI/Test.js:
398         * WebGPUShadingLanguageRI/TypeDefResolver.js:
399         (TypeDefResolver):
400         (TypeDefResolver.prototype.visitFuncDef): Deleted.
401         * WebGPUShadingLanguageRI/Visitor.js:
402         (Visitor.prototype.visitCastExpression):
403
404 2017-09-06  Daniel Bates  <dabates@apple.com>
405
406         Copy WebKit Permalink may generate wrong URL with SVN checkout
407         https://bugs.webkit.org/show_bug.cgi?id=176427
408
409         Reviewed by Darin Adler.
410
411         Fixes an issue where Copy WebKit Permalink would generate an incorrect URL for
412         any file not in the top-level directory of the repository when using an SVN
413         checkout of WebKit.
414
415         Copy WebKit Permalink changes directories to the containing directory D of the
416         active Xcode document F before running "svn info <path to F>". Currently we use
417         the value of "Path" from the output of "svn info" when generating the permalink.
418         This path is relative to D. But we want the path to F relative to the top-level
419         checkout directory. We need to explicitly compute this.
420
421         * CopyPermalink/Copy WebKit Permalink.workflow/Contents/document.wflow:
422
423 2017-09-06  Carlos Garcia Campos  <cgarcia@igalia.com>
424
425         [GTK] Bump freetype version to 2.8.0
426         https://bugs.webkit.org/show_bug.cgi?id=176351
427
428         Reviewed by Carlos Alberto Lopez Perez.
429
430         Remove the patch we were using since it was reverted upstream.
431
432         * gtk/jhbuild.modules:
433         * gtk/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Removed.
434
435 2017-09-06  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
436
437         [Win] Tools/TestWebKitAPI/Tests/WTF/PriorityQueue.cpp fails to compile with MSVC 2015
438         https://bugs.webkit.org/show_bug.cgi?id=176442
439
440         Reviewed by Keith Miller.
441
442         * TestWebKitAPI/Tests/WTF/PriorityQueue.cpp:
443         (TEST):
444
445 2017-09-05  Darin Adler  <darin@apple.com>
446
447         Fix a few minor problems found while working toward removing unneeded calls to updateStyle
448         https://bugs.webkit.org/show_bug.cgi?id=176279
449
450         Reviewed by Antti Koivisto.
451
452         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
453         (WTR::AccessibilityUIElement::setSelectedChild const): Handle null here. The old code instead
454         would trigger an Objective-C exception unnecessarily.
455
456 2017-09-05  Wenson Hsieh  <wenson_hsieh@apple.com>
457
458         [iOS WK2] Add plumbing for WKContentView to ask the web process for additional drag items
459         https://bugs.webkit.org/show_bug.cgi?id=176348
460         Work towards <rdar://problem/31144674>
461
462         Reviewed by Tim Horton.
463
464         Introduces new test infrastructure to simulate tapping to add additional items to the current drag session. We
465         add -[DataInteractionSimulator runFrom:to:additionalItemRequestLocations:], for which the last argument is a
466         dictionary mapping progress (a double between 0 and 1) to NSValues representing the location from which the drag
467         and drop simulation will request an additional drag item. During the simulated drag and drop, when the progress
468         value exceeds a value in the map of remaining additional item request locations, we halt drag simulation
469         progress for that runloop and instead request additional items from the location specified.
470
471         The only (useful) passing test we can create using the new machinery is one that verifies that preventDefault()
472         on dragstart works as expected, preventing additional items from being added. While this trivially passes now,
473         since the web-process-side of the additional items flow is not yet implemented, it should continue to pass after
474         the web process portion is implemented.
475
476         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
477         * TestWebKitAPI/Tests/WebKitCocoa/selected-text-image-link-and-editable.html: Added.
478
479         Add a new test page that contains some non-editable text, an image, a link, and a rich text editable area.
480
481         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
482         (TestWebKitAPI::TEST):
483         * TestWebKitAPI/ios/DataInteractionSimulator.h:
484         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
485         (-[MockDragDropSession addItems:]):
486
487         Convenience method to add additional mock drag items to a drag or drop session.
488
489         (-[DataInteractionSimulator _resetSimulatedState]):
490         (-[DataInteractionSimulator runFrom:to:]):
491
492         Converted into a convenience wrapper around the latter version, passing in nil for the additional item request
493         locations dictionary.
494
495         (-[DataInteractionSimulator runFrom:to:additionalItemRequestLocations:]):
496         (-[DataInteractionSimulator _enqueuePendingAdditionalItemRequestLocations]):
497         (-[DataInteractionSimulator _sendQueuedAdditionalItemRequest]):
498
499         New helper methods to detect when and where additional items should be "added", and subsequently simulate adding
500         drag items at these given locations.
501
502         (-[DataInteractionSimulator _advanceProgress]):
503
504 2017-09-05  Alex Christensen  <achristensen@webkit.org>
505
506         Add WKUIDelegatePrivate equivalent of WKPageUIClient's mouseDidMoveOverElement
507         https://bugs.webkit.org/show_bug.cgi?id=176428
508         <rdar://problem/29270035>
509
510         Reviewed by Tim Horton.
511
512         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
513         (-[MouseMoveOverElementDelegate _webView:mouseDidMoveOverElement:withFlags:userInfo:]):
514         (TEST):
515         * TestWebKitAPI/cocoa/TestWKWebView.h:
516         * TestWebKitAPI/cocoa/TestWKWebView.mm:
517         (-[TestWKWebView mouseMoveToPoint:withFlags:]):
518
519 2017-09-05  Matthew Stewart  <matthew_r_stewart@apple.com>
520
521         Benchmark Runner WebDriver maximize window on browser launch
522         https://bugs.webkit.org/show_bug.cgi?id=175702
523
524         Reviewed by Stephanie Lewis.
525
526         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_browser_driver.py:
527         (LinuxBrowserDriver.launch_webdriver): added driver.maximize_window()
528         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
529         (OSXBrowserDriver._launch_webdriver): added driver.maximize_window()
530         * Scripts/webkitpy/benchmark_runner/webdriver_benchmark_runner.py:
531         (WebDriverBenchmarkRunner._run_one_test): added driver.quit()
532
533 2017-09-05  Matthew Stewart  <matthew_r_stewart@apple.com>
534
535         Fix Benchmark Runner selenium autoinstall imports
536         https://bugs.webkit.org/show_bug.cgi?id=175727
537
538         Reviewed by Stephanie Lewis.
539
540         This fixes run-benchmark taking a long time to start with WebDriver.
541
542         Inside webdriver's __init__.py file, it imports many other modules.
543         So if we try to directly import autoinstalled.selenium.webdriver, it
544         will re-run the autoinstall __init__.py for each new imported module
545         that contains ".selenium"
546         TODO: fix this inside the autoinstall code, to only do one install per
547         import.
548
549         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_chrome_driver.py:
550         (LinuxChromeDriver.launch_driver):
551         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_firefox_driver.py:
552         (LinuxFirefoxDriver.launch_driver):
553         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
554         (OSXChromeDriver.launch_driver):
555         (OSXChromeCanaryDriver.launch_driver):
556         (create_chrome_options):
557         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
558         (OSXFirefoxDriver.launch_driver):
559         (OSXFirefoxNightlyDriver.launch_driver):
560         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
561         (OSXSafariDriver.launch_driver):
562         * Scripts/webkitpy/benchmark_runner/webdriver_benchmark_runner.py:
563         (WebDriverBenchmarkRunner._run_one_test):
564
565 2017-09-05  Aakash Jain  <aakash_jain@apple.com>
566
567         EWS should report when a step succeeds
568         https://bugs.webkit.org/show_bug.cgi?id=176332
569         <rdar://problem/25224607>
570
571         Reviewed by Sam Weinig.
572
573         Most of the EWSes report only if a step fails, but do not report when a step succeed. For e.g.: If a build succeeds,
574         EWS does not report it. Information about a step passing is sometimes very valuable, especially when waiting for a 
575         patch to complete processing. Sometimes, patch authors know that their changes are not covered by any tests. Having EWS 
576         display that build was successful and it is currently running tests is valuable.
577
578         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
579         (AbstractEarlyWarningSystem.command_passed): Update the EWS status server when a command pass. This is
580         similar to what is done in Commit Queue and Style Queue.
581         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
582         (EarlyWarningSystemTest._default_expected_logs): Updated unit-tests appropriately.
583
584 2017-09-05  Myles C. Maxfield  <mmaxfield@apple.com>
585
586         WSL should support the bool type
587         https://bugs.webkit.org/show_bug.cgi?id=176285
588
589         Reviewed by Filip Pizlo.
590
591         Very similar to the int and uint types. This patch also adds support for a logical negation expression "!x".
592         This patch also reverts the ability of the program author to create their own "operator!()", and instead
593         adds the ability of the program author to create their own "operator bool()". The code is generic, so
594         programmers can make two arbitrary types Foo and Bar, and implement a "operator Bar(Foo)." The logical
595         negation expression is a built-in, and requires its argument be a bool.
596
597         * WebGPUShadingLanguageRI/All.js:
598         * WebGPUShadingLanguageRI/BoolLiteral.js: Copied from Tools/WebGPUShadingLanguageRI/NativeFunc.js.
599         (BoolLiteral):
600         (BoolLiteral.prototype.get value):
601         (BoolLiteral.prototype.get isConstexpr):
602         (BoolLiteral.prototype.toString):
603         * WebGPUShadingLanguageRI/Checker.js:
604         * WebGPUShadingLanguageRI/Evaluator.js:
605         (Evaluator.prototype.visitBoolLiteral):
606         (Evaluator.prototype.visitLogicalNot):
607         * WebGPUShadingLanguageRI/Func.js:
608         (Func):
609         (Func.prototype.get isCast):
610         (Func.prototype.toDeclString):
611         * WebGPUShadingLanguageRI/FuncDef.js:
612         (FuncDef):
613         (FuncDef.prototype.get body):
614         (FuncDef.prototype.rewrite):
615         * WebGPUShadingLanguageRI/Intrinsics.js:
616         (Intrinsics):
617         * WebGPUShadingLanguageRI/Lexer.js:
618         (Lexer.prototype.next):
619         (Lexer):
620         * WebGPUShadingLanguageRI/LogicalNot.js: Copied from Tools/WebGPUShadingLanguageRI/NativeFunc.js.
621         (LogicalNot):
622         (LogicalNot.prototype.get operand):
623         (LogicalNot.prototype.toString):
624         * WebGPUShadingLanguageRI/NativeFunc.js:
625         (NativeFunc):
626         * WebGPUShadingLanguageRI/Parse.js:
627         (parseTerm):
628         (parsePossiblePrefix):
629         (parsePossibleRelationalEquality):
630         (parseFuncName):
631         (parseOperatorFuncDefValues):
632         (parseNonOperatorFuncDefValues):
633         (parseGenericFuncDefValues):
634         (parseFuncDecl):
635         (parseProtocolFuncDecl):
636         (parseFuncDef):
637         (parseNative):
638         (parse):
639         * WebGPUShadingLanguageRI/Rewriter.js:
640         (Rewriter.prototype.visitBoolLiteral):
641         (Rewriter.prototype.visitLogicalNot):
642         (Rewriter):
643         * WebGPUShadingLanguageRI/StandardLibrary.js:
644         * WebGPUShadingLanguageRI/Test.html:
645         * WebGPUShadingLanguageRI/Test.js:
646         (makeUInt):
647         (makeBool):
648         (checkUInt):
649         (checkBool):
650         (TEST_literalBool):
651         (TEST_identityBool):
652         (TEST_intSimpleMath):
653         (TEST_uintSimpleMath):
654         (TEST_equality):
655         (TEST_logicalNegation):
656         (TEST_notEquality):
657         (TEST_equalityTypeFailure):
658         (TEST_add1): Deleted.
659         * WebGPUShadingLanguageRI/TypeDefResolver.js:
660         (TypeDefResolver.prototype.visitFuncDef):
661         * WebGPUShadingLanguageRI/Visitor.js:
662         (Visitor.prototype.visitBoolLiteral):
663         (Visitor.prototype.visitLogicalNot):
664
665 2017-09-05  Matt Lewis  <jlewis3@apple.com>
666
667         Unreviewed, rolling out r221603.
668
669         This caused accessibility/mac/select-element-selection-with-
670         optgroups.html to consistently timeout on macOS
671
672         Reverted changeset:
673
674         "Fix a few minor problems found while working toward removing
675         unneeded calls to updateStyle"
676         https://bugs.webkit.org/show_bug.cgi?id=176279
677         http://trac.webkit.org/changeset/221603
678
679 2017-09-05  Youenn Fablet  <youenn@apple.com>
680
681         WebKitTestRunner should set the cache storage directory path
682         https://bugs.webkit.org/show_bug.cgi?id=176373
683
684         Reviewed by Chris Dumez.
685
686         * WebKitTestRunner/TestController.cpp:
687         (WTR::TestController::generateContextConfiguration const):
688
689 2017-09-05  Joseph Pecoraro  <pecoraro@apple.com>
690
691         test262: Completion values for control flow do not match the spec
692         https://bugs.webkit.org/show_bug.cgi?id=171265
693
694         Reviewed by Saam Barati.
695
696         * Scripts/run-jsc-stress-tests:
697         Include a :failDueToOutdatedOrBadTest to mark failures with justification.
698
699 2017-09-05  Alex Christensen  <achristensen@webkit.org>
700
701         Add WKUIDelegatePrivate equivalent of WKPageUIClient's unavailablePluginButtonClicked
702         https://bugs.webkit.org/show_bug.cgi?id=176274
703         <rdar://problem/29270035>
704
705         Reviewed by Darin Adler.
706
707         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
708         (-[PluginDelegate _webView:unavailablePluginButtonClickedWithReason:pluginInfo:]):
709         (TEST):
710
711 2017-09-05  Carlos Garcia Campos  <cgarcia@igalia.com>
712
713         [GTK] Wrong use of PLUGIN_ARCHITECTURE(X11) in several places
714         https://bugs.webkit.org/show_bug.cgi?id=176329
715
716         Reviewed by Michael Catanzaro.
717
718         * CMakeLists.txt: Build TestNetscapePlugIn when NETSCAPE_PLUGIN_API is enabled and only link to X11 libraries
719         when building the X11 target.
720         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
721         * DumpRenderTree/TestNetscapePlugIn/Tests/unix/CallInvalidateRectWithNullNPPArgument.cpp: Renamed from Tools/DumpRenderTree/TestNetscapePlugIn/Tests/x11/CallInvalidateRectWithNullNPPArgument.cpp.
722         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
723         (NP_Initialize):
724         (NPP_HandleEvent):
725         (NPP_GetValue):
726
727 2017-09-04  Eric Carlson  <eric.carlson@apple.com>
728
729         Switch HTMLMediaElement to release logging
730         https://bugs.webkit.org/show_bug.cgi?id=176065
731
732         Reviewed by Jer Noble.
733
734         * TestWebKitAPI/Tests/WebCore/Logging.cpp:
735         (TestWebKitAPI::LogObserver::level const):
736
737 2017-09-03  Darin Adler  <darin@apple.com>
738
739         Fix a few minor problems found while working toward removing unneeded calls to updateStyle
740         https://bugs.webkit.org/show_bug.cgi?id=176279
741
742         Reviewed by Antti Koivisto.
743
744         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
745         (WTR::AccessibilityUIElement::setSelectedChild const): Handle null here. The old code instead
746         would trigger an Objective-C exception unnecessarily.
747
748 2017-09-04  Wenson Hsieh  <wenson_hsieh@apple.com>
749
750         [iOS DnD] Refactor drag and drop logic in WKContentView in preparation for supporting multiple drag items in a drag session
751         https://bugs.webkit.org/show_bug.cgi?id=176264
752         <rdar://problem/31144674>
753
754         Reviewed by Darin Adler.
755
756         Adds two new iOS drag and drop tests to check that the clientX and clientY attributes of mouse events propagated
757         to the page during drop are correct. Each test drags from an image element and drops into three custom-drop-
758         handling elements; `dragenter`, `dragover`, and `drop` event listeners on the body then use the clientX and
759         clientY event attributes to hit-test for drop target elements. The first test is suffixed with "-Basic"; the
760         second test, suffixed with "-WithScrollOffset", makes the document scrollable to check that clientY is correct
761         when scrolled.
762
763         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
764         * TestWebKitAPI/Tests/WebKitCocoa/drop-targets.html: Added.
765         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
766         (TestWebKitAPI::testDragAndDropOntoTargetElements):
767         (TestWebKitAPI::TEST):
768         * TestWebKitAPI/cocoa/TestWKWebView.mm:
769         (-[TestWKWebView stringByEvaluatingJavaScript:]):
770
771         Log a warning message when an API test fails due to JavaScript evaluation in TestWKWebView.
772
773 2017-09-03  Filip Pizlo  <fpizlo@apple.com>
774
775         WSL IntLiteral should have variable type so that it can unify with things like uint
776         https://bugs.webkit.org/show_bug.cgi?id=176209
777
778         Reviewed by Mylex Maxfield.
779         
780         This introduces IntLiteralType, which can unify with any number type that can represent the
781         int literal.
782         
783         This means that all of the following are legal:
784         
785             double x = 0; // 0 unifies with double
786             double y = x + 5; // should resolve to double+double
787             double z = array[0]; // 0 unifies with uint
788         
789         We can do similar things with float literals, so that you don't have to suffix "f" all the
790         time.
791         
792         I think that this is very different from what C does. C just supports implicit type
793         conversions. That's why "double x = 0" works in C. We don't do type conversions. Instead, we
794         let each literal unify itself with one type.
795         
796         Also updated Test.html so that it runs again and is better at printing things.
797
798         * WebGPUShadingLanguageRI/All.js:
799         * WebGPUShadingLanguageRI/Checker.js:
800         * WebGPUShadingLanguageRI/IntLiteral.js:
801         (IntLiteral):
802         (IntLiteral.prototype.toString):
803         * WebGPUShadingLanguageRI/IntLiteralType.js: Added.
804         (IntLiteralType):
805         (IntLiteralType.prototype.get origin):
806         (IntLiteralType.prototype.get value):
807         (IntLiteralType.prototype.get isPrimitive):
808         (IntLiteralType.prototype.get isUnifiable):
809         (IntLiteralType.prototype.typeVariableUnify):
810         (IntLiteralType.prototype.unifyImpl):
811         (IntLiteralType.prototype.verifyAsArgument):
812         (IntLiteralType.prototype.verifyAsParameter):
813         (IntLiteralType.prototype.commitUnification):
814         (IntLiteralType.prototype.toString):
815         * WebGPUShadingLanguageRI/Intrinsics.js:
816         (Intrinsics.):
817         (Intrinsics):
818         * WebGPUShadingLanguageRI/LiteralTypeChecker.js:
819         (LiteralTypeChecker.prototype.visitIntLiteralType):
820         (LiteralTypeChecker):
821         * WebGPUShadingLanguageRI/NativeType.js:
822         (NativeType):
823         (NativeType.prototype.get isNumber):
824         (NativeType.prototype.set isNumber):
825         (NativeType.prototype.get isInt):
826         (NativeType.prototype.set isInt):
827         (NativeType.prototype.get isFloat):
828         (NativeType.prototype.set isFloat):
829         * WebGPUShadingLanguageRI/Prepare.js:
830         (prepare):
831         * WebGPUShadingLanguageRI/Rewriter.js:
832         (Rewriter.prototype.visitIntLiteral):
833         (Rewriter.prototype.visitIntLiteralType):
834         * WebGPUShadingLanguageRI/StandardLibrary.js:
835         * WebGPUShadingLanguageRI/Test.html:
836         * WebGPUShadingLanguageRI/Test.js:
837         (this.window.this.print):
838         (doPrep):
839         (doLex):
840         (checkNumber):
841         (checkInt):
842         (TEST_nameResolutionFailure):
843         (TEST_threadArrayLoadIntLiteral):
844         (TEST_deviceArrayStoreIntLiteral):
845         (TEST_returnIntLiteralDouble):
846         * WebGPUShadingLanguageRI/Type.js:
847         (Type.prototype.get isNumber):
848         (Type.prototype.get isInt):
849         (Type.prototype.get isFloat):
850         * WebGPUShadingLanguageRI/Visitor.js:
851         (Visitor.prototype.visitIntLiteral):
852         (Visitor.prototype.visitIntLiteralType):
853
854 2017-09-03  Filip Pizlo  <fpizlo@apple.com>
855
856         Add more tests for null behavior in WSL
857         https://bugs.webkit.org/show_bug.cgi?id=176318
858
859         Reviewed by Myles Maxfield.
860         
861         This adds more tests for the unification behavior of null. In the process, I found a couple
862         small bugs and fixed them.
863
864         * WebGPUShadingLanguageRI/Checker.js:
865         * WebGPUShadingLanguageRI/FuncInstantiator.js:
866         (FuncInstantiator.prototype.getUnique.InstantiationSubstitution.prototype.visitCallExpression):
867         (FuncInstantiator.prototype.getUnique.InstantiationSubstitution):
868         * WebGPUShadingLanguageRI/Substitution.js:
869         (Substitution.prototype.visitTypeRef):
870         * WebGPUShadingLanguageRI/Test.js:
871         (TEST_passNullAndNotNullFullPoly):
872         (TEST_passNullAndNotNullFullPolyReverse):
873         (TEST_nullTypeVariableUnify.recurse):
874         (TEST_nullTypeVariableUnify.everyOrder):
875         (TEST_nullTypeVariableUnify.everyPair):
876         (TEST_nullTypeVariableUnify):
877         * WebGPUShadingLanguageRI/TypeRef.js:
878         (TypeRef.wrap):
879         * WebGPUShadingLanguageRI/TypeVariable.js:
880         (TypeVariable.prototype.verifyAsArgument):
881
882 2017-09-04  Commit Queue  <commit-queue@webkit.org>
883
884         Unreviewed, rolling out r221494 and r221500.
885         https://bugs.webkit.org/show_bug.cgi?id=176258
886
887         This caused the windows build to fail. (Requested by mlewis13
888         on #webkit).
889
890         Reverted changesets:
891
892         "Switch HTMLMediaElement to release logging"
893         https://bugs.webkit.org/show_bug.cgi?id=176065
894         http://trac.webkit.org/changeset/221494
895
896         "Switch HTMLMediaElement to release logging"
897         https://bugs.webkit.org/show_bug.cgi?id=176065
898         http://trac.webkit.org/changeset/221500
899
900 2017-09-03  Darin Adler  <darin@apple.com>
901
902         REGRESSION (r220052): [Sierra] API test VideoControlsManager.VideoControlsManagerFullSizeVideoInWideMainFrame is a flaky failure
903         https://bugs.webkit.org/show_bug.cgi?id=175329
904
905         Reviewed by Wenson Hsieh.
906
907         These tests rely on using setTimeout to wait a run loop iteration for the
908         video controls to appear. With changes to how loading occurs, it can now
909         take two run loop iterations. The concept here is inherently a bit flaky
910         and racy -- end users will not be able to tell how many run loop cycles it
911         takes for controls to come up, and websites can't tell either -- but for now
912         changing the tests to wait one more run loop should get rid of the flakiness.
913
914         * TestWebKitAPI/Tests/WebKitCocoa/VideoControlsManager.mm: Re-enable test.
915
916         * TestWebKitAPI/Tests/WebKitCocoa/full-size-autoplaying-video-with-audio.html: Add a
917         second setTimeout and a comment.
918         * TestWebKitAPI/Tests/WebKitCocoa/skinny-autoplaying-video-with-audio.html: Ditto.
919         * TestWebKitAPI/Tests/WebKitCocoa/wide-autoplaying-video-with-audio.html: Ditto.
920
921 2017-09-03  Sam Weinig  <sam@webkit.org>
922
923         Make webkit-patch post --no-review enable EWS just like webkit-patch post-commits --no-review
924         https://bugs.webkit.org/show_bug.cgi?id=176321
925
926         Reviewed by Darin Adler.
927
928         * Scripts/webkitpy/tool/commands/upload.py:
929         Add the SubmitToEWS step to Post command
930
931 2017-09-03  Chris Dumez  <cdumez@apple.com>
932
933         Have getFileMetadata() return a std::optional<FileMetadata>
934         https://bugs.webkit.org/show_bug.cgi?id=176293
935
936         Reviewed by Darin Adler.
937
938         * TestWebKitAPI/Tests/WebCore/FileSystem.cpp:
939         (TestWebKitAPI::TEST_F):
940
941 2017-09-02  Filip Pizlo  <fpizlo@apple.com>
942
943         WSL should support structs
944         https://bugs.webkit.org/show_bug.cgi?id=176290
945
946         Reviewed by Mylex Maxfield.
947         
948         This adds parsing of struct types and makes them work.
949         
950         This required adding a struct layout phase, which in turn required being a bit more careful
951         about how we instantiate functions and types. We cannot have any instantiation TypeRefs left
952         once we're doing struct layout.
953
954         * WebGPUShadingLanguageRI/All.js:
955         * WebGPUShadingLanguageRI/CallFunction.js:
956         (callFunction):
957         * WebGPUShadingLanguageRI/Checker.js:
958         (Checker.prototype.visitProtocolDecl.set throw):
959         * WebGPUShadingLanguageRI/DotExpression.js: Added.
960         (DotExpression):
961         (DotExpression.prototype.get struct):
962         (DotExpression.prototype.get fieldName):
963         (DotExpression.prototype.get isLValue):
964         (DotExpression.prototype.toString):
965         * WebGPUShadingLanguageRI/EBufferBuilder.js:
966         (EBufferBuilder.prototype._createEPtr):
967         * WebGPUShadingLanguageRI/EPtr.js:
968         (EPtr.prototype.copyFrom): Deleted.
969         (EPtr.prototype.toString): Deleted.
970         * WebGPUShadingLanguageRI/Evaluator.js:
971         (Evaluator.prototype.visitAssignment):
972         (Evaluator.prototype.visitDotExpression):
973         * WebGPUShadingLanguageRI/Field.js:
974         (Field):
975         * WebGPUShadingLanguageRI/FuncDef.js:
976         (FuncDef.prototype.rewrite):
977         * WebGPUShadingLanguageRI/FuncInstantiator.js:
978         (FuncInstantiator.prototype.getUnique):
979         (FuncInstantiator):
980         * WebGPUShadingLanguageRI/Inline.js:
981         (inline):
982         (_inlineFunction):
983         (resolveInlinedFunction):
984         * WebGPUShadingLanguageRI/Inliner.js:
985         (Inliner.prototype.visitDotExpression):
986         * WebGPUShadingLanguageRI/InstantiateImmediates.js:
987         (InstantiateImmediates.prototype.visitTypeRef):
988         (InstantiateImmediates.prototype.visitVariableDecl):
989         (InstantiateImmediates):
990         * WebGPUShadingLanguageRI/NameResolver.js:
991         (NameResolver.prototype._resolveTypeArguments):
992         (NameResolver.prototype.visitTypeRef):
993         * WebGPUShadingLanguageRI/Node.js:
994         (Node.prototype.visit):
995         * WebGPUShadingLanguageRI/OverloadResolutionFailure.js: Added.
996         (OverloadResolutionFailure):
997         (OverloadResolutionFailure.prototype.get func):
998         (OverloadResolutionFailure.prototype.get reason):
999         (OverloadResolutionFailure.prototype.toString):
1000         * WebGPUShadingLanguageRI/Parse.js:
1001         (parsePossibleSuffix):
1002         (parseField):
1003         (parseStructType):
1004         (parse):
1005         * WebGPUShadingLanguageRI/ResolveOverloadImpl.js:
1006         (resolveOverloadImpl):
1007         * WebGPUShadingLanguageRI/Rewriter.js:
1008         (Rewriter.prototype.visitDotExpression):
1009         (Rewriter.prototype.visitVariableRef):
1010         * WebGPUShadingLanguageRI/StructLayoutBuilder.js: Added.
1011         (StructLayoutBuilder):
1012         (StructLayoutBuilder.prototype.visitStructType):
1013         (StructLayoutBuilder.prototype.get offset):
1014         (StructLayoutBuilder.prototype.visitField):
1015         (StructLayoutBuilder.prototype.visitVariableRef):
1016         (StructLayoutBuilder.prototype.visitVariableDecl):
1017         * WebGPUShadingLanguageRI/StructType.js:
1018         (StructType.prototype.add):
1019         (StructType.prototype.instantiate):
1020         (StructType.prototype.populateDefaultValue):
1021         * WebGPUShadingLanguageRI/Substitution.js:
1022         (Substitution.prototype.visitTypeRef):
1023         (Substitution.prototype.visitVariableRef):
1024         (Substitution):
1025         * WebGPUShadingLanguageRI/Test.js:
1026         (TEST_genericStructInstance):
1027         * WebGPUShadingLanguageRI/Type.js:
1028         (Type.prototype.inherits):
1029         * WebGPUShadingLanguageRI/TypeRef.js:
1030         (TypeRef.instantiate):
1031         * WebGPUShadingLanguageRI/VariableRef.js:
1032         (VariableRef.wrap):
1033         * WebGPUShadingLanguageRI/Visitor.js:
1034         (Visitor.prototype.visitTypeRef):
1035         (Visitor.prototype.visitDotExpression):
1036         (Visitor.prototype.visitVariableRef):
1037
1038 2017-09-02  Filip Pizlo  <fpizlo@apple.com>
1039
1040         WSL NullType should be a special type variable so it can unify with any pointer type
1041         https://bugs.webkit.org/show_bug.cgi?id=176235
1042
1043         Reviewed by Myles Maxfield.
1044         
1045         Null is just a type variable that plays by weird rules:
1046         
1047         - Other type variables don't recognize it, so if it's unified with T, it fails.
1048         - It behaves like a type variable for pointer and array reference types.
1049         - It arises only in argument (RHS) position.
1050         - Once Checker finds it to be equals to something, we need to remember what that was.
1051         
1052         I refactored some of the type system code to allow for the possibility of type variables being
1053         unified during equals() tests. It turns out that we were playing fast and loose here; I needed
1054         to beef up UnificationContext.prototype.verify. I added tests for this.
1055         
1056         I added an equalsWithCommit() that triggers commitUnification(), which allows NullType to
1057         remember what type it got unified with.
1058         
1059         NullLiteral then just instantiates its own NullType, which is what Checker uses as the type of
1060         the NullLiteral. Everything else just works.
1061         
1062         This adds a bunch of tests to make sure we generate type errors in various weird cases while
1063         also accepting a number of safe cases.
1064         
1065         I also added a way to run the tests in-browser.
1066
1067         * WebGPUShadingLanguageRI/All.js:
1068         * WebGPUShadingLanguageRI/ArrayRefType.js:
1069         (ArrayRefType.prototype.get isArrayRef):
1070         * WebGPUShadingLanguageRI/Checker.js:
1071         (Checker.prototype.visitProtocolDecl.set throw):
1072         * WebGPUShadingLanguageRI/ConstexprTypeParameter.js:
1073         (ConstexprTypeParameter.prototype.typeVariableUnify):
1074         * WebGPUShadingLanguageRI/Evaluator.js:
1075         (Evaluator.prototype.visitDereferenceExpression):
1076         (Evaluator.prototype.visitNullLiteral):
1077         * WebGPUShadingLanguageRI/Func.js:
1078         (Func.prototype.toString):
1079         (Func):
1080         * WebGPUShadingLanguageRI/Intrinsics.js:
1081         (Intrinsics):
1082         * WebGPUShadingLanguageRI/NativeFunc.js:
1083         (NativeFunc.prototype.toDeclString):
1084         (NativeFunc):
1085         (NativeFunc.prototype.toString): Deleted.
1086         * WebGPUShadingLanguageRI/NativeFuncInstance.js:
1087         (NativeFuncInstance.prototype.toDeclString):
1088         (NativeFuncInstance):
1089         (NativeFuncInstance.prototype.toString): Deleted.
1090         * WebGPUShadingLanguageRI/Node.js:
1091         (Node.unify):
1092         (Node.prototype._typeVariableUnifyImpl):
1093         (Node.prototype.equals):
1094         * WebGPUShadingLanguageRI/NullLiteral.js: Added.
1095         (NullLiteral):
1096         (NullLiteral.prototype.toString):
1097         * WebGPUShadingLanguageRI/NullType.js:
1098         (NullType):
1099         (NullType.prototype.get isPrimitive):
1100         (NullType.prototype.get isUnifiable):
1101         (NullType.prototype.typeVariableUnify):
1102         (NullType.prototype.unifyImpl):
1103         (NullType.prototype.verifyAsArgument):
1104         (NullType.prototype.verifyAsParameter):
1105         (NullType.prototype.toString):
1106         * WebGPUShadingLanguageRI/Parse.js:
1107         (parseTerm):
1108         (parseType.getAddressSpace):
1109         (parseType):
1110         * WebGPUShadingLanguageRI/Rewriter.js:
1111         (Rewriter.prototype.visitNullLiteral):
1112         * WebGPUShadingLanguageRI/Test.html: Added.
1113         * WebGPUShadingLanguageRI/Test.js:
1114         (this.window.this.print):
1115         (TEST_doubleGenericCallsSingleGeneric):
1116         (TEST_dereferenceDefaultNull):
1117         (TEST_dereferenceDefaultNullArrayRef):
1118         (doTest):
1119         (let.s.in.this.s.startsWith.string_appeared_here.s.match): Deleted.
1120         * WebGPUShadingLanguageRI/Type.js:
1121         (Type.prototype.get isArrayRef):
1122         * WebGPUShadingLanguageRI/TypeVariable.js:
1123         (TypeVariable.prototype.typeVariableUnify):
1124         * WebGPUShadingLanguageRI/UnificationContext.js:
1125         (UnificationContext.prototype.verify):
1126         (UnificationContext):
1127         (UnificationContext.prototype.isUnunified): Deleted.
1128         * WebGPUShadingLanguageRI/VariableRef.js:
1129         (VariableRef.prototype.get unifyNode):
1130         * WebGPUShadingLanguageRI/Visitor.js:
1131         (Visitor.prototype.visitNullLiteral):
1132
1133 2017-09-03  Sam Weinig  <sam@webkit.org>
1134
1135         Remove CanvasProxy
1136         https://bugs.webkit.org/show_bug.cgi?id=176288
1137
1138         Reviewed by Yusuke Suzuki.
1139
1140         CanvasProxy does not appear to be in any current HTML spec
1141         and was disabled and unimplemented in our tree. Time to 
1142         get rid of it.
1143
1144         * Scripts/webkitperl/FeatureList.pm:
1145         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1146
1147 2017-09-01  Filip Pizlo  <fpizlo@apple.com>
1148
1149         WSL should check unreachable code and no returns
1150         https://bugs.webkit.org/show_bug.cgi?id=176262
1151
1152         Reviewed by Myles Maxfield.
1153         
1154         This adds phases to check whether non-void functions return and whether there is any code after
1155         a return in any block. Added tests for simple versions of both of those things. We cannot add
1156         more complex versions until we support control flow statements.
1157
1158         * WebGPUShadingLanguageRI/All.js:
1159         * WebGPUShadingLanguageRI/CheckReturns.js: Added.
1160         (checkReturns):
1161         * WebGPUShadingLanguageRI/CheckUnreachableCode.js: Added.
1162         (checkUnreachableCode):
1163         * WebGPUShadingLanguageRI/Parse.js:
1164         (parseReturn):
1165         * WebGPUShadingLanguageRI/Prepare.js:
1166         (prepare):
1167         * WebGPUShadingLanguageRI/ReturnChecker.js: Added.
1168         (ReturnChecker.prototype.visitFuncDef):
1169         (ReturnChecker.prototype.visitBlock):
1170         (ReturnChecker.prototype.visitReturn):
1171         (ReturnChecker):
1172         * WebGPUShadingLanguageRI/Test.js:
1173         (TEST_simpleNoReturn):
1174         * WebGPUShadingLanguageRI/UnreachableCodeChecker.js: Added.
1175         (UnreachableCodeChecker.prototype.visitBlock):
1176         (UnreachableCodeChecker):
1177
1178 2017-09-01  Filip Pizlo  <fpizlo@apple.com>
1179
1180         WSL should use & for getting a ^ and @ for getting a []
1181         https://bugs.webkit.org/show_bug.cgi?id=176245
1182
1183         Reviewed by Myles Maxfield.
1184         
1185         Using \ as an operator was a bad decision since that's an escape character in so many contexts.
1186         
1187         Henceforth, & is for making pointers, for example:
1188         
1189         thread int^ foo() { int x; return &x; }
1190         
1191         And @ is for making array references, for example:
1192         
1193         thread int[] foo() { int[42] x; return @x; }
1194         
1195         Having separate operators makes it easy to have pointers to fixed-size arrays:
1196         
1197         thread int[42]^ foo() { int[42] x; return &x; }
1198
1199         * WebGPUShadingLanguageRI/Intrinsics.js:
1200         (Intrinsics):
1201         * WebGPUShadingLanguageRI/Lexer.js:
1202         (Lexer.prototype.next):
1203         (Lexer):
1204         * WebGPUShadingLanguageRI/MakePtrExpression.js:
1205         (MakePtrExpression.prototype.toString):
1206         (MakePtrExpression):
1207         * WebGPUShadingLanguageRI/Parse.js:
1208         (parsePossibleSuffix):
1209         (parsePossiblePrefix):
1210         (parseFuncName):
1211         * WebGPUShadingLanguageRI/StandardLibrary.js:
1212         * WebGPUShadingLanguageRI/Test.js:
1213         (TEST_simpleMakePtr):
1214
1215 2017-09-01  Myles C. Maxfield  <mmaxfield@apple.com>
1216
1217         WSL's lexer will never emit keyword tokens
1218         https://bugs.webkit.org/show_bug.cgi?id=176248
1219
1220         Reviewed by Filip Pizlo.
1221
1222         Because all tokens are also identified as idents, we need to handle them together.
1223
1224         * WebGPUShadingLanguageRI/Lexer.js:
1225         (Lexer.prototype.next):
1226         (Lexer):
1227         * WebGPUShadingLanguageRI/Test.js:
1228         (doLex):
1229         (checkLexerToken):
1230         (TEST_lexerKeyword):
1231
1232 2017-09-01  Alex Christensen  <achristensen@webkit.org>
1233
1234         Rename WebKit2 API tests after directory rename
1235         https://bugs.webkit.org/show_bug.cgi?id=176250
1236
1237         Reviewed by Tim Horton.
1238
1239         * TestWebKitAPI/Tests/Lots of files...
1240         Renamed WebKit2 to WebKit and WebKit1 to WebKitLegacy.
1241
1242 2017-09-01  Alex Christensen  <achristensen@webkit.org>
1243
1244         Add WKUIDelegatePrivate equivalent of WKPageUIClient's toolbarsAreVisible
1245         https://bugs.webkit.org/show_bug.cgi?id=176246
1246         <rdar://problem/29270035>
1247
1248         Reviewed by Tim Horton.
1249
1250         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
1251         (-[ToolbarDelegate _webView:getToolbarsAreVisibleWithCompletionHandler:]):
1252         (-[ToolbarDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
1253         (TEST):
1254
1255 2017-09-01  Eric Carlson  <eric.carlson@apple.com>
1256
1257         Switch HTMLMediaElement to release logging
1258         https://bugs.webkit.org/show_bug.cgi?id=176065
1259
1260         Unreviewed build fix.
1261
1262         * TestWebKitAPI/Tests/WebCore/Logging.cpp:
1263
1264 2017-09-01  Filip Pizlo  <fpizlo@apple.com>
1265
1266         WSL should have more tests of type checking failures
1267         https://bugs.webkit.org/show_bug.cgi?id=176244
1268
1269         Reviewed by Myles Maxfield.
1270
1271         * WebGPUShadingLanguageRI/Checker.js:
1272         (Checker.prototype.visitProtocolDecl.set throw):
1273         * WebGPUShadingLanguageRI/Test.js:
1274         (TEST_typeMismatchReturn):
1275
1276 2017-09-01  Filip Pizlo  <fpizlo@apple.com>
1277
1278         WSL should be be able to call a function declared in a protocol from a generic function
1279         https://bugs.webkit.org/show_bug.cgi?id=176242
1280
1281         Reviewed by Myles Maxfield.
1282         
1283         It turns out that we need to know when a function is resolved to a protocol signature, so we
1284         need to have a type for this. This introduces ProtocolFuncDecl.
1285         
1286         Also, this introduces parsing of protocol decls.
1287         
1288         When instantiating a function, we need to rewrite its CallExpressions if they were previously
1289         resolved to a PrtococolFuncDecl instead of a FuncDef or NativeFunc. In that case, we need to
1290         rerun the resolution on the program. That resolution is guaranteed to succeed if the type
1291         system works correctly.
1292
1293         * WebGPUShadingLanguageRI/All.js:
1294         * WebGPUShadingLanguageRI/CallExpression.js:
1295         (CallExpression.prototype.resolve):
1296         * WebGPUShadingLanguageRI/Checker.js:
1297         (Checker.prototype.visitProtocolDecl.set throw):
1298         * WebGPUShadingLanguageRI/EBufferBuilder.js:
1299         (EBufferBuilder.prototype._createEPtr):
1300         * WebGPUShadingLanguageRI/Func.js:
1301         (Func):
1302         (Func.prototype.get origin):
1303         * WebGPUShadingLanguageRI/FuncDef.js:
1304         (FuncDef):
1305         (FuncDef.prototype.get origin): Deleted.
1306         * WebGPUShadingLanguageRI/FuncInstantiator.js:
1307         (FuncInstantiator):
1308         (FuncInstantiator.prototype.getUnique.InstantiationSubstitution.prototype.visitCallExpression):
1309         (FuncInstantiator.prototype.getUnique.InstantiationSubstitution):
1310         * WebGPUShadingLanguageRI/NativeFunc.js:
1311         (NativeFunc):
1312         (NativeFunc.prototype.get origin): Deleted.
1313         * WebGPUShadingLanguageRI/NativeFuncInstance.js:
1314         (NativeFuncInstance):
1315         * WebGPUShadingLanguageRI/Node.js:
1316         (Node.prototype.substitute):
1317         * WebGPUShadingLanguageRI/Parse.js:
1318         (parseProtocolFuncDecl):
1319         (parseProtocolDecl):
1320         (parse):
1321         * WebGPUShadingLanguageRI/Program.js:
1322         (Program):
1323         (Program.prototype.get protocols):
1324         (Program.prototype.add):
1325         * WebGPUShadingLanguageRI/ProtocolDecl.js:
1326         (ProtocolDecl.prototype.add):
1327         (ProtocolDecl.prototype.hasHeir):
1328         (ProtocolDecl.prototype.addSignature): Deleted.
1329         * WebGPUShadingLanguageRI/ProtocolFuncDecl.js: Added.
1330         (ProtocolFuncDecl):
1331         * WebGPUShadingLanguageRI/Rewriter.js:
1332         (Rewriter.prototype.visitStructType):
1333         (Rewriter.prototype.visitTypeVariable):
1334         (Rewriter.prototype.visitProtocolFuncDecl):
1335         (Rewriter.prototype.visitCallExpression):
1336         * WebGPUShadingLanguageRI/StructType.js:
1337         (StructType.prototype.instantiate):
1338         * WebGPUShadingLanguageRI/Substitution.js:
1339         (Substitution):
1340         (Substitution.mapping): Deleted.
1341         * WebGPUShadingLanguageRI/Test.js:
1342         (TEST_simpleGeneric):
1343         (TEST_simpleAssignment):
1344         (TEST_simpleDefault):
1345         (TEST_simpleDereference):
1346         (TEST_dereferenceStore):
1347         (TEST_simpleMakePtr):
1348         (TEST_threadArrayLoad):
1349         (TEST_deviceArrayLoad):
1350         (TEST_threadArrayStore):
1351         (TEST_deviceArrayStore):
1352         (TEST_simpleProtocol):
1353         * WebGPUShadingLanguageRI/Visitor.js:
1354         (Visitor.prototype.visitProtocolFuncDecl):
1355
1356 2017-09-01  Eric Carlson  <eric.carlson@apple.com>
1357
1358         Switch HTMLMediaElement to release logging
1359         https://bugs.webkit.org/show_bug.cgi?id=176065
1360
1361         Reviewed by Jer Noble.
1362
1363         * TestWebKitAPI/Tests/WebCore/Logging.cpp:
1364         (TestWebKitAPI::LogObserver::level const):
1365
1366 2017-09-01  Ross Kirsling  <ross.kirsling@sony.com>
1367
1368         download-latest-github-release.py should have friendlier output for non-404 errors
1369         https://bugs.webkit.org/show_bug.cgi?id=176201
1370
1371         Reviewed by Brent Fulgham.
1372
1373         * Scripts/download-latest-github-release.py:
1374
1375 2017-09-01  Filip Pizlo  <fpizlo@apple.com>
1376
1377         [WSL] Add tests for storing to arrays
1378         https://bugs.webkit.org/show_bug.cgi?id=176237
1379
1380         Reviewed by Myles Maxfield.
1381         
1382         Storing to arrays works now.
1383
1384         * WebGPUShadingLanguageRI/ArrayType.js:
1385         (ArrayType):
1386         * WebGPUShadingLanguageRI/Test.js:
1387         (TEST_threadArrayStore):
1388         (TEST_deviceArrayStore):
1389
1390 2017-09-01  Alex Christensen  <achristensen@webkit.org>
1391
1392         Replace WKUIDelegatePrivate's isPlayingMediaDidChange with KVO _isPlayingAudio on WKWebView
1393         https://bugs.webkit.org/show_bug.cgi?id=176212
1394
1395         Reviewed by Tim Horton.
1396
1397         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
1398         (-[AudioObserver observeValueForKeyPath:ofObject:change:context:]):
1399         (TEST):
1400         (-[MediaDelegate _webView:isPlayingMediaDidChange:]): Deleted.
1401
1402 2017-09-01  Filip Pizlo  <fpizlo@apple.com>
1403
1404         WSL Rewriter should be an identity on things that aren't inside function bodies
1405         https://bugs.webkit.org/show_bug.cgi?id=176208
1406
1407         Reviewed by Myles Maxfield.
1408         
1409         Previously, if the Rewriter encountered a FunctionDef, StructType, NativeType, etc., then it
1410         would either crash or try to rewrite them. That's unfortunate because we use the Rewriter to
1411         rewrite struct and function bodies. If a function calls another function, then rewriting the
1412         caller should not mean also rewriting the callee. Previously we "fixed" this by religiously
1413         wrapping references to types with TypeDef and doing other such hacks. But that's subtly wrong.
1414         It only worked because Rewriter wasn't rewriting TypeRef.type. I think that Rewriter has to
1415         rewrite that in the long run because it may refer to another TypeRef, and it may be an
1416         instantiation that is using types that themselves need to be rewritten.
1417
1418         * WebGPUShadingLanguageRI/Checker.js:
1419         (Checker.prototype.visitProtocolDecl.set throw):
1420         * WebGPUShadingLanguageRI/NullType.js:
1421         (NullType):
1422         * WebGPUShadingLanguageRI/Rewriter.js:
1423         (Rewriter.prototype.visitFuncDef):
1424         (Rewriter.prototype.visitNativeFunc):
1425         (Rewriter.prototype.visitNativeFuncInstance):
1426         (Rewriter.prototype.visitNativeType):
1427         (Rewriter.prototype.visitTypeDef):
1428         (Rewriter.prototype.visitStructType):
1429         (Rewriter.prototype.visitTypeVariable):
1430         (Rewriter.prototype.visitConstexprTypeParameter):
1431         (Rewriter.prototype.visitNativeTypeInstance):
1432         (Rewriter.prototype.visitTypeRef):
1433         * WebGPUShadingLanguageRI/Visitor.js:
1434         (Visitor.prototype.visitNativeTypeInstance):
1435
1436 2017-09-01  Alex Christensen  <achristensen@webkit.org>
1437
1438         Disable ObjC WebGL policy SPI on iOS
1439         https://bugs.webkit.org/show_bug.cgi?id=176233
1440
1441         Reviewed by Tim Horton.
1442
1443         * TestWebKitAPI/Tests/WebKitCocoa/WebGLPolicy.mm:
1444
1445 2017-08-31  Carlos Garcia Campos  <cgarcia@igalia.com>
1446
1447         [GTK] Improve the way unit test are run and the results reported
1448         https://bugs.webkit.org/show_bug.cgi?id=176104
1449
1450         Reviewed by Carlos Alberto Lopez Perez.
1451
1452         There are several issues with the way unit tests are run by run-gtk-tests and also with the way results are
1453         reported:
1454
1455          - The results summary only mentions the test binaries, not the actual test cases, so you always have to scroll
1456            up to find the actual test cases failing.
1457          - The number of reported failures is the number of test binaries that failed, so if a new test case fails for
1458            the same binary in a new revision, we won't notice it just looking at the number of failures.
1459          - We show detailed information about skipped test in the results summary, which is just noise.
1460          - In the case of glib tests, when a test case times out, we finish the test suite, instead of continuing with the
1461            rest of the test cases like we do for normal failures or crashes. If a new test case fails after a test case that
1462            timed out we will not notice it until we fix or skip the test cases timing out.
1463          - In the case of glib tests, the timeout is applied to the whole suite, instead of per test case, we have a hack
1464            to make it longer only for that. It has worked so far, but it doesn't scale, and it's an ugly hack.
1465          - It's not currently possible to detect flaky tests, because again, we know the binaries/suites that failed but
1466            not the actual test cases.
1467
1468         This patch fixes all these issues and makes it possible to add support for flaky tests in a follow up patch.
1469
1470         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1471         (RunGtkAPITests.commandComplete): Update the RunGtkAPITests step to parse the new output.
1472         * Scripts/run-gtk-tests:
1473         (TestRunner._start_timeout): Helper to start the timeout if needed.
1474         (TestRunner._start_timeout._alarm_handler): Raise timeout exception.
1475         (TestRunner._stop_timeout): Helper to stop the timeout if needed.
1476         (TestRunner._waitpid): Merged waitpid and return_code_from_exit_status.
1477         (TestRunner._run_test_glib): Do not double the timeout anymore, we now start/stop the timeout for every test
1478         case. Return a dictionary where keys are test cases and values the results only in case of failures.
1479         (TestRunner._run_test_glib.parse_line): Update the parser to also detect test cases and the results.
1480         (TestRunner._run_test_glib.parse_line.set_test_result): Helper to set the result of a test case.
1481         (TestRunner._run_google_test): Return a dictionary where key is the test case and value is the result only in
1482         case of failure.
1483         (TestRunner._run_google_test_suite): Updated now that _run_google_test returns a dictionary.
1484         (TestRunner.run_tests): Handle the results dictionary and show the results with information about test cases
1485         failing and grouped by test binaries.
1486
1487 2017-08-31  Filip Pizlo  <fpizlo@apple.com>
1488
1489         WSL should support loading from arrays
1490         https://bugs.webkit.org/show_bug.cgi?id=176207
1491
1492         Reviewed by Saam Barati.
1493         
1494         Getting a test that loads from arrays to work required doing a lot of things:
1495         
1496         - a[i] now parses to ^(operator\[](a, i)).
1497         - added operator\[] for four array reference types.
1498         - to make thread|threadgroup|device T[] work, you need T:primitive.
1499         - so this adds the magical primitive protocol.
1500         
1501         This required a little bit of rejuggling in the name resolver and type checker. The main thing
1502         is that to prevent the rewriter from copying the types referenced by some function, you need to
1503         make sure that when you add a reference to a type, you wrap it in a TypeRef. This doesn't
1504         completely feel right, but I'm sure we'll figure out the balance eventually. See bug 176208.
1505
1506         * WebGPUShadingLanguageRI/All.js:
1507         * WebGPUShadingLanguageRI/Checker.js:
1508         (Checker.prototype.visitProtocolDecl.set throw):
1509         * WebGPUShadingLanguageRI/EArrayRef.js: Added.
1510         (EArrayRef):
1511         (EArrayRef.prototype.get ptr):
1512         (EArrayRef.prototype.get length):
1513         (EArrayRef.prototype.toString):
1514         * WebGPUShadingLanguageRI/EPtr.js:
1515         (EPtr.prototype.plus):
1516         (EPtr.prototype.toString):
1517         (EPtr):
1518         * WebGPUShadingLanguageRI/Evaluator.js:
1519         (Evaluator.prototype.visitUintLiteral):
1520         * WebGPUShadingLanguageRI/FuncInstantiator.js:
1521         (FuncInstantiator.prototype.getUnique.Instantiate.prototype.visitNativeFunc):
1522         (FuncInstantiator.prototype.getUnique.Instantiate):
1523         (FuncInstantiator.prototype.getUnique):
1524         (FuncInstantiator):
1525         * WebGPUShadingLanguageRI/Intrinsics.js:
1526         (Intrinsics):
1527         * WebGPUShadingLanguageRI/Lexer.js:
1528         (Lexer.prototype.next):
1529         (Lexer):
1530         * WebGPUShadingLanguageRI/NameContext.js:
1531         (NameContext.prototype.recognizeIntrinsics):
1532         * WebGPUShadingLanguageRI/NameResolver.js:
1533         (NameResolver.prototype.visitProtocolRef):
1534         * WebGPUShadingLanguageRI/NativeFuncInstance.js:
1535         (NativeFuncInstance.prototype.get isNative):
1536         * WebGPUShadingLanguageRI/Parse.js:
1537         (parseTerm):
1538         (parseTypeDef):
1539         (parseNative):
1540         (parsePossibleSuffix):
1541         (parse):
1542         * WebGPUShadingLanguageRI/ProtocolDecl.js:
1543         (ProtocolDecl):
1544         * WebGPUShadingLanguageRI/ProtocolRef.js:
1545         (ProtocolRef.prototype.get isPrimitive):
1546         (ProtocolRef):
1547         * WebGPUShadingLanguageRI/PtrType.js:
1548         (PtrType.prototype.populateDefaultValue): Deleted.
1549         * WebGPUShadingLanguageRI/ReferenceType.js:
1550         (ReferenceType.prototype.populateDefaultValue):
1551         (ReferenceType):
1552         * WebGPUShadingLanguageRI/Rewriter.js:
1553         (Rewriter.prototype.visitUintLiteral):
1554         (Rewriter.prototype.visitFunc): Deleted.
1555         (Rewriter.prototype.visitTypeVariable): Deleted.
1556         (Rewriter.prototype.visitConstexprTypeParameter): Deleted.
1557         * WebGPUShadingLanguageRI/StandardLibrary.js:
1558         * WebGPUShadingLanguageRI/Test.js:
1559         (TEST_threadArrayLoad):
1560         (TEST_deviceArrayLoad):
1561         * WebGPUShadingLanguageRI/TypeRef.js:
1562         (TypeRef.prototype.get instantiatedType):
1563         * WebGPUShadingLanguageRI/TypeVariable.js:
1564         (TypeVariable.prototype.toString):
1565         (TypeVariable):
1566         * WebGPUShadingLanguageRI/UintLiteral.js: Added.
1567         (UintLiteral):
1568         (UintLiteral.prototype.get value):
1569         (UintLiteral.prototype.get isConstexpr):
1570         (UintLiteral.prototype.toString):
1571         * WebGPUShadingLanguageRI/Visitor.js:
1572         (Visitor.prototype.visitNativeFuncInstance):
1573         (Visitor.prototype.visitTypeVariable):
1574         (Visitor.prototype.visitPtrType):
1575         (Visitor.prototype.visitArrayRefType):
1576         (Visitor.prototype.visitUintLiteral):
1577         * WebGPUShadingLanguageRI/WTrapError.js: Added.
1578         (WTrapError):
1579
1580 2017-08-31  Alex Christensen  <achristensen@webkit.org>
1581
1582         Add WKUIDelegatePrivate equivalent of WKPageUIClient's isPlayingAudioDidChange
1583         https://bugs.webkit.org/show_bug.cgi?id=176203
1584         <rdar://problem/29270035>
1585
1586         Reviewed by Tim Horton.
1587
1588         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
1589         (-[MediaDelegate _webView:isPlayingMediaDidChange:]):
1590         (-[MediaDelegate webView:didFinishNavigation:]):
1591         (TEST):
1592
1593 2017-08-31  Alex Christensen  <achristensen@webkit.org>
1594
1595         Add ObjC SPI corresponding to WKPageLoaderClient's webGLLoadPolicy and resolveWebGLLoadPolicy
1596         https://bugs.webkit.org/show_bug.cgi?id=175779
1597         <rdar://problem/22367975>
1598
1599         Reviewed by Tim Horton.
1600
1601         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1602         * TestWebKitAPI/Tests/WebKitCocoa/WebGLPolicy.mm: Added.
1603         (-[WebGLTestDelegate webView:startURLSchemeTask:]):
1604         (-[WebGLTestDelegate webView:stopURLSchemeTask:]):
1605         (-[WebGLTestDelegate _webView:webGLLoadPolicyForURL:decisionHandler:]):
1606         (-[WebGLTestDelegate _webView:resolveWebGLLoadPolicyForURL:decisionHandler:]):
1607         (-[WebGLTestDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
1608         (urlsEqual):
1609         (runTest):
1610         (TEST):
1611
1612 2017-08-31  Don Olmstead  <don.olmstead@sony.com>
1613
1614         [CMake] Make USE_CF conditional within Windows
1615         https://bugs.webkit.org/show_bug.cgi?id=176173
1616
1617         Reviewed by Alex Christensen.
1618
1619         * DumpRenderTree/config.h:
1620         * MiniBrowser/win/CMakeLists.txt:
1621         * MiniBrowser/win/stdafx.h:
1622         * TestWebKitAPI/PlatformWin.cmake:
1623
1624 2017-08-31  Filip Pizlo  <fpizlo@apple.com>
1625
1626         WSL should support makeptr (\)
1627         https://bugs.webkit.org/show_bug.cgi?id=176197
1628
1629         Reviewed by Saam Barati.
1630         
1631         This required introducing some sanity about how pointers are carried around in the evaluator.
1632         It turns out that we need to be careful about when a pointer to an rvalue is dereferenced. It
1633         should be dereferenced basically immediately. If it cannot be, then we need to snapshot the
1634         value. To do that, we need to know the types of things in a few more places. That's what this
1635         change accomplishes.
1636
1637         * WebGPUShadingLanguageRI/All.js:
1638         * WebGPUShadingLanguageRI/CallFunction.js:
1639         (callFunction):
1640         * WebGPUShadingLanguageRI/Checker.js:
1641         (Checker.prototype.visitProtocolDecl.set throw):
1642         * WebGPUShadingLanguageRI/DereferenceExpression.js:
1643         (DereferenceExpression.prototype.get isLValue):
1644         * WebGPUShadingLanguageRI/Evaluator.js:
1645         (Evaluator.prototype._snapshot):
1646         (Evaluator.prototype.runBody):
1647         (Evaluator.prototype.visitFunctionLikeBlock):
1648         (Evaluator.prototype.visitDereferenceExpression):
1649         (Evaluator.prototype.visitMakePtrExpression):
1650         (Evaluator.prototype.visitCommaExpression):
1651         (Evaluator.prototype.visitCallExpression):
1652         (Evaluator):
1653         (Evaluator.prototype._dereference): Deleted.
1654         * WebGPUShadingLanguageRI/FuncInstantiator.js:
1655         (FuncInstantiator.prototype.getUnique.Instantiate.prototype.visitFuncDef):
1656         (FuncInstantiator.prototype.getUnique.Instantiate.prototype.visitNativeFunc):
1657         (FuncInstantiator.prototype.getUnique.Instantiate):
1658         (FuncInstantiator.prototype.getUnique):
1659         (FuncInstantiator):
1660         * WebGPUShadingLanguageRI/FunctionLikeBlock.js:
1661         (FunctionLikeBlock):
1662         (FunctionLikeBlock.prototype.get returnType):
1663         (FunctionLikeBlock.prototype.toString):
1664         * WebGPUShadingLanguageRI/Inliner.js:
1665         (Inliner.prototype.visitCallExpression):
1666         (Inliner):
1667         * WebGPUShadingLanguageRI/MakePtrExpression.js: Added.
1668         (MakePtrExpression):
1669         (MakePtrExpression.prototype.get lValue):
1670         (MakePtrExpression.prototype.toString):
1671         * WebGPUShadingLanguageRI/NativeFuncInstance.js: Added.
1672         (NativeFuncInstance):
1673         (NativeFuncInstance.prototype.get func):
1674         (NativeFuncInstance.prototype.toString):
1675         * WebGPUShadingLanguageRI/Rewriter.js:
1676         (Rewriter.prototype.visitMakePtrExpression):
1677         (Rewriter.prototype.visitCallExpression):
1678         * WebGPUShadingLanguageRI/Test.js:
1679         (TEST_dereferenceStore):
1680         (TEST_simpleMakePtr):
1681         * WebGPUShadingLanguageRI/Value.js:
1682         (Value.prototype.get isLValue):
1683         (Value):
1684         * WebGPUShadingLanguageRI/VariableRef.js:
1685         (VariableRef.prototype.get isLValue):
1686         (VariableRef.prototype.get addressSpace):
1687         * WebGPUShadingLanguageRI/Visitor.js:
1688         (Visitor.prototype.visitMakePtrExpression):
1689         (Visitor.prototype.visitCallExpression):
1690
1691 2017-08-31  Ryan Haddad  <ryanhaddad@apple.com>
1692
1693         Unreviewed, rolling out r221445.
1694
1695         This change broke Sierra Release builds.
1696
1697         Reverted changeset:
1698
1699         "Switch HTMLMediaElement to release logging"
1700         https://bugs.webkit.org/show_bug.cgi?id=176065
1701         http://trac.webkit.org/changeset/221445
1702
1703 2017-08-31  Filip Pizlo  <fpizlo@apple.com>
1704
1705         WSL should support dereference (^)
1706         https://bugs.webkit.org/show_bug.cgi?id=176192
1707
1708         Reviewed by Myles Maxfield.
1709         
1710         This implements DereferenceExpression.
1711         
1712         It also renames Evaluator.prototype.visitFunctionBody, because that name confusingly implies
1713         that there is a class named FunctionBody. It's now called runBody.
1714         
1715         I made the check to see if a type is a pointer type be the isPtr method, so that we can have
1716         other pointer types that are implemented via something other than PtrType. We might want it if
1717         for example we wanted a pointer type that is generic over address space.
1718
1719         * WebGPUShadingLanguageRI/All.js:
1720         * WebGPUShadingLanguageRI/CallFunction.js:
1721         (callFunction):
1722         * WebGPUShadingLanguageRI/Checker.js:
1723         (Checker.prototype.visitProtocolDecl.set throw):
1724         * WebGPUShadingLanguageRI/DereferenceExpression.js: Added.
1725         (DereferenceExpression):
1726         (DereferenceExpression.prototype.get ptr):
1727         (DereferenceExpression.prototype.toString):
1728         * WebGPUShadingLanguageRI/Evaluator.js:
1729         (Evaluator.prototype.visitFunctionLikeBlock):
1730         (Evaluator.prototype._dereference):
1731         (Evaluator.prototype.visitDereferenceExpression):
1732         (Evaluator.prototype.visitFunctionBody): Deleted.
1733         * WebGPUShadingLanguageRI/PtrType.js:
1734         (PtrType.prototype.get isPtr):
1735         (PtrType.prototype.populateDefaultValue):
1736         * WebGPUShadingLanguageRI/Rewriter.js:
1737         (Rewriter.prototype.visitAssignment):
1738         (Rewriter.prototype.visitDereferenceExpression):
1739         * WebGPUShadingLanguageRI/Test.js:
1740         (TEST_simpleDereference):
1741         * WebGPUShadingLanguageRI/Type.js:
1742         (Type.prototype.get isPtr):
1743         * WebGPUShadingLanguageRI/Visitor.js:
1744         (Visitor.prototype.visitDereferenceExpression):
1745
1746 2017-08-31  Filip Pizlo  <fpizlo@apple.com>
1747
1748         There should only be one callFunction API in WSL
1749         https://bugs.webkit.org/show_bug.cgi?id=176189
1750
1751         Reviewed by Saam Barati.
1752         
1753         This removes the need for callFunctionByRef, which was weird. It's now the case the TypedValue
1754         is always a tuple of type and ePtr, and TypedValue has a super simple API for boxing and
1755         unboxing single-cell values like ints.
1756
1757         * WebGPUShadingLanguageRI/CallFunction.js:
1758         (callFunction):
1759         (callFunctionByRef): Deleted.
1760         * WebGPUShadingLanguageRI/Test.js:
1761         (makeInt):
1762         * WebGPUShadingLanguageRI/TypedValue.js:
1763         (TypedValue):
1764         (TypedValue.prototype.get type):
1765         (TypedValue.prototype.get ePtr):
1766         (TypedValue.box):
1767         (TypedValue.prototype.get value):
1768         (TypedValue.prototype.toString):
1769
1770 2017-08-31  Filip Pizlo  <fpizlo@apple.com>
1771
1772         WSL EPtr does not need to carry around the type
1773         https://bugs.webkit.org/show_bug.cgi?id=176188
1774
1775         Reviewed by Saam Barati.
1776         
1777         To validate that the interpreter is modeling a statically typed execution environment, it's
1778         really best if values don't know their types at all. A pointer is just a pointer (i.e a buffer
1779         and offset in our world), and it's the job of the AST node that uses it to figure out what its
1780         type should be.
1781         
1782         I think this makes the code simpler overall.
1783
1784         * WebGPUShadingLanguageRI/All.js:
1785         * WebGPUShadingLanguageRI/CallFunction.js:
1786         (callFunctionByRef):
1787         (callFunction):
1788         * WebGPUShadingLanguageRI/Checker.js:
1789         (Checker.prototype.visitProtocolDecl.set throw):
1790         * WebGPUShadingLanguageRI/EBufferBuilder.js:
1791         (EBufferBuilder.prototype._createEPtr):
1792         * WebGPUShadingLanguageRI/EPtr.js:
1793         (EPtr):
1794         (EPtr.box):
1795         (EPtr.prototype.copyFrom):
1796         (EPtr.prototype.toString):
1797         * WebGPUShadingLanguageRI/EValue.js: Removed.
1798         * WebGPUShadingLanguageRI/Evaluator.js:
1799         (Evaluator.prototype.visitFunctionLikeBlock):
1800         (Evaluator.prototype.visitVariableDecl):
1801         (Evaluator.prototype.visitAssignment):
1802         (Evaluator.prototype.visitIntLiteral):
1803         * WebGPUShadingLanguageRI/Intrinsics.js:
1804         (Intrinsics):
1805         * WebGPUShadingLanguageRI/Rewriter.js:
1806         (Rewriter.prototype.visitAssignment):
1807         * WebGPUShadingLanguageRI/StructType.js:
1808         (StructType.prototype.instantiate):
1809         * WebGPUShadingLanguageRI/Test.js:
1810         (checkInt):
1811
1812 2017-08-31  Filip Pizlo  <fpizlo@apple.com>
1813
1814         WSL doesn't need to wrap primitives like ints and floats in specialized classes like EInt and EFloat
1815         https://bugs.webkit.org/show_bug.cgi?id=176184
1816
1817         Reviewed by Saam Barati.
1818         
1819         The only use for EInt and EFloat was that users of the interpreter want to be able to reason
1820         about values that know their type. But for the actual interpreter, it makes most sense for
1821         EBuffer to hold values directly - for example, ints in the case of values of type int. Then,
1822         all of the logic of doing math on those things can be implemented in Intrinsics.js.
1823         
1824         So, this removes EInt and EFloat but introduces a new TypedValue class that is used only on the
1825         boundary of the interpreter. You can either use the interpreter by speaking its internal
1826         language (EPtr to an EBuffer that has the values) or by using the simple API (which uses
1827         TypedValue as a trade-off between power and convenience).
1828
1829         * WebGPUShadingLanguageRI/All.js:
1830         * WebGPUShadingLanguageRI/CallFunction.js:
1831         (callFunction):
1832         * WebGPUShadingLanguageRI/EFloat.js: Removed.
1833         * WebGPUShadingLanguageRI/EInt.js: Removed.
1834         * WebGPUShadingLanguageRI/EPtr.js:
1835         (EPtr.box):
1836         * WebGPUShadingLanguageRI/Evaluator.js:
1837         (Evaluator.prototype.visitIntLiteral):
1838         * WebGPUShadingLanguageRI/Intrinsics.js:
1839         (Intrinsics):
1840         * WebGPUShadingLanguageRI/Test.js:
1841         (makeInt):
1842         (checkInt):
1843         (TEST_add1):
1844         (TEST_simpleGeneric):
1845         (TEST_simpleAssignment):
1846         (TEST_simpleDefault):
1847         * WebGPUShadingLanguageRI/TypedValue.js: Added.
1848         (TypedValue):
1849         (TypedValue.prototype.toString):
1850
1851 2017-08-31  David Quesada  <david_quesada@apple.com>
1852
1853         WKNavigationDelegatePrivate client redirect SPI needs to be able to detect redirects scheduled before the document finishes loading
1854         https://bugs.webkit.org/show_bug.cgi?id=176128
1855         rdar://problem/34068476
1856
1857         Reviewed by Brady Eidson.
1858
1859         Removed API test for the deleted WKNavigationDelegatePrivate method,
1860         and added two new tests for the two new methods.
1861
1862         * TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm:
1863         (-[ClientRedirectNavigationDelegate _webView:willPerformClientRedirectToURL:delay:]):
1864         (-[ClientRedirectNavigationDelegate _webViewDidCancelClientRedirect:]):
1865         (-[ClientRedirectNavigationDelegate webView:didFinishNavigation:]):
1866         (TEST):
1867
1868 2017-08-31  Filip Pizlo  <fpizlo@apple.com>
1869
1870         WSL should handle variable assignments and variable declarations
1871         https://bugs.webkit.org/show_bug.cgi?id=176180
1872
1873         Reviewed by Saam Barati.
1874         
1875         Just fills in VariableDecl and Assignment logic so that we can test variables.
1876
1877         * WebGPUShadingLanguageRI/Checker.js:
1878         (Checker.prototype.visitProtocolDecl.set throw):
1879         * WebGPUShadingLanguageRI/EBufferBuilder.js:
1880         (EBufferBuilder.prototype._createEPtrForNode):
1881         (EBufferBuilder.prototype.visitFuncParameter):
1882         (EBufferBuilder.prototype.visitVariableDecl):
1883         (EBufferBuilder):
1884         * WebGPUShadingLanguageRI/Evaluator.js:
1885         (Evaluator.prototype.visitVariableDecl):
1886         (Evaluator.prototype.visitAssignment):
1887         * WebGPUShadingLanguageRI/NameResolver.js:
1888         (NameResolver.prototype.visitVariableDecl):
1889         * WebGPUShadingLanguageRI/Rewriter.js:
1890         (Rewriter.prototype.visitFuncParameter):
1891         (Rewriter.prototype.visitVariableDecl):
1892         * WebGPUShadingLanguageRI/Test.js:
1893         (makeInt):
1894         (TEST_add1):
1895         (TEST_simpleGeneric):
1896         (TEST_simpleAssignment):
1897         (TEST_simpleDefault):
1898         * WebGPUShadingLanguageRI/Visitor.js:
1899         (Visitor.prototype.visitVariableDecl):
1900
1901 2017-08-31  Chris Dumez  <cdumez@apple.com>
1902
1903         getFileMetadata() does not work as expected for symbolic links
1904         https://bugs.webkit.org/show_bug.cgi?id=176143
1905
1906         Reviewed by Andreas Kling.
1907
1908         Add API test coverage.
1909
1910         * TestWebKitAPI/Tests/WebCore/FileSystem.cpp:
1911         (TestWebKitAPI::TEST_F):
1912
1913 2017-08-31  Filip Pizlo  <fpizlo@apple.com>
1914
1915         WSL parser should pass the token as the origin to the AST
1916         https://bugs.webkit.org/show_bug.cgi?id=176177
1917
1918         Reviewed by Keith Miller.
1919         
1920         Parse.js was sometimes passing token.origin as the origin, but that's just the filename
1921         component of the origin. This fixes the problem and adds a test. The test previously failed
1922         because instead of reporting the origin of the type error as "<test>:1", it reported undefined.
1923
1924         * WebGPUShadingLanguageRI/Parse.js:
1925         (parseProtocolRef):
1926         (consumeEndOfTypeArgs):
1927         (parseTypeParameters):
1928         (parseTerm):
1929         (parseTypeArguments):
1930         (parseType):
1931         (parseTypeDef):
1932         (parseNative):
1933         (parseLeftOperatorCall):
1934         (parsePossibleSuffix):
1935         (parsePossiblePrefix):
1936         (parsePossibleRelationalEquality):
1937         (parseLeftLogicalExpression):
1938         (parsePossibleTernaryConditional):
1939         (parsePossibleAssignment):
1940         (genericParseCommaExpression):
1941         (parseReturn):
1942         (parseVariableDecls):
1943         (parseBlock):
1944         * WebGPUShadingLanguageRI/Test.js:
1945         (checkFail):
1946         (TEST_nameResolutionFailure):
1947
1948 2017-08-31  Keith Miller  <keith_miller@apple.com>
1949
1950         Add a filter argument to WSL test suite.
1951         https://bugs.webkit.org/show_bug.cgi?id=176176
1952
1953         Reviewed by Filip Pizlo.
1954
1955         * WebGPUShadingLanguageRI/Test.js:
1956         (this.string_appeared_here.i.switch):
1957         (let.s.in.this.s.startsWith.string_appeared_here.s.match):
1958         (let.s.in.this.s.startsWith): Deleted.
1959
1960 2017-08-30  Filip Pizlo  <fpizlo@apple.com>
1961
1962         WSL should be able to run a program that uses generics
1963         https://bugs.webkit.org/show_bug.cgi?id=176152
1964
1965         Reviewed by Keith Miller.
1966         
1967         This fixes the WSL parser and type checker to the point that we can:
1968         
1969         - Parse a function call!
1970         - Type check a generic function call with an inferred type parameter.
1971         - Instantiate a generic function.
1972         - Inline a function call.
1973         - Evaluate an inlined function call.
1974         
1975         This also changes the test suite so that it's a little nicer to add new tests. Functions whose
1976         names start with "TEST_" are tests.
1977
1978         * WebGPUShadingLanguageRI/Checker.js:
1979         (Checker.prototype.visitProtocolDecl.set throw):
1980         * WebGPUShadingLanguageRI/EBufferBuilder.js:
1981         (EBufferBuilder.prototype.visitFuncParameter):
1982         (EBufferBuilder):
1983         * WebGPUShadingLanguageRI/Evaluator.js:
1984         (Evaluator.prototype.visitFunctionLikeBlock):
1985         * WebGPUShadingLanguageRI/FuncDef.js:
1986         (FuncDef.prototype.toString):
1987         (FuncDef):
1988         * WebGPUShadingLanguageRI/FuncInstantiator.js:
1989         (FuncInstantiator.prototype.getUnique):
1990         (FuncInstantiator):
1991         * WebGPUShadingLanguageRI/Inliner.js:
1992         (Inliner.prototype.visitCallExpression):
1993         (Inliner):
1994         * WebGPUShadingLanguageRI/Lexer.js:
1995         (Lexer):
1996         * WebGPUShadingLanguageRI/NameContext.js:
1997         (NameContext):
1998         (NameContext.prototype.add):
1999         (NameContext.prototype.get let):
2000         (NameContext.prototype.defineAll):
2001         (NameContext.get intrinsics): Deleted.
2002         (NameContext.set program): Deleted.
2003         (NameContext.get program): Deleted.
2004         * WebGPUShadingLanguageRI/NameResolver.js:
2005         (NameResolver.prototype.visitProgram):
2006         * WebGPUShadingLanguageRI/Parse.js:
2007         (parseTerm):
2008         (parsePossibleSuffix):
2009         (genericParseCommaExpression):
2010         (parseReturn):
2011         * WebGPUShadingLanguageRI/Program.js:
2012         (Program.prototype.resolveFuncOverload):
2013         * WebGPUShadingLanguageRI/ProtocolDecl.js:
2014         (ProtocolDecl.prototype.inherits):
2015         * WebGPUShadingLanguageRI/ResolveOverloadImpl.js:
2016         (resolveOverloadImpl):
2017         * WebGPUShadingLanguageRI/Rewriter.js:
2018         (Rewriter.prototype.visitFuncParameter):
2019         (Rewriter.prototype.visitCallExpression):
2020         (Rewriter.prototype._map): Deleted.
2021         * WebGPUShadingLanguageRI/Test.js:
2022         (checkInt):
2023         (TEST_add1):
2024         (TEST_simpleGeneric):
2025         (let.s.in.this.s.startsWith):
2026         (load): Deleted.
2027         * WebGPUShadingLanguageRI/TypeVariable.js:
2028         (TypeVariable.prototype.typeVariableUnify):
2029         * WebGPUShadingLanguageRI/UnificationContext.js:
2030         (UnificationContext.prototype.union):
2031
2032 2017-08-30  Alex Christensen  <achristensen@webkit.org>
2033
2034         Add WKUIDelegatePrivate equivalent of WKPageUIClient's didClickAutoFillButton
2035         https://bugs.webkit.org/show_bug.cgi?id=176139
2036         <rdar://problem/29270035>
2037
2038         Reviewed by Tim Horton.
2039
2040         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2041         * TestWebKitAPI/Tests/WebKitCocoa/ClickAutoFillButton.mm: Added.
2042         (didClickAutoFillButton):
2043         (-[ClickAutoFillButton webProcessPlugIn:didCreateBrowserContextController:]):
2044         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
2045         (-[AutoFillDelegate _webView:didClickAutoFillButtonWithUserInfo:]):
2046         (-[AutoFillDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
2047         (TEST):
2048
2049 2017-08-31  Carlos Garcia Campos  <cgarcia@igalia.com>
2050
2051         [GTK] Several InputMethodFilter tests are failing and crashing
2052         https://bugs.webkit.org/show_bug.cgi?id=176158
2053
2054         Reviewed by Carlos Alberto Lopez Perez.
2055
2056         This started to happen after the GTK+ upgrade from 3.16 to 3.22 in the internal jhbuild. Now, GtkIMContext
2057         doesn't emit the preedit signals when using the compose key (GDK_KEY_Multi_key). The composition results are
2058         committed directly when they are ready. The test InputMethodFilterComposeKey was failing because it expected
2059         preedit events that no longer happen. Tests InputMethodFilterContextFocusOutDuringOngoingComposition and
2060         InputMethodFilterContextMouseClickDuringOngoingComposition were crashing because InputMethodFilter::confirmCurrentComposition()
2061         accessed the WebPageProxy unconditionally, that is not available in testing mode. I wonder how this ever
2062         worked. Other tests results have also been updated because logHandleKeyboardEventWithCompositionResultsForTesting()
2063         now uses hexadecimal numbers for the key codes, for consistency with all other event logs.
2064
2065         * TestWebKitAPI/Tests/WebKit/gtk/InputMethodFilter.cpp:
2066         (TestWebKitAPI::TestInputMethodFilter::TestInputMethodFilter):
2067         (TestWebKitAPI::TEST):
2068         (TestWebKitAPI::verifyCanceledComposition): Deleted.
2069
2070 2017-08-31  Carlos Garcia Campos  <cgarcia@igalia.com>
2071
2072         [GTK][Wayland] Crash when gdk_keymap_get_entries_for_keyval returns TRUE but n_keys=0
2073         https://bugs.webkit.org/show_bug.cgi?id=176154
2074
2075         Reviewed by Carlos Alberto Lopez Perez.
2076
2077         Also check the n_keys > 0 when using gdk_keymap_get_entries_for_keyval().
2078
2079         * TestWebKitAPI/Tests/WebKit/gtk/InputMethodFilter.cpp:
2080         (TestWebKitAPI::TestInputMethodFilter::sendKeyEventToFilter):
2081         * TestWebKitAPI/Tests/WebKitGtk/TestPrinting.cpp: Remove duplicated code and use WebViewTest::keyStroke instead.
2082         * TestWebKitAPI/glib/WebKitGLib/gtk/WebViewTestGtk.cpp:
2083         (WebViewTest::keyStroke):
2084         * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
2085         (TestWebKitAPI::doKeyStroke):
2086         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
2087         (WTR::EventSenderProxy::keyDown):
2088
2089 2017-08-31  Carlos Garcia Campos  <cgarcia@igalia.com>
2090
2091         Unreviewed. Fix GTK+ test /webkit2/WebKitAutomationSession/request-session.
2092
2093         It fails when comparing the browser version if micro version is 0 (or if both micro and minor are 0 too).
2094
2095         * TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp: Use a helper method to convert major, minor, micro
2096         numbers into a version string, using the same approach as WebKitAutomationSession.
2097
2098 2017-08-30  Dan Bernstein  <mitz@apple.com>
2099
2100         [iOS] REGRESSION (r218144) -[WKContentView targetForAction:withSender:] returns the content view for actions implemented only by the WKWebView, causing a crash
2101         https://bugs.webkit.org/show_bug.cgi?id=176077
2102         <rdar://problem/34145200>
2103
2104         Reviewed by Sam Weinig.
2105
2106         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2107         * TestWebKitAPI/Tests/WebKitCocoa/WKContentViewTargetForAction.mm: Added.
2108         (-[TestWKContentViewTargetForActionView testAction:]):
2109         (TEST):
2110         * TestWebKitAPI/ios/UIKitSPI.h:
2111
2112 2017-08-30  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2113
2114         [GTK] install-dependencies script should install CUPS headers
2115         https://bugs.webkit.org/show_bug.cgi?id=176129
2116
2117         Reviewed by Michael Catanzaro.
2118         
2119         When building GTK+ on the JHBuild, it will enable the CUPS print
2120         backend if the CUPS headers are installed. Having a print backend
2121         on GTK+ is needed for the print-related API tests.
2122
2123         * gtk/install-dependencies:
2124
2125 2017-08-30  Filip Pizlo  <fpizlo@apple.com>
2126
2127         Rename ArrayLang to WebGPU Shading Language, or WSL for short, pronounced "whistle"
2128         https://bugs.webkit.org/show_bug.cgi?id=176117
2129
2130         Reviewed by Myles Maxfield.
2131         
2132         Renamed ArrayLangRI to WebGPUShadingLanguageRI.
2133         
2134         Renamed ALSyntaxError/ALTypeError to WSyntaxError/WTypeError.
2135         
2136         Renamed all references to "ArrayLang" in the code to "WSL".
2137
2138         * ArrayLangRI: Removed.
2139         * ArrayLangRI/ALSyntaxError.js: Removed.
2140         * ArrayLangRI/ALTypeError.js: Removed.
2141         * ArrayLangRI/AddressSpace.js: Removed.
2142         * ArrayLangRI/All.js: Removed.
2143         * ArrayLangRI/ArrayRefType.js: Removed.
2144         * ArrayLangRI/ArrayType.js: Removed.
2145         * ArrayLangRI/Assignment.js: Removed.
2146         * ArrayLangRI/Block.js: Removed.
2147         * ArrayLangRI/CallAssignment.js: Removed.
2148         * ArrayLangRI/CallExpression.js: Removed.
2149         * ArrayLangRI/CallFunction.js: Removed.
2150         * ArrayLangRI/Check.js: Removed.
2151         * ArrayLangRI/Checker.js: Removed.
2152         * ArrayLangRI/CommaExpression.js: Removed.
2153         * ArrayLangRI/ConstexprTypeParameter.js: Removed.
2154         * ArrayLangRI/EBuffer.js: Removed.
2155         * ArrayLangRI/EBufferBuilder.js: Removed.
2156         * ArrayLangRI/EFloat.js: Removed.
2157         * ArrayLangRI/EInt.js: Removed.
2158         * ArrayLangRI/EPtr.js: Removed.
2159         * ArrayLangRI/EValue.js: Removed.
2160         * ArrayLangRI/EvaluationCommon.js: Removed.
2161         * ArrayLangRI/Evaluator.js: Removed.
2162         * ArrayLangRI/Expression.js: Removed.
2163         * ArrayLangRI/Field.js: Removed.
2164         * ArrayLangRI/Func.js: Removed.
2165         * ArrayLangRI/FuncDef.js: Removed.
2166         * ArrayLangRI/FuncInstantiator.js: Removed.
2167         * ArrayLangRI/FuncParameter.js: Removed.
2168         * ArrayLangRI/FunctionLikeBlock.js: Removed.
2169         * ArrayLangRI/Inline.js: Removed.
2170         * ArrayLangRI/Inliner.js: Removed.
2171         * ArrayLangRI/InstantiateImmediates.js: Removed.
2172         * ArrayLangRI/IntLiteral.js: Removed.
2173         * ArrayLangRI/Intrinsics.js: Removed.
2174         * ArrayLangRI/Lexer.js: Removed.
2175         * ArrayLangRI/LexerToken.js: Removed.
2176         * ArrayLangRI/NameContext.js: Removed.
2177         * ArrayLangRI/NameResolver.js: Removed.
2178         * ArrayLangRI/NativeFunc.js: Removed.
2179         * ArrayLangRI/NativeType.js: Removed.
2180         * ArrayLangRI/NativeTypeInstance.js: Removed.
2181         * ArrayLangRI/Node.js: Removed.
2182         * ArrayLangRI/NullType.js: Removed.
2183         * ArrayLangRI/Parse.js: Removed.
2184         * ArrayLangRI/Prepare.js: Removed.
2185         * ArrayLangRI/Program.js: Removed.
2186         * ArrayLangRI/Protocol.js: Removed.
2187         * ArrayLangRI/ProtocolDecl.js: Removed.
2188         * ArrayLangRI/ProtocolRef.js: Removed.
2189         * ArrayLangRI/PtrType.js: Removed.
2190         * ArrayLangRI/ReferenceType.js: Removed.
2191         * ArrayLangRI/ResolveNames.js: Removed.
2192         * ArrayLangRI/ResolveOverloadImpl.js: Removed.
2193         * ArrayLangRI/ResolveTypeDefs.js: Removed.
2194         * ArrayLangRI/Return.js: Removed.
2195         * ArrayLangRI/ReturnException.js: Removed.
2196         * ArrayLangRI/Rewriter.js: Removed.
2197         * ArrayLangRI/StandardLibrary.js: Removed.
2198         * ArrayLangRI/StructType.js: Removed.
2199         * ArrayLangRI/Substitution.js: Removed.
2200         * ArrayLangRI/SuffixCallAssignment.js: Removed.
2201         * ArrayLangRI/Test.js: Removed.
2202         * ArrayLangRI/Type.js: Removed.
2203         * ArrayLangRI/TypeDef.js: Removed.
2204         * ArrayLangRI/TypeDefResolver.js: Removed.
2205         * ArrayLangRI/TypeOrVariableRef.js: Removed.
2206         * ArrayLangRI/TypeRef.js: Removed.
2207         * ArrayLangRI/TypeVariable.js: Removed.
2208         * ArrayLangRI/UnificationContext.js: Removed.
2209         * ArrayLangRI/Value.js: Removed.
2210         * ArrayLangRI/VariableDecl.js: Removed.
2211         * ArrayLangRI/VariableRef.js: Removed.
2212         * ArrayLangRI/VisitingSet.js: Removed.
2213         * ArrayLangRI/Visitor.js: Removed.
2214         * WebGPUShadingLanguageRI: Copied from Tools/ArrayLangRI.
2215         * WebGPUShadingLanguageRI/ALSyntaxError.js: Removed.
2216         * WebGPUShadingLanguageRI/ALTypeError.js: Removed.
2217         * WebGPUShadingLanguageRI/All.js:
2218         * WebGPUShadingLanguageRI/CallFunction.js:
2219         (callFunctionByRef):
2220         * WebGPUShadingLanguageRI/Checker.js:
2221         (Checker.prototype.visitProtocolDecl.set throw):
2222         * WebGPUShadingLanguageRI/Intrinsics.js:
2223         (Intrinsics.prototype.add):
2224         (Intrinsics):
2225         * WebGPUShadingLanguageRI/Lexer.js:
2226         (Lexer):
2227         * WebGPUShadingLanguageRI/NameContext.js:
2228         (NameContext.prototype.add):
2229         * WebGPUShadingLanguageRI/NameResolver.js:
2230         (NameResolver.prototype._resolveTypeArguments):
2231         (NameResolver.prototype.visitTypeRef):
2232         (NameResolver.prototype.visitVariableRef):
2233         * WebGPUShadingLanguageRI/Parse.js:
2234         * WebGPUShadingLanguageRI/StandardLibrary.js:
2235         * WebGPUShadingLanguageRI/StructType.js:
2236         (StructType.prototype.add):
2237         (StructType.prototype.instantiate):
2238         * WebGPUShadingLanguageRI/TypeDefResolver.js:
2239         (TypeDefResolver.prototype.visitTypeRef):
2240         (TypeDefResolver):
2241         * WebGPUShadingLanguageRI/VisitingSet.js:
2242         (VisitingSet.prototype.doVisit):
2243         (VisitingSet):
2244         * WebGPUShadingLanguageRI/WSyntaxError.js: Copied from Tools/ArrayLangRI/ALSyntaxError.js.
2245         (ALSyntaxError): Deleted.
2246         * WebGPUShadingLanguageRI/WTypeError.js: Copied from Tools/ArrayLangRI/ALTypeError.js.
2247         (ALTypeError): Deleted.
2248
2249 2017-08-30  Eric Carlson  <eric.carlson@apple.com>
2250
2251         Add Logger observer and helper class
2252         https://bugs.webkit.org/show_bug.cgi?id=176106
2253
2254         Reviewed by Andy Estes.
2255
2256         * TestWebKitAPI/Tests/WebCore/Logging.cpp:
2257         (TestWebKitAPI::LoggingTest::LoggingTest):
2258         (TestWebKitAPI::LoggingTest::Logger::create):
2259         (TestWebKitAPI::TEST_F):
2260         (TestWebKitAPI::LogObserver::log):
2261         (TestWebKitAPI::LogObserver::channel const):
2262
2263 2017-08-29  Filip Pizlo  <fpizlo@apple.com>
2264
2265         Initial reference implementation scaffolding for ArrayLang
2266         https://bugs.webkit.org/show_bug.cgi?id=175925
2267
2268         Reviewed by Myles Maxfield.
2269         
2270         This introduces a very rough scaffolding for an AST walk interpreter and type checker for an
2271         experimental shader language we are calling ArrayLang for now.
2272         
2273         The idea is to have a strong core type system that includes generics and memory-safe pointers
2274         and array references. Everything has deterministic semantics right up to the limit of what is
2275         portably possible.
2276         
2277         This language will support generics. This will be valid:
2278         
2279         protocol Addable { Addable operator+(Addable, Addable); }
2280         T add<T:Addable>(T a, T b) { return a + b; }
2281         
2282         This language will support pointers and array references. This will be valid:
2283         
2284         thread int^ foo() { int x; return \x; }
2285         
2286         Each variable behaves as if it was declared "static", with one copy per type instantiation.
2287         Functions cannot recurse and there is no stack.
2288         
2289         Currently, this just tests that the following function can be parsed, checked, and called:
2290         
2291         int foo(int x) { return x + 1; }
2292
2293         * ArrayLangRI: Added.
2294         * ArrayLangRI/ALSyntaxError.js: Added.
2295         (ALSyntaxError):
2296         * ArrayLangRI/ALTypeError.js: Added.
2297         (ALTypeError):
2298         * ArrayLangRI/AddressSpace.js: Added.
2299         (isAddressSpace):
2300         (validateAddressSpace):
2301         * ArrayLangRI/All.js: Added.
2302         * ArrayLangRI/ArrayRefType.js: Added.
2303         (ArrayRefType.prototype.unifyImpl):
2304         (ArrayRefType.prototype.toString):
2305         (ArrayRefType):
2306         * ArrayLangRI/ArrayType.js: Added.
2307         (ArrayType):
2308         (ArrayType.prototype.get origin):
2309         (ArrayType.prototype.get elementType):
2310         (ArrayType.prototype.get numElements):
2311         (ArrayType.prototype.get isPrimitive):
2312         (ArrayType.prototype.toString):
2313         (ArrayType.prototype.get size):
2314         (ArrayType.prototype.unifyImpl):
2315         * ArrayLangRI/Assignment.js: Added.
2316         (Assignment):
2317         (Assignment.prototype.get lhs):
2318         (Assignment.prototype.get rhs):
2319         (Assignment.prototype.toString):
2320         * ArrayLangRI/Block.js: Added.
2321         (Block):
2322         (Block.prototype.get origin):
2323         (Block.prototype.add):
2324         (Block.prototype.get statements):
2325         (Block.prototype.toString):
2326         * ArrayLangRI/CallAssignment.js: Added.
2327         (CallAssignment):
2328         (CallAssignment.prototype.get name):
2329         (CallAssignment.prototype.get lhs):
2330         (CallAssignment.prototype.get rhs):
2331         (CallAssignment.prototype.toString):
2332         * ArrayLangRI/CallExpression.js: Added.
2333         (CallExpression):
2334         (CallExpression.prototype.get name):
2335         (CallExpression.prototype.get typeArguments):
2336         (CallExpression.prototype.get argumentList):
2337         (CallExpression.prototype.toString):
2338         * ArrayLangRI/CallFunction.js: Added.
2339         (callFunctionByRef):
2340         (callFunction):
2341         * ArrayLangRI/Check.js: Added.
2342         (check):
2343         * ArrayLangRI/Checker.js: Added.
2344         (Checker):
2345         (Checker.prototype.visitProgram):
2346         (Checker.prototype.visitProtocolDecl.NoticeTypeVariable.prototype.visitTypeRef):
2347         (Checker.prototype.visitProtocolDecl.NoticeTypeVariable.prototype.visitVariableRef):
2348         (Checker.prototype.visitProtocolDecl.NoticeTypeVariable):
2349         (Checker.prototype.visitProtocolDecl.set throw):
2350         * ArrayLangRI/CommaExpression.js: Added.
2351         (CommaExpression):
2352         (CommaExpression.prototype.get list):
2353         (CommaExpression.prototype.toString):
2354         * ArrayLangRI/ConstexprTypeParameter.js: Added.
2355         (ConstexprTypeParameter):
2356         (ConstexprTypeParameter.prototype.get name):
2357         (ConstexprTypeParameter.prototype.get type):
2358         (ConstexprTypeParameter.prototype.get isConstexpr):
2359         (ConstexprTypeParameter.prototype.get isUnifiable):
2360         (ConstexprTypeParameter.prototype.typeVariableUnify):
2361         (ConstexprTypeParameter.prototype.unifyImpl):
2362         (ConstexprTypeParameter.prototype.verifyAsArgument):
2363         (ConstexprTypeParameter.prototype.verifyAsParameter):
2364         (ConstexprTypeParameter.prototype.toString):
2365         * ArrayLangRI/EBuffer.js: Added.
2366         (EBuffer):
2367         (EBuffer.get index):
2368         * ArrayLangRI/EBufferBuilder.js: Added.
2369         (EBufferBuilder):
2370         (EBufferBuilder.prototype._createEPtr):
2371         (EBufferBuilder.prototype.visitFuncParameter):
2372         * ArrayLangRI/EFloat.js: Added.
2373         (EFloat):
2374         (EFloat.prototype.get value):
2375         (EFloat.prototype.add):
2376         (EFloat.prototype.toString):
2377         * ArrayLangRI/EInt.js: Added.
2378         (EInt):
2379         (EInt.prototype.get value):
2380         (EInt.prototype.add):
2381         (EInt.prototype.toString):
2382         * ArrayLangRI/EPtr.js: Added.
2383         (EPtr):
2384         (EPtr.box):
2385         (EPtr.prototype.get buffer):
2386         (EPtr.prototype.get offset):
2387         (EPtr.prototype.loadValue):
2388         (EPtr.prototype.copyFrom):
2389         (EPtr.prototype.toString):
2390         * ArrayLangRI/EValue.js: Added.
2391         (EValue):
2392         (EValue.prototype.get type):
2393         * ArrayLangRI/EvaluationCommon.js: Added.
2394         * ArrayLangRI/Evaluator.js: Added.
2395         (Evaluator):
2396         (Evaluator.prototype.visitFunctionBody):
2397         (Evaluator.prototype.visitFunctionLikeBlock):
2398         (Evaluator.prototype.visitReturn):
2399         (Evaluator.prototype.visitCommaExpression):
2400         (Evaluator.prototype.visitVariableRef):
2401         (Evaluator.prototype.visitIntLiteral):
2402         (Evaluator.prototype.visitCallExpression):
2403         * ArrayLangRI/Expression.js: Added.
2404         (Expression):
2405         (Expression.prototype.get origin):
2406         * ArrayLangRI/Field.js: Added.
2407         (Field):
2408         (Field.prototype.get origin):
2409         (Field.prototype.get name):
2410         (Field.prototype.get type):
2411         (Field.prototype.toString):
2412         * ArrayLangRI/Func.js: Added.
2413         (Func):
2414         (Func.prototype.get name):
2415         (Func.prototype.get returnType):
2416         (Func.prototype.get typeParameters):
2417         (Func.prototype.get parameters):
2418         (Func.prototype.get parameterTypes):
2419         (Func.prototype.get kind):
2420         (Func.prototype.toString):
2421         * ArrayLangRI/FuncDef.js: Added.
2422         (FuncDef):
2423         (FuncDef.prototype.get origin):
2424         (FuncDef.prototype.toString):
2425         * ArrayLangRI/FuncInstantiator.js: Added.
2426         (FuncInstantiator):
2427         (FuncInstantiator.prototype.getUnique):
2428         * ArrayLangRI/FuncParameter.js: Added.
2429         (FuncParameter):
2430         (FuncParameter.prototype.get origin):
2431         (FuncParameter.prototype.get name):
2432         (FuncParameter.prototype.get type):
2433         (FuncParameter.prototype.toString):
2434         * ArrayLangRI/FuncSignature.js: Added.
2435         * ArrayLangRI/FunctionLikeBlock.js: Added.
2436         (FunctionLikeBlock):
2437         (FunctionLikeBlock.prototype.get origin):
2438         (FunctionLikeBlock.prototype.get argumentList):
2439         (FunctionLikeBlock.prototype.get parameters):
2440         (FunctionLikeBlock.prototype.get body):
2441         (FunctionLikeBlock.prototype.toString):
2442         * ArrayLangRI/Inline.js: Added.
2443         (inline):
2444         (_inlineFunction):
2445         (resolveInlinedFunction):
2446         * ArrayLangRI/Inliner.js: Added.
2447         (Inliner):
2448         (Inliner.prototype.visitCallExpression):
2449         * ArrayLangRI/InstantiateImmediates.js: Added.
2450         (InstantiateImmediates.prototype.visitTypeRef):
2451         (InstantiateImmediates.prototype.visitReferenceType):
2452         (InstantiateImmediates.prototype.visitStructType):
2453         (InstantiateImmediates.prototype.visitNativeType):
2454         (InstantiateImmediates.prototype.visitTypeVariable):
2455         (InstantiateImmediates):
2456         * ArrayLangRI/IntLiteral.js: Added.
2457         (IntLiteral):
2458         (IntLiteral.prototype.get value):
2459         (IntLiteral.prototype.get isConstexpr):
2460         (IntLiteral.prototype.toString):
2461         * ArrayLangRI/Intrinsics.js: Added.
2462         (Intrinsics):
2463         (Intrinsics.prototype.add):
2464         * ArrayLangRI/Lexer.js: Added.
2465         (Lexer):
2466         (Lexer.prototype.get lineNumber):
2467         (Lexer.prototype.get origin):
2468         (Lexer.prototype.get originString):
2469         (Lexer.prototype.lineNumberForIndex):
2470         (Lexer.prototype.get state):
2471         (Lexer.prototype.set state):
2472         (Lexer.prototype.next):
2473         * ArrayLangRI/LexerToken.js: Added.
2474         (LexerToken):
2475         (LexerToken.prototype.get kind):
2476         (LexerToken.prototype.get text):
2477         (LexerToken.prototype.get origin):
2478         (LexerToken.prototype.get index):
2479         (LexerToken.prototype.get lineNumber):
2480         (LexerToken.prototype.get originString):
2481         (LexerToken.prototype.toString):
2482         * ArrayLangRI/NameContext.js: Added.
2483         (isWildcardKind):
2484         (NameContext):
2485         (NameContext.prototype.mapFor):
2486         (NameContext.prototype.add):
2487         (NameContext.get currentStatement):
2488         (NameContext.get intrinsics):
2489         (NameContext.set program):
2490         (NameContext.get program):
2491         (NameContext.prototype.get let):
2492         * ArrayLangRI/NameResolver.js: Added.
2493         (NameResolver):
2494         (NameResolver.prototype.visitProgram):
2495         (NameResolver.prototype._visitTypeParametersAndBuildNameContext):
2496         (NameResolver.prototype.visitFunc):
2497         (NameResolver.prototype.visitFuncDef):
2498         (NameResolver.prototype.visitBlock):
2499         (NameResolver.prototype.visitProtocolDecl):
2500         (NameResolver.prototype.visitTypeDef):
2501         (NameResolver.prototype.visitStructType):
2502         (NameResolver.prototype._resolveTypeArguments):
2503         (NameResolver.prototype.visitTypeRef):
2504         (NameResolver.prototype.visitReferenceType):
2505         (NameResolver.prototype.visitVariableRef):
2506         (NameResolver.prototype.visitReturn):
2507         (NameResolver.prototype.visitCallExpression):
2508         * ArrayLangRI/NativeFunc.js: Added.
2509         (NativeFunc):
2510         (NativeFunc.prototype.get origin):
2511         (NativeFunc.prototype.get isNative):
2512         (NativeFunc.prototype.toString):
2513         * ArrayLangRI/NativeType.js: Added.
2514         (NativeType):
2515         (NativeType.prototype.get origin):
2516         (NativeType.prototype.get name):
2517         (NativeType.prototype.get isPrimitive):
2518         (NativeType.prototype.get typeParameters):
2519         (NativeType.prototype.get isNative):
2520         (NativeType.prototype.instantiate):
2521         (NativeType.prototype.toString):
2522         * ArrayLangRI/NativeTypeInstance.js: Added.
2523         (NativeTypeInstance):
2524         (NativeTypeInstance.prototype.get type):
2525         (NativeTypeInstance.prototype.get typeArguments):
2526         (NativeTypeInstance.prototype.get isPrimitive):
2527         (NativeTypeInstance.prototype.get isNative):
2528         (NativeTypeInstance.prototype.unifyImpl):
2529         (NativeTypeInstance.prototype.toString):
2530         * ArrayLangRI/Node.js: Added.
2531         (Node.prototype.visit):
2532         (Node.unify):
2533         (Node.prototype.unifyImpl):
2534         (Node.prototype.typeVariableUnify):
2535         (Node.prototype.get unifyNode):
2536         (Node.prototype.get isUnifiable):
2537         (Node.prototype.get isNative):
2538         (Node.prototype.equals):
2539         (Node.prototype.substitute):
2540         (Node.prototype.substituteToUnification):
2541         (Node):
2542         * ArrayLangRI/NullType.js: Added.
2543         (NullType):
2544         * ArrayLangRI/Parse.js: Added.
2545         (genericConsume):
2546         (consume):
2547         (genericTest):
2548         (test):
2549         (tryConsumeKind):
2550         (parseProtocolRef):
2551         (consumeEndOfTypeArgs):
2552         (parseTypeParameters):
2553         (parseTerm):
2554         (parseConstexpr):
2555         (parseTypeArguments):
2556         (parseType.getAddressSpace):
2557         (parseType):
2558         (parseTypeDef):
2559         (parseNative):
2560         (genericParseLeft):
2561         (parseLeftOperatorCall):
2562         (parsePossibleSuffix):
2563         (parsePossiblePrefix):
2564         (parsePossibleProduct):
2565         (parsePossibleSum):
2566         (parsePossibleShift):
2567         (parsePossibleRelationalInequality):
2568         (parsePossibleRelationalEquality):
2569         (parsePossibleBitwiseXor):
2570         (parsePossibleBitwiseOr):
2571         (parseLeftLogicalExpression):
2572         (parsePossibleLogicalOr):
2573         (parsePossibleTernaryConditional):
2574         (parsePossibleAssignment):
2575         (parseAssignment):
2576         (parseEffectfulExpression):
2577         (genericParseCommaExpression):
2578         (parseCommaExpression):
2579         (parseExpression):
2580         (parseEffectfulStatement):
2581         (parseReturn):
2582         (parseVariableDecls):
2583         (parseStatement):
2584         (parseBlock):
2585         (parseParameter):
2586         (parseFuncName):
2587         (parseFuncDef):
2588         (parse):
2589         * ArrayLangRI/Prepare.js: Added.
2590         (prepare):
2591         * ArrayLangRI/Program.js: Added.
2592         (Program):
2593         (Program.prototype.get topLevelStatements):
2594         (Program.prototype.get functions):
2595         (Program.prototype.get types):
2596         (Program.prototype.get funcInstantiator):
2597         (Program.prototype.add):
2598         (Program.prototype.resolveFuncOverload):
2599         (Program.prototype.get nameContext):
2600         (Program.prototype.toString):
2601         * ArrayLangRI/Protocol.js: Added.
2602         (Protocol):
2603         (Protocol.prototype.get origin):
2604         (Protocol.prototype.get name):
2605         (Protocol.prototype.get kind):
2606         (Protocol.prototype.toString):
2607         * ArrayLangRI/ProtocolDecl.js: Added.
2608         (ProtocolDecl):
2609         (ProtocolDecl.prototype.addSignature):
2610         (ProtocolDecl.prototype.get signatures):
2611         (ProtocolDecl.prototype.signaturesByName):
2612         (ProtocolDecl.prototype.get typeVariable):
2613         (ProtocolDecl.prototype.signaturesByNameWithTypeVariable):
2614         (ProtocolDecl.prototype.inherits):
2615         (ProtocolDecl.prototype.hasHeir):
2616         (ProtocolDecl.prototype.toString):
2617         * ArrayLangRI/ProtocolRef.js: Added.
2618         (ProtocolRef):
2619         (ProtocolRef.prototype.inherits):
2620         (ProtocolRef.prototype.hasHeir):
2621         * ArrayLangRI/PtrType.js: Added.
2622         (PtrType.prototype.unifyImpl):
2623         (PtrType.prototype.toString):
2624         (PtrType):
2625         * ArrayLangRI/ReferenceType.js: Added.
2626         (ReferenceType):
2627         (ReferenceType.prototype.get origin):
2628         (ReferenceType.prototype.get addressSpace):
2629         (ReferenceType.prototype.get elementType):
2630         (ReferenceType.prototype.get isPrimitive):
2631         (ReferenceType.prototype.get size):
2632         * ArrayLangRI/ResolveNames.js: Added.
2633         (resolveNames):
2634         * ArrayLangRI/ResolveOverloadImpl.js: Added.
2635         (resolveOverloadImpl):
2636         * ArrayLangRI/ResolveTypeDefs.js: Added.
2637         (resolveTypeDefs):
2638         * ArrayLangRI/Return.js: Added.
2639         (Return):
2640         (Return.prototype.get origin):
2641         (Return.prototype.get value):
2642         (Return.prototype.toString):
2643         * ArrayLangRI/ReturnException.js: Added.
2644         (ReturnException):
2645         (ReturnException.prototype.get value):
2646         * ArrayLangRI/Rewriter.js: Added.
2647         (Rewriter):
2648         (Rewriter.prototype._map):
2649         (Rewriter.prototype._getMapping):
2650         (Rewriter.prototype.visitFunc):
2651         (Rewriter.prototype.visitFuncParameter):
2652         (Rewriter.prototype.visitBlock):
2653         (Rewriter.prototype.visitCommaExpression):
2654         (Rewriter.prototype.visitProtocolRef):
2655         (Rewriter.prototype.visitTypeRef):
2656         (Rewriter.prototype.visitTypeVariable):
2657         (Rewriter.prototype.visitConstexprTypeParameter):
2658         (Rewriter.prototype.visitField):
2659         (Rewriter.prototype.visitReferenceType):
2660         (Rewriter.visitPtrType):
2661         (Rewriter.prototype.visitArrayRefType):
2662         (Rewriter.prototype.visitArrayType):
2663         (Rewriter.prototype.visitAssignment):
2664         (Rewriter.prototype.visitVariableRef):
2665         (Rewriter.prototype.visitReturn):
2666         (Rewriter.prototype.visitIntLiteral):
2667         (Rewriter.prototype.visitCallExpression):
2668         (Rewriter.prototype.visitFunctionLikeBlock):
2669         * ArrayLangRI/StandardLibrary.js: Added.
2670         * ArrayLangRI/StructType.js: Added.
2671         (StructType):
2672         (StructType.prototype.add):
2673         (StructType.prototype.get name):
2674         (StructType.prototype.get typeParameters):
2675         (StructType.prototype.get fieldNames):
2676         (StructType.prototype.fieldByName):
2677         (StructType.prototype.get fields):
2678         (StructType.prototype.get fieldMap):
2679         (StructType.prototype.get isPrimitive):
2680         (StructType.prototype.instantiate):
2681         (StructType.prototype.toString):
2682         * ArrayLangRI/Substitution.js: Added.
2683         (Substitution):
2684         (Substitution.mapping):
2685         (Substitution.prototype.visitTypeRef):
2686         (Substitution.prototype.visitVariableRef):
2687         * ArrayLangRI/SuffixCallAssignment.js: Added.
2688         (SuffixCallAssignment):
2689         (SuffixCallAssignment.prototype.get name):
2690         (SuffixCallAssignment.prototype.get lhs):
2691         (SuffixCallAssignment.prototype.toString):
2692         * ArrayLangRI/Test.js: Added.
2693         (load):
2694         * ArrayLangRI/Type.js: Added.
2695         (Type.prototype.get typeParameters):
2696         (Type.prototype.get kind):
2697         (Type.prototype.inherits):
2698         (Type.prototype.get instantiatedType):
2699         (Type):
2700         * ArrayLangRI/TypeDef.js: Added.
2701         (TypeDef):
2702         (TypeDef.prototype.get origin):
2703         (TypeDef.prototype.get name):
2704         (TypeDef.prototype.get typeParameters):
2705         (TypeDef.prototype.get type):
2706         * ArrayLangRI/TypeDefResolver.js: Added.
2707         (TypeDefResolver):
2708         (TypeDefResolver.prototype.visitTypeRef):
2709         * ArrayLangRI/TypeOrVariableRef.js: Added.
2710         (TypeOrVariableRef):
2711         (TypeOrVariableRef.prototype.get origin):
2712         (TypeOrVariableRef.prototype.get name):
2713         (TypeOrVariableRef.prototype.toString):
2714         * ArrayLangRI/TypeRef.js: Added.
2715         (TypeRef):
2716         (TypeRef.wrap):
2717         (TypeRef.prototype.get origin):
2718         (TypeRef.prototype.get name):
2719         (TypeRef.prototype.get typeArguments):
2720         (TypeRef.prototype.get isPrimitive):
2721         (TypeRef.prototype.get instantiatedType):
2722         (TypeRef.prototype.get unifyNode):
2723         (TypeRef.prototype.populateDefaultValue):
2724         (TypeRef.prototype.get size):
2725         (TypeRef.prototype.setTypeAndArguments):
2726         (TypeRef.prototype.unifyImpl):
2727         (TypeRef.prototype.toString):
2728         * ArrayLangRI/TypeVariable.js: Added.
2729         (TypeVariable):
2730         (TypeVariable.prototype.get name):
2731         (TypeVariable.prototype.get protocol):
2732         (TypeVariable.prototype.get isPrimitive):
2733         (TypeVariable.prototype.get isUnifiable):
2734         (TypeVariable.prototype.inherits):
2735         (TypeVariable.prototype.typeVariableUnify):
2736         (TypeVariable.prototype.unifyImpl):
2737         (TypeVariable.prototype.verifyAsArgument):
2738         (TypeVariable.prototype.verifyAsParameter):
2739         (TypeVariable.prototype.toString):
2740         * ArrayLangRI/UnificationContext.js: Added.
2741         (UnificationContext):
2742         (UnificationContext.prototype.union):
2743         (UnificationContext.prototype.find):
2744         (UnificationContext.prototype.get nodes):
2745         (UnificationContext.prototype.verify):
2746         (UnificationContext.prototype.isUnunified):
2747         * ArrayLangRI/Value.js: Added.
2748         (Value.prototype.get kind):
2749         (Value.prototype.get isConstexpr):
2750         (Value):
2751         * ArrayLangRI/VariableDecl.js: Added.
2752         (VariableDecl):
2753         (VariableDecl.prototype.get origin):
2754         (VariableDecl.prototype.get name):
2755         (VariableDecl.prototype.get type):
2756         (VariableDecl.prototype.get initializer):
2757         (VariableDecl.prototype.toString):
2758         * ArrayLangRI/VariableRef.js: Added.
2759         (VariableRef):
2760         (VariableRef.prototype.get name):
2761         (VariableRef.prototype.get isConstexpr):
2762         (VariableRef.prototype.get unifyNode):
2763         (VariableRef.prototype.toString):
2764         * ArrayLangRI/VisitingSet.js: Added.
2765         (VisitingSet):
2766         (VisitingSet.prototype.doVisit):
2767         * ArrayLangRI/Visitor.js: Added.
2768         (Visitor.prototype.visitProgram):
2769         (Visitor.prototype.visitFunc):
2770         (Visitor.prototype.visitFuncParameter):
2771         (Visitor.prototype.visitFuncDef):
2772         (Visitor.prototype.visitNativeFunc):
2773         (Visitor.prototype.visitBlock):
2774         (Visitor.prototype.visitCommaExpression):
2775         (Visitor.prototype.visitProtocolRef):
2776         (Visitor.prototype.visitProtocolDecl):
2777         (Visitor.prototype.visitTypeRef):
2778         (Visitor.prototype.visitNativeType):
2779         (Visitor.prototype.visitTypeDef):
2780         (Visitor.prototype.visitStructType):
2781         (Visitor.prototype.visitTypeVariable):
2782         (Visitor.prototype.visitConstexprTypeParameter):
2783         (Visitor.prototype.visitField):
2784         (Visitor.prototype.visitElementalType):
2785         (Visitor.prototype.visitPtrType):
2786         (Visitor.prototype.visitArrayRefType):
2787         (Visitor.prototype.visitArrayType):
2788         (Visitor.prototype.visitAssignment):
2789         (Visitor.prototype.visitVariableRef):
2790         (Visitor.prototype.visitReturn):
2791         (Visitor.prototype.visitIntLiteral):
2792         (Visitor.prototype.visitCallExpression):
2793         (Visitor.prototype.visitFunctionLikeBlock):
2794         (Visitor):
2795
2796 2017-08-30  Stephan Szabo  <stephan.szabo@sony.com>
2797
2798         [Win][JSCOnly] Support running JSC tests for win-cairo from windows command prompt
2799         https://bugs.webkit.org/show_bug.cgi?id=174985
2800
2801         Reviewed by Keith Miller.
2802
2803         * Scripts/run-javascriptcore-tests:
2804         * Scripts/run-jsc-stress-tests:
2805         * Scripts/webkitruby/jsc-stress-test-writer-default.rb:
2806         * Scripts/webkitruby/jsc-stress-test-writer-ruby.rb: Added.
2807
2808 2017-08-30  Adrian Perez de Castro  <aperez@igalia.com>
2809
2810         [GTK] Do not use autogen whenever possible in JHBuild modules
2811         https://bugs.webkit.org/show_bug.cgi?id=176098
2812
2813         Reviewed by Carlos Alberto Lopez Perez.
2814
2815         * gtk/jhbuild.modules: Added autogen-sh="configure" attributes for many Autootools modules.
2816
2817 2017-08-30  Tomas Popela  <tpopela@redhat.com>
2818
2819         [GTK] Avoid building fontconfig documentation in jhbuild
2820         https://bugs.webkit.org/show_bug.cgi?id=176097
2821
2822         Reviewed by Carlos Alberto Lopez Perez.
2823
2824         Disable building fontconfig documentation in jhbuild as it needs the
2825         docbook-utils-pdf package installed which depends on quite a few
2826         packages (on Fedora it's 226 packages (mostly textlive) with installed
2827         size of 274 MB). The documentation is not needed at all in jhbuild, so
2828         disable it to save some bandwidth and disc space.
2829
2830         * gtk/install-dependencies: Pass --disable-docs to fontconfig.
2831         * gtk/jhbuild.modules: Don't install docbook-utils-pdf on Fedora.
2832
2833 2017-08-30  Tomas Popela  <tpopela@redhat.com>
2834
2835         Unreviewed, remove trailing space
2836
2837         * gtk/jhbuildrc:
2838
2839 2017-08-29  Carlos Garcia Campos  <cgarcia@igalia.com>
2840
2841         REGRESSION(r221064): [GTK] Editor not correctly working after r221064
2842         https://bugs.webkit.org/show_bug.cgi?id=176052
2843
2844         Reviewed by Michael Catanzaro.
2845
2846         Run the test inside a window to ensure display updates happen.
2847
2848         * TestWebKitAPI/Tests/WebKitGtk/TestWebViewEditor.cpp:
2849         (testWebViewEditorEditorStateTypingAttributes):
2850
2851 2017-08-29  Don Olmstead  <don.olmstead@sony.com>
2852
2853         [CMake] Use find_package for zlib
2854         https://bugs.webkit.org/show_bug.cgi?id=176075
2855
2856         Reviewed by Alex Christensen.
2857
2858         * TestWebKitAPI/PlatformWin.cmake:
2859
2860 2017-08-29  Brent Fulgham  <bfulgham@apple.com>
2861
2862         ResourceLoadStatistics logic does not understand custom WebsiteData stores
2863         https://bugs.webkit.org/show_bug.cgi?id=176037
2864         <rdar://problem/33338238>
2865
2866         Reviewed by Alex Christensen.
2867
2868         * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm:
2869         (TEST): Update for ResourceLoadStatistics directories.
2870
2871 2017-08-29  Brady Eidson  <beidson@apple.com>
2872
2873         Rename "potentionally trustworthy" to "potentially trustworthy"
2874         https://bugs.webkit.org/show_bug.cgi?id=176081
2875
2876         Reviewed by Daniel Bates.
2877
2878         * TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp:
2879         (TestWebKitAPI::TEST_F):
2880
2881 2017-08-29  Stephan Szabo  <stephan.szabo@sony.com>
2882
2883         [Win][JSCOnly] Fix call for updating wincairo-libs in build-jsc
2884         https://bugs.webkit.org/show_bug.cgi?id=176080
2885
2886         Reviewed by Brent Fulgham.
2887
2888         * Scripts/build-jsc:
2889
2890 2017-08-29  Adrian Perez de Castro  <aperez@igalia.com>
2891
2892         [WPE] Avoid using autogen for JHBuild modules, trying to fix the EWS
2893
2894         Unreviewed build fix.
2895
2896         This also makes the JHBuild process faster, because there are less
2897         modules which will trigger slow, ancient Perl and M4 based tooling.
2898
2899         * wpe/jhbuild.modules:
2900
2901 2017-08-29  Don Olmstead  <don.olmstead@sony.com>
2902
2903         [CMake] Use find_package for libxml2 and libxstl
2904         https://bugs.webkit.org/show_bug.cgi?id=176042
2905
2906         Reviewed by Konstantin Tokarev.
2907
2908         * TestWebKitAPI/PlatformWin.cmake:
2909
2910 2017-08-29  Per Arne Vollan  <pvollan@apple.com>
2911
2912         [Win] A WTF test is timing out in run-api-tests.
2913         https://bugs.webkit.org/show_bug.cgi?id=176056
2914
2915         Reviewed by Brent Fulgham.
2916
2917         The test SynchronizedFixedQueue.ProduceOnly relies on that putting a thread to sleep for
2918         1ms will wake it up before another thread which is put to sleep for 10ms. I believe this
2919         is not neccessarily true on Windows where the thread scheduling does not have millisecond
2920         accuracy. Fix the test timeout by adjusting the sleep time slightly.
2921  
2922         * TestWebKitAPI/Tests/WTF/SynchronizedFixedQueue.cpp:
2923         (TestWebKitAPI::ToUpperConverter::startProducing):
2924
2925 2017-08-29  Eric Carlson  <eric.carlson@apple.com>
2926
2927         Unreviewed, update my watchlist filters.
2928
2929         * Scripts/webkitpy/common/config/watchlist:
2930
2931 2017-08-29  Carlos Garcia Campos  <cgarcia@igalia.com>
2932
2933         Unreviewed. REGRESSION(r221219): Fix unit tests using resources from WebKit directory.
2934
2935         The WebKit2 directory was renamed as WebKit in r221219, but neither run-gtk-tests script nor
2936         Test::getResourcesDir() were updated to use the new name.
2937
2938         * Scripts/run-gtk-tests:
2939         (TestRunner._setup_testing_environment):
2940         * TestWebKitAPI/glib/WebKitGLib/TestMain.h:
2941         (Test::getResourcesDir):
2942
2943 2017-08-28  Eric Carlson  <eric.carlson@apple.com>
2944
2945         Logger should use makeString instead of String::format
2946         https://bugs.webkit.org/show_bug.cgi?id=176035
2947
2948         Reviewed by Jer Noble.
2949
2950         * TestWebKitAPI/Tests/WebCore/Logging.cpp:
2951         (TestWebKitAPI::TEST_F): Update test.
2952
2953 2017-08-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2954
2955         [GStreamer] The glvideoflip GStreamer element isn't available. Video mirroring and rotation functionalities are thus disabled.
2956         https://bugs.webkit.org/show_bug.cgi?id=175576
2957
2958         Reviewed by Carlos Alberto Lopez Perez.
2959
2960         Build graphene to enable the glvideoflip element.
2961
2962         * gstreamer/jhbuild.modules:
2963         * gtk/jhbuild.modules:
2964         * jhbuild/jhbuild-wrapper:
2965         * wpe/jhbuild.modules:
2966
2967 2017-08-28  Ms2ger  <Ms2ger@gmail.com>
2968
2969         Ensure that the alert function is called in TestWebExtensions.
2970         https://bugs.webkit.org/show_bug.cgi?id=175880
2971
2972         Reviewed by Carlos Garcia Campos.
2973
2974         The test relied on a bug in the HTMLDocument JavaScript bindings: when calling
2975         document.open() with three arguments, it would call any function set as the
2976         "open" property on the window object, rather than just the real Window::open()
2977         method. This bug was fixed by the removal of custom bindings for HTMLDocument
2978         in r218437. As a result, the test no longer called alert(), which caused it to
2979         fail.
2980
2981         Instead, call the window.open() function directly.
2982
2983         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
2984         (testWebExtensionIsolatedWorld):
2985
2986 2017-08-27  Wenson Hsieh  <wenson_hsieh@apple.com>
2987
2988         Picking an emoji via the emoji dialog (Ctrl+Cmd+Space) fires inconsistent beforeinput events.
2989         https://bugs.webkit.org/show_bug.cgi?id=170955
2990         <rdar://problem/31697653>
2991
2992         Reviewed by Ryosuke Niwa.
2993
2994         Replace UIScriptController.insertText with UIScriptController.replaceTextAtRange, and implement
2995         replaceTextAtRange in WebKit1. See corresponding layout tests (input-event-insert-replacement.html and
2996         before-input-prevent-insert-replacement.html) for more detail.
2997
2998         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2999         * DumpRenderTree/mac/AppKitTestSPI.h: Added.
3000
3001         Introduce an SPI header for private AppKit headers needed to support DumpRenderTree.
3002
3003         * DumpRenderTree/mac/UIScriptControllerMac.mm:
3004         (WTR::UIScriptController::replaceTextAtRange):
3005         (WTR::UIScriptController::insertText): Deleted.
3006         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
3007         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
3008         (WTR::UIScriptController::replaceTextAtRange):
3009         (WTR::UIScriptController::insertText): Deleted.
3010         * TestRunnerShared/UIScriptContext/UIScriptController.h:
3011         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
3012         (WTR::UIScriptController::replaceTextAtRange):
3013         (WTR::UIScriptController::insertText): Deleted.
3014
3015         Replace UIScriptController.insertText with UIScriptController.replaceTextAtRange, which better describes the
3016         behavior of this function.
3017
3018 2017-08-27  Wenson Hsieh  <wenson_hsieh@apple.com>
3019
3020         [iOS WK2] Web process crashes after changing selection to the end of the document when speaking a selection
3021         https://bugs.webkit.org/show_bug.cgi?id=176011
3022         <rdar://problem/32614095>
3023
3024         Reviewed by Ryosuke Niwa.
3025
3026         Introduces AccessibilityTests, and adds three new tests that traverse selection-rect-finding codepaths when
3027         speaking selected content. See WebKit and WebCore ChangeLogs for more detail.
3028
3029         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3030         * TestWebKitAPI/Tests/ios/AccessibilityTestsIOS.mm: Added.
3031         (-[WKWebView rectsAtSelectionOffset:withText:]):
3032         (checkCGRectValueAtIndex):
3033         (TestWebKitAPI::TEST):
3034
3035 2017-08-25  Eric Carlson  <eric.carlson@apple.com>
3036
3037         Add Logger::logAlways
3038         https://bugs.webkit.org/show_bug.cgi?id=175996
3039
3040         Reviewed by Jer Noble.
3041
3042         * TestWebKitAPI/Tests/WebCore/Logging.cpp:
3043         (TestWebKitAPI::TEST_F):
3044
3045 2017-08-25  Alex Christensen  <achristensen@webkit.org>
3046
3047         Disable saveDataToFile API test.
3048         https://bugs.webkit.org/show_bug.cgi?id=176000
3049
3050         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
3051         The test was only working on High Sierra.  It needs investigation on older operating systems.
3052
3053 2017-08-25  Alex Christensen  <achristensen@webkit.org>
3054
3055         Rename TestWebKitAPI/Tests/WebKit2* to WebKit* following Source directory rename.
3056
3057         Rubber-stamped by Brady Eidson.
3058
3059         * TestWebKitAPI/PlatformGTK.cmake:
3060         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3061         * TestWebKitAPI/Tests/WebKit2Cocoa: Removed.
3062         * TestWebKitAPI/Tests/WebKit2Cocoa/AdditionalReadAccessAllowedURLs.mm: Removed.
3063         * TestWebKitAPI/Tests/WebKit2Cocoa/AdditionalReadAccessAllowedURLsPlugin.mm: Removed.
3064         * TestWebKitAPI/Tests/WebKit2Cocoa/AdditionalReadAccessAllowedURLsProtocol.h: Removed.
3065         * TestWebKitAPI/Tests/WebKit2Cocoa/AllAhem.svg: Removed.
3066         * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm: Removed.
3067         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm: Removed.
3068         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db: Removed.
3069         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db-shm: Removed.
3070         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db-wal: Removed.
3071         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm: Removed.
3072         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegate.mm: Removed.
3073         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegatePlugIn.mm: Removed.
3074         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegateProtocol.h: Removed.
3075         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParameters.mm: Removed.
3076         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParametersPlugIn.mm: Removed.
3077         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleRangeHandle.mm: Removed.
3078         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleRangeHandlePlugIn.mm: Removed.
3079         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleRangeHandleProtocol.h: Removed.
3080         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresource.mm: Removed.
3081         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresourcePlugIn.mm: Removed.
3082         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm: Removed.
3083         * TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm: Removed.
3084         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.h: Removed.
3085         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.html: Removed.
3086         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm: Removed.
3087         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm: Removed.
3088         * TestWebKitAPI/Tests/WebKit2Cocoa/CookieAcceptPolicy.mm: Removed.
3089         * TestWebKitAPI/Tests/WebKit2Cocoa/CookieMessage.html: Removed.
3090         * TestWebKitAPI/Tests/WebKit2Cocoa/Copying.mm: Removed.
3091         * TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm: Removed.
3092         * TestWebKitAPI/Tests/WebKit2Cocoa/DecidePolicyForNavigationAction.mm: Removed.
3093         * TestWebKitAPI/Tests/WebKit2Cocoa/DoAfterNextPresentationUpdateAfterCrash.mm: Removed.
3094         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm: Removed.
3095         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestBlobURL.html: Removed.
3096         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURL.html: Removed.
3097         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURL2.html: Removed.
3098         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURLFrame.html: Removed.
3099         * TestWebKitAPI/Tests/WebKit2Cocoa/DuplicateCompletionHandlerCalls.mm: Removed.
3100         * TestWebKitAPI/Tests/WebKit2Cocoa/EditorStateTests.mm: Removed.
3101         * TestWebKitAPI/Tests/WebKit2Cocoa/EmptyGrandfatheredResourceLoadStatistics.plist: Removed.
3102         * TestWebKitAPI/Tests/WebKit2Cocoa/FindInPage.mm: Removed.
3103         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Removed.
3104         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenDelegate.html: Removed.
3105         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenDelegate.mm: Removed.
3106         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenLayoutConstraints.html: Removed.
3107         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenLayoutConstraints.mm: Removed.
3108         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.html: Removed.
3109         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm: Removed.
3110         * TestWebKitAPI/Tests/WebKit2Cocoa/Geolocation.mm: Removed.
3111         * TestWebKitAPI/Tests/WebKit2Cocoa/GeolocationGetCurrentPositionResult.html: Removed.
3112         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.html: Removed.
3113         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.mm: Removed.
3114         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3: Removed.
3115         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3-shm: Removed.
3116         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3-wal: Removed.
3117         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.html: Removed.
3118         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.mm: Removed.
3119         * TestWebKitAPI/Tests/WebKit2Cocoa/IconLoadingDelegate.mm: Removed.
3120         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexUpgrade.blob: Removed.
3121         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexUpgrade.sqlite3: Removed.
3122         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill-1.html: Removed.
3123         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm: Removed.
3124         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-1.html: Removed.
3125         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-2.html: Removed.
3126         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-3.html: Removed.
3127         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm: Removed.
3128         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-1.html: Removed.
3129         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-2.html: Removed.
3130         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm: Removed.
3131         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.mm: Removed.
3132         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3: Removed.
3133         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3-shm: Removed.
3134         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3-wal: Removed.
3135         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibilityRead.html: Removed.
3136         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibilityWrite.html: Removed.
3137         * TestWebKitAPI/Tests/WebKit2Cocoa/InitialWarmedProcessUsed.mm: Removed.
3138         * TestWebKitAPI/Tests/WebKit2Cocoa/InteractionDeadlockAfterCrash.mm: Removed.
3139         * TestWebKitAPI/Tests/WebKit2Cocoa/LineBreaking.html: Removed.
3140         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadAlternateHTMLString.mm: Removed.
3141         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadDataWithNilMIMEType.mm: Removed.
3142         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm: Removed.
3143         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.html: Removed.
3144         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm: Removed.
3145         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.html: Removed.
3146         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.localstorage: Removed.
3147         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.localstorage-shm: Removed.
3148         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.mm: Removed.
3149         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageQuirkEnabled.html: Removed.
3150         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageQuirkTest.mm: Removed.
3151         * TestWebKitAPI/Tests/WebKit2Cocoa/ModalAlerts.mm: Removed.
3152         * TestWebKitAPI/Tests/WebKit2Cocoa/NSFileManagerExtras.mm: Removed.
3153         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm: Removed.
3154         * TestWebKitAPI/Tests/WebKit2Cocoa/NowPlayingControlsTests.mm: Removed.
3155         * TestWebKitAPI/Tests/WebKit2Cocoa/ObservedRenderingProgressEventsAfterCrash.mm: Removed.
3156         * TestWebKitAPI/Tests/WebKit2Cocoa/OpenAndCloseWindow.mm: Removed.
3157         * TestWebKitAPI/Tests/WebKit2Cocoa/OverrideContentSecurityPolicy.mm: Removed.
3158         * TestWebKitAPI/Tests/WebKit2Cocoa/PictureInPictureDelegate.html: Removed.
3159         * TestWebKitAPI/Tests/WebKit2Cocoa/PictureInPictureDelegate.mm: Removed.
3160         * TestWebKitAPI/Tests/WebKit2Cocoa/PluginLoadClientPolicies.mm: Removed.
3161         * TestWebKitAPI/Tests/WebKit2Cocoa/Preferences.mm: Removed.
3162         * TestWebKitAPI/Tests/WebKit2Cocoa/PrepareForMoveToWindow.mm: Removed.
3163         * TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLNotChange.mm: Removed.
3164         * TestWebKitAPI/Tests/WebKit2Cocoa/QuickLook.mm: Removed.
3165         * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.h: Removed.
3166         * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.mm: Removed.
3167         * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistryPlugIn.mm: Removed.
3168         * TestWebKitAPI/Tests/WebKit2Cocoa/RenderedImageWithOptions.mm: Removed.
3169         * TestWebKitAPI/Tests/WebKit2Cocoa/RenderedImageWithOptionsPlugIn.mm: Removed.
3170         * TestWebKitAPI/Tests/WebKit2Cocoa/RenderedImageWithOptionsProtocol.h: Removed.
3171         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm: Removed.
3172         * TestWebKitAPI/Tests/WebKit2Cocoa/ResourceLoadStatistics.mm: Removed.
3173         * TestWebKitAPI/Tests/WebKit2Cocoa/RunOpenPanel.mm: Removed.
3174         * TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm: Removed.
3175         * TestWebKitAPI/Tests/WebKit2Cocoa/ShrinkToFit.mm: Removed.
3176         * TestWebKitAPI/Tests/WebKit2Cocoa/SnapshotStore.mm: Removed.
3177         * TestWebKitAPI/Tests/WebKit2Cocoa/StoreBlobThenDelete.mm: Removed.
3178         * TestWebKitAPI/Tests/WebKit2Cocoa/StoreBlobToBeDeleted.html: Removed.
3179         * TestWebKitAPI/Tests/WebKit2Cocoa/UIDelegate.mm: Removed.
3180         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm: Removed.
3181         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentWorld.mm: Removed.
3182         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentWorldPlugIn.mm: Removed.
3183         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentWorldProtocol.h: Removed.
3184         * TestWebKitAPI/Tests/WebKit2Cocoa/UserInitiatedActionInNavigationAction.mm: Removed.
3185         * TestWebKitAPI/Tests/WebKit2Cocoa/UserMediaDisabled.mm: Removed.
3186         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm: Removed.
3187         * TestWebKitAPI/Tests/WebKit2Cocoa/VisibleContentRect.mm: Removed.
3188         * TestWebKitAPI/Tests/WebKit2Cocoa/WKContentExtensionStore.mm: Removed.
3189         * TestWebKitAPI/Tests/WebKit2Cocoa/WKContentViewEditingActions.mm: Removed.
3190         * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm: Removed.
3191         * TestWebKitAPI/Tests/WebKit2Cocoa/WKNSNumber.mm: Removed.
3192         * TestWebKitAPI/Tests/WebKit2Cocoa/WKObject.mm: Removed.
3193         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFView.mm: Removed.
3194         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewResizeCrash.mm: Removed.
3195         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewStablePresentationUpdateCallback.mm: Removed.
3196         * TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm: Removed.
3197         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm: Removed.
3198         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-leaks.mm: Removed.
3199         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm: Removed.
3200         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDefaultNavigationDelegate.mm: Removed.
3201         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDiagnosticLogging.mm: Removed.
3202         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDoesNotLogDuringInitialization.mm: Removed.
3203         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm: Removed.
3204         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewGetContents.mm: Removed.
3205         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewSnapshot.mm: Removed.
3206         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewTextInput.mm: Removed.
3207         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup-1.html: Removed.
3208         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup-2.html: Removed.
3209         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm: Removed.
3210         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.html: Removed.
3211         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.mm: Removed.
3212         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm: Removed.
3213         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm: Removed.
3214         * TestWebKitAPI/Tests/WebKit2Cocoa/apple.gif: Removed.
3215         * TestWebKitAPI/Tests/WebKit2Cocoa/attachment-element.html: Removed.
3216         * TestWebKitAPI/Tests/WebKit2Cocoa/autofocus-contenteditable.html: Removed.
3217         * TestWebKitAPI/Tests/WebKit2Cocoa/autofocused-text-input.html: Removed.
3218         * TestWebKitAPI/Tests/WebKit2Cocoa/autoplaying-video-with-audio.html: Removed.
3219         * TestWebKitAPI/Tests/WebKit2Cocoa/background-image-link-and-input.html: Removed.
3220         * TestWebKitAPI/Tests/WebKit2Cocoa/blinking-div.html: Removed.
3221         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-click.html: Removed.
3222         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-end.html: Removed.
3223         * TestWebKitAPI/Tests/WebKit2Cocoa/compressed-files.zip: Removed.
3224         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-and-target.html: Removed.
3225         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-and-textarea.html: Removed.
3226         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-in-iframe.html: Removed.
3227         * TestWebKitAPI/Tests/WebKit2Cocoa/disableGetUserMedia.html: Removed.
3228         * TestWebKitAPI/Tests/WebKit2Cocoa/div-and-large-image.html: Removed.
3229         * TestWebKitAPI/Tests/WebKit2Cocoa/double-click-does-not-select-trailing-space.html: Removed.
3230         * TestWebKitAPI/Tests/WebKit2Cocoa/dragstart-change-selection-offscreen.html: Removed.
3231         * TestWebKitAPI/Tests/WebKit2Cocoa/dragstart-clear-selection.html: Removed.
3232         * TestWebKitAPI/Tests/WebKit2Cocoa/duplicate-completion-handler-calls.html: Removed.
3233         * TestWebKitAPI/Tests/WebKit2Cocoa/editable-body.html: Removed.
3234         * TestWebKitAPI/Tests/WebKit2Cocoa/editor-state-test-harness.html: Removed.
3235         * TestWebKitAPI/Tests/WebKit2Cocoa/enormous-video-with-sound.html: Removed.
3236         * TestWebKitAPI/Tests/WebKit2Cocoa/enormous.svg: Removed.
3237         * TestWebKitAPI/Tests/WebKit2Cocoa/file-uploading.html: Removed.
3238         * TestWebKitAPI/Tests/WebKit2Cocoa/focus-inputs.html: Removed.
3239         * TestWebKitAPI/Tests/WebKit2Cocoa/full-size-autoplaying-video-with-audio.html: Removed.
3240         * TestWebKitAPI/Tests/WebKit2Cocoa/gif-and-file-input.html: Removed.
3241         * TestWebKitAPI/Tests/WebKit2Cocoa/image-and-contenteditable.html: Removed.
3242         * TestWebKitAPI/Tests/WebKit2Cocoa/image-and-textarea.html: Removed.
3243         * TestWebKitAPI/Tests/WebKit2Cocoa/image-in-link-and-input.html: Removed.
3244         * TestWebKitAPI/Tests/WebKit2Cocoa/image-map.html: Removed.
3245         * TestWebKitAPI/Tests/WebKit2Cocoa/input-field-in-scrollable-document.html: Removed.
3246         * TestWebKitAPI/Tests/WebKit2Cocoa/large-input-field-focus-onload.html: Removed.
3247         * TestWebKitAPI/Tests/WebKit2Cocoa/large-red-square.png: Removed.
3248         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-hides-controls-after-seek-to-end.html: Removed.
3249         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-mutes-onplaying.html: Removed.
3250         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-offscreen.html: Removed.
3251         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-playing-scroll-away.html: Removed.
3252         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-after-ending.html: Removed.
3253         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-to-beginning-and-play-after-ending.html: Removed.
3254         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-test-now-playing.html: Removed.
3255         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html: Removed.
3256         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.mp4: Removed.
3257         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-without-audio.html: Removed.
3258         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-click-to-pause.html: Removed.
3259         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-scroll-to-video.html: Removed.
3260         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-paused-video-hides-controls.html: Removed.
3261         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-muted-video-hides-controls.html: Removed.
3262         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-video-keeps-controls.html: Removed.
3263         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio-autoplay.html: Removed.
3264         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio.html: Removed.
3265         * TestWebKitAPI/Tests/WebKit2Cocoa/link-and-input.html: Removed.
3266         * TestWebKitAPI/Tests/WebKit2Cocoa/link-and-target-div.html: Removed.
3267         * TestWebKitAPI/Tests/WebKit2Cocoa/offscreen-iframe-of-media-document.html: Removed.
3268         * TestWebKitAPI/Tests/WebKit2Cocoa/open-multiple-external-url.html: Removed.
3269         * TestWebKitAPI/Tests/WebKit2Cocoa/page-with-csp-iframe.html: Removed.
3270         * TestWebKitAPI/Tests/WebKit2Cocoa/page-with-csp.html: Removed.
3271         * TestWebKitAPI/Tests/WebKit2Cocoa/page-without-csp-iframe.html: Removed.
3272         * TestWebKitAPI/Tests/WebKit2Cocoa/page-without-csp.html: Removed.
3273         * TestWebKitAPI/Tests/WebKit2Cocoa/password-protected.pages: Removed.
3274         * TestWebKitAPI/Tests/WebKit2Cocoa/play-audio-on-click.html: Removed.
3275         * TestWebKitAPI/Tests/WebKit2Cocoa/prevent-operation.html: Removed.
3276         * TestWebKitAPI/Tests/WebKit2Cocoa/prevent-start.html: Removed.
3277         * TestWebKitAPI/Tests/WebKit2Cocoa/rendered-image-excluding-overflow.html: Removed.
3278         * TestWebKitAPI/Tests/WebKit2Cocoa/rich-and-plain-text.html: Removed.
3279         * TestWebKitAPI/Tests/WebKit2Cocoa/silence-long.m4a: Removed.
3280         * TestWebKitAPI/Tests/WebKit2Cocoa/skinny-autoplaying-video-with-audio.html: Removed.
3281         * TestWebKitAPI/Tests/WebKit2Cocoa/text-and-password-inputs.html: Removed.
3282         * TestWebKitAPI/Tests/WebKit2Cocoa/textarea-to-input.html: Removed.
3283         * TestWebKitAPI/Tests/WebKit2Cocoa/two-paragraph-contenteditable.html: Removed.
3284         * TestWebKitAPI/Tests/WebKit2Cocoa/wide-autoplaying-video-with-audio.html: Removed.
3285         * TestWebKitAPI/Tests/WebKit2Gtk: Removed.
3286         * TestWebKitAPI/Tests/WebKit2Gtk/AccessibilityTestServer.cpp: Removed.
3287         * TestWebKitAPI/Tests/WebKit2Gtk/AutocleanupsTest.cpp: Removed.
3288         * TestWebKitAPI/Tests/WebKit2Gtk/DOMClientRectTest.cpp: Removed.
3289         * TestWebKitAPI/Tests/WebKit2Gtk/DOMDOMWindowTest.cpp: Removed.
3290         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp: Removed.
3291         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp: Removed.
3292         * TestWebKitAPI/Tests/WebKit2Gtk/DOMXPathNSResolverTest.cpp: Removed.
3293         * TestWebKitAPI/Tests/WebKit2Gtk/EditorTest.cpp: Removed.
3294         * TestWebKitAPI/Tests/WebKit2Gtk/InspectorTestServer.cpp: Removed.
3295         * TestWebKitAPI/Tests/WebKit2Gtk/TestAutocleanups.cpp: Removed.
3296         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp: Removed.
3297         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMClientRect.cpp: Removed.
3298         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMDOMWindow.cpp: Removed.
3299         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp: Removed.
3300         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNodeFilter.cpp: Removed.
3301         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMXPathNSResolver.cpp: Removed.
3302         * TestWebKitAPI/Tests/WebKit2Gtk/TestEditor.cpp: Removed.
3303         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspector.cpp: Removed.
3304         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp: Removed.
3305         * TestWebKitAPI/Tests/WebKit2Gtk/TestOptionMenu.cpp: Removed.
3306         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp: Removed.
3307         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitAccessibility.cpp: Removed.
3308         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitVersion.cpp: Removed.
3309         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp: Removed.
3310         * TestWebKitAPI/Tests/WebKit2ObjC: Removed.
3311         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm: Removed.
3312         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme_Bundle.cpp: Removed.
3313         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm: Removed.
3314         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm: Removed.
3315         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing_Bundle.cpp: Removed.
3316         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm: Removed.
3317         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextGroupTest.mm: Removed.
3318         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextLoadDelegateTest.mm: Removed.
3319         * TestWebKitAPI/Tests/WebKitCocoa: Copied from TestWebKitAPI/Tests/WebKit2Cocoa.
3320         * TestWebKitAPI/Tests/WebKitGtk: Copied from TestWebKitAPI/Tests/WebKit2Gtk.
3321         * TestWebKitAPI/Tests/WebKitObjC: Copied from TestWebKitAPI/Tests/WebKit2ObjC.
3322         * TestWebKitAPI/glib/PlatformGTK.cmake:
3323
3324 2017-08-25  Alex Christensen  <achristensen@webkit.org>
3325
3326         Rename TestWebKitAPI/Tests/WebKit2 to WebKit following Source directory rename.
3327
3328         Rubber-stamped by Brady Eidson.
3329
3330         * TestWebKitAPI/CMakeLists.txt:
3331         * TestWebKitAPI/PlatformGTK.cmake:
3332         * TestWebKitAPI/PlatformWin.cmake:
3333         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3334         * TestWebKitAPI/Tests/WebKit: Copied from TestWebKitAPI/Tests/WebKit2.
3335         * TestWebKitAPI/Tests/WebKit2: Removed.
3336         * TestWebKitAPI/Tests/WebKit2/18-characters.html: Removed.
3337         * TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp: Removed.
3338         * TestWebKitAPI/Tests/WebKit2/Ahem.ttf: Removed.
3339         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp: Removed.
3340         * TestWebKitAPI/Tests/WebKit2/CanHandleRequest_Bundle.cpp: Removed.
3341         * TestWebKitAPI/Tests/WebKit2/CloseFromWithinCreatePage.cpp: Removed.
3342         * TestWebKitAPI/Tests/WebKit2/CloseThenTerminate.cpp: Removed.
3343         * TestWebKitAPI/Tests/WebKit2/CookieManager.cpp: Removed.
3344         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic.cpp: Removed.
3345         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp: Removed.
3346         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache.cpp: Removed.
3347         * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp: Removed.
3348         * TestWebKitAPI/Tests/WebKit2/DeferredViewInWindowStateChange.mm: Removed.
3349         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls.cpp: Removed.
3350         * TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp: Removed.
3351         * TestWebKitAPI/Tests/WebKit2/DidNotHandleKeyDown.cpp: Removed.
3352         * TestWebKitAPI/Tests/WebKit2/DidRemoveFrameFromHiearchyInPageCache.cpp: Removed.
3353         * TestWebKitAPI/Tests/WebKit2/DidRemoveFrameFromHiearchyInPageCache_Bundle.cpp: Removed.
3354         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp: Removed.
3355         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp: Removed.
3356         * TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp: Removed.
3357         * TestWebKitAPI/Tests/WebKit2/EnumerateMediaDevices.cpp: Removed.
3358         * TestWebKitAPI/Tests/WebKit2/EnvironmentUtilitiesTest.cpp: Removed.
3359         * TestWebKitAPI/Tests/WebKit2/EphemeralSessionPushStateNoHistoryCallback.cpp: Removed.
3360         * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp: Removed.
3361         * TestWebKitAPI/Tests/WebKit2/EventModifiers.cpp: Removed.
3362         * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp: Removed.
3363         * TestWebKitAPI/Tests/WebKit2/Find.cpp: Removed.
3364         * TestWebKitAPI/Tests/WebKit2/FindMatches.mm: Removed.
3365         * TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp: Removed.
3366         * TestWebKitAPI/Tests/WebKit2/FrameHandle.cpp: Removed.
3367         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp: Removed.
3368         * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp: Removed.
3369         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp: Removed.
3370         * TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback.cpp: Removed.
3371         * TestWebKitAPI/Tests/WebKit2/GetInjectedBundleInitializationUserDataCallback_Bundle.cpp: Removed.
3372         * TestWebKitAPI/Tests/WebKit2/GetUserMediaNavigation.mm: Removed.
3373         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp: Removed.
3374         * TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp: Removed.
3375         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp: Removed.
3376         * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp: Removed.
3377         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest.cpp: Removed.
3378         * TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp: Removed.
3379         * TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins.cpp: Removed.
3380         * TestWebKitAPI/Tests/WebKit2/InjectedBundleInitializationUserDataCallbackWins_Bundle.cpp: Removed.
3381         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakeAllShadowRootsOpen.cpp: Removed.
3382         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakeAllShadowRootsOpen_Bundle.cpp: Removed.
3383         * TestWebKitAPI/Tests/WebKit2/LayoutMilestonesWithAllContentInFrame.cpp: Removed.
3384         * TestWebKitAPI/Tests/WebKit2/LimitTitleSize.cpp: Removed.
3385         * TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp: Removed.
3386         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback.cpp: Removed.
3387         * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback_Bundle.cpp: Removed.
3388         * TestWebKitAPI/Tests/WebKit2/LoadPageOnCrash.cpp: Removed.
3389         * TestWebKitAPI/Tests/WebKit2/MediaStreamTrackDetached.mm: Removed.
3390         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp: Removed.
3391         * TestWebKitAPI/Tests/WebKit2/ModalAlertsSPI.cpp: Removed.
3392         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp: Removed.
3393         * TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash_Bundle.cpp: Removed.
3394         * TestWebKitAPI/Tests/WebKit2/NavigationClientDefaultCrypto.cpp: Removed.
3395         * TestWebKitAPI/Tests/WebKit2/NetworkProcessCrashWithPendingConnection.mm: Removed.
3396         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp: Removed.
3397         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails.cpp: Removed.
3398         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFails_Bundle.cpp: Removed.
3399         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages.cpp: Removed.
3400         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutForImages_Bundle.cpp: Removed.
3401         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames.cpp: Removed.
3402         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames_Bundle.cpp: Removed.
3403         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout_Bundle.cpp: Removed.
3404         * TestWebKitAPI/Tests/WebKit2/PageGroup.cpp: Removed.
3405         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp: Removed.
3406         * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp: Removed.
3407         * TestWebKitAPI/Tests/WebKit2/ParentFrame.cpp: Removed.
3408         * TestWebKitAPI/Tests/WebKit2/ParentFrame_Bundle.cpp: Removed.
3409         * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications.mm: Removed.
3410         * TestWebKitAPI/Tests/WebKit2/PasteboardNotifications_Bundle.cpp: Removed.
3411         * TestWebKitAPI/Tests/WebKit2/PendingAPIRequestURL.cpp: Removed.
3412         * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp: Removed.
3413         * TestWebKitAPI/Tests/WebKit2/PrivateBrowsingPushStateNoHistoryCallback.cpp: Removed.
3414         * TestWebKitAPI/Tests/WebKit2/ProcessDidTerminate.cpp: Removed.
3415         * TestWebKitAPI/Tests/WebKit2/ProvisionalURLAfterWillSendRequestCallback.cpp: Removed.
3416         * TestWebKitAPI/Tests/WebKit2/ProvisionalURLAfterWillSendRequestCallback_Bundle.cpp: Removed.
3417         * TestWebKitAPI/Tests/WebKit2/ReloadPageAfterCrash.cpp: Removed.
3418         * TestWebKitAPI/Tests/WebKit2/ResizeReversePaginatedWebView.cpp: Removed.
3419         * TestWebKitAPI/Tests/WebKit2/ResizeWindowAfterCrash.cpp: Removed.
3420         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimer.cpp: Removed.
3421         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp: Removed.
3422         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly_Bundle.cpp: Removed.
3423         * TestWebKitAPI/Tests/WebKit2/RestoreSessionState.cpp: Removed.
3424         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp: Removed.
3425         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateWithoutNavigation.cpp: Removed.
3426         * TestWebKitAPI/Tests/WebKit2/ScrollPinningBehaviors.cpp: Removed.
3427         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp: Removed.
3428         * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem_Bundle.cpp: Removed.
3429         * TestWebKitAPI/Tests/WebKit2/ShouldKeepCurrentBackForwardListItemInList.cpp: Removed.
3430         * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp: Removed.
3431         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad.cpp: Removed.
3432         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad_bundle.cpp: Removed.
3433         * TestWebKitAPI/Tests/WebKit2/TerminateTwice.cpp: Removed.
3434         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing.cpp: Removed.
3435         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing_Bundle.cpp: Removed.
3436         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp: Removed.
3437         * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp: Removed.
3438         * TestWebKitAPI/Tests/WebKit2/UserMessage_Bundle.cpp: Removed.
3439         * TestWebKitAPI/Tests/WebKit2/ViewportSizeForViewportUnits.mm: Removed.
3440         * TestWebKitAPI/Tests/WebKit2/WKBackForwardList.mm: Removed.
3441         * TestWebKitAPI/Tests/WebKit2/WKBundleFileHandle.cpp: Removed.
3442         * TestWebKitAPI/Tests/WebKit2/WKBundleFileHandle_Bundle.cpp: Removed.
3443         * TestWebKitAPI/Tests/WebKit2/WKImageCreateCGImageCrash.cpp: Removed.
3444         * TestWebKitAPI/Tests/WebKit2/WKPageConfiguration.cpp: Removed.
3445         * TestWebKitAPI/Tests/WebKit2/WKPageCopySessionStateWithFiltering.cpp: Removed.
3446         * TestWebKitAPI/Tests/WebKit2/WKPageGetScaleFactorNotZero.cpp: Removed.
3447         * TestWebKitAPI/Tests/WebKit2/WKPageIsPlayingAudio.cpp: Removed.
3448         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp: Removed.
3449         * TestWebKitAPI/Tests/WebKit2/WKRetainPtr.cpp: Removed.
3450         * TestWebKitAPI/Tests/WebKit2/WKString.cpp: Removed.
3451         * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp: Removed.
3452         * TestWebKitAPI/Tests/WebKit2/WKThumbnailView.mm: Removed.
3453         * TestWebKitAPI/Tests/WebKit2/WKURL.cpp: Removed.
3454         * TestWebKitAPI/Tests/WebKit2/WebArchive.cpp: Removed.
3455         * TestWebKitAPI/Tests/WebKit2/WebArchive_Bundle.cpp: Removed.
3456         * TestWebKitAPI/Tests/WebKit2/WebCoreStatisticsWithNoWebProcess.cpp: Removed.
3457         * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp: Removed.
3458         * TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp: Removed.
3459         * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent.cpp: Removed.
3460         * TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent_Bundle.cpp: Removed.
3461         * TestWebKitAPI/Tests/WebKit2/all-content-in-one-iframe.html: Removed.
3462         * TestWebKitAPI/Tests/WebKit2/associate-form-controls.html: Removed.
3463         * TestWebKitAPI/Tests/WebKit2/auto-submitting-form.html: Removed.
3464         * TestWebKitAPI/Tests/WebKit2/autoplay-check-frame.html: Removed.
3465         * TestWebKitAPI/Tests/WebKit2/autoplay-check-in-iframe.html: Removed.
3466         * TestWebKitAPI/Tests/WebKit2/autoplay-check.html: Removed.
3467         * TestWebKitAPI/Tests/WebKit2/autoplay-inherits-gesture-from-document.html: Removed.
3468         * TestWebKitAPI/Tests/WebKit2/autoplay-muted-with-controls.html: Removed.
3469         * TestWebKitAPI/Tests/WebKit2/autoplay-no-audio-check.html: Removed.
3470         * TestWebKitAPI/Tests/WebKit2/autoplay-with-controls.html: Removed.
3471         * TestWebKitAPI/Tests/WebKit2/autoplay-zero-volume-check.html: Removed.
3472         * TestWebKitAPI/Tests/WebKit2/bundle-file.html: Removed.
3473         * TestWebKitAPI/Tests/WebKit2/chinese-character-with-image.html: Removed.
3474         * TestWebKitAPI/Tests/WebKit2/close-from-within-create-page.html: Removed.
3475         * TestWebKitAPI/Tests/WebKit2/closed-shadow-tree-test.html: Removed.
3476         * TestWebKitAPI/Tests/WebKit2/cocoa: Removed.
3477         * TestWebKitAPI/Tests/WebKit2/cocoa/WeakObjCPtr.mm: Removed.
3478         * TestWebKitAPI/Tests/WebKit2/contentBlockerCheck.html: Removed.
3479         * TestWebKitAPI/Tests/WebKit2/custom-protocol-sync-xhr.html: Removed.
3480         * TestWebKitAPI/Tests/WebKit2/encrypted.pdf: Removed.
3481         * TestWebKitAPI/Tests/WebKit2/enumerateMediaDevices.html: Removed.
3482         * TestWebKitAPI/Tests/WebKit2/execCopy.html: Removed.
3483         * TestWebKitAPI/Tests/WebKit2/file-with-anchor.html: Removed.
3484         * TestWebKitAPI/Tests/WebKit2/file-with-mse.html: Removed.
3485         * TestWebKitAPI/Tests/WebKit2/file-with-video.html: Removed.
3486         * TestWebKitAPI/Tests/WebKit2/find.html: Removed.
3487         * TestWebKitAPI/Tests/WebKit2/findRanges.html: Removed.
3488         * TestWebKitAPI/Tests/WebKit2/geolocationGetCurrentPosition.html: Removed.
3489         * TestWebKitAPI/Tests/WebKit2/geolocationGetCurrentPositionWithHighAccuracy.html: Removed.
3490         * TestWebKitAPI/Tests/WebKit2/geolocationWatchPosition.html: Removed.
3491         * TestWebKitAPI/Tests/WebKit2/geolocationWatchPositionWithHighAccuracy.html: Removed.
3492         * TestWebKitAPI/Tests/WebKit2/getUserMedia.html: Removed.
3493         * TestWebKitAPI/Tests/WebKit2/gtk: Removed.
3494         * TestWebKitAPI/Tests/WebKit2/gtk/InputMethodFilter.cpp: Removed.
3495         * TestWebKitAPI/Tests/WebKit2/icon.png: Removed.
3496         * TestWebKitAPI/Tests/WebKit2/input-focus-blur.html: Removed.
3497         * TestWebKitAPI/Tests/WebKit2/js-autoplay-audio.html: Removed.
3498         * TestWebKitAPI/Tests/WebKit2/js-play-with-controls.html: Removed.
3499         * TestWebKitAPI/Tests/WebKit2/large-red-square-image.html: Removed.
3500         * TestWebKitAPI/Tests/WebKit2/link-with-download-attribute-with-slashes.html: Removed.
3501         * TestWebKitAPI/Tests/WebKit2/link-with-download-attribute.html: Removed.
3502         * TestWebKitAPI/Tests/WebKit2/link-with-title.html: Removed.
3503         * TestWebKitAPI/Tests/WebKit2/lots-of-iframes.html: Removed.
3504         * TestWebKitAPI/Tests/WebKit2/lots-of-images.html: Removed.
3505         * TestWebKitAPI/Tests/WebKit2/lots-of-text-vertical-lr.html: Removed.
3506         * TestWebKitAPI/Tests/WebKit2/lots-of-text.html: Removed.
3507         * TestWebKitAPI/Tests/WebKit2/mac: Removed.
3508         * TestWebKitAPI/Tests/WebKit2/mac/AttributedSubstringForProposedRangeWithImage.mm: Removed.
3509         * TestWebKitAPI/Tests/WebKit2/mac/ContextMenuDownload.mm: Removed.
3510         * TestWebKitAPI/Tests/WebKit2/mac/EditorCommands.mm: Removed.
3511         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor.mm: Removed.
3512         * TestWebKitAPI/Tests/WebKit2/mac/GetBackingScaleFactor_Bundle.mm: Removed.
3513         * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp: Removed.
3514         * TestWebKitAPI/Tests/WebKit2/mac/InjectedBundleAppleEvent.cpp: Removed.
3515         * TestWebKitAPI/Tests/WebKit2/mac/InjectedBundleAppleEvent_Bundle.cpp: Removed.
3516         * TestWebKitAPI/Tests/WebKit2/mac/RestoreStateAfterTermination.mm: Removed.
3517         * TestWebKitAPI/Tests/WebKit2/many-iframes.html: Removed.
3518         * TestWebKitAPI/Tests/WebKit2/mediastreamtrack-detached.html: Removed.
3519         * TestWebKitAPI/Tests/WebKit2/modal-alerts-in-new-about-blank-window.html: Removed.
3520         * TestWebKit