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