2e7ca64d752b4c39b009333be56f8add7af1b0d2
[WebKit-https.git] / Tools / ChangeLog
1 2015-10-28  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2
3         Unreviewed.
4
5         * Scripts/webkitpy/common/config/watchlist: Removed dead files from Streams API watchlist.
6
7 2015-10-28  Per Arne Vollan  <peavo@outlook.com>
8
9         Add WinCairo to list of ports in run-webkit-tests.
10         https://bugs.webkit.org/show_bug.cgi?id=150625
11
12         Reviewed by Brent Fulgham.
13
14         * Scripts/webkitpy/common/config/ports.py:
15         (DeprecatedPort.port):
16         (WinPort.run_webkit_tests_command):
17         (WinCairoPort):
18         (GtkWK2Port):
19         * Scripts/webkitpy/port/factory.py:
20         (PortFactory):
21         * Scripts/webkitpy/port/win.py:
22         (WinPort.find_system_pid):
23         (WinCairoPort):
24
25 2015-10-27  Alexey Proskuryakov  <ap@apple.com>
26
27         WebKitTestRunner leaks in generateWhitelist()
28         https://bugs.webkit.org/show_bug.cgi?id=150563
29
30         Reviewed by Andreas Kling.
31
32         * WebKitTestRunner/mac/TestControllerMac.mm:
33         (WTR::generateWhitelist):
34
35 2015-10-27  Anders Carlsson  <andersca@apple.com>
36
37         Add an API test for _WKRemoteObjectRegistry
38         https://bugs.webkit.org/show_bug.cgi?id=150597
39
40         Reviewed by Andreas Kling.
41
42         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
43         * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.h: Added.
44         * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistry.mm: Added.
45         (TEST):
46         * TestWebKitAPI/Tests/WebKit2Cocoa/RemoteObjectRegistryPlugIn.mm: Added.
47         (-[RemoteObjectRegistryPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
48         (-[RemoteObjectRegistryPlugIn sayHello:]):
49
50 2015-10-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
51
52         Add myself to the reviewers list
53         https://bugs.webkit.org/show_bug.cgi?id=150581
54
55         Unreviewed.
56
57         * Scripts/webkitpy/common/config/contributors.json:
58
59 2015-10-26  Ryan Haddad  <ryanhaddad@apple.com>
60
61         Adding myself to contributors.json
62
63         * Scripts/webkitpy/common/config/contributors.json:
64
65 2015-10-26  Tim Horton  <timothy_horton@apple.com>
66
67         Don't expose the whitelist/blacklist in _WKUserStyleSheet
68         https://bugs.webkit.org/show_bug.cgi?id=150566
69
70         Reviewed by Anders Carlsson.
71
72         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
73         (TEST):
74
75 2015-10-26  Philippe Normand  <pnormand@igalia.com>
76
77         Unreviewed, rolling out r191576.
78
79         broke
80
81         Reverted changeset:
82
83         "[GStreamer] Bump internal jhbuild versions to 1.6.0"
84         https://bugs.webkit.org/show_bug.cgi?id=149594
85         http://trac.webkit.org/changeset/191576
86
87 2015-10-26  ChangSeok Oh  <changseok.oh@collabora.com>
88
89         [GStreamer] Bump internal jhbuild versions to 1.6.0
90         https://bugs.webkit.org/show_bug.cgi?id=149594
91
92         Reviewed by Philippe Normand.
93
94         Bump up whole gstreamer libraries to 1.6.0. Relevant patches are no more
95         useful so they are removed accordingly.
96
97         * gtk/jhbuild.modules:
98         * gtk/patches/gst-plugins-bad-fix-faad2-version-check.patch: Removed.
99         * gtk/patches/gst-plugins-bad-remove-gnustep-support.patch: Removed.
100         * gtk/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Removed.
101
102 2015-10-25  Alexey Proskuryakov  <ap@apple.com>
103
104         API tests fail on El Capitan after r191543
105         https://bugs.webkit.org/show_bug.cgi?id=150547
106
107         Reviewed by Dan Bernstein.
108
109         * Scripts/run-api-tests: (listAllTests): Add appropriate arch arguments in one more place.
110
111 2015-10-24  Tim Horton  <timothy_horton@apple.com>
112
113         Add a way to add user style sheets to WKUserContentController
114         https://bugs.webkit.org/show_bug.cgi?id=150531
115         <rdar://problem/23191691>
116
117         Reviewed by Darin Adler.
118
119         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
120         (TEST):
121
122 2015-10-24  Tim Horton  <timothy_horton@apple.com>
123
124         Expose more information about the exception in WKErrorJavaScriptExceptionOccurred errors
125         https://bugs.webkit.org/show_bug.cgi?id=150525
126
127         Reviewed by Darin Adler.
128
129         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm:
130         (TEST):
131         Test the various new keys.
132
133 2015-10-24  Frederic Wang  <fred.wang@free.fr>
134
135         check-webkit-style complains about missing operator whitespace inside character literal
136         https://bugs.webkit.org/show_bug.cgi?id=150396
137
138         Reviewed by Darin Adler.
139
140         * Scripts/webkitpy/style/checkers/cpp.py: Improve matching of C++ character literal.
141         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
142         (WebKitStyleTest.test_spacing): Add a test to verify that the spacing for the character literal 'OS/2' is not tested.
143
144 2015-10-23  Michael Saboff  <msaboff@apple.com>
145
146         REGRESSION (r179357-r179359): WebContent Crash using AOL Mail @ com.apple.JavascriptCore JSC::linkPolymorphicCall(JSC::ExecState*, JSC::CallLinkInfo&, JSC::CallVariant, JSC::RegisterPreservationMode) + 1584
147         https://bugs.webkit.org/show_bug.cgi?id=150513
148
149         Reviewed by Saam Barati.
150
151         Added a new test function, failNextNewCodeBlock() to simplify the writing of a regression test.
152
153         * DumpRenderTree/TestRunner.cpp:
154         (simulateWebNotificationClickCallback):
155         (failNextCodeBlock):
156         (numberOfDFGCompiles):
157         (TestRunner::staticFunctions):
158         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
159         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
160         (WTR::TestRunner::setBlockAllPlugins):
161         (WTR::TestRunner::failNextCodeBlock):
162         (WTR::TestRunner::numberOfDFGCompiles):
163         * WebKitTestRunner/InjectedBundle/TestRunner.h:
164
165 2015-10-23  Anders Carlsson  <andersca@apple.com>
166
167         Simplify the WebKitLegacy menu conversion code
168         https://bugs.webkit.org/show_bug.cgi?id=150509
169
170         Reviewed by Andreas Kling.
171
172         Implement the context menu delegate method so we'll test that code path.
173
174         * MiniBrowser/mac/WK1BrowserWindowController.m:
175         (-[WK1BrowserWindowController webView:contextMenuItemsForElement:defaultMenuItems:]):
176
177 2015-10-23  Per Arne Vollan  <peavo@outlook.com>
178
179         [WinCairo] Improve test results for fast layouttests.
180         https://bugs.webkit.org/show_bug.cgi?id=150464
181
182         Reviewed by Alex Christensen.
183
184         Set custom device scale factor to 1.0.
185
186         * DumpRenderTree/win/DumpRenderTree.cpp:
187         (createWebViewAndOffscreenWindow):
188
189 2015-10-23  Mark Salisbury  <mark.salisbury@hp.com>
190
191         [GTK] update-webkitgtk-libs should use mesa tarball
192
193         https://bugs.webkit.org/show_bug.cgi?id=150470
194
195         update-webkitgtk-libs downloads all build dependencies; in fixing
196         bug 148941 mesa was switched from ftp to git access.  Now an http
197         tarball is available, which is preferred over accessing via git.
198
199         Reviewed by Philippe Normand
200
201         * gtk/jhbuild.modules:
202         Mesa access changed to http tarball.
203
204 2015-10-22  Sam Weinig  <sam@webkit.org>
205
206         Navigations on the same host (but with different schemes and ports) should not trigger universal links
207         <rdar://problem/22811325>
208         https://bugs.webkit.org/show_bug.cgi?id=150481
209
210         Reviewed by Dan Bernstein.
211
212         * TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm:
213         Update test to test that navigations on the same host but with different schemes does not
214         trigger universal links, but that changes in the host do.
215
216 2015-10-22  Ryosuke Niwa  <rniwa@webkit.org>
217
218         REGRESSION (r181972): Scroll position changes to top of youtube page when switching tabs
219         https://bugs.webkit.org/show_bug.cgi?id=150428
220
221         Reviewed by Antti Koivisto.
222
223         Added a regression test using WebKit API test.
224
225         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
226         * TestWebKitAPI/Tests/mac/FirstResponderScrollingPosition.mm: Added.
227         (TestWebKitAPI::didFinishLoadForFrame):
228         (TestWebKitAPI::TEST):
229
230 2015-10-22  Carlos Garcia Campos  <cgarcia@igalia.com>
231
232         Unreviewed. Fix GTK+ build after r191423.
233
234         Add WebKitDOMHTMLBaseFontElement to the list of deleted classes.
235
236         * gtk/webkitdom.py:
237         (WebKitDOMDocGenerator):
238
239 2015-10-22  Aakash Jain  <aakash_jain@apple.com>
240
241         [Win][EFL][GTK] webkitpy test failed after r191374.
242         https://bugs.webkit.org/show_bug.cgi?id=150433
243
244         Reviewed by Alexey Proskuryakov.
245
246         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
247         (CrashLogsTest.test_find_all_log_darwin): Check platform before running test.
248         (CrashLogsTest.test_find_log_darwin): Same.
249
250 2015-10-21  Brian Burg  <bburg@apple.com>
251
252         Unreviewed, update watchlist for JS builtins.
253
254         Add a category for JS builtins code generator, similar to other generators.
255
256         Add a nag message to rebaseline builtins generator tests when touching
257         code generator files in Source/JavaScriptCore/Scripts/builtins/.
258
259         * Scripts/webkitpy/common/config/watchlist:
260
261 2015-10-21  Brian Burg  <bburg@apple.com>
262
263         Restructure generate-js-bindings script to be modular and testable
264         https://bugs.webkit.org/show_bug.cgi?id=149929
265
266         Reviewed by Alex Christensen.
267
268         Add a stub shell script and basic webkitpy support for running builtins
269         generator tests.
270
271         * Scripts/run-builtins-generator-tests: Added.
272         (main):
273         * Scripts/webkitpy/codegen/__init__.py: Added.
274         * Scripts/webkitpy/codegen/main.py: Added.
275
276             The only interesting difference here from the inspector protocol
277             generator equivalent is that this implementation decodes the target
278             framework and output mode (combined or separate) from the test's file name.
279
280         (BuiltinsGeneratorTests):
281         (BuiltinsGeneratorTests.__init__):
282         (BuiltinsGeneratorTests.generate_from_js_builtins):
283         (BuiltinsGeneratorTests.write_error_file):
284         (BuiltinsGeneratorTests.detect_changes):
285         (BuiltinsGeneratorTests.run_tests):
286         (BuiltinsGeneratorTests.main):
287
288 2015-10-21  Aakash Jain  <aakash_jain@apple.com>
289
290         run-webkit-tests does not copy all crash logs for layout test failures on Mac
291         https://bugs.webkit.org/show_bug.cgi?id=150407
292         <rdar://problem/22239750>
293
294         Reviewed by Alexey Proskuryakov.
295
296         * Scripts/webkitpy/port/mac.py:
297         (MacPort._merge_crash_logs): Merge unique crash logs from two dictionaries.
298         (MacPort._look_for_all_crash_logs_in_log_dir): Get the crash logs from
299         the log directory.
300         (MacPort.look_for_new_crash_logs): Uses above method to get crash logs
301         from log directory and merge them with the list of already crashed tests.
302
303 2015-10-21  Filip Pizlo  <fpizlo@apple.com>
304
305         Failures in PutStackSinkingPhase should be less severe
306         https://bugs.webkit.org/show_bug.cgi?id=150400
307
308         Reviewed by Geoffrey Garen.
309
310         Add a test mode for no PutStackSinkingPhase.
311
312         * Scripts/run-jsc-stress-tests:
313
314 2015-10-21  Nan Wang  <n_wang@apple.com>
315
316         AX: Expose table size and cell indexes on iOS
317         https://bugs.webkit.org/show_bug.cgi?id=150366
318
319         Reviewed by Chris Fleizach.
320
321         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
322         (AccessibilityUIElement::rowCount):
323         (AccessibilityUIElement::columnCount):
324         (AccessibilityUIElement::indexInTable):
325         (AccessibilityUIElement::numberAttributeValue):
326         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
327         (WTR::AccessibilityUIElement::numberAttributeValue):
328         (WTR::AccessibilityUIElement::rowCount):
329         (WTR::AccessibilityUIElement::columnCount):
330         (WTR::AccessibilityUIElement::indexInTable):
331
332 2015-10-21  Youenn Fablet  <youenn.fablet@crf.canon.fr>
333
334         W3C test importer should not import reference files as regular tests
335         https://bugs.webkit.org/show_bug.cgi?id=150331
336
337         Reviewed by Darin Adler.
338
339         Updated test_parser to return information that a file can be a referencefile or a manual test.
340         Updated test importer to skip those files.
341         Updated/Added test parser unit tests accordingly.
342
343         Updated test importer to import all not-test files, as they are usually used by tests and lead to test failing or timing out.
344         Updated test importer to log these 'resource' files that are not in a resources folder, and suggest to import script user
345         to mark these files as Skip, since they are not direct tests. 
346
347         * Scripts/webkitpy/w3c/test_importer.py:
348         (TestImporter.__init__):
349         (TestImporter.find_importable_tests):
350         (TestImporter.import_tests):
351         * Scripts/webkitpy/w3c/test_parser.py:
352         (TestParser.analyze_test):
353         * Scripts/webkitpy/w3c/test_parser_unittest.py:
354         (test_analyze_non_html_file):
355         (test_reference_test):
356
357 2015-10-20  Aakash Jain  <aakash_jain@apple.com>
358
359         run-webkit-tests does not copy all crash logs for layout test failures on iOS
360         https://bugs.webkit.org/show_bug.cgi?id=150056
361         <rdar://problem/9280656>
362
363         Reviewed by Alexey Proskuryakov.
364
365         * Scripts/webkitpy/common/system/crashlogs.py:
366         (CrashLogs.find_all_logs): Generic method to find all crash logs.
367         (CrashLogs._find_all_logs_darwin): Darwin based method to find all crash logs.
368         It iterates through log directory and returns all the logs based on timestamp.
369         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
370         (CrashLogsTest.create_crash_logs_darwin): Creates sample crash logs and verify them.
371         (CrashLogsTest.test_find_all_log_darwin): Testcase for above find_all_logs method
372         (CrashLogsTest.test_find_log_darwin): Restructured to share code with other methods.
373         * Scripts/webkitpy/layout_tests/controllers/manager.py:
374         (Manager.run): Modified start_time to start counting before simulator launch
375         so that we can capture crashes during simualator launch.
376         (Manager._look_for_new_crash_logs): Browse through list of crashes and append
377         any test which is not already marked as CRASH to the run_results.
378         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
379         (TestExpectationsModel.get_expectations_string): return PASS in case there
380         are no expectations defined for this test.
381         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
382         (summarize_results): Add other_crashes in a separte category in full_results.json.
383         * Scripts/webkitpy/port/ios.py:
384         (IOSSimulatorPort._merge_crash_logs): Merge unique crash logs from two dictionaries.
385         (IOSSimulatorPort._look_for_all_crash_logs_in_log_dir): Get the crash logs
386         from the log directory.
387         (IOSSimulatorPort.look_for_new_crash_logs): Uses above method to get crash
388         logs from log directory and merge them with the list of already crashed tests.
389
390 2015-10-20  Dana Burkart  <dburkart@apple.com>
391
392         Fix the build
393
394         Unreviewed.
395
396         My previous patch was missing a necessary space character.
397
398         * Scripts/webkitperl/VCSUtils_unittest/decodeGitBinaryPatch.pl:
399
400 2015-10-20  Dana Burkart  <dburkart@apple.com>
401
402         svn-apply fails to apply binary diffs in some cases
403         https://bugs.webkit.org/show_bug.cgi?id=64647
404
405         Reviewed by Daniel Bates.
406
407         * Scripts/VCSUtils.pm:
408         (decodeGitBinaryPatchDeltaSize): Modified.
409         We need to handle the case where the binary diff is the last in the patch; so we match on "-- \n" or "\Z".
410         * Tools/Scripts/webkitperl/VCSUtils_unittest/decodeGitBinaryPatch.pl: Added.
411
412 2015-10-20  Alexey Proskuryakov  <ap@apple.com>
413
414         Mac Debug EWS never finishes when there are failures
415         https://bugs.webkit.org/show_bug.cgi?id=150334
416
417         Reviewed by Daniel Bates.
418
419         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
420         * Scripts/webkitpy/tool/commands/queues.py:
421
422 2015-10-20  Philippe Normand  <pnormand@igalia.com>
423
424         [GTK] Enable OpenWebRTC test video/audio sources in tests
425
426         This is needed because we can't expect the buildbots to have
427         webcam/mic devices plugged in.
428
429         Rubber-stamped by Carlos Garcia Campos.
430
431         * Scripts/run-gtk-tests:
432         (TestRunner._setup_testing_environment):
433         * Scripts/webkitpy/port/gtk.py:
434         (GtkPort.setup_environ_for_server):
435
436 2015-10-20  Yoav Weiss  <yoav@yoav.ws>
437
438         Rename the PICTURE_SIZES flag to CURRENTSRC
439         https://bugs.webkit.org/show_bug.cgi?id=150275
440
441         Reviewed by Dean Jackson.
442
443         * Scripts/webkitperl/FeatureList.pm:
444
445 2015-10-19  Hunseop Jeong  <hs85.jeong@samsung.com>
446
447         Unreviewed, add myself to the committers list.
448
449         * Scripts/webkitpy/common/config/contributors.json:
450
451 2015-10-19  Alexey Proskuryakov  <ap@apple.com>
452
453         Add new EWS queues to bot watcher's dashboard
454         https://bugs.webkit.org/show_bug.cgi?id=150297
455
456         Reviewed by Darin Adler.
457
458         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
459         (BubbleQueueServer):
460
461 2015-10-19  ChangSeok Oh  <changseok.oh@collabora.com>
462
463         REGRESSION(r190262): User media unit test failures after r190262
464         https://bugs.webkit.org/show_bug.cgi?id=149580
465
466         Reviewed by Carlos Garcia Campos.
467
468         The test failures on usermedia-permission-requests and WebKit2.UserMediaBasic have gone.
469         So we do not need to skip them anymore.
470
471         * Scripts/run-gtk-tests:
472         (TestRunner): Deleted.
473
474 2015-10-19  Csaba Osztrogonác  <ossy@webkit.org>
475
476         Add historical addresses to contributors.json
477         https://bugs.webkit.org/show_bug.cgi?id=150227
478
479         Reviewed by Darin Adler.
480
481         * Scripts/webkitpy/common/config/contributors.json:
482
483 2015-10-18  Sungmann Cho  <sungmann.cho@navercorp.com>
484
485         [Win] Change the DLL name in MiniBrowserLib.vcxproj to match webkit.org/b/150124.
486         https://bugs.webkit.org/show_bug.cgi?id=150307
487
488         Reviewed by Brent Fulgham.
489
490         The DLL build rules have been changed to generate "{Name}Lib.DLL",
491         but these changes have not yet been applied to the Visual Studio builds.
492
493         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj:
494
495 2015-10-16  Andreas Kling  <akling@apple.com>
496
497         [EFL, AppleWin] WTF.ConcatenateCharacterArrayAndEmptyString API test failed
498         <https://webkit.org/b/150153>
499
500         Unreviewed.
501
502         Just use simple arrays of LChar and UChar for this test instead of creating String
503         objects and then getting the characters8()/characters16() from them, since that
504         doesn't guarantee null-termination (the bug.)
505
506         * TestWebKitAPI/Tests/WTF/StringOperators.cpp:
507         (TestWebKitAPI::TEST):
508         (TestWebKitAPI::build): Deleted.
509
510 2015-10-16  Tim Horton  <timothy_horton@apple.com>
511
512         WebKit2.AutoLayoutIntegration API test is failing on some of the bots
513         https://bugs.webkit.org/show_bug.cgi?id=150255
514
515         Reviewed by Simon Fraser.
516
517         * Scripts/run-api-tests:
518         (runTest):
519         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
520         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:]):
521         (-[AutoLayoutWKWebView layoutAtMinimumWidth:andExpectContentSizeChange:]):
522         (-[AutoLayoutWKWebView load:expectingContentSize:]): Deleted.
523         (-[AutoLayoutWKWebView expectContentSizeChange:]): Deleted.
524         Don't set the layout size until after the load finishes and we're waiting
525         for the reply, so that there is no race between the new size coming in
526         and us waiting for it.
527
528 2015-10-16  Anders Carlsson  <andersca@apple.com>
529
530         WebEditingDelegate should be a formal protocol
531         https://bugs.webkit.org/show_bug.cgi?id=150254
532         <rdar://problem/23149847>
533
534         Reviewed by Dan Bernstein.
535
536         * DumpRenderTree/mac/EditingDelegate.h:
537         Conform to the WebEditingDelegate protocol.
538
539 2015-10-16  Tim Horton  <timothy_horton@apple.com>
540
541         Hook up autolayout intrinsic sizing for WKWebView
542         https://bugs.webkit.org/show_bug.cgi?id=150219
543         <rdar://problem/20016905>
544
545         Reviewed by Simon Fraser.
546
547         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
548         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm: Added.
549         (-[AutoLayoutNavigationDelegate webView:didFinishNavigation:]):
550         (-[AutoLayoutWKWebView load:expectingContentSize:]):
551         (-[AutoLayoutWKWebView expectContentSizeChange:]):
552         (-[AutoLayoutWKWebView invalidateIntrinsicContentSize]):
553         (TEST):
554         Add a variety of tests, including one which catches the bug that
555         the WebCore part of this patch fixes.
556
557 2015-10-15  Csaba Osztrogonác  <ossy@webkit.org>
558
559         Update the help message of --system-malloc
560         https://bugs.webkit.org/show_bug.cgi?id=150169
561
562         Reviewed by Geoffrey Garen.
563
564         * Scripts/webkitperl/FeatureList.pm:
565
566 2015-10-15  Youenn Fablet  <youenn.fablet@crf.canon.fr>
567
568         Update ImportExpectations according currently imported wpt tests
569         https://bugs.webkit.org/show_bug.cgi?id=150158
570
571         Reviewed by Chris Dumez.
572
573         * Scripts/webkitpy/w3c/test_downloader.py:
574         (TestDownloader.copy_tests): ensuring that directories marked as [ Skip ] are not copied.
575
576 2015-10-15  Eunmi Lee  <eunmi15.lee@samsung.com>
577
578         Unreviewed, Update my email address.
579
580         * Scripts/webkitpy/common/config/contributors.json:
581
582 2015-10-15  Carlos Garcia Campos  <cgarcia@igalia.com>
583
584         [GTK] Test WebKit2.RestoreSessionStateContainingFormData fails
585         https://bugs.webkit.org/show_bug.cgi?id=84960
586
587         Reviewed by Žan Doberšek.
588
589         * Scripts/run-gtk-tests:
590         (TestRunner): Unskip tests using SessionState.
591         * TestWebKitAPI/PlatformGTK.cmake: Add
592         WKPageCopySessionStateWithFiltering test.
593
594 2015-10-14  Carlos Garcia Campos  <cgarcia@igalia.com>
595
596         [GTK] Missing return value on TestWebExtensions.cpp:193
597         https://bugs.webkit.org/show_bug.cgi?id=149755
598
599         Unreviewed. Add missing return value.
600
601         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
602         (permissionRequestCallback):
603
604 2015-10-14  Andy Estes  <aestes@apple.com>
605
606         [iOS] build-dumprendertree does not build ImageDiff
607         https://bugs.webkit.org/show_bug.cgi?id=150152
608
609         Reviewed by Tim Horton.
610
611         run-webkit-tests attempts to build the tools it requires by calling build-dumprendertree and build-webkittestrunner.
612         On iOS, build-dumprendertree builds the DumpRenderTree.app target, which does not contain the ImageDiff target
613         as a dependent. If you haven't built ImageDiff by other means (say, because you built the 'All Source' scheme in
614         WebKit.xcworkspace), tests that rely on image diffing won't work properly.
615
616         There's actually no reason to build the DumpRenderTree.app target on iOS; the default aggregate target works
617         fine on that platform, and results in ImageDiff being built.
618
619         * Scripts/build-dumprendertree:
620
621 2015-10-14  Brent Fulgham  <bfulgham@apple.com>
622
623         [Win] Enforce launcher/library naming scheme
624         https://bugs.webkit.org/show_bug.cgi?id=150124
625
626         Reviewed by Alex Christensen.
627
628         * DumpRenderTree/PlatformWin.cmake: Use 'Lib' suffix for DLLs.
629         * MiniBrowser/win/CMakeLists.txt: Ditto.
630         * TestWebKitAPI/PlatformWin.cmake: Ditto.
631         * win/DLLLauncher/DLLLauncherMain.cpp:
632         (wWinMain): Look for a DLL named {name}Lib.dll, rather than the
633         original {name}.dll.
634
635 2015-10-14  Andreas Kling  <akling@apple.com>
636
637         REGRESSION(r190882): Concatenating a character array and an empty string is broken.
638         <https://webkit.org/b/150135>
639
640         Reviewed by Geoffrey Garen.
641
642         Add a new WTF API test that covers this issue.
643
644         * TestWebKitAPI/Tests/WTF/StringOperators.cpp:
645         (TestWebKitAPI::build):
646         (TestWebKitAPI::TEST):
647
648 2015-10-14  Alex Christensen  <achristensen@webkit.org>
649
650         Add SPI for reloading without content blockers
651         https://bugs.webkit.org/show_bug.cgi?id=150058
652         rdar://problem/22742222
653
654         Reviewed by Sam Weinig.
655
656         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
657         (WTR::TestController::cocoaResetStateToConsistentValues):
658         * WebKitTestRunner/mac/TestControllerMac.mm:
659         (WTR::TestController::platformConfigureViewForTest):
660
661 2015-10-14  Mark Lam  <mark.lam@apple.com>
662
663         Rename some JSC option names to be more uniform.
664         https://bugs.webkit.org/show_bug.cgi?id=150127
665
666         Reviewed by Geoffrey Garen.
667
668         * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz:
669         * Scripts/run-jsc-stress-tests:
670
671 2015-10-14  Anders Carlsson  <andersca@apple.com>
672
673         Change the bundle app cache APIs to take a page
674         https://bugs.webkit.org/show_bug.cgi?id=150123
675
676         Reviewed by Sam Weinig.
677
678         Update APIs.
679
680         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
681         (WTR::InjectedBundle::beginTesting):
682         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
683         (WTR::InjectedBundlePage::didReachApplicationCacheOriginQuota):
684         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
685         (WTR::TestRunner::clearAllApplicationCaches):
686         (WTR::TestRunner::clearApplicationCacheForOrigin):
687         (WTR::TestRunner::setAppCacheMaximumSize):
688         (WTR::TestRunner::applicationCacheDiskUsageForOrigin):
689         (WTR::TestRunner::originsWithApplicationCache):
690
691 2015-10-14  Youenn Fablet  <youenn.fablet@crf.canon.fr>
692
693         Update web-platform-tests tools to the latest revision
694         https://bugs.webkit.org/show_bug.cgi?id=149645
695
696         Reviewed by Darin Adler.
697
698         Disabling git submodules information conversion to json install file for web-platform-tests.
699         Disabling related python unit tests.
700         The tools submodules contain submodules and the conversion tool does not support that yet.
701
702         Updating wpt launcher script to aling it with web-platform-test main script.
703
704         * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
705         (main):
706         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
707         (TestWebPlatformTestServer.test_corrupted_subserver_files): Deleted.
708         * Scripts/webkitpy/w3c/test_importer_unittest.py:
709         (TestImporterTest.test_submodules_generation):
710
711 2015-10-13  Alexey Proskuryakov  <ap@apple.com>
712
713         More debug queue build fixing.
714
715         Preserve the build style in one more place. Changed mock build_style from "both"
716         to "release", as we don't support testing both debug and release.
717
718         * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
719         (MockCommitQueue.archive_last_test_results):
720         (MockCommitQueue):
721         (MockCommitQueue.build_style):
722         (MockCommitQueue.did_pass_testing_ews):
723         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
724         (PatchAnalysisTask._test):
725         (PatchAnalysisTask._build_and_test_without_patch):
726         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
727         (EarlyWarningSystemTest._default_expected_logs):
728         * Scripts/webkitpy/tool/commands/queues_unittest.py:
729
730 2015-10-13  Alexey Proskuryakov  <ap@apple.com>
731
732         More debug queue build fixing.
733
734         Add build_style argument to derived classes as well.
735
736         * Scripts/webkitpy/common/config/ports.py:
737         (MacPort):
738         (MacPort.run_webkit_tests_command):
739         (WinPort.run_bindings_tests_command):
740         (WinPort):
741         (WinPort.run_webkit_tests_command):
742         (GtkWK2Port.build_webkit_command):
743         (GtkWK2Port):
744         (GtkWK2Port.run_webkit_tests_command):
745
746 2015-10-13  Myles C. Maxfield  <mmaxfield@apple.com>
747
748         [iOS] Build fix
749
750         Unreviewed.
751
752         Mach-O section names are limited to 16 characters.
753
754         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
755         * DumpRenderTree/mac/DumpRenderTree.mm:
756         (activateFontsIOS):
757
758 2015-10-13  Alexey Proskuryakov  <ap@apple.com>
759
760         Build fix for mac-debug EWS queue.
761
762         Unreviewed.
763
764         Pass --debug to run-webkit-tests.
765
766         While at it, removed unsupported run_webkit_unit_tests_command. All the test steps
767         will need to be substantially modified to work in EWS, so the dummy implementation
768         was not helpful.
769
770         * Scripts/webkitpy/common/config/ports.py:
771         (DeprecatedPort.run_javascriptcore_tests_command):
772         (DeprecatedPort):
773         (DeprecatedPort.run_webkit_tests_command):
774         (DeprecatedPort.run_python_unittests_command):
775         (DeprecatedPort.run_webkit_unit_tests_command): Deleted.
776         * Scripts/webkitpy/common/config/ports_mock.py:
777         (MockPort.run_javascriptcore_tests_command):
778         (MockPort):
779         (MockPort.run_webkit_tests_command):
780         (MockPort.run_bindings_tests_command):
781         (MockPort.run_webkit_unit_tests_command): Deleted.
782         * Scripts/webkitpy/tool/commands/download_unittest.py:
783         * Scripts/webkitpy/tool/steps/runtests.py:
784         (RunTests.run):
785         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
786         (RunTestsTest.test_webkit_run_unit_tests):
787         * Scripts/webkitpy/tool/steps/steps_unittest.py:
788         (StepsTest.test_runtests_args):
789
790 2015-10-13  Brent Fulgham  <bfulgham@apple.com>
791
792         [Win] Generate Crash Traces
793         https://bugs.webkit.org/show_bug.cgi?id=150103
794
795         Reviewed by Daniel Bates.
796
797         We were using an exception filter to try to emit "#CRASHED" to stderr
798         when a test program crashed. However, the modern Python implementation
799         seems capable of recognizing crashes on its own. Furthermore, registering
800         the exception handler was preventing the JIT debugger (NTSD) from
801         automatically attaching to the crashing program, so we were not getting
802         crash traces.
803         
804         * DumpRenderTree/win/DumpRenderTree.cpp:
805         (main): Don't register an exception filter.
806         (exceptionFilter): Deleted.
807         * Scripts/webkitpy/common/system/crashlogs.py:
808         (CrashLogs): Add another regular expression to handle a second crash trace
809         syntax I encountered during testing.
810         (CrashLogs._find_newest_log_win): If the old regular expression doesn't match,
811         try the new one. The PID found by the new expression is in hexadecimal, so
812         convert it to an integer before returning it.
813         * Scripts/webkitpy/port/driver.py:
814         (Driver._check_for_driver_crash_or_unresponsiveness): Windows was not recognizing
815         the "#CRASHED" state because it was appending '\r\n', rather than just '\r'. Instead,
816         check for "#CRASHED" after stripping off the EOL characters.
817         * Scripts/webkitpy/port/win.py:
818         (WinPort.setup_crash_log_saving): Put back the '-e %ld' flag in the debugger
819         invocation. This is apparently used to signal an event when the debugger is finished.
820
821 2015-10-13  Alexey Proskuryakov  <ap@apple.com>
822
823         Mac Debug and 32-bit queues should be separate
824         https://bugs.webkit.org/show_bug.cgi?id=150092
825
826         Reviewed by Lucas Forschler.
827
828         * QueueStatusServer/config/queues.py:
829         * QueueStatusServer/model/queues.py:
830         (Queue._capitalize_after_dash):
831         (Queue._caplitalize_after_dash): Deleted.
832         * Scripts/webkitpy/common/config/ews.json:
833
834 2015-10-13  Sergio Villar Senin  <svillar@igalia.com>
835
836         [GTK] Fix build for ENABLE_TOUCH_EVENTS=OFF
837         https://bugs.webkit.org/show_bug.cgi?id=150085
838
839         Reviewed by Carlos Garcia Campos.
840
841         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
842
843 2015-10-13  Sebastian Dröge  <sebastian@centricular.com>
844
845         Unreviewed, add myself to the committers list.
846
847         * Scripts/webkitpy/common/config/contributors.json:
848
849 2015-10-12  Alexey Proskuryakov  <ap@apple.com>
850
851         Update bot watcher's dashboard to reflect that EWS is on iOS 9 now
852         https://bugs.webkit.org/show_bug.cgi?id=149983
853
854         Reviewed by Dan Bates.
855
856         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
857         (BubbleQueueServer):
858         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
859
860 2015-10-12  Alexey Proskuryakov  <ap@apple.com>
861
862         Fix webkitpy tests after r190922.
863
864         * Scripts/webkitpy/common/config/ews.json:
865         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
866         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
867
868 2015-10-12  Alexey Proskuryakov  <ap@apple.com>
869
870         Add a Mac debug EWS queue
871         https://bugs.webkit.org/show_bug.cgi?id=150069
872
873         Reviewed by Geoffrey Garen.
874
875         * QueueStatusServer/config/queues.py:
876         * Scripts/webkitpy/common/config/ews.json:
877         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
878         (AbstractEarlyWarningSystem):
879         (AbstractEarlyWarningSystem.archive_last_test_results):
880         (AbstractEarlyWarningSystem.build_style):
881         (AbstractEarlyWarningSystem.refetch_patch):
882         (AbstractEarlyWarningSystem.load_ews_classes):
883
884 2015-10-12  Mario Sanchez Prada  <mario@endlessm.com>
885
886         [GTK] Update jhbuild's version of harfbuzz
887         https://bugs.webkit.org/show_bug.cgi?id=149749
888
889         Reviewed by Martin Robinson.
890
891         Update harfbuzz to 0.9.35, following the lead of Debian Stable.
892
893         * gtk/jhbuild.modules: Updated details for harfbuzz.
894
895 2015-10-12  Mario Sanchez Prada  <mario@endlessm.com>
896
897         [GTK] Media tests crashing with gst-plugins-bad 1.4.4 and cpp 5.2
898         https://bugs.webkit.org/show_bug.cgi?id=150026
899
900         Reviewed by Philippe Normand.
901
902         Backport upstream patch from gst-plugins-bad so that the right version
903         of FAAD2 can be found with newer versions of cpp, so that gst-plugins-bad
904         gets compiled properly, avoiding crashes on runtime while running tests.
905
906         * gtk/patches/gst-plugins-bad-fix-faad2-version-check.patch: Added.
907         * gtk/jhbuild.modules: Referenced the newly added patch for gst-plugins-bad.
908
909 2015-10-11  Myles C. Maxfield  <mmaxfield@apple.com>
910
911         Test font-variant-* and font-feature-settings with mocked preinstalled fonts
912         https://bugs.webkit.org/show_bug.cgi?id=149777
913
914         Reviewed by Simon Fraser.
915
916         Include FontWithFeatures in DumpRenderTree and WebKitTestRunner. Add it
917         to the list of tests to preinstall at startup time.
918
919         Also, update the generation of the 'name' table in the FontWithFeatures font.
920
921         * DumpRenderTree/mac/DumpRenderTree.mm:
922         (allowedFontFamilySet):
923         (activateTestingFonts):
924         (activateFontsIOS):
925         * FontWithFeatures/FontWithFeatures/FontCreator.cpp:
926         (Generator::generate):
927         (Generator::appendCFFTable):
928         (Generator::appendNameSubtable):
929         (Generator::appendNAMETable):
930         * FontWithFeatures/FontWithFeatures/main.cpp:
931         (main):
932         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
933         (WTR::allowedFontFamilySet):
934         (WTR::activateFonts):
935         * WebKitTestRunner/mac/TestControllerMac.mm:
936         (WTR::allowedFontFamilySet):
937
938 2015-10-11  Jinyoung Hur  <hur.ims@navercorp.com>
939
940         Unreviewed. Add Jinyoung Hur as a committer. 
941
942         * Scripts/webkitpy/common/config/contributors.json:
943
944 2015-10-10  Dan Bernstein  <mitz@apple.com>
945
946         [iOS] Remove unnecessary iOS version checks
947         https://bugs.webkit.org/show_bug.cgi?id=150002
948
949         Reviewed by Alexey Proskuryakov.
950
951         * WebKitTestRunner/ios/HIDEventGenerator.mm:
952         (-[HIDEventGenerator _createIOHIDEventType:]):
953         (-[HIDEventGenerator _sendHIDEvent:]):
954         (-[HIDEventGenerator _sendMarkerHIDEventWithCompletionBlock:]):
955         * WebKitTestRunner/ios/UIKitSPI.h:
956
957 2015-10-09  Myles C. Maxfield  <mmaxfield@apple.com>
958
959         Unreviewed, rolling out r190689
960         https://bugs.webkit.org/show_bug.cgi?id=149992
961
962         Fixed in other repository.
963
964         Reverted changesets:
965
966         "Unreviewed, rolling out r190572, r190593, r190594, and r190639."
967         https://bugs.webkit.org/show_bug.cgi?id=149897
968
969 2015-10-09  Brian Burg  <bburg@apple.com>
970
971         Teach webkitperl how to figure out IOS versions from the SDK
972         https://bugs.webkit.org/show_bug.cgi?id=149963
973
974         Reviewed by Daniel Bates.
975
976         It should be easier to check the major and minor version of IOS SDKs.
977
978         * Scripts/copy-webkitlibraries-to-product-directory: use iosVersion().
979         * Scripts/webkitdirs.pm:
980         (splitVersionString): Added.
981         (determineOSXVersion): Use splitVersionString.
982         (determineIOSVersion): Added. Look at the SDK version and make a tuple.
983         (iosVersion): Added.
984
985 2015-10-09  Simon Fraser  <simon.fraser@apple.com>
986
987         [iOS WK2] Fix some leaks in TestRunnerWKWebView and UIScriptContext
988         https://bugs.webkit.org/show_bug.cgi?id=149960
989
990         Reviewed by Tim Horton.
991         
992         Use adoptWK(), and null out some members (file is not using ARC).
993
994         * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp:
995         (UIScriptContext::uiScriptComplete):
996         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
997         (-[TestRunnerWKWebView dealloc]):
998
999 2015-10-09  Csaba Osztrogonác  <ossy@webkit.org>
1000
1001         Remove ENABLE_SUID_SANDBOX_LINUX cruft
1002         https://bugs.webkit.org/show_bug.cgi?id=149954
1003
1004         Reviewed by Darin Adler.
1005
1006         * Scripts/webkitperl/FeatureList.pm:
1007
1008 2015-10-09  Daniel Bates  <dabates@apple.com>
1009
1010         Make iOS builders generate debug information in a separate dSYM file
1011         https://bugs.webkit.org/show_bug.cgi?id=149696
1012
1013         Reviewed by Darin Adler.
1014
1015         Similar to the Mac builders, the iOS builders should write debug information
1016         into a separate dSYM file instead of including such information in the binary
1017         itself (default Xcode behavior)
1018
1019         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1020         (CompileWebKit.start):
1021
1022 2015-10-09  Csaba Osztrogonác  <ossy@webkit.org>
1023
1024         Fix webkitpy tests after r190779
1025         https://bugs.webkit.org/show_bug.cgi?id=149949
1026
1027         Reviewed by Ryosuke Niwa.
1028
1029         * Scripts/webkitpy/benchmark_runner/benchmark_results.py:
1030         (BenchmarkResults.format):
1031         (BenchmarkResults._format_values):
1032
1033 2015-10-08  Dewei Zhu  <dewei_zhu@apple.com>
1034
1035         Extend run-benchmark script to support human-readable results conversion.
1036         https://bugs.webkit.org/show_bug.cgi?id=149944
1037
1038         Reviewed by Ryosuke Niwa.
1039
1040         Add '--read-results-json' and '--no-adjust-unit' options.
1041         '--read-results-json' option converts result file to human readable format.
1042         '--no-adjust-unit' option skips scientific notation convertion.
1043         '--platform' defaults to 'osx' and '--browser' defaults to 'safari'.
1044
1045         * Scripts/webkitpy/benchmark_runner/benchmark_results.py:
1046         (BenchmarkResults.format):
1047         (BenchmarkResults._format_tests):
1048         (BenchmarkResults._format_values):
1049         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
1050         (BenchmarkRunner.__init__):
1051         (BenchmarkRunner._run_benchmark):
1052         (BenchmarkRunner._dump):
1053         (BenchmarkRunner.show_results):
1054         (BenchmarkRunner._show_results): Deleted.
1055         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
1056         (parse_args):
1057         (start):
1058
1059 2015-10-08  Daniel Bates  <dabates@apple.com>
1060
1061         Add iOS 9 device builder to WebKit Bot Watcher's Dashboard
1062         https://bugs.webkit.org/show_bug.cgi?id=149945
1063
1064         Reviewed by Dan Bernstein.
1065
1066         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS9.png: Added.
1067         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS9@2x.png: Added.
1068         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
1069         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1070         (WebKitBuildbot):
1071         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
1072         (table.queue-grid tr.platform.ios-9 img.logo):
1073
1074 2015-10-08  Daniel Bates  <dabates@apple.com>
1075
1076         Teach build-webkit to install LLVM binaries for iOS when building for device with the public iOS SDK
1077         https://bugs.webkit.org/show_bug.cgi?id=149943
1078
1079         Reviewed by Dan Bernstein.
1080
1081         Following the addition of the LLVM binaries for iOS in changeset r190759 (bug #149913) we should
1082         teach build-webkit to install them when building for iOS device using the public iOS SDK. 
1083
1084         * Scripts/build-webkit:
1085
1086 2015-10-08  Daniel Bates  <dabates@apple.com>
1087
1088         Add LLVM binaries for iOS 9 device
1089         https://bugs.webkit.org/show_bug.cgi?id=149913
1090
1091         Reviewed by Filip Pizlo.
1092
1093         Implement support for building LLVM for ARM64-based iOS devices.
1094
1095         * Scripts/build-jsc: Enable the FTL when building for Mac or iOS device.
1096         * Scripts/copy-webkitlibraries-to-product-directory: Move logic to clean
1097         an existing build earlier in the file such that remove previously built
1098         libraries before building/copying new ones (if applicable).
1099         (fileContains): Moved function outside of if-block.
1100         (isContentOfFileEqualToString): Renamed; formerly named fileContentsEquals().
1101         (buildLLVM): Added. Extracted machinery to build LLVM into this function and
1102         added logic to build LLVM for ARM64-based iOS devices.
1103         (symlinkLLVMLibrariesIfNeeded): Added. Extracted machinery to symlink the built
1104         LLVM into the WebKitBuild directory.
1105
1106 2015-10-08  Alexey Proskuryakov  <ap@apple.com>
1107
1108         Crash-only queues on bot watcher's dashboard should not have non-crashing tests in popovers
1109         https://bugs.webkit.org/show_bug.cgi?id=149848
1110
1111         Reviewed by Darin Adler.
1112
1113         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1114
1115 2015-10-07  Brent Fulgham  <bfulgham@apple.com>
1116
1117         [Win] Support 64-bit Build and Testing
1118         https://bugs.webkit.org/show_bug.cgi?id=149904
1119
1120         Reviewed by Daniel Bates.
1121
1122         Extend our existing scripts to support 64-bit build and test operations on
1123         Windows.
1124
1125         * Scripts/build-dumprendertree: We don't need to build DRT on its own;
1126         Windows always builds the whole stack.
1127         * Scripts/webkit-build-directory: Add an option to return the location of
1128         the executable files produced by a specific configuration. This change is
1129         actually useful for Gtk and EFL, too.
1130         * Scripts/webkitdirs.pm:
1131         (executableProductDir): Added. This function appends the proper binary
1132         path to the productDir. This is useful for Windows, Gtk, and EFL ports.
1133         (jscProductDir): Use the new 'executableProductDir' method.
1134         (setPathForRunningWebKitApp): Ditto.
1135         (runSafari): Ditto.
1136         (runMiniBrowser): Ditto.
1137         * Scripts/webkitpy/port/factory.py:
1138         (configuration_options): Add a 64-bit option, used on Windows to specify
1139         which binary target should be used for testing.
1140         * Scripts/webkitpy/port/win.py:
1141         (WinPort._port_flag_for_scripts): Added. Supply the 64-bit flag to child
1142         processes when needed.
1143         (WinPort._build_path): Add the correct binary target path to _build_path.
1144         (WinPort._ntsd_location): Check 32-bit paths when running 32-bit tests,
1145         64-bit paths for 64-bit tests.
1146         (WinPort.setup_crash_log_saving): Remove '-e %ld' argument, since the
1147         NTSD debugger does not understand this argument.
1148
1149 2015-10-07  Myles C. Maxfield  <mmaxfield@apple.com>
1150
1151         Test font-variant-* and font-feature-settings with TrueType fonts
1152         https://bugs.webkit.org/show_bug.cgi?id=149776
1153
1154         Reviewed by Simon Fraser.
1155
1156         This test extends our existing FontWithFeatures project to be able to generate a
1157         TrueType font. This font is conceptually similar as the existing OpenType font,
1158         except the feature -> character mapping is different.
1159
1160         The font itself only supports the following characters:
1161         ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
1162         However, the shape of these letters are either an X or a check mark.
1163         The letter "A" always is a check mark.
1164         The letter "B" always is an X.
1165         Each font feature has an letter associated with it. When the font feature is enabled,
1166         that letter is shown as a check mark. For example, when
1167         "kLowerCaseType / kLowerCaseSmallCapsSelector" is enabled, "S" is shown as a check
1168         mark.
1169
1170         Here are the mappings of font features to letters:
1171         kLigaturesType / kCommonLigaturesOnSelector: C
1172         kLigaturesType / kContextualLigaturesOnSelector: D
1173         kLigaturesType / kRareLigaturesOnSelector: G
1174         kLigaturesType / kHistoricalLigaturesOnSelector: I
1175         kContextualAlternatesType / kContextualAlternatesOnSelector: L
1176         kVerticalPositionType / kInferiorsSelector: O
1177         kVerticalPositionType / kSuperiorsSelector: P
1178         kLowerCaseType / kLowerCaseSmallCapsSelector: S
1179         kUpperCaseType / kUpperCaseSmallCapsSelector: V
1180         kLowerCaseType / kLowerCasePetiteCapsSelector: T
1181         kUpperCaseType / kUpperCasePetiteCapsSelector: W
1182         kLetterCaseType / 14: Y
1183         kStyleOptionsType / kTitlingCapsSelector: a
1184         kNumberCaseType / kUpperCaseNumbersSelector: c
1185         kNumberCaseType / kLowerCaseNumbersSelector: d
1186         kNumberSpacingType / kProportionalNumbersSelector: f
1187         kNumberSpacingType / kMonospacedNumbersSelector: g
1188         kFractionsType / kDiagonalFractionsSelector: i
1189         kFractionsType / kVerticalFractionsSelector: j
1190         kVerticalPositionType / kOrdinalsSelector: Q
1191         kTypographicExtrasType / kSlashedZeroOnSelector: k
1192         kLigaturesType / kHistoricalLigaturesOnSelector: K
1193         kCharacterShapeType / kJIS1978CharactersSelector: m
1194         kCharacterShapeType / kJIS1983CharactersSelector: n
1195         kCharacterShapeType / kJIS1990CharactersSelector: o
1196         kCharacterShapeType / kJIS2004CharactersSelector: p
1197         kCharacterShapeType / kSimplifiedCharactersSelector: q
1198         kCharacterShapeType / kTraditionalCharactersSelector: r
1199         kTextSpacingType / kMonospacedTextSelector: t
1200         kTextSpacingType / kProportionalTextSelector: u
1201         kRubyKanaType / kRubyKanaOnSelector: v
1202
1203         * FontWithFeatures/FontWithFeatures.xcodeproj/project.pbxproj:
1204         * FontWithFeatures/FontWithFeatures/FontCreator.cpp:
1205         (CFFBuilder::moveTo):
1206         (CFFBuilder::lineTo):
1207         (GLYFBuilder::GLYFBuilder):
1208         (GLYFBuilder::takeResult):
1209         (GLYFBuilder::moveTo):
1210         (GLYFBuilder::lineTo):
1211         (GLYFBuilder::closePath):
1212         (GLYFBuilder::writePoint):
1213         (GLYFBuilder::append16):
1214         (generateBoxCharString):
1215         (generateCheckCharString):
1216         (generateXCharString):
1217         (itemForGlyph):
1218         (Generator::generate):
1219         (Generator::insertSelector):
1220         (Generator::insertFeature):
1221         (Generator::generateFeatureDescription):
1222         (Generator::appendCFFTable):
1223         (Generator::appendGLYFTable):
1224         (Generator::appendLOCATable):
1225         (Generator::appendFEATTable):
1226         (Generator::appendMetamorphosisChain):
1227         (Generator::appendMORXTable):
1228         (Generator::appendHEADTable):
1229         (Generator::appendHMTXTable):
1230         (Generator::appendNameSubtable):
1231         (Generator::append2ByteASCIIString):
1232         (Generator::appendNAMETable):
1233         (generateFont):
1234         (CFFBuilder::curveToCubic): Deleted.
1235         (charStringForGlyph): Deleted.
1236         * FontWithFeatures/FontWithFeatures/FontCreator.h:
1237         * FontWithFeatures/FontWithFeatures/main.cpp:
1238         (constructFontWithTrueTypeFeature):
1239         (constructFontWithOpenTypeFeature):
1240         (drawText):
1241         (main):
1242         (drawTextWithFeature): Deleted.
1243
1244 2015-10-07  Commit Queue  <commit-queue@webkit.org>
1245
1246         Unreviewed, rolling out r190572, r190593, r190594, and
1247         r190639.
1248         https://bugs.webkit.org/show_bug.cgi?id=149897
1249
1250         Breaks Mavericks build (Requested by litherum on #webkit).
1251
1252         Reverted changesets:
1253
1254         "Allow WKRetainPtrs to be used as keys in hashing data
1255         structures"
1256         https://bugs.webkit.org/show_bug.cgi?id=149762
1257         http://trac.webkit.org/changeset/190572
1258
1259         "REGRESSION(189668?): http/tests/notifications/events.html
1260         flakily asserts or times out"
1261         https://bugs.webkit.org/show_bug.cgi?id=149218
1262         http://trac.webkit.org/changeset/190593
1263
1264         "Prospective Mavericks build fix."
1265         http://trac.webkit.org/changeset/190594
1266
1267         "Post-review cleanup after r190572."
1268         http://trac.webkit.org/changeset/190639
1269
1270 2015-10-06  Michael Catanzaro  <mcatanzaro@igalia.com>
1271
1272         [GTK] Add autocleanups
1273         https://bugs.webkit.org/show_bug.cgi?id=149588
1274
1275         Reviewed by Darin Adler.
1276
1277         * TestWebKitAPI/Tests/WebKit2Gtk/AutocleanupsTest.cpp: Added.
1278         (AutocleanupsTest::create):
1279         (AutocleanupsTest::testWebProcessAutocleanups):
1280         (registerTests):
1281         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
1282         * TestWebKitAPI/Tests/WebKit2Gtk/TestAutocleanups.cpp: Added.
1283         (testUIProcessAutocleanups):
1284         (testWebProcessAutocleanups):
1285         (beforeAll):
1286         (afterAll):
1287
1288 2015-10-06  Brian Burg  <bburg@apple.com>
1289
1290         Unreviewed, try to fix the iOS 8 build after r190368.
1291
1292         On older versions, IOHIDEventCreateForceEvent is not available.
1293
1294         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1295         (-[HIDEventGenerator _createIOHIDEventType:]): Add another guard for force events.
1296
1297 2015-10-06  Keith Miller  <keith_miller@apple.com>
1298
1299         Add gmalloc option to run-javascriptcore-tests.
1300         https://bugs.webkit.org/show_bug.cgi?id=149858
1301
1302         Reviewed by Geoffrey Garen.
1303
1304         run-javascriptcore-tests takes a new option --gmalloc with an optional string argument, the path to the gmalloc dylib.
1305         If no argument is provided then /usr/lib/libgmalloc.dylib is used by default.
1306
1307         * Scripts/run-javascriptcore-tests:
1308
1309 2015-10-06  Myles C. Maxfield  <mmaxfield@apple.com>
1310
1311         Post-review cleanup after r190572.
1312
1313         Unreviewed.
1314
1315         * TestWebKitAPI/Tests/WebKit2/WKRetainPtr.cpp:
1316
1317 2015-10-06  Brent Fulgham  <bfulgham@apple.com>
1318
1319         [Win] Unreviewed build correction.
1320
1321         * TestWebKitAPI/PlatformWin.cmake: We don't need to link to all of these libraries. Most
1322         are soft-linked at runtime.
1323
1324 2015-10-06  Keith Miller  <keith_miller@apple.com>
1325
1326         Fix run-javascriptcore-tests/run-jsc-stress-tests to work with rootless, add a --quick option and deprecate the Mozilla driver.
1327         https://bugs.webkit.org/show_bug.cgi?id=149815
1328
1329         Reviewed by Filip Pizlo.
1330
1331         Rootless has an issue where it will strip any environment variables that start with DYLD starting a perl/ruby/python script.
1332         Now, run-jsc-stress-tests takes an new argument, --env-vars, that will set the specified environment variables before
1333         running tests. Additionally, I added a quick option that only runs default and the NoCJITValidate versions of each test.
1334         Finally, I removed the calls to the mozilla jsDriver.pl since the run-jsc-stress-tests runner runs the same test suite
1335         so should just use one test runner.
1336
1337         * Scripts/run-javascriptcore-tests:
1338         (runJSCStressTests):
1339         (runMozillaTests): Deleted.
1340         (defaultJsDriverArgsForMozillaTests): Deleted.
1341         * Scripts/run-jsc-stress-tests:
1342
1343 2015-10-06  Mark Salisbury  <mark.salisbury@hp.com>
1344
1345         [GTK] Make update-webkitgtk-libs work behind firewall
1346
1347         update-webkitgtk-libs can work behind a firewall with changes to
1348         a few packages.  Where outbound git and active FTP connections
1349         fail, using http protocol succeeds.  Most packages are
1350         already accessed using http.
1351
1352         https://bugs.webkit.org/show_bug.cgi?id=148941
1353
1354         Reviewed by Martin Robinson.
1355
1356         Tools
1357         * gtk/jhbuild.modules:
1358             Replace git URLs with http.  Remove no longer used ftp repositories.
1359             Update argument for libxml2's autogen.sh script (--without-python
1360             is ignored; --with-python=no is correct).
1361         * jhbuild/jhbuild-wrapper:
1362             Instead of connecting to git://git.gnome.org/jhbuild, connect to
1363             http://git.gnome.org/browse/jhbuild.
1364
1365 2015-10-06  Daniel Bates  <dbates@webkit.org>
1366
1367         Enable XSLT when building WebKit for iOS using the public iOS SDK
1368         https://bugs.webkit.org/show_bug.cgi?id=149827
1369
1370         Reviewed by Alexey Proskuryakov.
1371
1372         Teach script configure-xcode-for-ios-development to copy the OS X XSLT headers to the iPhoneOS
1373         and iPhoneSimulator SDKs so as to support building WebKit for iOS with XSLT. A person must
1374         run this script before building WebKit for iOS or the build will fail because one or more XSLT
1375         headers cannot be found.
1376
1377         * Scripts/configure-xcode-for-ios-development:
1378         (copyMissingXSLTHeadersToSDKIfNeeded): Added.
1379
1380 2015-10-05  Myles C. Maxfield  <mmaxfield@apple.com>
1381
1382         REGRESSION(189668?): http/tests/notifications/events.html flakily asserts or times out
1383         https://bugs.webkit.org/show_bug.cgi?id=149218
1384
1385         Reviewed by Alexey Proskuryakov.
1386
1387         Because of r189668, WebKitTestRunner now tears down and recreates its WKNotificationManagerRef
1388         when the TestOptions change. Previously, WebNotificationProvider only could handle a single
1389         WKNotificationManagerRef. Because the ower of the WKNotificationManagerRef is reference counted,
1390         and AppKit internally retains some objects which end up retaining the WKNotificationManagerRef,
1391         the old WKNotificationManager may not be destroyed before the new one is created. Therefore,
1392         WebNotificationProvider must be updated to appropriately handle multiple
1393         WKNotificationManagerRefs in flight at the same time.
1394
1395         * WebKitTestRunner/WebNotificationProvider.cpp:
1396         (WTR::WebNotificationProvider::~WebNotificationProvider):
1397         (WTR::WebNotificationProvider::showWebNotification):
1398         (WTR::WebNotificationProvider::closeWebNotification):
1399         (WTR::WebNotificationProvider::addNotificationManager):
1400         (WTR::WebNotificationProvider::removeNotificationManager):
1401         (WTR::WebNotificationProvider::simulateWebNotificationClick):
1402         (WTR::WebNotificationProvider::reset):
1403         * WebKitTestRunner/WebNotificationProvider.h:
1404
1405 2015-10-05  Daniel Bates  <dabates@apple.com>
1406
1407         Disable Bitcode when building for iOS device
1408         https://bugs.webkit.org/show_bug.cgi?id=149818
1409
1410         Reviewed by Alexey Proskuryakov.
1411
1412         Xcode 7 generates bitcode for iOS device apps by default. Do not generate bitcode
1413         when building for iOS device.
1414
1415         * Scripts/webkitdirs.pm:
1416         (XcodeOptions):
1417
1418 2015-10-05  Daniel Bates  <dabates@apple.com>
1419
1420         [iOS] Make it possible to build WebKit using iphoneos SDK without a developer certificate installed
1421         https://bugs.webkit.org/show_bug.cgi?id=140828
1422         <rdar://problem/19520599>
1423
1424         Reviewed by Alexey Proskuryakov.
1425
1426         Support building WebKit for iOS device without an iOS Developer certificate installed. Otherwise,
1427         we will pass CODE_SIGN_IDENTITY="iPhone Developer: " to Xcode to find a iOS Developer certificate
1428         to use. To use a specific installed iOS Developer certificate, explicitly pass CODE_SIGN_IDENTITY
1429         to build-webkit.
1430
1431         * Scripts/webkitdirs.pm:
1432         (XcodeOptions): Cleaned up code. When building for iOS device, pass to Xcode CODE_SIGN_IDENTITY="iPhone Developer: "
1433         to code sign using the installed iOS development certificate (if it exists - we assume there is only one such certificate).
1434         Otherwise, pass CODE_SIGN_IDENTITY="" and CODE_SIGNING_REQUIRED=NO to Xcode to disable code signing.
1435         (hasIOSDevelopmentCertificate): Added.
1436
1437 2015-10-05  Daniel Bates  <dabates@apple.com>
1438
1439         DumpRenderTree built with public iOS SDK crashes under -[WebPreferences(WebPrivate) _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]
1440         https://bugs.webkit.org/show_bug.cgi?id=149766
1441
1442         Reviewed by Alexey Proskuryakov.
1443
1444         Create network storage testing session on iOS.
1445
1446         Currently we do not create a network storage testing session on iOS. A network storage testing session always
1447         has an associated cookie store. When WebKit is built without USE(CFNETWORK), NetworkStorageSession::defaultStorageSession().cookieStorage()
1448         returns nullptr because the caller is expected to interact with NSHTTPCookieStorage instead of querying
1449         NetworkStorageSession for the cookie store. When WebKit is built with USE(CFNETWORK) accessing
1450         NetworkStorageSession::defaultStorageSession().cookieStorage() returns a valid cookie store (creating one if
1451         it does not exist). Instead we should make use of NetworkStorageSession::switchToNewTestingSession() to
1452         create a network storage testing session when building DumpRenderTree for iOS so as to ensure a consistent
1453         testing environment regardless of whether we built with USE(CFNETWORK). This will also make the behavior of
1454         DumpRenderTree on iOS more consistent with the behavior of DumpRenderTree on Mac.
1455
1456         As a side effect of this change DumpRenderTree no longer crashes in -[WebPreferences(WebPrivate) _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]
1457         when WebKit is built without USE(CFNETWORK) because NetworkStorageSession::defaultStorageSession().cookieStorage()
1458         returns a non-null pointer to a cookie store.
1459
1460         * DumpRenderTree/mac/DumpRenderTree.mm:
1461         (prepareConsistentTestingEnvironment):
1462
1463 2015-10-05  Simon Fraser  <simon.fraser@apple.com>
1464
1465         Fix the iOS 8 build again, where -[UIApplication _enqueueHIDEvent:] is not
1466         available.
1467
1468         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1469         (-[HIDEventGenerator _sendMarkerHIDEventWithCompletionBlock:]):
1470
1471 2015-10-05  Myles C. Maxfield  <mmaxfield@apple.com>
1472
1473         Allow WKRetainPtrs to be used as keys in hashing data structures
1474         https://bugs.webkit.org/show_bug.cgi?id=149762
1475
1476         Reviewed by Anders Carlsson.
1477
1478         * TestWebKitAPI/PlatformGTK.cmake:
1479         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1480         * TestWebKitAPI/Tests/WebKit2/WKRetainPtr.cpp: Added.
1481         (TestWebKitAPI::TEST):
1482
1483 2015-10-05  Simon Fraser  <simon.fraser@apple.com>
1484
1485         Fix the iOS 8 build, where -[UIApplication _enqueueHIDEvent:] is not
1486         available, and tidy up the #ifdefs in the UIKitSPI header.
1487
1488         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1489         (-[HIDEventGenerator _sendHIDEvent:]):
1490         * WebKitTestRunner/ios/UIKitSPI.h:
1491
1492 2015-10-04  Zan Dobersek  <zdobersek@igalia.com>
1493
1494         [GTK] Remove duplicate entries in WebKitTestRunner_SOURCES
1495         https://bugs.webkit.org/show_bug.cgi?id=149792
1496
1497         Reviewed by Martin Robinson.
1498
1499         * WebKitTestRunner/PlatformGTK.cmake: Don't list build targets
1500         for WebKitTestRunner multiple times.
1501
1502 2015-10-04  Daniel Bates  <dabates@apple.com>
1503
1504         Fix the Apple Internal iOS build after <http://trac.webkit.org/changeset/190515>
1505         (https://bugs.webkit.org/show_bug.cgi?id=149753)
1506
1507         For now, support calling build-layouttestrelay without --ios-simulator so long
1508         as we are building on a Mac.
1509
1510         * Scripts/build-layouttestrelay:
1511
1512 2015-10-04  Alexey Proskuryakov  <ap@apple.com>
1513
1514         Support Trac 1.0.x XML timeline link format
1515         https://bugs.webkit.org/show_bug.cgi?id=149786
1516
1517         Reviewed by Lucas Forschler.
1518
1519         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
1520         (Trac.prototype._convertCommitInfoElementToObject):
1521
1522 2015-10-04  Alexey Proskuryakov  <ap@apple.com>
1523
1524         Fix some errors on bot watcher's dashboard
1525         https://bugs.webkit.org/show_bug.cgi?id=149789
1526
1527         Reviewed by Lucas Forschler.
1528
1529         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1530         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus): We may not get to layout
1531         tests step, in which case layoutTestResults.tooManyFailures would raise an exception.
1532
1533 2015-10-04  Alexey Proskuryakov  <ap@apple.com>
1534
1535         Bot watcher's dashboard builders should turn yellow when svn fails
1536         https://bugs.webkit.org/show_bug.cgi?id=149791
1537
1538         Reviewed by Lucas Forschler.
1539
1540         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
1541         (BuildbotBuilderQueueView.prototype.appendBuilderQueueStatus):
1542         (BuildbotBuilderQueueView.prototype.update):
1543
1544 2015-10-02  Daniel Bates  <dabates@apple.com>
1545
1546         Add iOS 9 Simulator builders and testers to WebKit Bot Watcher's Dashboard
1547         https://bugs.webkit.org/show_bug.cgi?id=149769
1548
1549         Reviewed by Alexey Proskuryakov.
1550
1551         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS9Simulator.png: Added.
1552         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS9Simulator@2x.png: Added.
1553         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
1554         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1555         (WebKitBuildbot):
1556         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
1557         (table.queue-grid tr.platform.ios-simulator-9 img.logo):
1558
1559 2015-10-02  Ryosuke Niwa  <rniwa@webkit.org>
1560
1561         REGRESSION(r190370): Speedometer spits out an extra console message
1562         https://bugs.webkit.org/show_bug.cgi?id=149720
1563
1564         Unreviewed. Temporarily ignore the console error message.
1565
1566         * Scripts/webkitpy/performance_tests/perftest.py:
1567         (PerfTest._filter_output):
1568
1569 2015-10-02  Brent Fulgham  <bfulgham@apple.com>
1570
1571         Provide "--no-ninja" option to avoid using Ninja
1572         https://bugs.webkit.org/show_bug.cgi?id=149757
1573
1574         Reviewed by Alex Christensen.
1575
1576         Add a new command line argument understood by webkitdirs.pm so
1577         that we can conditionally avoid using Ninja. This is an
1578         'opt-out' argument, so no existing Ninja users should be affected.
1579         
1580         * Scripts/webkitdirs.pm:
1581         (canUseNinja): Check for option and block ninja if present.
1582
1583 2015-10-02  Aakash Jain  <aakash_jain@apple.com>
1584
1585         Flakiness dashboard should support OS X El Capitan
1586         https://bugs.webkit.org/show_bug.cgi?id=149648
1587
1588         Reviewed by Alexey Proskuryakov.
1589
1590         * TestResultServer/static-dashboards/flakiness_dashboard.js: Fix the broken dashboard for ElCapitan.
1591
1592 2015-10-02  Daniel Bates  <dabates@apple.com>
1593
1594         Fix run-webkit-tests --ios-simulator after <http://trac.webkit.org/changeset/190515>
1595         (https://bugs.webkit.org/show_bug.cgi?id=149753)
1596
1597         For now, pass --ios-simulator.
1598
1599         * Scripts/webkitpy/port/ios.py:
1600         (IOSSimulatorPort._build_relay):
1601
1602 2015-10-02  Simon Fraser  <simon.fraser@apple.com>
1603
1604         Remove a "nullable" that breaks the iOS 8 build.
1605
1606         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
1607         (-[TestRunnerWKWebView scrollViewWillBeginZooming:withView:]):
1608
1609 2015-10-02  Daniel Bates  <dabates@apple.com>
1610
1611         LayoutTestRelay is not built and archived when building for iOS Simulator
1612         https://bugs.webkit.org/show_bug.cgi?id=149753
1613
1614         Reviewed by Alexey Proskuryakov and Andy Estes.
1615
1616         Towards running layout tests on the iOS Simulator test bots, we need to teach scripts build-webkit
1617         and built-product-archive to build the Mac tool LayoutTestRelay and include this tool in the built
1618         product archive when building for iOS Simulator, respectively.
1619
1620         * BuildSlaveSupport/built-product-archive:
1621         (main): Pass the full platform name (options.platform) to archiveBuiltProduct() so that it can
1622         differentiate between iOS device and iOS Simulator platforms.
1623         (webkitBuildDirectoryForConfigurationAndPlatform): Extracted logic to run the script webkit-build-directory
1624         from determineWebKitBuildDirectories() into this function so that it can be used by both
1625         determineWebKitBuildDirectories() and archiveBuiltProduct().
1626         (determineWebKitBuildDirectories): Moved logic to execute the script webkit-build-directory from here to
1627         webkitBuildDirectoryForConfigurationAndPlatform().
1628         (createZip): Added parameter embedParentDirectoryNameOnDarwin (defaults to False) to specify whether
1629         we should call ditto(1) with --keepParent to embed the parent directory name in the zip archive. This
1630         argument is only applicable when building on Darwin. We only pass embedParentDirectoryNameOnDarwin=True
1631         when making an archive for a Mac or iOS device build. For iOS Simulator builds we archive two directories
1632         and we do not want to keep the parent directory because it is a placeholder directory used as a workaround
1633         for the limitation that ditto(1) can only accept a single directory to archive on its command line.
1634         (archiveBuiltProduct): Modified to take the full platform name as an argument. Added logic for iOS.
1635         For iOS device builds we use the same logic as for a Mac build and archive the configuration-specific
1636         build directory. For iOS Simulator builds we archive the configuration-specific iOS build directory,
1637         LayoutTestRelay and LayoutTestRelay.dSYM (if it exists) from the configuration-specific Mac build.
1638         * Scripts/build-layouttestrelay:
1639             - Remove unnecessary include of Perl module POSIX.
1640             - Only build LayoutTestRelay when building for iOS Simulator (i.e. --ios-simulator is passed).
1641         * Scripts/build-webkit:
1642             - Invoke script build-layouttestrelay when building for iOS Simulator.
1643
1644 2015-10-02  Brent Fulgham  <bfulgham@apple.com>
1645
1646         [Win] Unreviewed test fix.
1647
1648         You cannot run 'run-webkit-tests' from the command line because it does not know
1649         to append the binary subdirectory (bin32/bin64). We don't see this on our builders
1650         because they explicitly set use the 'root' argument to provide the full path to
1651         the test binaries.
1652
1653         * Scripts/webkitpy/port/win.py:
1654         (WinPort._build_path): Added.
1655
1656 2015-10-02  Alex Christensen  <achristensen@webkit.org>
1657
1658         Reloading without content blockers doesn't apply to resource loads after the main frame finishes
1659         https://bugs.webkit.org/show_bug.cgi?id=149430
1660         rdar://problem/22742222
1661
1662         Reviewed by Geoffrey Garen.
1663
1664         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1665         (WTR::TestController::cocoaResetStateToConsistentValues):
1666         * WebKitTestRunner/mac/TestControllerMac.mm:
1667         (WTR::TestController::platformConfigureViewForTest):
1668         Test what happens when you disable content blockers from the SPI.
1669
1670 2015-10-01  Brent Fulgham  <bfulgham@apple.com>
1671
1672         [Win] Unreviewed build fix for run-api-tests
1673
1674         * Scripts/run-api-tests:
1675         (testToolPaths): Windows run needs to specify the binary path.
1676
1677 2015-10-01  Daniel Bates  <dabates@apple.com>
1678
1679         Another attempt to fix the Windows builders after <https://trac.webkit.org/changeset/190387>
1680         (https://bugs.webkit.org/show_bug.cgi?id=149695)
1681
1682         Following r190424 we can now rely on webkit-build-directory to return the path to
1683         the correct configuration-specific build directory on Windows.
1684
1685         * BuildSlaveSupport/built-product-archive:
1686         (archiveBuiltProduct):
1687
1688 2015-10-01  Brent Fulgham  <bfulgham@apple.com>
1689
1690         [Win] Unreviewed build fix.
1691
1692         * Scripts/webkitdirs.pm:
1693         (setupAppleWinEnv): Use 64-bit build tools if available
1694
1695 2015-10-01  Brent Fulgham  <bfulgham@apple.com>
1696
1697         [Win] Fix TestWebKitAPI build under CMake.
1698
1699         Reviewed by Alex Christensen.
1700
1701         * TestWebKitAPI/PlatformWin.cmake: Add missing link command
1702         for Psapi.lib.
1703
1704 2015-10-01  Brent Fulgham  <bfulgham@apple.com>
1705
1706         [Win] Fix behavior of webkit-build-directory script
1707         https://bugs.webkit.org/show_bug.cgi?id=149718
1708
1709         Reviewed by Alex Christensen.
1710
1711         * Scripts/webkitdirs.pm:
1712         (determineConfigurationProductDir): Do not include the binary
1713         sub-directory in the configuration product directory output.
1714         (jscProductDir): Append correct binary path for Windows build.
1715         (setPathForRunningWebKitApp): Include properly binary subdirectories.
1716         (runSafari): Update for revised productDir behavior.
1717         (runMiniBrowser): Ditto.
1718
1719 2015-10-01  Alexey Proskuryakov  <ap@apple.com>
1720
1721         Stop building LayoutTestRelay for now. It's a Mac project, but build-webkit tries to
1722         use iOS SDK, like with all the others.
1723
1724         * Scripts/build-webkit:
1725
1726 2015-10-01  Daniel Bates  <dabates@apple.com>
1727
1728         Attempt to fix the iOS 9 Simulator testers
1729
1730         Add dependency DumpRenderTree.app to target All of project DumpRenderTree so that we
1731         build DumpRenderTree.app, if applicable. Also, teach build-webkit to build project
1732         LayoutTestRelay when building for iOS Simulator.
1733
1734         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1735         * Scripts/build-webkit:
1736
1737 2015-10-01  Carlos Garcia Campos  <cgarcia@igalia.com>
1738
1739         [GTK] Websites with invalid auth header keep loading forever
1740         https://bugs.webkit.org/show_bug.cgi?id=149710
1741
1742         Reviewed by Martin Robinson.
1743
1744         Add test case to check that we can authenticate sites with an
1745         empty realm.
1746
1747         * TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp:
1748         (testWebViewAuthenticationEmptyRealm):
1749         (serverCallback):
1750         (beforeAll):
1751
1752 2015-10-01  Alexey Proskuryakov  <ap@apple.com>
1753
1754         [Mac] Make run-api-tests work with System Integrity Protection
1755         https://bugs.webkit.org/show_bug.cgi?id=149711
1756         rdar://problem/22928202
1757
1758         Reviewed by Dan Bernstein.
1759
1760         * Scripts/run-api-tests:
1761         (runTest):
1762         (archCommandLineArgumentsForRestrictedEnvironmentVariables):
1763
1764 2015-10-01  Daniel Bates  <dabates@apple.com>
1765
1766         Attempt to fix the Windows build after <https://trac.webkit.org/changeset/190387>
1767         (https://bugs.webkit.org/show_bug.cgi?id=149695)
1768
1769         For some reason built-product-archive hardcodes the assumption that we build for 32-bit Windows.
1770         For now, use the path to the top-level WebKit build directory instead of using the configuration-
1771         specific build directory.
1772
1773         * BuildSlaveSupport/built-product-archive:
1774         (archiveBuiltProduct):
1775
1776 2015-10-01  Csaba Osztrogonác  <ossy@webkit.org>
1777
1778         [EFL] Fix the openwebrtc and gst-plugins-openwebrtc build with clang
1779         https://bugs.webkit.org/show_bug.cgi?id=145837
1780
1781         Reviewed by Philippe Normand.
1782
1783         * efl/jhbuild.modules:
1784         * efl/patches/openwebrtc-clang-warning-fix.patch: Added.
1785         * efl/patches/openwebrtc-gst-plugins-clang-warning-fix.patch: Added.
1786
1787 2015-10-01  Wenson Hsieh  <wenson_hsieh@apple.com>
1788
1789         Unreviewed. Fix the iOS build after r190407.
1790
1791         * WebKitTestRunner/ios/IOKitSPI.h:
1792
1793 2015-10-01  Wenson Hsieh  <wenson_hsieh@apple.com>
1794
1795         Implement keyboard event sending for iOS in WebKitTestRunner
1796         https://bugs.webkit.org/show_bug.cgi?id=149676
1797
1798         Reviewed by Simon Fraser.
1799
1800         Adds support for generating and sending key events in WebKitTestRunner. This is accomplished in a similar
1801         way as touch events, using IOHIDEvent machinery. Also adds callbacks to the UIScriptController JS API that
1802         allows us to run code when the keyboard is shown or hidden.
1803
1804         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl: Adds the typeCharacter JS interface.
1805         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
1806         (WTR::UIScriptController::setDidShowKeyboardCallback):
1807         (WTR::UIScriptController::didShowKeyboardCallback):
1808         (WTR::UIScriptController::setDidHideKeyboardCallback):
1809         (WTR::UIScriptController::didHideKeyboardCallback):
1810         (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
1811         (WTR::UIScriptController::platformSetDidShowKeyboardCallback):
1812         (WTR::UIScriptController::platformSetDidHideKeyboardCallback):
1813         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
1814         * WebKitTestRunner/cocoa/TestRunnerWKWebView.h:
1815         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
1816         (-[TestRunnerWKWebView initWithFrame:configuration:]): Registers the TestRunnerWKWebView to listen to
1817                 the notifications that the keyboard has been raised or lowered.
1818         (-[TestRunnerWKWebView _keyboardDidShow:]):
1819         (-[TestRunnerWKWebView _keyboardDidHide:]):
1820         * WebKitTestRunner/ios/HIDEventGenerator.h:
1821         * WebKitTestRunner/ios/HIDEventGenerator.m:
1822         (-[HIDEventGenerator _sendIOHIDKeyboardEvent:usage:isKeyDown:]): Helper to send a HID keyboard event.
1823         (shouldWrapWithShiftKeyEventForCharacter): Helper used to generate key events.
1824         (hidUsageCodeForCharacter): Ditto.
1825         (-[HIDEventGenerator keyDown:completionBlock:]): Synthesizes and sends HIDKeyboardEvents, triggering
1826                 a keyDown event in WebKit.
1827         * WebKitTestRunner/ios/IOKitSPI.h:
1828         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1829
1830 2015-10-01  Carlos Garcia Campos  <cgarcia@igalia.com>
1831
1832         Unreviewed, rolling out r190399.
1833
1834         Tests are still failing even after r190362
1835
1836         Reverted changeset:
1837
1838         "Unreviewed. Unskip GTK+ user media unit tests after r190362."
1839         http://trac.webkit.org/changeset/190399
1840
1841 2015-10-01  Csaba Osztrogonác  <ossy@webkit.org>
1842
1843         [jhbuild] switch to new upstream usrsctp library
1844         https://bugs.webkit.org/show_bug.cgi?id=149494
1845
1846         Reviewed by Philippe Normand.
1847
1848         * efl/jhbuild.modules:
1849         * gtk/jhbuild.modules:
1850
1851 2015-10-01  Carlos Garcia Campos  <cgarcia@igalia.com>
1852
1853         Unreviewed. Unskip GTK+ user media unit tests after r190362.
1854
1855         They should pass now.
1856
1857         * Scripts/run-gtk-tests:
1858         (TestRunner):
1859
1860 2015-09-30  Daniel Bates  <dabates@apple.com>
1861
1862         Another attempt to fix the build after <https://trac.webkit.org/changeset/190387>
1863         (https://bugs.webkit.org/show_bug.cgi?id=149695)
1864
1865         * BuildSlaveSupport/built-product-archive:
1866         (determineWebKitBuildDirectories): Substitute _configurationBuildDirectory for _buildDirectory.
1867         (extractBuiltProduct): Substitute _topLevelBuildDirectory for _buildDirectory.
1868
1869 2015-09-30  Daniel Bates  <dabates@apple.com>
1870
1871         Attempt to fix the build after <https://trac.webkit.org/changeset/190387>
1872         (https://bugs.webkit.org/show_bug.cgi?id=149695)
1873
1874         Actually, we need to pass --configuration to script webkit-build-directory to have
1875         it return the path to the configuration-specific build directory.
1876
1877         * BuildSlaveSupport/built-product-archive:
1878         (determineWebKitBuildDirectories):
1879
1880 2015-09-30  Daniel Bates  <dabates@apple.com>
1881
1882         built-product-archive archives incorrect build directory for iOS port
1883         https://bugs.webkit.org/show_bug.cgi?id=149695
1884
1885         Reviewed by Darin Adler.
1886
1887         Fixes an issue where the script built-product-archive archives a non-existent
1888         build directory for the iOS port. Without loss of generality, the script assumes
1889         the path to the Release configuration build for iOS is in directory WebKitBuild/Release.
1890         But the built products for this configuration are in directory WebKitBuild/Release-iphonesimulator.
1891
1892         Currently the script built-product-archive calls `webkit-build-directory --top-level ...`
1893         to determine the top-level build directory and computes the configuration-specific
1894         build directory to be the concatenation of the the top-level build directory and
1895         the configuration (e.g. Release). This is incorrect. Instead we should call
1896         webkit-build-directory omitting the flag --top-level to compute the path to the
1897         configuration-specific build directory.
1898
1899         * BuildSlaveSupport/built-product-archive: Fix up the style such that we use single quoted literals.
1900         (main): Renamed global variable _buildDirectory to _topLevelBuildDirectory to better describe
1901         its purpose and added global variable _configurationBuildDirectory to store the path
1902         to the configuration-specific build directory. Ensure that we have a non-empty string
1903         for both the top-level and configuration-specific build directories.
1904         (determineWebKitBuildDirectories): Formerly named determineWebKitBuildDirectory.
1905         Compute the configuration-specific build directory and store it in the global variable
1906         _configurationBuildDirectory.
1907         (archiveBuiltProduct): Modified to use _configurationBuildDirectory.
1908         (extractBuiltProduct): Modified to use _configurationBuildDirectory and _topLevelBuildDirectory
1909         as needed.
1910         (determineWebKitBuildDirectory): Deleted.
1911
1912 2015-09-30  Hunseop Jeong  <hs85.jeong@samsung.com>
1913
1914         [EFL] css3/device-adapt/* tests failed after r190335.
1915         https://bugs.webkit.org/show_bug.cgi?id=149655
1916
1917         Reviewed by Simon Fraser.
1918
1919         device-adapt/* tests need the fixedLayout option but useFixedLayout option is
1920         overwritten by updatePlatformSpecificViewOptionsForTest after r190335.
1921
1922         * WebKitTestRunner/efl/TestControllerEfl.cpp:
1923         (WTR::shouldUseFixedLayout):
1924
1925 2015-09-30  Dewei Zhu  <dewei_zhu@apple.com>
1926
1927         Extend JetStream timeout for slow devices.
1928
1929         Reviewed by Chris Dumez.
1930
1931         Extend JetStream timeout to 20 minutes.
1932
1933         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan:
1934
1935 2015-09-30  Daniel Bates  <dabates@apple.com>
1936
1937         Rename iOS builders/testers to include version
1938         https://bugs.webkit.org/show_bug.cgi?id=149685
1939
1940         Reviewed by Simon Fraser.
1941
1942         Substitute "Apple iOS 9" for "Apple iOS" in the names of iOS builders/testers so as
1943         make it clear to a reader the version of iOS these builders/testers are using.
1944
1945         * BuildSlaveSupport/build.webkit.org-config/config.json:
1946         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
1947
1948 2015-09-30  Daniel Bates  <dabates@apple.com>
1949
1950         Add iOS criterion for triggering a build
1951         https://bugs.webkit.org/show_bug.cgi?id=149679
1952
1953         Rubber-stamped by Alexey Proskuryakov.
1954
1955         First pass at defining criterion for triggering an iOS build.
1956
1957         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
1958         (_should_file_trigger_build):
1959         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
1960         (ShouldBuildTest):
1961         (ShouldBuildTest.test_should_build):
1962
1963 2015-09-29  Simon Fraser  <simon.fraser@apple.com>
1964
1965         [iOS] Allow tests to generate user gestures for UI testing
1966         https://bugs.webkit.org/show_bug.cgi?id=149653
1967
1968         Reviewed by Tim Horton.
1969
1970         Expose functionality in UIScriptController to allow for testing single- and double-tap,
1971         and to listen for completion of scrolling and zooming in the WKWebView.
1972         
1973         Tap generation is done using synthetic IOHIDEvents, via a new HIDEventGenerator class
1974         which hides the complexity of creating these events. Event dispatch is asynchronous.
1975         We detect when the last event has been handled by dispatching a vendor-specific event,
1976         which is detected via -_handleHIDEvent: in our UIApplication subclass.
1977         
1978         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: Link with IOKit.
1979         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl: Two new properties
1980         for 'will begin zooming' and 'did end zooming' callbacks, and functions to dispatch
1981         single and double taps.
1982         * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp:
1983         (UIScriptContext::registerCallback): Used to store the callbacks for zooming.
1984         Unlike the "task" callbacks, these are persistent, but we store them in the same hash map.
1985         (UIScriptContext::unregisterCallback):
1986         (UIScriptContext::callbackWithID):
1987         (UIScriptContext::fireCallback):
1988         * WebKitTestRunner/UIScriptContext/UIScriptContext.h:
1989         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
1990         (WTR::UIScriptController::setWillBeginZoomingCallback): Cross-platform code.
1991         (WTR::UIScriptController::willBeginZoomingCallback): Ditto.
1992         (WTR::UIScriptController::setDidEndZoomingCallback):
1993         (WTR::UIScriptController::didEndZoomingCallback):
1994         (WTR::UIScriptController::singleTapAtPoint): Non-iOS stub.
1995         (WTR::UIScriptController::doubleTapAtPoint): Ditto.
1996         (WTR::UIScriptController::platformSetWillBeginZoomingCallback):
1997         (WTR::UIScriptController::platformSetDidEndZoomingCallback):
1998         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
1999         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2000         * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: Properties for the zooming callbacks.
2001         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
2002         (-[TestRunnerWKWebView zoomToScale:animated:completionHandler:]): Dispatch the zooming callback.
2003         (-[TestRunnerWKWebView scrollViewWillBeginZooming:withView:]): Ditto.
2004         (-[TestRunnerWKWebView scrollViewDidEndZooming:withView:atScale:]): Ditto.
2005         (-[TestRunnerWKWebView onDidEndZooming:]): Deleted.
2006         * WebKitTestRunner/ios/HIDEventGenerator.h: Copied from Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.h.
2007         * WebKitTestRunner/ios/HIDEventGenerator.m: Added.
2008         (simpleDragCurve):
2009         (calculateNextLocation):
2010         (delayBetweenMove):
2011         (+[HIDEventGenerator sharedHIDEventGenerator]):
2012         (+[HIDEventGenerator nextEventCallbackID]):
2013         (-[HIDEventGenerator init]):
2014         (-[HIDEventGenerator _createIOHIDEventType:]):
2015         (-[HIDEventGenerator _sendHIDEvent:]):
2016         (-[HIDEventGenerator _sendMarkerHIDEventWithCompletionBlock:]):
2017         (-[HIDEventGenerator _updateTouchPoints:count:]):
2018         (-[HIDEventGenerator touchDownAtPoints:touchCount:]):
2019         (-[HIDEventGenerator touchDown:touchCount:]):
2020         (-[HIDEventGenerator touchDown:]):
2021         (-[HIDEventGenerator liftUpAtPoints:touchCount:]):
2022         (-[HIDEventGenerator liftUp:touchCount:]):
2023         (-[HIDEventGenerator liftUp:]):
2024         (-[HIDEventGenerator moveToPoints:touchCount:duration:]):
2025         (-[HIDEventGenerator sendTaps:location:withNumberOfTouches:completionBlock:]):
2026         (-[HIDEventGenerator tap:completionBlock:]):
2027         (-[HIDEventGenerator doubleTap:completionBlock:]):
2028         (-[HIDEventGenerator twoFingerTap:completionBlock:]):
2029         (-[HIDEventGenerator dragWithStartPoint:endPoint:duration:completionBlock:]):
2030         (-[HIDEventGenerator pinchCloseWithStartPoint:endPoint:duration:completionBlock:]):
2031         (-[HIDEventGenerator pinchOpenWithStartPoint:endPoint:duration:completionBlock:]):
2032         (-[HIDEventGenerator markerEventReceived:]):
2033         * WebKitTestRunner/ios/IOKitSPI.h: Added.
2034         * WebKitTestRunner/ios/UIKitSPI.h: Copied from Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.h.
2035         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2036         (WTR::globalToContentCoordinates):
2037         (WTR::UIScriptController::singleTapAtPoint):
2038         (WTR::UIScriptController::doubleTapAtPoint):
2039         (WTR::UIScriptController::platformSetWillBeginZoomingCallback):
2040         (WTR::UIScriptController::platformSetDidEndZoomingCallback):
2041         * WebKitTestRunner/ios/mainIOS.mm:
2042         (-[WebKitTestRunnerApp _handleHIDEvent:]):
2043
2044 2015-09-30  Dana Burkart  <dburkart@apple.com>
2045
2046         git-add-reviewer should trim trailing spaces/newlines
2047         https://bugs.webkit.org/show_bug.cgi?id=149513
2048
2049         Reviewed by Darin Adler.
2050
2051         * Scripts/git-add-reviewer:
2052         (nonInteractive):
2053
2054 2015-09-30  Eric Carlson  <eric.carlson@apple.com>
2055
2056         REGRESSION(r190262): User media unit test failures after r190262
2057         https://bugs.webkit.org/show_bug.cgi?id=149580
2058
2059         Reviewed by Darin Adler.
2060
2061         * WebKitTestRunner/TestController.cpp:
2062         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Fix parameter
2063           order to WKUserMediaPermissionRequestAllow.
2064
2065 2015-09-30  Daniel Bates  <dabates@apple.com>
2066
2067         Add iOS builders and testers
2068         https://bugs.webkit.org/show_bug.cgi?id=149549
2069
2070         Reviewed by Alexey Proskuryakov.
2071
2072         Adds definitions for 64-bit iOS Simulator release builders and testers and a iOS device
2073         builder that builds universal release binaries for armv7, armv7s and arm64 architectures.
2074
2075         * BuildSlaveSupport/build.webkit.org-config/config.json: Add definitions for builders and testers.
2076         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Update unit tests.
2077
2078 2015-09-30  Timothy Hatcher  <timothy@apple.com>
2079
2080         Give WebKitLauncher the get-task-allow entitlement to allow it to work on El Capitan
2081         https://bugs.webkit.org/show_bug.cgi?id=149674
2082
2083         Reviewed by Lucas Forschler.
2084
2085         * WebKitLauncher/WebKitLauncher.entitlements: Added.
2086         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2087
2088 2015-09-30  Jason Marcell  <jmarcell@apple.com>
2089
2090         BuildbotQueueView.prototype._appendPendingRevisionCount should skip repositories that don't
2091         have an associated trac instance.
2092         https://bugs.webkit.org/show_bug.cgi?id=149673
2093
2094         Reviewed by Alexey Proskuryakov.
2095
2096         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2097         (BuildbotQueueView.prototype._appendPendingRevisionCount): Skip repositories that don't
2098         have an associated trac instance.
2099
2100 2015-09-30  Daniel Bates  <dabates@apple.com>
2101
2102         Prioritize testing latest build request on iOS test bots
2103         https://bugs.webkit.org/show_bug.cgi?id=149669
2104
2105         Reviewed by Darin Adler.
2106
2107         We should prioritize testing of the latest build request on the iOS test bots
2108         as we do for Mac and Windows test bots.
2109
2110         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2111         (loadBuilderConfig):
2112
2113 2015-09-30  Daniel Bates  <dabates@apple.com>
2114
2115         Add buildbot category for iOS builders and testers
2116         https://bugs.webkit.org/show_bug.cgi?id=149667
2117
2118         Reviewed by Darin Adler.
2119
2120         Group iOS builders and testers under category iOS and add dashboard and console hyperlinks
2121         for iOS to the build.webkit.org home page.
2122
2123         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2124         (loadBuilderConfig):
2125         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
2126
2127 2015-09-30  Daniel Bates  <dabates@apple.com>
2128
2129         Actually fix the Mac builders build after <http://trac.webkit.org/changeset/190219>
2130         (https://bugs.webkit.org/show_bug.cgi?id=149539)
2131
2132         I inadvertently didn't remove the ONLY_ACTIVE_ARCH=NO flag when building on a Mac
2133         in <http://trac.webkit.org/changeset/190351>.
2134
2135         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2136         (CompileWebKit.start):
2137
2138 2015-09-30  Daniel Bates  <dabates@apple.com>
2139
2140         Attempt to fix the Mac builders build after <http://trac.webkit.org/changeset/190219>
2141         (https://bugs.webkit.org/show_bug.cgi?id=149539)
2142
2143         {32, 64}-bit Mac builders should not try to build project {Plugin.64, Plugin.32},
2144         respectively; only pass ONLY_ACTIVE_ARCH=NO when building for iOS.
2145
2146         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2147         (CompileWebKit.start):
2148
2149 2015-09-30  Lucas Forschler  <lforschler@apple.com>
2150
2151         bot210 was configured for a queue instead of bot126.
2152         
2153         Unreviewed config.json fix.
2154         
2155         * BuildSlaveSupport/build.webkit.org-config/config.json:
2156
2157 2015-09-30  Lucas Forschler  <lforschler@apple.com>
2158
2159         Bring El Capitan buildbot infrastructure online.
2160         https://bugs.webkit.org/show_bug.cgi?id=149605
2161         
2162         Reviewed by Darin Adler.
2163
2164         * BuildSlaveSupport/build.webkit.org-config/config.json:
2165
2166 2015-09-30  Tomas Popela  <tpopela@redhat.com>
2167
2168         [GTK] Deprecation warnings in DOMNodeTest
2169         https://bugs.webkit.org/show_bug.cgi?id=149663
2170
2171         After the webkit_dom_document_get_elements_by_tag_name deprecation we
2172         need to update the tests to use webkit_dom_document_query_selector_all
2173         to avoid compilation warnings.
2174
2175         Also add a new test for webkit_dom_document_get_elements_by_tag_name_as_html_collection
2176         (the suggested replacement for the deprecated function).
2177
2178         Reviewed by Carlos Garcia Campos.
2179
2180         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
2181         (WebKitDOMNodeTest::testTagNamesNodeList):
2182         (WebKitDOMNodeTest::testTagNamesHTMLCollection):
2183         (registerTests):
2184         (WebKitDOMNodeTest::testTagNames): Deleted.
2185         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
2186         (prepareDOMForTagNamesTests):
2187         (testWebKitDOMNodeTagNamesNodeList):
2188         (testWebKitDOMNodeTagNamesHTMLCollection):
2189         (beforeAll):
2190         (testWebKitDOMNodeTagNames): Deleted.
2191
2192 2015-09-29  Simon Fraser  <simon.fraser@apple.com>
2193
2194         WebKitTestRunner fails to apply "useFlexibleViewport" when it's specified in a file comment
2195         https://bugs.webkit.org/show_bug.cgi?id=149650
2196
2197         Reviewed by Tim Horton.
2198         
2199         TestInvocation::invoke() consulted shouldMakeViewportFlexible(), but that only
2200         looks at the file path, and not the custom options that come from file comments.
2201         
2202         Fix by computing TestOptions before making the TestInvocation, and setting them
2203         as const TestInvocation data. This meant changing various call sites to take
2204         the std::string pathOrURL, rather than the TestInvocation itself.
2205         
2206         Also initialize TestInvocation with a WKURLRef, rather than a std::string.
2207
2208         * WebKitTestRunner/CMakeLists.txt:
2209         * WebKitTestRunner/TestController.cpp:
2210         (WTR::TestController::ensureViewSupportsOptionsForTest):
2211         (WTR::testPath):
2212         (WTR::createTestURL):
2213         (WTR::updateTestOptionsFromTestHeader):
2214         (WTR::TestController::testOptionsForTest):
2215         (WTR::TestController::updateWebViewSizeForTest):
2216         (WTR::TestController::updateWindowScaleForTest):
2217         (WTR::TestController::runTest):
2218         * WebKitTestRunner/TestController.h:
2219         * WebKitTestRunner/TestInvocation.cpp:
2220         (WTR::TestInvocation::TestInvocation):
2221         (WTR::TestInvocation::invoke):
2222         (WTR::createWKURL): Deleted.
2223         (WTR::TestInvocation::shouldMakeViewportFlexible): Deleted.
2224         (WTR::TestInvocation::shouldUseFixedLayout): Deleted.
2225         * WebKitTestRunner/TestInvocation.h:
2226         (WTR::TestInvocation::options):
2227         * WebKitTestRunner/TestOptions.cpp: Copied from Tools/WebKitTestRunner/TestOptions.h.
2228         (WTR::pathContains):
2229         (WTR::shouldMakeViewportFlexible):
2230         (WTR::shouldUseFixedLayout):
2231         (WTR::isSVGTestPath):
2232         (WTR::isHiDPITestPath):
2233         (WTR::TestOptions::TestOptions):
2234         * WebKitTestRunner/TestOptions.h:
2235         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2236         * WebKitTestRunner/efl/TestControllerEfl.cpp:
2237         (WTR::pathContains):
2238         (WTR::shouldUseFixedLayout):
2239         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
2240         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
2241         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
2242         * WebKitTestRunner/ios/TestControllerIOS.mm:
2243         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
2244         * WebKitTestRunner/mac/TestControllerMac.mm:
2245         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
2246
2247 2015-09-29  Aakash Jain  <aakash_jain@apple.com>
2248
2249         Flakiness dashboard should support OS X El Capitan
2250         https://bugs.webkit.org/show_bug.cgi?id=149648
2251
2252         Reviewed by Alexey Proskuryakov.
2253
2254         * QueueStatusServer/app.yaml: We do not need to maintain SVN revision here because of 
2255         difference between new appscale and old Google App Engine implementation.
2256         * TestResultServer/app.yaml: Same.
2257         * TestResultServer/static-dashboards/builders.jsonp: Added OSX El Capitan support.
2258
2259 2015-09-29  Daniel Bates  <dabates@apple.com>
2260
2261         configure-xcode-for-ios-development does not work with Xcode 7
2262         https://bugs.webkit.org/show_bug.cgi?id=149640
2263
2264         Reviewed by Alexey Proskuryakov.
2265
2266         When Xcode 7 is installed, running configure-xcode-for-ios-development dies with an error
2267         because it cannot find the Xcode specification files for iOS simulator and device. These
2268         files have moved to a new location in Xcode 7 distribution. Moreover we must add the
2269         relevant definitions to the Xcode 7 specification files directly as opposed to creating
2270         new specification files with the added definitions (as we did in older versions of Xcode)
2271         in order for Xcode 7 to honor these definitions.
2272
2273         * Scripts/configure-xcode-for-ios-development: Sorted forward declarations.
2274         (updateXcodeSpecificationFilesForSDKIfNeeded): Added.
2275         (updateXcode7SpecificationFile): Added.
2276         (createLegacyXcodeSpecificationFilesForSDKIfNeeded): Formerly named createXcodeSpecificationFilesForSDKIfNeeded.
2277         (writeXcodeSpecification): Moved congratulations line to caller so as to write out the
2278         appropriate success message.
2279         (mergeXcodeSpecificationWithSpecificationAndId): Formerly named createXcodeSpecificationFromSpecificationAndId.
2280         (createXcodeSpecificationFilesForSDKIfNeeded): Deleted.
2281         (createXcodeSpecificationFromSpecificationAndId): Deleted.
2282
2283 2015-09-29  Brent Fulgham  <bfulgham@apple.com>
2284
2285         [Win] Allow 'prepare-ChangeLog' to be used without Cygwin
2286         https://bugs.webkit.org/show_bug.cgi?id=149639
2287
2288         Reviewed by Alex Christensen.
2289
2290         * Scripts/VCSUtils.pm:
2291         (exitStatus): Use 'isWindows()' method.
2292         (isSVNVersion16OrNewer): 'eval' is not needed here, and just causes
2293         an error. This method could probably just go away.
2294         (normalizePath): Leave Windows (or Unix) paths as platform paths, rather than
2295         always changing to Unix style. 
2296         (unixPath): Added. Needed so Windows can always show a Unix path in the
2297         ChangeLog file.
2298         (changeLogName): Work around the fact that 'getpwuid' is not available on
2299         a pure Windows build of Perl.
2300         * Scripts/prepare-ChangeLog:
2301         (generateFunctionLists): Normalize path received from 'svn' in case it's a Unix
2302         path on Windows.
2303         (svnUpdateCommand): Added helper function. Needed because Windows Perl does not
2304         support using arrays for 'open' arguments.
2305         (resolveChangeLogsPath): Ditto.
2306         (resolveConflictedChangeLogs): Use new helper functions.
2307         (generateNewChangeLogs): Force Windows to use Unix paths in ChangeLog output.
2308         (diffCommand): Use double-quotes for paths, since Windows doesn't understand single
2309         quotes. Unix systems are happy either way.
2310         (statusCommand): Ditto.
2311         * Scripts/webkitdirs.pm:
2312         (launcherName): Drive-by fix. WinLauncher was renamed to MiniBrowser some time ago.
2313
2314 2015-09-29  Brent Fulgham  <bfulgham@apple.com>
2315
2316         [Win] Unreviewed 64-bit build fix after switch to CMake.
2317
2318         * Scripts/webkitdirs.pm:
2319         (determineIsWin64FromArchitecture): Added.
2320
2321 2015-09-16  Carlos Garcia Campos  <cgarcia@igalia.com>
2322
2323         printing does not use minimum page zoom factor
2324         https://bugs.webkit.org/show_bug.cgi?id=108507
2325
2326         Reviewed by Darin Adler.
2327
2328         WebKitTestRunner always takes the snapshots from the UI process
2329         (expect for IOS), so in the case of printing, the layout in the
2330         web view is not the expected one. When printing, we need to take
2331         the snapshot in the web process and ensure it's rendered with a
2332         PrintContext.
2333
2334         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2335         (WTR::InjectedBundlePage::dump): When dumping pixels, pass
2336         kWKSnapshotOptionsPrinting option to
2337         WKBundlePageCreateSnapshotWithOptions() when printing.
2338
2339 2015-09-28  Carlos Garcia Campos  <cgarcia@igalia.com>
2340
2341         [WTR] Pixel tests generate the snapshots twice in Web and UI processes
2342         https://bugs.webkit.org/show_bug.cgi?id=149595
2343
2344         Reviewed by Tim Horton.
2345
2346         All ports except IOS implement
2347         PlatformWebView::windowSnapshotImage() to generate the snapshot
2348         for the pixel tests in the UI process. But we are still generating
2349         a snapshot for pixel tests in the Web process too, that is passed
2350         to the UI process but ignored.
2351         Whether a pixel result is needed or not, is only known by the web
2352         process depending on whether the test called dumpAsText with
2353         dumpPixels == true or not. Since the pixels are now dump in the UI
2354         process, we need to pass that information to the UI process when
2355         the test is done. For that we set a PixelResultIsPending bool
2356         parameter to the Done message, and we only add the PixelResult
2357         when UI process doesn't need to generate the pixels dump.
2358
2359         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2360         (WTR::InjectedBundle::didReceiveMessageToPage): Set
2361         m_pixelResultIsPending to false on reset.
2362         (WTR::InjectedBundle::done): Add PixelResultIsPending parameter to the
2363         Done message, and set the PixelResult if m_pixelResultIsPending is false.
2364         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2365         (WTR::InjectedBundle::setPixelResult): Set m_pixelResultIsPending to false.
2366         (WTR::InjectedBundle::setNeedsPixelResult): Set m_pixelResultIsPending.
2367         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2368         (WTR::InjectedBundlePage::dump): Only create a snapshot for IOS
2369         port.
2370         * WebKitTestRunner/TestInvocation.cpp:
2371         (WTR::TestInvocation::dumpResults): Use either the pixel result
2372         from the web process or generate a pixel result from the web view
2373         if need it.
2374         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2375         * WebKitTestRunner/TestInvocation.h: Add SnapshotResultType enum
2376         parameter to dumpPixelsAndCompareWithExpected, since the snapshot
2377         is created by the caller now, but the CG implementation needs to
2378         know if it's a Web or UI process snapshot.
2379         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
2380         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
2381         cairo surface for the given image.
2382         * WebKitTestRunner/cg/TestInvocationCG.cpp:
2383         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
2384         CGContext for the given image.
2385
2386 2015-09-28  Dean Johnson  <dean_johnson@apple.com>
2387
2388         Fix JS errors on dashboard metrics page
2389         https://bugs.webkit.org/show_bug.cgi?id=149608
2390
2391         Reviewed by Alexey Proskuryakov.
2392
2393         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Updated to use Settings.
2394         (initPlatformsByFamily): 
2395         (updateHiddenPlatforms):
2396         (parsePlatformFamily): Deleted.
2397         (updateToggleButtons): Deleted.
2398         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsMain.js:
2399         (updateHiddenPlatforms): Added to remove errors.
2400         (initPlatformsByFamily): Added to remove errors.
2401         (unhiddenQueues): Updated to use Settings.
2402         (documentReady): Added logic to add toggle buttons to the settings menu.
2403         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Settings.js:
2404         (Settings.prototype.parsePlatformFamily): Moved duplicate logic from Main.js and
2405         MetricsMain.js to Settings.
2406         (Settings.prototype.updateToggleButtons): Moved duplicate logic from Main.js and
2407         MetricsMain.js to Settings.
2408         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/QueueView.js:
2409         (QueueView.prototype._updateHiddenState): Updated to use Settings.
2410
2411 2015-09-28  Aakash Jain  <aakash_jain@apple.com>
2412
2413         Appscale query fails because of missing index
2414         https://bugs.webkit.org/show_bug.cgi?id=149609
2415
2416         Reviewed by Darin Adler.
2417
2418         * QueueStatusServer/index.yaml: Added the required index.
2419
2420 2015-09-28  Brent Fulgham  <bfulgham@apple.com>
2421
2422         [Win] Fix the 64-bit build after switch to cmake.
2423
2424         Reviewed by Alex Christensen.
2425
2426         * Scripts/webkitdirs.pm:
2427         (generateBuildSystemFromCMakeProject): Use correct arguments for cmake to
2428         run a 64-bit build.
2429
2430 2015-09-28  Brent Fulgham  <bfulgham@apple.com>
2431
2432         [Win] Allow Windows to run test-webkitpy without Cygwin
2433         https://bugs.webkit.org/show_bug.cgi?id=149602
2434
2435         Reviewed by Alex Christensen.
2436
2437         These changes mostly shift from hard-coded paths using UNIX-style
2438         separators to Python's "os.path.join" syntax that uses the correct
2439         path separator for each platform.
2440         
2441         * Scripts/webkitpy/common/system/path.py:
2442         (cygpath): Don't pass paths through Cygpath on native Windows.
2443         * Scripts/webkitpy/port/win.py:
2444         (WinPort._path_to_apache): Use os.path.join.
2445         (WinPort._ntsd_location): Support 64-bit environment (ProgramW6432 doesn't exist
2446         in 64-bit environments).
2447         * Scripts/webkitpy/style/checker.py: Use os.path.join.
2448         * Scripts/webkitpy/style/checker_unittest.py:
2449         (GlobalVariablesTest.test_path_rules_specifier.assertNoCheck): Use os.path.join.
2450         (GlobalVariablesTest.test_path_rules_specifier): Ditto.
2451         (GlobalVariablesTest): Ditto.
2452         (GlobalVariablesTest.test_max_reports_per_category): Ditto.
2453         (CheckerDispatcherSkipTest.test_should_skip_with_warning): Ditto.
2454         (CheckerDispatcherDispatchTest.test_js_paths): Ditto.
2455         (CheckerDispatcherDispatchTest.test_json_paths): Ditto.
2456         (CheckerDispatcherDispatchTest.test_python_paths): Ditto.
2457         (CheckerDispatcherDispatchTest.test_text_paths): Ditto.
2458         (CheckerDispatcherDispatchTest.test_xml_paths): Ditto.
2459         (StyleProcessor_CodeCoverageTest._create_carriage_checker_class): Ditto.
2460         (StyleProcessor_CodeCoverageTest): Ditto.
2461         (StyleProcessor_CodeCoverageTest.test_should_process__skip_without_warning): Ditto.
2462         (StyleProcessor_CodeCoverageTest.test_should_process__skip_with_warning): Ditto.
2463         (StyleProcessor_CodeCoverageTest.test_should_process__true_result): Ditto.
2464         * Scripts/webkitpy/w3c/test_parser_unittest.py: Uses os.path.join rather than
2465         manual string concatenation of paths.
2466
2467 2015-09-28  Csaba Osztrogonác  <ossy@webkit.org>
2468
2469         Add bugzilla addresses of committers to contributors.json
2470         https://bugs.webkit.org/show_bug.cgi?id=149520
2471
2472         Reviewed by Darin Adler.
2473
2474         * Scripts/webkitpy/common/config/contributors.json:
2475
2476 2015-09-28  Csaba Osztrogonác  <ossy@webkit.org>
2477
2478         validate-committer-lists -b shouldn't need edituser privileges
2479         https://bugs.webkit.org/show_bug.cgi?id=149519
2480
2481         Reviewed by Darin Adler.
2482
2483         * Scripts/validate-committer-lists:
2484         (CommitterListBugzillaChecker._has_invalid_bugzilla_email):
2485         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2486         (BugzillaQueries.is_invalid_bugzilla_email):
2487         (BugzillaQueries): Deleted.
2488         (BugzillaQueries.fetch_logins_matching_substring): Deleted.
2489
2490 2015-09-26  Carlos Garcia Campos  <cgarcia@igalia.com>
2491
2492         Unreviewed. Gardening: skip media stream tests failing after r190262.
2493
2494         * Scripts/run-gtk-tests:
2495         (TestRunner):
2496
2497 2015-09-25  Alexey Proskuryakov  <ap@apple.com>
2498
2499         [Mac] USE_INTERNAL_SDK is used undefined in tools projects
2500         https://bugs.webkit.org/show_bug.cgi?id=149571
2501
2502         Reviewed by Dan Bernstein.
2503
2504         Use the same pattern as in Source directory configurations (so, also get rid of AspenFamily.xcconfig). 
2505
2506         * DumpRenderTree/mac/Configurations/Base.xcconfig:
2507         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2508         * LayoutTestRelay/Configurations/Base.xcconfig:
2509         * MiniBrowser/Configurations/Base.xcconfig:
2510         * MiniBrowser/Configurations/DebugRelease.xcconfig:
2511         * TestWebKitAPI/Configurations/Base.xcconfig:
2512         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
2513         * WebEditingTester/Configurations/Base.xcconfig:
2514         * WebEditingTester/Configurations/DebugRelease.xcconfig:
2515         * WebKitTestRunner/Configurations/Base.xcconfig:
2516         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2517         * WebKitTestRunner/iOS.xcconfig: Removed.
2518
2519 2015-09-25  Eric Carlson  <eric.carlson@apple.com>
2520
2521         Clean up user media request internal API
2522         https://bugs.webkit.org/show_bug.cgi?id=149527
2523
2524         Reviewed by Tim Horton.
2525
2526         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
2527         (TestWebKitAPI::decidePolicyForUserMediaPermissionRequestCallBack): Update for API changes.
2528
2529         * WebKitTestRunner/TestController.cpp:
2530         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Ditto.
2531
2532 2015-09-25  Simon Fraser  <simon.fraser@apple.com>
2533
2534         [iOS WK2] Add viewport tests and fix runUIScript() timing issues
2535         https://bugs.webkit.org/show_bug.cgi?id=149577
2536
2537         Reviewed by Tim Horton.
2538         
2539         When calling testRunner.runUIScript() from a page load event, the script could run
2540         in the UI process before the current remote layer tree transaction had been handled
2541         there. This meant that runUIScript() could query state which was about to change.
2542         
2543         Fix by delaying the execution of the UI script until a layer tree transaction has
2544         been handled by the UI process, leveraging the existing DrawingAreaProxy::dispatchAfterEnsuringDrawing().
2545
2546         * WebKitTestRunner/TestInvocation.cpp:
2547         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2548         (WTR::TestInvocation::runUISideScriptAfterUpdateCallback):
2549         * WebKitTestRunner/TestInvocation.h:
2550
2551 2015-09-25  Alexey Proskuryakov  <ap@apple.com>
2552
2553         [Mac] Media tests start to time out after a few days of bot uptime
2554         https://bugs.webkit.org/show_bug.cgi?id=149468
2555
2556         Reviewed by Darin Adler.
2557
2558         Delete cache directory in addition to the temporary one. Don't delete /private/tmp/MediaCache,
2559         as it's not longer used by tests. Set TMPDIR and DIRHELPER_USER_DIR_SUFFIX to make
2560         all temporary and cache files go to a custom location.
2561
2562         * Scripts/webkitpy/port/base.py:
2563         * Scripts/webkitpy/port/driver.py:
2564         * Scripts/webkitpy/port/mac.py:
2565         * Scripts/webkitpy/port/win.py:
2566         (WinPort._driver_tempdir_for_environment): Deleted unused function.
2567
2568 2015-09-25  Dan Bernstein  <mitz@apple.com>
2569
2570         Removed MiniBrowser.entitlements.
2571
2572         Rubber-stamped by Anders Carlsson.
2573
2574         The entitlements weren’t used anyway.
2575
2576         * MiniBrowser/MiniBrowser.entitlements: Removed.
2577         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
2578
2579 2015-09-24  Daniel Bates  <dabates@apple.com>
2580
2581         Add WebKitSystemInterface for iOS 9.0
2582         https://bugs.webkit.org/show_bug.cgi?id=149550
2583
2584         Rubber-stamped by Alexey Proskuryakov.
2585
2586         * Scripts/copy-webkitlibraries-to-product-directory:
2587
2588 2015-09-24  Daniel Bates  <dabates@apple.com>
2589
2590         Support building for arbitrary architectures
2591         https://bugs.webkit.org/show_bug.cgi?id=149539
2592
2593         Reviewed by Alexey Proskuryakov.
2594
2595         Teach buildbot to pass the architectures associated with the builder to build-webkit
2596         when building on OS X and iOS. As a side effect of this change we now support building
2597         universal binaries when multiples architectures are specified.
2598
2599         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2600         (CompileWebKit.start):
2601
2602 2015-09-24  Daniel Bates  <dabates@apple.com>
2603
2604         Fix the build after <http://trac.webkit.org/changeset/190212>
2605         (http://trac.webkit.org/changeset/190212)
2606
2607         I inadvertently did not remove the fullPlatform argument from one of the callers of archiveBuiltProduct().
2608
2609         * BuildSlaveSupport/built-product-archive:
2610         (main):
2611
2612 2015-09-24  Daniel Bates  <dabates@apple.com>
2613
2614         Support running unit tests on iOS Simulator test bot
2615         https://bugs.webkit.org/show_bug.cgi?id=149536
2616
2617         Reviewed by Alexey Proskuryakov.
2618
2619         Implements support for running unit tests on a iOS test bot. At the time of writing,
2620         the script run-api-tests supports running unit tests on Mac, Windows and iOS Simulator.
2621
2622         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2623         (RunUnitTests.start): Append appropriate command line flag when invoking script run-api-tests.
2624         (TestFactory.__init__): Add step RunUnitTests when the test bot is for the iOS Simulator platform.
2625
2626 2015-09-24  Daniel Bates  <dabates@apple.com>
2627
2628         Add support infrastructure for OpenSource iOS builders and testers
2629         https://bugs.webkit.org/show_bug.cgi?id=149534
2630
2631         Reviewed by Darin Adler.
2632
2633         Towards setting up OpenSource iOS build bots, teach buildbot and its support
2634         scripts about iOS.
2635
2636         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2637         (appendCustomBuildFlags): Require the caller to pass parameter fullPlatform and append
2638         --ios-simulator or --device for a builder/tester whose full platform name begins with
2639         "ios-simulator" or "ios", respectively.
2640         (RunJavaScriptCoreTests.start): Pass the full platform name to appendCustomBuildFlags().
2641         * BuildSlaveSupport/built-product-archive:
2642         (main): Pass the full platform name to determineWebKitBuildDirectory().
2643         (determineWebKitBuildDirectory): Call script webkit-build-directory with the appropriate
2644         command line flag when building for iOS.
2645         (archiveBuiltProduct): Use the same logic for iOS as we do for Mac. Also, remove unused
2646         parameter fullPlatform. This parameter was originally added in r125066 to support the
2647         Chromium Android port, which has since been removed from the OpenSource WebKit Project.
2648         (extractBuiltProduct): Use the same logic for iOS as we do for Mac.
2649         * BuildSlaveSupport/clean-build:
2650         (main): Call script webkit-build-directory with the appropriate command line flag when
2651         building for iOS.
2652         * BuildSlaveSupport/delete-stale-build-files:
2653         (main): Use the same logic for iOS as we do for Mac.
2654         (webkitBuildDirectory): Call script webkit-build-directory with the appropriate command line
2655         flag when building for iOS.
2656         * BuildSlaveSupport/test-result-archive:
2657         (archiveTestResults): Use the same logic for iOS as we do for Mac.
2658
2659 2015-09-24  Daniel Bates  <dabates@apple.com>
2660
2661         Remove Chromium-specific changes to script built-product-archive
2662         https://bugs.webkit.org/show_bug.cgi?id=149530
2663
2664         Rubber-stamped by Csaba Osztrogonác.
2665
2666         Reverts changes made in r113074 and r113067 to support Chromium testers. The
2667         Chromium code has long since been removed from the OpenSource WebKit Project.
2668
2669         * BuildSlaveSupport/built-product-archive:
2670         (createZipManually):
2671         (createZip):
2672         (archiveBuiltProduct):
2673
2674 2015-09-24  Dan Bernstein  <mitz@apple.com>
2675
2676         Build fix.
2677
2678         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig:
2679
2680 2015-09-24  Mark Lam  <mark.lam@apple.com>
2681
2682         Unreviewed. Make Lucas Forschler a WebKit reviewer.
2683
2684         * Scripts/webkitpy/common/config/contributors.json:
2685
2686 2015-09-24  Carlos Garcia Campos  <cgarcia@igalia.com>
2687
2688         Unreviewed. Fix GObject DOM API breaks after r190120.
2689
2690         Bring back code removed in r169931 to handle documentation of
2691         deleted classes.
2692
2693         * gtk/webkitdom.py:
2694         (WebKitDOMDocGenerator):
2695         (WebKitDOMDocGenerator.write_deleted_classes):
2696         (WebKitDOMDocGenerator.generate):
2697         (write_deleted_classes):
2698         (WebKitDOMDocGeneratorSections._deleted_class):
2699         (WebKitDOMDocGeneratorSections._deleted_class.in):
2700         (WebKitDOMDocGeneratorSections.write_deleted_classes):
2701         (WebKitDOMDocGeneratorSections.write_deleted_classes.with):
2702
2703 2015-09-23  Myles C. Maxfield  <mmaxfield@apple.com>
2704
2705         [Cocoa] [Font Features] Implement font-variant-*
2706         https://bugs.webkit.org/show_bug.cgi?id=148413
2707
2708         Reviewed by Darin Adler.
2709
2710         Update test font to use "lnum" feature.
2711
2712         * FontWithFeatures/FontWithFeatures/FontCreator.cpp:
2713         (Generator::appendGSUBTable):
2714
2715 2015-09-22  Andy Estes  <aestes@apple.com>
2716
2717         ContentFiltering.AllowDownloadAfterAddData is very flaky
2718         https://bugs.webkit.org/show_bug.cgi?id=148885
2719         <rdar://problem/22729563>
2720
2721         Reviewed by Alexey Proskuryakov.
2722
2723         The AllowDownload* tests were relying on -_downloadDidStart: being called before -webView:didFinishNavigation:,
2724         but there is no guarantee of this. For tests that should allow a download, spin the runloop until
2725         -_downloadDidStart: is called. The test will now timeout on failure, but will no longer produce false failures.
2726
2727         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
2728         (downloadTest):
2729
2730 2015-09-22  Alexey Proskuryakov  <ap@apple.com>
2731
2732         Mavericks: Media tests start to time out after a few days of bot uptime
2733         https://bugs.webkit.org/show_bug.cgi?id=149468
2734
2735         Reviewed by Chris Dumez.
2736
2737         * Scripts/webkitpy/port/base.py:
2738         * Scripts/webkitpy/port/driver.py:
2739         * Scripts/webkitpy/port/mac.py:
2740
2741 2015-09-22  Nan Wang  <n_wang@apple.com>
2742
2743         Unreviewed, add myself to the committers list.
2744
2745         * Scripts/webkitpy/common/config/contributors.json:
2746
2747 2015-09-21  Simon Fraser  <simon.fraser@apple.com>
2748
2749         Remove 'nullable' to fix older iOS builds.
2750
2751         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
2752         (-[TestRunnerWKWebView scrollViewDidEndZooming:withView:atScale:]):
2753
2754 2015-09-21  Brent Fulgham  <bfulgham@apple.com>
2755
2756         [Win] Show tiled drawing debug overlay on Windows
2757         https://bugs.webkit.org/show_bug.cgi?id=149426
2758
2759         Reviewed by Dean Jackson.
2760
2761         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc: Add new menu option.
2762         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h: Ditto.
2763         * MiniBrowser/win/Common.cpp:
2764         (::ToggleMenuItem): Recognize new menu item and toggle the 'showTiledScrollingIndicator'
2765         flag if needed.
2766         * MiniBrowser/win/MiniBrowser.h: Update to use new IWebPreferencesPrivate3 class.
2767
2768 2015-09-21  Brent Fulgham  <bfulgham@apple.com>
2769
2770         [Win] Use command-line argument to launch in regular or High DPI mode.
2771         https://bugs.webkit.org/show_bug.cgi?id=149417
2772
2773         Reviewed by Dean Jackson.
2774
2775         * MiniBrowser/win/Common.cpp:
2776         (parseCommandLine): Ignore the '--highDPI' argument. It's used at the
2777         very start of execution, before the MiniBrowser.dll is loaded.
2778         * win/DLLLauncher/DLLLauncherMain.cpp:
2779         (shouldUseHighDPI): Check for '--highDPI', and use this mode if
2780         present. On WinCairo, always use High DPI.
2781
2782 2015-09-21  Ryosuke Niwa  <rniwa@webkit.org>
2783
2784         32-bit Mac build fix attempt after r190065.
2785
2786         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
2787
2788 2015-09-21  Alexey Proskuryakov  <ap@apple.com>
2789
2790         [OS X] Update for Xcode 7.0 on Yosemite
2791         https://bugs.webkit.org/show_bug.cgi?id=149389
2792
2793         Reviewed by Dan Bernstein.
2794
2795         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h:
2796         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h:
2797         Removed unneeded declarations - conforming to a protocol is sufficient.
2798
2799         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
2800         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm:
2801         Changed the definitions to be compiled whenever the SDK requires it (so we will have
2802         dead code compiled in when building for 10.10 with 10.11 SDK, somewhat unfortunately).
2803
2804 2015-09-21  Simon Fraser  <simon.fraser@apple.com>
2805
2806         Add the ability for tests to run script in the UI process in WebKitTestRunner
2807         https://bugs.webkit.org/show_bug.cgi?id=149356
2808
2809         Reviewed by Tim Horton.
2810
2811         This change adds testRunner.runUIScript(script, callback), which allows a test
2812         to execute script in a JSContext which runs in the UI process. That context
2813         has bindings exposed through the UIScriptController interface; currently one test
2814         function, and some iOS-specific functions are included. UIScriptController can be
2815         async with a callback, and runUIScript() itself is asynchronous. When the UI 
2816         script is complete, it calls uiController.uiScriptComplete(result), where 'result'
2817         is a string passed back to the web process, and given to the runUIScript()
2818         callback function.
2819         
2820         Thanks to Gyuyoung Kim for help with the Gtk/Efl build.
2821
2822         * WebKitTestRunner/DerivedSources.make: Build UIScriptController.idl.
2823         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Add runUIScript().
2824         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2825         (WTR::InjectedBundle::didReceiveMessageToPage): When the UI-side script is
2826         complete, call back into TestRunner.
2827         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2828         (WTR::nextUIScriptCallbackID):
2829         (WTR::TestRunner::runUIScript): Post a message to the injected bundle to run the UI script.
2830         (WTR::TestRunner::runUIScriptCallback): When the UI script is done, execute its callback function.
2831         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2832         * WebKitTestRunner/PlatformWebView.h:
2833         * WebKitTestRunner/TestController.cpp:
2834         (WTR::updateTestOptionsFromTestHeader):
2835         (WTR::TestController::testOptionsForTest): Support "useFlexibleViewport" as a test argument.
2836         (WTR::shouldUseFixedLayout): Deleted. Moved to a TestInvocation function.
2837         * WebKitTestRunner/TestInvocation.cpp:
2838         (WTR::TestInvocation::shouldUseFixedLayout):
2839         (WTR::TestInvocation::shouldUseThreadedScrolling):
2840         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2841         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2842         (WTR::TestInvocation::runUISideScript): Run the UI-side script!
2843         (WTR::TestInvocation::uiScriptDidComplete): Send a message back to the injected bundle.
2844         * WebKitTestRunner/TestInvocation.h:
2845         * WebKitTestRunner/TestOptions.h:
2846         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2847         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2848         * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: Copied from Tools/WebKitTestRunner/TestOptions.h.
2849         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: Added.
2850         (-[TestRunnerWKWebView dragImage:at:offset:event:pasteboard:source:slideBack:]):
2851         (-[TestRunnerWKWebView zoomToScale:animated:completionHandler:]):
2852         (-[TestRunnerWKWebView scrollViewDidEndZooming:withView:atScale:]):
2853         (-[TestRunnerWKWebView onDidEndZooming:]): Allow a test to hook into the end of zooming.
2854         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2855         (WTR::PlatformWebView::PlatformWebView): Make a TestRunnerWKWebView on iOS.
2856         * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Added.
2857         (WTR::UIScriptController::doAsyncTask):
2858         (WTR::UIScriptController::zoomToScale):
2859         (WTR::UIScriptController::zoomScale):
2860         (WTR::UIScriptController::minimumZoomScale):
2861         (WTR::UIScriptController::maximumZoomScale):
2862         (WTR::UIScriptController::contentVisibleRect):
2863         * WebKitTestRunner/mac/EventSenderProxy.mm:
2864         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2865         (-[TestRunnerWKWebView dragImage:at:offset:event:pasteboard:source:slideBack:]): Deleted.
2866         * WebKitTestRunner/mac/TestControllerMac.mm:
2867         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
2868         (WTR::shouldUseThreadedScrolling): Deleted. Moved to TestInvocation.
2869         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h:
2870         * WebKitTestRunner/uiscriptcontext/UIScriptContext.cpp: Added. Owns the JS context in the UI process.
2871         (UIScriptContext::UIScriptContext):
2872         (UIScriptContext::~UIScriptContext):
2873         (UIScriptContext::runUIScript): Entrypoint to running the UI script. If the script didn't do anything
2874         asynchronous, call the callback.
2875         (UIScriptContext::nextTaskCallbackID):
2876         (UIScriptContext::prepareForAsyncTask): Do setup for one async task (i.e. a UIScriptController function
2877         that has a callback). Has to store the callbackID of the script, so code called from the completion
2878         callback knows which UI script invoked it.
2879         (UIScriptContext::asyncTaskComplete): Called when one task is finished.
2880         (UIScriptContext::uiScriptComplete):
2881         (UIScriptContext::objectFromRect): Make a JS object from a rect.
2882         * WebKitTestRunner/uiscriptcontext/UIScriptContext.h: Copied from Tools/WebKitTestRunner/TestOptions.h.
2883         (WTR::UIScriptContext::hasOutstandingAsyncTasks):
2884         * WebKitTestRunner/uiscriptcontext/UIScriptController.cpp: Copied from Tools/WebKitTestRunner/TestOptions.h.
2885         (WTR::UIScriptController::UIScriptController):
2886         (WTR::UIScriptController::makeWindowObject):
2887         (WTR::UIScriptController::wrapperClass):
2888         (WTR::UIScriptController::doAsyncTask):
2889         (WTR::UIScriptController::zoomToScale):
2890         (WTR::UIScriptController::zoomScale):
2891         (WTR::UIScriptController::minimumZoomScale):
2892         (WTR::UIScriptController::maximumZoomScale):
2893         (WTR::UIScriptController::contentVisibleRect):
2894         (WTR::UIScriptController::uiScriptComplete):
2895         * WebKitTestRunner/uiscriptcontext/UIScriptController.h: Copied from Tools/WebKitTestRunner/TestOptions.h.
2896         (WTR::UIScriptController::create):
2897         * WebKitTestRunner/uiscriptcontext/bindings/UIScriptController.idl: Copied from Tools/WebKitTestRunner/TestOptions.h.
2898
2899 2015-09-21  Tim Horton  <timothy_horton@apple.com>
2900
2901         Turn on threaded scrolling by default in the tests
2902         https://bugs.webkit.org/show_bug.cgi?id=149377
2903
2904         Reviewed by Simon Fraser.
2905
2906         * WebKitTestRunner/mac/TestControllerMac.mm:
2907         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
2908         (WTR::shouldUseThreadedScrolling): Deleted.
2909         Turn on threaded scrolling by default.
2910
2911 2015-09-21  Carlos Garcia Campos  <cgarcia@igalia.com>
2912
2913         [GTK] run-gtk-tests doesn't provide feedback about crashing google tests
2914         https://bugs.webkit.org/show_bug.cgi?id=149252
2915
2916         Reviewed by Darin Adler.
2917
2918         In case of glib tests the test runner notifies about tests
2919         crashing, but for google tests we don't get any feedback, which
2920         means that in case of a test crashing we get a list of **PASS**
2921         messages and at the summary we are notified that the test suite
2922         has failed, but it's impossible to know which test cases have failed.
2923
2924         * Scripts/run-gtk-tests:
2925         (TestRunner._run_google_test): Add a **CRASH** message if test
2926         case crashed.
2927
2928 2015-09-20  Alexey Proskuryakov  <ap@apple.com>
2929
2930         WebKitTestRunner can leak user content script results between tests
2931         https://bugs.webkit.org/show_bug.cgi?id=149391
2932
2933         Reviewed by Sam Weinig.
2934
2935         Move WKBundlePageRemoveAllUserContent call so that it's executed before loading
2936         about:blank, and thus about:blank doesn't have unintended side effects.
2937
2938         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2939         (WTR::InjectedBundle::beginTesting):
2940         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2941         (WTR::InjectedBundlePage::resetAfterTest):
2942
2943 2015-09-20  Alexey Proskuryakov  <ap@apple.com>
2944
2945         [Mac, iOS] AccessibilityController doesn't uninstall global notification handler
2946         https://bugs.webkit.org/show_bug.cgi?id=149384
2947
2948         Reviewed by Chris Fleizach.
2949
2950         * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
2951         (AccessibilityController::addNotificationListener): Fixed a leak, and cleaned up the code.
2952         (AccessibilityController::platformResetToConsistentState): Actually remove the handler,
2953         regardless of whether someone else holds a reference (we also call -stopListening in
2954         -dealloc).
2955
2956         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
2957         (AccessibilityController::platformResetToConsistentState):
2958         (AccessibilityController::addNotificationListener):
2959         Ditto.
2960
2961 2015-09-20  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2962
2963         Remove XHR_TIMEOUT compilation guard
2964         https://bugs.webkit.org/show_bug.cgi?id=149260
2965
2966         Reviewed by Benjamin Poulain.
2967
2968         * Scripts/webkitperl/FeatureList.pm:
2969
2970 2015-09-19  Dan Bernstein  <mitz@apple.com>
2971
2972         Attempted build fix.
2973
2974         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig:
2975
2976 2015-09-18  Commit Queue  <commit-queue@webkit.org>
2977
2978         Unreviewed, rolling out r189908.
2979         https://bugs.webkit.org/show_bug.cgi?id=149368
2980
2981         Broke run-webkit-tests --pixel (Requested by ap on #webkit).
2982
2983         Reverted changeset:
2984
2985         "printing does not use minimum page zoom factor"
2986         https://bugs.webkit.org/show_bug.cgi?id=108507
2987         http://trac.webkit.org/changeset/189908
2988
2989 2015-09-18  Andy Estes  <aestes@apple.com>
2990
2991         [iOS] did{Start,Finish}LoadForQuickLookDocumentInMainFrame is never called on WKNavigationDelegate
2992         https://bugs.webkit.org/show_bug.cgi?id=149360
2993
2994         Reviewed by Tim Horton.
2995
2996         Added an API test.
2997
2998         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2999         * TestWebKitAPI/Tests/WebKit2Cocoa/QuickLook.mm: Added.
3000         (-[QuickLookNavigationDelegate _webView:didStartLoadForQuickLookDocumentInMainFrameWithFileName:uti:]):
3001         (-[QuickLookNavigationDelegate _webView:didFinishLoadForQuickLookDocumentInMainFrame:]):
3002         (-[QuickLookNavigationDelegate webView:didFinishNavigation:]):
3003         (TEST):
3004         * TestWebKitAPI/ios/pages.pages: Added.
3005
3006 2015-09-18  Nan Wang  <n_wang@apple.com>
3007
3008         AX: Implement ARIA 1.1 @aria-current on iOS
3009         https://bugs.webkit.org/show_bug.cgi?id=149297
3010
3011         Reviewed by Chris Fleizach.
3012
3013         Added support to test aria-current on iOS.
3014
3015         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3016         (AccessibilityUIElement::stringAttributeValue):
3017         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3018         (WTR::AccessibilityUIElement::stringAttributeValue):
3019
3020 2015-09-18  Alexey Proskuryakov  <ap@apple.com>
3021
3022         iOS WebKitTestRunner frequently crashes in WKContextGetIconDatabase
3023         https://bugs.webkit.org/show_bug.cgi?id=149352
3024
3025         Reviewed by Simon Fraser.
3026
3027         * WebKitTestRunner/TestController.cpp: (WTR::TestController::~TestController):
3028         m_context can be null. This may indicate a bug in webkitpy too, but
3029         WebKitTestRunner should handle this situation nicely, there is nothing intrinsically
3030         wrong with opening and immediately closing it.
3031
3032 2015-09-18  Daniel Bates  <dabates@apple.com>
3033
3034         isGitSVNDirectory() returns true when Git is not installed
3035         https://bugs.webkit.org/show_bug.cgi?id=149351
3036
3037         Reviewed by Alexey Proskuryakov.
3038
3039         Fixes an issue where VCSUtils::isGitSVNDirectory() returns true for any arbitrary directory if
3040         Git is not installed on the machine.
3041
3042         * Scripts/VCSUtils.pm:
3043         (isGitSVNDirectory): Ensure that `git config --get svn-remote.svn.fetch 2>& 1` exits with
3044         status code 0 (success).
3045
3046 2015-09-18  Alex Christensen  <achristensen@webkit.org>
3047
3048         Prevent build-webkit from building four times on Windows 
3049         https://bugs.webkit.org/show_bug.cgi?id=149336
3050
3051         Reviewed by Brent Fulgham.
3052
3053         * Scripts/build-webkit:
3054         Move the Windows code out of the for loop iterating over each subdirectory to be build.
3055         They're built all at once.
3056         * Scripts/webkitdirs.pm:
3057         (buildVisualStudioProject):
3058         (cmakeGeneratedBuildfile):
3059         Don't generate the Visual Studio solution if it already exists.
3060         It will run CMake again if necessary.
3061
3062 2015-09-17  Simon Fraser  <simon.fraser@apple.com>
3063
3064         [iOS WK2] WTR fails to set the key window in the UIKit sense
3065         https://bugs.webkit.org/show_bug.cgi?id=149325
3066
3067         Reviewed by Tim Horton.
3068
3069         -[WebKitTestRunnerWindow isKeyWindow] just returned _platformWebView->windowIsKey().
3070         This causes UIKit to bypass code that actually sets the key window, resulting in
3071         [UIAppliation sharedApplication].keyWindow always being nil.
3072
3073         Fix by PlatformWebView::setWindowIsKey() actually call -makeKeyWindow, and having
3074         -[WebKitTestRunnerWindow isKeyWindow] call super.
3075
3076         * WebKitTestRunner/PlatformWebView.h:
3077         (WTR::PlatformWebView::setWindowIsKey): Deleted.
3078         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
3079         (WTR::PlatformWebView::setWindowIsKey):
3080         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
3081         (WTR::PlatformWebView::setWindowIsKey):
3082         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3083         (-[WebKitTestRunnerWindow isKeyWindow]):
3084         (WTR::PlatformWebView::PlatformWebView):
3085         (WTR::PlatformWebView::~PlatformWebView):
3086         (WTR::PlatformWebView::setWindowIsKey):
3087         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3088         (WTR::PlatformWebView::setWindowIsKey):
3089
3090 2015-09-17  Simon Fraser  <simon.fraser@apple.com>
3091
3092         [iOS WK2] When loading viewport tests, use the normal web page viewport configuration
3093         https://bugs.webkit.org/show_bug.cgi?id=149321
3094
3095         Reviewed by Tim Horton.
3096         
3097         InjectedBundlePage::platformDidStartProvisionalLoadForFrame() unconditionally 
3098         enabled the "testing" viewport configuration, which disables page scaling.
3099         
3100         If we're running viewport tests, we want the normal web page configuration.
3101         Do that by passing a flag in the dictionary sent to InjectedBundle::beginTesting(),
3102         based on whether the test is in a "viewport" directory.
3103
3104         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3105         (WTR::InjectedBundle::beginTesting):
3106         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm:
3107         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame): Deleted.
3108         * WebKitTestRunner/TestInvocation.cpp:
3109         (WTR::TestInvocation::shouldLogFrameLoadDelegates):
3110         (WTR::TestInvocation::shouldLogHistoryClientCallbacks):
3111         (WTR::TestInvocation::shouldMakeViewportFlexible):
3112         (WTR::TestInvocation::invoke):
3113         * WebKitTestRunner/TestInvocation.h:
3114         * WebKitTestRunner/ios/TestControllerIOS.mm:
3115         (WTR::TestController::platformConfigureViewForTest):
3116         (WTR::shouldMakeViewportFlexible): Deleted.
3117
3118 2015-09-17  Simon Fraser  <simon.fraser@apple.com>
3119
3120         Give iOS WebKitTestRunner a launch storyboard
3121         https://bugs.webkit.org/show_bug.cgi?id=149314
3122
3123         Reviewed by Dan Bates.
3124         
3125         Add a launch storyboard to iOS WebKitTestRunner so that Springboard recognizes
3126         that it's been built for specific device configurations, and puts the window
3127         at the top of the screen. This simplifies coordinate conversions in a future patch.
3128
3129         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3130         * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Info.plist:
3131         * WebKitTestRunner/ios/Launch.storyboard: Added.
3132
3133 2015-09-17  Myles C. Maxfield  <mmaxfield@apple.com>
3134
3135         Update licence in r189890
3136         https://bugs.webkit.org/show_bug.cgi?id=149306
3137
3138         Reviewed by Dean Jackson.
3139
3140         * FontWithFeatures/FontWithFeatures/FontCreator.cpp:
3141         * FontWithFeatures/FontWithFeatures/FontCreator.h:
3142         * FontWithFeatures/FontWithFeatures/main.cpp:
3143
3144 2015-09-17  Mark Lam  <mark.lam@apple.com>
3145
3146         Add the ability to skip JIT stress tests in run-javascriptcore-tests.
3147         https://bugs.webkit.org/show_bug.cgi?id=149285
3148
3149         Reviewed by Saam Barati.
3150
3151         Just need to add an option to pass --no-jit to run-jsc-stress-test.
3152
3153         * Scripts/run-javascriptcore-tests:
3154         (runJSCStressTests):
3155
3156 2015-09-17  Alex Christensen  <achristensen@webkit.org>
3157
3158         Switch AppleWin build to use CMake
3159         https://bugs.webkit.org/show_bug.cgi?id=149163
3160
3161         Reviewed by Brent Fulgham.
3162
3163         * Scripts/build-webkit:
3164         * Scripts/run-api-tests:
3165         (runTest):
3166         (listAllTests):
3167         (prepareEnvironmentForRunningTestTool):
3168         (testToolPaths):
3169         (testToolPath): Deleted.
3170         Run the API tests as separate executables on Windows.
3171         It used to be TestWebKitAPI.exe, and it is now TestWTF.exe, TestWebCore.exe, and TestWebKit.exe.
3172         * Scripts/webkitdirs.pm:
3173         (checkRequiredSystemConfig):
3174         (jhbuildWrapperPrefixIfNeeded):
3175         (generateBuildSystemFromCMakeProject):
3176         Fix configuration quirks.
3177
3178 2015-09-17  Dean Johnson  <dean_johnson@apple.com>
3179
3180         Added toggle options for hiding and showing certain platform families on the dashboard.
3181         https://bugs.webkit.org/show_bug.cgi?id=148403
3182
3183         Reviewed by David Kilzer.
3184
3185         This patch removes "hiddenPlatforms" from use in the code and local storage. We also removed
3186         individual hide/show buttons for platforms because we've added toggle options to hide/show entire
3187         families. Examples of these are "mac", "ios", and "linux". "Show All Platforms" was also removed
3188         in lieu of an "all" button in the toggle menu.
3189
3190         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
3191         (parsePlatformFamily): Helper function to parse out a platform family.
3192         (initPlatformsByFamily): Initializes platformsByFamily, which organizes platforms on the
3193         page by platformsByFamily[<family>] = <list of platforms belonging to that family>.
3194         (updateToggleButtons): Updates the status of the toggle buttons.
3195         (updateHiddenPlatforms): Changed to work with the new implementation of hiding/showing platforms.
3196         (documentReady): Added creation of toggle buttons.
3197         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsMain.js:
3198         (unhiddenQueues): Updated to search by platform family instead of the individual platform name.
3199         (documentReady): Changed hiddenPlatforms => hiddenPlatformFamilies.
3200         (updateHiddenPlatforms): Deleted. After removing the individual hide button code, 
3201         this did the exact same thing as the updateHiddenPlatforms in Scripts/Main.js so it was removed.
3202         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/QueueView.js:
3203         (QueueView): Updated to use hiddenPlatformFamilies.
3204         (QueueView.prototype._updateHiddenState): Updated to use hiddenPlatformFamilies.
3205         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Settings.js:
3206         (Settings.prototype.toggleHiddenPlatformFamily): Renamed function and some variables.
3207         (Settings.prototype.clearHiddenPlatformFamilies): Now uses hiddenPlatformFamilies for events.
3208         (Settings.prototype.toggleHiddenPlatform): Deleted.
3209         (Settings.prototype.clearHiddenPlatforms): Deleted.
3210         (Settings.prototype.toggleShowPlatformFamily): Deleted.
3211         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3212         (div.cellButton, div.accessibilityButton, div.platformFamilyToggleButton):
3213         (div.cellButton.unhide, div.accessibilityButton.unhide, div.platformFamilyToggleButton.unhide):
3214         (.settings-visible div.settingsWrapper.hide, .settings-visible div.settingsWrapper):
3215         (table.queue-grid tr.headers th):
3216         (div.settingsWrapper.hide):
3217         (div.settingsWrapper):
3218         (div.familyToggleWrapper):
3219         (div.platformFamilyToggleButton):
3220         (div.platformFamilyShowToggleButton:not(:last-child)):
3221         (div.familyShown):
3222         (div.accessibilityButton):
3223         (div.cellButton, div.accessibilityButton): Added platformFamilyToggleButton class.
3224         (div.cellButton.unhide, div.accessibilityButton.unhide): Added platformFamilyToggleButton class.
3225         (.settings-visible div.accessibilityButton.hide, .settings-visible div.accessibilityButton.unhide): Added
3226         platformFamilyToggleButton and settingsWrapper class.
3227         (.accessibilityButton): Deleted.
3228
3229 2015-09-17  Tim Horton  <timothy_horton@apple.com>
3230
3231         Add a test ensuring that scrolling in the middle of a page can't start a swipe gesture
3232         https://bugs.webkit.org/show_bug.cgi?id=148904
3233
3234         Reviewed by Myles Maxfield.
3235
3236         * WebKitTestRunner/TestController.cpp:
3237         (WTR::parseBooleanTestHeaderValue):
3238         (WTR::updateViewOptionsFromTestHeader):
3239         Check for the key "useThreadedScrolling".
3240         Add some code to check for "true" and "false" for boolean options.
3241
3242         (WTR::TestController::viewOptionsForTest):
3243         Apply the test's overrides last, even after the platform's.
3244
3245 2015-09-16  Carlos Garcia Campos  <cgarcia@igalia.com>
3246
3247         printing does not use minimum page zoom factor
3248         https://bugs.webkit.org/show_bug.cgi?id=108507
3249
3250         Reviewed by Darin Adler.
3251
3252         WebKitTestRunner always takes the snapshots from the UI process
3253         (expect for IOS), so in the case of printing, the layout in the
3254         web view is not the expected one. When printing, we need to take
3255         the snapshot in the web process and ensure it's rendered with a
3256         PrintContext.
3257
3258         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3259         (WTR::InjectedBundlePage::dump): When dumping pixels, pass
3260         kWKSnapshotOptionsPrinting option to
3261         WKBundlePageCreateSnapshotWithOptions() when printing. When not
3262         printing, don't even create the snapshot, since it will be ignored
3263         by the UI process that always creates its own from the WebView (expect for IOS platform)
3264         * WebKitTestRunner/TestInvocation.cpp:
3265         (WTR::TestInvocation::dumpResults): Use always the snapshot image
3266         received from the web process if any when comparing pixel
3267         results. Now we only receive a snapshot from the web process in
3268         case of printing, or when platform is IOS. Otherwhise, generate
3269         the snapshot from the WebView as usual.
3270         * WebKitTestRunner/TestInvocation.h: Add SnapshotResultType enum
3271         parameter to dumpPixelsAndCompareWithExpected, since the snapshot
3272         is created by the caller now, but the CG implementation needs to
3273         know if it's a Web or UI process snapshot.
3274         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
3275         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
3276         cairo surface for the given image.
3277         * WebKitTestRunner/cg/TestInvocationCG.cpp:
3278         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
3279         CGContext for the given image.
3280
3281 2015-09-16  Myles C. Maxfield  <mmaxfield@apple.com>
3282
3283         Create a font which can be used for testing font features
3284         https://bugs.webkit.org/show_bug.cgi?id=149237
3285
3286         Reviewed by Simon Fraser.
3287
3288         This patch adds a new project in the Tools/ directory which generates a font which can
3289         be used for testing font features. This is a standalone project consisting of two files:
3290         1. A file which actually generates the byte vector representing the font. This file has
3291         a single public function: std::vector<uint8_t> generateFont(). This file is not platform
3292         specific, and only relies on the C++ STL.
3293         2. A file with a main() which calls generateFont() and writes out the font, as well as
3294         uses the font to render some demonstration text into a .png file. This file is platform
3295         specific.
3296
3297         The font itself only supports the following characters:
3298         ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
3299         However, the shape of these letters are either an X or a check mark.
3300
3301         The letter "A" always is a check mark.
3302         The letter "B" always is an X.
3303         Without any font features turned on, the rest of the letters are shown as X.
3304
3305         Each font feature has an letter associated with it. When the font feature is enabled,
3306         that letter is shown as a check mark. For example, when "smcp" is enabled, "J" is shown
3307         as a check mark.
3308
3309         Here are the mappings of font features to letters:
3310         liga: C
3311         clig: D
3312         dlig: E
3313         hlig: F
3314         calt: G
3315         subs: H
3316         sups: I
3317         smcp: J
3318         c2sc: K
3319         pcap: L
3320         c2pc: M
3321         unic: N
3322         titl: O
3323         onum: P
3324         pnum: Q
3325         tnum: R
3326         frac: S
3327         afrc: T
3328         ordn: U
3329         zero: V
3330         hist: W
3331         jp78: X
3332         jp83: Y
3333         jp90: Z
3334         jp04: a
3335         smpl: b
3336         trad: c
3337         fwid: d
3338         pwid: e
3339         ruby: f
3340
3341         * FontWithFeatures/FontWithFeatures.xcodeproj/project.pbxproj: Added.
3342         * FontWithFeatures/FontWithFeatures/FontCreator.cpp: Added.
3343         (integralLog2):
3344         (roundDownToPowerOfTwo):
3345         (isFourByteAligned):
3346         (clampTo):
3347         (append32):
3348         (writeCFFEncodedNumber):
3349         (CFFBuilder::CFFBuilder):
3350         (CFFBuilder::takeResult):
3351         (CFFBuilder::moveTo):
3352         (CFFBuilder::lineTo):
3353         (CFFBuilder::curveToCubic):
3354         (CFFBuilder::closePath):
3355         (CFFBuilder::writePoint):
3356         (generateBoxCharString):
3357         (generateCheckCharString):
3358         (generateXCharString):
3359         (charStringForGlyph):
3360         (Generator::generate):
3361         (Generator::Placeholder::Placeholder):
3362         (Generator::Placeholder::populate):
3363         (Generator::Placeholder::~Placeholder):
3364         (Generator::placeholder):
3365         (Generator::append16):
3366         (Generator::append32):
3367         (Generator::append32BitCode):
3368         (Generator::overwrite16):
3369         (Generator::overwrite32):
3370         (Generator::appendCFFTable):
3371         (Generator::appendSubstitutionSubtable):
3372         (Generator::appendScriptSubtable):
3373         (Generator::appendGSUBTable):
3374         (Generator::appendOS2Table):
3375         (Generator::appendFormat12CMAPTable):
3376         (Generator::appendFormat4CMAPTable):
3377         (Generator::appendCMAPTable):
3378         (Generator::appendHEADTable):
3379         (Generator::appendHHEATable):
3380         (Generator::appendHMTXTable):
3381         (Generator::appendMAXPTable):
3382         (Generator::appendNAMETable):
3383         (Generator::appendPOSTTable):
3384         (Generator::calculateChecksum):
3385         (Generator::appendTable):
3386         (generateFont):
3387         * FontWithFeatures/FontWithFeatures/FontCreator.h: Added.
3388         * FontWithFeatures/FontWithFeatures/main.cpp: Added.
3389         (drawTextWithFeature):
3390         (main):
3391
3392 2015-09-16  Commit Queue  <commit-queue@webkit.org>
3393
3394         Unreviewed, rolling out r189875 and r189878.
3395         https://bugs.webkit.org/show_bug.cgi?id=149235
3396
3397         cygwin cmake build not ready yet (Requested by alexchristensen
3398         on #webkit).
3399
3400         Reverted changesets:
3401
3402         "Switch AppleWin build to use CMake"
3403         https://bugs.webkit.org/show_bug.cgi?id=149163
3404         http://trac.webkit.org/changeset/189875
3405
3406         "Cygwin build fix after r189875"
3407         http://trac.webkit.org/changeset/189878
3408
3409 2015-09-16  Alex Christensen  <achristensen@webkit.org>
3410
3411         Cygwin build fix after r189875
3412
3413         * Scripts/build-webkit:
3414         * Scripts/webkitdirs.pm:
3415         (jhbuildWrapperPrefixIfNeeded):
3416         (generateBuildSystemFromCMakeProject):
3417         Make things work with cygwin and cmake.
3418
3419 2015-09-16  Alex Christensen  <achristensen@webkit.org>
3420
3421         Switch AppleWin build to use CMake
3422         https://bugs.webkit.org/show_bug.cgi?id=149163
3423
3424         Reviewed by Brent Fulgham.
3425
3426         * Scripts/build-webkit:
3427         Build with CMake.
3428         * Scripts/run-api-tests:
3429         (runTest):
3430         (listAllTests):
3431         (prepareEnvironmentForRunningTestTool):
3432         (testToolPaths):
3433         (testToolPath): Deleted.
3434         Run the API tests as separate executables on Windows.
3435         It used to be TestWebKitAPI.exe, and it is now TestWTF.exe, TestWebCore.exe, and TestWebKit.exe.
3436
3437 2015-09-16  Alexey Proskuryakov  <ap@apple.com>
3438
3439         Add newer build.webkit.org pages to robots.txt
3440         https://bugs.webkit.org/show_bug.cgi?id=149219
3441
3442         Reviewed by Darin Adler.
3443
3444         Indexing bot watcher's dashboard can't be good.
3445
3446         * BuildSlaveSupport/build.webkit.org-config/public_html/robots.txt:
3447
3448 2015-09-16  Alex Christensen  <achristensen@webkit.org>
3449
3450         Rollout r189851 and 189853 because they didn’t actually fix the permissions issue
3451
3452         * BuildSlaveSupport/built-product-archive:
3453         (unzipArchive):
3454
3455 2015-09-16  Csaba Osztrogonác  <ossy@webkit.org>
3456
3457         [EFL] Fix the help message of separated web process option of MiniBrowser
3458         https://bugs.webkit.org/show_bug.cgi?id=149212
3459
3460         Reviewed by Gyuyoung Kim.
3461
3462         * MiniBrowser/efl/main.c:
3463
3464 2015-09-16  Alex Christensen  <achristensen@webkit.org>
3465
3466         Fix python syntax after r189851.
3467
3468         * BuildSlaveSupport/built-product-archive:
3469         (unzipArchive):
3470         For loops need a colon.
3471
3472 2015-09-15  Alex Christensen  <achristensen@webkit.org>
3473
3474         Fix Windows test bots after changing to non-cygwin build
3475         https://bugs.webkit.org/show_bug.cgi?id=149196
3476
3477         Reviewed by Daniel Bates.
3478
3479         * BuildSlaveSupport/built-product-archive:
3480         (unzipArchive):
3481         Using different versions of python makes what I think is https://bugs.python.org/issue15795
3482         prevent us from executing files from the archive on the test bots.
3483
3484 2015-09-15  Ryosuke Niwa  <rniwa@webkit.org>
3485
3486         Add ShadowRoot interface and Element.prototype.attachShadow
3487         https://bugs.webkit.org/show_bug.cgi?id=149187
3488
3489         Reviewed by Antti Koivisto.
3490
3491         * Scripts/webkitperl/FeatureList.pm:
3492
3493 2015-09-15  Aakash Jain  <aakash_jain@apple.com>
3494
3495         Appscale queue status json output lacks bots
3496         https://bugs.webkit.org/show_bug.cgi?id=149194
3497         <rdar://problem/22171089>
3498
3499         Reviewed by Alexey Proskuryakov.
3500
3501         * QueueStatusServer/handlers/queuestatusjson.py:
3502         (QueueStatusJSON._bots): Order the results by date so as to get latest events, this was default in AppEngine.
3503         * QueueStatusServer/index.yaml: Index according to appscale requirements.
3504
3505 2015-09-15  Brent Fulgham  <bfulgham@apple.com>
3506
3507         [Win] Provide a means for viewing the layer tree
3508         https://bugs.webkit.org/show_bug.cgi?id=149165
3509
3510         Reviewed by Simon Fraser.
3511
3512         Update MiniBrowser with a new Debug menu option that will
3513         dump the current layer tree to the debug console.
3514         
3515         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc:
3516         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h:
3517         * MiniBrowser/win/Common.cpp:
3518         (WndProc): Add handler for 'Print Layer Tree' menu option.
3519         * MiniBrowser/win/MiniBrowser.cpp:
3520         (MiniBrowser::printLayerTree): Added Handler.
3521         * MiniBrowser/win/MiniBrowser.h:
3522
3523 2015-09-14  Myles C. Maxfield  <mmaxfield@apple.com>
3524
3525         WebKitTestRunner declarative language setting is broken for iOS
3526         https://bugs.webkit.org/show_bug.cgi?id=149119
3527
3528         Unreviewed.
3529
3530         In all of the patches on webkit.org/b/189669, my patch to get this working on iOS was
3531         lost in the final version which got committed. This simply implements the existing
3532         OS X behavior on iOS.
3533
3534         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
3535         (WTR::InjectedBundle::platformInitialize):
3536
3537 2015-09-14  Dewei Zhu  <dewei_zhu@apple.com>
3538
3539         Unreviewed, add myself to committers list.
3540
3541         * Scripts/webkitpy/common/config/contributors.json:
3542
3543 2015-09-12  Myles C. Maxfield  <mmaxfield@apple.com>
3544
3545         [Cocoa] Allow testing with the system language
3546         https://bugs.webkit.org/show_bug.cgi?id=148671
3547
3548         Reviewed by Anders Carlsson and Alexey Proskuryakov.
3549
3550         React to tests marked with language=lang1,lang2,etc in their header.
3551         Once this information is parsed, pass it to
3552         WKContextConfigurationSetOverrideLanguages().
3553
3554         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
3555         (WTR::InjectedBundle::platformInitialize): Don't clobber the language
3556         list.
3557         * WebKitTestRunner/TestController.cpp:
3558         (WTR::TestController::createWebViewWithOptions): Call
3559         WKContextConfigurationSetOverrideLanguages().
3560         (WTR::updateTestOptionsFromTestHeader): Inspect the language option.
3561         * WebKitTestRunner/TestOptions.h:
3562         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3563         (WTR::PlatformWebView::viewSupportsOptions): Cause a differing language
3564         option to restart the web process.
3565         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3566         (WTR::PlatformWebView::viewSupportsOptions): Ditto.
3567
3568 2015-09-12  Myles C. Maxfield  <mmaxfield@apple.com>
3569
3570         [WKTR] Allow changing the WKContextConfiguration between successive tests
3571         https://bugs.webkit.org/show_bug.cgi?id=148833
3572
3573         Reviewed by Tim Horton.
3574
3575         Previously, we were creating a single WKContext and it lived for the life of the entire test runner.
3576         However, there are certain tests which require specifying options in this object. This patch makes
3577         our existing code for recreating the test runner web view also recreate the WKContext.
3578
3579         As such, our options to the view are now options to the WKContextConfiguration. This patch renames the
3580         class.
3581
3582         * WebKitTestRunner/ContextConfigurationOptions.h: Renamed from Tools/WebKitTestRunner/ViewOptions.h.
3583         * WebKitTestRunner/PlatformWebView.h:
3584         (WTR::PlatformWebView::options):
3585         * WebKitTestRunner/TestController.cpp:
3586         (WTR::TestController::initialize):
3587         (WTR::TestController::generateContextConfiguration):
3588         (WTR::TestController::generatePageConfiguration):
3589         (WTR::TestController::createWebViewWithOptions):
3590         (WTR::TestController::ensureViewSupportsOptionsForTest):
3591         (WTR::updateContextConfigurationOptionsFromTestHeader):
3592         (WTR::TestController::contextConfigurationOptionsForTest):
3593         (WTR::TestController::platformCreateWebView):
3594         (WTR::TestController::platformCreateOtherPage):
3595         (WTR::updateViewOptionsFromTestHeader): Deleted.
3596         (WTR::TestController::viewOptionsForTest): Deleted.
3597         * WebKitTestRunner/TestController.h:
3598         (WTR::TestController::injectedBundlePath):
3599         (WTR::TestController::testPluginDirectory):
3600         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3601         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3602         (WTR::TestController::platformCreateWebView):
3603         (WTR::TestController::platformCreateOtherPage):
3604         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
3605         (WTR::PlatformWebView::PlatformWebView):
3606         (WTR::PlatformWebView::viewSupportsOptions):
3607         * WebKitTestRunner/efl/TestControllerEfl.cpp:
3608         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
3609         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
3610         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
3611         (WTR::PlatformWebView::PlatformWebView):
3612         (WTR::PlatformWebView::viewSupportsOptions):
3613         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
3614         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
3615         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
3616         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3617         (WTR::PlatformWebView::PlatformWebView):
3618         (WTR::PlatformWebView::viewSupportsOptions):
3619         * WebKitTestRunner/ios/TestControllerIOS.mm:
3620         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
3621         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
3622         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3623         (WTR::PlatformWebView::PlatformWebView):
3624         (WTR::PlatformWebView::viewSupportsOptions):
3625         * WebKitTestRunner/mac/TestControllerMac.mm:
3626         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
3627         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
3628
3629 2015-09-11  Michael Saboff  <msaboff@apple.com>
3630
3631         LayoutTestHelper crashes if a color profile isn't set for a 3rd party monitor
3632         https://bugs.webkit.org/show_bug.cgi?id=149083
3633
3634         Reviewed by Alexey Proskuryakov.
3635
3636         Check to make sure that we have a valid factoryProfile CFDictionaryRef before using it.
3637
3638         * DumpRenderTree/mac/LayoutTestHelper.m:
3639         (colorProfileURLForDisplay):
3640
3641 2015-09-11  Saam barati  <sbarati@apple.com>
3642
3643         There should be a defaultSpotCheck-like mode that doesn't run the MaximalFlushInsertionPhase in run-jsc-stress-tests
3644         https://bugs.webkit.org/show_bug.cgi?id=149058
3645
3646         Reviewed by Geoffrey Garen.
3647
3648         * Scripts/run-jsc-stress-tests:
3649
3650 2015-09-10  Commit Queue  <commit-queue@webkit.org>
3651
3652         Unreviewed, rolling out r189595.
3653         https://bugs.webkit.org/show_bug.cgi?id=149052
3654
3655         The tests still fail (Requested by ap on #webkit).
3656
3657         Reverted changeset:
3658
3659         "Spurious output on Windows tests: AQMEIOManager::FindIOUnit:
3660         error -1"
3661         https://bugs.webkit.org/show_bug.cgi?id=142929
3662         http://trac.webkit.org/changeset/189595
3663
3664 2015-09-10  Alexey Proskuryakov  <ap@apple.com>
3665
3666         Spurious output on Windows tests: AQMEIOManager::FindIOUnit: error -1
3667         https://bugs.webkit.org/show_bug.cgi?id=142929
3668
3669         Reviewed by Brent Fulgham.
3670
3671         Silence the logging. We'll track fixing the root cause in Radar.
3672
3673         * Scripts/webkitpy/port/mac.py:
3674         (MacPort.stderr_patterns_to_strip): Added a FIXME.
3675
3676         * Scripts/webkitpy/port/win.py:
3677         (WinPort.logging_patterns_to_strip): Added.
3678
3679 2015-09-09  Andy Estes  <aestes@apple.com>
3680
3681         [iOS] Teach run-webkit-tests how to parse simulator runtimes when version numbers contain a revision
3682         https://bugs.webkit.org/show_bug.cgi?id=149022
3683
3684         Reviewed by Daniel Bates.
3685
3686         Simulator runtime versions can contain a revision number (e.g. 8.4.1), but the regex for matching runtimes
3687         did not account for this.
3688
3689         * Scripts/webkitpy/xcode/simulator.py:
3690         (Simulator): Optionally matched a revision at the end of a runtime version number.
3691         * Scripts/webkitpy/xcode/simulator_unittest.py: Added a test.
3692
3693 2015-09-09  Andy Estes  <aestes@apple.com>
3694
3695         [iOS] Teach run-webkit-tests how to parse `simctl list` when a tvOS SDK is installed
3696         https://bugs.webkit.org/show_bug.cgi?id=149029
3697         <rdar://problem/22432624>
3698
3699         Reviewed by Daniel Bates.
3700
3701         * Scripts/webkitpy/xcode/simulator.py:
3702         (Simulator): Taught to parse tvOS runtimes.
3703         * Scripts/webkitpy/xcode/simulator_unittest.py: Added tests.
3704
3705 2015-09-09  Alexey Proskuryakov  <ap@apple.com>
3706
3707         Fix bit rot on bot watcher's dashboard page
3708         https://bugs.webkit.org/show_bug.cgi?id=149012
3709
3710         Reviewed by Tim Horton.
3711
3712         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3713         The code path used by the metrics page was trying to add properties to an undefined.
3714
3715         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
3716         Silence an expection that would occur when the step has no logs. This should never
3717         happen, but it did (perhaps buildbot was misconfigured for a while).
3718
3719 2015-09-09  Alexey Proskuryakov  <ap@apple.com>
3720
3721         Update LayoutTestRelay xcconfig file.
3722
3723         Rubber-stamped by Dan Bernstein.
3724
3725         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
3726
3727 2015-09-09  Saam barati  <sbarati@apple.com>
3728
3729         DFG should have a debugging option that runs a phase that flushes all locals
3730         https://bugs.webkit.org/show_bug.cgi?id=148916
3731
3732         Reviewed by Filip Pizlo.
3733
3734         * Scripts/run-jsc-stress-tests:
3735
3736 2015-09-09  Commit Queue  <commit-queue@webkit.org>
3737
3738         Unreviewed, rolling out r189530 and r189534.
3739         https://bugs.webkit.org/show_bug.cgi?id=148996
3740
3741         Caused assertion failures on Yosemite (Requested by litherum
3742         on #webkit).
3743
3744         Reverted changesets:
3745
3746         "[WKTR] Allow changing the WKContextConfiguration between
3747         successive tests"
3748         https://bugs.webkit.org/show_bug.cgi?id=148833
3749         http://trac.webkit.org/changeset/189530
3750
3751         "[Cocoa] Fix the tests after r189530"
3752         http://trac.webkit.org/changeset/189534
3753
3754 2015-09-08  Myles C. Maxfield  <mmaxfield@apple.com>
3755
3756         [Cocoa] Fix the tests after r189530
3757
3758         Unreviewed.
3759
3760         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3761         (WTR::initializeWebViewConfiguration):
3762
3763 2015-09-08  Myles C. Maxfield  <mmaxfield@apple.com>
3764
3765         [WKTR] Allow changing the WKContextConfiguration between successive tests
3766         https://bugs.webkit.org/show_bug.cgi?id=148833
3767
3768         Reviewed by Tim Horton.
3769
3770         Previously, we were creating a single WKContext and it lived for the life of the entire test runner.
3771         However, there are certain tests which require specifying options in this object. This patch makes
3772         our existing code for recreating the test runner web view also recreate the WKContext.
3773
3774         As such, our options to the view are now options to the WKContextConfiguration. This patch renames the
3775         class.
3776
3777         * WebKitTestRunner/ContextConfigurationOptions.h: Renamed from Tools/WebKitTestRunner/ViewOptions.h.
3778         * WebKitTestRunner/PlatformWebView.h:
3779         (WTR::PlatformWebView::options):
3780         * WebKitTestRunner/TestController.cpp:
3781         (WTR::TestController::initialize):
3782         (WTR::TestController::generateContextConfiguration):
3783         (WTR::TestController::generatePageConfiguration):
3784         (WTR::TestController::createWebViewWithOptions):
3785         (WTR::TestController::ensureViewSupportsOptionsForTest):
3786         (WTR::updateContextConfigurationOptionsFromTestHeader):
3787         (WTR::TestController::contextConfigurationOptionsForTest):
3788         (WTR::TestController::platformCreateWebView):
3789         (WTR::TestController::platformCreateOtherPage):
3790         (WTR::updateViewOptionsFromTestHeader): Deleted.
3791         (WTR::TestController::viewOptionsForTest): Deleted.
3792         * WebKitTestRunner/TestController.h:
3793         (WTR::TestController::injectedBundlePath):
3794         (WTR::TestController::testPluginDirectory):
3795         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3796         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3797         (WTR::TestController::platformCreateWebView):
3798         (WTR::TestController::platformCreateOtherPage):
3799         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
3800         (WTR::PlatformWebView::PlatformWebView):
3801         (WTR::PlatformWebView::viewSupportsOptions):
3802         * WebKitTestRunner/efl/TestControllerEfl.cpp:
3803         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
3804         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
3805         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
3806         (WTR::PlatformWebView::PlatformWebView):
3807         (WTR::PlatformWebView::viewSupportsOptions):
3808         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
3809         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
3810         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
3811         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3812         (WTR::PlatformWebView::PlatformWebView):
3813         (WTR::PlatformWebView::viewSupportsOptions):
3814         * WebKitTestRunner/ios/TestControllerIOS.mm:
3815         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
3816         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
3817         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3818         (WTR::PlatformWebView::PlatformWebView):
3819         (WTR::PlatformWebView::viewSupportsOptions):
3820         * WebKitTestRunner/mac/TestControllerMac.mm:
3821         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
3822         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
3823
3824 2015-09-08  Daniel Bates  <dabates@apple.com>
3825
3826         [Mac] Expose Enable/Disable Accelerated Drawing in MiniBrowser
3827         https://bugs.webkit.org/show_bug.cgi?id=148980
3828
3829         Reviewed by Alexey Proskuryakov.
3830
3831         Add setting to enable/disable accelerated drawing so as to support testing
3832         this feature in MiniBrowser on Mac.
3833
3834         * MiniBrowser/mac/SettingsController.h:
3835         * MiniBrowser/mac/SettingsController.m:
3836         (-[SettingsController _populateMenu]): Add menu item.
3837         (-[SettingsController validateMenuItem:]): Update setting when menu item is toggled.
3838         (-[SettingsController toggleAcceleratedDrawingEnabled:]): Added.
3839         (-[SettingsController acceleratedDrawingEnabled]): Added.
3840         * MiniBrowser/mac/WK1BrowserWindowController.m:
3841         (-[WK1BrowserWindowController didChangeSettings]): Apply setting in WebKit1.
3842         * MiniBrowser/mac/WK2BrowserWindowController.m:
3843         (-[WK2BrowserWindowController didChangeSettings]): Apply setting in WebKit2.
3844
3845 2015-09-08  Jason Marcell  <jmarcell@apple.com>
3846
3847         Unreviewed. Added myself as a commiter in contributors.json.
3848
3849         * Scripts/webkitpy/common/config/contributors.json:
3850
3851 2015-09-08  Keith Miller  <keith_miller@apple.com>
3852
3853         Unreviewed, added myself to the list of contributors.
3854
3855         * Scripts/webkitpy/common/config/contributors.json:
3856
3857 2015-09-08  Daniel Bates  <dabates@apple.com>
3858
3859         Dashboard: Remove use of z-index for ring overlay; use DOM ordering
3860         https://bugs.webkit.org/show_bug.cgi?id=148921
3861
3862         Reviewed by Alexey Proskuryakov.
3863
3864         The ring image is positioned above the platform icon in markup and we specify the CSS
3865         property z-index for the ring image so that it is painted on top of the platform icon
3866         instead of below it (by DOM ordering). Instead we can take advantage of the transparency
3867         of the ring image, switch the order of these DOM elements and remove the use of the CSS
3868         property z-index to achieve a similar effect.
3869
3870         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
3871         (documentReady): Create the platform icon image element before the ring image such that
3872         the ring image is painted on top of the platform icon.
3873         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3874         (table.queue-grid td.logo img.ring): Removed property z-index.
3875
3876 2015-09-08  Daniel Bates  <dabates@apple.com>
3877
3878         Dashboard: Remove duplicate gear icon data URLs
3879         https://bugs.webkit.org/show_bug.cgi?id=148920
3880
3881         Reviewed by Alexey Proskuryakov.
3882
3883         Currently we duplicate the SVG data URL for the gear icon up to its fill color in the CSS property
3884         background-image associated with each of the three gear icon states: collapsed (.settings), hover
3885         (.settings:hover), and expanded (.settings-visible .settings). Instead we should use the gear icon
3886         as a mask and make use of the CSS background-color to define the fill color for each of these three
3887         states.
3888
3889         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3890         (.settings): Use gear icon as mask and define CSS background-color for collapsed state. 
3891         (.settings:hover): Override CSS background-color for hover state.
3892         (.settings-visible .settings): Override CSS background-color for expanded state.
3893
3894 2015-09-07  Andy Estes  <aestes@apple.com>
3895
3896         [Mac] DebugRelease builds should link against libWebKitSystemInterfaceElCapitan.a on 10.11
3897         https://bugs.webkit.org/show_bug.cgi?id=148946
3898         <rdar://problem/22603981>
3899
3900         Reviewed by Dan Bernstein.
3901
3902         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
3903         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
3904
3905 2015-09-07  Hunseop Jeong  <hs85.jeong@samsung.com>
3906
3907         [EFL] Many of the css3/device-adapt/* tests failed after r188548.
3908         https://bugs.webkit.org/show_bug.cgi?id=148927
3909
3910         Reviewed by Csaba Osztrogonác.
3911
3912         device-adapt/* tests need the fixedLayout option but useFixedLayout option is
3913         overwritten by updatePlatformSpecificViewOptionsForTest after r188548.
3914
3915         * WebKitTestRunner/TestController.cpp:
3916         (WTR::shouldUseFixedLayout): Removed the unnecessary indentations.
3917         * WebKitTestRunner/efl/TestControllerEfl.cpp:
3918         (WTR::shouldUseFixedLayout): Return true if the test is related with 'device-adapt'.
3919
3920 2015-09-07  Andy Estes  <aestes@apple.com>
3921
3922         Fix the Production build after r189455.
3923
3924         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Somehow I added the All target using the
3925         In-App Purchase template instead of the Aggregate template. Whoops.
3926
3927 2015-09-06  Andy Estes  <aestes@apple.com>
3928
3929         WebKit.xcworkspace should be be able to build iOS platforms
3930         https://bugs.webkit.org/show_bug.cgi?id=148881
3931
3932         Reviewed by Daniel Bates.
3933
3934         Since we don't want to create platform-specific schemes, all projects in the workspace's schemes need to build
3935         for all supported platforms.
3936
3937         * MiniBrowser/Configurations/Base.xcconfig: Included iphoneos and iphonesimulator in SUPPORTED_PLATFORMS.
3938         * MiniBrowser/Configurations/MiniBrowser.xcconfig: Excluded all source files on iOS, and linked Cocoa and WebKit on Mac.
3939         * MiniBrowser/Configurations/MiniBrowserBundle.xcconfig: Ditto.
3940         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Stopped linking frameworks in Link Binaries With Libraries.
3941
3942 2015-09-06  Andy Estes  <aestes@apple.com>
3943
3944         WebKitTestRunner should build for iOS using the default target
3945         https://bugs.webkit.org/show_bug.cgi?id=148918
3946
3947         Reviewed by Daniel Bates.
3948
3949         When WebKitTestRunner was ported to iOS, a separate target (WebKitTestRunnerApp) was created for building the
3950         iOS variant. This is annoying because (1) all tools that invoke xcodebuild need to be taught to build this
3951         non-default target, and (2) a single Xcode scheme cannot be used to build both Mac and iOS variants.
3952
3953         This change adds a new default target (All) and makes it work for both Mac and iOS. Files that were built for
3954         both WebKitTestRunner and WebKitTestRunnerApp are now built in a static library target (WebKitTestRunner (Library)),
3955         and both apps now link this library. Files that are specific to Mac or iOS are excluded on the other platform.
3956         WebKitTestRunnerApp.app (which should be renamed to WebKitTestRunner.app) is skipped when installing on Mac, and
3957         WebKitTestRunner is skipped when installing on iOS.
3958
3959         The target dependency graph now looks like this:
3960
3961             All
3962                 WebKitTestRunnerApp
3963                     WebKitTestRunner (Library)
3964                         WebKitTestRunnerInjectedBundle
3965                             Derived Sources
3966                 WebKitTestRunner
3967                     WebKitTestRunner (Library)
3968                         WebKitTestRunnerInjectedBundle
3969                             Derived Sources
3970
3971         * Scripts/build-webkit: Stopped building the WebKitTestRunnerApp target on iOS.
3972         * Scripts/build-webkittestrunner: Ditto.
3973         * WebKitTestRunner/Configurations/Base.xcconfig: Set SUPPORTED_PLATFORMS to macosx, iphoneos, and iphonesimulator.
3974         * WebKitTestRunner/Configurations/BaseTarget.xcconfig: Set INSTALL_PATH here since it is the same for all targets.
3975         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig: Stopped setting INSTALL_PATH.
3976         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig: Moved frameworks from the build phase to here,
3977         excluded iOS-only files, and skipped installing on iOS.
3978         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: Moved frameworks from the build phase to here,
3979         excluded Mac-only files, and skipped installing on Mac.
3980         * WebKitTestRunner/Configurations/WebKitTestRunnerLibrary.xcconfig: Skipped installing always.
3981         * WebKitTestRunner/Makefile: Stopped building the WebKitTestRunnerApp target on iOS.
3982         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Added new targets, removed frameworks from
3983         Link Binary With Libraries builds phases, moved common files to the WebKitTestRunner (Library) target, and added
3984         new configuration files.
3985
3986 2015-09-05  Joseph Pecoraro  <pecoraro@apple.com>
3987
3988         Web Inspector: Improve prepare-ChangeLog for multiple cases
3989         https://bugs.webkit.org/show_bug.cgi?id=148875
3990
3991         Reviewed by Timothy Hatcher.
3992
3993         * Scripts/prepare-ChangeLog:
3994         (get_function_line_ranges_for_javascript):
3995         - We were ignoring everything inside of an anonymous function expression,
3996           such as (function(){ ... }), which made InjectedScriptSource produce nothing.
3997           Better handle this by inserting a few tweaks.
3998         - Allow method syntax outside of classes as long as they are at the global level.
3999         - Avoid treating "get" and "set" as getter/setter functions in bad contexts.
4000
4001         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt:
4002         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js:
4003         (Foo.prototype.method1):
4004         (Foo.prototype.method2):
4005         (Foo.prototype.method3.innerFunction):
4006         (Foo.prototype.method3):
4007         (insideGlobalAnonymousFunctionExpression):
4008         (foo.insideGlobalFunctionExpression):
4009         (IssueWithMapGetAndSet.prototype.method1.nestedFunctionInsideMethod1):
4010         (IssueWithMapGetAndSet.prototype.method1):
4011         (IssueWithMapGetAndSet.prototype.method2):
4012         (IssueWithMapGetAndSet.prototype.method3):
4013         (IssueWithMapGetAndSet):
4014
4015 2015-09-05  Yusuke Suzuki  <utatane.tea@gmail.com>
4016
4017         [ES6] Enable ES6 Module in JSC shell by default
4018         https://bugs.webkit.org/show_bug.cgi?id=148689
4019
4020         Reviewed by Geoffrey Garen.
4021
4022         * Scripts/run-javascriptcore-tests:
4023         (runJSCStressTests):
4024         * Scripts/run-jsc-stress-tests:
4025
4026 2015-09-04  Basile Clement  <basile_clement@apple.com>
4027
4028         Unreviewed, change my email address.
4029
4030         * Scripts/webkitpy/common/config/contributors.json:
4031
4032 2015-09-04  Beth Dakin  <bdakin@apple.com>
4033
4034         Should have a test to make sure links don't navigate after a cancelled force 
4035         click
4036         https://bugs.webkit.org/show_bug.cgi?id=148846
4037
4038         Reviewed by Tim Horton.
4039
4040         New EventSender function for a started then cancelled force click.
4041         * WebKitTestRunner/EventSenderProxy.h:
4042         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
4043         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
4044         (WTR::EventSendingController::mouseForceClick):
4045         (WTR::EventSendingController::startAndCancelMouseForceClick):
4046         (WTR::EventSendingController::mouseForceDown):
4047         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
4048         * WebKitTestRunner/TestController.cpp:
4049         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
4050         * WebKitTestRunner/mac/EventSenderProxy.mm:
4051         (WTR::EventSenderProxy::mouseForceClick):
4052         (WTR::EventSenderProxy::startAndCancelMouseForceClick):
4053         (WTR::EventSenderProxy::mouseForceDown):
4054         (WTR::EventSenderProxy::mouseMoveTo):
4055
4056 2015-09-04  Tim Horton  <timothy_horton@apple.com>
4057
4058         Add a test for r179736 (programmatic navigation during swipe causing a crash)
4059         https://bugs.webkit.org/show_bug.cgi?id=148830
4060
4061         Reviewed by Beth Dakin.
4062
4063         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
4064         (WTR::InjectedBundle::beginTesting):
4065         Make sure that TestRunner callbacks don't leak between tests!
4066
4067 2015-09-04  Anders Carlsson  <andersca@apple.com>
4068
4069         It should be possible to pass relative HTTP test paths to DumpRenderTree
4070         https://bugs.webkit.org/show_bug.cgi?id=148825
4071         <rdar://problem/22583866>
4072
4073         Reviewed by Tim Horton.
4074
4075         Convert the path to an absolute path if needed.
4076
4077         * DumpRenderTree/mac/DumpRenderTree.mm:
4078         (computeTestURL):
4079
4080 2015-09-04  Jason Marcell  <jmarcell@apple.com>
4081
4082         Fix Swift unit tests for prepare-ChangeLog.
4083         https://bugs.webkit.org/show_bug.cgi?id=148817
4084
4085         Reviewed by Alexey Proskuryakov.
4086
4087         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/swift_unittests-expected.txt: Fixed
4088         Swift unit tests for prepare-ChangeLog.
4089
4090 2015-09-04  Lucas Forschler  <lforschler@apple.com>
4091
4092         Modifications to the webkit-nightly logic.
4093         
4094         * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
4095         (updateAlertPanel):
4096         * WebKitLauncher/main.m:
4097         (displayErrorAndQuit):
4098
4099 2015-09-04  Beth Dakin  <bdakin@apple.com>
4100
4101         Speculative build fix.
4102
4103         * WebKitTestRunner/mac/EventSenderProxy.mm:
4104
4105 2015-09-04  Brian Burg  <bburg@apple.com>
4106
4107         Web Inspector: InspectorController should support multiple frontend channels
4108         https://bugs.webkit.org/show_bug.cgi?id=148538
4109
4110         Reviewed by Joseph Pecoraro.
4111
4112         InspectorClients must explicitly disconnect their frontend channel(s) from the
4113         inspected page's InspectorController.
4114
4115         To make this possible, DumpRenderTree should not destroy non-primary views until
4116         it has tried to close any abandoned Web Inspector instances. Performing teardown
4117         in the reverse order prevents disconnection of the frontend channel because that
4118         prematurely destroys the inspector frontend client.
4119
4120         * DumpRenderTree/mac/DumpRenderTree.mm:
4121         (runTest):
4122         * DumpRenderTree/win/DumpRenderTree.cpp:
4123         (runTest):
4124
4125 2015-09-04  Beth Dakin  <bdakin@apple.com>
4126
4127         Need to be able to test default behaviors on force click
4128         https://bugs.webkit.org/show_bug.cgi?id=148758
4129
4130         Reviewed by Tim Horton.
4131
4132         This patch adds a new eventSender method to do a full, completed force click, 
4133         and it re-works all of the existing force methods to dispatch their events in 
4134         such a way that they will trigger the NSImmediateAction gesture recognizer. 
4135         To do this, first we need to send the events to the app rather than straight 
4136         to the view, and also needed to tweak some state and send the events in a 
4137         delayed fashion.
4138
4139         New public function mouseForceClick() and private helper functions to make 
4140         NSEvents.
4141         * WebKitTestRunner/EventSenderProxy.h:
4142
4143         New public function mouseForceClick().
4144         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
4145         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
4146         (WTR::EventSendingController::mouseMoveTo):
4147         (WTR::EventSendingController::mouseForceClick):
4148         (WTR::EventSendingController::mouseForceDown):
4149         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
4150         * WebKitTestRunner/TestController.cpp:
4151         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
4152
4153         initPressureEventAtLocation needs to take a stageTransition and a window.
4154         * WebKitTestRunner/mac/EventSenderProxy.mm:
4155         (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]):
4156         (-[EventSenderSyntheticEvent stageTransition]):
4157         (-[EventSenderSyntheticEvent timestamp]):
4158         (-[EventSenderSyntheticEvent _cgsEventRecord]):
4159         (-[EventSenderSyntheticEvent window]):
4160
4161         In order to enter the gesture recognizer, we need to start with a mouse down 
4162         that has a NSEventMaskPressure modifier.
4163         (WTR::EventSenderProxy::sendMouseDownToStartPressureEvents):
4164
4165         This ensures that the events queue properly for the force monitor in AppKit.
4166         (WTR::spinRunLoopForForce):
4167
4168          We need to start the pressure change events with a began.
4169         (WTR::EventSenderProxy::beginPressureEvent):
4170
4171         These functions can be used to create the NSEvent for a pressure change every 
4172         time we need one.
4173         (WTR::EventSenderProxy::pressureChangeEvent):
4174
4175         Send the right series of events to emulate a full, completed force click.
4176         (WTR::EventSenderProxy::mouseForceClick):
4177
4178         Use all of the new things for these existing functions.
4179         (WTR::EventSenderProxy::mouseForceDown):
4180         (WTR::EventSenderProxy::mouseForceUp):
4181         (WTR::EventSenderProxy::mouseForceChanged):
4182
4183         Set NSFakeForceTouchDevice to YES.
4184         * WebKitTestRunner/mac/main.mm:
4185         (setDefaultsToConsistentValuesForTesting):
4186
4187 2015-09-04  Jason Marcell  <jmarcell@apple.com>
4188
4189         prepare-ChangeLog needs to know how to parse Swift files.
4190         https://bugs.webkit.org/show_bug.cgi?id=148784
4191         <rdar://problem/22510062>
4192
4193         Reviewed by Darin Adler.
4194
4195         * Scripts/prepare-ChangeLog:
4196         (get_function_line_ranges): Added entry for get_function_line_ranges_for_swift.
4197         (get_function_line_ranges_for_swift): Added function that knows how to parse Swift code.
4198         (parseSwiftFunctionArgs): Added function that knows how to parse Swift function arguments.
4199         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl: Added.
4200         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/swift_unittests-expected.txt: Ditto.
4201         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/swift_unittests.swift: Ditto.
4202         (freeFunction): Ditto.
4203         (MyClass.function): Ditto.
4204         (MyClass.functionWithArgument(_:)): Ditto.
4205         (MyClass.functionWithMoreArguments(_:arg2:)): Ditto.
4206         (MyClass.functionWithNamedFirstArgument(argument:)): Ditto.
4207         (MyClass.functionWithNamedFirstAndSecondArgument(first:second:)): Ditto.
4208         (MyClass.classFunction): Ditto.
4209         (MyClass.readWriteComputedVariable): Ditto.
4210         (MyClass.readOnlyComputedVariable): Ditto.
4211
4212 2015-09-04  Ryosuke Niwa  <rniwa@webkit.org>
4213
4214         Import css/css-color-3
4215         https://bugs.webkit.org/show_bug.cgi?id=148803
4216
4217         Reviewed by Chris Dumez.
4218
4219         Fixed a bug that the imported reference files used the same extention as tests.
4220         This would result in parsing errors if the tests were XML and references were HTML and vice versa.
4221
4222         * Scripts/webkitpy/w3c/test_importer.py:
4223         (TestImporter.find_importable_tests):
4224
4225 2015-09-03  Commit Queue  <commit-queue@webkit.org>
4226
4227         Unreviewed, rolling out r189338.
4228         https://bugs.webkit.org/show_bug.cgi?id=148785
4229
4230         Caused tons of crashes (Requested by cdumez on #webkit).
4231
4232         Reverted changeset:
4233
4234         "Web Inspector: InspectorController should support multiple
4235         frontend channels"
4236         https://bugs.webkit.org/show_bug.cgi?id=148538
4237         http://trac.webkit.org/changeset/189338
4238
4239 2015-09-03  Brian Burg  <bburg@apple.com>
4240
4241         Web Inspector: InspectorController should support multiple frontend channels
4242         https://bugs.webkit.org/show_bug.cgi?id=148538
4243
4244         Reviewed by Joseph Pecoraro.
4245
4246         InspectorClients must explicitly&nb