1 2015-10-04 Alexey Proskuryakov <ap@apple.com>
3 Fix some errors on bot watcher's dashboard
4 https://bugs.webkit.org/show_bug.cgi?id=149789
6 Reviewed by Lucas Forschler.
8 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
9 (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus): We may not get to layout
10 tests step, in which case layoutTestResults.tooManyFailures would raise an exception.
12 2015-10-04 Alexey Proskuryakov <ap@apple.com>
14 Bot watcher's dashboard builders should turn yellow when svn fails
15 https://bugs.webkit.org/show_bug.cgi?id=149791
17 Reviewed by Lucas Forschler.
19 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
20 (BuildbotBuilderQueueView.prototype.appendBuilderQueueStatus):
21 (BuildbotBuilderQueueView.prototype.update):
23 2015-10-02 Daniel Bates <dabates@apple.com>
25 Add iOS 9 Simulator builders and testers to WebKit Bot Watcher's Dashboard
26 https://bugs.webkit.org/show_bug.cgi?id=149769
28 Reviewed by Alexey Proskuryakov.
30 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS9Simulator.png: Added.
31 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS9Simulator@2x.png: Added.
32 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
33 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
35 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
36 (table.queue-grid tr.platform.ios-simulator-9 img.logo):
38 2015-10-02 Ryosuke Niwa <rniwa@webkit.org>
40 REGRESSION(r190370): Speedometer spits out an extra console message
41 https://bugs.webkit.org/show_bug.cgi?id=149720
43 Unreviewed. Temporarily ignore the console error message.
45 * Scripts/webkitpy/performance_tests/perftest.py:
46 (PerfTest._filter_output):
48 2015-10-02 Brent Fulgham <bfulgham@apple.com>
50 Provide "--no-ninja" option to avoid using Ninja
51 https://bugs.webkit.org/show_bug.cgi?id=149757
53 Reviewed by Alex Christensen.
55 Add a new command line argument understood by webkitdirs.pm so
56 that we can conditionally avoid using Ninja. This is an
57 'opt-out' argument, so no existing Ninja users should be affected.
59 * Scripts/webkitdirs.pm:
60 (canUseNinja): Check for option and block ninja if present.
62 2015-10-02 Aakash Jain <aakash_jain@apple.com>
64 Flakiness dashboard should support OS X El Capitan
65 https://bugs.webkit.org/show_bug.cgi?id=149648
67 Reviewed by Alexey Proskuryakov.
69 * TestResultServer/static-dashboards/flakiness_dashboard.js: Fix the broken dashboard for ElCapitan.
71 2015-10-02 Daniel Bates <dabates@apple.com>
73 Fix run-webkit-tests --ios-simulator after <http://trac.webkit.org/changeset/190515>
74 (https://bugs.webkit.org/show_bug.cgi?id=149753)
76 For now, pass --ios-simulator.
78 * Scripts/webkitpy/port/ios.py:
79 (IOSSimulatorPort._build_relay):
81 2015-10-02 Simon Fraser <simon.fraser@apple.com>
83 Remove a "nullable" that breaks the iOS 8 build.
85 * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
86 (-[TestRunnerWKWebView scrollViewWillBeginZooming:withView:]):
88 2015-10-02 Daniel Bates <dabates@apple.com>
90 LayoutTestRelay is not built and archived when building for iOS Simulator
91 https://bugs.webkit.org/show_bug.cgi?id=149753
93 Reviewed by Alexey Proskuryakov and Andy Estes.
95 Towards running layout tests on the iOS Simulator test bots, we need to teach scripts build-webkit
96 and built-product-archive to build the Mac tool LayoutTestRelay and include this tool in the built
97 product archive when building for iOS Simulator, respectively.
99 * BuildSlaveSupport/built-product-archive:
100 (main): Pass the full platform name (options.platform) to archiveBuiltProduct() so that it can
101 differentiate between iOS device and iOS Simulator platforms.
102 (webkitBuildDirectoryForConfigurationAndPlatform): Extracted logic to run the script webkit-build-directory
103 from determineWebKitBuildDirectories() into this function so that it can be used by both
104 determineWebKitBuildDirectories() and archiveBuiltProduct().
105 (determineWebKitBuildDirectories): Moved logic to execute the script webkit-build-directory from here to
106 webkitBuildDirectoryForConfigurationAndPlatform().
107 (createZip): Added parameter embedParentDirectoryNameOnDarwin (defaults to False) to specify whether
108 we should call ditto(1) with --keepParent to embed the parent directory name in the zip archive. This
109 argument is only applicable when building on Darwin. We only pass embedParentDirectoryNameOnDarwin=True
110 when making an archive for a Mac or iOS device build. For iOS Simulator builds we archive two directories
111 and we do not want to keep the parent directory because it is a placeholder directory used as a workaround
112 for the limitation that ditto(1) can only accept a single directory to archive on its command line.
113 (archiveBuiltProduct): Modified to take the full platform name as an argument. Added logic for iOS.
114 For iOS device builds we use the same logic as for a Mac build and archive the configuration-specific
115 build directory. For iOS Simulator builds we archive the configuration-specific iOS build directory,
116 LayoutTestRelay and LayoutTestRelay.dSYM (if it exists) from the configuration-specific Mac build.
117 * Scripts/build-layouttestrelay:
118 - Remove unnecessary include of Perl module POSIX.
119 - Only build LayoutTestRelay when building for iOS Simulator (i.e. --ios-simulator is passed).
120 * Scripts/build-webkit:
121 - Invoke script build-layouttestrelay when building for iOS Simulator.
123 2015-10-02 Brent Fulgham <bfulgham@apple.com>
125 [Win] Unreviewed test fix.
127 You cannot run 'run-webkit-tests' from the command line because it does not know
128 to append the binary subdirectory (bin32/bin64). We don't see this on our builders
129 because they explicitly set use the 'root' argument to provide the full path to
132 * Scripts/webkitpy/port/win.py:
133 (WinPort._build_path): Added.
135 2015-10-02 Alex Christensen <achristensen@webkit.org>
137 Reloading without content blockers doesn't apply to resource loads after the main frame finishes
138 https://bugs.webkit.org/show_bug.cgi?id=149430
139 rdar://problem/22742222
141 Reviewed by Geoffrey Garen.
143 * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
144 (WTR::TestController::cocoaResetStateToConsistentValues):
145 * WebKitTestRunner/mac/TestControllerMac.mm:
146 (WTR::TestController::platformConfigureViewForTest):
147 Test what happens when you disable content blockers from the SPI.
149 2015-10-01 Brent Fulgham <bfulgham@apple.com>
151 [Win] Unreviewed build fix for run-api-tests
153 * Scripts/run-api-tests:
154 (testToolPaths): Windows run needs to specify the binary path.
156 2015-10-01 Daniel Bates <dabates@apple.com>
158 Another attempt to fix the Windows builders after <https://trac.webkit.org/changeset/190387>
159 (https://bugs.webkit.org/show_bug.cgi?id=149695)
161 Following r190424 we can now rely on webkit-build-directory to return the path to
162 the correct configuration-specific build directory on Windows.
164 * BuildSlaveSupport/built-product-archive:
165 (archiveBuiltProduct):
167 2015-10-01 Brent Fulgham <bfulgham@apple.com>
169 [Win] Unreviewed build fix.
171 * Scripts/webkitdirs.pm:
172 (setupAppleWinEnv): Use 64-bit build tools if available
174 2015-10-01 Brent Fulgham <bfulgham@apple.com>
176 [Win] Fix TestWebKitAPI build under CMake.
178 Reviewed by Alex Christensen.
180 * TestWebKitAPI/PlatformWin.cmake: Add missing link command
183 2015-10-01 Brent Fulgham <bfulgham@apple.com>
185 [Win] Fix behavior of webkit-build-directory script
186 https://bugs.webkit.org/show_bug.cgi?id=149718
188 Reviewed by Alex Christensen.
190 * Scripts/webkitdirs.pm:
191 (determineConfigurationProductDir): Do not include the binary
192 sub-directory in the configuration product directory output.
193 (jscProductDir): Append correct binary path for Windows build.
194 (setPathForRunningWebKitApp): Include properly binary subdirectories.
195 (runSafari): Update for revised productDir behavior.
196 (runMiniBrowser): Ditto.
198 2015-10-01 Alexey Proskuryakov <ap@apple.com>
200 Stop building LayoutTestRelay for now. It's a Mac project, but build-webkit tries to
201 use iOS SDK, like with all the others.
203 * Scripts/build-webkit:
205 2015-10-01 Daniel Bates <dabates@apple.com>
207 Attempt to fix the iOS 9 Simulator testers
209 Add dependency DumpRenderTree.app to target All of project DumpRenderTree so that we
210 build DumpRenderTree.app, if applicable. Also, teach build-webkit to build project
211 LayoutTestRelay when building for iOS Simulator.
213 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
214 * Scripts/build-webkit:
216 2015-10-01 Carlos Garcia Campos <cgarcia@igalia.com>
218 [GTK] Websites with invalid auth header keep loading forever
219 https://bugs.webkit.org/show_bug.cgi?id=149710
221 Reviewed by Martin Robinson.
223 Add test case to check that we can authenticate sites with an
226 * TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp:
227 (testWebViewAuthenticationEmptyRealm):
231 2015-10-01 Alexey Proskuryakov <ap@apple.com>
233 [Mac] Make run-api-tests work with System Integrity Protection
234 https://bugs.webkit.org/show_bug.cgi?id=149711
235 rdar://problem/22928202
237 Reviewed by Dan Bernstein.
239 * Scripts/run-api-tests:
241 (archCommandLineArgumentsForRestrictedEnvironmentVariables):
243 2015-10-01 Daniel Bates <dabates@apple.com>
245 Attempt to fix the Windows build after <https://trac.webkit.org/changeset/190387>
246 (https://bugs.webkit.org/show_bug.cgi?id=149695)
248 For some reason built-product-archive hardcodes the assumption that we build for 32-bit Windows.
249 For now, use the path to the top-level WebKit build directory instead of using the configuration-
250 specific build directory.
252 * BuildSlaveSupport/built-product-archive:
253 (archiveBuiltProduct):
255 2015-10-01 Csaba Osztrogonác <ossy@webkit.org>
257 [EFL] Fix the openwebrtc and gst-plugins-openwebrtc build with clang
258 https://bugs.webkit.org/show_bug.cgi?id=145837
260 Reviewed by Philippe Normand.
262 * efl/jhbuild.modules:
263 * efl/patches/openwebrtc-clang-warning-fix.patch: Added.
264 * efl/patches/openwebrtc-gst-plugins-clang-warning-fix.patch: Added.
266 2015-10-01 Wenson Hsieh <wenson_hsieh@apple.com>
268 Unreviewed. Fix the iOS build after r190407.
270 * WebKitTestRunner/ios/IOKitSPI.h:
272 2015-10-01 Wenson Hsieh <wenson_hsieh@apple.com>
274 Implement keyboard event sending for iOS in WebKitTestRunner
275 https://bugs.webkit.org/show_bug.cgi?id=149676
277 Reviewed by Simon Fraser.
279 Adds support for generating and sending key events in WebKitTestRunner. This is accomplished in a similar
280 way as touch events, using IOHIDEvent machinery. Also adds callbacks to the UIScriptController JS API that
281 allows us to run code when the keyboard is shown or hidden.
283 * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl: Adds the typeCharacter JS interface.
284 * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
285 (WTR::UIScriptController::setDidShowKeyboardCallback):
286 (WTR::UIScriptController::didShowKeyboardCallback):
287 (WTR::UIScriptController::setDidHideKeyboardCallback):
288 (WTR::UIScriptController::didHideKeyboardCallback):
289 (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
290 (WTR::UIScriptController::platformSetDidShowKeyboardCallback):
291 (WTR::UIScriptController::platformSetDidHideKeyboardCallback):
292 * WebKitTestRunner/UIScriptContext/UIScriptController.h:
293 * WebKitTestRunner/cocoa/TestRunnerWKWebView.h:
294 * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
295 (-[TestRunnerWKWebView initWithFrame:configuration:]): Registers the TestRunnerWKWebView to listen to
296 the notifications that the keyboard has been raised or lowered.
297 (-[TestRunnerWKWebView _keyboardDidShow:]):
298 (-[TestRunnerWKWebView _keyboardDidHide:]):
299 * WebKitTestRunner/ios/HIDEventGenerator.h:
300 * WebKitTestRunner/ios/HIDEventGenerator.m:
301 (-[HIDEventGenerator _sendIOHIDKeyboardEvent:usage:isKeyDown:]): Helper to send a HID keyboard event.
302 (shouldWrapWithShiftKeyEventForCharacter): Helper used to generate key events.
303 (hidUsageCodeForCharacter): Ditto.
304 (-[HIDEventGenerator keyDown:completionBlock:]): Synthesizes and sends HIDKeyboardEvents, triggering
305 a keyDown event in WebKit.
306 * WebKitTestRunner/ios/IOKitSPI.h:
307 * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
309 2015-10-01 Carlos Garcia Campos <cgarcia@igalia.com>
311 Unreviewed, rolling out r190399.
313 Tests are still failing even after r190362
317 "Unreviewed. Unskip GTK+ user media unit tests after r190362."
318 http://trac.webkit.org/changeset/190399
320 2015-10-01 Csaba Osztrogonác <ossy@webkit.org>
322 [jhbuild] switch to new upstream usrsctp library
323 https://bugs.webkit.org/show_bug.cgi?id=149494
325 Reviewed by Philippe Normand.
327 * efl/jhbuild.modules:
328 * gtk/jhbuild.modules:
330 2015-10-01 Carlos Garcia Campos <cgarcia@igalia.com>
332 Unreviewed. Unskip GTK+ user media unit tests after r190362.
334 They should pass now.
336 * Scripts/run-gtk-tests:
339 2015-09-30 Daniel Bates <dabates@apple.com>
341 Another attempt to fix the build after <https://trac.webkit.org/changeset/190387>
342 (https://bugs.webkit.org/show_bug.cgi?id=149695)
344 * BuildSlaveSupport/built-product-archive:
345 (determineWebKitBuildDirectories): Substitute _configurationBuildDirectory for _buildDirectory.
346 (extractBuiltProduct): Substitute _topLevelBuildDirectory for _buildDirectory.
348 2015-09-30 Daniel Bates <dabates@apple.com>
350 Attempt to fix the build after <https://trac.webkit.org/changeset/190387>
351 (https://bugs.webkit.org/show_bug.cgi?id=149695)
353 Actually, we need to pass --configuration to script webkit-build-directory to have
354 it return the path to the configuration-specific build directory.
356 * BuildSlaveSupport/built-product-archive:
357 (determineWebKitBuildDirectories):
359 2015-09-30 Daniel Bates <dabates@apple.com>
361 built-product-archive archives incorrect build directory for iOS port
362 https://bugs.webkit.org/show_bug.cgi?id=149695
364 Reviewed by Darin Adler.
366 Fixes an issue where the script built-product-archive archives a non-existent
367 build directory for the iOS port. Without loss of generality, the script assumes
368 the path to the Release configuration build for iOS is in directory WebKitBuild/Release.
369 But the built products for this configuration are in directory WebKitBuild/Release-iphonesimulator.
371 Currently the script built-product-archive calls `webkit-build-directory --top-level ...`
372 to determine the top-level build directory and computes the configuration-specific
373 build directory to be the concatenation of the the top-level build directory and
374 the configuration (e.g. Release). This is incorrect. Instead we should call
375 webkit-build-directory omitting the flag --top-level to compute the path to the
376 configuration-specific build directory.
378 * BuildSlaveSupport/built-product-archive: Fix up the style such that we use single quoted literals.
379 (main): Renamed global variable _buildDirectory to _topLevelBuildDirectory to better describe
380 its purpose and added global variable _configurationBuildDirectory to store the path
381 to the configuration-specific build directory. Ensure that we have a non-empty string
382 for both the top-level and configuration-specific build directories.
383 (determineWebKitBuildDirectories): Formerly named determineWebKitBuildDirectory.
384 Compute the configuration-specific build directory and store it in the global variable
385 _configurationBuildDirectory.
386 (archiveBuiltProduct): Modified to use _configurationBuildDirectory.
387 (extractBuiltProduct): Modified to use _configurationBuildDirectory and _topLevelBuildDirectory
389 (determineWebKitBuildDirectory): Deleted.
391 2015-09-30 Hunseop Jeong <hs85.jeong@samsung.com>
393 [EFL] css3/device-adapt/* tests failed after r190335.
394 https://bugs.webkit.org/show_bug.cgi?id=149655
396 Reviewed by Simon Fraser.
398 device-adapt/* tests need the fixedLayout option but useFixedLayout option is
399 overwritten by updatePlatformSpecificViewOptionsForTest after r190335.
401 * WebKitTestRunner/efl/TestControllerEfl.cpp:
402 (WTR::shouldUseFixedLayout):
404 2015-09-30 Dewei Zhu <dewei_zhu@apple.com>
406 Extend JetStream timeout for slow devices.
408 Reviewed by Chris Dumez.
410 Extend JetStream timeout to 20 minutes.
412 * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan:
414 2015-09-30 Daniel Bates <dabates@apple.com>
416 Rename iOS builders/testers to include version
417 https://bugs.webkit.org/show_bug.cgi?id=149685
419 Reviewed by Simon Fraser.
421 Substitute "Apple iOS 9" for "Apple iOS" in the names of iOS builders/testers so as
422 make it clear to a reader the version of iOS these builders/testers are using.
424 * BuildSlaveSupport/build.webkit.org-config/config.json:
425 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
427 2015-09-30 Daniel Bates <dabates@apple.com>
429 Add iOS criterion for triggering a build
430 https://bugs.webkit.org/show_bug.cgi?id=149679
432 Rubber-stamped by Alexey Proskuryakov.
434 First pass at defining criterion for triggering an iOS build.
436 * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
437 (_should_file_trigger_build):
438 * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
440 (ShouldBuildTest.test_should_build):
442 2015-09-29 Simon Fraser <simon.fraser@apple.com>
444 [iOS] Allow tests to generate user gestures for UI testing
445 https://bugs.webkit.org/show_bug.cgi?id=149653
447 Reviewed by Tim Horton.
449 Expose functionality in UIScriptController to allow for testing single- and double-tap,
450 and to listen for completion of scrolling and zooming in the WKWebView.
452 Tap generation is done using synthetic IOHIDEvents, via a new HIDEventGenerator class
453 which hides the complexity of creating these events. Event dispatch is asynchronous.
454 We detect when the last event has been handled by dispatching a vendor-specific event,
455 which is detected via -_handleHIDEvent: in our UIApplication subclass.
457 * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: Link with IOKit.
458 * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl: Two new properties
459 for 'will begin zooming' and 'did end zooming' callbacks, and functions to dispatch
460 single and double taps.
461 * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp:
462 (UIScriptContext::registerCallback): Used to store the callbacks for zooming.
463 Unlike the "task" callbacks, these are persistent, but we store them in the same hash map.
464 (UIScriptContext::unregisterCallback):
465 (UIScriptContext::callbackWithID):
466 (UIScriptContext::fireCallback):
467 * WebKitTestRunner/UIScriptContext/UIScriptContext.h:
468 * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
469 (WTR::UIScriptController::setWillBeginZoomingCallback): Cross-platform code.
470 (WTR::UIScriptController::willBeginZoomingCallback): Ditto.
471 (WTR::UIScriptController::setDidEndZoomingCallback):
472 (WTR::UIScriptController::didEndZoomingCallback):
473 (WTR::UIScriptController::singleTapAtPoint): Non-iOS stub.
474 (WTR::UIScriptController::doubleTapAtPoint): Ditto.
475 (WTR::UIScriptController::platformSetWillBeginZoomingCallback):
476 (WTR::UIScriptController::platformSetDidEndZoomingCallback):
477 * WebKitTestRunner/UIScriptContext/UIScriptController.h:
478 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
479 * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: Properties for the zooming callbacks.
480 * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
481 (-[TestRunnerWKWebView zoomToScale:animated:completionHandler:]): Dispatch the zooming callback.
482 (-[TestRunnerWKWebView scrollViewWillBeginZooming:withView:]): Ditto.
483 (-[TestRunnerWKWebView scrollViewDidEndZooming:withView:atScale:]): Ditto.
484 (-[TestRunnerWKWebView onDidEndZooming:]): Deleted.
485 * WebKitTestRunner/ios/HIDEventGenerator.h: Copied from Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.h.
486 * WebKitTestRunner/ios/HIDEventGenerator.m: Added.
488 (calculateNextLocation):
490 (+[HIDEventGenerator sharedHIDEventGenerator]):
491 (+[HIDEventGenerator nextEventCallbackID]):
492 (-[HIDEventGenerator init]):
493 (-[HIDEventGenerator _createIOHIDEventType:]):
494 (-[HIDEventGenerator _sendHIDEvent:]):
495 (-[HIDEventGenerator _sendMarkerHIDEventWithCompletionBlock:]):
496 (-[HIDEventGenerator _updateTouchPoints:count:]):
497 (-[HIDEventGenerator touchDownAtPoints:touchCount:]):
498 (-[HIDEventGenerator touchDown:touchCount:]):
499 (-[HIDEventGenerator touchDown:]):
500 (-[HIDEventGenerator liftUpAtPoints:touchCount:]):
501 (-[HIDEventGenerator liftUp:touchCount:]):
502 (-[HIDEventGenerator liftUp:]):
503 (-[HIDEventGenerator moveToPoints:touchCount:duration:]):
504 (-[HIDEventGenerator sendTaps:location:withNumberOfTouches:completionBlock:]):
505 (-[HIDEventGenerator tap:completionBlock:]):
506 (-[HIDEventGenerator doubleTap:completionBlock:]):
507 (-[HIDEventGenerator twoFingerTap:completionBlock:]):
508 (-[HIDEventGenerator dragWithStartPoint:endPoint:duration:completionBlock:]):
509 (-[HIDEventGenerator pinchCloseWithStartPoint:endPoint:duration:completionBlock:]):
510 (-[HIDEventGenerator pinchOpenWithStartPoint:endPoint:duration:completionBlock:]):
511 (-[HIDEventGenerator markerEventReceived:]):
512 * WebKitTestRunner/ios/IOKitSPI.h: Added.
513 * WebKitTestRunner/ios/UIKitSPI.h: Copied from Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.h.
514 * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
515 (WTR::globalToContentCoordinates):
516 (WTR::UIScriptController::singleTapAtPoint):
517 (WTR::UIScriptController::doubleTapAtPoint):
518 (WTR::UIScriptController::platformSetWillBeginZoomingCallback):
519 (WTR::UIScriptController::platformSetDidEndZoomingCallback):
520 * WebKitTestRunner/ios/mainIOS.mm:
521 (-[WebKitTestRunnerApp _handleHIDEvent:]):
523 2015-09-30 Dana Burkart <dburkart@apple.com>
525 git-add-reviewer should trim trailing spaces/newlines
526 https://bugs.webkit.org/show_bug.cgi?id=149513
528 Reviewed by Darin Adler.
530 * Scripts/git-add-reviewer:
533 2015-09-30 Eric Carlson <eric.carlson@apple.com>
535 REGRESSION(r190262): User media unit test failures after r190262
536 https://bugs.webkit.org/show_bug.cgi?id=149580
538 Reviewed by Darin Adler.
540 * WebKitTestRunner/TestController.cpp:
541 (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Fix parameter
542 order to WKUserMediaPermissionRequestAllow.
544 2015-09-30 Daniel Bates <dabates@apple.com>
546 Add iOS builders and testers
547 https://bugs.webkit.org/show_bug.cgi?id=149549
549 Reviewed by Alexey Proskuryakov.
551 Adds definitions for 64-bit iOS Simulator release builders and testers and a iOS device
552 builder that builds universal release binaries for armv7, armv7s and arm64 architectures.
554 * BuildSlaveSupport/build.webkit.org-config/config.json: Add definitions for builders and testers.
555 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Update unit tests.
557 2015-09-30 Timothy Hatcher <timothy@apple.com>
559 Give WebKitLauncher the get-task-allow entitlement to allow it to work on El Capitan
560 https://bugs.webkit.org/show_bug.cgi?id=149674
562 Reviewed by Lucas Forschler.
564 * WebKitLauncher/WebKitLauncher.entitlements: Added.
565 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
567 2015-09-30 Jason Marcell <jmarcell@apple.com>
569 BuildbotQueueView.prototype._appendPendingRevisionCount should skip repositories that don't
570 have an associated trac instance.
571 https://bugs.webkit.org/show_bug.cgi?id=149673
573 Reviewed by Alexey Proskuryakov.
575 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
576 (BuildbotQueueView.prototype._appendPendingRevisionCount): Skip repositories that don't
577 have an associated trac instance.
579 2015-09-30 Daniel Bates <dabates@apple.com>
581 Prioritize testing latest build request on iOS test bots
582 https://bugs.webkit.org/show_bug.cgi?id=149669
584 Reviewed by Darin Adler.
586 We should prioritize testing of the latest build request on the iOS test bots
587 as we do for Mac and Windows test bots.
589 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
592 2015-09-30 Daniel Bates <dabates@apple.com>
594 Add buildbot category for iOS builders and testers
595 https://bugs.webkit.org/show_bug.cgi?id=149667
597 Reviewed by Darin Adler.
599 Group iOS builders and testers under category iOS and add dashboard and console hyperlinks
600 for iOS to the build.webkit.org home page.
602 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
604 * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
606 2015-09-30 Daniel Bates <dabates@apple.com>
608 Actually fix the Mac builders build after <http://trac.webkit.org/changeset/190219>
609 (https://bugs.webkit.org/show_bug.cgi?id=149539)
611 I inadvertently didn't remove the ONLY_ACTIVE_ARCH=NO flag when building on a Mac
612 in <http://trac.webkit.org/changeset/190351>.
614 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
615 (CompileWebKit.start):
617 2015-09-30 Daniel Bates <dabates@apple.com>
619 Attempt to fix the Mac builders build after <http://trac.webkit.org/changeset/190219>
620 (https://bugs.webkit.org/show_bug.cgi?id=149539)
622 {32, 64}-bit Mac builders should not try to build project {Plugin.64, Plugin.32},
623 respectively; only pass ONLY_ACTIVE_ARCH=NO when building for iOS.
625 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
626 (CompileWebKit.start):
628 2015-09-30 Lucas Forschler <lforschler@apple.com>
630 bot210 was configured for a queue instead of bot126.
632 Unreviewed config.json fix.
634 * BuildSlaveSupport/build.webkit.org-config/config.json:
636 2015-09-30 Lucas Forschler <lforschler@apple.com>
638 Bring El Capitan buildbot infrastructure online.
639 https://bugs.webkit.org/show_bug.cgi?id=149605
641 Reviewed by Darin Adler.
643 * BuildSlaveSupport/build.webkit.org-config/config.json:
645 2015-09-30 Tomas Popela <tpopela@redhat.com>
647 [GTK] Deprecation warnings in DOMNodeTest
648 https://bugs.webkit.org/show_bug.cgi?id=149663
650 After the webkit_dom_document_get_elements_by_tag_name deprecation we
651 need to update the tests to use webkit_dom_document_query_selector_all
652 to avoid compilation warnings.
654 Also add a new test for webkit_dom_document_get_elements_by_tag_name_as_html_collection
655 (the suggested replacement for the deprecated function).
657 Reviewed by Carlos Garcia Campos.
659 * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
660 (WebKitDOMNodeTest::testTagNamesNodeList):
661 (WebKitDOMNodeTest::testTagNamesHTMLCollection):
663 (WebKitDOMNodeTest::testTagNames): Deleted.
664 * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
665 (prepareDOMForTagNamesTests):
666 (testWebKitDOMNodeTagNamesNodeList):
667 (testWebKitDOMNodeTagNamesHTMLCollection):
669 (testWebKitDOMNodeTagNames): Deleted.
671 2015-09-29 Simon Fraser <simon.fraser@apple.com>
673 WebKitTestRunner fails to apply "useFlexibleViewport" when it's specified in a file comment
674 https://bugs.webkit.org/show_bug.cgi?id=149650
676 Reviewed by Tim Horton.
678 TestInvocation::invoke() consulted shouldMakeViewportFlexible(), but that only
679 looks at the file path, and not the custom options that come from file comments.
681 Fix by computing TestOptions before making the TestInvocation, and setting them
682 as const TestInvocation data. This meant changing various call sites to take
683 the std::string pathOrURL, rather than the TestInvocation itself.
685 Also initialize TestInvocation with a WKURLRef, rather than a std::string.
687 * WebKitTestRunner/CMakeLists.txt:
688 * WebKitTestRunner/TestController.cpp:
689 (WTR::TestController::ensureViewSupportsOptionsForTest):
691 (WTR::createTestURL):
692 (WTR::updateTestOptionsFromTestHeader):
693 (WTR::TestController::testOptionsForTest):
694 (WTR::TestController::updateWebViewSizeForTest):
695 (WTR::TestController::updateWindowScaleForTest):
696 (WTR::TestController::runTest):
697 * WebKitTestRunner/TestController.h:
698 * WebKitTestRunner/TestInvocation.cpp:
699 (WTR::TestInvocation::TestInvocation):
700 (WTR::TestInvocation::invoke):
701 (WTR::createWKURL): Deleted.
702 (WTR::TestInvocation::shouldMakeViewportFlexible): Deleted.
703 (WTR::TestInvocation::shouldUseFixedLayout): Deleted.
704 * WebKitTestRunner/TestInvocation.h:
705 (WTR::TestInvocation::options):
706 * WebKitTestRunner/TestOptions.cpp: Copied from Tools/WebKitTestRunner/TestOptions.h.
708 (WTR::shouldMakeViewportFlexible):
709 (WTR::shouldUseFixedLayout):
710 (WTR::isSVGTestPath):
711 (WTR::isHiDPITestPath):
712 (WTR::TestOptions::TestOptions):
713 * WebKitTestRunner/TestOptions.h:
714 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
715 * WebKitTestRunner/efl/TestControllerEfl.cpp:
717 (WTR::shouldUseFixedLayout):
718 (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
719 * WebKitTestRunner/gtk/TestControllerGtk.cpp:
720 (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
721 * WebKitTestRunner/ios/TestControllerIOS.mm:
722 (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
723 * WebKitTestRunner/mac/TestControllerMac.mm:
724 (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
726 2015-09-29 Aakash Jain <aakash_jain@apple.com>
728 Flakiness dashboard should support OS X El Capitan
729 https://bugs.webkit.org/show_bug.cgi?id=149648
731 Reviewed by Alexey Proskuryakov.
733 * QueueStatusServer/app.yaml: We do not need to maintain SVN revision here because of
734 difference between new appscale and old Google App Engine implementation.
735 * TestResultServer/app.yaml: Same.
736 * TestResultServer/static-dashboards/builders.jsonp: Added OSX El Capitan support.
738 2015-09-29 Daniel Bates <dabates@apple.com>
740 configure-xcode-for-ios-development does not work with Xcode 7
741 https://bugs.webkit.org/show_bug.cgi?id=149640
743 Reviewed by Alexey Proskuryakov.
745 When Xcode 7 is installed, running configure-xcode-for-ios-development dies with an error
746 because it cannot find the Xcode specification files for iOS simulator and device. These
747 files have moved to a new location in Xcode 7 distribution. Moreover we must add the
748 relevant definitions to the Xcode 7 specification files directly as opposed to creating
749 new specification files with the added definitions (as we did in older versions of Xcode)
750 in order for Xcode 7 to honor these definitions.
752 * Scripts/configure-xcode-for-ios-development: Sorted forward declarations.
753 (updateXcodeSpecificationFilesForSDKIfNeeded): Added.
754 (updateXcode7SpecificationFile): Added.
755 (createLegacyXcodeSpecificationFilesForSDKIfNeeded): Formerly named createXcodeSpecificationFilesForSDKIfNeeded.
756 (writeXcodeSpecification): Moved congratulations line to caller so as to write out the
757 appropriate success message.
758 (mergeXcodeSpecificationWithSpecificationAndId): Formerly named createXcodeSpecificationFromSpecificationAndId.
759 (createXcodeSpecificationFilesForSDKIfNeeded): Deleted.
760 (createXcodeSpecificationFromSpecificationAndId): Deleted.
762 2015-09-29 Brent Fulgham <bfulgham@apple.com>
764 [Win] Allow 'prepare-ChangeLog' to be used without Cygwin
765 https://bugs.webkit.org/show_bug.cgi?id=149639
767 Reviewed by Alex Christensen.
769 * Scripts/VCSUtils.pm:
770 (exitStatus): Use 'isWindows()' method.
771 (isSVNVersion16OrNewer): 'eval' is not needed here, and just causes
772 an error. This method could probably just go away.
773 (normalizePath): Leave Windows (or Unix) paths as platform paths, rather than
774 always changing to Unix style.
775 (unixPath): Added. Needed so Windows can always show a Unix path in the
777 (changeLogName): Work around the fact that 'getpwuid' is not available on
778 a pure Windows build of Perl.
779 * Scripts/prepare-ChangeLog:
780 (generateFunctionLists): Normalize path received from 'svn' in case it's a Unix
782 (svnUpdateCommand): Added helper function. Needed because Windows Perl does not
783 support using arrays for 'open' arguments.
784 (resolveChangeLogsPath): Ditto.
785 (resolveConflictedChangeLogs): Use new helper functions.
786 (generateNewChangeLogs): Force Windows to use Unix paths in ChangeLog output.
787 (diffCommand): Use double-quotes for paths, since Windows doesn't understand single
788 quotes. Unix systems are happy either way.
789 (statusCommand): Ditto.
790 * Scripts/webkitdirs.pm:
791 (launcherName): Drive-by fix. WinLauncher was renamed to MiniBrowser some time ago.
793 2015-09-29 Brent Fulgham <bfulgham@apple.com>
795 [Win] Unreviewed 64-bit build fix after switch to CMake.
797 * Scripts/webkitdirs.pm:
798 (determineIsWin64FromArchitecture): Added.
800 2015-09-16 Carlos Garcia Campos <cgarcia@igalia.com>
802 printing does not use minimum page zoom factor
803 https://bugs.webkit.org/show_bug.cgi?id=108507
805 Reviewed by Darin Adler.
807 WebKitTestRunner always takes the snapshots from the UI process
808 (expect for IOS), so in the case of printing, the layout in the
809 web view is not the expected one. When printing, we need to take
810 the snapshot in the web process and ensure it's rendered with a
813 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
814 (WTR::InjectedBundlePage::dump): When dumping pixels, pass
815 kWKSnapshotOptionsPrinting option to
816 WKBundlePageCreateSnapshotWithOptions() when printing.
818 2015-09-28 Carlos Garcia Campos <cgarcia@igalia.com>
820 [WTR] Pixel tests generate the snapshots twice in Web and UI processes
821 https://bugs.webkit.org/show_bug.cgi?id=149595
823 Reviewed by Tim Horton.
825 All ports except IOS implement
826 PlatformWebView::windowSnapshotImage() to generate the snapshot
827 for the pixel tests in the UI process. But we are still generating
828 a snapshot for pixel tests in the Web process too, that is passed
829 to the UI process but ignored.
830 Whether a pixel result is needed or not, is only known by the web
831 process depending on whether the test called dumpAsText with
832 dumpPixels == true or not. Since the pixels are now dump in the UI
833 process, we need to pass that information to the UI process when
834 the test is done. For that we set a PixelResultIsPending bool
835 parameter to the Done message, and we only add the PixelResult
836 when UI process doesn't need to generate the pixels dump.
838 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
839 (WTR::InjectedBundle::didReceiveMessageToPage): Set
840 m_pixelResultIsPending to false on reset.
841 (WTR::InjectedBundle::done): Add PixelResultIsPending parameter to the
842 Done message, and set the PixelResult if m_pixelResultIsPending is false.
843 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
844 (WTR::InjectedBundle::setPixelResult): Set m_pixelResultIsPending to false.
845 (WTR::InjectedBundle::setNeedsPixelResult): Set m_pixelResultIsPending.
846 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
847 (WTR::InjectedBundlePage::dump): Only create a snapshot for IOS
849 * WebKitTestRunner/TestInvocation.cpp:
850 (WTR::TestInvocation::dumpResults): Use either the pixel result
851 from the web process or generate a pixel result from the web view
853 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
854 * WebKitTestRunner/TestInvocation.h: Add SnapshotResultType enum
855 parameter to dumpPixelsAndCompareWithExpected, since the snapshot
856 is created by the caller now, but the CG implementation needs to
857 know if it's a Web or UI process snapshot.
858 * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
859 (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
860 cairo surface for the given image.
861 * WebKitTestRunner/cg/TestInvocationCG.cpp:
862 (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
863 CGContext for the given image.
865 2015-09-28 Dean Johnson <dean_johnson@apple.com>
867 Fix JS errors on dashboard metrics page
868 https://bugs.webkit.org/show_bug.cgi?id=149608
870 Reviewed by Alexey Proskuryakov.
872 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Updated to use Settings.
873 (initPlatformsByFamily):
874 (updateHiddenPlatforms):
875 (parsePlatformFamily): Deleted.
876 (updateToggleButtons): Deleted.
877 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsMain.js:
878 (updateHiddenPlatforms): Added to remove errors.
879 (initPlatformsByFamily): Added to remove errors.
880 (unhiddenQueues): Updated to use Settings.
881 (documentReady): Added logic to add toggle buttons to the settings menu.
882 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Settings.js:
883 (Settings.prototype.parsePlatformFamily): Moved duplicate logic from Main.js and
884 MetricsMain.js to Settings.
885 (Settings.prototype.updateToggleButtons): Moved duplicate logic from Main.js and
886 MetricsMain.js to Settings.
887 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/QueueView.js:
888 (QueueView.prototype._updateHiddenState): Updated to use Settings.
890 2015-09-28 Aakash Jain <aakash_jain@apple.com>
892 Appscale query fails because of missing index
893 https://bugs.webkit.org/show_bug.cgi?id=149609
895 Reviewed by Darin Adler.
897 * QueueStatusServer/index.yaml: Added the required index.
899 2015-09-28 Brent Fulgham <bfulgham@apple.com>
901 [Win] Fix the 64-bit build after switch to cmake.
903 Reviewed by Alex Christensen.
905 * Scripts/webkitdirs.pm:
906 (generateBuildSystemFromCMakeProject): Use correct arguments for cmake to
909 2015-09-28 Brent Fulgham <bfulgham@apple.com>
911 [Win] Allow Windows to run test-webkitpy without Cygwin
912 https://bugs.webkit.org/show_bug.cgi?id=149602
914 Reviewed by Alex Christensen.
916 These changes mostly shift from hard-coded paths using UNIX-style
917 separators to Python's "os.path.join" syntax that uses the correct
918 path separator for each platform.
920 * Scripts/webkitpy/common/system/path.py:
921 (cygpath): Don't pass paths through Cygpath on native Windows.
922 * Scripts/webkitpy/port/win.py:
923 (WinPort._path_to_apache): Use os.path.join.
924 (WinPort._ntsd_location): Support 64-bit environment (ProgramW6432 doesn't exist
925 in 64-bit environments).
926 * Scripts/webkitpy/style/checker.py: Use os.path.join.
927 * Scripts/webkitpy/style/checker_unittest.py:
928 (GlobalVariablesTest.test_path_rules_specifier.assertNoCheck): Use os.path.join.
929 (GlobalVariablesTest.test_path_rules_specifier): Ditto.
930 (GlobalVariablesTest): Ditto.
931 (GlobalVariablesTest.test_max_reports_per_category): Ditto.
932 (CheckerDispatcherSkipTest.test_should_skip_with_warning): Ditto.
933 (CheckerDispatcherDispatchTest.test_js_paths): Ditto.
934 (CheckerDispatcherDispatchTest.test_json_paths): Ditto.
935 (CheckerDispatcherDispatchTest.test_python_paths): Ditto.
936 (CheckerDispatcherDispatchTest.test_text_paths): Ditto.
937 (CheckerDispatcherDispatchTest.test_xml_paths): Ditto.
938 (StyleProcessor_CodeCoverageTest._create_carriage_checker_class): Ditto.
939 (StyleProcessor_CodeCoverageTest): Ditto.
940 (StyleProcessor_CodeCoverageTest.test_should_process__skip_without_warning): Ditto.
941 (StyleProcessor_CodeCoverageTest.test_should_process__skip_with_warning): Ditto.
942 (StyleProcessor_CodeCoverageTest.test_should_process__true_result): Ditto.
943 * Scripts/webkitpy/w3c/test_parser_unittest.py: Uses os.path.join rather than
944 manual string concatenation of paths.
946 2015-09-28 Csaba Osztrogonác <ossy@webkit.org>
948 Add bugzilla addresses of committers to contributors.json
949 https://bugs.webkit.org/show_bug.cgi?id=149520
951 Reviewed by Darin Adler.
953 * Scripts/webkitpy/common/config/contributors.json:
955 2015-09-28 Csaba Osztrogonác <ossy@webkit.org>
957 validate-committer-lists -b shouldn't need edituser privileges
958 https://bugs.webkit.org/show_bug.cgi?id=149519
960 Reviewed by Darin Adler.
962 * Scripts/validate-committer-lists:
963 (CommitterListBugzillaChecker._has_invalid_bugzilla_email):
964 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
965 (BugzillaQueries.is_invalid_bugzilla_email):
966 (BugzillaQueries): Deleted.
967 (BugzillaQueries.fetch_logins_matching_substring): Deleted.
969 2015-09-26 Carlos Garcia Campos <cgarcia@igalia.com>
971 Unreviewed. Gardening: skip media stream tests failing after r190262.
973 * Scripts/run-gtk-tests:
976 2015-09-25 Alexey Proskuryakov <ap@apple.com>
978 [Mac] USE_INTERNAL_SDK is used undefined in tools projects
979 https://bugs.webkit.org/show_bug.cgi?id=149571
981 Reviewed by Dan Bernstein.
983 Use the same pattern as in Source directory configurations (so, also get rid of AspenFamily.xcconfig).
985 * DumpRenderTree/mac/Configurations/Base.xcconfig:
986 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
987 * LayoutTestRelay/Configurations/Base.xcconfig:
988 * MiniBrowser/Configurations/Base.xcconfig:
989 * MiniBrowser/Configurations/DebugRelease.xcconfig:
990 * TestWebKitAPI/Configurations/Base.xcconfig:
991 * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
992 * WebEditingTester/Configurations/Base.xcconfig:
993 * WebEditingTester/Configurations/DebugRelease.xcconfig:
994 * WebKitTestRunner/Configurations/Base.xcconfig:
995 * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
996 * WebKitTestRunner/iOS.xcconfig: Removed.
998 2015-09-25 Eric Carlson <eric.carlson@apple.com>
1000 Clean up user media request internal API
1001 https://bugs.webkit.org/show_bug.cgi?id=149527
1003 Reviewed by Tim Horton.
1005 * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
1006 (TestWebKitAPI::decidePolicyForUserMediaPermissionRequestCallBack): Update for API changes.
1008 * WebKitTestRunner/TestController.cpp:
1009 (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Ditto.
1011 2015-09-25 Simon Fraser <simon.fraser@apple.com>
1013 [iOS WK2] Add viewport tests and fix runUIScript() timing issues
1014 https://bugs.webkit.org/show_bug.cgi?id=149577
1016 Reviewed by Tim Horton.
1018 When calling testRunner.runUIScript() from a page load event, the script could run
1019 in the UI process before the current remote layer tree transaction had been handled
1020 there. This meant that runUIScript() could query state which was about to change.
1022 Fix by delaying the execution of the UI script until a layer tree transaction has
1023 been handled by the UI process, leveraging the existing DrawingAreaProxy::dispatchAfterEnsuringDrawing().
1025 * WebKitTestRunner/TestInvocation.cpp:
1026 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1027 (WTR::TestInvocation::runUISideScriptAfterUpdateCallback):
1028 * WebKitTestRunner/TestInvocation.h:
1030 2015-09-25 Alexey Proskuryakov <ap@apple.com>
1032 [Mac] Media tests start to time out after a few days of bot uptime
1033 https://bugs.webkit.org/show_bug.cgi?id=149468
1035 Reviewed by Darin Adler.
1037 Delete cache directory in addition to the temporary one. Don't delete /private/tmp/MediaCache,
1038 as it's not longer used by tests. Set TMPDIR and DIRHELPER_USER_DIR_SUFFIX to make
1039 all temporary and cache files go to a custom location.
1041 * Scripts/webkitpy/port/base.py:
1042 * Scripts/webkitpy/port/driver.py:
1043 * Scripts/webkitpy/port/mac.py:
1044 * Scripts/webkitpy/port/win.py:
1045 (WinPort._driver_tempdir_for_environment): Deleted unused function.
1047 2015-09-25 Dan Bernstein <mitz@apple.com>
1049 Removed MiniBrowser.entitlements.
1051 Rubber-stamped by Anders Carlsson.
1053 The entitlements weren’t used anyway.
1055 * MiniBrowser/MiniBrowser.entitlements: Removed.
1056 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
1058 2015-09-24 Daniel Bates <dabates@apple.com>
1060 Add WebKitSystemInterface for iOS 9.0
1061 https://bugs.webkit.org/show_bug.cgi?id=149550
1063 Rubber-stamped by Alexey Proskuryakov.
1065 * Scripts/copy-webkitlibraries-to-product-directory:
1067 2015-09-24 Daniel Bates <dabates@apple.com>
1069 Support building for arbitrary architectures
1070 https://bugs.webkit.org/show_bug.cgi?id=149539
1072 Reviewed by Alexey Proskuryakov.
1074 Teach buildbot to pass the architectures associated with the builder to build-webkit
1075 when building on OS X and iOS. As a side effect of this change we now support building
1076 universal binaries when multiples architectures are specified.
1078 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1079 (CompileWebKit.start):
1081 2015-09-24 Daniel Bates <dabates@apple.com>
1083 Fix the build after <http://trac.webkit.org/changeset/190212>
1084 (http://trac.webkit.org/changeset/190212)
1086 I inadvertently did not remove the fullPlatform argument from one of the callers of archiveBuiltProduct().
1088 * BuildSlaveSupport/built-product-archive:
1091 2015-09-24 Daniel Bates <dabates@apple.com>
1093 Support running unit tests on iOS Simulator test bot
1094 https://bugs.webkit.org/show_bug.cgi?id=149536
1096 Reviewed by Alexey Proskuryakov.
1098 Implements support for running unit tests on a iOS test bot. At the time of writing,
1099 the script run-api-tests supports running unit tests on Mac, Windows and iOS Simulator.
1101 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1102 (RunUnitTests.start): Append appropriate command line flag when invoking script run-api-tests.
1103 (TestFactory.__init__): Add step RunUnitTests when the test bot is for the iOS Simulator platform.
1105 2015-09-24 Daniel Bates <dabates@apple.com>
1107 Add support infrastructure for OpenSource iOS builders and testers
1108 https://bugs.webkit.org/show_bug.cgi?id=149534
1110 Reviewed by Darin Adler.
1112 Towards setting up OpenSource iOS build bots, teach buildbot and its support
1115 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1116 (appendCustomBuildFlags): Require the caller to pass parameter fullPlatform and append
1117 --ios-simulator or --device for a builder/tester whose full platform name begins with
1118 "ios-simulator" or "ios", respectively.
1119 (RunJavaScriptCoreTests.start): Pass the full platform name to appendCustomBuildFlags().
1120 * BuildSlaveSupport/built-product-archive:
1121 (main): Pass the full platform name to determineWebKitBuildDirectory().
1122 (determineWebKitBuildDirectory): Call script webkit-build-directory with the appropriate
1123 command line flag when building for iOS.
1124 (archiveBuiltProduct): Use the same logic for iOS as we do for Mac. Also, remove unused
1125 parameter fullPlatform. This parameter was originally added in r125066 to support the
1126 Chromium Android port, which has since been removed from the OpenSource WebKit Project.
1127 (extractBuiltProduct): Use the same logic for iOS as we do for Mac.
1128 * BuildSlaveSupport/clean-build:
1129 (main): Call script webkit-build-directory with the appropriate command line flag when
1131 * BuildSlaveSupport/delete-stale-build-files:
1132 (main): Use the same logic for iOS as we do for Mac.
1133 (webkitBuildDirectory): Call script webkit-build-directory with the appropriate command line
1134 flag when building for iOS.
1135 * BuildSlaveSupport/test-result-archive:
1136 (archiveTestResults): Use the same logic for iOS as we do for Mac.
1138 2015-09-24 Daniel Bates <dabates@apple.com>
1140 Remove Chromium-specific changes to script built-product-archive
1141 https://bugs.webkit.org/show_bug.cgi?id=149530
1143 Rubber-stamped by Csaba Osztrogonác.
1145 Reverts changes made in r113074 and r113067 to support Chromium testers. The
1146 Chromium code has long since been removed from the OpenSource WebKit Project.
1148 * BuildSlaveSupport/built-product-archive:
1149 (createZipManually):
1151 (archiveBuiltProduct):
1153 2015-09-24 Dan Bernstein <mitz@apple.com>
1157 * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig:
1159 2015-09-24 Mark Lam <mark.lam@apple.com>
1161 Unreviewed. Make Lucas Forschler a WebKit reviewer.
1163 * Scripts/webkitpy/common/config/contributors.json:
1165 2015-09-24 Carlos Garcia Campos <cgarcia@igalia.com>
1167 Unreviewed. Fix GObject DOM API breaks after r190120.
1169 Bring back code removed in r169931 to handle documentation of
1173 (WebKitDOMDocGenerator):
1174 (WebKitDOMDocGenerator.write_deleted_classes):
1175 (WebKitDOMDocGenerator.generate):
1176 (write_deleted_classes):
1177 (WebKitDOMDocGeneratorSections._deleted_class):
1178 (WebKitDOMDocGeneratorSections._deleted_class.in):
1179 (WebKitDOMDocGeneratorSections.write_deleted_classes):
1180 (WebKitDOMDocGeneratorSections.write_deleted_classes.with):
1182 2015-09-23 Myles C. Maxfield <mmaxfield@apple.com>
1184 [Cocoa] [Font Features] Implement font-variant-*
1185 https://bugs.webkit.org/show_bug.cgi?id=148413
1187 Reviewed by Darin Adler.
1189 Update test font to use "lnum" feature.
1191 * FontWithFeatures/FontWithFeatures/FontCreator.cpp:
1192 (Generator::appendGSUBTable):
1194 2015-09-22 Andy Estes <aestes@apple.com>
1196 ContentFiltering.AllowDownloadAfterAddData is very flaky
1197 https://bugs.webkit.org/show_bug.cgi?id=148885
1198 <rdar://problem/22729563>
1200 Reviewed by Alexey Proskuryakov.
1202 The AllowDownload* tests were relying on -_downloadDidStart: being called before -webView:didFinishNavigation:,
1203 but there is no guarantee of this. For tests that should allow a download, spin the runloop until
1204 -_downloadDidStart: is called. The test will now timeout on failure, but will no longer produce false failures.
1206 * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
1209 2015-09-22 Alexey Proskuryakov <ap@apple.com>
1211 Mavericks: Media tests start to time out after a few days of bot uptime
1212 https://bugs.webkit.org/show_bug.cgi?id=149468
1214 Reviewed by Chris Dumez.
1216 * Scripts/webkitpy/port/base.py:
1217 * Scripts/webkitpy/port/driver.py:
1218 * Scripts/webkitpy/port/mac.py:
1220 2015-09-22 Nan Wang <n_wang@apple.com>
1222 Unreviewed, add myself to the committers list.
1224 * Scripts/webkitpy/common/config/contributors.json:
1226 2015-09-21 Simon Fraser <simon.fraser@apple.com>
1228 Remove 'nullable' to fix older iOS builds.
1230 * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
1231 (-[TestRunnerWKWebView scrollViewDidEndZooming:withView:atScale:]):
1233 2015-09-21 Brent Fulgham <bfulgham@apple.com>
1235 [Win] Show tiled drawing debug overlay on Windows
1236 https://bugs.webkit.org/show_bug.cgi?id=149426
1238 Reviewed by Dean Jackson.
1240 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc: Add new menu option.
1241 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h: Ditto.
1242 * MiniBrowser/win/Common.cpp:
1243 (::ToggleMenuItem): Recognize new menu item and toggle the 'showTiledScrollingIndicator'
1245 * MiniBrowser/win/MiniBrowser.h: Update to use new IWebPreferencesPrivate3 class.
1247 2015-09-21 Brent Fulgham <bfulgham@apple.com>
1249 [Win] Use command-line argument to launch in regular or High DPI mode.
1250 https://bugs.webkit.org/show_bug.cgi?id=149417
1252 Reviewed by Dean Jackson.
1254 * MiniBrowser/win/Common.cpp:
1255 (parseCommandLine): Ignore the '--highDPI' argument. It's used at the
1256 very start of execution, before the MiniBrowser.dll is loaded.
1257 * win/DLLLauncher/DLLLauncherMain.cpp:
1258 (shouldUseHighDPI): Check for '--highDPI', and use this mode if
1259 present. On WinCairo, always use High DPI.
1261 2015-09-21 Ryosuke Niwa <rniwa@webkit.org>
1263 32-bit Mac build fix attempt after r190065.
1265 * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
1267 2015-09-21 Alexey Proskuryakov <ap@apple.com>
1269 [OS X] Update for Xcode 7.0 on Yosemite
1270 https://bugs.webkit.org/show_bug.cgi?id=149389
1272 Reviewed by Dan Bernstein.
1274 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h:
1275 * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h:
1276 Removed unneeded declarations - conforming to a protocol is sufficient.
1278 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
1279 * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm:
1280 Changed the definitions to be compiled whenever the SDK requires it (so we will have
1281 dead code compiled in when building for 10.10 with 10.11 SDK, somewhat unfortunately).
1283 2015-09-21 Simon Fraser <simon.fraser@apple.com>
1285 Add the ability for tests to run script in the UI process in WebKitTestRunner
1286 https://bugs.webkit.org/show_bug.cgi?id=149356
1288 Reviewed by Tim Horton.
1290 This change adds testRunner.runUIScript(script, callback), which allows a test
1291 to execute script in a JSContext which runs in the UI process. That context
1292 has bindings exposed through the UIScriptController interface; currently one test
1293 function, and some iOS-specific functions are included. UIScriptController can be
1294 async with a callback, and runUIScript() itself is asynchronous. When the UI
1295 script is complete, it calls uiController.uiScriptComplete(result), where 'result'
1296 is a string passed back to the web process, and given to the runUIScript()
1299 Thanks to Gyuyoung Kim for help with the Gtk/Efl build.
1301 * WebKitTestRunner/DerivedSources.make: Build UIScriptController.idl.
1302 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Add runUIScript().
1303 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1304 (WTR::InjectedBundle::didReceiveMessageToPage): When the UI-side script is
1305 complete, call back into TestRunner.
1306 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1307 (WTR::nextUIScriptCallbackID):
1308 (WTR::TestRunner::runUIScript): Post a message to the injected bundle to run the UI script.
1309 (WTR::TestRunner::runUIScriptCallback): When the UI script is done, execute its callback function.
1310 * WebKitTestRunner/InjectedBundle/TestRunner.h:
1311 * WebKitTestRunner/PlatformWebView.h:
1312 * WebKitTestRunner/TestController.cpp:
1313 (WTR::updateTestOptionsFromTestHeader):
1314 (WTR::TestController::testOptionsForTest): Support "useFlexibleViewport" as a test argument.
1315 (WTR::shouldUseFixedLayout): Deleted. Moved to a TestInvocation function.
1316 * WebKitTestRunner/TestInvocation.cpp:
1317 (WTR::TestInvocation::shouldUseFixedLayout):
1318 (WTR::TestInvocation::shouldUseThreadedScrolling):
1319 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1320 (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1321 (WTR::TestInvocation::runUISideScript): Run the UI-side script!
1322 (WTR::TestInvocation::uiScriptDidComplete): Send a message back to the injected bundle.
1323 * WebKitTestRunner/TestInvocation.h:
1324 * WebKitTestRunner/TestOptions.h:
1325 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1326 * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1327 * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: Copied from Tools/WebKitTestRunner/TestOptions.h.
1328 * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: Added.
1329 (-[TestRunnerWKWebView dragImage:at:offset:event:pasteboard:source:slideBack:]):
1330 (-[TestRunnerWKWebView zoomToScale:animated:completionHandler:]):
1331 (-[TestRunnerWKWebView scrollViewDidEndZooming:withView:atScale:]):
1332 (-[TestRunnerWKWebView onDidEndZooming:]): Allow a test to hook into the end of zooming.
1333 * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1334 (WTR::PlatformWebView::PlatformWebView): Make a TestRunnerWKWebView on iOS.
1335 * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Added.
1336 (WTR::UIScriptController::doAsyncTask):
1337 (WTR::UIScriptController::zoomToScale):
1338 (WTR::UIScriptController::zoomScale):
1339 (WTR::UIScriptController::minimumZoomScale):
1340 (WTR::UIScriptController::maximumZoomScale):
1341 (WTR::UIScriptController::contentVisibleRect):
1342 * WebKitTestRunner/mac/EventSenderProxy.mm:
1343 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1344 (-[TestRunnerWKWebView dragImage:at:offset:event:pasteboard:source:slideBack:]): Deleted.
1345 * WebKitTestRunner/mac/TestControllerMac.mm:
1346 (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
1347 (WTR::shouldUseThreadedScrolling): Deleted. Moved to TestInvocation.
1348 * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h:
1349 * WebKitTestRunner/uiscriptcontext/UIScriptContext.cpp: Added. Owns the JS context in the UI process.
1350 (UIScriptContext::UIScriptContext):
1351 (UIScriptContext::~UIScriptContext):
1352 (UIScriptContext::runUIScript): Entrypoint to running the UI script. If the script didn't do anything
1353 asynchronous, call the callback.
1354 (UIScriptContext::nextTaskCallbackID):
1355 (UIScriptContext::prepareForAsyncTask): Do setup for one async task (i.e. a UIScriptController function
1356 that has a callback). Has to store the callbackID of the script, so code called from the completion
1357 callback knows which UI script invoked it.
1358 (UIScriptContext::asyncTaskComplete): Called when one task is finished.
1359 (UIScriptContext::uiScriptComplete):
1360 (UIScriptContext::objectFromRect): Make a JS object from a rect.
1361 * WebKitTestRunner/uiscriptcontext/UIScriptContext.h: Copied from Tools/WebKitTestRunner/TestOptions.h.
1362 (WTR::UIScriptContext::hasOutstandingAsyncTasks):
1363 * WebKitTestRunner/uiscriptcontext/UIScriptController.cpp: Copied from Tools/WebKitTestRunner/TestOptions.h.
1364 (WTR::UIScriptController::UIScriptController):
1365 (WTR::UIScriptController::makeWindowObject):
1366 (WTR::UIScriptController::wrapperClass):
1367 (WTR::UIScriptController::doAsyncTask):
1368 (WTR::UIScriptController::zoomToScale):
1369 (WTR::UIScriptController::zoomScale):
1370 (WTR::UIScriptController::minimumZoomScale):
1371 (WTR::UIScriptController::maximumZoomScale):
1372 (WTR::UIScriptController::contentVisibleRect):
1373 (WTR::UIScriptController::uiScriptComplete):
1374 * WebKitTestRunner/uiscriptcontext/UIScriptController.h: Copied from Tools/WebKitTestRunner/TestOptions.h.
1375 (WTR::UIScriptController::create):
1376 * WebKitTestRunner/uiscriptcontext/bindings/UIScriptController.idl: Copied from Tools/WebKitTestRunner/TestOptions.h.
1378 2015-09-21 Tim Horton <timothy_horton@apple.com>
1380 Turn on threaded scrolling by default in the tests
1381 https://bugs.webkit.org/show_bug.cgi?id=149377
1383 Reviewed by Simon Fraser.
1385 * WebKitTestRunner/mac/TestControllerMac.mm:
1386 (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
1387 (WTR::shouldUseThreadedScrolling): Deleted.
1388 Turn on threaded scrolling by default.
1390 2015-09-21 Carlos Garcia Campos <cgarcia@igalia.com>
1392 [GTK] run-gtk-tests doesn't provide feedback about crashing google tests
1393 https://bugs.webkit.org/show_bug.cgi?id=149252
1395 Reviewed by Darin Adler.
1397 In case of glib tests the test runner notifies about tests
1398 crashing, but for google tests we don't get any feedback, which
1399 means that in case of a test crashing we get a list of **PASS**
1400 messages and at the summary we are notified that the test suite
1401 has failed, but it's impossible to know which test cases have failed.
1403 * Scripts/run-gtk-tests:
1404 (TestRunner._run_google_test): Add a **CRASH** message if test
1407 2015-09-20 Alexey Proskuryakov <ap@apple.com>
1409 WebKitTestRunner can leak user content script results between tests
1410 https://bugs.webkit.org/show_bug.cgi?id=149391
1412 Reviewed by Sam Weinig.
1414 Move WKBundlePageRemoveAllUserContent call so that it's executed before loading
1415 about:blank, and thus about:blank doesn't have unintended side effects.
1417 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1418 (WTR::InjectedBundle::beginTesting):
1419 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1420 (WTR::InjectedBundlePage::resetAfterTest):
1422 2015-09-20 Alexey Proskuryakov <ap@apple.com>
1424 [Mac, iOS] AccessibilityController doesn't uninstall global notification handler
1425 https://bugs.webkit.org/show_bug.cgi?id=149384
1427 Reviewed by Chris Fleizach.
1429 * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
1430 (AccessibilityController::addNotificationListener): Fixed a leak, and cleaned up the code.
1431 (AccessibilityController::platformResetToConsistentState): Actually remove the handler,
1432 regardless of whether someone else holds a reference (we also call -stopListening in
1435 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1436 (AccessibilityController::platformResetToConsistentState):
1437 (AccessibilityController::addNotificationListener):
1440 2015-09-20 Youenn Fablet <youenn.fablet@crf.canon.fr>
1442 Remove XHR_TIMEOUT compilation guard
1443 https://bugs.webkit.org/show_bug.cgi?id=149260
1445 Reviewed by Benjamin Poulain.
1447 * Scripts/webkitperl/FeatureList.pm:
1449 2015-09-19 Dan Bernstein <mitz@apple.com>
1451 Attempted build fix.
1453 * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig:
1455 2015-09-18 Commit Queue <commit-queue@webkit.org>
1457 Unreviewed, rolling out r189908.
1458 https://bugs.webkit.org/show_bug.cgi?id=149368
1460 Broke run-webkit-tests --pixel (Requested by ap on #webkit).
1464 "printing does not use minimum page zoom factor"
1465 https://bugs.webkit.org/show_bug.cgi?id=108507
1466 http://trac.webkit.org/changeset/189908
1468 2015-09-18 Andy Estes <aestes@apple.com>
1470 [iOS] did{Start,Finish}LoadForQuickLookDocumentInMainFrame is never called on WKNavigationDelegate
1471 https://bugs.webkit.org/show_bug.cgi?id=149360
1473 Reviewed by Tim Horton.
1477 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1478 * TestWebKitAPI/Tests/WebKit2Cocoa/QuickLook.mm: Added.
1479 (-[QuickLookNavigationDelegate _webView:didStartLoadForQuickLookDocumentInMainFrameWithFileName:uti:]):
1480 (-[QuickLookNavigationDelegate _webView:didFinishLoadForQuickLookDocumentInMainFrame:]):
1481 (-[QuickLookNavigationDelegate webView:didFinishNavigation:]):
1483 * TestWebKitAPI/ios/pages.pages: Added.
1485 2015-09-18 Nan Wang <n_wang@apple.com>
1487 AX: Implement ARIA 1.1 @aria-current on iOS
1488 https://bugs.webkit.org/show_bug.cgi?id=149297
1490 Reviewed by Chris Fleizach.
1492 Added support to test aria-current on iOS.
1494 * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1495 (AccessibilityUIElement::stringAttributeValue):
1496 * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1497 (WTR::AccessibilityUIElement::stringAttributeValue):
1499 2015-09-18 Alexey Proskuryakov <ap@apple.com>
1501 iOS WebKitTestRunner frequently crashes in WKContextGetIconDatabase
1502 https://bugs.webkit.org/show_bug.cgi?id=149352
1504 Reviewed by Simon Fraser.
1506 * WebKitTestRunner/TestController.cpp: (WTR::TestController::~TestController):
1507 m_context can be null. This may indicate a bug in webkitpy too, but
1508 WebKitTestRunner should handle this situation nicely, there is nothing intrinsically
1509 wrong with opening and immediately closing it.
1511 2015-09-18 Daniel Bates <dabates@apple.com>
1513 isGitSVNDirectory() returns true when Git is not installed
1514 https://bugs.webkit.org/show_bug.cgi?id=149351
1516 Reviewed by Alexey Proskuryakov.
1518 Fixes an issue where VCSUtils::isGitSVNDirectory() returns true for any arbitrary directory if
1519 Git is not installed on the machine.
1521 * Scripts/VCSUtils.pm:
1522 (isGitSVNDirectory): Ensure that `git config --get svn-remote.svn.fetch 2>& 1` exits with
1523 status code 0 (success).
1525 2015-09-18 Alex Christensen <achristensen@webkit.org>
1527 Prevent build-webkit from building four times on Windows
1528 https://bugs.webkit.org/show_bug.cgi?id=149336
1530 Reviewed by Brent Fulgham.
1532 * Scripts/build-webkit:
1533 Move the Windows code out of the for loop iterating over each subdirectory to be build.
1534 They're built all at once.
1535 * Scripts/webkitdirs.pm:
1536 (buildVisualStudioProject):
1537 (cmakeGeneratedBuildfile):
1538 Don't generate the Visual Studio solution if it already exists.
1539 It will run CMake again if necessary.
1541 2015-09-17 Simon Fraser <simon.fraser@apple.com>
1543 [iOS WK2] WTR fails to set the key window in the UIKit sense
1544 https://bugs.webkit.org/show_bug.cgi?id=149325
1546 Reviewed by Tim Horton.
1548 -[WebKitTestRunnerWindow isKeyWindow] just returned _platformWebView->windowIsKey().
1549 This causes UIKit to bypass code that actually sets the key window, resulting in
1550 [UIAppliation sharedApplication].keyWindow always being nil.
1552 Fix by PlatformWebView::setWindowIsKey() actually call -makeKeyWindow, and having
1553 -[WebKitTestRunnerWindow isKeyWindow] call super.
1555 * WebKitTestRunner/PlatformWebView.h:
1556 (WTR::PlatformWebView::setWindowIsKey): Deleted.
1557 * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1558 (WTR::PlatformWebView::setWindowIsKey):
1559 * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1560 (WTR::PlatformWebView::setWindowIsKey):
1561 * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1562 (-[WebKitTestRunnerWindow isKeyWindow]):
1563 (WTR::PlatformWebView::PlatformWebView):
1564 (WTR::PlatformWebView::~PlatformWebView):
1565 (WTR::PlatformWebView::setWindowIsKey):
1566 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1567 (WTR::PlatformWebView::setWindowIsKey):
1569 2015-09-17 Simon Fraser <simon.fraser@apple.com>
1571 [iOS WK2] When loading viewport tests, use the normal web page viewport configuration
1572 https://bugs.webkit.org/show_bug.cgi?id=149321
1574 Reviewed by Tim Horton.
1576 InjectedBundlePage::platformDidStartProvisionalLoadForFrame() unconditionally
1577 enabled the "testing" viewport configuration, which disables page scaling.
1579 If we're running viewport tests, we want the normal web page configuration.
1580 Do that by passing a flag in the dictionary sent to InjectedBundle::beginTesting(),
1581 based on whether the test is in a "viewport" directory.
1583 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1584 (WTR::InjectedBundle::beginTesting):
1585 * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm:
1586 (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame): Deleted.
1587 * WebKitTestRunner/TestInvocation.cpp:
1588 (WTR::TestInvocation::shouldLogFrameLoadDelegates):
1589 (WTR::TestInvocation::shouldLogHistoryClientCallbacks):
1590 (WTR::TestInvocation::shouldMakeViewportFlexible):
1591 (WTR::TestInvocation::invoke):
1592 * WebKitTestRunner/TestInvocation.h:
1593 * WebKitTestRunner/ios/TestControllerIOS.mm:
1594 (WTR::TestController::platformConfigureViewForTest):
1595 (WTR::shouldMakeViewportFlexible): Deleted.
1597 2015-09-17 Simon Fraser <simon.fraser@apple.com>
1599 Give iOS WebKitTestRunner a launch storyboard
1600 https://bugs.webkit.org/show_bug.cgi?id=149314
1602 Reviewed by Dan Bates.
1604 Add a launch storyboard to iOS WebKitTestRunner so that Springboard recognizes
1605 that it's been built for specific device configurations, and puts the window
1606 at the top of the screen. This simplifies coordinate conversions in a future patch.
1608 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1609 * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Info.plist:
1610 * WebKitTestRunner/ios/Launch.storyboard: Added.
1612 2015-09-17 Myles C. Maxfield <mmaxfield@apple.com>
1614 Update licence in r189890
1615 https://bugs.webkit.org/show_bug.cgi?id=149306
1617 Reviewed by Dean Jackson.
1619 * FontWithFeatures/FontWithFeatures/FontCreator.cpp:
1620 * FontWithFeatures/FontWithFeatures/FontCreator.h:
1621 * FontWithFeatures/FontWithFeatures/main.cpp:
1623 2015-09-17 Mark Lam <mark.lam@apple.com>
1625 Add the ability to skip JIT stress tests in run-javascriptcore-tests.
1626 https://bugs.webkit.org/show_bug.cgi?id=149285
1628 Reviewed by Saam Barati.
1630 Just need to add an option to pass --no-jit to run-jsc-stress-test.
1632 * Scripts/run-javascriptcore-tests:
1633 (runJSCStressTests):
1635 2015-09-17 Alex Christensen <achristensen@webkit.org>
1637 Switch AppleWin build to use CMake
1638 https://bugs.webkit.org/show_bug.cgi?id=149163
1640 Reviewed by Brent Fulgham.
1642 * Scripts/build-webkit:
1643 * Scripts/run-api-tests:
1646 (prepareEnvironmentForRunningTestTool):
1648 (testToolPath): Deleted.
1649 Run the API tests as separate executables on Windows.
1650 It used to be TestWebKitAPI.exe, and it is now TestWTF.exe, TestWebCore.exe, and TestWebKit.exe.
1651 * Scripts/webkitdirs.pm:
1652 (checkRequiredSystemConfig):
1653 (jhbuildWrapperPrefixIfNeeded):
1654 (generateBuildSystemFromCMakeProject):
1655 Fix configuration quirks.
1657 2015-09-17 Dean Johnson <dean_johnson@apple.com>
1659 Added toggle options for hiding and showing certain platform families on the dashboard.
1660 https://bugs.webkit.org/show_bug.cgi?id=148403
1662 Reviewed by David Kilzer.
1664 This patch removes "hiddenPlatforms" from use in the code and local storage. We also removed
1665 individual hide/show buttons for platforms because we've added toggle options to hide/show entire
1666 families. Examples of these are "mac", "ios", and "linux". "Show All Platforms" was also removed
1667 in lieu of an "all" button in the toggle menu.
1669 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
1670 (parsePlatformFamily): Helper function to parse out a platform family.
1671 (initPlatformsByFamily): Initializes platformsByFamily, which organizes platforms on the
1672 page by platformsByFamily[<family>] = <list of platforms belonging to that family>.
1673 (updateToggleButtons): Updates the status of the toggle buttons.
1674 (updateHiddenPlatforms): Changed to work with the new implementation of hiding/showing platforms.
1675 (documentReady): Added creation of toggle buttons.
1676 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsMain.js:
1677 (unhiddenQueues): Updated to search by platform family instead of the individual platform name.
1678 (documentReady): Changed hiddenPlatforms => hiddenPlatformFamilies.
1679 (updateHiddenPlatforms): Deleted. After removing the individual hide button code,
1680 this did the exact same thing as the updateHiddenPlatforms in Scripts/Main.js so it was removed.
1681 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/QueueView.js:
1682 (QueueView): Updated to use hiddenPlatformFamilies.
1683 (QueueView.prototype._updateHiddenState): Updated to use hiddenPlatformFamilies.
1684 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Settings.js:
1685 (Settings.prototype.toggleHiddenPlatformFamily): Renamed function and some variables.
1686 (Settings.prototype.clearHiddenPlatformFamilies): Now uses hiddenPlatformFamilies for events.
1687 (Settings.prototype.toggleHiddenPlatform): Deleted.
1688 (Settings.prototype.clearHiddenPlatforms): Deleted.
1689 (Settings.prototype.toggleShowPlatformFamily): Deleted.
1690 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
1691 (div.cellButton, div.accessibilityButton, div.platformFamilyToggleButton):
1692 (div.cellButton.unhide, div.accessibilityButton.unhide, div.platformFamilyToggleButton.unhide):
1693 (.settings-visible div.settingsWrapper.hide, .settings-visible div.settingsWrapper):
1694 (table.queue-grid tr.headers th):
1695 (div.settingsWrapper.hide):
1696 (div.settingsWrapper):
1697 (div.familyToggleWrapper):
1698 (div.platformFamilyToggleButton):
1699 (div.platformFamilyShowToggleButton:not(:last-child)):
1701 (div.accessibilityButton):
1702 (div.cellButton, div.accessibilityButton): Added platformFamilyToggleButton class.
1703 (div.cellButton.unhide, div.accessibilityButton.unhide): Added platformFamilyToggleButton class.
1704 (.settings-visible div.accessibilityButton.hide, .settings-visible div.accessibilityButton.unhide): Added
1705 platformFamilyToggleButton and settingsWrapper class.
1706 (.accessibilityButton): Deleted.
1708 2015-09-17 Tim Horton <timothy_horton@apple.com>
1710 Add a test ensuring that scrolling in the middle of a page can't start a swipe gesture
1711 https://bugs.webkit.org/show_bug.cgi?id=148904
1713 Reviewed by Myles Maxfield.
1715 * WebKitTestRunner/TestController.cpp:
1716 (WTR::parseBooleanTestHeaderValue):
1717 (WTR::updateViewOptionsFromTestHeader):
1718 Check for the key "useThreadedScrolling".
1719 Add some code to check for "true" and "false" for boolean options.
1721 (WTR::TestController::viewOptionsForTest):
1722 Apply the test's overrides last, even after the platform's.
1724 2015-09-16 Carlos Garcia Campos <cgarcia@igalia.com>
1726 printing does not use minimum page zoom factor
1727 https://bugs.webkit.org/show_bug.cgi?id=108507
1729 Reviewed by Darin Adler.
1731 WebKitTestRunner always takes the snapshots from the UI process
1732 (expect for IOS), so in the case of printing, the layout in the
1733 web view is not the expected one. When printing, we need to take
1734 the snapshot in the web process and ensure it's rendered with a
1737 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1738 (WTR::InjectedBundlePage::dump): When dumping pixels, pass
1739 kWKSnapshotOptionsPrinting option to
1740 WKBundlePageCreateSnapshotWithOptions() when printing. When not
1741 printing, don't even create the snapshot, since it will be ignored
1742 by the UI process that always creates its own from the WebView (expect for IOS platform)
1743 * WebKitTestRunner/TestInvocation.cpp:
1744 (WTR::TestInvocation::dumpResults): Use always the snapshot image
1745 received from the web process if any when comparing pixel
1746 results. Now we only receive a snapshot from the web process in
1747 case of printing, or when platform is IOS. Otherwhise, generate
1748 the snapshot from the WebView as usual.
1749 * WebKitTestRunner/TestInvocation.h: Add SnapshotResultType enum
1750 parameter to dumpPixelsAndCompareWithExpected, since the snapshot
1751 is created by the caller now, but the CG implementation needs to
1752 know if it's a Web or UI process snapshot.
1753 * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
1754 (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
1755 cairo surface for the given image.
1756 * WebKitTestRunner/cg/TestInvocationCG.cpp:
1757 (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
1758 CGContext for the given image.
1760 2015-09-16 Myles C. Maxfield <mmaxfield@apple.com>
1762 Create a font which can be used for testing font features
1763 https://bugs.webkit.org/show_bug.cgi?id=149237
1765 Reviewed by Simon Fraser.
1767 This patch adds a new project in the Tools/ directory which generates a font which can
1768 be used for testing font features. This is a standalone project consisting of two files:
1769 1. A file which actually generates the byte vector representing the font. This file has
1770 a single public function: std::vector<uint8_t> generateFont(). This file is not platform
1771 specific, and only relies on the C++ STL.
1772 2. A file with a main() which calls generateFont() and writes out the font, as well as
1773 uses the font to render some demonstration text into a .png file. This file is platform
1776 The font itself only supports the following characters:
1777 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
1778 However, the shape of these letters are either an X or a check mark.
1780 The letter "A" always is a check mark.
1781 The letter "B" always is an X.
1782 Without any font features turned on, the rest of the letters are shown as X.
1784 Each font feature has an letter associated with it. When the font feature is enabled,
1785 that letter is shown as a check mark. For example, when "smcp" is enabled, "J" is shown
1788 Here are the mappings of font features to letters:
1820 * FontWithFeatures/FontWithFeatures.xcodeproj/project.pbxproj: Added.
1821 * FontWithFeatures/FontWithFeatures/FontCreator.cpp: Added.
1823 (roundDownToPowerOfTwo):
1824 (isFourByteAligned):
1827 (writeCFFEncodedNumber):
1828 (CFFBuilder::CFFBuilder):
1829 (CFFBuilder::takeResult):
1830 (CFFBuilder::moveTo):
1831 (CFFBuilder::lineTo):
1832 (CFFBuilder::curveToCubic):
1833 (CFFBuilder::closePath):
1834 (CFFBuilder::writePoint):
1835 (generateBoxCharString):
1836 (generateCheckCharString):
1837 (generateXCharString):
1838 (charStringForGlyph):
1839 (Generator::generate):
1840 (Generator::Placeholder::Placeholder):
1841 (Generator::Placeholder::populate):
1842 (Generator::Placeholder::~Placeholder):
1843 (Generator::placeholder):
1844 (Generator::append16):
1845 (Generator::append32):
1846 (Generator::append32BitCode):
1847 (Generator::overwrite16):
1848 (Generator::overwrite32):
1849 (Generator::appendCFFTable):
1850 (Generator::appendSubstitutionSubtable):
1851 (Generator::appendScriptSubtable):
1852 (Generator::appendGSUBTable):
1853 (Generator::appendOS2Table):
1854 (Generator::appendFormat12CMAPTable):
1855 (Generator::appendFormat4CMAPTable):
1856 (Generator::appendCMAPTable):
1857 (Generator::appendHEADTable):
1858 (Generator::appendHHEATable):
1859 (Generator::appendHMTXTable):
1860 (Generator::appendMAXPTable):
1861 (Generator::appendNAMETable):
1862 (Generator::appendPOSTTable):
1863 (Generator::calculateChecksum):
1864 (Generator::appendTable):
1866 * FontWithFeatures/FontWithFeatures/FontCreator.h: Added.
1867 * FontWithFeatures/FontWithFeatures/main.cpp: Added.
1868 (drawTextWithFeature):
1871 2015-09-16 Commit Queue <commit-queue@webkit.org>
1873 Unreviewed, rolling out r189875 and r189878.
1874 https://bugs.webkit.org/show_bug.cgi?id=149235
1876 cygwin cmake build not ready yet (Requested by alexchristensen
1879 Reverted changesets:
1881 "Switch AppleWin build to use CMake"
1882 https://bugs.webkit.org/show_bug.cgi?id=149163
1883 http://trac.webkit.org/changeset/189875
1885 "Cygwin build fix after r189875"
1886 http://trac.webkit.org/changeset/189878
1888 2015-09-16 Alex Christensen <achristensen@webkit.org>
1890 Cygwin build fix after r189875
1892 * Scripts/build-webkit:
1893 * Scripts/webkitdirs.pm:
1894 (jhbuildWrapperPrefixIfNeeded):
1895 (generateBuildSystemFromCMakeProject):
1896 Make things work with cygwin and cmake.
1898 2015-09-16 Alex Christensen <achristensen@webkit.org>
1900 Switch AppleWin build to use CMake
1901 https://bugs.webkit.org/show_bug.cgi?id=149163
1903 Reviewed by Brent Fulgham.
1905 * Scripts/build-webkit:
1907 * Scripts/run-api-tests:
1910 (prepareEnvironmentForRunningTestTool):
1912 (testToolPath): Deleted.
1913 Run the API tests as separate executables on Windows.
1914 It used to be TestWebKitAPI.exe, and it is now TestWTF.exe, TestWebCore.exe, and TestWebKit.exe.
1916 2015-09-16 Alexey Proskuryakov <ap@apple.com>
1918 Add newer build.webkit.org pages to robots.txt
1919 https://bugs.webkit.org/show_bug.cgi?id=149219
1921 Reviewed by Darin Adler.
1923 Indexing bot watcher's dashboard can't be good.
1925 * BuildSlaveSupport/build.webkit.org-config/public_html/robots.txt:
1927 2015-09-16 Alex Christensen <achristensen@webkit.org>
1929 Rollout r189851 and 189853 because they didn’t actually fix the permissions issue
1931 * BuildSlaveSupport/built-product-archive:
1934 2015-09-16 Csaba Osztrogonác <ossy@webkit.org>
1936 [EFL] Fix the help message of separated web process option of MiniBrowser
1937 https://bugs.webkit.org/show_bug.cgi?id=149212
1939 Reviewed by Gyuyoung Kim.
1941 * MiniBrowser/efl/main.c:
1943 2015-09-16 Alex Christensen <achristensen@webkit.org>
1945 Fix python syntax after r189851.
1947 * BuildSlaveSupport/built-product-archive:
1949 For loops need a colon.
1951 2015-09-15 Alex Christensen <achristensen@webkit.org>
1953 Fix Windows test bots after changing to non-cygwin build
1954 https://bugs.webkit.org/show_bug.cgi?id=149196
1956 Reviewed by Daniel Bates.
1958 * BuildSlaveSupport/built-product-archive:
1960 Using different versions of python makes what I think is https://bugs.python.org/issue15795
1961 prevent us from executing files from the archive on the test bots.
1963 2015-09-15 Ryosuke Niwa <rniwa@webkit.org>
1965 Add ShadowRoot interface and Element.prototype.attachShadow
1966 https://bugs.webkit.org/show_bug.cgi?id=149187
1968 Reviewed by Antti Koivisto.
1970 * Scripts/webkitperl/FeatureList.pm:
1972 2015-09-15 Aakash Jain <aakash_jain@apple.com>
1974 Appscale queue status json output lacks bots
1975 https://bugs.webkit.org/show_bug.cgi?id=149194
1976 <rdar://problem/22171089>
1978 Reviewed by Alexey Proskuryakov.
1980 * QueueStatusServer/handlers/queuestatusjson.py:
1981 (QueueStatusJSON._bots): Order the results by date so as to get latest events, this was default in AppEngine.
1982 * QueueStatusServer/index.yaml: Index according to appscale requirements.
1984 2015-09-15 Brent Fulgham <bfulgham@apple.com>
1986 [Win] Provide a means for viewing the layer tree
1987 https://bugs.webkit.org/show_bug.cgi?id=149165
1989 Reviewed by Simon Fraser.
1991 Update MiniBrowser with a new Debug menu option that will
1992 dump the current layer tree to the debug console.
1994 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc:
1995 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h:
1996 * MiniBrowser/win/Common.cpp:
1997 (WndProc): Add handler for 'Print Layer Tree' menu option.
1998 * MiniBrowser/win/MiniBrowser.cpp:
1999 (MiniBrowser::printLayerTree): Added Handler.
2000 * MiniBrowser/win/MiniBrowser.h:
2002 2015-09-14 Myles C. Maxfield <mmaxfield@apple.com>
2004 WebKitTestRunner declarative language setting is broken for iOS
2005 https://bugs.webkit.org/show_bug.cgi?id=149119
2009 In all of the patches on webkit.org/b/189669, my patch to get this working on iOS was
2010 lost in the final version which got committed. This simply implements the existing
2011 OS X behavior on iOS.
2013 * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
2014 (WTR::InjectedBundle::platformInitialize):
2016 2015-09-14 Dewei Zhu <dewei_zhu@apple.com>
2018 Unreviewed, add myself to committers list.
2020 * Scripts/webkitpy/common/config/contributors.json:
2022 2015-09-12 Myles C. Maxfield <mmaxfield@apple.com>
2024 [Cocoa] Allow testing with the system language
2025 https://bugs.webkit.org/show_bug.cgi?id=148671
2027 Reviewed by Anders Carlsson and Alexey Proskuryakov.
2029 React to tests marked with language=lang1,lang2,etc in their header.
2030 Once this information is parsed, pass it to
2031 WKContextConfigurationSetOverrideLanguages().
2033 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
2034 (WTR::InjectedBundle::platformInitialize): Don't clobber the language
2036 * WebKitTestRunner/TestController.cpp:
2037 (WTR::TestController::createWebViewWithOptions): Call
2038 WKContextConfigurationSetOverrideLanguages().
2039 (WTR::updateTestOptionsFromTestHeader): Inspect the language option.
2040 * WebKitTestRunner/TestOptions.h:
2041 * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2042 (WTR::PlatformWebView::viewSupportsOptions): Cause a differing language
2043 option to restart the web process.
2044 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2045 (WTR::PlatformWebView::viewSupportsOptions): Ditto.
2047 2015-09-12 Myles C. Maxfield <mmaxfield@apple.com>
2049 [WKTR] Allow changing the WKContextConfiguration between successive tests
2050 https://bugs.webkit.org/show_bug.cgi?id=148833
2052 Reviewed by Tim Horton.
2054 Previously, we were creating a single WKContext and it lived for the life of the entire test runner.
2055 However, there are certain tests which require specifying options in this object. This patch makes
2056 our existing code for recreating the test runner web view also recreate the WKContext.
2058 As such, our options to the view are now options to the WKContextConfiguration. This patch renames the
2061 * WebKitTestRunner/ContextConfigurationOptions.h: Renamed from Tools/WebKitTestRunner/ViewOptions.h.
2062 * WebKitTestRunner/PlatformWebView.h:
2063 (WTR::PlatformWebView::options):
2064 * WebKitTestRunner/TestController.cpp:
2065 (WTR::TestController::initialize):
2066 (WTR::TestController::generateContextConfiguration):
2067 (WTR::TestController::generatePageConfiguration):
2068 (WTR::TestController::createWebViewWithOptions):
2069 (WTR::TestController::ensureViewSupportsOptionsForTest):
2070 (WTR::updateContextConfigurationOptionsFromTestHeader):
2071 (WTR::TestController::contextConfigurationOptionsForTest):
2072 (WTR::TestController::platformCreateWebView):
2073 (WTR::TestController::platformCreateOtherPage):
2074 (WTR::updateViewOptionsFromTestHeader): Deleted.
2075 (WTR::TestController::viewOptionsForTest): Deleted.
2076 * WebKitTestRunner/TestController.h:
2077 (WTR::TestController::injectedBundlePath):
2078 (WTR::TestController::testPluginDirectory):
2079 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2080 * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2081 (WTR::TestController::platformCreateWebView):
2082 (WTR::TestController::platformCreateOtherPage):
2083 * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
2084 (WTR::PlatformWebView::PlatformWebView):
2085 (WTR::PlatformWebView::viewSupportsOptions):
2086 * WebKitTestRunner/efl/TestControllerEfl.cpp:
2087 (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2088 (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2089 * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
2090 (WTR::PlatformWebView::PlatformWebView):
2091 (WTR::PlatformWebView::viewSupportsOptions):
2092 * WebKitTestRunner/gtk/TestControllerGtk.cpp:
2093 (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2094 (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2095 * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2096 (WTR::PlatformWebView::PlatformWebView):
2097 (WTR::PlatformWebView::viewSupportsOptions):
2098 * WebKitTestRunner/ios/TestControllerIOS.mm:
2099 (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2100 (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2101 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2102 (WTR::PlatformWebView::PlatformWebView):
2103 (WTR::PlatformWebView::viewSupportsOptions):
2104 * WebKitTestRunner/mac/TestControllerMac.mm:
2105 (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2106 (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2108 2015-09-11 Michael Saboff <msaboff@apple.com>
2110 LayoutTestHelper crashes if a color profile isn't set for a 3rd party monitor
2111 https://bugs.webkit.org/show_bug.cgi?id=149083
2113 Reviewed by Alexey Proskuryakov.
2115 Check to make sure that we have a valid factoryProfile CFDictionaryRef before using it.
2117 * DumpRenderTree/mac/LayoutTestHelper.m:
2118 (colorProfileURLForDisplay):
2120 2015-09-11 Saam barati <sbarati@apple.com>
2122 There should be a defaultSpotCheck-like mode that doesn't run the MaximalFlushInsertionPhase in run-jsc-stress-tests
2123 https://bugs.webkit.org/show_bug.cgi?id=149058
2125 Reviewed by Geoffrey Garen.
2127 * Scripts/run-jsc-stress-tests:
2129 2015-09-10 Commit Queue <commit-queue@webkit.org>
2131 Unreviewed, rolling out r189595.
2132 https://bugs.webkit.org/show_bug.cgi?id=149052
2134 The tests still fail (Requested by ap on #webkit).
2138 "Spurious output on Windows tests: AQMEIOManager::FindIOUnit:
2140 https://bugs.webkit.org/show_bug.cgi?id=142929
2141 http://trac.webkit.org/changeset/189595
2143 2015-09-10 Alexey Proskuryakov <ap@apple.com>
2145 Spurious output on Windows tests: AQMEIOManager::FindIOUnit: error -1
2146 https://bugs.webkit.org/show_bug.cgi?id=142929
2148 Reviewed by Brent Fulgham.
2150 Silence the logging. We'll track fixing the root cause in Radar.
2152 * Scripts/webkitpy/port/mac.py:
2153 (MacPort.stderr_patterns_to_strip): Added a FIXME.
2155 * Scripts/webkitpy/port/win.py:
2156 (WinPort.logging_patterns_to_strip): Added.
2158 2015-09-09 Andy Estes <aestes@apple.com>
2160 [iOS] Teach run-webkit-tests how to parse simulator runtimes when version numbers contain a revision
2161 https://bugs.webkit.org/show_bug.cgi?id=149022
2163 Reviewed by Daniel Bates.
2165 Simulator runtime versions can contain a revision number (e.g. 8.4.1), but the regex for matching runtimes
2166 did not account for this.
2168 * Scripts/webkitpy/xcode/simulator.py:
2169 (Simulator): Optionally matched a revision at the end of a runtime version number.
2170 * Scripts/webkitpy/xcode/simulator_unittest.py: Added a test.
2172 2015-09-09 Andy Estes <aestes@apple.com>
2174 [iOS] Teach run-webkit-tests how to parse `simctl list` when a tvOS SDK is installed
2175 https://bugs.webkit.org/show_bug.cgi?id=149029
2176 <rdar://problem/22432624>
2178 Reviewed by Daniel Bates.
2180 * Scripts/webkitpy/xcode/simulator.py:
2181 (Simulator): Taught to parse tvOS runtimes.
2182 * Scripts/webkitpy/xcode/simulator_unittest.py: Added tests.
2184 2015-09-09 Alexey Proskuryakov <ap@apple.com>
2186 Fix bit rot on bot watcher's dashboard page
2187 https://bugs.webkit.org/show_bug.cgi?id=149012
2189 Reviewed by Tim Horton.
2191 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2192 The code path used by the metrics page was trying to add properties to an undefined.
2194 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
2195 Silence an expection that would occur when the step has no logs. This should never
2196 happen, but it did (perhaps buildbot was misconfigured for a while).
2198 2015-09-09 Alexey Proskuryakov <ap@apple.com>
2200 Update LayoutTestRelay xcconfig file.
2202 Rubber-stamped by Dan Bernstein.
2204 * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
2206 2015-09-09 Saam barati <sbarati@apple.com>
2208 DFG should have a debugging option that runs a phase that flushes all locals
2209 https://bugs.webkit.org/show_bug.cgi?id=148916
2211 Reviewed by Filip Pizlo.
2213 * Scripts/run-jsc-stress-tests:
2215 2015-09-09 Commit Queue <commit-queue@webkit.org>
2217 Unreviewed, rolling out r189530 and r189534.
2218 https://bugs.webkit.org/show_bug.cgi?id=148996
2220 Caused assertion failures on Yosemite (Requested by litherum
2223 Reverted changesets:
2225 "[WKTR] Allow changing the WKContextConfiguration between
2227 https://bugs.webkit.org/show_bug.cgi?id=148833
2228 http://trac.webkit.org/changeset/189530
2230 "[Cocoa] Fix the tests after r189530"
2231 http://trac.webkit.org/changeset/189534
2233 2015-09-08 Myles C. Maxfield <mmaxfield@apple.com>
2235 [Cocoa] Fix the tests after r189530
2239 * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2240 (WTR::initializeWebViewConfiguration):
2242 2015-09-08 Myles C. Maxfield <mmaxfield@apple.com>
2244 [WKTR] Allow changing the WKContextConfiguration between successive tests
2245 https://bugs.webkit.org/show_bug.cgi?id=148833
2247 Reviewed by Tim Horton.
2249 Previously, we were creating a single WKContext and it lived for the life of the entire test runner.
2250 However, there are certain tests which require specifying options in this object. This patch makes
2251 our existing code for recreating the test runner web view also recreate the WKContext.
2253 As such, our options to the view are now options to the WKContextConfiguration. This patch renames the
2256 * WebKitTestRunner/ContextConfigurationOptions.h: Renamed from Tools/WebKitTestRunner/ViewOptions.h.
2257 * WebKitTestRunner/PlatformWebView.h:
2258 (WTR::PlatformWebView::options):
2259 * WebKitTestRunner/TestController.cpp:
2260 (WTR::TestController::initialize):
2261 (WTR::TestController::generateContextConfiguration):
2262 (WTR::TestController::generatePageConfiguration):
2263 (WTR::TestController::createWebViewWithOptions):
2264 (WTR::TestController::ensureViewSupportsOptionsForTest):
2265 (WTR::updateContextConfigurationOptionsFromTestHeader):
2266 (WTR::TestController::contextConfigurationOptionsForTest):
2267 (WTR::TestController::platformCreateWebView):
2268 (WTR::TestController::platformCreateOtherPage):
2269 (WTR::updateViewOptionsFromTestHeader): Deleted.
2270 (WTR::TestController::viewOptionsForTest): Deleted.
2271 * WebKitTestRunner/TestController.h:
2272 (WTR::TestController::injectedBundlePath):
2273 (WTR::TestController::testPluginDirectory):
2274 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2275 * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2276 (WTR::TestController::platformCreateWebView):
2277 (WTR::TestController::platformCreateOtherPage):
2278 * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
2279 (WTR::PlatformWebView::PlatformWebView):
2280 (WTR::PlatformWebView::viewSupportsOptions):
2281 * WebKitTestRunner/efl/TestControllerEfl.cpp:
2282 (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2283 (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2284 * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
2285 (WTR::PlatformWebView::PlatformWebView):
2286 (WTR::PlatformWebView::viewSupportsOptions):
2287 * WebKitTestRunner/gtk/TestControllerGtk.cpp:
2288 (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2289 (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2290 * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2291 (WTR::PlatformWebView::PlatformWebView):
2292 (WTR::PlatformWebView::viewSupportsOptions):
2293 * WebKitTestRunner/ios/TestControllerIOS.mm:
2294 (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2295 (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2296 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2297 (WTR::PlatformWebView::PlatformWebView):
2298 (WTR::PlatformWebView::viewSupportsOptions):
2299 * WebKitTestRunner/mac/TestControllerMac.mm:
2300 (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2301 (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2303 2015-09-08 Daniel Bates <dabates@apple.com>
2305 [Mac] Expose Enable/Disable Accelerated Drawing in MiniBrowser
2306 https://bugs.webkit.org/show_bug.cgi?id=148980
2308 Reviewed by Alexey Proskuryakov.
2310 Add setting to enable/disable accelerated drawing so as to support testing
2311 this feature in MiniBrowser on Mac.
2313 * MiniBrowser/mac/SettingsController.h:
2314 * MiniBrowser/mac/SettingsController.m:
2315 (-[SettingsController _populateMenu]): Add menu item.
2316 (-[SettingsController validateMenuItem:]): Update setting when menu item is toggled.
2317 (-[SettingsController toggleAcceleratedDrawingEnabled:]): Added.
2318 (-[SettingsController acceleratedDrawingEnabled]): Added.
2319 * MiniBrowser/mac/WK1BrowserWindowController.m:
2320 (-[WK1BrowserWindowController didChangeSettings]): Apply setting in WebKit1.
2321 * MiniBrowser/mac/WK2BrowserWindowController.m:
2322 (-[WK2BrowserWindowController didChangeSettings]): Apply setting in WebKit2.
2324 2015-09-08 Jason Marcell <jmarcell@apple.com>
2326 Unreviewed. Added myself as a commiter in contributors.json.
2328 * Scripts/webkitpy/common/config/contributors.json:
2330 2015-09-08 Keith Miller <keith_miller@apple.com>
2332 Unreviewed, added myself to the list of contributors.
2334 * Scripts/webkitpy/common/config/contributors.json:
2336 2015-09-08 Daniel Bates <dabates@apple.com>
2338 Dashboard: Remove use of z-index for ring overlay; use DOM ordering
2339 https://bugs.webkit.org/show_bug.cgi?id=148921
2341 Reviewed by Alexey Proskuryakov.
2343 The ring image is positioned above the platform icon in markup and we specify the CSS
2344 property z-index for the ring image so that it is painted on top of the platform icon
2345 instead of below it (by DOM ordering). Instead we can take advantage of the transparency
2346 of the ring image, switch the order of these DOM elements and remove the use of the CSS
2347 property z-index to achieve a similar effect.
2349 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
2350 (documentReady): Create the platform icon image element before the ring image such that
2351 the ring image is painted on top of the platform icon.
2352 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2353 (table.queue-grid td.logo img.ring): Removed property z-index.
2355 2015-09-08 Daniel Bates <dabates@apple.com>
2357 Dashboard: Remove duplicate gear icon data URLs
2358 https://bugs.webkit.org/show_bug.cgi?id=148920
2360 Reviewed by Alexey Proskuryakov.
2362 Currently we duplicate the SVG data URL for the gear icon up to its fill color in the CSS property
2363 background-image associated with each of the three gear icon states: collapsed (.settings), hover
2364 (.settings:hover), and expanded (.settings-visible .settings). Instead we should use the gear icon
2365 as a mask and make use of the CSS background-color to define the fill color for each of these three
2368 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2369 (.settings): Use gear icon as mask and define CSS background-color for collapsed state.
2370 (.settings:hover): Override CSS background-color for hover state.
2371 (.settings-visible .settings): Override CSS background-color for expanded state.
2373 2015-09-07 Andy Estes <aestes@apple.com>
2375 [Mac] DebugRelease builds should link against libWebKitSystemInterfaceElCapitan.a on 10.11
2376 https://bugs.webkit.org/show_bug.cgi?id=148946
2377 <rdar://problem/22603981>
2379 Reviewed by Dan Bernstein.
2381 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2382 * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2384 2015-09-07 Hunseop Jeong <hs85.jeong@samsung.com>
2386 [EFL] Many of the css3/device-adapt/* tests failed after r188548.
2387 https://bugs.webkit.org/show_bug.cgi?id=148927
2389 Reviewed by Csaba Osztrogonác.
2391 device-adapt/* tests need the fixedLayout option but useFixedLayout option is
2392 overwritten by updatePlatformSpecificViewOptionsForTest after r188548.
2394 * WebKitTestRunner/TestController.cpp:
2395 (WTR::shouldUseFixedLayout): Removed the unnecessary indentations.
2396 * WebKitTestRunner/efl/TestControllerEfl.cpp:
2397 (WTR::shouldUseFixedLayout): Return true if the test is related with 'device-adapt'.
2399 2015-09-07 Andy Estes <aestes@apple.com>
2401 Fix the Production build after r189455.
2403 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Somehow I added the All target using the
2404 In-App Purchase template instead of the Aggregate template. Whoops.
2406 2015-09-06 Andy Estes <aestes@apple.com>
2408 WebKit.xcworkspace should be be able to build iOS platforms
2409 https://bugs.webkit.org/show_bug.cgi?id=148881
2411 Reviewed by Daniel Bates.
2413 Since we don't want to create platform-specific schemes, all projects in the workspace's schemes need to build
2414 for all supported platforms.
2416 * MiniBrowser/Configurations/Base.xcconfig: Included iphoneos and iphonesimulator in SUPPORTED_PLATFORMS.
2417 * MiniBrowser/Configurations/MiniBrowser.xcconfig: Excluded all source files on iOS, and linked Cocoa and WebKit on Mac.
2418 * MiniBrowser/Configurations/MiniBrowserBundle.xcconfig: Ditto.
2419 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Stopped linking frameworks in Link Binaries With Libraries.
2421 2015-09-06 Andy Estes <aestes@apple.com>
2423 WebKitTestRunner should build for iOS using the default target
2424 https://bugs.webkit.org/show_bug.cgi?id=148918
2426 Reviewed by Daniel Bates.
2428 When WebKitTestRunner was ported to iOS, a separate target (WebKitTestRunnerApp) was created for building the
2429 iOS variant. This is annoying because (1) all tools that invoke xcodebuild need to be taught to build this
2430 non-default target, and (2) a single Xcode scheme cannot be used to build both Mac and iOS variants.
2432 This change adds a new default target (All) and makes it work for both Mac and iOS. Files that were built for
2433 both WebKitTestRunner and WebKitTestRunnerApp are now built in a static library target (WebKitTestRunner (Library)),
2434 and both apps now link this library. Files that are specific to Mac or iOS are excluded on the other platform.
2435 WebKitTestRunnerApp.app (which should be renamed to WebKitTestRunner.app) is skipped when installing on Mac, and
2436 WebKitTestRunner is skipped when installing on iOS.
2438 The target dependency graph now looks like this:
2442 WebKitTestRunner (Library)
2443 WebKitTestRunnerInjectedBundle
2446 WebKitTestRunner (Library)
2447 WebKitTestRunnerInjectedBundle
2450 * Scripts/build-webkit: Stopped building the WebKitTestRunnerApp target on iOS.
2451 * Scripts/build-webkittestrunner: Ditto.
2452 * WebKitTestRunner/Configurations/Base.xcconfig: Set SUPPORTED_PLATFORMS to macosx, iphoneos, and iphonesimulator.
2453 * WebKitTestRunner/Configurations/BaseTarget.xcconfig: Set INSTALL_PATH here since it is the same for all targets.
2454 * WebKitTestRunner/Configurations/InjectedBundle.xcconfig: Stopped setting INSTALL_PATH.
2455 * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig: Moved frameworks from the build phase to here,
2456 excluded iOS-only files, and skipped installing on iOS.
2457 * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: Moved frameworks from the build phase to here,
2458 excluded Mac-only files, and skipped installing on Mac.
2459 * WebKitTestRunner/Configurations/WebKitTestRunnerLibrary.xcconfig: Skipped installing always.
2460 * WebKitTestRunner/Makefile: Stopped building the WebKitTestRunnerApp target on iOS.
2461 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Added new targets, removed frameworks from
2462 Link Binary With Libraries builds phases, moved common files to the WebKitTestRunner (Library) target, and added
2463 new configuration files.
2465 2015-09-05 Joseph Pecoraro <pecoraro@apple.com>
2467 Web Inspector: Improve prepare-ChangeLog for multiple cases
2468 https://bugs.webkit.org/show_bug.cgi?id=148875
2470 Reviewed by Timothy Hatcher.
2472 * Scripts/prepare-ChangeLog:
2473 (get_function_line_ranges_for_javascript):
2474 - We were ignoring everything inside of an anonymous function expression,
2475 such as (function(){ ... }), which made InjectedScriptSource produce nothing.
2476 Better handle this by inserting a few tweaks.
2477 - Allow method syntax outside of classes as long as they are at the global level.
2478 - Avoid treating "get" and "set" as getter/setter functions in bad contexts.
2480 * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt:
2481 * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js:
2482 (Foo.prototype.method1):
2483 (Foo.prototype.method2):
2484 (Foo.prototype.method3.innerFunction):
2485 (Foo.prototype.method3):
2486 (insideGlobalAnonymousFunctionExpression):
2487 (foo.insideGlobalFunctionExpression):
2488 (IssueWithMapGetAndSet.prototype.method1.nestedFunctionInsideMethod1):
2489 (IssueWithMapGetAndSet.prototype.method1):
2490 (IssueWithMapGetAndSet.prototype.method2):
2491 (IssueWithMapGetAndSet.prototype.method3):
2492 (IssueWithMapGetAndSet):
2494 2015-09-05 Yusuke Suzuki <utatane.tea@gmail.com>
2496 [ES6] Enable ES6 Module in JSC shell by default
2497 https://bugs.webkit.org/show_bug.cgi?id=148689
2499 Reviewed by Geoffrey Garen.
2501 * Scripts/run-javascriptcore-tests:
2502 (runJSCStressTests):
2503 * Scripts/run-jsc-stress-tests:
2505 2015-09-04 Basile Clement <basile_clement@apple.com>
2507 Unreviewed, change my email address.
2509 * Scripts/webkitpy/common/config/contributors.json:
2511 2015-09-04 Beth Dakin <bdakin@apple.com>
2513 Should have a test to make sure links don't navigate after a cancelled force
2515 https://bugs.webkit.org/show_bug.cgi?id=148846
2517 Reviewed by Tim Horton.
2519 New EventSender function for a started then cancelled force click.
2520 * WebKitTestRunner/EventSenderProxy.h:
2521 * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
2522 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2523 (WTR::EventSendingController::mouseForceClick):
2524 (WTR::EventSendingController::startAndCancelMouseForceClick):
2525 (WTR::EventSendingController::mouseForceDown):
2526 * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2527 * WebKitTestRunner/TestController.cpp:
2528 (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
2529 * WebKitTestRunner/mac/EventSenderProxy.mm:
2530 (WTR::EventSenderProxy::mouseForceClick):
2531 (WTR::EventSenderProxy::startAndCancelMouseForceClick):
2532 (WTR::EventSenderProxy::mouseForceDown):
2533 (WTR::EventSenderProxy::mouseMoveTo):
2535 2015-09-04 Tim Horton <timothy_horton@apple.com>
2537 Add a test for r179736 (programmatic navigation during swipe causing a crash)
2538 https://bugs.webkit.org/show_bug.cgi?id=148830
2540 Reviewed by Beth Dakin.
2542 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2543 (WTR::InjectedBundle::beginTesting):
2544 Make sure that TestRunner callbacks don't leak between tests!
2546 2015-09-04 Anders Carlsson <andersca@apple.com>
2548 It should be possible to pass relative HTTP test paths to DumpRenderTree
2549 https://bugs.webkit.org/show_bug.cgi?id=148825
2550 <rdar://problem/22583866>
2552 Reviewed by Tim Horton.
2554 Convert the path to an absolute path if needed.
2556 * DumpRenderTree/mac/DumpRenderTree.mm:
2559 2015-09-04 Jason Marcell <jmarcell@apple.com>
2561 Fix Swift unit tests for prepare-ChangeLog.
2562 https://bugs.webkit.org/show_bug.cgi?id=148817
2564 Reviewed by Alexey Proskuryakov.
2566 * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/swift_unittests-expected.txt: Fixed
2567 Swift unit tests for prepare-ChangeLog.
2569 2015-09-04 Lucas Forschler <lforschler@apple.com>
2571 Modifications to the webkit-nightly logic.
2573 * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
2575 * WebKitLauncher/main.m:
2576 (displayErrorAndQuit):
2578 2015-09-04 Beth Dakin <bdakin@apple.com>
2580 Speculative build fix.
2582 * WebKitTestRunner/mac/EventSenderProxy.mm:
2584 2015-09-04 Brian Burg <bburg@apple.com>
2586 Web Inspector: InspectorController should support multiple frontend channels
2587 https://bugs.webkit.org/show_bug.cgi?id=148538
2589 Reviewed by Joseph Pecoraro.
2591 InspectorClients must explicitly disconnect their frontend channel(s) from the
2592 inspected page's InspectorController.
2594 To make this possible, DumpRenderTree should not destroy non-primary views until
2595 it has tried to close any abandoned Web Inspector instances. Performing teardown
2596 in the reverse order prevents disconnection of the frontend channel because that
2597 prematurely destroys the inspector frontend client.
2599 * DumpRenderTree/mac/DumpRenderTree.mm:
2601 * DumpRenderTree/win/DumpRenderTree.cpp:
2604 2015-09-04 Beth Dakin <bdakin@apple.com>
2606 Need to be able to test default behaviors on force click
2607 https://bugs.webkit.org/show_bug.cgi?id=148758
2609 Reviewed by Tim Horton.
2611 This patch adds a new eventSender method to do a full, completed force click,
2612 and it re-works all of the existing force methods to dispatch their events in
2613 such a way that they will trigger the NSImmediateAction gesture recognizer.
2614 To do this, first we need to send the events to the app rather than straight
2615 to the view, and also needed to tweak some state and send the events in a
2618 New public function mouseForceClick() and private helper functions to make
2620 * WebKitTestRunner/EventSenderProxy.h:
2622 New public function mouseForceClick().
2623 * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
2624 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2625 (WTR::EventSendingController::mouseMoveTo):
2626 (WTR::EventSendingController::mouseForceClick):
2627 (WTR::EventSendingController::mouseForceDown):
2628 * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2629 * WebKitTestRunner/TestController.cpp:
2630 (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
2632 initPressureEventAtLocation needs to take a stageTransition and a window.
2633 * WebKitTestRunner/mac/EventSenderProxy.mm:
2634 (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]):
2635 (-[EventSenderSyntheticEvent stageTransition]):
2636 (-[EventSenderSyntheticEvent timestamp]):
2637 (-[EventSenderSyntheticEvent _cgsEventRecord]):
2638 (-[EventSenderSyntheticEvent window]):
2640 In order to enter the gesture recognizer, we need to start with a mouse down
2641 that has a NSEventMaskPressure modifier.
2642 (WTR::EventSenderProxy::sendMouseDownToStartPressureEvents):
2644 This ensures that the events queue properly for the force monitor in AppKit.
2645 (WTR::spinRunLoopForForce):
2647 We need to start the pressure change events with a began.
2648 (WTR::EventSenderProxy::beginPressureEvent):
2650 These functions can be used to create the NSEvent for a pressure change every
2652 (WTR::EventSenderProxy::pressureChangeEvent):
2654 Send the right series of events to emulate a full, completed force click.
2655 (WTR::EventSenderProxy::mouseForceClick):
2657 Use all of the new things for these existing functions.
2658 (WTR::EventSenderProxy::mouseForceDown):
2659 (WTR::EventSenderProxy::mouseForceUp):
2660 (WTR::EventSenderProxy::mouseForceChanged):
2662 Set NSFakeForceTouchDevice to YES.
2663 * WebKitTestRunner/mac/main.mm:
2664 (setDefaultsToConsistentValuesForTesting):
2666 2015-09-04 Jason Marcell <jmarcell@apple.com>
2668 prepare-ChangeLog needs to know how to parse Swift files.
2669 https://bugs.webkit.org/show_bug.cgi?id=148784
2670 <rdar://problem/22510062>
2672 Reviewed by Darin Adler.
2674 * Scripts/prepare-ChangeLog:
2675 (get_function_line_ranges): Added entry for get_function_line_ranges_for_swift.
2676 (get_function_line_ranges_for_swift): Added function that knows how to parse Swift code.
2677 (parseSwiftFunctionArgs): Added function that knows how to parse Swift function arguments.
2678 * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl: Added.
2679 * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/swift_unittests-expected.txt: Ditto.
2680 * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/swift_unittests.swift: Ditto.
2681 (freeFunction): Ditto.
2682 (MyClass.function): Ditto.
2683 (MyClass.functionWithArgument(_:)): Ditto.
2684 (MyClass.functionWithMoreArguments(_:arg2:)): Ditto.
2685 (MyClass.functionWithNamedFirstArgument(argument:)): Ditto.
2686 (MyClass.functionWithNamedFirstAndSecondArgument(first:second:)): Ditto.
2687 (MyClass.classFunction): Ditto.
2688 (MyClass.readWriteComputedVariable): Ditto.
2689 (MyClass.readOnlyComputedVariable): Ditto.
2691 2015-09-04 Ryosuke Niwa <rniwa@webkit.org>
2693 Import css/css-color-3
2694 https://bugs.webkit.org/show_bug.cgi?id=148803
2696 Reviewed by Chris Dumez.
2698 Fixed a bug that the imported reference files used the same extention as tests.
2699 This would result in parsing errors if the tests were XML and references were HTML and vice versa.
2701 * Scripts/webkitpy/w3c/test_importer.py:
2702 (TestImporter.find_importable_tests):
2704 2015-09-03 Commit Queue <commit-queue@webkit.org>
2706 Unreviewed, rolling out r189338.
2707 https://bugs.webkit.org/show_bug.cgi?id=148785
2709 Caused tons of crashes (Requested by cdumez on #webkit).
2713 "Web Inspector: InspectorController should support multiple
2715 https://bugs.webkit.org/show_bug.cgi?id=148538
2716 http://trac.webkit.org/changeset/189338
2718 2015-09-03 Brian Burg <bburg@apple.com>
2720 Web Inspector: InspectorController should support multiple frontend channels
2721 https://bugs.webkit.org/show_bug.cgi?id=148538
2723 Reviewed by Joseph Pecoraro.
2725 InspectorClients must explicitly disconnect their frontend channel(s) from the
2726 inspected page's InspectorController.
2728 To make this possible, DumpRenderTree should not destroy non-primary views until
2729 it has tried to close any abandoned Web Inspector instances. Performing teardown
2730 in the reverse order prevents disconnection of the frontend channel because that
2731 prematurely destroys the inspector frontend client.
2733 * DumpRenderTree/mac/DumpRenderTree.mm:
2735 * DumpRenderTree/win/DumpRenderTree.cpp:
2738 2015-09-03 Timothy Hatcher <timothy@apple.com>
2740 Update WebKit nightly icon to be more like Safari
2741 https://bugs.webkit.org/show_bug.cgi?id=148768
2743 Reviewed by Joseph Pecoraro.
2745 * WebKitLauncher/webkit.icns:
2747 2015-09-03 Geoffrey Garen <ggaren@apple.com>
2749 JavaScriptCore should have some ES6 conformance tests
2750 https://bugs.webkit.org/show_bug.cgi?id=148771
2752 Reviewed by Chris Dumez.
2754 * Scripts/run-javascriptcore-tests:
2755 (runJSCStressTests): Added es6 as a test suite.
2757 * Scripts/run-jsc-stress-tests: Added es6 as a test suite.
2759 Some of these tests currently fail, so I also added a way to expect
2760 failure for now. We'll migrate failing tests to expected passes as we
2763 2015-09-03 Tim Horton <timothy_horton@apple.com>
2765 Add a test for swipe-start hysteresis
2766 https://bugs.webkit.org/show_bug.cgi?id=148756
2768 Reviewed by Anders Carlsson.
2770 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2771 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2772 (WTR::cacheTestRunnerCallback):
2773 (WTR::TestRunner::clearTestRunnerCallbacks):
2774 * WebKitTestRunner/InjectedBundle/TestRunner.h:
2775 Make sure that we log if a client tries to install a callback twice
2776 (since we use .add, the second call would not work).
2778 Also, add clearTestRunnerCallbacks so tests can swap out installed
2781 2015-09-03 Anders Carlsson <andersca@apple.com>
2783 DumpRenderTree should automatically compute HTTP URLs for HTTP tests
2784 https://bugs.webkit.org/show_bug.cgi?id=148746
2785 rdar://problem/22568073
2787 Reviewed by Tim Horton.
2789 * DumpRenderTree/mac/DumpRenderTree.mm:
2791 Compute the test URL from the passed in path or URL. Special-case paths that contain /LayoutTests/http/tests.
2794 Call computeTestURL.
2797 Get rid of this; computeTestURL does this for us now.
2799 * Scripts/webkitpy/port/driver.py:
2800 (Driver._command_from_driver_input):
2801 Don't convert HTTP test paths to URLS before passing them to DumpRenderTree on Mac. That's handled by DRT itself now.
2803 2015-09-03 Tim Horton <timothy_horton@apple.com>
2805 Swipe tests fail on Mavericks
2806 https://bugs.webkit.org/show_bug.cgi?id=148752
2808 Reviewed by Beth Dakin.
2810 * WebKitTestRunner/mac/EventSenderProxy.mm:
2812 2015-09-03 Tim Horton <timothy_horton@apple.com>
2814 Fix the 32-bit build
2816 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2817 (WTR::PlatformWebView::setNavigationGesturesEnabled):
2819 2015-09-03 Tim Horton <timothy_horton@apple.com>
2821 Remove some logging that wasn't meant to be in the tree
2823 * WebKitTestRunner/mac/EventSenderProxy.mm:
2824 (WTR::EventSenderProxy::swipeGestureWithWheelAndMomentumPhases):
2826 2015-09-03 Tim Horton <timothy_horton@apple.com>
2828 [Mac] Add support for testing swipes
2829 https://bugs.webkit.org/show_bug.cgi?id=148700
2831 Reviewed by Beth Dakin.
2833 * WebKitTestRunner/EventSenderProxy.h:
2834 * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
2835 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2836 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2837 (WTR::cgEventPhaseFromString):
2838 (WTR::cgEventMomentumPhaseFromString):
2839 (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases):
2840 (WTR::EventSendingController::swipeGestureWithWheelAndMomentumPhases):
2841 * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2842 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2843 (WTR::InjectedBundle::didReceiveMessageToPage):
2844 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2845 (WTR::TestRunner::installDidBeginSwipeCallback):
2846 (WTR::TestRunner::installWillEndSwipeCallback):
2847 (WTR::TestRunner::installDidEndSwipeCallback):
2848 (WTR::TestRunner::installDidRemoveSwipeSnapshotCallback):
2849 (WTR::TestRunner::callDidBeginSwipeCallback):
2850 (WTR::TestRunner::callWillEndSwipeCallback):
2851 (WTR::TestRunner::callDidEndSwipeCallback):
2852 (WTR::TestRunner::callDidRemoveSwipeSnapshotCallback):
2853 * WebKitTestRunner/InjectedBundle/TestRunner.h:
2854 * WebKitTestRunner/TestController.cpp:
2855 (WTR::TestController::createOtherPage):
2856 (WTR::TestController::createWebViewWithOptions):
2857 (WTR::TestController::didReceiveMessageFromInjectedBundle):
2858 (WTR::TestController::didBeginNavigationGesture):
2859 (WTR::TestController::willEndNavigationGesture):
2860 (WTR::TestController::didEndNavigationGesture):
2861 (WTR::TestController::didRemoveNavigationGestureSnapshot):
2862 * WebKitTestRunner/TestController.h:
2863 * WebKitTestRunner/TestInvocation.cpp:
2864 (WTR::TestInvocation::didBeginSwipe):
2865 (WTR::TestInvocation::willEndSwipe):
2866 (WTR::TestInvocation::didEndSwipe):
2867 (WTR::TestInvocation::didRemoveSwipeSnapshot):
2868 * WebKitTestRunner/TestInvocation.h:
2869 Add callbacks when navigation gestures didBegin/willEnd/didEnd, and
2870 when the snapshot is removed.
2872 Add swipeGestureWithWheelAndMomentumPhases, just like the equivalent
2873 mouseScrollBy function.
2875 * WebKitTestRunner/mac/EventSenderProxy.mm:
2876 (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
2877 (-[EventSenderSyntheticEvent type]):
2878 (-[EventSenderSyntheticEvent subtype]):
2879 (-[EventSenderSyntheticEvent locationInWindow]):
2880 (-[EventSenderSyntheticEvent location]):
2881 (-[EventSenderSyntheticEvent momentumPhase]):
2882 (-[EventSenderSyntheticEvent _isTouchesEnded]):
2883 (-[EventSenderSyntheticEvent _cgsEventRecord]):
2884 Rename EventSenderPressureEvent to EventSenderSyntheticEvent and add some
2885 more adjustable values.
2887 (WTR::EventSenderProxy::mouseForceDown):
2888 (WTR::EventSenderProxy::mouseForceUp):
2889 (WTR::EventSenderProxy::mouseForceChanged):
2890 Adopt EventSenderSyntheticEvent.
2892 (WTR::nsEventPhaseFromCGEventPhase):
2893 (WTR::EventSenderProxy::swipeGestureWithWheelAndMomentumPhases):
2894 Make use of EventSenderSyntheticEvent to synthesize swipe gesture events.
2896 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2897 (WTR::PlatformWebView::PlatformWebView):
2900 2015-09-03 Myles C. Maxfield <mmaxfield@apple.com>
2902 [WK2] Allow tagging tests with metadata which needs to be known at web process creation time
2903 https://bugs.webkit.org/show_bug.cgi?id=148723
2905 Reviewed by Anders Carlsson.
2907 * WebKitTestRunner/TestController.cpp:
2909 (WTR::updateViewOptionsFromTestHeader):
2910 (WTR::TestController::viewOptionsForTest):
2912 2015-09-03 Lucas Forschler <lforschler@apple.com>
2916 2015-09-02 Tim Horton <timothy_horton@apple.com>
2918 Add a modern API way to know that the navigation gesture snapshot was removed, for WebKitTestRunner
2919 https://bugs.webkit.org/show_bug.cgi?id=148693
2921 Reviewed by Anders Carlsson.
2923 * WebKitTestRunner/TestController.cpp:
2924 (WTR::TestController::createOtherPage):
2925 (WTR::TestController::createWebViewWithOptions):
2927 2015-09-02 Carlos Garcia Campos <cgarcia@igalia.com>
2929 REGRESSION(r188548): Some tests crash after r188548 because injected bundle messages are received after the test finishes
2930 https://bugs.webkit.org/show_bug.cgi?id=148529
2932 Reviewed by Darin Adler.
2934 When there are pending EventSender messages after a test finishes,
2935 they could be processed in the main loop started by the
2936 resetStateToConsistentValues(), but the old EventSender has been
2937 replaced by a new one at that point. The new Eventsender can crash
2938 when processing messages that were sent to the old one. To avoid
2939 this, we return early when receiving an EventSender message and
2940 the TestController state is not RunningTest.
2942 * WebKitTestRunner/TestController.cpp:
2943 (WTR::TestController::didReceiveKeyDownMessageFromInjectedBundle):
2944 (WTR::TestController::didReceiveMessageFromInjectedBundle):
2946 2015-09-02 Carlos Garcia Campos <cgarcia@igalia.com>
2948 REGRESSION(r188548): TestController state is Resseting while tests are running after r188548
2949 https://bugs.webkit.org/show_bug.cgi?id=148528
2951 Reviewed by Darin Adler.
2953 Before r188548 resetStateToConsistentValues() was called in
2954 TestController::run(), before tests are run, but now it's called
2955 for every test in TestInvocation::invoke(), after m_status has
2956 changed to RunningTest.
2958 * WebKitTestRunner/TestController.cpp:
2959 (WTR::TestController::resetStateToConsistentValues): Use
2960 TemporaryChange to reset m_state ot its previous value after reset
2963 2015-08-31 Jason Marcell <jmarcell@apple.com>
2965 Modify prepare-Changelog to be aware of files that are marked as tests as well as files
2966 that are marked as requiring corresponding tests.
2967 https://bugs.webkit.org/show_bug.cgi?id=148498
2968 <rdar://problem/21555314>
2970 Reviewed by Dan Bernstein and David Kilzer.
2972 * Scripts/prepare-ChangeLog: Added "attributeCache" to cache Subversion properties in order to
2973 simulate Git's attribute behevaior.
2974 (main): Added "requiresTests" array to contain files that require tests.
2975 (generateNewChangeLogs): Checks "requiresTests" array to determine whether to inject "tests"
2976 section in ChangeLog.
2977 (attributeCommand): Queries a given file for a given Git attribute value. If using Subversion,
2978 however, we check if the file or any containing folder has the given property set to "1" and
2979 return 1 if so; return 0 otherwise.
2980 (generateFileList): Adds files to "requiresTests" array if Git attribute is set to "1". Also
2981 adds files to "addedRegressionTests" array if "test" attribute is set to "1".
2983 2015-08-26 Andy Estes <aestes@apple.com>
2985 [Content Filtering] Determine navigation and content policy before continuing to filter a load
2986 https://bugs.webkit.org/show_bug.cgi?id=148506
2988 Reviewed by Brady Eidson.
2990 Added download API tests covering every decision and decision point.
2991 Removed _WKDownload.AsynchronousDownloadPolicy in favor of these new tests.
2993 * TestWebKitAPI/Configurations/Base.xcconfig: Added $(BUILT_PRODUCTS_DIR)/WebCoreTestSupport to the header search path.
2994 * TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig: Removed it from here.
2995 * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParametersPlugIn.mm:
2996 (-[BundleParametersPlugIn observeValueForKeyPath:ofObject:change:context:]): Called -valueForKeyPath:, which
2997 returns an id, instead of -valueForKey:, which always returns an NSString even if the object is of another type.
2998 * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm: Added a class that can send a MockContentFilter
2999 decision and decision point as a bundle parameter.
3000 (+[MockContentFilterEnabler supportsSecureCoding]):
3001 (-[MockContentFilterEnabler copyWithZone:]):
3002 (-[MockContentFilterEnabler initWithCoder:]):
3003 (-[MockContentFilterEnabler initWithDecision:decisionPoint:]):
3004 (-[MockContentFilterEnabler encodeWithCoder:]):
3005 (configurationWithContentFilterSettings): Added a helper function to create a WKWebViewConfiguration with MockConentFilter settings.
3006 (TEST): Renamed ContentFiltering.ServerRedirect to ContentFiltering.URLAfterServerRedirect.
3007 (-[BecomeDownloadDelegate webView:decidePolicyForNavigationResponse:decisionHandler:]): Decided _WKNavigationResponsePolicyBecomeDownload.
3008 (-[BecomeDownloadDelegate webView:didFailProvisionalNavigation:withError:]): Set isDone to true.
3009 (-[BecomeDownloadDelegate webView:didFinishNavigation:]): Ditto.
3010 (-[ContentFilteringDownloadDelegate _downloadDidStart:]): Set downloadDidStart to true.
3011 (downloadTest): Added a helper function to test downloads with a given decision and decision point.
3012 * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm: Added a corresponding bundle class that decodes
3013 the MockContentFilter decision and decision point, and sets these values in the MockContentFilterSettings
3014 singleton. This class is duplicated in the bundle to prevent TestWebKitAPI from having to link to WebCoreTestSupport.
3015 (+[MockContentFilterEnabler supportsSecureCoding]):
3016 (-[MockContentFilterEnabler copyWithZone:]):
3017 (-[MockContentFilterEnabler initWithCoder:]):
3018 (-[MockContentFilterEnabler dealloc]):
3019 (-[MockContentFilterEnabler encodeWithCoder:]):
3020 (-[ContentFilteringPlugIn webProcessPlugIn:initializeWithObject:]): Start observing changes to the MockContentFilterEnabler key path.
3021 (-[ContentFilteringPlugIn dealloc]): Stop observing.
3022 (-[ContentFilteringPlugIn observeValueForKeyPath:ofObject:change:context:]): Store a MockContentFilterEnabler in _contentFilterEnabler.
3023 (+[ServerRedirectPlugIn initialize]): Deleted.
3024 * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
3025 (-[AsynchronousDownloadNavigationDelegate webView:decidePolicyForNavigationResponse:decisionHandler:]): Deleted.
3026 (-[AsynchronousDownloadDelegate _downloadDidStart:]): Deleted.
3029 2015-08-31 Filip Pizlo <fpizlo@apple.com>
3031 Skip slow lock tests on Windows/debug
3032 https://bugs.webkit.org/show_bug.cgi?id=148643
3034 Reviewed by Alexey Proskuryakov.
3036 The lock tests simulate a critical section by doing some floating point math, and then either
3037 make those critical sections very long or invoke them many times. This appears to be
3038 particularly slow on Windows in debug mode, maybe because Visual Studio's debug build makes
3039 that kind of computation slow.
3041 These tests are almost as useful in release as they are in debug, so it's probably better to
3042 just skip the in debug on platforms where this causes timeouts.
3044 * TestWebKitAPI/Tests/WTF/Lock.cpp:
3045 (TestWebKitAPI::runLockTest):
3046 (TestWebKitAPI::skipSlow):
3047 (TestWebKitAPI::TEST):
3049 2015-08-29 Chris Fleizach <cfleizach@apple.com>
3051 AX: When navigating the elements of a scrollable element with VoiceOver, the scrollTop() position of the element does not permanently change
3052 https://bugs.webkit.org/show_bug.cgi?id=125720
3054 Reviewed by Daniel Bates.
3056 Add support for scrollToMakeVisibleWithSubFocus and scrollToGlobalPoint.
3058 * DumpRenderTree/AccessibilityUIElement.cpp:
3060 (scrollToMakeVisibleWithSubFocusCallback):
3061 (scrollToGlobalPointCallback):
3062 (scrollToMakeVisibleCallback):
3063 (AccessibilityUIElement::getJSClass):
3064 * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3065 (AccessibilityUIElement::scrollToMakeVisible):
3066 (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
3067 (AccessibilityUIElement::scrollToGlobalPoint):
3068 (AccessibilityUIElement::selectedTextRange):
3069 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3070 (AccessibilityUIElement::AccessibilityUIElement):
3071 (AccessibilityUIElement::mathPrescriptsDescription):
3072 (AccessibilityUIElement::scrollToMakeVisible):
3073 (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
3074 (AccessibilityUIElement::scrollToGlobalPoint):
3075 * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3076 (WTR::AccessibilityUIElement::isTextMarkerValid):
3077 (WTR::AccessibilityUIElement::textMarkerForIndex):
3078 (WTR::AccessibilityUIElement::scrollToMakeVisible):
3079 (WTR::AccessibilityUIElement::scrollToGlobalPoint):
3080 (WTR::AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
3081 (WTR::AccessibilityUIElement::supportedActions):
3082 (WTR::AccessibilityUIElement::mathPostscriptsDescription):
3083 (WTR::AccessibilityUIElement::mathPrescriptsDescription):
3084 * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3085 * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3086 * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3087 (WTR::AccessibilityUIElement::scrollToMakeVisible):
3088 (WTR::AccessibilityUIElement::scrollToGlobalPoint):
3089 (WTR::AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
3090 (WTR::AccessibilityUIElement::selectedTextRange):
3091 * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3092 (WTR::AccessibilityUIElement::scrollToMakeVisible):
3093 (WTR::AccessibilityUIElement::scrollToGlobalPoint):
3094 (WTR::AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
3095 (WTR::AccessibilityUIElement::selectedTextRange):
3097 2015-08-28 Timothy Horton <timothy_horton@apple.com>
3099 Add a mysteriously nonproblematic missing comma.
3101 * Scripts/webkitpy/layout_tests/models/test_expectations.py:
3102 (TestExpectationParser._collect_matching_tests):
3103 (TestExpectationParser):
3105 2015-08-28 Timothy Horton <timothy_horton@apple.com>
3107 Remove an old temporary script that has served its purpose
3109 * Scripts/convert-test-expectations: Removed.
3111 2015-08-28 Jer Noble <jer.noble@apple.com>
3113 [iOS] Add WebKit/WebKit2 settings to control automatic data loading
3114 https://bugs.webkit.org/show_bug.cgi?id=148579
3116 Reviewed by Anders Carlsson.
3118 In DumpRenderTree, set the new mediaDataLoadsAutomatically preference to YES.
3120 In WebKitTestRunner, do the same for the new _mediaDataLoadsAutomatically configuration property,
3121 and also set the existing requiresUserActionForMediaPlayback configuration property to NO.
3123 * DumpRenderTree/mac/DumpRenderTree.mm:
3124 (resetWebPreferencesToConsistentValues):
3125 (resetWebViewToConsistentStateBeforeTesting):
3126 * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3127 (WTR::initializeWebViewConfiguration):
3129 2015-08-28 Alexey Proskuryakov <ap@apple.com>
3131 Fix run-webkit-tests --additional-env-var="DYLD_INSERT_LIBRARIES=..."
3132 https://bugs.webkit.org/show_bug.cgi?id=148592
3134 Reviewed by Tim Horton.
3136 * Scripts/webkitpy/port/base.py:
3137 (Port.to.setup_environ_for_server):
3139 (Port.to._append_value_colon_separated):
3140 (Port.to.show_results_html_file):
3141 * Scripts/webkitpy/port/ios.py:
3142 (IOSSimulatorPort.setup_environ_for_server):
3143 * Scripts/webkitpy/port/mac.py:
3144 (MacPort.setup_environ_for_server):
3146 2015-08-28 Filip Pizlo <fpizlo@apple.com>
3148 LICM should be sound even if the CFG has changed
3149 https://bugs.webkit.org/show_bug.cgi?id=148259
3151 Reviewed by Benjamin Poulain.
3153 Add a utility for creating tests that set some uncommon option.
3155 * Scripts/run-jsc-stress-tests:
3157 2015-08-28 Brent Fulgham <bfulgham@apple.com>
3159 [Win] Unreviewed EWS correction.
3161 * EWSTools/start-queue-win.sh: Update settings to point to VS2015.
3163 2015-08-28 Jer Noble <jer.noble@apple.com>
3165 [iOS] Make the AllowsInlineMediaPlayback preference work in WebKit / WebKit2.
3166 https://bugs.webkit.org/show_bug.cgi?id=147512
3168 Reviewed by Anders Carlsson.
3170 Set the value of WebKitAllowsInlineMediaPlayback / WKPreferencesSetMediaPlaybackAllowsInline()
3171 to a consistent (true) value.
3173 * DumpRenderTree/mac/DumpRenderTree.mm:
3174 (setDefaultsToConsistentValuesForTesting):
3175 * WebKitTestRunner/TestController.cpp:
3176 (WTR::TestController::resetPreferencesToConsistentValues):
3178 2015-08-28 Tim Horton <timothy_horton@apple.com>
3180 Add navigation gesture callbacks to WKPageNavigationClient
3181 https://bugs.webkit.org/show_bug.cgi?id=148568
3182 <rdar://problem/22371346>
3184 Reviewed by Anders Carlsson.
3186 * WebKitTestRunner/TestController.cpp:
3187 (WTR::TestController::createOtherPage):
3188 (WTR::TestController::createWebViewWithOptions):
3191 2015-08-28 Alexey Proskuryakov <ap@apple.com>
3193 [Mac] kill-old-processes should kill more processes
3194 https://bugs.webkit.org/show_bug.cgi?id=148577
3196 Reviewed by Tim Horton.
3198 * BuildSlaveSupport/kill-old-processes:
3200 2015-08-28 Jason Marcell <jmarcell@apple.com>
3202 The status message for combined builder queues should say "all builds succeeded" if everything
3204 https://bugs.webkit.org/show_bug.cgi?id=148535
3206 Reviewed by David Kilzer and Alexey Proskuryakov.
3208 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
3209 (BuildbotCombinedQueueView.prototype.update): Make status message for combined builder queues
3210 say "all builds succeeded" if everything built correctly.
3212 2015-08-28 Carlos Garcia Campos <cgarcia@igalia.com>
3214 [GTK] Simplify the internal API to create a WebView
3215 https://bugs.webkit.org/show_bug.cgi?id=148570
3217 Reviewed by Žan Doberšek.
3219 * TestWebKitAPI/PlatformWebView.h: Add initialize method for GTK+ too.
3220 * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
3221 (TestWebKitAPI::PlatformWebView::PlatformWebView): Implement all
3222 PlatformWebView constructors that end up calling initialize with a PageConfiguration.
3223 (TestWebKitAPI::PlatformWebView::initialize): Create the WebView
3224 passing the received PageConfiguration.
3225 * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
3226 (WTR::PlatformWebView::PlatformWebView): Create the WebView
3227 passing the received PageConfiguration.
3229 2015-08-27 Aakash Jain <aakash_jain@apple.com>
3231 iOS Simulator API tests fails as Simulator is not running
3232 https://bugs.webkit.org/show_bug.cgi?id=148501
3233 rdar://problem/22447525
3235 Reviewed by Daniel Bates.
3237 This change is a workaround for <rdar://problem/22388812>.
3239 * Scripts/run-api-tests: Launch the iOS Simulator before starting the API Tests
3240 and quit it on program termination when running tests on the iOS port.
3241 * Scripts/webkitdirs.pm: Store string "For WebKit Development" in constant
3242 SIMULATOR_DEVICE_SUFFIX_FOR_WEBKIT_DEVELOPMENT to make it consistently reusable.
3244 2015-08-27 Alex Christensen <achristensen@webkit.org>
3246 Make DLLLauncherMain executables dependent on dll
3247 https://bugs.webkit.org/show_bug.cgi?id=148548
3249 Reviewed by Brent Fulgham.
3251 * DumpRenderTree/CMakeLists.txt:
3252 * DumpRenderTree/PlatformWin.cmake:
3253 * MiniBrowser/win/CMakeLists.txt:
3254 * TestWebKitAPI/CMakeLists.txt:
3255 * TestWebKitAPI/PlatformWin.cmake:
3257 2015-08-27 Lucas Forschler <lforschler@apple.com>
3259 Remove Mac slaves 188/189 after being replaced with 400/401.
3263 * BuildSlaveSupport/build.webkit.org-config/config.json:
3265 2015-08-27 Lucas Forschler <lforschler@apple.com>
3267 Add two bots to the Mac Yosemite queue.
3268 This is to eventually replace bots188/189, which will be removed after 400/401 are vetted.
3272 * BuildSlaveSupport/build.webkit.org-config/config.json:
3274 2015-08-27 Alex Christensen <achristensen@webkit.org>
3276 [Win CMake] Fix incremental build after r188673
3277 https://bugs.webkit.org/show_bug.cgi?id=148539
3279 Reviewed by Brent Fulgham.
3281 * TestWebKitAPI/PlatformWin.cmake:
3282 Copy forwarding headers from WebCore before building in case that was not yet done.
3283 It used to be done when running CMake, but now it's a build step.
3285 2015-08-27 Nan Wang <n_wang@apple.com>
3287 AX: Fix accessibility/select-element-at-index.html test
3288 https://bugs.webkit.org/show_bug.cgi?id=148516
3290 Reviewed by Chris Fleizach.
3292 Implemented setSelectedChildAtIndex and removeSelectionAtIndex for mac.
3294 * DumpRenderTree/AccessibilityUIElement.cpp:
3295 (setSelectedChildCallback):
3296 (setSelectedChildAtIndexCallback):
3297 (removeSelectionAtIndexCallback):
3298 (elementAtPointCallback):
3299 (sentenceAtOffsetCallback):
3300 (stringForSelectionCallback):
3301 (AccessibilityUIElement::getJSClass):
3302 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3303 (AccessibilityUIElement::setSelectedChild):
3304 (AccessibilityUIElement::setSelectedChildAtIndex):
3305 (AccessibilityUIElement::removeSelectionAtIndex):
3306 (AccessibilityUIElement::accessibilityValue):
3307 * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3308 (WTR::AccessibilityUIElement::wordAtOffset):
3309 (WTR::AccessibilityUIElement::lineAtOffset):
3310 (WTR::AccessibilityUIElement::sentenceAtOffset):
3311 (WTR::AccessibilityUIElement::isSelectable):
3312 (WTR::AccessibilityUIElement::isMultiSelectable):
3313 (WTR::AccessibilityUIElement::setSelectedChild):
3314 (WTR::AccessibilityUIElement::setSelectedChildAtIndex):
3315 (WTR::AccessibilityUIElement::removeSelectionAtIndex):
3316 (WTR::AccessibilityUIElement::selectedChildrenCount):
3317 (WTR::AccessibilityUIElement::selectedChildAtIndex):
3318 (WTR::AccessibilityUIElement::isExpanded):
3319 * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3320 (WTR::AccessibilityUIElement::setSelectedChild):
3321 (WTR::AccessibilityUIElement::setSelectedChildAtIndex):
3322 (WTR::AccessibilityUIElement::removeSelectionAtIndex):
3323 (WTR::AccessibilityUIElement::accessibilityValue):
3325 2015-08-27 Alex Christensen <achristensen@webkit.org>
3327 Build fix after r188982
3329 * MiniBrowser/win/CMakeLists.txt:
3330 The directory structure changed in the move.
3332 2015-08-27 Michael Catanzaro <mcatanzaro@igalia.com>
3334 [GTK] Unreviewed, install-dependencies should install geoclue2 on Fedora
3336 geoclue-devel is for obsolete geoclue. Install geoclue2-devel instead.
3338 * gtk/install-dependencies:
3340 2015-08-27 Carlos Garcia Campos <cgarcia@igalia.com>
3342 Unreviewed. Mark WTF_WordLock.ContendedShortSection as slow too.
3344 * Scripts/run-gtk-tests:
3347 2015-08-27 Carlos Garcia Campos <cgarcia@igalia.com>
3349 Fix GTK+ WTR crashes in initializeMainRunLoop()
3351 Rubber-stamped by Žan Doberšek.
3353 Initialize threading and main thread before
3354 RunLoop::initializeMainRunLoop(), since the GLib implementation of
3355 the RunLoop uses isMainThread() to decide whether to create a new
3356 GMainContext or use the default one. Also use RunLoop::run() and
3357 ::stop() instead of gtk_main/quit.
3359 * WebKitTestRunner/TestController.cpp:
3360 (WTR::TestController::initialize):
3361 * WebKitTestRunner/gtk/TestControllerGtk.cpp:
3362 (WTR::TestController::notifyDone):
3363 (WTR::TestController::platformRunUntil):
3365 2015-08-27 Filip Pizlo <fpizlo@apple.com>
3367 Unreviewed, further shorten a test that times out because it's very long
3370 I've locally run these tests on repeat for 24 hours and found no genuine
3371 failures, like deadlocks. So, the timeouts are probably because the test
3372 machine is slow and debug is slow. We should just run this test for fewer
3375 * TestWebKitAPI/Tests/WTF/Lock.cpp:
3376 (TestWebKitAPI::TEST):
3378 2015-08-26 Ryuan Choi <ryuan.choi@navercorp.com>
3380 Unreviewed build fix attempt on EFL
3382 * WebKitTestRunner/PlatformEfl.cmake:
3384 2015-08-26 Alex Christensen <achristensen@webkit.org>
3386 Build fix after r188982
3388 * MiniBrowser/win/CMakeLists.txt:
3389 Find .rc files in correct directory.
3391 2015-08-26 Ryuan Choi <ryuan.choi@navercorp.com>
3393 [EFL] Bump cairo version to 1.14.2
3394 https://bugs.webkit.org/show_bug.cgi?id=148474
3396 Reviewed by Csaba Osztrogonác.
3398 * efl/jhbuild.modules:
3400 2015-08-26 Andy Estes <aestes@apple.com>
3402 Crash when following a Google search link to Twitter with Limit Adult Content enabled
3403 https://bugs.webkit.org/show_bug.cgi?id=147651
3405 Rubber-stamped by Brady Eidson.
3407 Taught TestRunner how to decide the navigation policy after a delay.
3409 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3410 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3411 (WTR::InjectedBundlePage::decidePolicyForNavigationAction):
3412 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3413 (WTR::TestRunner::setShouldDecideNavigationPolicyAfterDelay):
3414 * WebKitTestRunner/InjectedBundle/TestRunner.h:
3415 (WTR::TestRunner::shouldDecideNavigationPolicyAfterDelay):
3416 * WebKitTestRunner/TestController.cpp:
3417 (WTR::TestController::initialize):
3418 (WTR::TestController::resetStateToConsistentValues):
3419 (WTR::TestController::decidePolicyForNavigationAction):
3420 * WebKitTestRunner/TestController.h:
3421 (WTR::TestController::setShouldDecideNavigationPolicyAfterDelay):
3422 * WebKitTestRunner/TestInvocation.cpp:
3423 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3425 2015-08-26 Brent Fulgham <bfulgham@apple.com>
3427 [Win] Rename 'WinLauncher' to 'MiniBrowser'
3428 https://bugs.webkit.org/show_bug.cgi?id=148485
3430 Reviewed by Alex Christensen
3432 Move the WinLauncher project and source files to a subdirectory
3433 of MiniBrowser. Globally change WinLauncher -> MiniBrowser in the
3434 source code and project files.
3436 * MiniBrowser/MiniBrowser.vcxproj: Copied from WinLauncher/WinLauncher.vcxproj.
3437 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.ico: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.ico.
3438 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.rc: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.rc.
3439 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.
3440 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj.filters: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.filters.
3441 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCF.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherCF.props.
3442 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCFLite.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherCFLite.props.
3443 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCommon.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherCommon.props.
3444 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserDebug.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherDebug.props.
3445 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc.
3446 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.
3447 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj.filters: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters.
3448 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibCommon.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props.
3449 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibDebug.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibDebug.props.
3450 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPostBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibPostBuild.cmd.
3451 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPreBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd.
3452 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibProduction.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibProduction.props.
3453 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibRelease.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibRelease.props.
3454 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h.
3455 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPostBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherPostBuild.cmd.
3456 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPreBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherPreBuild.cmd.
3457 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserProduction.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherProduction.props.
3458 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserRelease.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherRelease.props.
3459 * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserResource.h: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherResource.h.
3460 * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.ico: Removed.
3461 * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.rc: Removed.
3462 * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.vcxproj: Removed.
3463 * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.vcxproj.filters: Removed.
3464 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherCF.props: Removed.
3465 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherCFLite.props: Removed.
3466 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherCommon.props: Removed.
3467 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherDebug.props: Removed.
3468 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLib.rc: Removed.
3469 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLib.vcxproj: Removed.
3470 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLib.vcxproj.filters: Removed.
3471 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibCommon.props: Removed.
3472 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibDebug.props: Removed.
3473 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibPostBuild.cmd: Removed.
3474 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibPreBuild.cmd: Removed.
3475 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibProduction.props: Removed.
3476 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibRelease.props: Removed.
3477 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibResource.h: Removed.
3478 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherPostBuild.cmd: Removed.
3479 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherPreBuild.cmd: Removed.
3480 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherProduction.props: Removed.
3481 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherRelease.props: Removed.
3482 * MiniBrowser/MiniBrowser.vcxproj/WinLauncherResource.h: Removed.
3483 * MiniBrowser/win: Copied from WinLauncher.
3484 * MiniBrowser/win/Common.cpp:
3485 * MiniBrowser/win/MiniBrowser.cpp: Copied from WinLauncher/WinLauncher.cpp.
3486 * MiniBrowser/win/MiniBrowser.h: Copied from WinLauncher/WinLauncher.h.
3487 * MiniBrowser/win/MiniBrowserReplace.h: Copied from WinLauncher/WinLauncherReplace.h.
3488 * MiniBrowser/win/MiniBrowserWebHost.cpp: Copied from WinLauncher/WinLauncherWebHost.cpp.
3489 * MiniBrowser/win/MiniBrowserWebHost.h: Copied from WinLauncher/WinLauncherWebHost.h.
3490 * MiniBrowser/win/PageLoadTestClient.cpp:
3491 * MiniBrowser/win/PageLoadTestClient.h:
3492 * MiniBrowser/win/ResourceLoadDelegate.cpp:
3493 * MiniBrowser/win/ResourceLoadDelegate.h:
3494 * MiniBrowser/win/WinLauncher.cpp: Removed.
3495 * MiniBrowser/win/WinLauncher.h: Removed.
3496 * MiniBrowser/win/WinLauncher.vcxproj: Removed.
3497 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.ico: Removed.
3498 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.rc: Removed.
3499 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.vcxproj: Removed.
3500 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.vcxproj.filters: Removed.
3501 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherCF.props: Removed.
3502 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherCFLite.props: Removed.
3503 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherCommon.props: Removed.
3504 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherDebug.props: Removed.
3505 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLib.rc: Removed.
3506 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLib.vcxproj: Removed.
3507 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters: Removed.
3508 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibCommon.props: Removed.
3509 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibDebug.props: Removed.
3510 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibPostBuild.cmd: Removed.
3511 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd: Removed.
3512 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibProduction.props: Removed.
3513 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibRelease.props: Removed.
3514 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibResource.h: Removed.
3515 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherPostBuild.cmd: Removed.
3516 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherPreBuild.cmd: Removed.
3517 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherProduction.props: Removed.
3518 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherRelease.props: Removed.
3519 * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherResource.h: Removed.
3520 * MiniBrowser/win/WinLauncher.vcxproj/small.ico: Removed.
3521 * MiniBrowser/win/WinLauncherReplace.h: Removed.
3522 * MiniBrowser/win/WinLauncherWebHost.cpp: Removed.
3523 * MiniBrowser/win/WinLauncherWebHost.h: Removed.
3524 * MiniBrowser/win/WinMain.cpp:
3525 * WinLauncher: Removed.
3526 * WinLauncher/AccessibilityDelegate.cpp: Removed.
3527 * WinLauncher/AccessibilityDelegate.h: Removed.
3528 * WinLauncher/CMakeLists.txt: Removed.
3529 * WinLauncher/Common.cpp: Removed.
3530 * WinLauncher/DOMDefaultImpl.cpp: Removed.
3531 * WinLauncher/DOMDefaultImpl.h: Removed.
3532 * WinLauncher/PageLoadTestClient.cpp: Removed.
3533 * WinLauncher/PageLoadTestClient.h: Removed.
3534 * WinLauncher/PrintWebUIDelegate.cpp: Removed.
3535 * WinLauncher/PrintWebUIDelegate.h: Removed.
3536 * WinLauncher/ResourceLoadDelegate.cpp: Removed.
3537 * WinLauncher/ResourceLoadDelegate.h: Removed.
3538 * WinLauncher/WebDownloadDelegate.cpp: Removed.
3539 * WinLauncher/WebDownloadDelegate.h: Removed.
3540 * WinLauncher/WinLauncher.cpp: Removed.
3541 * WinLauncher/WinLauncher.h: Removed.
3542 * WinLauncher/WinLauncher.vcxproj: Removed.
3543 * WinLauncher/WinLauncher.vcxproj/WinLauncher.ico: Removed.
3544 * WinLauncher/WinLauncher.vcxproj/WinLauncher.rc: Removed.
3545 * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj: Removed.
3546 * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.filters: Removed.
3547 * WinLauncher/WinLauncher.vcxproj/WinLauncherCF.props: Removed.
3548 * WinLauncher/WinLauncher.vcxproj/WinLauncherCFLite.props: Removed.
3549 * WinLauncher/WinLauncher.vcxproj/WinLauncherCommon.props: Removed.
3550 * WinLauncher/WinLauncher.vcxproj/WinLauncherDebug.props: Removed.
3551 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc: Removed.
3552 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj: Removed.
3553 * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters: Removed.
3554 * WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props: Removed.