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