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