Landing optimized .png files, forgot to do it initially.
[WebKit-https.git] / Tools / ChangeLog
1 2016-09-13  Alexey Proskuryakov  <ap@apple.com>
2
3         Landing optimized .png files, forgot to do it initially.
4
5         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10.png:
6         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10@2x.png:
7         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator.png:
8         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice.png:
9         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice@2x.png:
10
11 2016-09-13  Alexey Proskuryakov  <ap@apple.com>
12
13         Switch build.webkit.org to iOS 10
14         https://bugs.webkit.org/show_bug.cgi?id=161930
15
16         Reviewed by Daniel Bates.
17
18         * BuildSlaveSupport/build.webkit.org-config/config.json:
19         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
20         (RunWebKitTests.start):
21         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
22         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10.png: Added.
23         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10@2x.png: Added.
24         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator.png: Added.
25         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator@2x.png: Added.
26         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice.png:
27         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice@2x.png:
28         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSSimulator.png: Added.
29         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSSimulator@2x.png: Added.
30         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
31         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
32         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
33         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
34         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
35         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
36         * Scripts/webkitpy/port/ios.py:
37         * TestResultServer/static-dashboards/builders.jsonp:
38
39 2016-09-13  Tim Horton  <timothy_horton@apple.com>
40
41         Provide a mechanism to specify the maximum width of WKThumbnailView snapshots
42         https://bugs.webkit.org/show_bug.cgi?id=161896
43         <rdar://problem/28229827>
44
45         Reviewed by Simon Fraser.
46
47         * TestWebKitAPI/Tests/WebKit2/WKThumbnailView.mm:
48         (TestWebKitAPI::TEST):
49         Add a test for the new property.
50         Also fix the old new test to run on arbitrary scale displays without failing.
51
52 2016-09-12  Brent Fulgham  <bfulgham@apple.com>
53
54         [Win][Direct2D] Provide Direct2D-based geometry and transform cast operations
55         https://bugs.webkit.org/show_bug.cgi?id=161818
56
57         Reviewed by Dean Jackson.
58
59         Add several new test suites for the various geometric primitives in WebCore.
60
61         * TestWebKitAPI/PlatformWin.cmake: Add new files for test cases.
62         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
63         * TestWebKitAPI/Tests/WebCore/AffineTransform.cpp: Added.
64         * TestWebKitAPI/Tests/WebCore/FloatPoint.cpp: Added.
65         * TestWebKitAPI/Tests/WebCore/FloatRect.cpp: Added.
66         * TestWebKitAPI/Tests/WebCore/FloatSize.cpp: Added.
67         * TestWebKitAPI/Tests/WebCore/IntPoint.cpp: Added.
68         * TestWebKitAPI/Tests/WebCore/IntRect.cpp: Added.
69         * TestWebKitAPI/Tests/WebCore/IntSize.cpp: Added.
70         * TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp: Add some new
71         Windows-focused test cases.
72
73 2016-09-12  Chris Dumez  <cdumez@apple.com>
74
75         Fix post-landing review comments after r205787
76         https://bugs.webkit.org/show_bug.cgi?id=161885
77
78         Reviewed by Darin Adler.
79
80         Leverage new StringBuilder::append(CFStringRef) overload.
81
82         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
83         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
84
85 2016-09-12  Alex Christensen  <achristensen@webkit.org>
86
87         URLParser: Correctly ignore spaces before relative URLs with no scheme
88         https://bugs.webkit.org/show_bug.cgi?id=161889
89
90         Reviewed by Daniel Bates.
91
92         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
93         (TestWebKitAPI::TEST_F):
94
95 2016-09-12  Alex Christensen  <achristensen@webkit.org>
96
97         URLParser: Fix relative URLs containing only fragments
98         https://bugs.webkit.org/show_bug.cgi?id=161882
99
100         Reviewed by Brady Eidson.
101
102         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
103         (TestWebKitAPI::TEST_F):
104
105 2016-09-12  Alex Christensen  <achristensen@webkit.org>
106
107         URLParser: Correctly handle relative URLs that are just a scheme and a colon
108         https://bugs.webkit.org/show_bug.cgi?id=161876
109
110         Reviewed by Brady Eidson.
111
112         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
113         (TestWebKitAPI::TEST_F):
114
115 2016-09-12  DAN SAUNDERS  <dasau@microsoft.com>
116
117         AX: WKWebView for macOS does not allow configuration of tabsToLinks
118         https://bugs.webkit.org/show_bug.cgi?id=161394
119
120         Reviewed by Anders Carlsson.
121
122         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
123         (TEST):
124
125 2016-09-12  Alex Christensen  <achristensen@webkit.org>
126
127         Remove trailing control characters and spaces before parsing a URL
128         https://bugs.webkit.org/show_bug.cgi?id=161870
129
130         Reviewed by Tim Horton.
131
132         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
133         (TestWebKitAPI::TEST_F):
134
135 2016-09-12  Alex Christensen  <achristensen@webkit.org>
136
137         Fix more URLParser quirks
138         https://bugs.webkit.org/show_bug.cgi?id=161834
139
140         Reviewed by Brady Eidson.
141
142         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
143         (TestWebKitAPI::TEST_F):
144
145 2016-09-10  Alex Christensen  <achristensen@webkit.org>
146
147         Optimize URLParser performance
148         https://bugs.webkit.org/show_bug.cgi?id=161837
149
150         Reviewed by Brady Eidson.
151
152         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
153         (TestWebKitAPI::TEST_F):
154         Added a test to verify the case insensitivity of the default port checks.
155
156 2016-09-10  Chris Dumez  <cdumez@apple.com>
157
158         parseHTMLInteger() should take a StringView in parameter
159         https://bugs.webkit.org/show_bug.cgi?id=161669
160
161         Reviewed by Ryosuke Niwa.
162
163         Explicitly construct a String from the CFStringRef in order to call
164         StringBuilder::append(). This is needed now that there is an append()
165         overload taking an AtomicString in parameter.
166
167         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
168         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
169
170 2016-09-10  Wenson Hsieh  <wenson_hsieh@apple.com>
171
172         Apple.com keynote does not display media controls
173         https://bugs.webkit.org/show_bug.cgi?id=161833
174         <rdar://problem/28230123>
175
176         Reviewed by Tim Horton.
177
178         New unit test verifying that wide videos (~2 aspect ratio) still get media controls.
179
180         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
181         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
182         (TestWebKitAPI::TEST):
183         * TestWebKitAPI/Tests/WebKit2Cocoa/wide-autoplaying-video-with-audio.html: Added.
184
185 2016-09-09  Tim Horton  <timothy_horton@apple.com>
186
187         WKThumbnailView should expose a mode where it can be reparented without resnapshotting
188         https://bugs.webkit.org/show_bug.cgi?id=161828
189         <rdar://problem/28229756>
190
191         Reviewed by Alex Christensen.
192
193         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
194         * TestWebKitAPI/Tests/WebKit2/WKThumbnailView.mm: Added.
195         (-[SnapshotSizeObserver observeValueForKeyPath:ofObject:change:context:]):
196         (TestWebKitAPI::didFinishLoadForFrame):
197         (TestWebKitAPI::setPageLoaderClient):
198         (TestWebKitAPI::TEST):
199         Add a test ensuring that this behaves correctly.
200
201 2016-09-09  Alex Christensen  <achristensen@webkit.org>
202
203         URLParser: Keep track of cannot-be-a-base-url according to spec
204         https://bugs.webkit.org/show_bug.cgi?id=161830
205
206         Reviewed by Tim Horton.
207
208         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
209         (TestWebKitAPI::TEST_F):
210
211 2016-09-09  Alex Christensen  <achristensen@webkit.org>
212
213         Fix API tests after r205774.
214         https://bugs.webkit.org/show_bug.cgi?id=161820
215
216         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
217         (TestWebKitAPI::TEST_F):
218         I had committed the wrong expected path in one case. The functionality is correct.
219
220 2016-09-09  Michael Saboff  <msaboff@apple.com>
221
222         Unreviewed, rolling r205759 back in with a fix.
223
224         An expectation file, JSTests/ChakraCore/test/Lib/tostring.baseline-jsc,
225         should be named "toString.baseline-jsc".  For systems with case-insensitive
226         filesystems, the wrong name isn't an issue.  That rename is part of this
227         fix.
228
229         * Scripts/run-javascriptcore-tests:
230         (runJSCStressTests):
231
232 2016-09-09  Johan K. Jensen  <johan_jensen@apple.com>
233
234         Unreviewed. Added myself to the list of committers.
235
236         * Scripts/webkitpy/common/config/contributors.json:
237
238 2016-09-09  Alex Christensen  <achristensen@webkit.org>
239
240         URLParser should convert ASCII hosts to lowercase
241         https://bugs.webkit.org/show_bug.cgi?id=161820
242
243         Reviewed by Geoffrey Garen.
244
245         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
246         (TestWebKitAPI::TEST_F):
247
248 2016-09-09  Ryan Haddad  <ryanhaddad@apple.com>
249
250         Unreviewed, rolling out r205759.
251
252         This change broke all JSC tests
253
254         Reverted changeset:
255
256         "Add ChakraCore tests to run-javascriptcore-tests"
257         https://bugs.webkit.org/show_bug.cgi?id=161808
258         http://trac.webkit.org/changeset/205759
259
260 2016-09-09  Ryan Haddad  <ryanhaddad@apple.com>
261
262         Revert r205770 because Ricky is already a committer.
263
264         Unreviewed.
265
266         * Scripts/webkitpy/common/config/contributors.json:
267
268 2016-09-09  Ricky Mondello  <rmondello@apple.com>
269
270         Unreviewed. Added myself to the list of committers.
271
272         * Scripts/webkitpy/common/config/contributors.json:
273
274 2016-09-09  Alex Christensen  <achristensen@webkit.org>
275
276         URLParser: Fix and optimize parsing file URLs ending with a host but no slash
277         https://bugs.webkit.org/show_bug.cgi?id=161815
278
279         Reviewed by Geoffrey Garen.
280
281         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
282         (TestWebKitAPI::TEST_F):
283
284 2016-09-08  Dean Jackson  <dino@apple.com>
285
286         Expose Apple Pencil data to Touch events
287         https://bugs.webkit.org/show_bug.cgi?id=161783
288         <rdar://problem/28218898>
289
290         Reviewed by Beth Dakin.
291
292         The values that IOHID expects are different from their
293         documentation, and from what UITouch interprets. Tweak
294         incoming data so it will produce the output we expect.
295
296         * WebKitTestRunner/ios/HIDEventGenerator.mm:
297         (-[HIDEventGenerator stylusDownAtPoint:azimuthAngle:altitudeAngle:pressure:]):
298         (-[HIDEventGenerator stylusMoveToPoint:azimuthAngle:altitudeAngle:pressure:]):
299
300 2016-09-09  JF Bastien  <jfbastien@apple.com>
301
302         Unreviewed. Added myself to the list of committers.
303
304         * Scripts/webkitpy/common/config/contributors.json:
305
306 2016-09-09  Michael Saboff  <msaboff@apple.com>
307
308         Add ChakraCore tests to run-javascriptcore-tests
309         https://bugs.webkit.org/show_bug.cgi?id=161808
310
311         Reviewed by Saam Barati.
312
313         Added ChakraCore tests to the default list of tests to run.
314
315         * Scripts/run-javascriptcore-tests:
316         (runJSCStressTests):
317
318 2016-09-09  Alex Christensen  <achristensen@webkit.org>
319
320         URLParser: Handle \ in path according to spec
321         https://bugs.webkit.org/show_bug.cgi?id=161805
322
323         Reviewed by Andy Estes.
324
325         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
326         (TestWebKitAPI::TEST_F):
327
328 2016-09-09  Alex Christensen  <achristensen@webkit.org>
329
330         URLParser should parse URLs with non-special schemes
331         https://bugs.webkit.org/show_bug.cgi?id=161786
332
333         Reviewed by Andy Estes.
334
335         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
336         (TestWebKitAPI::TEST_F):
337
338 2016-09-08  Yusuke Suzuki  <utatane.tea@gmail.com>
339
340         [WTF] HashTable's rehash is not compatible to Ref<T> and ASan
341         https://bugs.webkit.org/show_bug.cgi?id=161763
342
343         Reviewed by Mark Lam.
344
345         Add tests that inserts many Ref<>s. It incurs HashTable::rehash, and we can ensure
346         that ASan crash does not occur with this patch.
347
348         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
349         (TestWebKitAPI::TEST):
350         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
351         (TestWebKitAPI::TEST):
352
353 2016-09-08  Alex Christensen  <achristensen@webkit.org>
354
355         URLParser: Handle \ in paths of special URLs according to spec
356         https://bugs.webkit.org/show_bug.cgi?id=161781
357
358         Reviewed by Tim Horton.
359
360         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
361         (TestWebKitAPI::TEST_F):
362
363 2016-09-08  Simon Fraser  <simon.fraser@apple.com>
364
365         Update the content-animation.plan file to run css-accelerated-animation.html
366         and pull SVN revision r205680.
367
368         * Scripts/webkitpy/benchmark_runner/data/plans/content-animation.plan:
369
370 2016-09-08  Simon Fraser  <simon.fraser@apple.com>
371
372         Add a content-animation test with accelerated CSS animations
373         https://bugs.webkit.org/show_bug.cgi?id=161776
374
375         Reviewed by Dean Jackson.
376
377         * Scripts/webkitpy/benchmark_runner/data/patches/ContentAnimation.patch:
378
379 2016-09-08  Alex Christensen  <achristensen@webkit.org>
380
381         URLParser: Parsing empty URLs with a base URL should return the base URL
382         https://bugs.webkit.org/show_bug.cgi?id=161777
383
384         Reviewed by Tim Horton.
385
386         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
387         (TestWebKitAPI::TEST_F):
388
389 2016-09-08  Alex Christensen  <achristensen@webkit.org>
390
391         URLParser failures should preserve the original input string
392         https://bugs.webkit.org/show_bug.cgi?id=161769
393
394         Reviewed by Tim Horton.
395
396         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
397         (TestWebKitAPI::TEST_F):
398         (TestWebKitAPI::shouldFail):
399
400 2016-09-08  Alex Christensen  <achristensen@webkit.org>
401
402         URLParser should parse URLs with a user but no password
403         https://bugs.webkit.org/show_bug.cgi?id=161773
404
405         Reviewed by Brady Eidson.
406
407         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
408         (TestWebKitAPI::TEST_F):
409
410 2016-09-08  Alex Christensen  <achristensen@webkit.org>
411
412         URLParser should parse ports after IPv4 and IPv6 hosts
413         https://bugs.webkit.org/show_bug.cgi?id=161731
414
415         Reviewed by Brady Eidson.
416
417         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
418         (TestWebKitAPI::TEST_F):
419
420 2016-09-08  Alex Christensen  <achristensen@webkit.org>
421
422         URLParser should correctly handle \ in path
423         https://bugs.webkit.org/show_bug.cgi?id=161762
424
425         Reviewed by Brady Eidson.
426
427         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
428         (TestWebKitAPI::TEST_F):
429
430 2016-09-08  Alex Christensen  <achristensen@webkit.org>
431
432         URLParser should handle URLs with empty authority
433         https://bugs.webkit.org/show_bug.cgi?id=161711
434
435         Reviewed by Brady Eidson.
436
437         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
438         (TestWebKitAPI::TEST_F):
439
440 2016-09-08  Alex Christensen  <achristensen@webkit.org>
441
442         Re-land r205580 after r205649 fixed the test failures
443         https://bugs.webkit.org/show_bug.cgi?id=161668
444
445         Re-landing changesets:
446
447         "Punycode encode non-ascii hosts in URLParser"
448         https://bugs.webkit.org/show_bug.cgi?id=161655
449         http://trac.webkit.org/changeset/205521
450
451         "Fix query-only and fragment-only relative URLs when using
452         URLParser"
453         https://bugs.webkit.org/show_bug.cgi?id=161657
454         http://trac.webkit.org/changeset/205526
455
456         "URLParser should parse / as a relative URL"
457         https://bugs.webkit.org/show_bug.cgi?id=161667
458         http://trac.webkit.org/changeset/205532
459
460 2016-09-08  Dean Jackson  <dino@apple.com>
461
462         Expose Apple Pencil input to testing system
463         https://bugs.webkit.org/show_bug.cgi?id=161670
464         <rdar://problem/28183327>
465
466         I fixed the internal builds, now try to fix the public builds.
467
468         * WebKitTestRunner/ios/IOKitSPI.h: Add new enum values.
469
470 2016-09-07  Dean Jackson  <dino@apple.com>
471
472         Expose Apple Pencil input to testing system
473         https://bugs.webkit.org/show_bug.cgi?id=161670
474         <rdar://problem/28183327>
475
476         Attempt to fix iOS 9 builds.
477
478         * WebKitTestRunner/ios/HIDEventGenerator.mm:
479         (-[HIDEventGenerator _createIOHIDEventType:]):
480
481 2016-09-07  Alex Christensen  <achristensen@webkit.org>
482
483         Roll out r205580 and r205582.
484         https://bugs.webkit.org/show_bug.cgi?id=161668
485
486         I need to figure out why this is failing on the bots before landing any more URLParser progress.
487
488 2016-09-07  Alex Christensen  <achristensen@webkit.org>
489
490         Unreviewed, revert r205533.
491         https://bugs.webkit.org/show_bug.cgi?id=161668
492
493         Re-landing changesets:
494
495         "Punycode encode non-ascii hosts in URLParser"
496         https://bugs.webkit.org/show_bug.cgi?id=161655
497         http://trac.webkit.org/changeset/205521
498
499         "Fix query-only and fragment-only relative URLs when using
500         URLParser"
501         https://bugs.webkit.org/show_bug.cgi?id=161657
502         http://trac.webkit.org/changeset/205526
503
504         "URLParser should parse / as a relative URL"
505         https://bugs.webkit.org/show_bug.cgi?id=161667
506         http://trac.webkit.org/changeset/205532
507
508 2016-09-07  Simon Fraser  <simon.fraser@apple.com>
509
510         Enable the <meter> element on iOS
511         https://bugs.webkit.org/show_bug.cgi?id=161714
512         rdar://problem/8978410
513
514         Reviewed by Tim Horton.
515
516         Define ENABLE_METER_ELEMENT unconditionally now.
517
518         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
519
520 2016-09-07  Jonathan Bedard  <jbedard@apple.com>
521
522         Run spindumps on timeout on iOS 9 Simulator Release WK2 (Tests)
523         https://bugs.webkit.org/show_bug.cgi?id=161699
524
525         Reviewed by Alexey Proskuryakov.
526
527         This change does not have testing associated with it because the testing infrastructure does not exists, we cannot currently mock build-bot variables.
528
529         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
530         (RunWebKitTests): Enable sample on timeout for everything.
531         (RunWebKitTests.start): Disable sample on timeout for everything except iOS 9 WK2 release simulators.
532
533 2016-09-06  Dean Jackson  <dino@apple.com>
534
535         Expose Apple Pencil input to testing system
536         https://bugs.webkit.org/show_bug.cgi?id=161670
537         <rdar://problem/28183327>
538
539         Reviewed by Simon Fraser.
540
541         Add API to UIScriptController that allows a test to emulate
542         stylus input, such as from the Apple Pencil.
543
544         The code is only implemented for WebKitTestRunner.
545
546         There are also four new tests that ensure an Apple Pencil
547         operates similarly to a regular touch. The main difference
548         is that you can't have multiple touches when using an Apple Pencil.
549
550         * DumpRenderTree/ios/UIScriptControllerIOS.mm: New methods. Empty implementations.
551         (WTR::UIScriptController::stylusDownAtPoint):
552         (WTR::UIScriptController::stylusMoveToPoint):
553         (WTR::UIScriptController::stylusUpAtPoint):
554         (WTR::UIScriptController::stylusTapAtPoint):
555         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: New methods.
556         * TestRunnerShared/UIScriptContext/UIScriptController.cpp: Empty implementations.
557         (WTR::UIScriptController::stylusDownAtPoint):
558         (WTR::UIScriptController::stylusMoveToPoint):
559         (WTR::UIScriptController::stylusUpAtPoint):
560         (WTR::UIScriptController::stylusTapAtPoint):
561         * TestRunnerShared/UIScriptContext/UIScriptController.h:
562
563         * WebKitTestRunner/ios/HIDEventGenerator.h:
564         * WebKitTestRunner/ios/HIDEventGenerator.mm: New StylusEvent types. Add some properties
565         to SyntheticEventDigitizerInfo.
566         (-[HIDEventGenerator _createIOHIDEventType:]): Add support for StylusEvent types.
567         (-[HIDEventGenerator touchDownAtPoints:touchCount:]): Clear any old stylus info.
568         (-[HIDEventGenerator stylusDownAtPoint:azimuthAngle:altitudeAngle:pressure:]):
569         (-[HIDEventGenerator stylusMoveToPoint:azimuthAngle:altitudeAngle:pressure:]):
570         (-[HIDEventGenerator stylusUpAtPoint:]):
571         (-[HIDEventGenerator stylusDownAtPoint:azimuthAngle:altitudeAngle:pressure:completionBlock:]):
572         (-[HIDEventGenerator stylusMoveToPoint:azimuthAngle:altitudeAngle:pressure:completionBlock:]):
573         (-[HIDEventGenerator stylusUpAtPoint:completionBlock:]):
574         (-[HIDEventGenerator stylusTapAtPoint:azimuthAngle:altitudeAngle:pressure:completionBlock:]):
575         * WebKitTestRunner/ios/IOKitSPI.h: Add new include, and new SPI.
576         * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Calls into the HIDEventGenerator for the new API.
577         (WTR::UIScriptController::stylusDownAtPoint):
578         (WTR::UIScriptController::stylusMoveToPoint):
579         (WTR::UIScriptController::stylusUpAtPoint):
580         (WTR::UIScriptController::stylusTapAtPoint):
581
582 2016-09-07  Daniel Bates  <dabates@apple.com>
583
584         Update WebKitSystemInterface
585
586         Rubber-stamped by Dean Jackson.
587
588         Copy WebKitSystemInterface for iOS 10 to the built products directory.
589
590         * Scripts/copy-webkitlibraries-to-product-directory:
591
592 2016-09-07  Youenn Fablet  <youenn@apple.com>
593
594         [Streams API] Separate compile flag for ReadableStream and WritableStream
595         https://bugs.webkit.org/show_bug.cgi?id=161044
596
597         Reviewed by Alex Christensen.
598
599         Moving from STREAMS_API to READABLE_STREAM_API and WRITABLE_STREAM_API compilation flags.
600
601         * Scripts/webkitperl/FeatureList.pm:
602         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
603
604 2016-09-07  Carlos Garcia Campos  <cgarcia@igalia.com>
605
606         [GTK] Move some GObject DOM unstable API to stable
607         https://bugs.webkit.org/show_bug.cgi?id=161681
608
609         Reviewed by Žan Doberšek.
610
611         Do not use user message handler unstable API in the tests, since we have stable convenient API for that.
612
613         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
614         (testUserContentManagerScriptMessageFromDOMBindings):
615         (serverCallback): Deleted.
616         (beforeAll): Deleted.
617         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
618         (documentLoadedCallback):
619         (emitURIChanged): Deleted.
620
621 2016-09-07  Youenn Fablet  <youenn@apple.com>
622
623         Using tests-options.json to compute whether tests are slow
624         https://bugs.webkit.org/show_bug.cgi?id=161626
625
626         Reviewed by Darin Adler.
627
628         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py: Updated first test to use a MockHost.
629         * Scripts/webkitpy/layout_tests/controllers/manager.py:
630         (Manager.__init__): Loading tests-options.json
631         (Manager._test_is_slow): Computing timeout value based on tests-options.json.
632
633 2016-09-07  Hunseop Jeong  <hs85.jeong@samsung.com>
634
635         [EFL] Need the libosmesa to support the software backend drawing.
636         https://bugs.webkit.org/show_bug.cgi?id=147065
637
638         Reviewed by Gyuyoung Kim.
639
640         Added the libosmesa to support the software backend drawing.
641
642         * efl/install-dependencies:
643
644 2016-09-06  Commit Queue  <commit-queue@webkit.org>
645
646         Unreviewed, rolling out r205521, r205526, and r205532.
647         https://bugs.webkit.org/show_bug.cgi?id=161668
648
649         broke API tests (Requested by alexchristensen on #webkit).
650
651         Reverted changesets:
652
653         "Punycode encode non-ascii hosts in URLParser"
654         https://bugs.webkit.org/show_bug.cgi?id=161655
655         http://trac.webkit.org/changeset/205521
656
657         "Fix query-only and fragment-only relative URLs when using
658         URLParser"
659         https://bugs.webkit.org/show_bug.cgi?id=161657
660         http://trac.webkit.org/changeset/205526
661
662         "URLParser should parse / as a relative URL"
663         https://bugs.webkit.org/show_bug.cgi?id=161667
664         http://trac.webkit.org/changeset/205532
665
666 2016-09-06  Alex Christensen  <achristensen@webkit.org>
667
668         URLParser should parse / as a relative URL
669         https://bugs.webkit.org/show_bug.cgi?id=161667
670
671         Reviewed by Tim Horton.
672
673         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
674         (TestWebKitAPI::TEST_F):
675
676 2016-09-06  Daniel Bates  <dabates@apple.com>
677
678         [iOS] DumpRenderTree and WebKitTestRunner fail to build - "Ad Hoc code signing is not allowed with SDK 'Simulator - iOS 10.0'"
679         https://bugs.webkit.org/show_bug.cgi?id=161661
680
681         Reviewed by Darin Adler.
682
683         Allow ad-hoc code signing when building the dummy DumpRenderTree and WebKitTestRunner
684         command line tools for simulator with the iOS 10 beta SDK.
685
686         * DumpRenderTree/mac/Configurations/Base.xcconfig:
687         * WebKitTestRunner/Configurations/Base.xcconfig:
688
689 2016-09-06  Alex Christensen  <achristensen@webkit.org>
690
691         Fix query-only and fragment-only relative URLs when using URLParser
692         https://bugs.webkit.org/show_bug.cgi?id=161657
693
694         Reviewed by Tim Horton.
695
696         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
697         (TestWebKitAPI::TEST_F):
698
699 2016-09-06  Alex Christensen  <achristensen@webkit.org>
700
701         Punycode encode non-ascii hosts in URLParser
702         https://bugs.webkit.org/show_bug.cgi?id=161655
703
704         Reviewed by Tim Horton.
705
706         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
707         (TestWebKitAPI::wideString):
708         (TestWebKitAPI::TEST_F):
709
710 2016-09-05  Alex Christensen  <achristensen@webkit.org>
711
712         Implement relative file urls and begin implementing character encoding in URLParser
713         https://bugs.webkit.org/show_bug.cgi?id=161618
714
715         Reviewed by Tim Horton.
716
717         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
718         (TestWebKitAPI::TEST_F):
719
720 2016-09-06  Commit Queue  <commit-queue@webkit.org>
721
722         Unreviewed, rolling out r205480.
723         https://bugs.webkit.org/show_bug.cgi?id=161630
724
725         tests-options.json is not known from knockout filesystem
726         (Requested by youenn on #webkit).
727
728         Reverted changeset:
729
730         "Using tests-options.json to compute whether tests are slow"
731         https://bugs.webkit.org/show_bug.cgi?id=161626
732         http://trac.webkit.org/changeset/205480
733
734 2016-09-06  Michael Catanzaro  <mcatanzaro@igalia.com>
735
736         "Redundant argument in sprintf" warning spam from prepare-ChangeLog
737         https://bugs.webkit.org/show_bug.cgi?id=161606
738
739         Reviewed by Darin Adler.
740
741         Avoid extra arguments in call to sprintf, hopefully without introducing new warnings this
742         time.
743
744         * Scripts/prepare-ChangeLog:
745         (statusDescription):
746
747 2016-09-06  Youenn Fablet  <youenn@apple.com>
748
749         Using tests-options.json to compute whether tests are slow
750         https://bugs.webkit.org/show_bug.cgi?id=161626
751
752         Reviewed by Darin Adler.
753
754         * Scripts/webkitpy/layout_tests/controllers/manager.py:
755         (Manager.__init__): Loading tests-options.json
756         (Manager._test_is_slow): Computing timeout value based on tests-options.json.
757
758 2016-09-06  Commit Queue  <commit-queue@webkit.org>
759
760         Unreviewed, rolling out r205461.
761         https://bugs.webkit.org/show_bug.cgi?id=161628
762
763         Introduced "Use of uninitialized value $original in sprintf"
764         warning (Requested by mcatanzaro on #webkit).
765
766         Reverted changeset:
767
768         ""Redundant argument in sprintf" warning spam from prepare-
769         ChangeLog"
770         https://bugs.webkit.org/show_bug.cgi?id=161606
771         http://trac.webkit.org/changeset/205461
772
773 2016-09-06  Youenn Fablet  <youenn@apple.com>
774
775         W3C test importer should be able to identify slow test
776         https://bugs.webkit.org/show_bug.cgi?id=161601
777
778         Reviewed by Darin Adler.
779
780         Test parser is now identifying slow tests based on "meta element name=timeout content=long" elements.
781         Test importer is updating test-options.json file according that information.
782
783         In case of clean import, the test-options.json is cleaned from 'slow' options for all W3C tests.
784
785         * Scripts/webkitpy/w3c/test_importer.py:
786         (TestImporter.__init__):
787         (TestImporter.find_importable_tests):
788         (TestImporter.import_tests):
789         (TestImporter.update_test_options):
790         (TestImporter):
791         (TestImporter.remove_slow_from_w3c_test_options):
792         * Scripts/webkitpy/w3c/test_parser.py:
793         (TestParser.analyze_test):
794         (TestParser.is_slow_test):
795         (TestParser.potential_ref_filename):
796
797 2016-09-06  Per Arne Vollan  <pvollan@apple.com>
798
799         [Win] Crash logs have incorrect symbols.
800         https://bugs.webkit.org/show_bug.cgi?id=161603
801
802         Reviewed by Darin Adler.
803
804         Add build path to _NT_SYMBOL_PATH environment variable.
805
806         * Scripts/webkitpy/port/win.py:
807         (WinPort.setup_crash_log_saving):
808
809 2016-08-31  Filip Pizlo  <fpizlo@apple.com>
810
811         Butterflies should be allocated in Auxiliary MarkedSpace instead of CopiedSpace and we should rewrite as much of the GC as needed to make this not a regression
812         https://bugs.webkit.org/show_bug.cgi?id=160125
813
814         Reviewed by Geoffrey Garen and Keith Miller.
815
816         * DumpRenderTree/TestRunner.cpp:
817         * DumpRenderTree/mac/DumpRenderTree.mm:
818         (DumpRenderTreeMain):
819         * Scripts/run-jsc-stress-tests:
820         * TestWebKitAPI/Tests/WTF/Vector.cpp:
821         (TestWebKitAPI::TEST):
822
823 2016-09-05  Michael Catanzaro  <mcatanzaro@igalia.com>
824
825         "Redundant argument in sprintf" warning spam from prepare-ChangeLog
826         https://bugs.webkit.org/show_bug.cgi?id=161606
827
828         Reviewed by Darin Adler.
829
830         Avoid extra arguments in call to sprintf.
831
832         * Scripts/prepare-ChangeLog:
833         (statusDescription):
834
835 2016-09-05  Michael Catanzaro  <mcatanzaro@igalia.com>
836
837         [GTK] Skip several failing API tests
838
839         Unfortunately we don't have any form of test expectations for API tests, so we'll just skip
840         them after bugs are filed.
841
842         * Scripts/run-gtk-tests:
843         (TestRunner):
844
845 2016-09-05  Youenn Fablet  <youenn@apple.com>
846
847         Fix W3C test importer unit tests after r205447
848         https://bugs.webkit.org/show_bug.cgi?id=161604
849
850         Unreviewed.
851
852         * Scripts/webkitpy/w3c/test_importer.py:
853         (TestImporter.__init__): Skip cleaning test_resource_files files if resource-files.json cannot be read.
854
855 2016-09-05  Philippe Normand  <pnormand@igalia.com>
856
857         WebRTC: Several media stream tests crashing
858         https://bugs.webkit.org/show_bug.cgi?id=161582
859
860         Reviewed by Alejandro G. Castro.
861
862         * gtk/jhbuild.modules: Bump to latest OpenWebRTC master fixing the crash on missing
863         glvideoflip GStreamer element.
864
865 2016-09-05  Youenn Fablet  <youenn@apple.com>
866
867         W3C test importer should generate the list of resource files
868         https://bugs.webkit.org/show_bug.cgi?id=161578
869
870         Reviewed by Ryosuke Niwa.
871
872         Generating LayoutTests/imported/w3c/resources/resource-files.json when importing tests.
873
874         * Scripts/webkitpy/w3c/test_importer.py:
875         (TestImporter.__init__): Reading test resource files configuration file.
876         (TestImporter.find_importable_tests):
877         (TestImporter.import_tests): Update the test resource files based on test parsed files.
878         (TestImporter):
879         (TestImporter._already_identified_as_resource_file): Helper routine to know whether a file is already set as a resource file.
880         (TestImporter._is_in_resources_directory: Helper routine to know whether a file is in a resources directory.
881
882 2016-09-03  Wenson Hsieh  <wenson_hsieh@apple.com>
883
884         Media controls behave strangely when videos mute from within a playing handler
885         https://bugs.webkit.org/show_bug.cgi?id=161559
886         <rdar://problem/28018438>
887
888         Reviewed by Darin Adler.
889
890         Accounts for changes when determining whether or not to show media controls for autoplaying videos that have not
891         begun playing yet. Rather than check for a controlled media element upon page load, we force tests to wait until
892         all autoplaying videos have actually begun playing. This extends to tests that involve interaction, such as
893         clicking or scrolling.
894
895         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
896         (-[VideoControlsManagerTestWebView callJavascriptFunction:]):
897         (-[VideoControlsManagerTestWebView expectControlsManager:afterReceivingMessage:]):
898         (-[VideoControlsManagerTestWebView performAfterReceivingMessage:action:]):
899         (-[VideoControlsManagerTestWebView waitForPageToLoadWithAutoplayingVideos:]):
900         (TestWebKitAPI::TEST):
901         (-[VideoControlsManagerTestWebView loadTestPageNamed:andExpectControlsManager:afterReceivingMessage:]): Deleted.
902         * TestWebKitAPI/Tests/WebKit2Cocoa/autoplaying-video-with-audio.html:
903         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-hides-controls-after-seek-to-end.html:
904         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-playing-scroll-away.html:
905         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-click-to-pause.html:
906         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-scroll-to-video.html:
907         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-paused-video-hides-controls.html:
908         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-muted-video-hides-controls.html:
909         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-video-keeps-controls.html:
910         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio-autoplay.html:
911
912 2016-09-03  Wenson Hsieh  <wenson_hsieh@apple.com>
913
914         Refactor the heuristic for showing media controls to take all media sessions into account
915         https://bugs.webkit.org/show_bug.cgi?id=161503
916         <rdar://problem/28033783>
917
918         Reviewed by Darin Adler.
919
920         Adds new unit tests verifying the behavior of media playback controls when scrolling another video into view.
921         Please see the WebCore ChangeLog for more details about this change. Also refactors existing
922         VideoControlsManager tests by folding duplicated setup and testing logic into helper methods to make the unit
923         tests more readable.
924
925         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
926         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
927         (-[MessageHandler initWithMessage:handler:]):
928         (-[MessageHandler userContentController:didReceiveScriptMessage:]):
929         (-[VideoControlsManagerTestWebView performAfterLoading:]):
930         (-[VideoControlsManagerTestWebView loadTestPageNamed:]):
931         (-[VideoControlsManagerTestWebView loadTestPageNamed:andExpectControlsManager:afterReceivingMessage:]):
932         (-[VideoControlsManagerTestWebView performAfterReceivingMessage:action:]):
933         (-[VideoControlsManagerTestWebView controlledElementID]):
934         (-[VideoControlsManagerTestWebView _handleControlledElementIDResponse:]):
935         (TestWebKitAPI::setUpWebViewForTestingVideoControlsManager):
936         (TestWebKitAPI::TEST):
937         (-[MediaPlaybackMessageHandler initWithWKWebView:finalMessageString:]): Deleted.
938         (-[MediaPlaybackMessageHandler userContentController:didReceiveScriptMessage:]): Deleted.
939         (-[OnLoadMessageHandler initWithWKWebView:handler:]): Deleted.
940         (-[OnLoadMessageHandler userContentController:didReceiveScriptMessage:]): Deleted.
941         (-[WKWebView performAfterLoading:]): Deleted.
942         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-playing-scroll-away.html: Added.
943         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-click-to-pause.html: Added.
944         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-scroll-to-video.html: Added.
945         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-paused-video-hides-controls.html: Added.
946         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-muted-video-hides-controls.html: Added.
947         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-video-keeps-controls.html: Added.
948
949 2016-09-03  Youenn Fablet  <youenn@apple.com>
950
951         run-webkit-tests should detect w3c test resource files
952         https://bugs.webkit.org/show_bug.cgi?id=161307
953
954         Reviewed by Ryosuke Niwa.
955
956         * Scripts/webkitpy/port/base.py:
957         (Port.__init__): Adding self._w3c_resource_files to store the list of resource files.
958         (Port.potential_test_names_from_expected_file):
959         (Port._real_tests):
960         (Port.is_w3c_resource_file): Computing whether a file is a resource file based on imported/w3c/resources/resource-files.json.
961         (Port._is_test_file): Updated to call Port.is_w3c_resource_file. _is_test_file is no longer static.
962         (Port): Deleted.
963         * Scripts/webkitpy/port/base_unittest.py:
964         (PortTest.test_additional_platform_directory):
965         (PortTest.test_find_no_paths_specified):
966         (PortTest.test_is_test_file): Updated to use non-static version of _is_test_file.
967         (PortTest.test_is_w3c_resource_file): Adding tests.
968
969 2016-09-02  Carlos Garcia Campos  <cgarcia@igalia.com>
970
971         Unreviewed. Fix archive-built-product step in GTK+ bots after r205280.
972
973         * BuildSlaveSupport/built-product-archive:
974         (archiveBuiltProduct): Do not copy to the archive the files needed to run GObject DOM bindings API breaks tests
975         that no longer exist.
976
977 2016-09-02  Alex Christensen  <achristensen@webkit.org>
978
979         URLParser should parse file URLs
980         https://bugs.webkit.org/show_bug.cgi?id=161556
981
982         Reviewed by Tim Horton.
983
984         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
985         (TestWebKitAPI::TEST_F):
986         (TestWebKitAPI::checkURLDifferences):
987
988 2016-09-01  Michael Saboff  <msaboff@apple.com>
989
990         Import Chakra tests to JSC
991         https://bugs.webkit.org/show_bug.cgi?id=154697
992
993         Reviewed by Saam Barati.
994
995         Added "runChakra" and "chakraPassFailErrorHandler" to support the running of
996         Chakra tests.
997
998         * Scripts/run-jsc-stress-tests:
999
1000 2016-09-02  Jonathan Bedard  <jbedard@apple.com>
1001
1002         WebKitTestRunner needs layoutTestController.setDashboardCompatibilityMode
1003         https://bugs.webkit.org/show_bug.cgi?id=42547
1004  
1005         Reviewed by Darin Adler.
1006
1007         Added JavaScript bindings and C++ implementation of setUseDashboardCompatibilityMode for the WebKit2 sTestRunner.
1008         Note: this bug mistakenly called this function setDashboardCompatibilityMode, it is actually setUseDashboardCompatibilityMode.
1009
1010         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Added dashboard compatiblity mode setter.
1011         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1012         (WTR::InjectedBundle::beginTesting): Reset dashboard compatibility mode.
1013         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1014         (WTR::TestRunner::setJavaScriptCanAccessClipboard): Code style changes.
1015         (WTR::TestRunner::setPrivateBrowsingEnabled): Code style changes.
1016         (WTR::TestRunner::setUseDashboardCompatibilityMode): Added dashboard compatiblity mode setter.
1017         (WTR::TestRunner::setPopupBlockingEnabled): Code style changes.
1018         (WTR::TestRunner::setAuthorAndUserStylesEnabled): Code style changes.
1019         (WTR::TestRunner::addOriginAccessWhitelistEntry): Code style changes.
1020         * WebKitTestRunner/InjectedBundle/TestRunner.h: Added dashboard compatiblity mode setter.
1021
1022 2016-09-02  Jer Noble  <jer.noble@apple.com>
1023
1024         Unreviewed build fix: restore storyboard files to Xcode 7-compatability.
1025
1026         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard:
1027         * MobileMiniBrowser/MobileMiniBrowserFramework/Base.lproj/Main.storyboard:
1028
1029 2016-09-02  Tim Horton  <timothy_horton@apple.com>
1030
1031         REGRESSION (r205329): Two API tests time out on iOS Simulator
1032         https://bugs.webkit.org/show_bug.cgi?id=161542
1033
1034         Reviewed by Brady Eidson.
1035
1036         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm:
1037         (createAnimatedResizeWebView):
1038         (createFirstVisuallyNonEmptyWatchingNavigationDelegate):
1039         (TEST):
1040         (animatedResizeWebView): Deleted.
1041         The navigation delegate was being stored in a local and went out of scope
1042         before the test was over. Keep it around, instead.
1043
1044 2016-08-31  Jer Noble  <jer.noble@apple.com>
1045
1046         Refactor MobileMiniBrowser into an application framework to allow external XCTesting
1047         https://bugs.webkit.org/show_bug.cgi?id=161462
1048
1049         Reviewed by Eric Carlson.
1050
1051         XCTest targets need to be in the same project as the application which they're testing. To facilitate
1052         having external projects with XCTest targets, move the application's implementation into a framework
1053         that can be included with a bare-bones application shell for testing.
1054
1055         Simultaneously, add the ability to load files from within the new framework's bundle by using a
1056         'bundle:/' URL scheme. Update the tests to use this new bundle URL and remove the dependency on
1057         an external server for testing.
1058
1059         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
1060         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard:
1061         * MobileMiniBrowser/MobileMiniBrowser/Info.plist:
1062         * MobileMiniBrowser/MobileMiniBrowser/main.m:
1063         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
1064         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.m.
1065         (-[AppDelegate application:didFinishLaunchingWithOptions:]): Manually instantiate the main view
1066             controller from the framework's bundle.
1067         * MobileMiniBrowser/MobileMiniBrowserFramework/Assets.xcassets/AppIcon.appiconset/Contents.json: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json.
1068         * MobileMiniBrowser/MobileMiniBrowserFramework/Base.lproj/Main.storyboard: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Base.lproj/Main.storyboard.
1069         * MobileMiniBrowser/MobileMiniBrowserFramework/Info.plist: Added.
1070         * MobileMiniBrowser/MobileMiniBrowserFramework/MobileMiniBrowser.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
1071         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.h.
1072         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.m.
1073         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.h.
1074         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.m.
1075         (+[NSURL __bundleURLForFileURL:bundle:]): Add utility method.
1076         (+[NSURL __fileURLForBundleURL:bundle:]): Ditto.
1077         (-[WebViewController navigateTo:]): Support loading "bundle:/" URLs which are really just "file:" URLs
1078             pointing to the framework's resources directory.
1079         (-[WebViewController observeValueForKeyPath:ofObject:change:context:]): Ditto.
1080         * MobileMiniBrowser/MobileMiniBrowserUITests/MobileMiniBrowserUITests.m:
1081         (-[MobileMiniBrowserUITests testBasicVideoPlayback]):
1082
1083 2016-09-02  Jonathan Bedard  <jbedard@apple.com>
1084
1085         Fix --no-sample-on-timeout command line argument
1086         https://bugs.webkit.org/show_bug.cgi?id=161507
1087
1088         Reviewed by Alexey Proskuryakov.
1089
1090         This patch fixes the —no-sample-on-timeout flag and correctly names spindumps as spindump.txt.
1091
1092         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1093         (parse_args): Fixed —-no-sample-on-timeout.
1094         * Scripts/webkitpy/port/apple.py:
1095         (ApplePort.sample_process): Use correct file name.
1096         (ApplePort.spindump_file_path): Spindump and sample file names are different.
1097         * Scripts/webkitpy/port/driver.py:
1098         (Driver._check_for_driver_timeout): Check “sample_on_timeout” flag.
1099         * Scripts/webkitpy/port/mac_unittest.py:
1100         (MacTest.test_spindump): Modified for correct filename.
1101
1102 2016-09-02  Jonathan Bedard  <jbedard@apple.com>
1103
1104         Unreviewed: moved myself to the reviewers list.
1105
1106         * Scripts/webkitpy/common/config/contributors.json:
1107
1108 2016-09-02  Tomas Popela  <tpopela@redhat.com>
1109
1110         [GTK] Fix compiler warning in MiniBrowser
1111         https://bugs.webkit.org/show_bug.cgi?id=161529
1112
1113         We were missing a return statement in decidePermissionRequest() and
1114         also there was unused variable in browserWindowConstructed().
1115
1116         Reviewed by Carlos Garcia Campos.
1117
1118         * MiniBrowser/gtk/BrowserTab.c:
1119         (decidePermissionRequest):
1120         * MiniBrowser/gtk/BrowserWindow.c:
1121         (browserWindowConstructed):
1122
1123 2016-09-01  Dan Bernstein  <mitz@apple.com>
1124
1125         Build fix.
1126
1127         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1128
1129 2016-09-01  Tim Horton  <timothy_horton@apple.com>
1130
1131         Provide a TestWebKitAPI-wide WKNavigationDelegate to simplify tests
1132         https://bugs.webkit.org/show_bug.cgi?id=161413
1133
1134         Reviewed by Simon Fraser.
1135
1136         Add TestNavigationDelegate, which provides block properties to make
1137         writing tests feel a little more natural (the callbacks can be inline),
1138         and also add WKWebView _test_waitForDidFinishNavigation, so that many
1139         tests don't even need to manually allocate a navigation delegate at all.
1140
1141         Adopt in some of the simpler tests; there are a few navigation delegates
1142         left behind, which we can move to the new model in the future.
1143
1144         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1145         * TestWebKitAPI/Tests/WebKit2/WKBackForwardList.mm:
1146         (TEST):
1147         (-[WKBackForwardListTestNavigationDelegate webView:didFinishNavigation:]): Deleted.
1148         * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm:
1149         (TEST):
1150         (-[AlwaysRevalidatedURLSchemesDelegate webView:didFinishNavigation:]): Deleted.
1151         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm:
1152         (animatedResizeWebView):
1153         (-[AnimatedResizeNavigationDelegate _webView:renderingProgressDidChange:]): Deleted.
1154         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
1155         (-[AutoLayoutWKWebView initWithFrame:configuration:]):
1156         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:resettingWidth:]):
1157         (TEST):
1158         (-[AutoLayoutNavigationDelegate webView:didFinishNavigation:]): Deleted.
1159         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresource.mm:
1160         (TEST):
1161         (-[CancelFontSubresourceNavigationDelegate webView:didFinishNavigation:]): Deleted.
1162         * TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm:
1163         (WebKit2_CommandBackForwardTestWKWebView::SetUp):
1164         (WebKit2_CommandBackForwardTestWKWebView::loadFiles):
1165         (TEST_F):
1166         (-[CommandBackForwardNavigationDelegate webView:didFinishNavigation:]): Deleted.
1167         * TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:
1168         (expectLinkCount):
1169         (TEST):
1170         (-[DataDetectionNavigationDelegate webView:didFinishNavigation:]): Deleted.
1171         * TestWebKitAPI/Tests/WebKit2Cocoa/FindInPage.mm:
1172         (TEST):
1173         (-[FindInPageNavigationDelegate webView:didFinishNavigation:]): Deleted.
1174         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:
1175         (TEST):
1176         (-[FixedLayoutSizeNavigationDelegate webView:didFinishNavigation:]): Deleted.
1177         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm:
1178         (TEST):
1179         (-[DatabaseProcessKillNavigationDelegate webView:didFinishNavigation:]): Deleted.
1180         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
1181         (-[IndexedDBNavigationDelegate webView:didFinishNavigation:]): Deleted.
1182         * TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLNotChange.mm:
1183         (TEST):
1184         (-[ProvisionalURLNotChangeController webView:didFinishNavigation:]): Deleted.
1185         (-[ProvisionalURLNotChangeController webView:didFailProvisionalNavigation:withError:]): Deleted.
1186         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
1187         (RequiresUserActionForPlaybackTest::createWebView):
1188         (RequiresUserActionForPlaybackTest::testVideoWithAudio):
1189         (RequiresUserActionForPlaybackTest::testVideoWithoutAudio):
1190         (RequiresUserActionForPlaybackTest::testAudioOnly):
1191         (-[RequiresUserActionForPlaybackNavigationDelegate webView:didFinishNavigation:]): Deleted.
1192         * TestWebKitAPI/Tests/WebKit2Cocoa/ShrinkToFit.mm:
1193         (TEST):
1194         (-[ShrinkToFitNavigationDelegate webView:didFinishNavigation:]): Deleted.
1195         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
1196         (TEST):
1197         (webViewForScriptMessageHandlerMultipleHandlerRemovalTest):
1198         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentWorld.mm:
1199         (TEST):
1200         (-[SimpleDelegate webView:didFinishNavigation:]): Deleted.
1201         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewResizeCrash.mm:
1202         (TEST):
1203         (-[WKPDFViewResizeNavigationDelegate webView:didFinishNavigation:]): Deleted.
1204         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm:
1205         (TEST):
1206         (-[EvaluateJavaScriptNavigationDelegate webView:didFinishNavigation:]): Deleted.
1207         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewTextInput.mm:
1208         (TEST):
1209         (-[DummyNavigationDelegate webView:didFinishNavigation:]): Deleted.
1210         * TestWebKitAPI/cocoa/TestNavigationDelegate.h: Added.
1211         * TestWebKitAPI/cocoa/TestNavigationDelegate.mm: Added.
1212         (-[TestNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
1213         (-[TestNavigationDelegate webView:didFinishNavigation:]):
1214         (-[TestNavigationDelegate _webView:renderingProgressDidChange:]):
1215         (-[TestNavigationDelegate waitForDidFinishNavigation]):
1216         (-[WKWebView _test_waitForDidFinishNavigation]):
1217
1218 2016-09-01  Ricky Mondello  <rmondello@apple.com>
1219
1220         YouTube Flash plug-in replacement facility should not insert showinfo=0 into iframe URLs
1221         https://bugs.webkit.org/show_bug.cgi?id=161478
1222         <rdar://problem/28050847>
1223
1224         Reviewed by Eric Carlson.
1225
1226         * TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp:
1227         (TestWebKitAPI::TEST_F): Update expected results.
1228
1229 2016-09-01  Anders Carlsson  <andersca@apple.com>
1230
1231         add BlockPtr::fromCallable
1232         https://bugs.webkit.org/show_bug.cgi?id=161504
1233
1234         Reviewed by Tim Horton.
1235
1236         Add a test.
1237
1238         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1239         * TestWebKitAPI/Tests/WTF/BlockPtr.mm: Added.
1240         (TestWebKitAPI::TEST):
1241
1242 2016-09-01  Alex Christensen  <achristensen@webkit.org>
1243
1244         URLParser should handle . and .. in URL paths
1245         https://bugs.webkit.org/show_bug.cgi?id=161443
1246
1247         Reviewed by Brady Eidson.
1248
1249         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1250         (TestWebKitAPI::eq):
1251         (TestWebKitAPI::TEST_F):
1252
1253 2016-09-01  Commit Queue  <commit-queue@webkit.org>
1254
1255         Unreviewed, rolling out r205295 and r205303.
1256         https://bugs.webkit.org/show_bug.cgi?id=161505
1257
1258         Broke the iOS build (Requested by ryanhaddad on #webkit).
1259
1260         Reverted changesets:
1261
1262         "Refactor MobileMiniBrowser into an application framework to
1263         allow external XCTesting"
1264         https://bugs.webkit.org/show_bug.cgi?id=161462
1265         http://trac.webkit.org/changeset/205295
1266
1267         "Unreviewed build-fix; don't specify an explicit deployment
1268         target."
1269         http://trac.webkit.org/changeset/205303
1270
1271 2016-09-01  Ricky Mondello  <rmondello@apple.com>
1272
1273         YouTube Flash plug-in replacement facility should more gracefully handle malformed queries
1274         https://bugs.webkit.org/show_bug.cgi?id=161476
1275         <rdar://problem/28050847>
1276
1277         Reviewed by Eric Carlson.
1278
1279         * TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp:
1280         (TestWebKitAPI::TEST_F): New tests. The first two and second-to-last test cases cover the "malformed" query
1281             logic. A few other tests are added, too.
1282
1283 2016-09-01  Jer Noble  <jer.noble@apple.com>
1284
1285         Unreviewed build-fix; don't specify an explicit deployment target.
1286
1287         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
1288
1289 2016-08-31  Jer Noble  <jer.noble@apple.com>
1290
1291         Refactor MobileMiniBrowser into an application framework to allow external XCTesting
1292         https://bugs.webkit.org/show_bug.cgi?id=161462
1293
1294         Reviewed by Eric Carlson.
1295
1296         XCTest targets need to be in the same project as the application which they're testing. To facilitate
1297         having external projects with XCTest targets, move the application's implementation into a framework
1298         that can be included with a bare-bones application shell for testing.
1299
1300         Simultaneously, add the ability to load files from within the new framework's bundle by using a
1301         'bundle:/' URL scheme. Update the tests to use this new bundle URL and remove the dependency on
1302         an external server for testing.
1303
1304         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
1305         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard:
1306         * MobileMiniBrowser/MobileMiniBrowser/Info.plist:
1307         * MobileMiniBrowser/MobileMiniBrowser/main.m:
1308         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
1309         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.m.
1310         (-[AppDelegate application:didFinishLaunchingWithOptions:]): Manually instantiate the main view
1311             controller from the framework's bundle.
1312         * MobileMiniBrowser/MobileMiniBrowserFramework/Assets.xcassets/AppIcon.appiconset/Contents.json: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json.
1313         * MobileMiniBrowser/MobileMiniBrowserFramework/Base.lproj/Main.storyboard: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Base.lproj/Main.storyboard.
1314         * MobileMiniBrowser/MobileMiniBrowserFramework/Info.plist: Added.
1315         * MobileMiniBrowser/MobileMiniBrowserFramework/MobileMiniBrowser.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
1316         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.h.
1317         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.m.
1318         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.h.
1319         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.m.
1320         (+[NSURL __bundleURLForFileURL:bundle:]): Add utility method.
1321         (+[NSURL __fileURLForBundleURL:bundle:]): Ditto.
1322         (-[WebViewController navigateTo:]): Support loading "bundle:/" URLs which are really just "file:" URLs
1323             pointing to the framework's resources directory.
1324         (-[WebViewController observeValueForKeyPath:ofObject:change:context:]): Ditto.
1325         * MobileMiniBrowser/MobileMiniBrowserUITests/MobileMiniBrowserUITests.m:
1326         (-[MobileMiniBrowserUITests testBasicVideoPlayback]):
1327
1328 2016-09-01  Carlos Garcia Campos  <cgarcia@igalia.com>
1329
1330         Unreviewed. Fix webkitpy unit tests after r205280.
1331
1332         * Scripts/webkitpy/style/checker_unittest.py:
1333         (GlobalVariablesTest.test_path_rules_specifier):
1334
1335 2016-08-31  Carlos Garcia Campos  <cgarcia@igalia.com>
1336
1337         [GTK] Move GObject DOM bindings to WebKit2 layer and stop auto generating them
1338         https://bugs.webkit.org/show_bug.cgi?id=161438
1339
1340         Reviewed by Michael Catanzaro.
1341
1342         Remove scripts related to the GObject DOM bindings auto-generation.
1343
1344         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1345         (RunGtkAPITests.getText2):
1346         (TestFactory.__init__):
1347         (RunWebKit1Tests): Deleted.
1348         (RunWebKit1Tests.start): Deleted.
1349         (RunWebKit1LeakTests): Deleted.
1350         (RunWebKit1LeakTests.start): Deleted.
1351         (RunAndUploadPerfTests): Deleted.
1352         (RunAndUploadPerfTests.start): Deleted.
1353         (BuildAndRemoteJSCTestsFactory.__init__): Deleted.
1354         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
1355         (BuildStepsTest.test_unnecessary_expected_results):
1356         (RunAndUploadPerfTestsTest): Deleted.
1357         (RunAndUploadPerfTestsTest.assertResults): Deleted.
1358         (RunAndUploadPerfTestsTest.test_success): Deleted.
1359         (RunAndUploadPerfTestsTest.test_tests_failed): Deleted.
1360         (RunAndUploadPerfTestsTest.test_build_bad_build): Deleted.
1361         (RunAndUploadPerfTestsTest.test_build_bad_source_json): Deleted.
1362         (RunAndUploadPerfTestsTest.test_build_bad_marge): Deleted.
1363         (RunAndUploadPerfTestsTest.test_build_bad_failed_uploading): Deleted.
1364         (RunAndUploadPerfTestsTest.test_build_bad_preparation): Deleted.
1365         (RunAndUploadPerfTestsTest.test_buildbot_timeout): Deleted.
1366         (RunBenchmarkTest): Deleted.
1367         (RunBenchmarkTest.assertResults): Deleted.
1368         (RunBenchmarkTest.test_success): Deleted.
1369         * Scripts/run-bindings-tests:
1370         (main):
1371         * Scripts/webkitpy/style/checker.py:
1372         * gtk/check-for-webkitdom-api-breaks: Removed.
1373         * gtk/generate-gtkdoc:
1374         * gtk/webkitdom.py: Removed.
1375
1376 2016-08-31  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1377
1378         [EFL] Small clean up in MiniBrowser
1379         https://bugs.webkit.org/show_bug.cgi?id=161428
1380
1381         Reviewed by Yusuke Suzuki.
1382
1383         This patch resizes MiniBrowser, add *char* constants for scheme,
1384         does line breaking, and remove unnecessary spaces.
1385
1386         * MiniBrowser/efl/main.c:
1387         (on_mouse_wheel):
1388         (history_list_hide):
1389         (script_execute_callback):
1390         (on_key_down):
1391         (on_url_changed):
1392         (on_error):
1393         (on_color_picker_request):
1394         (url_from_user_input):
1395         (url_load_from_user_input):
1396         (on_back_button_clicked):
1397         (on_search_case_option_changed):
1398         (on_search_word_start_option_changed):
1399         (on_list_item_select):
1400         (navigation_button_longpress_process):
1401         (on_navigation_policy_decision):
1402         (window_create):
1403         (parse_cookies_policy):
1404
1405 2016-08-31  Alex Christensen  <achristensen@webkit.org>
1406
1407         Implement IPv6 parsing in URLParser
1408         https://bugs.webkit.org/show_bug.cgi?id=161390
1409
1410         Reviewed by Darin Adler.
1411
1412         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1413         (TestWebKitAPI::TEST_F):
1414         (TestWebKitAPI::checkURLDifferences):
1415
1416 2016-08-31  Brady Eidson  <beidson@apple.com>
1417
1418         WK2 Gamepad provider on iOS.
1419         https://bugs.webkit.org/show_bug.cgi?id=161412
1420
1421         Reviewed by Tim Horton.
1422
1423         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1424
1425 2016-08-30  Ricky Mondello  <rmondello@apple.com>
1426
1427         YouTubePluginReplacementTest's URL transformation logic should have tests
1428         https://bugs.webkit.org/show_bug.cgi?id=161406
1429         <rdar://problem/28050847>
1430
1431         Reviewed by Eric Carlson.
1432
1433         Add some very basic tests. Future patches should expand on these to find and fix bugs.
1434
1435         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add YouTubePluginReplacement.cpp.
1436         * TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp: Added.
1437         (TestWebKitAPI::test): Added.
1438         (TestWebKitAPI::TEST_F): Added.
1439
1440 2016-08-30  Brady Eidson  <beidson@apple.com>
1441
1442         GameController.framework backend for gamepad API.
1443         https://bugs.webkit.org/show_bug.cgi?id=161086
1444
1445         Reviewed by Alex Christensen.
1446
1447         * MiniBrowser/mac/AppDelegate.m:
1448         (-[BrowserAppDelegate awakeFromNib]):
1449
1450         * MiniBrowser/mac/SettingsController.h:
1451         * MiniBrowser/mac/SettingsController.m:
1452         (-[SettingsController _populateMenu]):
1453         (-[SettingsController validateMenuItem:]):
1454         (-[SettingsController usesGameControllerFramework]):
1455         (-[SettingsController toggleUsesGameControllerFramework:]):
1456
1457 2016-08-30  Brent Fulgham  <bfulgham@apple.com>
1458
1459         Use of uninitialised memory in TransformationMatrx::blend4()
1460         https://bugs.webkit.org/show_bug.cgi?id=134621
1461         <rdar://problem/27337539>
1462
1463         Reviewed by Dean Jackson.
1464
1465         Change is based on the Blink change (patch by <alancutter@chromium.org>):
1466         <https://src.chromium.org/viewvc/blink?revision=177453&view=revision>
1467
1468         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1469         * TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp: Added.
1470         (TestWebKitAPI::TEST):
1471
1472 2016-08-30  Alex Christensen  <achristensen@webkit.org>
1473
1474         URLParser should handle relative URLs that start with //
1475         https://bugs.webkit.org/show_bug.cgi?id=161364
1476
1477         Reviewed by Darin Adler.
1478
1479         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1480         (TestWebKitAPI::checkRelativeURL):
1481         (TestWebKitAPI::TEST_F):
1482
1483 2016-08-29  Aakash Jain  <aakash_jain@apple.com>
1484
1485         EWS patch status page should indicate bot corresponding to each status message
1486         https://bugs.webkit.org/show_bug.cgi?id=161280
1487
1488         Reviewed by Alexey Proskuryakov.
1489
1490         * QueueStatusServer/templates/patch.html: Formatting changes.
1491
1492 2016-08-29  Aakash Jain  <aakash_jain@apple.com>
1493
1494         EWS should indicate which bot processed the patch
1495         https://bugs.webkit.org/show_bug.cgi?id=161222
1496
1497         Reviewed by Alexey Proskuryakov.
1498
1499         * QueueStatusServer/handlers/statusbubble.py:
1500         (StatusBubble._build_bubble): Remove the bot id from bubbles as it is confusing.
1501         bot ids are now displayed in patch status page.
1502
1503 2016-08-29  Alex Christensen  <achristensen@webkit.org>
1504
1505         URLParser should parse about:blank
1506         https://bugs.webkit.org/show_bug.cgi?id=161324
1507
1508         Reviewed by Brady Eidson.
1509
1510         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1511         (TestWebKitAPI::TEST_F):
1512
1513 2016-08-29  JF Bastien  <jfbastien@apple.com>
1514
1515         Bug 161165 - check-webkit-style doesn't understand macros containing `else` or labels
1516         https://bugs.webkit.org/show_bug.cgi?id=161165
1517
1518         Reviewed by Geoffrey Garen.
1519
1520         Fix handling of `else` in a macro. Don't handle labels in a macro:
1521         the checker is already pretty messy in that area and it should be
1522         a rare thing.
1523
1524         * Scripts/webkitpy/style/checkers/cpp.py:
1525         (check_braces):
1526         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1527         (CppStyleTest.test_else_clause_not_on_same_line_as_else):
1528
1529 2016-08-29  Alex Christensen  <achristensen@webkit.org>
1530
1531         API test URLParserTest.ParserFailures failing ASSERT_NOT_REACHED
1532         https://bugs.webkit.org/show_bug.cgi?id=161317
1533
1534         Reviewed by Brady Eidson.
1535
1536         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1537         (TestWebKitAPI::TEST_F):
1538
1539 2016-08-29  Jer Noble  <jer.noble@apple.com>
1540
1541         Unreviewed gardening; only build MiniBrowser against iOS SDK targets.
1542
1543         * Makefile:
1544
1545 2016-08-29  Jonathan Bedard  <jbedard@apple.com>
1546
1547         Sample Process on notifyDone timed out
1548         https://bugs.webkit.org/show_bug.cgi?id=161063
1549
1550         Reviewed by Darin Adler.
1551
1552         * Scripts/webkitpy/port/driver.py:
1553         (Driver._check_for_driver_timeout): 
1554         * WebKitTestRunner/InjectedBundle/TestRunner.cpp: Call sample_process during notifyDone timeouts.
1555         (WTR::TestRunner::waitToDumpWatchdogTimerFired):
1556         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm: Log pid and name for testing harness.
1557
1558 2016-08-29  Jonathan Bedard  <jbedard@apple.com>
1559
1560         Check-webkit-style does not work with Objective-C blocks
1561         https://bugs.webkit.org/show_bug.cgi?id=161247
1562
1563         Reviewed by Darin Adler.
1564
1565         * Scripts/webkitpy/style/checkers/cpp.py:
1566         (regex_for_lambda_functions): Changed to regex_for_lambdas_and_blocks.
1567         (regex_for_lambdas_and_blocks): Added check for Objective-C blocks.
1568         (check_spacing_for_function_call): Pass file state for lambda check.
1569         (check_spacing): Pass file state for lambda check.
1570         (check_braces): Pass file state for lambda check.
1571         (check_style): Pass file state for lambda check.
1572         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1573         (CppStyleTest.test_cpp_lambda_functions): Changed from ‘test_lambda_functions’.
1574         (CppStyleTest.test_objective_c_block): Tests Objective-C blocks.
1575         (CppStyleTest.test_lambda_functions): Changed to ‘test_cpp_lambda_functions’.
1576
1577 2016-08-29  Aakash Jain  <aakash_jain@apple.com>
1578
1579         EWS patch status page should indicate bot corresponding to each status message
1580         https://bugs.webkit.org/show_bug.cgi?id=161280
1581
1582         Reviewed by Alexey Proskuryakov.
1583
1584         * QueueStatusServer/templates/patch.html: Added bot_id in the template so that bot id is displayed
1585         for each status message.
1586         * QueueStatusServer/stylesheets/common.css:
1587         (.status-bot): Added corresponding stylesheet class.
1588
1589 2016-08-29  Per Arne Vollan  <pvollan@apple.com>
1590
1591         Attempt to fix Windows build after r205090.
1592
1593         Unreviewed build fix.
1594
1595         * DumpRenderTree/win/DRTDataObject.cpp:
1596         (cfFileNameWFormat):
1597         (cfUrlWFormat):
1598
1599 2016-08-27  Alex Christensen  <achristensen@webkit.org>
1600
1601         URLParser should parse relative URLs
1602         https://bugs.webkit.org/show_bug.cgi?id=161282
1603
1604         Reviewed by Darin Adler.
1605
1606         * TestWebKitAPI/Tests/WTF/StringView.cpp:
1607         (TestWebKitAPI::TEST):
1608         Added some tests for the new operator=.
1609         Test saving iterators, restoring iterators, and even assigning iterators to new CodePoints objects.
1610         Using the same iterator to iterate multiple objects is bad practice, but it's possible and now tested.
1611         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1612         (TestWebKitAPI::checkURL):
1613         (TestWebKitAPI::TEST_F):
1614         (TestWebKitAPI::checkRelativeURL):
1615         (TestWebKitAPI::checkURLDifferences):
1616         (TestWebKitAPI::shouldFail):
1617         Add some relative URL tests.
1618
1619 2016-08-27  Jonathan Bedard  <jbedard@apple.com>
1620
1621         WTR needs an implementation of setAutomaticLinkDetectionEnabled
1622         https://bugs.webkit.org/show_bug.cgi?id=87162
1623
1624         Reviewed by Darin Adler.
1625
1626         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Added setAutomaticLinkDetectionEnabled binding.
1627         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1628         (WTR::InjectedBundle::beginTesting): Set automatic link detection to false by default.
1629         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1630         (WTR::TestRunner::setAutomaticLinkDetectionEnabled): Added setAutomaticLinkDetectionEnabled definition.
1631         * WebKitTestRunner/InjectedBundle/TestRunner.h: Added setAutomaticLinkDetectionEnabled declaration.
1632
1633 2016-08-27  Joseph Pecoraro  <pecoraro@apple.com>
1634
1635         Web Inspector: Make localizedString.js diff and commit friendly (UTF16 -> UTF8)
1636         https://bugs.webkit.org/show_bug.cgi?id=28685
1637         <rdar://problem/16460975>
1638
1639         Reviewed by Darin Adler.
1640
1641         * Scripts/extract-localizable-js-strings:
1642         * Scripts/update-webkit-localizable-strings:
1643         WebInspectorUI localizedStrings.js is now UTF-8. Other clients of
1644         this script still use UTF-16, so keep that the default.
1645
1646 2016-08-27  Alexey Proskuryakov  <ap@apple.com>
1647
1648         REGRESSION (r204052): Popovers on bot watcher's dashboard are broken
1649         https://bugs.webkit.org/show_bug.cgi?id=161254
1650
1651         Reviewed by Darin Adler.
1652
1653         Simplify the CSS. My understanding that the CSS was correct, and the root cause
1654         is tracked in bug 160478.
1655
1656         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Popover.css:
1657
1658 2016-08-27  Simon Fraser  <simon.fraser@apple.com>
1659
1660         Add run-webkit-tests --print-expectations to show expectations for all or a subset of tests
1661         https://bugs.webkit.org/show_bug.cgi?id=161217
1662
1663         Reviewed by Ryosuke Niwa.
1664
1665         "run-webkit-tests --print-expectations" runs the same logic as running the tests, but
1666         dumps out the lists of tests that would be run and skipped, and, for each, the entry
1667         in TestExpectations that determines the expected outcome of the test.
1668
1669         This is an improved version of webkit-patch print-expectations.
1670
1671         See bug for sample output.
1672
1673         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1674         (Manager._print_expectations_for_subset): Print out the list of tests and expected
1675         outcome for some subset of tests.
1676         (Manager.print_expectations): Do the same splitting by device class that running tests
1677         does, and for each subset of tests, call _print_expectations_for_subset.
1678         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
1679         (TestExpectationParser.expectation_for_skipped_test): Set the flag
1680         expectation_line.not_applicable_to_current_platform
1681         (TestExpectationLine.__init__): Init not_applicable_to_current_platform to False
1682         (TestExpectationLine.expected_behavior): line.expectation is ['PASS'] by default,
1683         even for skipped tests. This function returns a list relevant for display, taking the skipped
1684         modifier into account.
1685         (TestExpectationLine.create_passing_expectation): expectations is normally a list, not a set.
1686         (TestExpectations.readable_filename_and_line_number): Return something printable for 
1687         lines with and without filenames
1688         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1689         (main): Handle options.print_expectations
1690         (parse_args): Add support for --print-expectations
1691         (_print_expectations):
1692         * Scripts/webkitpy/port/ios.py:
1693         (IOSSimulatorPort.default_child_processes): Make this a debug log.
1694
1695 2016-08-26  Dan Bernstein  <mitz@apple.com>
1696
1697         Keep trying to fix the build after r205057.
1698
1699         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
1700
1701 2016-08-26  Dan Bernstein  <mitz@apple.com>
1702
1703         Keep trying to fix the build after r205057.
1704
1705         * MobileMiniBrowser/MobileMiniBrowser/AppDelegate.m: Don’t try to import nonexistent
1706           config.h. This file is only meant to be built with Xcode anyway.
1707         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard: Make this compile
1708           with Xcode 7.3 and deploy to iOS 9.0.
1709         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/Main.storyboard: Ditto.
1710         * MobileMiniBrowser/MobileMiniBrowser/TabViewController.m: Don’t try to import config.h.
1711         * MobileMiniBrowser/MobileMiniBrowser/WebViewController.m: Ditto.
1712
1713 2016-08-26  Dan Bernstein  <mitz@apple.com>
1714
1715         Start trying to fix the build after r205057.
1716
1717         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
1718
1719 2016-08-26  Alexey Proskuryakov  <ap@apple.com>
1720
1721         Remove Yosemite Leaks from the flakiness dashboard
1722         https://bugs.webkit.org/show_bug.cgi?id=161253
1723
1724         Reviewed by Anders Carlsson.
1725
1726         * TestResultServer/static-dashboards/builders.jsonp:
1727
1728 2016-08-26  Sam Weinig  <sam@webkit.org>
1729
1730         Remove support for ENABLE_LEGACY_WEB_AUDIO
1731         https://bugs.webkit.org/show_bug.cgi?id=161262
1732
1733         Reviewed by Anders Carlsson.
1734
1735         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1736
1737 2016-08-26  Jer Noble  <jer.noble@apple.com>
1738
1739         Add a test harness for running UI tests on the iOS Simulator
1740         https://bugs.webkit.org/show_bug.cgi?id=161265
1741
1742         Reviewed by Simon Fraser.
1743
1744         Add a new iOS Simulator application which uses WKWebView to implement a basic browser, and which
1745         can serve as a test harness for WebKit UI tests.
1746
1747         Also add a basic media playback test which verifies that a <video> element will begin playing in
1748         fullscreen on an iPhone device, but will play inline on an iPad device.
1749
1750         * Makefile: Add MobileMiniBrowser as a Module for iOS builds.
1751         * MobileMiniBrowser/Configurations/Base.xcconfig: Added.
1752         * MobileMiniBrowser/Configurations/DebugRelease.xcconfig: Added.
1753         * MobileMiniBrowser/Configurations/MobileMiniBrowser.xcconfig: Added.
1754         * MobileMiniBrowser/Makefile: Added.
1755         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj: Added.
1756         * MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h: Added.
1757         * MobileMiniBrowser/MobileMiniBrowser/AppDelegate.m: Added.
1758         (-[AppDelegate application:didFinishLaunchingWithOptions:]):
1759         (-[AppDelegate applicationWillResignActive:]):
1760         (-[AppDelegate applicationDidEnterBackground:]):
1761         (-[AppDelegate applicationWillEnterForeground:]):
1762         (-[AppDelegate applicationDidBecomeActive:]):
1763         (-[AppDelegate applicationWillTerminate:]):
1764         * MobileMiniBrowser/MobileMiniBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json: Added.
1765         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard: Added.
1766         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/Main.storyboard: Added.
1767         * MobileMiniBrowser/MobileMiniBrowser/Info.plist: Added.
1768         * MobileMiniBrowser/MobileMiniBrowser/TabViewController.h: Added.
1769         * MobileMiniBrowser/MobileMiniBrowser/TabViewController.m: Added.
1770         (-[TabViewController dealloc]):
1771         (-[TabViewController viewDidLoad]):
1772         (-[TabViewController observeValueForKeyPath:ofObject:change:context:]):
1773         (-[TabViewController tableView:cellForRowAtIndexPath:]):
1774         (-[TabViewController tableView:numberOfRowsInSection:]):
1775         (-[TabViewController numberOfSectionsInTableView:]):
1776         (-[TabViewController tableView:canEditRowAtIndexPath:]):
1777         (-[TabViewController tableView:canMoveRowAtIndexPath:]):
1778         (-[TabViewController tableView:commitEditingStyle:forRowAtIndexPath:]):
1779         (-[TabViewController tableView:didSelectRowAtIndexPath:]):
1780         * MobileMiniBrowser/MobileMiniBrowser/WebViewController.h: Added.
1781         * MobileMiniBrowser/MobileMiniBrowser/WebViewController.m: Added.
1782         (-[WebViewController viewDidLoad]):
1783         (-[WebViewController didReceiveMemoryWarning]):
1784         (-[WebViewController reload:]):
1785         (-[WebViewController goBack:]):
1786         (-[WebViewController goForward:]):
1787         (-[WebViewController urlFieldEditingBegan:]):
1788         (-[WebViewController navigateTo:]):
1789         (-[WebViewController showTabs:]):
1790         (-[WebViewController selectWebViewAtIndex:]):
1791         (-[WebViewController removeWebViewAtIndex:]):
1792         (-[WebViewController addWebView]):
1793         (-[WebViewController createWebView]):
1794         (-[WebViewController removeWebView:]):
1795         (-[WebViewController setCurrentWebView:]):
1796         (-[WebViewController webView:didFailNavigation:withError:]):
1797         (-[WebViewController observeValueForKeyPath:ofObject:change:context:]):
1798         * MobileMiniBrowser/MobileMiniBrowser/main.m: Added.
1799         (main):
1800         * MobileMiniBrowser/MobileMiniBrowserUITests/Info.plist: Added.
1801         * MobileMiniBrowser/MobileMiniBrowserUITests/MobileMiniBrowserUITests.m: Added.
1802         (-[MobileMiniBrowserUITests setUp]):
1803         (-[MobileMiniBrowserUITests tearDown]):
1804         (-[MobileMiniBrowserUITests testBasicVideoPlayback]):
1805
1806 2016-08-26  Aakash Jain  <aakash_jain@apple.com>
1807
1808         webkit-queues queue-status page should should list more recent statuses
1809         https://bugs.webkit.org/show_bug.cgi?id=161220
1810
1811         Reviewed by Daniel Bates.
1812
1813         * QueueStatusServer/handlers/queuestatus.py:
1814         (QueueStatus._fetch_statuses): Increase the number of recent statuses from 15 to 50.
1815
1816 2016-08-26  Dan Bernstein  <mitz@apple.com>
1817
1818         [Cocoa] Infinite recursion calling -charValue on a WKNSNumber
1819         https://bugs.webkit.org/show_bug.cgi?id=161258
1820
1821         Reviewed by Anders Carlsson.
1822
1823         * TestWebKitAPI/Tests/WebKit2Cocoa/WKNSNumber.mm:
1824         (TestWebKitAPI::TEST):
1825
1826 2016-08-26  Csaba Osztrogonác  <ossy@webkit.org>
1827
1828         Fix the ENABLE(WEBASSEMBLY) build on Linux
1829         https://bugs.webkit.org/show_bug.cgi?id=161197
1830
1831         Reviewed by Mark Lam.
1832
1833         * Scripts/build-jsc:
1834
1835 2016-08-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1836
1837         [GTK] run-gtk-tests should use the driver environment for checking the accessibility bus
1838         https://bugs.webkit.org/show_bug.cgi?id=161149
1839
1840         Reviewed by Carlos Garcia Campos.
1841
1842         Add a new function for waiting for the accesibility bus. It sets
1843         the test environment variables before starting the GLib mainloop.
1844         And restores the previous environment after it has finished.
1845         It also adds a timeout (5 seconds) to abort in case it has not
1846         been able to detect the accesibility bus before the timeout expires.
1847
1848         * Scripts/run-gtk-tests:
1849         (TestRunner):
1850         (TestRunner._wait_for_accessibility_bus):
1851         (TestRunner._wait_for_accessibility_bus.timeout_accessibility_bus):
1852         (TestRunner._start_accessibility_daemons):
1853         (TestRunner._get_tests_from_google_test_suite): Run this command also with the driver test environment.
1854
1855 2016-08-26  Per Arne Vollan  <pvollan@apple.com>
1856
1857         [Win] Warning fix.
1858         https://bugs.webkit.org/show_bug.cgi?id=161236
1859
1860         Reviewed by Brent Fulgham.
1861
1862         The & operator in the Test struct has no body.
1863
1864         * TestWebKitAPI/Tests/WTF/Vector.cpp:
1865         (TestWebKitAPI::TEST):
1866
1867 2016-08-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1868
1869         [GTK] run-gtk-tests should use webkitpy.port.gtk and webkitpy.port.xvfbdriver
1870         https://bugs.webkit.org/show_bug.cgi?id=160736
1871
1872         Reviewed by Carlos Garcia Campos.
1873
1874         This plugs run-gtk-tests into the webkitpy testing infrastructure.
1875         As a benefit of this, run-gtk-tests now can be executed over any of
1876         the existing supported gtk test display servers (xvfb, weston-over-xvfb,
1877         or native xorg). A new command line switch --wayland is added for
1878         run-gtk-tests.
1879
1880         * Scripts/run-gtk-tests:
1881         (TestRunner.__init__): Remove the --display command line switch, its not longer useful.
1882         Add a --wayland command line switch.
1883         (TestRunner._start_accessibility_daemons):
1884         (TestRunner):
1885         (TestRunner.__init__):
1886         (TestRunner._run_xvfb): Deleted.
1887         (TestRunner._create_driver):
1888         (TestRunner._setup_testing_environment): Delete the environment variable definitions that
1889         are now done by driver._setup_environ_for_test().
1890         (TestRunner._tear_down_testing_environment):
1891         * Scripts/webkitpy/port/driver.py:
1892         (Driver.__init__): Define self._server_name in the constructor of the base class.
1893         It is used by several functions, so it makes sense to store once the value here.
1894         (Driver._setup_environ_for_test): Factorize setting the environment for a given test.
1895         (Driver._start): Get the environment from self._setup_environ_for_test()
1896         * Scripts/webkitpy/port/driver_unittest.py:
1897         (DriverTest):
1898         (DriverTest.test_setup_environ_for_test): Add unittest for driver._setup_environ_for_test()
1899         * Scripts/webkitpy/port/gtk.py: Move the inspection of the env var USE_NATIVE_XDISPLAY to the constructor.
1900         (GtkPort.__init__):
1901         (GtkPort._driver_class):
1902         * Scripts/webkitpy/port/westondriver.py: Define and use self._setup_environ_for_test()
1903         (WestonDriver._setup_environ_for_test):
1904         (WestonDriver._start):
1905         * Scripts/webkitpy/port/xorgdriver.py: Define and use self._setup_environ_for_test()
1906         (XorgDriver._setup_environ_for_test):
1907         (XorgDriver._start):
1908         * Scripts/webkitpy/port/xvfbdriver.py: Define and use self._setup_environ_for_test()
1909         (XvfbDriver._setup_environ_for_test):
1910         (XvfbDriver._start):
1911
1912 2016-08-26  Csaba Osztrogonác  <ossy@webkit.org>
1913
1914         [EFL][GTK] REGRESSION(204877): Fix the clean build
1915         https://bugs.webkit.org/show_bug.cgi?id=161240
1916
1917         Reviewed by Carlos Garcia Campos.
1918
1919         * WebKitTestRunner/PlatformEfl.cmake:
1920         * WebKitTestRunner/PlatformGTK.cmake:
1921
1922 2016-08-26  Aakash Jain  <aakash_jain@apple.com>
1923
1924         EWS should indicate which bot processed the patch
1925         https://bugs.webkit.org/show_bug.cgi?id=161222
1926
1927         Reviewed by Daniel Bates.
1928
1929         * QueueStatusServer/handlers/statusbubble.py:
1930         (StatusBubble._build_bubble): Display the bot id in status bubble. Also removed "Started processing" message since
1931         after bug fix of 161223, bots send the "Started processing patch" message and it would be displayed in Recent messages.
1932         Also added "Started processing patch" message to progress_statuses.
1933         I might consider displaying bot id in other statuses as well later on.
1934
1935 2016-08-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1936
1937         [EFL] Change homepage url to www.ewebkit.org on MiniBrowser
1938         https://bugs.webkit.org/show_bug.cgi?id=161184
1939
1940         Reviewed by Carlos Garcia Campos.
1941
1942         * MiniBrowser/efl/main.c: Set www.ewebkit.org.
1943
1944 2016-08-25  Aakash Jain  <aakash_jain@apple.com>
1945
1946         ews queues should update status server when they start processing patch
1947         https://bugs.webkit.org/show_bug.cgi?id=161223
1948
1949         Reviewed by Daniel Bates.
1950
1951         * Scripts/webkitpy/tool/commands/queues.py:
1952         (AbstractReviewQueue.process_work_item): Update status server that the bot started processing the patch.
1953         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
1954         (EarlyWarningSystemTest._default_expected_logs): Updated the unit test accordingly.
1955         * Scripts/webkitpy/tool/commands/queues_unittest.py:
1956         (StyleQueueTest.test_style_queue_with_style_exception): Same.
1957         (test_style_queue_with_watch_list_exception): Same.
1958         (test_non_valid_patch): Same.
1959
1960 2016-08-25  Alex Christensen  <achristensen@webkit.org>
1961
1962         CMake build fix.
1963
1964         * DumpRenderTree/PlatformMac.cmake:
1965
1966 2016-08-25  Alex Christensen  <achristensen@webkit.org>
1967
1968         Fix URLParserTest with GuardMalloc
1969         https://bugs.webkit.org/show_bug.cgi?id=161214
1970         rdar://problem/28014390
1971
1972         Reviewed by Tim Horton.
1973
1974         The CString returned by String::utf8 was going out of scope before we were doing a string comparison on its data.
1975         This just does the comparison of the CStrings instead to keep them in scope during the comparison.
1976
1977         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1978         (TestWebKitAPI::eq):
1979         (TestWebKitAPI::checkURL):
1980         (TestWebKitAPI::checkURLDifferences):
1981         (TestWebKitAPI::s): Deleted.
1982
1983 2016-08-25  Wenson Hsieh  <wenson_hsieh@apple.com>
1984
1985         Dragging against the end of the inline media scrubber causes the media scrubber to hide
1986         https://bugs.webkit.org/show_bug.cgi?id=161207
1987
1988         Reviewed by Eric Carlson.
1989
1990         Tweaks an existing WebKit API test covering this behavior change. After some discussion, rather than hide media
1991         controls in this case, we should actually continue showing them. This is because seeking due to user gestures
1992         similar to "scrubbing" are indistinguishable from gestures that immediately seek to the end.
1993
1994         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
1995         (TestWebKitAPI::TEST):
1996
1997 2016-08-25  Daniel Bates  <dabates@apple.com>
1998
1999         Watch more things.
2000
2001         * Scripts/webkitpy/common/config/watchlist:
2002
2003 2016-08-25  Daniel Bates  <dabates@apple.com>
2004
2005         Fix test failure on GTK Linux bots after <http://trac.webkit.org/changeset/204695>
2006         (https://bugs.webkit.org/show_bug.cgi?id=148437)
2007
2008         Remove use of module File::Slurp as it is not part of the standard Perl 5 distribution
2009         and is not installed on the GTK Linux bots.
2010
2011         * Scripts/webkitperl/prepare-ChangeLog_unittest/generateFunctionLists.pl:
2012         (writeFileWithContent): Added.
2013
2014 2016-08-25  Per Arne Vollan  <pvollan@apple.com>
2015
2016         [Win] run-api-tests is failing.
2017         https://bugs.webkit.org/show_bug.cgi?id=161140
2018
2019         Reviewed by Brent Fulgham.
2020
2021         Since the move constructor is called 3 more times on Windows, we will have 3 more destructor calls.
2022
2023         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
2024         (TestWebKitAPI::TEST):
2025
2026 2016-08-24  Per Arne Vollan  <pvollan@apple.com>
2027
2028         [Win] run-api-tests is failing.
2029         https://bugs.webkit.org/show_bug.cgi?id=161140
2030
2031         Reviewed by Brent Fulgham.
2032
2033         The number of times the move constructor is called is different on Windows in this test. This seems
2034         to be caused by differences in MSVC's implementation of lambdas or std functions like std::make_tuple.
2035
2036         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
2037         (TestWebKitAPI::TEST):
2038
2039 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
2040
2041         Fix iOS DRT build.
2042
2043         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
2044         (WTR::UIScriptController::zoomToScale):
2045
2046 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
2047
2048         [iOS DRT] Hook up uiController.zoomToScale() for DRT
2049         https://bugs.webkit.org/show_bug.cgi?id=161173
2050
2051         Reviewed by Tim Horton.
2052         
2053         Make a UIWebScrollView subclass, DumpRenderTreeWebScrollView, which has an internal delegate to get
2054         UIScrollView delegate callbacks. Store the zoomToScaleCompletionHandler on it.
2055         
2056         UIScriptController::zoomToScale() has to bounce the zoom to the main thread (no poking UIKit from
2057         the WebThread!), but queue up the callback first.
2058
2059         * DumpRenderTree/ios/DumpRenderTreeBrowserView.h:
2060         * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm:
2061         (-[DumpRenderTreeWebScrollView initWithFrame:]):
2062         (-[DumpRenderTreeWebScrollView dealloc]):
2063         (-[DumpRenderTreeWebScrollView zoomToScale:animated:completionHandler:]):
2064         (-[DumpRenderTreeWebScrollView completedZoomToScale]):
2065         (-[DumpRenderTreeWebScrollViewDelegate initWithScrollView:]):
2066         (-[DumpRenderTreeWebScrollViewDelegate viewForZoomingInScrollView:]): All UIScrollView delegates need to implement this.
2067         (-[DumpRenderTreeWebScrollViewDelegate scrollViewDidEndZooming:withView:atScale:]):
2068         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
2069         (WTR::UIScriptController::zoomToScale):
2070         * DumpRenderTree/mac/DumpRenderTree.mm:
2071         (createWebViewAndOffscreenWindow):
2072         * TestRunnerShared/UIScriptContext/UIScriptController.h:
2073         (WTR::UIScriptController::context):
2074
2075 2016-08-24  Ryan Haddad  <ryanhaddad@apple.com>
2076
2077         Attempt to fix Windows build after r204918.
2078
2079         Unreviewed build fix.
2080
2081         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2082         (ResourceLoadDelegate::willSendRequest):
2083
2084 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
2085
2086         [iOS DRT] Get basic viewport tests working in DRT
2087         https://bugs.webkit.org/show_bug.cgi?id=161160
2088
2089         Reviewed by Tim Horton.
2090         
2091         Hook up enough of UIScriptController in iOS DRT to be able to read viewport
2092         scale, and get the contentVisibleRect.
2093         
2094         Requires exposing a bit of UIWebBrowserView SPI from UIKit, which in turn
2095         requires typing the gWebBrowserView as a DumpRenderTreeBrowserView * everywhere.
2096         
2097         One test has different results between DRT and WTR, but DRT behavior seems to differ
2098         from UIWebView here, so just give it a WK1-specific result.
2099
2100         * DumpRenderTree/ios/DumpRenderTreeBrowserView.h:
2101         * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm:
2102         (-[DumpRenderTreeBrowserView documentVisibleRect]):
2103         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
2104         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
2105         (WTR::UIScriptController::zoomScale):
2106         (WTR::UIScriptController::minimumZoomScale):
2107         (WTR::UIScriptController::maximumZoomScale):
2108         (WTR::UIScriptController::contentVisibleRect):
2109         * DumpRenderTree/mac/DumpRenderTree.mm:
2110         (createWebViewAndOffscreenWindow):
2111         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2112
2113 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
2114
2115         Minor project rearrangement.
2116
2117         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2118
2119 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
2120
2121         [iOS DRT] Make iOS DRT use the same window size as WebKitTestRunner for flexible viewport tests
2122         https://bugs.webkit.org/show_bug.cgi?id=161124
2123
2124         Reviewed by Daniel Bates.
2125         
2126         Use the main UIScreen's bounds for the size of the window in flexible viewport mode,
2127         and remove the 'phoneBrowserAddressBarOffset' hack, so that it matches WTR.
2128         
2129         Remove some unnecessary zero initializations of static variables.
2130         
2131         Change _setVisibleSize to use the window size, which should not be a behavior change
2132         because this it just used for text autosizing, which is disabled by default,
2133         and only the width is consulted.
2134
2135         * DumpRenderTree/mac/DumpRenderTree.mm:
2136         (adjustWebDocumentForFlexibleViewport):
2137         (adjustWebDocumentForStandardViewport):
2138         (createWebViewAndOffscreenWindow):
2139
2140 2016-08-24  Jonathan Bedard  <jbedard@apple.com>
2141
2142         WebKit2 needs layoutTestController.setDeferMainResourceDataLoad
2143         https://bugs.webkit.org/show_bug.cgi?id=42777
2144
2145         Reviewed by Darin Adler.
2146
2147         The setDeferMainResourceDataLoad method was not correctly tested in DumpRenderTree and would pass even when setDeterMainResourceDataLoad was not called.  Removed function and test.
2148
2149         * DumpRenderTree/TestRunner.cpp:
2150         (setDeferMainResourceDataLoadCallback): Removed setDeferMainResourceDataLoad.
2151         * DumpRenderTree/TestRunner.h:
2152         (TestRunner::deferMainResourceDataLoad): Ditto.
2153         (TestRunner::setDeferMainResourceDataLoad): Ditto.
2154         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Ditto.
2155
2156 2016-08-23  Anders Carlsson  <andersca@apple.com>
2157
2158         Add enum traits and use them in the IPC::Decoder
2159         https://bugs.webkit.org/show_bug.cgi?id=161103
2160
2161         Reviewed by Sam Weinig.
2162
2163         Add API test.
2164
2165         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2166         * TestWebKitAPI/Tests/WTF/EnumTraits.cpp: Added.
2167         (TestWebKitAPI::TEST):
2168
2169 2016-08-24  Filip Pizlo  <fpizlo@apple.com>
2170
2171         Unreviewed, roll out r204901, r204897, r204866, r204856, r204854.
2172
2173         * DumpRenderTree/TestRunner.cpp:
2174         * DumpRenderTree/mac/DumpRenderTree.mm:
2175         (DumpRenderTreeMain):
2176         * Scripts/run-jsc-stress-tests:
2177         * TestWebKitAPI/Tests/WTF/Vector.cpp:
2178         (TestWebKitAPI::TEST):
2179
2180 2016-08-24  Simon Fraser  <simon.fraser@apple.com>
2181
2182         Try to fix Production builds.
2183         
2184         PRODUCTION_FRAMEWORKS_DIR was undefined here.
2185
2186         * DumpRenderTree/mac/Configurations/Base.xcconfig:
2187
2188 2016-08-24  Dan Bernstein  <mitz@apple.com>
2189
2190         Add a convenience function for creating a WKFrameHandleRef from a WKFrameRef without going through WKFrameInfoRef
2191         https://bugs.webkit.org/show_bug.cgi?id=161152
2192
2193         Reviewed by Anders Carlsson.
2194
2195         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2196         * TestWebKitAPI/Tests/WebKit2/FrameHandle.cpp: Added.
2197         (TestWebKitAPI::didFinishLoadForFrame):
2198         (TestWebKitAPI::TEST):
2199
2200 2016-08-24  Nan Wang  <n_wang@apple.com>
2201
2202         AX: Add test for line text marker range on iOS
2203         https://bugs.webkit.org/show_bug.cgi?id=161108
2204         <rdar://problem/27976405>
2205
2206         Reviewed by Chris Fleizach.
2207
2208         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2209         (AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
2210         (AccessibilityUIElement::textMarkerRangeForElement):
2211         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2212         (WTR::AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
2213         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
2214
2215 2016-08-24  Per Arne Vollan  <pvollan@apple.com>
2216
2217         [Win] Warning fixes.
2218         https://bugs.webkit.org/show_bug.cgi?id=161079
2219
2220         Reviewed by Brent Fulgham.
2221
2222         * MiniBrowser/win/WebDownloadDelegate.cpp:
2223         * MiniBrowser/win/WinMain.cpp:
2224         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
2225         (TestWebKitAPI::TEST):
2226
2227 2016-08-23  Simon Fraser  <simon.fraser@apple.com>
2228
2229         Fix Windows DRT build.
2230
2231         * DumpRenderTree/win/TestRunnerWin.cpp:
2232         (TestRunner::mainFrameJSContext):
2233
2234 2016-08-23  Simon Fraser  <simon.fraser@apple.com>
2235
2236         Try to fix Windows build.
2237         
2238         Pass Tools/DumpRenderTree/Bindings as the working directory for the generate_bindings.pl
2239         so that perl finds CodeGeneratorDumpRenderTree.pm.
2240
2241         * DumpRenderTree/CMakeLists.txt:
2242
2243 2016-08-23  Simon Fraser  <simon.fraser@apple.com>
2244
2245         Hook up UIScriptController in DumpRenderTree
2246         https://bugs.webkit.org/show_bug.cgi?id=161064
2247
2248         Reviewed by Sam Weinig.
2249
2250         Add a skeleton implementation of UIScriptController to DumpRenderTree, building for both
2251         Mac and iOS. Currently this is sufficient to test doAsyncTask(), enabling two tests
2252         in fast/harness which test this.
2253
2254         Add a DerivedSources target to DumpRenderTree to invoke DerivedSources.make.
2255
2256         Move related code shared between WTR and DRT into Tools/TestRunnerShared, and cleanse it of
2257         WK2-isms. Fix the makefiles to refer to the new location.
2258
2259         Hook up TestRunner::runUIScript() for DumpRenderTree, which requires keeping track of callbacks
2260         by ID and firing them once they are complete.
2261
2262         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm: Added (copied from WTR).
2263         * DumpRenderTree/CMakeLists.txt:
2264         * DumpRenderTree/DerivedSources.make: Copied from Tools/WebKitTestRunner/DerivedSources.make.
2265         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2266         * DumpRenderTree/TestRunner.cpp:
2267         (runUIScriptCallback):
2268         (TestRunner::staticFunctions):
2269         (TestRunner::cacheTestRunnerCallback):
2270         (TestRunner::callTestRunnerCallback):
2271         (TestRunner::clearTestRunnerCallbacks):
2272         (nextUIScriptCallbackID):
2273         (TestRunner::runUIScript):
2274         (TestRunner::callUIScriptCallback):
2275         (TestRunner::uiScriptDidComplete):
2276         (TestRunner::cleanup):
2277         * DumpRenderTree/TestRunner.h:
2278         * DumpRenderTree/ios/UIScriptControllerIOS.mm: Added.
2279         * DumpRenderTree/mac/Configurations/Base.xcconfig: DerivedSources.make needs WEBCORE_PRIVATE_HEADERS_DIR to be defined.
2280         * DumpRenderTree/mac/DumpRenderTree.mm:
2281         (runTest):
2282         * DumpRenderTree/mac/TestRunnerMac.mm:
2283         (TestRunner::mainFrameJSContext):
2284         * DumpRenderTree/mac/UIScriptControllerMac.mm: Copied from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h.
2285         (WTR::UIScriptController::doAsyncTask):
2286         * DumpRenderTree/win/DumpRenderTree.cpp:
2287         * TestRunnerShared/Bindings/JSWrappable.h: Renamed from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h.
2288         (WTR::JSWrappable::~JSWrappable):
2289         (WTR::JSValueMakeStringOrNull):
2290         * TestRunnerShared/Bindings/JSWrapper.cpp: Renamed from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp.
2291         (WTR::JSWrapper::wrap):
2292         (WTR::JSWrapper::unwrap):
2293         (WTR::unwrapObject):
2294         (WTR::JSWrapper::initialize):
2295         (WTR::JSWrapper::finalize):
2296         * TestRunnerShared/Bindings/JSWrapper.h: Renamed from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h.
2297         (WTR::toJS):
2298         (WTR::setProperty):
2299         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: Renamed from Tools/WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl.
2300         * TestRunnerShared/UIScriptContext/UIScriptContext.cpp: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptContext.cpp.
2301         * TestRunnerShared/UIScriptContext/UIScriptContext.h: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptContext.h.
2302         (WTR::UIScriptContext::currentParentCallbackIsPendingCompletion):
2303         * TestRunnerShared/UIScriptContext/UIScriptController.cpp: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptController.cpp.
2304         * TestRunnerShared/UIScriptContext/UIScriptController.h: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptController.h.
2305         * WebKitTestRunner/CMakeLists.txt:
2306         * WebKitTestRunner/DerivedSources.make:
2307         * WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h:
2308         (WTR::JSWrappable::~JSWrappable): Deleted.
2309         (WTR::JSValueMakeStringOrNull): Deleted.
2310         * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp:
2311         (WTR::JSWrapper::wrap): Deleted.
2312         (WTR::JSWrapper::unwrap): Deleted.
2313         (WTR::unwrapObject): Deleted.
2314         (WTR::JSWrapper::initialize): Deleted.
2315         (WTR::JSWrapper::finalize): Deleted.
2316         * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h:
2317         (WTR::toJS): Deleted.
2318         (WTR::setProperty): Deleted.
2319         * WebKitTestRunner/TestInvocation.cpp:
2320         (WTR::TestInvocation::runUISideScript):
2321         (WTR::TestInvocation::uiScriptDidComplete):
2322         * WebKitTestRunner/TestInvocation.h:
2323         * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp: Moved
2324         * WebKitTestRunner/UIScriptContext/UIScriptContext.h: Moved
2325         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp: Moved
2326         * WebKitTestRunner/UIScriptContext/UIScriptController.h: Moved
2327         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2328         * WebKitTestRunner/config.h:
2329         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2330         (WTR::UIScriptController::contentVisibleRect):
2331
2332 2016-08-23  Saam Barati  <sbarati@apple.com>
2333
2334         JSC should have a "microbenchmarks" directory instead of "regress" directory
2335         https://bugs.webkit.org/show_bug.cgi?id=161096
2336
2337         Rubber stamped by Mark Lam.
2338
2339         This patch moves LayoutTests/js/regress/script-tests to the JSTests/microbenchmarks
2340         directory and removes all the related html and txt files. I did this because
2341         that directory was only there for microbenchmarks, and not for "regression"
2342         tests. I also changed the various scripts to point to it.
2343
2344         * Scripts/run-javascriptcore-tests:
2345         (runJSCStressTests):
2346         * Scripts/run-jsc-benchmarks:
2347
2348 2016-08-23  Alex Christensen  <achristensen@webkit.org>
2349
2350         Fix EFL build.
2351
2352         * TestWebKitAPI/CMakeLists.txt:
2353         Include new directory.
2354
2355 2016-08-22  Filip Pizlo  <fpizlo@apple.com>
2356
2357         Butterflies should be allocated in Auxiliary MarkedSpace instead of CopiedSpace and we should rewrite as much of the GC as needed to make this not a regression
2358         https://bugs.webkit.org/show_bug.cgi?id=160125
2359
2360         Reviewed by Geoffrey Garen.
2361
2362         * DumpRenderTree/TestRunner.cpp: Rewire some #includes.
2363         * Scripts/run-jsc-stress-tests: New test flag!
2364
2365 2016-08-23  Brady Eidson  <beidson@apple.com>
2366
2367         WK2 Gamepad layout test support.
2368         https://bugs.webkit.org/show_bug.cgi?id=134671
2369
2370         Reviewed by Alex Christensen.
2371         
2372         Have the injected bundle expose the MockGamepadProvider to the UI process, which will then 
2373         feed back into the UIGamepadProvider.
2374         
2375         Also, fool NSApplication into treating the most recently created "isKeyWindow" of the test windows
2376         as the actual keyWindow for the test runner, which will allow the view to get gamepad updates.
2377
2378         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
2379         
2380         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2381         (WTR::TestRunner::setMockGamepadDetails):
2382         (WTR::TestRunner::setMockGamepadAxisValue):
2383         (WTR::TestRunner::setMockGamepadButtonValue):
2384         
2385         * WebKitTestRunner/PlatformWebView.h:
2386         
2387         * WebKitTestRunner/TestController.cpp:
2388         (WTR::TestController::initialize):
2389         
2390         * WebKitTestRunner/TestInvocation.cpp:
2391         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2392         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Deleted.
2393         
2394         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2395         
2396         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2397         (-[WebKitTestRunnerWindow initWithFrame:]):
2398         (-[WebKitTestRunnerWindow dealloc]):
2399         (WTR::PlatformWebView::keyWindow):
2400         
2401         * WebKitTestRunner/ios/TestControllerIOS.mm:
2402         (WTR::wtr_NSApplication_keyWindow):
2403         (WTR::TestController::platformInitialize):
2404         
2405         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2406         (+[WebKitTestRunnerWindow _WTR_keyWindow]):
2407         (-[WebKitTestRunnerWindow initWithContentRect:styleMask:backing:defer:]):
2408         (-[WebKitTestRunnerWindow dealloc]):
2409         (WTR::PlatformWebView::keyWindow):
2410         
2411         * WebKitTestRunner/mac/TestControllerMac.mm:
2412         (WTR::wtr_NSApplication_keyWindow):
2413         (WTR::TestController::platformInitialize):
2414         * WebKitTestRunner/mac/main.mm:
2415
2416 2016-08-23  Alexey Proskuryakov  <ap@apple.com>
2417
2418         REGRESSION (PHP 5.6): http/tests/misc/bad-charset-alias.html fails
2419         https://bugs.webkit.org/show_bug.cgi?id=161047
2420         rdar://problem/27434307
2421
2422         Reviewed by Lucas Forschler.
2423
2424         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py: Specify a php.ini file.
2425
2426 2016-08-23  Chris Dumez  <cdumez@apple.com>
2427
2428         Unreviewed, rolling out r204243.
2429
2430         Caused some layout test failures
2431
2432         Reverted changeset:
2433
2434         "Write API test to cover crash fix in r204135"
2435         https://bugs.webkit.org/show_bug.cgi?id=160587
2436         http://trac.webkit.org/changeset/204243
2437
2438 2016-08-23  Rawinder Singh  <rawinder.singh-webkit@cisra.canon.com.au>
2439
2440         Order feature option list in FeatureList.pm
2441         https://bugs.webkit.org/show_bug.cgi?id=161074
2442
2443         Reviewed by Michael Catanzaro.
2444
2445         Reorder features in alphabetical order based on command line option. Also, sort variables in alphabetical order.
2446
2447         * Scripts/webkitperl/FeatureList.pm:
2448
2449 2016-08-22  Dewei Zhu  <dewei_zhu@apple.com>
2450
2451         Stop python icon bouncing in the dock while running browser benchmarks.
2452         https://bugs.webkit.org/show_bug.cgi?id=161066
2453
2454         Reviewed by Ryosuke Niwa.
2455
2456         Bouncing python icon may impact browser benchmark results.
2457         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
2458         (OSXBrowserDriver.prepare_env):
2459         (OSXBrowserDriver.restore_env):
2460
2461 2016-08-22  Simon Fraser  <simon.fraser@apple.com>
2462
2463         <select> menu on iPad causes shifting of hit-testing areas
2464         https://bugs.webkit.org/show_bug.cgi?id=150079
2465
2466         Reviewed by Tim Horton.
2467
2468         -isAssistingNode (aka the poorly named isEditable) is input into WebPageProxy::computeCustomFixedPositionRect(),
2469         so when it changes we have to update visible rects. We were doing this on focus, but failing
2470         to do it on blur.
2471
2472         Added the ability to test by:
2473         1. Making it possible to initiate an animated scroll in the UI process
2474         2. Adding callbacks for starting and ending interaction with a form control. Sadly
2475         the "ending interaction" for <select> popovers on iPad isn't late enough, since we
2476         have no way currently to know when the dimming view behind the popover animates out,
2477         so for now the test keeps trying to tap a button.
2478
2479         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
2480         * WebKitTestRunner/UIScriptContext/UIScriptContext.h:
2481         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
2482         (WTR::UIScriptController::setDidStartFormControlInteractionCallback):
2483         (WTR::UIScriptController::didStartFormControlInteractionCallback):
2484         (WTR::UIScriptController::setDidEndFormControlInteractionCallback):
2485         (WTR::UIScriptController::didEndFormControlInteractionCallback):
2486         (WTR::UIScriptController::scrollToOffset):
2487         (WTR::UIScriptController::platformSetDidStartFormControlInteractionCallback):
2488         (WTR::UIScriptController::platformSetDidEndFormControlInteractionCallback):
2489         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
2490         * WebKitTestRunner/cocoa/TestRunnerWKWebView.h:
2491         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
2492         (-[TestRunnerWKWebView dealloc]):
2493         (-[TestRunnerWKWebView didStartFormControlInteraction]):
2494         (-[TestRunnerWKWebView didEndFormControlInteraction]):
2495         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2496         (WTR::contentOffsetBoundedInValidRange):
2497         (WTR::UIScriptController::scrollToOffset):
2498         (WTR::UIScriptController::platformSetDidStartFormControlInteractionCallback):
2499         (WTR::UIScriptController::platformSetDidEndFormControlInteractionCallback):
2500
2501 2016-08-22  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2502
2503         [EFL][GTK] Script process-linux-coredump is not needed, switch back to use the kernel core dumper instead.
2504         https://bugs.webkit.org/show_bug.cgi?id=160927
2505
2506         Reviewed by Daniel Bates.
2507
2508         * Scripts/process-linux-coredump: Removed.
2509         * Scripts/webkitpy/port/efl.py:
2510         (EflPort._get_crash_log):
2511         * Scripts/webkitpy/port/gtk.py:
2512         (GtkPort._get_crash_log):
2513         * Scripts/webkitpy/port/linux_get_crash_log.py:
2514         (GDBCrashLogGenerator.__init__):
2515         (GDBCrashLogGenerator.generate_crash_log):
2516         * Scripts/webkitpy/port/linux_get_crash_log_unittest.py:
2517         (GDBCrashLogGeneratorTest.test_generate_crash_log):
2518
2519 2016-08-22  Jonathan Bedard  <jbedard@apple.com>
2520
2521         check-webkit-style does not work with Lambda functions in C++
2522         https://bugs.webkit.org/show_bug.cgi?id=160910
2523
2524         Reviewed by Darin Adler.
2525
2526         This change eliminates false positives on correctly styled lambda functions and includes a few basic checks on capture list.
2527
2528         * Scripts/webkitpy/style/checkers/cpp.py:
2529         (regex_for_lambda_functions): Added function which checks if a string is the start of a lambda function.
2530         (check_for_non_standard_constructs): Added lambda function check.
2531         (check_spacing_for_function_call): Added lambda function check.
2532         (check_braces): Added lambda function check.
2533         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2534         (CppStyleTest.test_lambda_functions): Added test function for lambda function style checks.
2535
2536 2016-08-21  Alex Christensen  <achristensen@webkit.org>
2537
2538         URLParser should parse IPv4 addresses
2539         https://bugs.webkit.org/show_bug.cgi?id=161023
2540
2541         Reviewed by Darin Adler.
2542
2543         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2544         (TestWebKitAPI::TEST_F):
2545         (TestWebKitAPI::checkURLDifferences):
2546         We are already getting differences between the old URL::parse and the new URLParser.
2547         (TestWebKitAPI::shouldFail):
2548
2549 2016-08-21  Daniel Bates  <dabates@apple.com>
2550
2551         prepare-ChangeLog lists unmodified functions as modified and marks functions with few changes as deleted
2552         https://bugs.webkit.org/show_bug.cgi?id=148437
2553
2554         Reviewed by Dan Bernstein.
2555
2556         * Scripts/prepare-ChangeLog:
2557         (diffCommand): When using a Subversion checkout, generate a unified diff without any context lines.
2558         This matches our behavior when using a Git checkout. The function overlap logic in generateFunctionListsByRanges()
2559         assumes that its line ranges were from a unified diff without any context lines.
2560         (extractLineRangeAfterChange): A deleted line should be represented with a ("begin line number", "end line number") = ("new starting line number", "new starting line number").
2561         (extractLineRangeBeforeChange): An added line should be represented with a ("begin line number", "end line number") = ("original starting line number", "original starting line number").
2562         * Scripts/webkitperl/prepare-ChangeLog_unittest/extractLineRangeBeforeAndAfterChange.pl: Update expected results
2563         based on changes to extractLineRangeAfterChange() and extractLineRangeBeforeChange().
2564         * Scripts/webkitperl/prepare-ChangeLog_unittest/generateFunctionLists.pl: Added.
2565         (discardOutput): Convenience function invokes the specified function redirecting standard output and standard error
2566         to /dev/null for the duration of the function call.
2567
2568 2016-08-20  Gyuyoung Kim  <gyuyoung.kim@navercorp.com>
2569
2570         [EFL] Remove unnecessary a patch to mute ecore warnings
2571         https://bugs.webkit.org/show_bug.cgi?id=160997
2572
2573         Reviewed by Darin Adler.
2574
2575         There is no warning messages during the layout test and perf test
2576         after bumping efl version from 1.17 to 1.18. Remove it.
2577
2578         * efl/patches/ecore_remove_warnings.patch: Removed.
2579
2580 2016-08-20  Simon Fraser  <simon.fraser@apple.com>
2581
2582         REGRESSION (r204477): Running LayoutTests on ios-simulator became ~15 minutes slower
2583         https://bugs.webkit.org/show_bug.cgi?id=160985
2584
2585         Re-land r204672, but don't check the result of 'xcrun simctl shutdown', because
2586         device shutdown seems to happen as result of killing Simulator.apps, and we're racing
2587         with that.
2588
2589         * Scripts/webkitpy/layout_tests/views/printing.py:
2590         (Printer.print_config):
2591         * Scripts/webkitpy/port/base.py:
2592         (Port.driver_cmd_line_for_logging):
2593         (Port.driver_cmd_line): Deleted.
2594         * Scripts/webkitpy/port/driver.py:
2595         (IOSSimulatorDriver.cmd_line):
2596         * Scripts/webkitpy/port/ios.py:
2597         (IOSSimulatorPort.__init__):
2598         (IOSSimulatorPort.driver_cmd_line_for_logging):
2599         (IOSSimulatorPort._create_simulators):
2600         (IOSSimulatorPort.setup_test_run):
2601         (IOSSimulatorPort._quit_ios_simulator):
2602         (IOSSimulatorPort.clean_up_test_run):
2603         (IOSSimulatorPort._create_device):
2604         (IOSSimulatorPort):
2605         (IOSSimulatorPort._remove_device):
2606         (IOSSimulatorPort._testing_device):
2607         (IOSSimulatorPort.device_id_for_worker_number):
2608         (IOSSimulatorPort._set_device_class): Deleted.
2609         (IOSSimulatorPort.testing_device): Deleted.
2610         * Scripts/webkitpy/port/port_testcase.py:
2611         (PortTestCase.test_driver_cmd_line):
2612         * Scripts/webkitpy/xcode/simulator.py:
2613         (Device.shutdown):
2614         (Device):
2615         (Device.delete):
2616         (Device.reset):
2617         (Simulator):
2618         (Simulator.create_device):
2619         (Simulator.remove_device):
2620         (Simulator.device_number):
2621         (Simulator.device_state_description):
2622         (Simulator.wait_until_device_is_in_state):
2623
2624 2016-08-19  Ryan Haddad  <ryanhaddad@apple.com>
2625
2626         Unreviewed, rolling out r204659.
2627
2628         This change appears to have caused ios-simulator LayoutTests
2629         to fail when shutting down the simulator
2630
2631         Reverted changeset:
2632
2633         "REGRESSION (r204477): Running LayoutTests on ios-simulator
2634         became ~15 minutes slower"
2635         https://bugs.webkit.org/show_bug.cgi?id=160985
2636         http://trac.webkit.org/changeset/204659
2637
2638 2016-08-19  Alexey Proskuryakov  <ap@apple.com>
2639
2640         Build fix for non-USE_SIM_SERVICE_CONTEXT builds
2641         * LayoutTestRelay/LayoutTestRelay/main.m: (main):
2642
2643 2016-08-18  Simon Fraser  <simon.fraser@apple.com>
2644
2645         REGRESSION (r204477): Running LayoutTests on ios-simulator became ~15 minutes slower
2646         https://bugs.webkit.org/show_bug.cgi?id=160985
2647
2648         Reviewed by Alexey Proskuryakov.
2649         
2650         r204477 removed @memoized on a couple of ios.py functions, causing them to instantiate
2651         a Simulator() on every call, which causes 'xcrun simctl list' to run. The functions
2652         must not be @memoized, because their return value depends on the value of simulator_device_type().
2653         
2654         Fix by adding some global state in simulator.py that tracks the created devices 
2655         in a worker number -> Device dictionary. Explicitly create devices in _create_simulators(),
2656         and delete them in clean_up_test_run().
2657         
2658         Also explicitly called 'xcrun simctl shutdown' to shut down devices, since it seems
2659         that killing the Simulator apps isn't enough.
2660         
2661         Simulator tracks the devices in a global dictionary, since state needs to persist
2662         across different instances of IOSSimulatorPort.
2663         
2664         Annoyingly, the "Command line:" dumping tried to access a device before we'd done
2665         any setup. Rather than implicitly creating a device here (which the old code did),
2666         override the more clearly named driver_cmd_line_for_logging() in IOSSimulatorPort
2667         and set flag to say that device_id_for_worker_number() doesn't need to return a real
2668         device id.
2669
2670         * Scripts/webkitpy/layout_tests/views/printing.py:
2671         (print_options):
2672         (Printer.print_config):
2673         * Scripts/webkitpy/port/base.py:
2674         (Port.driver_cmd_line_for_logging):
2675         (Port.driver_cmd_line): Deleted.
2676         * Scripts/webkitpy/port/driver.py:
2677         (IOSSimulatorDriver.cmd_line):
2678         * Scripts/webkitpy/port/ios.py:
2679         (IOSSimulatorPort.__init__):
2680         (IOSSimulatorPort.driver_cmd_line_for_logging):
2681         (IOSSimulatorPort._create_simulators):
2682         (IOSSimulatorPort.setup_test_run):
2683         (IOSSimulatorPort.clean_up_test_run):
2684         (IOSSimulatorPort._create_device):
2685         (IOSSimulatorPort):
2686         (IOSSimulatorPort._remove_device):
2687         (IOSSimulatorPort._testing_device):
2688         (IOSSimulatorPort.device_id_for_worker_number):
2689         (IOSSimulatorPort._set_device_class): Deleted.
2690         (IOSSimulatorPort.testing_device): Deleted.
2691         * Scripts/webkitpy/port/port_testcase.py:
2692         (PortTestCase.test_driver_cmd_line):
2693         * Scripts/webkitpy/xcode/simulator.py:
2694         (Device.shutdown):
2695         (Device.delete):
2696         (Device.reset):
2697         (Simulator.create_device):
2698         (Simulator.remove_device):
2699         (Simulator.device_number):
2700         (Simulator.device_state_description):
2701         (Simulator.wait_until_device_is_in_state):
2702
2703 2016-08-19  Alexey Proskuryakov  <ap@apple.com>
2704
2705         Adopt SimServiceContext in LayoutTestRelay
2706         https://bugs.webkit.org/show_bug.cgi?id=161000
2707         <rdar://problem/25765594>
2708
2709         Reviewed by Daniel Bates.
2710
2711         * LayoutTestRelay/LayoutTestRelay/CoreSimulatorSPI.h:
2712         * LayoutTestRelay/LayoutTestRelay/main.m:
2713
2714 2016-08-19  Lucas Forschler  <lforschler@apple.com>
2715
2716         Remove Yosemite Leaks bot after http://trac.webkit.org/projects/webkit/changeset/204629
2717
2718         Reviewed by Kocsen Chung.
2719
2720         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2721         (WebKitBuildbot):
2722
2723 2016-08-19  Alexey Proskuryakov  <ap@apple.com>
2724
2725         Partial revert of r203811 - this key is not needed.
2726
2727         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m: (-[LTRelayController installApp]):
2728
2729 2016-08-19  Daniel Bates  <dabates@apple.com>
2730
2731         Another attempt to fix the iOS 9.3 build
2732
2733         Define WK_EMPTY_, WK_NOT_, and WK_NOT_YES.
2734
2735         * DumpRenderTree/mac/Configurations/Base.xcconfig:
2736         * WebKitTestRunner/Configurations/Base.xcconfig:
2737
2738 2016-08-19  Lucas Forschler  <lforschler@apple.com>
2739
2740         Remove Yosemite Leaks bot from config.json
2741         
2742         Reviewed by Alexey Proskuryakov.
2743
2744         * BuildSlaveSupport/build.webkit.org-config/config.json:
2745
2746 2016-08-18  Dan Bernstein  <mitz@apple.com>
2747
2748         [Cocoa] API::Number needs to be wrapped by an NSNumber
2749         https://bugs.webkit.org/show_bug.cgi?id=160977
2750         <rdar://problem/27877735>
2751
2752         Reviewed by Anders Carlsson.
2753
2754         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2755         * TestWebKitAPI/Tests/WebKit2Cocoa/WKNSNumber.mm: Added.
2756         (TestWebKitAPI::TEST):
2757
2758 2016-08-17  Myles C. Maxfield  <mmaxfield@apple.com>
2759
2760         [Cocoa] Migrate off of deprecated CoreGraphics API CGContextSelectFont() and CGContextShowTextAtPoint()
2761         https://bugs.webkit.org/show_bug.cgi?id=160895
2762
2763         Reviewed by Dean Jackson.
2764
2765         Link to the existing CoreText framework.
2766
2767         * DumpRenderTree/PlatformWin.cmake:
2768         * TestWebKitAPI/PlatformWin.cmake:
2769
2770 2016-08-17  Brent Fulgham  <bfulgham@apple.com>
2771
2772         [Win] Remove old libraries from build inputs
2773         https://bugs.webkit.org/show_bug.cgi?id=160949
2774
2775         Reviewed by Dean Jackson.
2776
2777         Modify the download script to remove the old 'icuuc.lib' and
2778         'icuin.lib' files for Windows builds.
2779
2780         * Scripts/update-webkit-auxiliary-libs:
2781
2782 2016-08-17  Jonathan Bedard  <jbedard@apple.com>
2783
2784         Extra logging for crash reason
2785         https://bugs.webkit.org/show_bug.cgi?id=160943
2786
2787         Reviewed by Alexey Proskuryakov.
2788
2789         A number of tests have been erroneously marked as crashed, this should help diagnose these false crashes.
2790
2791         * Scripts/webkitpy/port/server_process.py:
2792         (ServerProcess.write): Add extra logging to determine why a process has been marked as crashed.
2793         (ServerProcess._wait_for_data_and_update_buffers_using_select): Ditto.
2794         (ServerProcess.has_crashed): Ditto.
2795
2796 2016-08-17  Dan Bernstein  <mitz@apple.com>
2797
2798         [Cocoa] -[NSString isEqualToString:] returns NO for any WKNSString argument
2799         https://bugs.webkit.org/show_bug.cgi?id=160938
2800         <rdar://problem/27876652>
2801
2802         Reviewed by Anders Carlsson.
2803
2804         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2805         * TestWebKitAPI/Tests/WebKit2Cocoa/WKObject.mm: Added.
2806         (TestWebKitAPI::TEST):
2807
2808 2016-08-17  Chris Fleizach  <cfleizach@apple.com>
2809
2810         AX: Support abbreviations in iOS
2811         https://bugs.webkit.org/show_bug.cgi?id=160907
2812
2813         Reviewed by Joanmarie Diggs.
2814
2815         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2816         (AccessibilityUIElement::stringAttributeValue):
2817         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2818         (WTR::AccessibilityUIElement::stringAttributeValue):
2819
2820 2016-08-17  Gyuyoung Kim  <gyuyoung.kim@navercorp.com>
2821
2822         [EFL] Bump efl version from 1.17 to 1.18
2823         https://bugs.webkit.org/show_bug.cgi?id=160899
2824
2825         Reviewed by Antonio Gomes.
2826
2827         To use efl-1.18, EFL port needs to update install dependencies as well.
2828
2829         * efl/install-dependencies:
2830         * efl/jhbuild.modules:
2831
2832 2016-08-17  Per Arne Vollan  <pvollan@apple.com>
2833
2834         [Win] Add tests for linked fonts.
2835         https://bugs.webkit.org/show_bug.cgi?id=160898
2836
2837         Reviewed by Brent Fulgham.
2838
2839         Add tests for https://trac.webkit.org/changeset/204502.
2840
2841         * TestWebKitAPI/PlatformWin.cmake:
2842         * TestWebKitAPI/Tests/WebCore/win/LinkedFonts.cpp: Added.
2843         (TestWebKitAPI::TEST):
2844
2845 2016-08-16  Daniel Bates  <dabates@apple.com>
2846
2847         prepare-ChangeLog: Extract logic from generateFunctionLists() into a function that takes a delegate object
2848         https://bugs.webkit.org/show_bug.cgi?id=160924
2849
2850         Reviewed by Stephanie Lewis.
2851
2852         Towards adding unit tests for generateFunctionLists() we move its logic into actuallyGenerateFunctionLists()
2853         and have actuallyGenerateFunctionLists() take a delegate object to use to query the file system and SCM.
2854         We modify generateFunctionLists() to call actuallyGenerateFunctionLists(). This will make is possible to
2855         test the generate function list machinery without requiring a SCM checkout by substituting a delegate
2856         object that mocks out the file system and SCM operations.
2857
2858         * Scripts/VCSUtils.pm:
2859         (parseDiffStartLine): Parses an SVN or Git start line and returns the path to the target file.
2860         * Scripts/prepare-ChangeLog:
2861         (generateFunctionLists): Move functionality to actually generate the function lists to actuallyGenerateFunctionLists(),
2862         abstracting the logic to query the file system and SCM into functions on a delegate object that
2863         we pass to it.
2864         (actuallyGenerateFunctionLists): Extracted from generateFunctionLists().
2865         (diffHeaderFormat): Deleted.
2866
2867 2016-08-16  Alex Christensen  <achristensen@webkit.org>
2868
2869         URLParser should parse URLs without credentials
2870         https://bugs.webkit.org/show_bug.cgi?id=160913
2871
2872         Reviewed by Brady Eidson.
2873
2874         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2875         (TestWebKitAPI::s):
2876         (TestWebKitAPI::checkURL):
2877         (TestWebKitAPI::TEST_F):
2878
2879 2016-08-16  Anders Carlsson  <andersca@apple.com>
2880
2881         Add WTF::ScopeExit
2882         https://bugs.webkit.org/show_bug.cgi?id=160908
2883
2884         Reviewed by Geoffrey Garen.
2885
2886         * TestWebKitAPI/CMakeLists.txt:
2887         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2888         * TestWebKitAPI/Tests/WTF/Scope.cpp: Added.
2889         (TestWebKitAPI::TEST):
2890
2891 2016-08-16  Aakash Jain  <aakash_jain@apple.com>
2892
2893         EWS logs file are rotated too quickly
2894         https://bugs.webkit.org/show_bug.cgi?id=160724
2895
2896         Reviewed by Daniel Bates.
2897
2898         Currently we are rotating the log file after 10 iterations of queue. If the queue
2899         doesn't have any pending patches, these iterations result in very small amount of 
2900         logs (1 KB log file). Even if the queue process some patches, logs are few KBs.
2901         This results in a lot of log files in a day. This patch ensures that we rotate the
2902         log file when its file size is greater than or equal to 100 KB.
2903
2904         * EWSTools/start-queue-mac.sh: Added check for file size before rotating log file.
2905
2906 2016-08-16  Daniel Bates  <dabates@apple.com>
2907
2908         WKSI static library should be named by major iOS revision, not individual updates
2909         https://bugs.webkit.org/show_bug.cgi?id=160727
2910         <rdar://problem/22274848>
2911
2912         Reviewed by Alexey Proskuryakov.
2913
2914         * DumpRenderTree/mac/Configurations/Base.xcconfig:
2915         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2916         * Scripts/copy-webkitlibraries-to-product-directory:
2917         * WebKitTestRunner/Configurations/Base.xcconfig:
2918         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2919
2920 2016-08-16  Simon Fraser  <simon.fraser@apple.com>
2921
2922         Make it possible to test iOS select elements, and add iPhone and iPad tests for them
2923         https://bugs.webkit.org/show_bug.cgi?id=160909
2924
2925         Reviewed by Enrica Casucci.
2926         
2927         Add functions to UIScriptController to dismiss the form accessory view for iOS,
2928         and to programmatically pick a row from a <select> picker.
2929
2930         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
2931         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
2932         (WTR::UIScriptController::dismissFormAccessoryView):
2933         (WTR::UIScriptController::selectFormAccessoryPickerRow):
2934         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
2935         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2936         (WTR::UIScriptController::dismissFormAccessoryView):
2937         (WTR::UIScriptController::selectFormAccessoryPickerRow):
2938
2939 2016-08-15  Simon Fraser  <simon.fraser@apple.com>
2940
2941         [iOS] Add iPad viewport and form tests, and revert the iPad-testing part of r202132
2942         https://bugs.webkit.org/show_bug.cgi?id=160878
2943
2944         Reviewed by Tim Horton.
2945         
2946         Remove testing-specific "forceIPadStyleZoomOnInputFocus" behavior added in r202132
2947         now that we have the ability to run tests in the iPad simulator.
2948
2949         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
2950         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
2951         (WTR::UIScriptController::forceIPadStyleZoomOnInputFocus): Deleted.
2952         (WTR::UIScriptController::setForceIPadStyleZoomOnInputFocus): Deleted.
2953         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
2954         * WebKitTestRunner/ios/TestControllerIOS.mm:
2955         (WTR::TestController::platformResetStateToConsistentValues): Deleted.
2956         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2957         (WTR::UIScriptController::forceIPadStyleZoomOnInputFocus): Deleted.
2958         (WTR::UIScriptController::setForceIPadStyleZoomOnInputFocus): Deleted.
2959
2960 2016-08-15  Anders Carlsson  <andersca@apple.com>
2961
2962         Add an address-of operator to RetainPtr
2963         https://bugs.webkit.org/show_bug.cgi?id=160879
2964
2965         Reviewed by Tim Horton.
2966
2967         Test HashMap and HashSet with an object whose operator& is deleted.
2968
2969         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2970         Sort the Xcode project.
2971
2972         * TestWebKitAPI/Tests/WTF/DeletedAddressOfOperator.h: Added.
2973         (DeletedAddressOfOperator::DeletedAddressOfOperator):
2974         (DeletedAddressOfOperator::value):
2975         (DeletedAddressOfOperator::operator==):
2976         (WTF::HashTraits<DeletedAddressOfOperator>::constructDeletedValue):
2977         (WTF::HashTraits<DeletedAddressOfOperator>::isDeletedValue):
2978         (WTF::DefaultHash<DeletedAddressOfOperator>::Hash::hash):
2979         (WTF::DefaultHash<DeletedAddressOfOperator>::Hash::equal):
2980         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
2981         (TestWebKitAPI::TEST):
2982         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
2983         (TestWebKitAPI::TEST):
2984
2985 2016-08-16  Jonathan Bedard  <jbedard@apple.com>
2986
2987         False crashes in fast/text/emoji-gender-* tests
2988         https://bugs.webkit.org/show_bug.cgi?id=160779
2989
2990         Reviewed by Alexey Proskuryakov.
2991
2992         Fix from <rdar://problem/27786762>, where timed out tests falsely report as crashed.
2993
2994         * Scripts/webkitpy/port/driver.py:
2995         (Driver._check_for_driver_crash_or_unresponsiveness): Change call to ‘write’ to disable crash flag.
2996         * Scripts/webkitpy/port/driver_unittest.py: Added 3 variable to test version of ‘write.’
2997         * Scripts/webkitpy/port/server_process.py:
2998         (ServerProcess.write): Allow caller to disable crash flag on exception.
2999
3000 2016-08-15  Simon Fraser  <simon.fraser@apple.com>
3001
3002         webkitpy error in TestRunResults.merge()
3003         https://bugs.webkit.org/show_bug.cgi?id=160882
3004
3005         Reviewed by Daniel Bates.
3006         
3007         The argument to TestRunResults.merge() can be None if there are no device-specifc
3008         initial results or retry results in Manager.run(), so just return early in that case.
3009
3010         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
3011         (TestRunResults.merge):
3012
3013 2016-08-15  Sam Weinig  <sam@webkit.org>
3014
3015         Speed up compile times by not including wtf/Variant.h so much
3016         https://bugs.webkit.org/show_bug.cgi?id=160847
3017
3018         Reviewed by Alex Christensen and Saam Barati.
3019
3020         * TestWebKitAPI/Tests/WTF/Variant.cpp:
3021         (TestWebKitAPI::TEST):
3022         Explicitly use std::experimental::variant.
3023
3024 2016-08-15  Simon Fraser  <simon.fraser@apple.com>
3025
3026         Allow a port to run tests with a custom device setup
3027         https://bugs.webkit.org/show_bug.cgi?id=160833
3028
3029         Reviewed by Daniel Bates.
3030
3031         These changes allow the IOSSimulator port to run tests in iPad mode.
3032
3033         This is made possible by allowing a platform to define CUSTOM_DEVICE_CLASSES,
3034         in this case 'ipad'. When specified, any test in a directory with a suffix that matches
3035         a custom device will be collected into a set, and run in that device's environment after
3036         the other tests have run.
3037
3038         * Scripts/webkitpy/layout_tests/controllers/manager.py:
3039         (Manager._custom_device_for_test): If the test contains a directory matching a
3040         custom device suffix, return that custom device.
3041         (Manager._set_up_run): Push the custom device class, if any, into options so
3042         that the Worker can get to it.
3043         (Manager.run): Go through the list of tests, and break it down into device-generic
3044         tests, and tests for each device class. _run_test_subset is then called for
3045         each collection of tests, and the results merged.
3046         (Manager._run_test_subset): Some lines unwrapped.
3047         (Manager._end_test_run):
3048         (Manager._run_tests):
3049         * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
3050         (SingleTestRunner.__init__): Unwrapped a line.
3051         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
3052         (TestRunResults.merge): Add this function to merge TestRunResults
3053         * Scripts/webkitpy/layout_tests/views/printing.py:
3054         (Printer.print_workers_and_shards): Print the custom device, if any.
3055         * Scripts/webkitpy/port/base.py:
3056         (Port): Base port has empty array of custom devices.
3057         (Port.setup_test_run): Add device_class argument.
3058         * Scripts/webkitpy/port/driver.py:
3059         (DriverInput.__repr__):
3060         (Driver.check_driver.implementation):
3061         * Scripts/webkitpy/port/efl.py:
3062         (EflPort.setup_test_run):
3063         * Scripts/webkitpy/port/gtk.py:
3064         (GtkPort.setup_test_run):
3065         * Scripts/webkitpy/port/ios.py:
3066         (IOSSimulatorPort): Add CUSTOM_DEVICE_CLASSES for ipad.
3067         (IOSSimulatorPort.__init__):
3068         (IOSSimulatorPort.simulator_device_type): Use a device name from the DEVICE_CLASS_MAP
3069         based on the custom device class.
3070         (IOSSimulatorPort._set_device_class):
3071         (IOSSimulatorPort._create_simulators): Factor some code into this function.
3072         (IOSSimulatorPort.setup_test_run):
3073         (IOSSimulatorPort.testing_device):
3074         (IOSSimulatorPort.reset_preferences): This used to create the simulator apps, but that
3075         seemed wrong for this function. That was moved to setup_test_run().
3076         (IOSSimulatorPort.check_sys_deps): This function used to create testing devices,
3077         but this happened too early, before we knew which kind of devices to create. Devices
3078         are now created in setup_test_run().
3079         * Scripts/webkitpy/port/win.py:
3080         (WinPort.setup_test_run):
3081
3082 2016-08-15  Daniel Bates  <dabates@apple.com>
3083
3084         Cannot build WebKit for iOS device using Xcode 7.3/iOS 9.3 public SDK due to missing
3085         private frameworks and libraries
3086         https://bugs.webkit.org/show_bug.cgi?id=155931
3087         <rdar://problem/25807989>
3088
3089         Reviewed by Dan Bernstein.
3090
3091         Add directory WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/X to the framework search path
3092         where X is the major version of the active iOS SDK.
3093
3094         * DumpRenderTree/mac/Configurations/Base.xcconfig:
3095         * WebKitTestRunner/Configurations/Base.xcconfig:
3096
3097 2016-08-15  Simon Fraser  <simon.fraser@apple.com>
3098
3099         Add a setting and preferences to enable visual viewport mode
3100         https://bugs.webkit.org/show_bug.cgi?id=160843
3101
3102         Reviewed by Sam Weinig.
3103         
3104         Pref and a menu item to toggle visualViewportEnabled for WebKits 1 and 2.
3105
3106         * MiniBrowser/mac/SettingsController.h:
3107         * MiniBrowser/mac/SettingsController.m:
3108         (-[SettingsController _populateMenu]):
3109         (-[SettingsController validateMenuItem:]):
3110         (-[SettingsController visualViewportEnabled]):
3111         (-[SettingsController toggleVisualViewportEnabled:]):
3112         * MiniBrowser/mac/WK1BrowserWindowController.m:
3113         (-[WK1BrowserWindowController didChangeSettings]):
3114         * MiniBrowser/mac/WK2BrowserWindowController.m:
3115         (-[WK2BrowserWindowController didChangeSettings]):
3116
3117 2016-08-15  Konstantin Tokarev  <annulen@yandex.ru>
3118
3119         Allow using make-dist with non-GTK ports
3120         https://bugs.webkit.org/show_bug.cgi?id=160842
3121
3122         Reviewed by Michael Catanzaro.
3123
3124         This patch adds support for setting base name of tarball and argument
3125         passed to cmake's -DPORT= via command line arguments.
3126
3127         * gtk/make-dist.py:
3128         (Distcheck.configure):
3129         (Distcheck.check):
3130         (get_tarball_root_and_output_filename_from_arguments):
3131
3132 2016-08-13  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3133
3134         [GTK] Install script lacks gstreamer related dependencies
3135         https://bugs.webkit.org/show_bug.cgi?id=160814
3136
3137         Reviewed by Carlos Garcia Campos.
3138
3139         * gtk/install-dependencies: Fedora case had already listed this dependencies,
3140         but both Arch and Debian/Ubuntu were missing them.
3141
3142 2016-08-13  Konstantin Tokarev  <annulen@yandex.ru>
3143
3144         make-dist.py should not allow unknown rules in manifest
3145         https://bugs.webkit.org/show_bug.cgi?id=160841
3146
3147         Reviewed by Carlos Garcia Campos.
3148
3149         * gtk/make-dist.py:
3150         (Manifest.process_line):
3151
3152 2016-08-13  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3153
3154         [EFL][GTK] Install script not working on Debian 9 (testing) and Ubuntu 16.10
3155         https://bugs.webkit.org/show_bug.cgi?id=160809
3156
3157         Reviewed by Carlos Garcia Campos.
3158
3159         * efl/install-dependencies: Factorize the previous logic for handling the php5/7
3160         case, and use it also for the new package names of libpng and libgeoclue.
3161         * gtk/install-dependencies: Ditto.
3162
3163 2016-08-12  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3164
3165         Skip to check directories existence in build-webkit
3166         https://bugs.webkit.org/show_bug.cgi?id=160691
3167
3168         Reviewed by Alex Christensen.
3169
3170         CMake checks if directories are there itself. So CMake ports
3171         don't need to check it in the build-webkit script.
3172
3173         * Scripts/build-webkit:
3174         * Scripts/webkitdirs.pm:
3175         (determineSourceDir):
3176         (isCMakeBuild):
3177
3178 2016-08-12  Alex Christensen  <achristensen@webkit.org>
3179
3180         Make URLParser work with URLs missing URL parts
3181         https://bugs.webkit.org/show_bug.cgi?id=160824
3182
3183         Reviewed by Brady Eidson.
3184
3185         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3186         (TestWebKitAPI::s):
3187         (TestWebKitAPI::checkURL):
3188         (TestWebKitAPI::TEST_F):
3189         (TestWebKitAPI::eq): Deleted.
3190
3191 2016-08-12  John Wilander  <wilander@apple.com>
3192
3193         Add HashCountedSet API tests to TestWTFLibrary target
3194         https://bugs.webkit.org/show_bug.cgi?id=160815
3195
3196         Reviewed by Alex Christensen.
3197
3198         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3199             Added HashCountedSet.cpp and sorted the file reference section
3200             according to UNIX sort.
3201
3202 2016-08-12  Ryosuke Niwa  <rniwa@webkit.org>
3203
3204         run-benchmark should run JetStream 1.1 instead of 1.0.1
3205         https://bugs.webkit.org/show_bug.cgi?id=160816
3206
3207         Reviewed by Filip Pizlo.
3208
3209         Use the latest JetStream 1.1 in run-benchmark.
3210
3211         * Scripts/webkitpy/benchmark_runner/benchmark_builder.py:
3212         (BenchmarkBuilder.__exit__):
3213         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Updated to apply against 1.1 directory.
3214         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Updated to use r190897, which is the last
3215         change to JetStream directory.
3216
3217 2016-08-12  Alex Christensen  <achristensen@webkit.org>
3218
3219         Initial URLParser implementation
3220         https://bugs.webkit.org/show_bug.cgi?id=160811
3221
3222         Reviewed by Brady Eidson.
3223
3224         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3225         (TestWebKitAPI::eq):
3226         (TestWebKitAPI::checkURL):
3227         (TestWebKitAPI::TEST_F):
3228
3229 2016-08-12  Brady Eidson  <beidson@apple.com>
3230
3231         Fix the 32-bit Mac build after:
3232         Add WK2 ExperimentalFeature support to MiniBrowser
3233         https://bugs.webkit.org/show_bug.cgi?id=160788
3234
3235         Unreviewed.
3236
3237         Sprinkle "#if WK_API_ENABLED"s liberally.
3238         
3239         * MiniBrowser/mac/AppDelegate.m:
3240         (defaultConfiguration):
3241         * MiniBrowser/mac/SettingsController.m:
3242         (-[SettingsController _populateMenu]):
3243         (-[SettingsController validateMenuItem:]):
3244
3245 2016-08-12  Philippe Normand  <pnormand@igalia.com>
3246
3247         [GStreamer][OWR] Video rendering fixes
3248         https://bugs.webkit.org/show_bug.cgi?id=160764
3249
3250         Reviewed by Xabier Rodriguez-Calvar.
3251
3252         * gtk/jhbuild.modules: Bump to current OpenWebRTC master.
3253
3254 2016-08-12  Per Arne Vollan  <pvollan@apple.com>
3255
3256         Add missing return statement in convertFast function added in r204376.
3257
3258         Unreviewed.
3259
3260         * Scripts/webkitpy/common/system/path.py:
3261         (_CygPath.convertFast):
3262
3263 2016-08-11  Brady Eidson  <beidson@apple.com>
3264
3265         Add WK2 ExperimentalFeature support to MiniBrowser.
3266         https://bugs.webkit.org/show_bug.cgi?id=160788
3267
3268         Reviewed by Alex Christensen.
3269
3270         * MiniBrowser/mac/AppDelegate.h:
3271         * MiniBrowser/mac/AppDelegate.m:
3272         (defaultConfiguration):
3273         (defaultPreferences):
3274         
3275         * MiniBrowser/mac/SettingsController.m:
3276         (-[SettingsController _populateMenu]):
3277         (-[SettingsController validateMenuItem:]):
3278         (-[SettingsController toggleExperimentalFeature:]):
3279
3280 2016-08-11  Aakash Jain  <aakash_jain@apple.com>
3281
3282         Keep EWS logs for longer
3283         https://bugs.webkit.org/show_bug.cgi?id=160776
3284
3285         Reviewed by Daniel Bates.
3286
3287         * EWSTools/start-queue-mac.sh: Keep logs for 30 days instead of 14 days.
3288
3289 2016-08-11  Simon Fraser  <simon.fraser@apple.com>
3290
3291         iOS DRT/WTR project cleanup
3292         https://bugs.webkit.org/show_bug.cgi?id=160778
3293
3294         Reviewed by Tim Horton.
3295
3296         Move TARGETED_DEVICE_FAMILY from the project to an xcconfig file.
3297
3298         Remove AppDelegate.* which were unused.
3299
3300         Exclude ios/Launch.storyboard on more platforms.
3301
3302         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3303         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
3304         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig:
3305         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3306         * WebKitTestRunner/WebKitTestRunnerApp/AppDelegate.h: Removed.
3307         * WebKitTestRunner/WebKitTestRunnerApp/AppDelegate.m: Removed.
3308         (-[AppDelegate application:didFinishLaunchingWithOptions:]): Deleted.
3309
3310 2016-08-11  Alex Christensen  <achristensen@webkit.org>
3311
3312         Fix Yosemite bots' cookie accept policies after r204365.
3313         https://bugs.webkit.org/show_bug.cgi?id=160758
3314
3315         * TestWebKitAPI/Tests/WebKit2Cocoa/CookieAcceptPolicy.mm:
3316         (TEST):
3317         This makes the test fully clean up after itself.
3318
3319 2016-08-11  Alex Christensen  <achristensen@webkit.org>
3320
3321         Fix Yosemite bots' cookie accept policies after r204365.
3322         https://bugs.webkit.org/show_bug.cgi?id=160758
3323
3324         * TestWebKitAPI/Tests/WebKit2Cocoa/CookieAcceptPolicy.mm:
3325         (TEST):
3326         I didn't restore the cookieAcceptPolicy of the sharedHTTPCookieStorage after changing it with this API test.
3327         On Yosemite, this is changing the cookieAcceptPolicy that DumpRenderTree uses.
3328         On more recent Cocoa platforms, it is only changing the cookieAcceptPolicy that TestWebKitAPI uses, which isn't
3329         causing any problems because there are no other API tests that do anything with cookies.
3330         My solution will be to restore the original cookieAcceptPolicy after running this API test to clean up,
3331         but first I am committing this patch setting the cookieAcceptPolicy to NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain
3332         to reset any bots that have run tests since r204365.  I will commit a followup that sets it to originalCookieAcceptPolicy.
3333
3334 2016-08-11  Aakash Jain  <aakash_jain@apple.com>
3335
3336         EWS should check if the patch is still valid before executing every major step
3337         https://bugs.webkit.org/show_bug.cgi?id=160739
3338         rdar://problem/27768813
3339
3340         Reviewed by Alexey Proskuryakov.
3341
3342         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
3343         (CommitQueueTask.run): validate method is now executed in base class.
3344         * Scripts/webkitpy/tool/bot/earlywarningsystemtask.py:
3345         (EarlyWarningSystemTask.run): validate method is now executed in base class.
3346         * Scripts/webkitpy/tool/bot/stylequeuetask.py:
3347         (StyleQueueTask.validate): Raise an PatchIsNotValid exception instead of returning False.
3348         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
3349         (PatchAnalysisTask._run_command): validate the patch before executing any command. This is to ensure
3350         that we do not waste time on any patch which has become invalid (e.g.: obsolete, r-).
3351         * Scripts/webkitpy/tool/commands/perfalizer.py:
3352         (PerfalizerTask.validate): Added.
3353         * Scripts/webkitpy/tool/commands/queues_unittest.py:
3354         (test_manual_reject_during_processing): Updated test case.
3355
3356 2016-08-11  Alex Christensen  <achristensen@webkit.org>
3357
3358         Add URLParser stub
3359         https://bugs.webkit.org/show_bug.cgi?id=160770
3360
3361         Reviewed by Sam Weinig.
3362
3363         * TestWebKitAPI/PlatformGTK.cmake:
3364         * TestWebKitAPI/PlatformWin.cmake:
3365         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3366         * TestWebKitAPI/Tests/WebCore/URLParser.cpp: Added.
3367         (TestWebKitAPI::TEST_F):
3368
3369 2016-08-10  Simon Fraser  <simon.fraser@apple.com>
3370
3371         [iOS DRT] Allow DRT to be iPad-sized in the iPad simulator
3372         https://bugs.webkit.org/show_bug.cgi?id=160761
3373
3374         Reviewed by Tim Horton.
3375
3376         Give iOS DRT a Launch storyboard.
3377
3378         Have it use a UIViewController so future forms testing works correctly.
3379
3380         Add TARGETED_DEVICE_FAMILY = "1,2" to the build settings for the .app, so that it
3381         can run in iPad mode.
3382
3383         Remove empty InfoPlist.strings files.
3384
3385         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3386         * DumpRenderTree/ios/Info.plist:
3387         * DumpRenderTree/ios/Launch.storyboard: Added.
3388         * DumpRenderTree/mac/DumpRenderTree.mm:
3389         (createWebViewAndOffscreenWindow):
3390         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3391         * WebKitTestRunner/WebKitTestRunnerApp/en.lproj/InfoPlist.strings: Removed.
3392         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3393         (WTR::PlatformWebView::PlatformWebView): Drive-by leak fix.
3394
3395 2016-08-11  Per Arne Vollan  <pvollan@apple.com>
3396
3397         [Win] Unable to reliably run tests in parallel
3398         https://bugs.webkit.org/show_bug.cgi?id=140914
3399
3400         Reviewed by Brent Fulgham.
3401
3402         The cygpath utility function can fail badly when running with multiple DumpRenderTree
3403         processes. We can use string replacement to convert the Cygwin path to a Windows path
3404         instead.
3405
3406         * Scripts/webkitpy/common/system/path.py:
3407         (cygpathFast):
3408         * Scripts/webkitpy/port/driver.py:
3409         (Driver._command_from_driver_input):
3410
3411 2016-08-10  Alex Christensen  <achristensen@webkit.org>
3412
3413         Fix crash when changing cookie accept policy after r204327
3414         https://bugs.webkit.org/show_bug.cgi?id=160758
3415
3416         Reviewed by Simon Fraser.
3417
3418         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3419         * TestWebKitAPI/Tests/WebKit2Cocoa/CookieAcceptPolicy.mm: Added.
3420         (-[CookieAcceptPolicyMessageHandler userContentController:didReceiveScriptMessage:]):
3421         (TEST):
3422         * TestWebKitAPI/Tests/WebKit2Cocoa/CookieMessage.html: Added.
3423
3424 2016-08-10  Simon Fraser  <simon.fraser@apple.com>
3425
3426         [iOS WK2] Have WebKitTestRunnerApp.app use a UIViewController, and fix to avoid the status bar
3427         https://bugs.webkit.org/show_bug.cgi?id=160757
3428
3429         Reviewed by Tim Horton.
3430
3431         When programmatically creating the test UIWindow, make a root UIViewController and parent
3432         the WKWebView in its view. This makes the app more like a normal UIKit application.
3433         
3434         Move the WKWebView down 20px to avoid the status bar.
3435         
3436         Give the UIWindow a gray background so it's obvious where the window and view positioned.
3437
3438         Sorted the project file. Removed the link to UIKit which showed red, and wasn't necessary.
3439         
3440         Remove duplicate references to Launch.storyboard.
3441
3442         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3443         * WebKitTestRunner/WebKitTestRunnerApp/AppDelegate.h: Add license.
3444         * WebKitTestRunner/WebKitTestRunnerApp/AppDelegate.m: Add license.
3445         (-[AppDelegate applicationWillResignActive:]): Deleted.
3446         (-[AppDelegate applicationDidEnterBackground:]): Deleted.
3447         (-[AppDelegate applicationWillEnterForeground:]): Deleted.
3448         (-[AppDelegate applicationDidBecomeActive:]): Deleted.
3449         (-[AppDelegate applicationWillTerminate:]): Deleted.
3450         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3451         (WTR::viewRectForWindowRect):
3452         (WTR::PlatformWebView::PlatformWebView):
3453         (WTR::PlatformWebView::setWindowFrame):
3454
3455 2016-08-10  Simon Fraser  <simon.fraser@apple.com>
3456
3457         [iOS WK2] Use the simulated device's screen size, rather than a harcoded size
3458         https://bugs.webkit.org/show_bug.cgi?id=160748
3459
3460         Reviewed by Tim Horton.
3461         
3462         Use the main UIScreen's bounds for the window size if we're using a flexible viewport. This
3463         opens the door for tests using other device sizes.
3464
3465         * WebKitTestRunner/ios/TestControllerIOS.mm:
3466         (WTR::TestController::platformConfigureViewForTest):
3467
3468 2016-08-10  Simon Fraser  <simon.fraser@apple.com>
3469
3470         Sort the feature flags in the FEATURE_DEFINES lines
3471         https://bugs.webkit.org/show_bug.cgi?id=160742
3472
3473         Reviewed by Anders Carlsson.
3474         
3475         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3476
3477 2016-08-09  Simon Fraser  <simon.fraser@apple.com>
3478
3479         Logging and other minor improvements to iOS webkitpy
3480         https://bugs.webkit.org/show_bug.cgi?id=160722
3481
3482         Reviewed by Dan Bates.
3483
3484         Fix --debug-rwt-logging to log all the calls to simctl as well as device state information,
3485         to make it easier to debug launching issues.
3486
3487         Have reset_preferences() reset the device, rather than just nuking the data
3488         directory (which broke some versions of the simulator).
3489
3490         Make the Simulator.app launch in the background with open -g.
3491
3492         Wait for the simulator device to be in a known state in some more places.
3493
3494         * Scripts/webkitpy/port/ios.py:
3495         (IOSSimulatorPort.setup_test_run):
3496         (IOSSimulatorPort._quit_ios_simulator):
3497         (IOSSimulatorPort.clean_up_test_run):
3498         (IOSSimulatorPort.setup_environ_for_server):
3499         (IOSSimulatorPort.reset_preferences):
3500         * Scripts/webkitpy/xcode/simulator.py:
3501         (Device.create):
3502         (Device.delete):
3503         (Device):
3504         (Device.reset):
3505         (Simulator.wait_until_device_is_booted):
3506         (Simulator.wait_until_device_is_in_state):
3507         (Simulator):
3508         (Simulator.delete_device):
3509         (Simulator.reset_device):
3510         (Simulator.lookup_or_create_device):
3511
3512 2016-08-10  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3513
3514         [GTK][EFL] ALSA_CARD environment variable is not passed for layout tests.
3515         https://bugs.webkit.org/show_bug.cgi?id=160697
3516
3517         Reviewed by Antonio Gomes.
3518
3519         * Scripts/webkitpy/port/base.py:
3520         (Port.to.setup_environ_for_server): Add ALSA_CARD and sort the Linux
3521         list of environment variables to copy.
3522
3523 2016-08-09  George Ruan  <gruan@apple.com>
3524
3525         Implement functionality of media capture on iOS
3526         https://bugs.webkit.org/show_bug.cgi?id=158945
3527         <rdar://problem/26893343>
3528
3529         Reviewed by Tim Horton.
3530
3531         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Enable Media
3532         Capture feature on iOS.
3533
3534 2016-08-09  Saam Barati  <sbarati@apple.com>
3535
3536         Parser<LexerType>::parseFunctionInfo() has the wrong info about captured vars when a function is not cached.
3537         https://bugs.webkit.org/show_bug.cgi?id=160671
3538         <rdar://problem/27756112>
3539
3540         Reviewed by Mark Lam.
3541
3542         * Scripts/run-jsc-stress-tests:
3543
3544 2016-08-09  Alexey Proskuryakov  <ap@apple.com>
3545
3546         Make directory reading code in iOSSimulatorDevices() more strict
3547         https://bugs.webkit.org/show_bug.cgi?id=160702
3548
3549         Reviewed by Tim Horton.
3550
3551         * Scripts/webkitdirs.pm:
3552         (iOSSimulatorDevices):
3553
3554 2016-08-06  Sam Weinig  <sam@webkit.org>
3555
3556         Replace NodeOrString with std::variant<RefPtr<Node>, String>
3557         https://bugs.webkit.org/show_bug.cgi?id=160638
3558
3559         Reviewed by Anders Carlsson.
3560
3561         * TestWebKitAPI/CMakeLists.txt:
3562         * TestWebKitAPI/Tests/WTF/Variant.cpp:
3563         Add additional tests for the initial state of std::variant and using
3564         makeVisitor for visiting.
3565
3566 2016-08-09  Aakash Jain  <aakash_jain@apple.com>
3567
3568         EWS logging should ensure the logging to file is stopped on queue termination
3569         https://bugs.webkit.org/show_bug.cgi?id=160698
3570         rdar://problem/24464570
3571
3572         Reviewed by Daniel Bates.
3573
3574         * Scripts/webkitpy/tool/bot/queueengine.py:
3575         (QueueEngine._stopping): Stop logging to file on queue termination.
3576         (QueueEngine._begin_logging): Configure the Python logger to log to file.
3577         * Scripts/webkitpy/common/system/logutils.py:
3578         (configure_logger_to_log_to_file): Return the handler so as to enable caller to remove it later.
3579         * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
3580         (QueueEngineTest._run_engine): Removed extra newline character to improve log readability.
3581         * Scripts/webkitpy/tool/commands/queues.py:
3582         (AbstractQueue._log_directory): Reverting to os.path.join as we don't have host object.
3583         (AbstractQueue.queue_log_path): Same.
3584         (AbstractQueue.begin_work_queue): Removed logging initialization, it is now being done in QueueEngine.
3585         (AbstractQueue.__init__): Removed host parameter, not required anymore, it was required by logging initialization
3586         which moved to QueueEngine now.
3587         (PatchProcessingQueue.__init__): Same.
3588         (CommitQueue.__init__): Same.
3589         (AbstractReviewQueue.__init__): Same.
3590         (StyleQueue.__init__): Same.
3591         * Scripts/webkitpy/tool/commands/queues_unittest.py:
3592         (TestCommitQueue): Removed host parameter.
3593         (TestCommitQueue.__init__): Same.
3594         (AbstractPatchQueueTest.test_next_patch): Same.
3595         (PatchProcessingQueueTest.test_upload_results_archive_for_patch): Same.
3596         (test_commit_queue_failure): Same.
3597         (mock_run_webkit_patch):
3598         (MockCommitQueueTask.results_from_patch_test_run): Same.
3599         (test_rollout_lands): Same.
3600         (test_non_valid_patch): Same.
3601         (test_auto_retry): Same.
3602         (test_style_queue_with_watch_list_exception): Same.
3603         (TestQueue.__init__): Deleted.
3604         (TestReviewQueue.__init__): Deleted.
3605         (TestFeederQueue.__init__): Deleted.
3606
3607 2016-08-09  Konstantin Tokarev  <annulen@yandex.ru>
3608
3609         webkit-gtk tarball fails to build due to missing files
3610         https://bugs.webkit.org/show_bug.cgi?id=160684
3611
3612         Reviewed by Alex Christensen.
3613
3614         * gtk/manifest.txt.in: Added back spi directories.
3615
3616 2016-08-09  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3617
3618         [GTK] Build the jhbuild with -O2 optimization level by default
3619         https://bugs.webkit.org/show_bug.cgi?id=160544
3620
3621         Reviewed by Michael Catanzaro.
3622
3623         * gtk/jhbuildrc: Pass -O2 when building the JHBuild, as also -g1
3624         which don't increases the required disk space significatively and
3625         provides better debug information than no passing it.
3626
3627 2016-08-09  Csaba Osztrogonác  <ossy@webkit.org>
3628
3629         Allow more --cmakeargs option in build-jsc and build-webkit
3630         https://bugs.webkit.org/show_bug.cgi?id=160340
3631
3632         Reviewed by Michael Catanzaro.
3633
3634         * Scripts/build-jsc:
3635         * Scripts/build-webkit: