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