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