1 2015-04-13 Csaba Osztrogonác <ossy@webkit.org>
3 [cmake] Add ENABLE(ATTACHMENT_ELEMENT) to the build system
4 https://bugs.webkit.org/show_bug.cgi?id=143664
6 Reviewed by Gyuyoung Kim.
8 * Scripts/webkitperl/FeatureList.pm:
10 2015-04-12 Gyuyoung Kim <gyuyoung.kim@webkit.org>
12 [EFL] Enable Media Source
13 https://bugs.webkit.org/show_bug.cgi?id=143635
15 Reviewed by Csaba Osztrogonác.
17 * Scripts/webkitperl/FeatureList.pm: Enable media source on efl port.
19 2015-04-12 Alexey Proskuryakov <ap@apple.com>
21 build.webkit.org/dashboard: Crash-only queues should show failure when failure limit is exceeded
22 https://bugs.webkit.org/show_bug.cgi?id=143646
24 Reviewed by David Kilzer.
26 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
27 (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
29 2015-04-11 Alexey Proskuryakov <ap@apple.com>
31 Use en_US spell checker for tests on Mac instead of Multilingual
32 https://bugs.webkit.org/show_bug.cgi?id=143641
34 Reviewed by Dan Bernstein.
36 * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
37 While at it, override NSUserDictionaryReplacementItems, so that user replacements
40 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: (WTR::InjectedBundle::platformInitialize):
41 Made this more like WebKit1 version.
43 2015-04-10 Tim Horton <timothy_horton@apple.com>
45 Replace setFixedLayoutSizeEnabled: with an enum of layout modes
46 https://bugs.webkit.org/show_bug.cgi?id=143576
48 Reviewed by Simon Fraser.
50 * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:
54 2015-04-09 Gyuyoung Kim <gyuyoung.kim@webkit.org>
56 Update my email address and expertise.
57 https://bugs.webkit.org/show_bug.cgi?id=143586
59 Unreviewed, just update my info.
61 * Scripts/webkitpy/common/config/contributors.json:
63 2015-04-09 Joseph Pecoraro <pecoraro@apple.com>
65 Flakiness Dashboard not loading insecure content if loaded with https URL
66 https://bugs.webkit.org/show_bug.cgi?id=143570
68 Reviewed by Alexey Proskuryakov.
70 * TestResultServer/app.yaml:
71 * TestResultServer/static-dashboards/loader.js:
72 Switch to https scheme.
74 2015-04-09 Csaba Osztrogonác <ossy@webkit.org>
76 [EFL][GTK] WebKit2's generate-forwarding-headers.pl runs too many times
77 https://bugs.webkit.org/show_bug.cgi?id=142907
79 Reviewed by Carlos Garcia Campos.
81 * TestWebKitAPI/PlatformEfl.cmake:
82 * TestWebKitAPI/PlatformGTK.cmake:
83 * WebKitTestRunner/PlatformEfl.cmake:
84 * WebKitTestRunner/PlatformGTK.cmake:
86 2015-04-08 Brent Fulgham <bfulgham@apple.com>
88 [Mac] Unreviewed test fix after r182584
89 https://bugs.webkit.org/show_bug.cgi?id=143452
91 Put both of these tests back to their original state now that the underlying
94 * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
95 (TestWebKitAPI::TEST):
96 * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
97 (TestWebKitAPI::TEST):
99 2015-04-08 Filip Pizlo <fpizlo@apple.com>
101 run-jsc-benchmarks geomean of preferred means shouldn't print the VMs header twice
102 https://bugs.webkit.org/show_bug.cgi?id=143553
104 Reviewed by Ryosuke Niwa.
106 Remove the spurious printVMs left over from an earlier change.
108 * Scripts/run-jsc-benchmarks:
110 2015-04-08 Brent Fulgham <bfulgham@apple.com>
112 [Mac] Unreviewed test fix after r182581
114 The behavior of control-left-click is controlled by a system preference.
115 Our test bots have this turned off.
117 * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
118 (TestWebKitAPI::TEST):
119 * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
120 (TestWebKitAPI::TEST):
122 2015-04-08 Brent Fulgham <bfulgham@apple.com>
124 [Mac] WebKit is not honoring OS preferences for secondary click behaviors
125 https://bugs.webkit.org/show_bug.cgi?id=143452
126 <rdar://problem/20437483>
128 Reviewed by Tim Horton.
130 Add a new API test to confirm that Cocoa mouse button press events are properly
131 tagged with the desired menu behavior (i.e., 'None', 'Context', or 'Action'.)
133 The WK2 test dispatches mouse down events to a PlatformWebView, and checks with
134 some registered event handlers that the expected button press and context menu
137 The WK1 unit test creates an NSEvent with the desired button press state, and then
138 uses WebCore::PlatformEventFactory::createPlatformMouseEvent to create a WebCore event.
139 We check the resulting PlatformMouseEvent for proper state.
141 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new test files.
142 * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp: Added.
143 (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
144 * TestWebKitAPI/Tests/WebKit2/mouse-button-listener.html: Added.
145 * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm: Added.
146 (TestWebKitAPI::canCallMenuTypeForEvent): Helper function.
147 (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
148 * TestWebKitAPI/mac/PlatformWebViewMac.mm:
149 (TestWebKitAPI::PlatformWebView::simulateButtonClick): Added method to support firing
151 * TestWebKitAPI/mac/PlatformWebViewMac.h:
153 2015-04-08 Michael Catanzaro <mcatanzaro@igalia.com>
155 [GTK] Add pango to jhbuild-optional.modules
156 https://bugs.webkit.org/show_bug.cgi?id=143537
158 Reviewed by Martin Robinson.
160 * gtk/jhbuild-optional.modules: Add pango.
162 2015-04-08 Carlos Alberto Lopez Perez <clopez@igalia.com>
164 [XvfbDriver] Regular expression used to match running X servers fails on Fedora 22.
165 https://bugs.webkit.org/show_bug.cgi?id=143530
167 Reviewed by Žan Doberšek.
169 Assume that the default value for display (:0) is reserved and start checking on :1
170 Adjust webkitpy test and include two new test cases for this bug (display number not specified)
171 and for X server named Xorg.bin (previous bug 1376599)
173 * Scripts/webkitpy/port/xvfbdriver.py:
174 (XvfbDriver._next_free_display)
175 * Scripts/webkitpy/port/xvfbdriver_unittest.py:
176 (XvfbDriverTest.test_start_no_pixel_tests):
177 (XvfbDriverTest.test_start_pixel_tests):
178 (XvfbDriverTest.test_start_arbitrary_worker_number):
179 (XvfbDriverTest.test_next_free_display):
180 (XvfbDriverTest.test_start_next_worker):
181 2015-04-08 Alex Christensen <achristensen@webkit.org>
183 Block popups from content extensions.
184 https://bugs.webkit.org/show_bug.cgi?id=143497
186 Reviewed by Brady Eidson.
188 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
189 (TestWebKitAPI::TEST_F):
192 2015-04-08 Alex Christensen <achristensen@webkit.org> and Patrick Gansterer <paroga@webkit.org>
194 Add CMake build system for WinCairo port.
195 https://bugs.webkit.org/show_bug.cgi?id=115944
197 Reviewed by Chris Dumez.
200 * WinLauncher/CMakeLists.txt: Added.
202 2015-04-08 Carlos Garcia Campos <cgarcia@igalia.com>
204 [GTK] Crash in DOMObjectCache when a wrapped object owned by the cache is unreffed by the user
205 https://bugs.webkit.org/show_bug.cgi?id=143521
207 Reviewed by Martin Robinson.
209 Add a way to detect unexpected web process crashes to WebViewTest,
210 and a test case to testDOMCache to trigger the crash.
212 * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
213 (WebKitDOMNodeTest::testDOMCache):
214 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
215 (testWebKitWebViewProcessCrashed):
216 * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
217 (WebViewTest::WebViewTest):
218 (WebViewTest::webProcessCrashed):
219 * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
221 2015-04-07 Alexey Proskuryakov <ap@apple.com>
223 PageVisibilityStateWithWindowChanges should only be enabled on Yosemite
224 rdar://problem/20461342
226 * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
228 2015-04-07 Commit Queue <commit-queue@webkit.org>
230 Unreviewed, rolling out r182511.
231 https://bugs.webkit.org/show_bug.cgi?id=143507
233 caused debug test failures (Requested by alexchristensen on
238 "Block popups from content extensions."
239 https://bugs.webkit.org/show_bug.cgi?id=143497
240 http://trac.webkit.org/changeset/182511
242 2015-04-07 Alex Christensen <achristensen@webkit.org>
244 Block popups from content extensions.
245 https://bugs.webkit.org/show_bug.cgi?id=143497
247 Reviewed by Brady Eidson.
249 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
250 (TestWebKitAPI::TEST_F):
253 2015-04-07 Benjamin Poulain <benjamin@webkit.org>
255 Get the features.json files ready for open contributions
256 https://bugs.webkit.org/show_bug.cgi?id=143436
258 Reviewed by Darin Adler.
260 * Scripts/webkitpy/style/checkers/jsonchecker.py:
261 (JSONFeaturesChecker.check):
262 Extend the syntax checking a bit, but leave everything non-mandatory
263 very loose until we figure what fields are important.
265 2015-04-07 Tim Horton <timothy_horton@apple.com>
267 Expose and test fixedLayoutSize via modern WebKit SPI
268 https://bugs.webkit.org/show_bug.cgi?id=143500
270 Reviewed by Simon Fraser.
272 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
273 * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Added.
274 (-[FixedLayoutSizeNavigationDelegate webView:didFinishNavigation:]):
276 Add a test that verifies that fixedLayoutSize works at all, that
277 it persists through a navigation, and that turning it back off reverts to
278 laying out at the size of the view.
280 2015-04-07 Michael Catanzaro <mcatanzaro@igalia.com>
282 Unreviewed. Add myself as a committer.
284 * Scripts/webkitpy/common/config/contributors.json:
286 2015-04-07 Brent Fulgham <bfulgham@apple.com>
288 [Win] Bots complain about missing /etc/catalog
289 https://bugs.webkit.org/show_bug.cgi?id=143484
291 Reviewed by Chris Dumez.
293 The libxml2 build on Mac, iOS, and Windows does not provide the set
294 of default catalog files. We do not actually need these for our
295 purposes, but we get warnings and some bot flakiness because they
298 We can avoid both problems the same way the Mac and iOS ports do,
299 by setting the XML_CATALOG_FILES environment variable to 'empty string',
300 which avoid the warnings and bot problems.
302 * Scripts/webkitpy/port/win.py:
303 (WinPort.setup_environ_for_server): Added.
305 2015-04-06 Sam Weinig <sam@webkit.org>
307 Use content extensions in MiniBrowser.
308 https://bugs.webkit.org/show_bug.cgi?id=143446
310 Reviewed by Alex Christensen.
312 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
313 * MiniBrowser/mac/AppDelegate.h:
314 * MiniBrowser/mac/AppDelegate.m:
315 (-[BrowserAppDelegate init]):
316 (-[BrowserAppDelegate showExtensionsManager:]):
317 (-[BrowserAppDelegate userContentContoller]):
318 * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
319 * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
320 (-[ExtensionManagerWindowController init]):
321 (-[ExtensionManagerWindowController windowDidLoad]):
322 (-[ExtensionManagerWindowController add:]):
323 (-[ExtensionManagerWindowController remove:]):
324 * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
325 * MiniBrowser/mac/MainMenu.xib:
327 2015-04-07 Youenn Fablet <youenn.fablet@crf.canon.fr>
329 web-platform-tests server should retrieve the modules file relatively to its docroot path
330 https://bugs.webkit.org/show_bug.cgi?id=142742
332 Reviewed by Darin Adler.
334 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
335 (WebPlatformTestServer._install_modules): Compute the modules description file path according wpt server doc root path.
337 2015-04-06 Commit Queue <commit-queue@webkit.org>
339 Unreviewed, rolling out r182445.
340 https://bugs.webkit.org/show_bug.cgi?id=143459
342 broke 32 bit build (Requested by alexchristensen on #webkit).
346 "Use content extensions in MiniBrowser."
347 https://bugs.webkit.org/show_bug.cgi?id=143446
348 http://trac.webkit.org/changeset/182445
350 2015-04-06 Sam Weinig <sam@webkit.org>
352 Use content extensions in MiniBrowser.
353 https://bugs.webkit.org/show_bug.cgi?id=143446
355 Reviewed by Alex Christensen.
357 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
358 * MiniBrowser/mac/AppDelegate.h:
359 * MiniBrowser/mac/AppDelegate.m:
360 (-[BrowserAppDelegate init]):
361 (-[BrowserAppDelegate showExtensionsManager:]):
362 (-[BrowserAppDelegate userContentContoller]):
363 * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
364 * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
365 (-[ExtensionManagerWindowController init]):
366 (-[ExtensionManagerWindowController windowDidLoad]):
367 (-[ExtensionManagerWindowController add:]):
368 (-[ExtensionManagerWindowController remove:]):
369 * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
370 * MiniBrowser/mac/MainMenu.xib:
372 2015-04-06 Michael Catanzaro <mcatanzaro@gnome.org>
374 [GTK] install-dependencies should prefer dnf to yum
375 https://bugs.webkit.org/show_bug.cgi?id=143441
377 Reviewed by Martin Robinson.
379 Test for the existance of dnf before yum, and only try to use yum if dnf does not exist.
381 * gtk/install-dependencies:
383 2015-04-06 Andy Estes <aestes@apple.com>
385 [iOS] 'make clean' fails in Tools/WebKitTestRunner
386 https://bugs.webkit.org/show_bug.cgi?id=143455
388 Reviewed by Dan Bernstein.
390 This Makefile adds '-target WebKitTestRunnerApp' to OTHER_OPTIONS during iOS builds, but the top-level
391 Makefile.shared adds '-alltargets' for clean builds, and xcodebuild does not allow both -target and -alltargets.
393 * WebKitTestRunner/Makefile: Don't add '-target WebKitTestRunerApp' to OTHER_OPTIONS on clean builds.
395 2015-04-06 Alexey Proskuryakov <ap@apple.com>
397 WebKit1.SetAndUpdateCacheModelPreferencesChangeMix fails on some machines
398 https://bugs.webkit.org/show_bug.cgi?id=143450
400 Reviewed by Anders Carlsson.
402 * TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm: (TestWebKitAPI::TEST):
403 Make sure that the view is actually closed, regardless of anything else that happens beneath.
404 Also, removed unnecessary get() calls.
406 2015-04-03 Alexey Proskuryakov <ap@apple.com>
408 Reduce the dependency on Flash in regression tests
409 https://bugs.webkit.org/show_bug.cgi?id=143391
411 Reviewed by Anders Carlsson.
413 * WebKitTestRunner/TestController.cpp: (WTR::TestController::decidePolicyForPluginLoad):
414 Only allow QuickTime and the test plug-in.
416 2015-04-06 Youenn Fablet <youenn.fablet@crf.canon.fr>
418 W3C test importer should generate the modules installed dynamically to run wpt tests
419 https://bugs.webkit.org/show_bug.cgi?id=142738
421 Reviewed by Ryosuke Niwa.
423 The test importer can now generate the submodules description file based on information extracted from the corresponding git repository.
424 The implementation is done within TestDownloader and it is activated for the WPT repository.
425 LayoutTests/imported/w3c/resources/WPTModules is renamed as LayoutTests/imported/w3c/resources/web-platform-tests-modules.json for that reason.
427 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
428 (WebPlatformTestServer._install_modules): Updated to cope with path as array.
429 * Scripts/webkitpy/w3c/test_downloader.py:
430 (TestDownloader._git_submodules_status): Added so that it can be overriden for unit tests.
432 (TestDownloader._git_submodules_description): Computes submodule description.
433 (TestDownloader.generate_git_submodules_description): Write submodule description in a file.
434 * Scripts/webkitpy/w3c/test_importer.py:
435 (TestImporter.do_import): Added the possibility to post process the tests.
437 (TestImporter.generate_git_submodules_description_for_all_repositories): Enable generating module description file.
438 (TestImporter.should_convert_test_harness_links): Updated according new options format.
439 * Scripts/webkitpy/w3c/test_importer_unittest.py:
440 (TestImporterTest.import_downloaded_tests): Making use of TestDownloaderMock.
441 (TestImporterTest.import_downloaded_tests.TestDownloaderMock): Added to override submodule status gathering.
442 (TestImporterTest.import_downloaded_tests.TestDownloaderMock.__init__):
443 (TestImporterTest.import_downloaded_tests.TestDownloaderMock._git_submodules_status):
444 (TestImporterTest.test_submodules_generation): Added to check that modules description files works.
446 2015-04-05 Antti Koivisto <antti@apple.com>
448 Bloom filter should support longer hashes
449 https://bugs.webkit.org/show_bug.cgi?id=143419
451 Reviewed by Dan Bernstein.
453 * TestWebKitAPI/Tests/WTF/BloomFilter.cpp:
454 (TestWebKitAPI::generateRandomDigests):
455 (TestWebKitAPI::TEST):
457 2015-04-03 Csaba Osztrogonác <ossy@webkit.org>
459 run-jsc-stress-tests --remote should add libllvmForJSC.so to the bundle on Linux
460 https://bugs.webkit.org/show_bug.cgi?id=143372
462 Reviewed by Darin Adler.
464 * Scripts/run-jsc-stress-tests:
466 2015-04-03 Antti Koivisto <antti@apple.com>
468 Add non-counting bloom filter class
469 https://bugs.webkit.org/show_bug.cgi?id=143366
471 Reviewed by Sam Weinig.
473 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
474 * TestWebKitAPI/Tests/WTF/BloomFilter.cpp: Added.
475 (TestWebKitAPI::generateRandomHashes):
476 (TestWebKitAPI::TEST):
478 2015-04-03 Csaba Osztrogonác <ossy@webkit.org>
480 FTL JIT tests should fail if LLVM library isn't available
481 https://bugs.webkit.org/show_bug.cgi?id=143374
483 Reviewed by Mark Lam.
485 * Scripts/run-jsc-stress-tests:
487 2015-04-03 Csaba Osztrogonác <ossy@webkit.org>
489 [EFL] Speedup jhbuild with disable running autogen.sh
490 https://bugs.webkit.org/show_bug.cgi?id=143369
492 Reviewed by Gyuyoung Kim.
494 * efl/jhbuild.modules:
496 2015-04-01 Alexey Proskuryakov <ap@apple.com>
498 filter-webkit-build should filter out "created by an unsupported XCDependencyGraph build" lines
499 https://bugs.webkit.org/show_bug.cgi?id=143282
501 Reviewed by Daniel Bates.
503 * Scripts/filter-build-webkit: (shouldIgnoreLine): Do it.
505 2015-04-01 Alexey Proskuryakov <ap@apple.com>
507 When LayoutTestHelper fails to start, we continue to run the tests, ending up with mysterious failures
508 https://bugs.webkit.org/show_bug.cgi?id=143240
509 rdar://problem/19990425
511 Reviewed by Tim Horton.
513 * DumpRenderTree/mac/LayoutTestHelper.m:
514 (colorProfileURLForDisplay):
515 (saveDisplayColorProfiles):
516 Gracefully handle it when the current profile cannot be retrieved, fixing at
517 least one case when LayoutTestHelper couldn't start.
519 * Scripts/webkitpy/layout_tests/controllers/manager.py:
520 (Manager._set_up_run):
521 (Manager._force_pixel_tests_if_needed):
522 * Scripts/webkitpy/port/base.py: (Port.to.start_helper):
523 * Scripts/webkitpy/port/mac.py: (MacPort.start_helper):
524 Return and check an error from start_helper().
526 2015-04-01 Brent Fulgham <bfulgham@apple.com>
528 [Win] Run test-webkitpy as part of EWS (just like we do on other platforms)
529 https://bugs.webkit.org/show_bug.cgi?id=143321
531 Reviewed by Alexey Proskuryakov.
533 * EWSTools/start-queue-win.sh: Add commands to run 'test-webkitpy' during processing loop.
535 2015-04-01 Enrica Casucci <enrica@apple.com>
537 Injected bundle messages should be at the page level.
538 https://bugs.webkit.org/show_bug.cgi?id=143283
540 Reviewed by Alexey Proskuryakov.
542 Updating WebKitTestRunner to use the new page level messaging.
543 The author of this patch is Tim Horton, I just finished it.
545 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
546 (WTR::EventSendingController::mouseDown):
547 (WTR::EventSendingController::mouseUp):
548 (WTR::EventSendingController::mouseMoveTo):
549 (WTR::EventSendingController::leapForward):
550 (WTR::EventSendingController::scheduleAsynchronousClick):
551 (WTR::EventSendingController::keyDown):
552 (WTR::EventSendingController::scheduleAsynchronousKeyDown):
553 (WTR::EventSendingController::mouseScrollBy):
554 (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases):
555 (WTR::EventSendingController::continuousMouseScrollBy):
556 (WTR::EventSendingController::addTouchPoint):
557 (WTR::EventSendingController::updateTouchPoint):
558 (WTR::EventSendingController::setTouchModifier):
559 (WTR::EventSendingController::setTouchPointRadius):
560 (WTR::EventSendingController::touchStart):
561 (WTR::EventSendingController::touchMove):
562 (WTR::EventSendingController::touchEnd):
563 (WTR::EventSendingController::touchCancel):
564 (WTR::EventSendingController::clearTouchPoints):
565 (WTR::EventSendingController::releaseTouchPoint):
566 (WTR::EventSendingController::cancelTouchPoint):
567 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
568 (WTR::InjectedBundle::didReceiveMessage):
569 (WTR::InjectedBundle::didReceiveMessageToPage):
570 (WTR::InjectedBundle::done):
571 (WTR::InjectedBundle::outputText):
572 (WTR::InjectedBundle::postNewBeforeUnloadReturnValue):
573 (WTR::InjectedBundle::postAddChromeInputField):
574 (WTR::InjectedBundle::postRemoveChromeInputField):
575 (WTR::InjectedBundle::postFocusWebView):
576 (WTR::InjectedBundle::postSetBackingScaleFactor):
577 (WTR::InjectedBundle::postSetWindowIsKey):
578 (WTR::InjectedBundle::postSimulateWebNotificationClick):
579 (WTR::InjectedBundle::postSetAddsVisitedLinks):
580 (WTR::InjectedBundle::setGeolocationPermission):
581 (WTR::InjectedBundle::setMockGeolocationPosition):
582 (WTR::InjectedBundle::setMockGeolocationPositionUnavailableError):
583 (WTR::InjectedBundle::setUserMediaPermission):
584 (WTR::InjectedBundle::setCustomPolicyDelegate):
585 (WTR::InjectedBundle::setHidden):
586 (WTR::InjectedBundle::setCacheModel):
587 (WTR::InjectedBundle::shouldProcessWorkQueue):
588 (WTR::InjectedBundle::processWorkQueue):
589 (WTR::InjectedBundle::queueBackNavigation):
590 (WTR::InjectedBundle::queueForwardNavigation):
591 (WTR::InjectedBundle::queueLoad):
592 (WTR::InjectedBundle::queueLoadHTMLString):
593 (WTR::InjectedBundle::queueReload):
594 (WTR::InjectedBundle::queueLoadingScript):
595 (WTR::InjectedBundle::queueNonLoadingScript):
596 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
597 (WTR::TestRunner::setHandlesAuthenticationChallenges):
598 (WTR::TestRunner::setAuthenticationUsername):
599 (WTR::TestRunner::setAuthenticationPassword):
600 (WTR::TestRunner::secureEventInputIsEnabled):
601 (WTR::TestRunner::setBlockAllPlugins):
602 * WebKitTestRunner/TestController.cpp:
603 (WTR::TestController::createWebViewWithOptions):
604 (WTR::TestController::resetStateToConsistentValues):
605 (WTR::TestController::didReceivePageMessageFromInjectedBundle):
606 (WTR::TestController::didReceiveSynchronousPageMessageFromInjectedBundle):
607 * WebKitTestRunner/TestController.h:
608 * WebKitTestRunner/TestInvocation.cpp:
609 (WTR::TestInvocation::invoke):
610 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
612 2015-04-01 Commit Queue <commit-queue@webkit.org>
614 Unreviewed, rolling out r182174 and r182177.
615 https://bugs.webkit.org/show_bug.cgi?id=143314
617 Try to correct EWS failures (Requested by bfulgham on
622 "Python SCM should be able to retrieve untracked files"
623 https://bugs.webkit.org/show_bug.cgi?id=143135
624 http://trac.webkit.org/changeset/182174
626 "[buildbot] clean-build script should remove untracked files
627 and revert local changes too"
628 https://bugs.webkit.org/show_bug.cgi?id=142400
629 http://trac.webkit.org/changeset/182177
631 2015-04-01 Alex Christensen <achristensen@webkit.org>
633 [Content Extensions] Properly handle regexes that match everything.
634 https://bugs.webkit.org/show_bug.cgi?id=143281
636 Reviewed by Benjamin Poulain.
638 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
639 (TestWebKitAPI::testRequest):
640 (TestWebKitAPI::makeBackend):
641 (TestWebKitAPI::TEST_F):
642 Removed duplicate code and added test.
644 2015-03-31 Benjamin Poulain <bpoulain@apple.com>
646 Content Extensions: split the state machines to minimize prefix states
647 https://bugs.webkit.org/show_bug.cgi?id=143253
649 Reviewed by Alex Christensen.
651 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
652 (TestWebKitAPI::TEST_F):
653 (TestWebKitAPI::testPatternStatus):
655 2015-03-31 Yusuke Suzuki <utatane.tea@gmail.com>
657 Clean up Identifier factories to clarify the meaning of StringImpl*
658 https://bugs.webkit.org/show_bug.cgi?id=143146
660 Reviewed by Filip Pizlo.
662 Simple API tests for StringImpl are added.
664 * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
665 (TestWebKitAPI::TEST):
667 2015-03-31 Csaba Osztrogonác <ossy@webkit.org>
669 [EFL] Add AArch64 builder and tester bot to build.webkit.org
670 https://bugs.webkit.org/show_bug.cgi?id=143092
672 Reviewed by Gyuyoung Kim.
674 * BuildSlaveSupport/build.webkit.org-config/config.json:
675 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
677 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
679 2015-03-31 Youenn Fablet <youenn.fablet@crf.canon.fr>
681 [buildbot] clean-build script should remove untracked files and revert local changes too
682 https://bugs.webkit.org/show_bug.cgi?id=142400
684 Reviewed by Ryosuke Niwa.
686 This patch cleans the WebKit folder by reverting tracked files changes and deleting SCM untracked files, including SCM ignored files.
687 A helper routine SCM.discard_untracked_files is added for that purpose.
689 * BuildSlaveSupport/clean-build:
690 (main): Making call to Scripts/clean-webkit
691 * Scripts/clean-webkit: Added.
692 (main): Revert changes and delete untracked files.
693 * Scripts/webkitpy/common/checkout/scm/scm.py:
694 (SCM.discard_untracked_files): Helper function to discard untracked files or folders found by SCM.
695 * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
696 (SCMTest._shared_test_discard_untracked_files):
697 (test_discard_untracked_files): Tests that untracked file and untracked folder get discarded correctly.
699 2015-03-31 Youenn Fablet <youenn.fablet@crf.canon.fr>
701 Python SCM should be able to retrieve untracked files
702 https://bugs.webkit.org/show_bug.cgi?id=143135
704 Reviewed by Ryosuke Niwa.
706 This patch introduces SCM.untracked_files to retrieve a list of untracked files.
707 Ignored files may be included or not in this list according boolean passed to the function.
709 * Scripts/webkitpy/common/checkout/scm/git.py:
710 (Git.untracked_files):
711 * Scripts/webkitpy/common/checkout/scm/scm.py:
712 (SCM.untracked_files):
713 * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
714 (SCMTest._shared_test_untracked_files):
715 (test_untracked_files):
716 (GitSVNTest.test_untracked_files):
717 * Scripts/webkitpy/common/checkout/scm/svn.py:
718 (SVN.untracked_files):
720 2015-03-30 Alex Christensen <achristensen@webkit.org>
722 [Content Extensions] Correctly handle regular expressions matching everything
723 https://bugs.webkit.org/show_bug.cgi?id=143235
725 Reviewed by Benjamin Poulain.
727 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
728 (TestWebKitAPI::checkCompilerError):
729 (TestWebKitAPI::TEST_F):
730 Test ContentExtensionErrors.
732 2015-03-30 Alexey Proskuryakov <ap@apple.com>
734 DumpRenderTree should set NSWindowDisplayWithRunLoopObserver
735 https://bugs.webkit.org/show_bug.cgi?id=143241
736 rdar://problem/20351297
738 Reviewed by Mark Lam.
740 * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
742 2015-03-30 Gyuyoung Kim <gyuyoung.kim@samsung.com>
744 [CMake][EFL] Remove redundant library link and include path
745 https://bugs.webkit.org/show_bug.cgi?id=143221
747 Reviewed by Csaba Osztrogonác.
749 * ImageDiff/PlatformEfl.cmake: Remove unnecessary library link and include path.
751 2015-03-30 Sam Weinig <sam@webkit.org>
753 [Content Extensions] Flesh out the UserContentExtensionStore
754 https://bugs.webkit.org/show_bug.cgi?id=143123
756 Reviewed by Benjamin Poulain.
758 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
759 * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm: Added.
760 Add tests for _WKUserContentExtensionStore.
762 2015-03-30 Marcos Chavarría Teijeiro <chavarria1991@gmail.com>
764 Update install-dependencies Fedora packages after r181624
765 https://bugs.webkit.org/show_bug.cgi?id=143215
767 Add json-glib, libv4l, openssl and pulseaudio development packages to
768 the Fedora list providing we need them to build WebKit dependencies
769 for this distribution.
771 Reviewed by Philippe Normand.
773 * gtk/install-dependencies:
775 2015-03-30 Commit Queue <commit-queue@webkit.org>
777 Unreviewed, rolling out r182119.
778 https://bugs.webkit.org/show_bug.cgi?id=143196
780 problem with syntax (Requested by youenn on #webkit).
784 "[buildbot] clean-build script should remove untracked files
785 and revert local changes too"
786 https://bugs.webkit.org/show_bug.cgi?id=142400
787 http://trac.webkit.org/changeset/182119
789 2015-03-30 Benjamin Poulain <benjamin@webkit.org>
791 Start the features.json files
792 https://bugs.webkit.org/show_bug.cgi?id=143207
794 Reviewed by Darin Adler.
796 I kept the style checking light. We'll have to figure
797 what is the best format for each field.
799 * Scripts/webkitpy/style/checker.py:
800 (CheckerDispatcher._create_checker):
801 * Scripts/webkitpy/style/checkers/jsonchecker.py:
802 (JSONContributorsChecker.check):
803 (JSONFeaturesChecker):
804 (JSONFeaturesChecker.check):
806 2015-03-29 Youenn Fablet <youenn.fablet@crf.canon.fr>
808 [buildbot] clean-build script should remove untracked files and revert local changes too
809 https://bugs.webkit.org/show_bug.cgi?id=142400
811 Reviewed by Ryosuke Niwa.
813 This patch cleans the WebKit folder by deleting SCM untracked files and reverting changes for tracked files.
815 * BuildSlaveSupport/clean-build:
816 (main): Adding call to Tools/Scripts/clean-webkit.
817 * Scripts/clean-webkit: Added.
818 (main): Removes untracked and changed files.
819 * Scripts/webkitpy/common/checkout/scm/git.py:
820 (Git.untracked_files): Retrieves GIT untracked files.
821 * Scripts/webkitpy/common/checkout/scm/scm.py:
822 (SCM.untracked_files): Retrieves SVN untracked files.
824 (SCM.discard_untracked_files): Deletes untracked files/folders.
825 * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
826 (SCMTest._shared_test_untracked_files): Unit testing for untracked files.
827 (test_untracked_files):
828 (GitSVNTest.test_untracked_files):
829 * Scripts/webkitpy/common/checkout/scm/svn.py:
830 (SVN.untracked_files):
832 2015-03-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
834 [CMake] Remove unnecessary INCLUDE_IF_EXISTS macro
835 https://bugs.webkit.org/show_bug.cgi?id=143138
837 Reviewed by Csaba Osztrogonác.
839 INCLUDE_IF_EXISTS isn't used except for 2 places. However those uses can
840 be replaced with WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS.
842 * ImageDiff/CMakeLists.txt:
843 Use WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() instead of INCLUDE_IF_EXISTS.
844 * WebKitTestRunner/CMakeLists.txt: ditto.
846 2015-03-27 Myles C. Maxfield <mmaxfield@apple.com>
848 Support building WTF on Windows without Cygwin
849 https://bugs.webkit.org/show_bug.cgi?id=143084
851 Reviewed by Brent Fulgham.
853 Windows without Cygwin doesn't have curl, unzip, or grep. Luckily, Perl does all of these things.
854 This patch also migrates to using File::Spec->catfile() for directory separators.
856 * Scripts/update-webkit-dependency:
858 * Scripts/update-webkit-support-libs:
860 (downloadExpectedVersionNumber):
862 (toUnixPath): Deleted.
863 * Scripts/webkitdirs.pm:
864 (determineSourceDir):
865 (windowsSourceSourceDir):
866 (windowsLibrariesDir):
868 (checkInstalledTools):
869 (buildVisualStudioProject):
871 2015-03-27 Alex Christensen <achristensen@webkit.org>
874 https://bugs.webkit.org/show_bug.cgi?id=143086
876 Reviewed by Brent Fulgham.
878 * Scripts/webkitdirs.pm:
879 (buildVisualStudioProject):
880 (runSvnUpdateAndResolveChangeLogs):
881 Use ActivePerl-friendly perl.
883 2015-03-27 Csaba Osztrogonác <ossy@webkit.org>
885 URTBF after r182059 to fix the EFL build.
887 * TestWebKitAPI/CMakeLists.txt:
889 2015-03-26 Alexey Proskuryakov <ap@apple.com>
891 Layout test results URL loads in WK1 but not WK2 minibrowser
892 https://bugs.webkit.org/show_bug.cgi?id=143117
894 Reviewed by Tim Horton.
896 * MiniBrowser/mac/WK2BrowserWindowController.m:
897 (-[WK2BrowserWindowController fetch:]): Fix this, international domain names, and
899 (-[WK2BrowserWindowController updateTextFieldFromURL:]): Ditto.
901 2015-03-26 Jer Noble <jer.noble@apple.com>
903 Add --allowed-host support to run-webkit-tests
904 https://bugs.webkit.org/show_bug.cgi?id=142938
906 Reviewed by Brent Fulgham.
908 Accept --allowed-host arguments from run-webkit-tests and pass them through to
909 DumpRenderTree and WebKitTestRunner.
911 Drive-by fix: Depending on the value of the --layout-test-dir parameter, layout test results
912 are placed in the wrong location. The argument is compared with each tests's path, and if a
913 relative path or a path with '..' was used, results are placed alongside the test. Take the
914 absolute path of the --layout-test-dir argument, collapsing path components like '..'.
916 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
918 * Scripts/webkitpy/port/base.py:
920 (Port.allowed_hosts):
921 * Scripts/webkitpy/port/driver.py:
924 2015-03-26 Jer Noble <jer.noble@apple.com>
926 [Mac] Add an --allowed-host argument to DRT and WKTR to allow tests to connect to non-localhost servers
927 https://bugs.webkit.org/show_bug.cgi?id=142931
929 Reviewed by Brent Fulgham.
931 Currently, both DRT and WKTR will refuse to allow network connections to non-localhost servers
932 over HTTP/HTTPS. For certain testing scenarios, however, it would be useful if both DRT and
933 WKTR could be allowed to make HTTP/HTTPS connections to certain, specific servers defined at
936 To allow this, add an optional argument to DRT and WKTR, --allowed-host, which will add the specified
937 hostname to a whitelist; requests to these hosts will allowed to proceed normally.
939 Drive-by fix: in InjectedBundlePage::willSendRequestForFrame, we get the top loading frame from the
940 injected bundle. But after the main resource load completes, the bundle nulls out it's pointer to the
941 top loading frame, which causes a subsequent crash when further resources are requested. Instead, get
942 the top loading frame from the page, as we do elsewhere in this class.
944 * DumpRenderTree/TestRunner.h:
945 (TestRunner::allowedHosts):
946 (TestRunner::setAllowedHosts):
947 * DumpRenderTree/mac/DumpRenderTree.mm:
948 (initializeGlobalsFromCommandLineOptions):
950 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
952 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
953 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
954 (WTR::InjectedBundle::didReceiveMessage):
955 (WTR::InjectedBundle::isAllowedHost):
956 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
957 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
958 (WTR::isAllowedHost):
959 (WTR::InjectedBundlePage::willSendRequestForFrame):
960 * WebKitTestRunner/InjectedBundle/TestRunner.h:
961 * WebKitTestRunner/Options.cpp:
962 (WTR::handleOptionAllowedHost):
963 (WTR::OptionsHandler::OptionsHandler):
964 * WebKitTestRunner/Options.h:
965 * WebKitTestRunner/TestController.cpp:
966 (WTR::TestController::initialize):
967 (WTR::TestController::resetStateToConsistentValues):
968 * WebKitTestRunner/TestController.h:
970 2015-03-26 Brady Eidson <beidson@apple.com>
972 Apply ContentExtension actions after redirects.
973 <rdar://problem/20062613> and https://bugs.webkit.org/show_bug.cgi?id=143055
975 Reviewed by Alex Christensen.
977 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
978 (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame): Dump the fact that the load error is kWKErrorCodeCannotShowURL
979 which is specifically interesting to a new test.
981 2015-03-26 Csaba Osztrogonác <ossy@webkit.org>
983 [EFL] Disable building libseccomp on AArch64
984 https://bugs.webkit.org/show_bug.cgi?id=143094
986 Reviewed by Gyuyoung Kim.
990 2015-03-26 Csaba Osztrogonác <ossy@webkit.org>
992 [jhbuild] git should use only 1 thread for cloning jhbuild
993 https://bugs.webkit.org/show_bug.cgi?id=143095
995 Reviewed by Gyuyoung Kim.
997 * jhbuild/jhbuild-wrapper:
1000 2015-03-25 Joseph Pecoraro <pecoraro@apple.com>
1002 Update prepare-ChangeLog to work with ES6 Class syntax
1003 https://bugs.webkit.org/show_bug.cgi?id=143069
1005 Reviewed by Timothy Hatcher.
1007 * Scripts/prepare-ChangeLog:
1008 (get_function_line_ranges_for_javascript):
1009 Better handle ES6 Class syntax.
1011 * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt:
1012 * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js:
1015 (DerivedClass.staticMethod):
1016 (DerivedClass.prototype.method.nestedFunctionInsideMethod):
1017 (DerivedClass.prototype.method):
1018 (DerivedClass.prototype.get getter):
1019 (namespace.MyClass):
1020 (namespace.MyClass.staticMethod):
1021 (namespace.MyClass.prototype.method.nestedFunctionInsideMethod):
1022 (namespace.MyClass.prototype.method):
1023 (namespace.MyClass.prototype.get getter):
1026 2015-03-25 Filip Pizlo <fpizlo@apple.com>
1028 Use JITCompilationCanFail in more places, and make the fail path of JITCompilationMustSucceed a crash instead of attempting GC
1029 https://bugs.webkit.org/show_bug.cgi?id=142993
1031 Reviewed by Mark Lam.
1033 Bunch of support for testing executable allocation failure.
1035 * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz: Added.
1037 * Scripts/run-javascriptcore-tests:
1038 (runJSCStressTests):
1039 * Scripts/run-jsc-stress-tests:
1041 2015-03-25 Myles C. Maxfield <mmaxfield@apple.com>
1043 Fix Windows build from r181977.
1047 * Scripts/update-webkit-dependency:
1049 2015-03-25 Sam Weinig <sam@webkit.org>
1051 Address additional review feedback from https://bugs.webkit.org/show_bug.cgi?id=143059.
1053 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1054 (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
1056 2015-03-25 Myles C. Maxfield <mmaxfield@apple.com>
1058 Migrate update-webkit for Windows to not require Cygwin
1059 https://bugs.webkit.org/show_bug.cgi?id=143040
1061 Reviewed by Brent Fulgham.
1063 * Scripts/update-webkit-dependency:
1065 (toUnixPath): Deleted.
1066 * Scripts/webkitdirs.pm:
1068 (checkInstalledTools):
1071 2015-03-25 Sam Weinig <sam@webkit.org>
1073 [Content Extensions] Convert content extension compiling to return error codes and write its output using a client
1074 https://bugs.webkit.org/show_bug.cgi?id=143059
1076 Reviewed by Alex Christensen.
1078 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1079 (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
1080 Update for new interface of compileRuleList().
1082 2015-03-25 Alex Christensen <achristensen@webkit.org>
1084 [Content Extensions] Add multi-DFA compiling and interpreting.
1085 https://bugs.webkit.org/show_bug.cgi?id=143010
1087 Reviewed by Benjamin Poulain.
1089 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1090 (TestWebKitAPI::testRequest):
1091 (TestWebKitAPI::TEST_F):
1092 Add some tests for ignore-previous-rules and large rulesets.
1094 2015-03-25 Alexey Proskuryakov <ap@apple.com>
1096 Mavericks WK1 still runs JSC tests
1097 https://bugs.webkit.org/show_bug.cgi?id=143035
1099 Reviewed by Csaba Osztrogonác.
1101 * BuildSlaveSupport/build.webkit.org-config/config.json: Bring Mavericks WK1 in line
1104 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Updated the tests
1107 2015-03-25 Commit Queue <commit-queue@webkit.org>
1109 Unreviewed, rolling out r181932.
1110 https://bugs.webkit.org/show_bug.cgi?id=143041
1112 The test fails most of the time on bots (Requested by ap on
1117 "[Content Extensions] Add multi-DFA compiling and
1119 https://bugs.webkit.org/show_bug.cgi?id=143010
1120 http://trac.webkit.org/changeset/181932
1122 2015-03-24 Alex Christensen <achristensen@webkit.org>
1124 [Content Extensions] Add multi-DFA compiling and interpreting.
1125 https://bugs.webkit.org/show_bug.cgi?id=143010
1127 Reviewed by Benjamin Poulain.
1129 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1130 (TestWebKitAPI::testRequest):
1131 (TestWebKitAPI::TEST_F):
1132 Add some tests for ignore-previous-rules and large rulesets.
1134 2015-03-24 Benjamin Poulain <bpoulain@apple.com>
1136 Make URL filter patterns matching consistent and add a simple canonicalization step
1137 https://bugs.webkit.org/show_bug.cgi?id=142998
1139 Reviewed by Alex Christensen.
1141 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1143 2015-03-24 Csaba Osztrogonác <ossy@webkit.org>
1145 [EFL] Add OpenWebRTC in jhbuild
1146 https://bugs.webkit.org/show_bug.cgi?id=142778
1148 Reviewed by Gyuyoung Kim.
1150 Original patch by Philippe Normand <pnormand@igalia.com>
1152 * efl/install-dependencies: Dependencies for OpenWebRTC.
1153 * efl/jhbuild.modules: build OpenWebRTC, libusrsctp, libnice and
1154 the openwebrtc gst plugins.
1156 2015-03-23 Brent Fulgham <bfulgham@apple.com>
1158 Regression(r181257): WTF_WorkQueue.Simple is flaky
1159 https://bugs.webkit.org/show_bug.cgi?id=142560
1161 Remove the check that the refCount has returned to one after the
1162 individual tasks have completed. It's too nondeterministic when
1163 the reference count will be reduced.
1165 Reviewed by Alexey Proskuryakov
1167 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
1168 (TestWebKitAPI::TEST): Remove test that refCount is back to 1.
1170 2015-03-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1172 [CMake][EFL] Put failure API test excutables into failure directory
1173 https://bugs.webkit.org/show_bug.cgi?id=142965
1175 Reviewed by Csaba Osztrogonác.
1177 Move failing WK2 API test executables to *bin/TestWebKitAPI/WebKit2/failure* directory.
1179 * TestWebKitAPI/CMakeLists.txt: Fix a typo. Change *testBaseName* with *testName*.
1180 * TestWebKitAPI/PlatformEfl.cmake: Additionally remove unnecessary SHARED_CORE and comment for SeccompFilters test.
1182 2015-03-22 Benjamin Poulain <benjamin@webkit.org>
1184 CSS Selectors: fix attribute case-insensitive matching of Contain and List
1185 https://bugs.webkit.org/show_bug.cgi?id=142932
1187 Reviewed by Darin Adler.
1189 Add tests for the new features and fix some existing tests using the
1190 stringFromUTF8() utility recently added by Dhi.
1192 * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1193 (TestWebKitAPI::stringFromUTF8):
1194 * TestWebKitAPI/Tests/WTF/StringView.cpp:
1196 2015-03-22 Michael Catanzaro <mcatanzaro@igalia.com>
1198 [GTK] install-dependencies should install orc
1199 https://bugs.webkit.org/show_bug.cgi?id=142955
1201 Reviewed by Martin Robinson.
1203 Install orc, needed by openwebrtc
1205 * gtk/install-dependencies:
1207 2015-03-22 Benjamin Poulain <bpoulain@apple.com>
1209 Detect when url filter pattern with groups match the empty string
1210 https://bugs.webkit.org/show_bug.cgi?id=142930
1212 Reviewed by Sam Weinig.
1214 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1216 2015-03-22 Anders Carlsson <andersca@apple.com>
1218 _WKWebsiteDataStore should clear WebSQL databases
1219 https://bugs.webkit.org/show_bug.cgi?id=142947
1221 Reviewed by Sam Weinig.
1223 Add a variable that keeps track of the types of data we want to operate on, for easier debugging.
1225 * MiniBrowser/mac/WK2BrowserWindowController.m:
1226 (-[WK2BrowserWindowController fetchWebsiteData:]):
1227 (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
1228 (-[WK2BrowserWindowController clearWebsiteData:]):
1230 2015-03-20 Mark Hahnenberg <mhahnenb@gmail.com>
1232 GCTimer should know keep track of nested GC phases
1233 https://bugs.webkit.org/show_bug.cgi?id=142675
1235 Reviewed by Darin Adler.
1237 Adds a tool to aid in parsing the GC phase timing output into a
1238 tree-like structure based on the parent-child relationships
1239 of nested GC phases.
1241 * Scripts/parse-gc-phase-timings: Added.
1244 (Timing.__unicode__):
1248 (print_timing_node):
1249 (print_timing_tree):
1253 2015-03-20 Brent Fulgham <bfulgham@apple.com>
1255 [Win] Temporarily turn of EWS Windows tests while I debug the test failure.
1257 * Scripts/webkitpy/common/config/ews.json:
1259 2015-03-20 Philippe Normand <pnormand@igalia.com>
1261 [GTK][jhbuild] Fix flakey failures due to unstable googlecode repository
1262 https://bugs.webkit.org/show_bug.cgi?id=142867
1264 Rubber-stamped by Csaba Osztrogon.
1266 * gtk/jhbuild.modules: Use Ossy's libusrsctp Github fork. Also use
1267 a fixed revision for the openwebrtc-gst-plugins.
1269 2015-03-19 Ryosuke Niwa <rniwa@webkit.org>
1271 Unreviewed build fix. Don't try to report stats for all benchmarks.
1272 Just report the geometric mean of preferred means.
1274 * Scripts/run-jsc-benchmarks:
1276 2015-03-19 Ryosuke Niwa <rniwa@webkit.org>
1278 run-jsc-benchmarks should only report preferred mean
1279 https://bugs.webkit.org/show_bug.cgi?id=142874
1281 Reviewed by Geoffrey Garen.
1283 Just collect statistics for the preferred mean.
1285 * Scripts/run-jsc-benchmarks:
1287 2015-03-19 Alex Christensen <achristensen@webkit.org>
1289 [Content Extensions] Test regular expression parse failures.
1290 https://bugs.webkit.org/show_bug.cgi?id=142872
1292 Reviewed by Benjamin Poulain.
1294 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1295 (TestWebKitAPI::testPatternStatus):
1296 (TestWebKitAPI::TEST_F):
1297 Added tests for each parsing status.
1299 2015-03-19 Alex Christensen <achristensen@webkit.org>
1301 Fix API tests after r181754.
1303 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1304 (TestWebKitAPI::testRequest):
1306 2015-03-19 Brady Eidson <beidson@apple.com>
1308 Part of content extensions should apply css selectors
1309 https://bugs.webkit.org/show_bug.cgi?id=142604
1311 Reviewed by Alex Christensen.
1313 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1314 (WebCore::ContentExtensions::operator<<):
1316 2015-03-19 Brent Fulgham <bfulgham@apple.com>
1318 [Win] Activate tests on EWS
1319 https://bugs.webkit.org/show_bug.cgi?id=142850
1321 Reviewed by Alexey Proskuryakov.
1323 * Scripts/webkitpy/common/config/ews.json: Add me as
1324 the EWS bot watcher, and activate tests.
1326 2015-03-19 Csaba Osztrogonác <ossy@webkit.org>
1328 [GTK] Fix inspector userinterface related incremental build issue
1329 https://bugs.webkit.org/show_bug.cgi?id=142849
1331 Reviewed by Carlos Garcia Campos.
1333 * Scripts/webkitdirs.pm:
1334 (shouldRemoveCMakeCache):
1336 2015-03-18 Alex Christensen <achristensen@webkit.org>
1338 [ContentExtensions] Prepare for compiling stylesheets of selectors to be used on every page.
1339 https://bugs.webkit.org/show_bug.cgi?id=142799
1341 Reviewed by Brady Eidson.
1343 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1344 (TestWebKitAPI::testPattern):
1345 (TestWebKitAPI::TEST_F):
1346 Start testing regex failures.
1348 2015-03-18 Dhi Aurrahman <diorahman@rockybars.com>
1350 Fix StringView typos after r181525 and r181558
1351 https://bugs.webkit.org/show_bug.cgi?id=142772
1353 Reviewed by Darin Adler.
1355 Add some tests in [1] to cover the StringView::startsWith,
1356 StringView::startsWithIgnoringASCIICase, StringView::endsWith and
1357 StringView::endsWithIgnoringASCIICase implementations.
1359 * TestWebKitAPI/Tests/WTF/StringView.cpp:
1360 (TestWebKitAPI::TEST):
1362 2015-03-18 Dana Burkart <dburkart@apple.com>
1364 Remove extraneous import to fix the build.
1368 * Scripts/webkitpy/port/driver.py:
1370 2015-03-18 Dana Burkart <dburkart@apple.com>
1372 ASAN_OPTIONS=allocator_may_return_null=1 needs to be set
1373 https://bugs.webkit.org/show_bug.cgi?id=142547
1375 Reviewed by Alexey Proskuryakov.
1377 * Scripts/webkitpy/port/driver.py:
1378 (Driver._setup_environ_for_driver):
1380 2015-03-18 Alexey Proskuryakov <ap@apple.com>
1382 Tweak how AppleSystemFontOSSubversion default is added
1383 https://bugs.webkit.org/show_bug.cgi?id=142835
1385 Reviewed by Dan Bernstein.
1387 * DumpRenderTree/mac/DumpRenderTree.mm:
1388 (setDefaultsToConsistentValuesForTesting):
1390 2015-03-18 Dan Bernstein <mitz@apple.com>
1392 prepare-ChangeLog doesn't understand C string literals split across multiple lines with \
1393 https://bugs.webkit.org/show_bug.cgi?id=142815
1395 Reviewed by Darin Adler.
1397 * Scripts/prepare-ChangeLog:
1398 (get_function_line_ranges_for_cpp): If the line ends with a backslash instead of a matching
1399 quotation mark, use new variable $quotation_mark to remember what we are looking for, and
1400 keep consuming the quoted text until the matching quotation mark is reached. Emit the
1401 warning only if a line ends without a backslash before the matching quotation mark was found.
1403 2015-03-18 Joseph Pecoraro <pecoraro@apple.com>
1405 Remove unused "preprocessor" parameter to sub-CodeGenerators
1406 https://bugs.webkit.org/show_bug.cgi?id=142793
1408 Reviewed by Darin Adler.
1410 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
1413 2015-03-18 Csaba Osztrogonác <ossy@webkit.org>
1415 [EFL] Bump gstreamer version to 1.4.4
1416 https://bugs.webkit.org/show_bug.cgi?id=142782
1418 Reviewed by Philippe Normand.
1420 * efl/jhbuild.modules:
1421 * efl/patches/gst-libav.patch:
1422 * efl/patches/gst-plugins-bad-remove-gnustep-support.patch: Added.
1423 * efl/patches/gst-prevent-neon-check-in-configure-from-passing-under-aarch64.patch: Removed.
1425 2015-03-17 Tim Horton <timothy_horton@apple.com>
1429 * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
1430 (WTR::InjectedBundle::platformInitialize):
1432 2015-03-17 Dean Jackson <dino@apple.com>
1434 check-webkit-style should allow "bool a : 1"
1435 https://bugs.webkit.org/show_bug.cgi?id=142794
1437 Reviewed by Brent Fulgham.
1439 We should allow member bitfields of the form:
1443 It seems that Visual Studio 8 was the last compiler that
1444 wasn't happy about not using unsigned here. We already have
1445 about 500 cases (in WebCore) where people were ignoring this rule.
1447 * Scripts/webkitpy/style/checkers/cpp.py:
1448 (check_language): Allow "bool".
1449 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add tests.
1450 (CppStyleTest.test_enum_bitfields):
1451 (CppStyleTest.test_plain_integral_bitfields):
1453 2015-03-17 Benjamin Poulain <bpoulain@apple.com>
1455 Compile character ranges targeting the same state as range check in the bytecode
1456 https://bugs.webkit.org/show_bug.cgi?id=142759
1458 Reviewed by Alex Christensen.
1460 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1461 (TestWebKitAPI::TEST_F):
1463 2015-03-17 Youenn Fablet <youenn.fablet@crf.canon.fr>
1465 W3C test parser and converter should use test importer host
1466 https://bugs.webkit.org/show_bug.cgi?id=142729
1468 Reviewed by Bem Jones-Bey.
1470 When instantiated by TestImporter, TestParser and TestConverter are now using the same host.
1471 This enables adding more TestImporter unit testing.
1472 This patch also ensures that the git object instantiated by TestDownloader is using the
1473 same Executive and FileSystem object as TestDownloader, again to enable TestImporter/TestDownloader unit testing.
1475 * Scripts/webkitpy/common/system/filesystem_mock.py:
1476 (MockFileSystem.copytree): Fixes implementation as it creates a runtime error.
1477 * Scripts/webkitpy/w3c/test_downloader.py:
1478 (TestDownloader.git): Set the executive of the git object to the one of TestDownloader. Refactoring in a new git function for future reuse.
1479 (TestDownloader.checkout_test_repository): Making use of the new git function.
1480 * Scripts/webkitpy/w3c/test_importer.py:
1481 (TestImporter.find_importable_tests): Adding host as parameter to the parser.
1482 (TestImporter.import_tests): Adding host as parameter to the converter.
1483 * Scripts/webkitpy/w3c/test_importer_unittest.py:
1484 (TestImporterTest.create_test_download_importer): Creating a test downloader mock, to be reused by other tests.
1486 (TestImporterTest.test_harnesslinks_conversion): Adding test to check that test harness links are converted for CSS tests but not WPT tests.
1487 * Scripts/webkitpy/w3c/test_parser.py:
1488 (TestParser.__init__): Adding host as parameter constructor.
1490 2015-03-17 Carlos Garcia Campos <cgarcia@igalia.com>
1492 [GTK] WebKitDOM objects leaking
1493 https://bugs.webkit.org/show_bug.cgi?id=118788
1495 Reviewed by Darin Adler and Sergio Villar Senin.
1497 Update DOMObjectCache unit test to check that DOM objects are also
1498 released when new contents are loaded in the web view, and the old
1499 document is detached from the frame.
1501 * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
1502 (testWebKitDOMObjectCache):
1503 * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
1506 2015-03-17 Youenn Fablet <youenn.fablet@crf.canon.fr>
1508 W3C test importer default import folder should be LayoutTests/imported/w3c
1509 https://bugs.webkit.org/show_bug.cgi?id=142728
1511 Reviewed by Bem Jones-Bey.
1513 * Scripts/webkitpy/w3c/test_importer.py:
1514 (parse_args): Updating the default destination option value to 'imported/w3c'.
1516 2015-03-17 Philippe Normand <pnormand@igalia.com>
1518 [GTK] basic OpenWebRTC build support
1519 https://bugs.webkit.org/show_bug.cgi?id=142393
1521 Reviewed by Carlos Garcia Campos.
1523 * gtk/jhbuild.modules: Add OpenWebRTC and its dependencies. This
1524 is not the upstream OpenWebRTC repository. This temporary fork
1525 contains a few patches needed by WebKit for audio/video rendering.
1527 2015-03-17 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1529 [CMake][EFL] Build test tools only for developer mode
1530 https://bugs.webkit.org/show_bug.cgi?id=142761
1532 Reviewed by Csaba Osztrogonác.
1534 Do not build EFL MiniBrowser, WebKitTestRunner, and ImageDiff on production mode.
1538 2015-03-17 Joseph Pecoraro <pecoraro@apple.com>
1540 Remove never used "useLayerOnTop" bindings generator argument
1541 https://bugs.webkit.org/show_bug.cgi?id=142773
1543 Reviewed by Darin Adler.
1545 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
1548 2015-03-16 Ryosuke Niwa <rniwa@webkit.org>
1550 Enable ES6 classes by default
1551 https://bugs.webkit.org/show_bug.cgi?id=142774
1553 Reviewed by Gavin Barraclough.
1555 * Scripts/webkitperl/FeatureList.pm:
1557 2015-03-16 Alexey Proskuryakov <ap@apple.com>
1559 Fix webkitpy tests after r181585.
1561 Looks like "me" cannot be anyone's email, it's a special case.
1563 * Scripts/webkitpy/common/config/contributors.json:
1565 2015-03-16 Alexey Proskuryakov <ap@apple.com>
1567 Add tolerance to WebAudio tests
1568 https://bugs.webkit.org/show_bug.cgi?id=142676
1570 Reviewed by Tim Horton.
1572 * Scripts/webkitpy/common/wavediff.py: Added. Based on Jer Noble's work.
1574 * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
1575 (TestResultWriter.create_audio_diff_and_write_result):
1576 * Scripts/webkitpy/layout_tests/models/test_failures.py:
1577 (FailureAudio.write_failure):
1578 * Scripts/webkitpy/port/base.py:
1579 (Port.do_audio_results_differ):
1580 Diff audio failures.
1582 * Scripts/webkitpy/port/test.py: Added a test for the tolerance, fixed existing
1583 tests to use real parseable WAV data, and got rid of base64, which there didn't
1584 seem to have been any reason for.
1586 2015-03-16 Alexey Proskuryakov <ap@apple.com>
1588 [Mac] fast/forms/text-control-intrinsic-widths.html fails when MS Office is installed
1589 https://bugs.webkit.org/show_bug.cgi?id=142720
1591 Reviewed by Myles C. Maxfield.
1593 Activate system copies of Microsoft fonts for the current process, thus overriding
1594 any other ones that could be preferred by the system otherwise.
1596 * DumpRenderTree/mac/DumpRenderTree.mm:
1597 (activateSystemCoreWebFonts):
1599 * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
1600 (WTR::activateSystemCoreWebFonts):
1601 (WTR::activateFonts):
1603 2015-03-16 Xabier Rodriguez Calvar <calvaris@igalia.com>
1605 Created Streams API watchlist
1606 https://bugs.webkit.org/show_bug.cgi?id=142684
1608 Reviewed by Benjamin Poulain.
1610 * Scripts/webkitpy/common/config/watchlist: Created StreamsAPI
1611 watchlist and added Benjamin, Youenn and me to it.
1613 2015-03-15 Benjamin Poulain <benjamin@webkit.org>
1615 CSS: fix the case-insensitive matching of the attribute selectors Begin, End and Hyphen
1616 https://bugs.webkit.org/show_bug.cgi?id=142715
1618 Reviewed by Brent Fulgham.
1620 * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1621 (TestWebKitAPI::TEST):
1623 2015-03-15 Benjamin Poulain <bpoulain@apple.com>
1625 Change the exact attribute matching to be ASCII case-insensitive
1626 https://bugs.webkit.org/show_bug.cgi?id=142609
1628 Reviewed by Darin Adler.
1630 * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1631 * TestWebKitAPI/Tests/WTF/StringView.cpp:
1633 2015-03-13 Youenn Fablet <youenn.fablet@crf.canon.fr>
1635 WebKit test infrastructure should automate the process of cloning W3C test suite and importing tests from it
1636 https://bugs.webkit.org/show_bug.cgi?id=134764
1638 Reviewed by Ryosuke Niwa.
1640 TestDownloader is introduced to download W3C tests from the official
1641 W3C tests repositories (https://github.com/w3c/web-platform-tests.git
1642 and https://github.com/w3c/csswg-test.git).
1643 TestDownloader clones the repositories and checkouts revisions of the tests
1644 defined in LayoutTests/imported/w3c/resources/TestRepositories.
1646 Similarly to https://codereview.chromium.org/148173016,
1647 TestDownloader copies part of the files based on the rules
1648 defined in LayoutTests/imported/w3c/resources/ImportExpectations.
1650 TestDownloader is used by TestImporter when no source directory is provided.
1652 * Scripts/webkitpy/w3c/test_downloader.py: Added.
1654 (TestDownloader.default_options):
1655 (TestDownloader.load_test_repositories):
1656 (TestDownloader.__init__):
1657 (TestDownloader.checkout_test_repository):
1658 (TestDownloader._init_paths_from_expectations):
1659 (TestDownloader._add_test_suite_paths):
1660 (TestDownloader._empty_directory):
1661 (TestDownloader.copy_tests):
1662 (TestDownloader.download_tests):
1663 * Scripts/webkitpy/w3c/test_importer.py:
1666 (TestImporter.__init__):
1667 (TestImporter.do_import):
1668 (TestImporter.test_downloader):
1669 (TestImporter.find_importable_tests.should_keep_subdir):
1670 (TestImporter.should_convert_test_harness_links):
1671 (TestImporter.import_tests):
1672 (TestImporter.write_import_log):
1674 2015-03-12 Alexey Proskuryakov <ap@apple.com>
1676 [Mavericks] Test snapshots are 1600x1200 on Retina devices
1677 https://bugs.webkit.org/show_bug.cgi?id=142630
1679 Reviewed by Tim Horton.
1681 * WebKitTestRunner/mac/PlatformWebViewMac.mm: (WTR::PlatformWebView::windowSnapshotImage):
1682 Removed an ifdef that disabled the fix on Mavericks.
1684 2015-03-12 Csaba Osztrogonác <ossy@webkit.org>
1686 Remove isWK2 cruft from webkitdirs.pm after r170426
1687 https://bugs.webkit.org/show_bug.cgi?id=142618
1689 Reviewed by Daniel Bates.
1691 * Scripts/webkitdirs.pm:
1694 2015-03-12 Alexey Proskuryakov <ap@apple.com>
1696 testRunner.setAlwaysAcceptCookies does not work with NetworkProcess
1697 https://bugs.webkit.org/show_bug.cgi?id=138687
1699 Reviewed by Carlos Garcia Campos.
1701 Always change cookie policy from UI process, as changing it from WebProcess doesn't
1702 affect other processes.
1704 The implementation is imperfect, because the change happens asynchronously, but I
1705 don't expect it to be a problem in practice.
1707 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1708 (WTR::InjectedBundle::beginTesting):
1709 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1710 (WTR::TestRunner::setAlwaysAcceptCookies):
1711 * WebKitTestRunner/TestInvocation.cpp:
1712 (WTR::TestInvocation::invoke):
1713 (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1715 2015-03-12 Csaba Osztrogonác <ossy@webkit.org>
1717 [EFL] Enable building EFL 1.13 with NEON support
1718 https://bugs.webkit.org/show_bug.cgi?id=142619
1720 Reviewed by Gyuyoung Kim.
1722 * efl/jhbuild.modules:
1724 2015-03-11 Alex Christensen <achristensen@webkit.org>
1726 [Content Extensions] Add resource type and load type triggers.
1727 https://bugs.webkit.org/show_bug.cgi?id=142422
1729 Reviewed by Benjamin Poulain.
1731 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1732 (TestWebKitAPI::testRequest):
1733 (TestWebKitAPI::mainDocumentRequest):
1734 (TestWebKitAPI::TEST_F):
1735 (TestWebKitAPI::testURL): Deleted.
1737 2015-03-10 Sam Weinig <sam@webkit.org>
1739 Allow adding a button in input elements for auto fill related functionality
1740 <rdar://problem/19782066>
1741 https://bugs.webkit.org/show_bug.cgi?id=142564
1743 Reviewed by Anders Carlsson.
1745 * WebKitTestRunner/TestController.cpp:
1746 (WTR::TestController::createOtherPage):
1747 (WTR::TestController::createWebViewWithOptions):
1748 Update for new callback.
1750 2015-03-11 Benjamin Poulain <bpoulain@apple.com>
1752 Add basic support for BOL and EOL assertions to the URL Filter parser
1753 https://bugs.webkit.org/show_bug.cgi?id=142568
1755 Reviewed by Alex Christensen.
1757 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1758 (TestWebKitAPI::TEST_F):
1760 2015-03-11 Carlos Garcia Campos <cgarcia@igalia.com>
1762 [GTK] Add support for handling TLS errors to MiniBrowser
1763 https://bugs.webkit.org/show_bug.cgi?id=142576
1765 Reviewed by Sergio Villar Senin.
1767 It's useful for testing TLS errors handling itself, but also to
1768 allow ignoring TLS errors when testing.
1770 * MiniBrowser/gtk/BrowserWindow.c:
1771 (webViewLoadFailedWithTLSerrors):
1772 (browserWindowConstructed):
1774 2015-03-11 Myles C. Maxfield <mmaxfield@apple.com>
1776 Use out-of-band messaging for RenderBox::firstLineBaseline() and RenderBox::inlineBlockBaseline()
1777 https://bugs.webkit.org/show_bug.cgi?id=142569
1779 Reviewed by David Hyatt.
1781 Test Optional::valueOrCompute().
1783 * TestWebKitAPI/Tests/WTF/Optional.cpp:
1784 (TestWebKitAPI::TEST):
1786 2015-03-11 Carlos Garcia Campos <cgarcia@igalia.com>
1788 [GTK] Add an option to enable MiniBrowser for non developer builds and always install it
1789 https://bugs.webkit.org/show_bug.cgi?id=126688
1791 Reviewed by Gustavo Noronha Silva.
1793 * CMakeLists.txt: Build testing tools only for developer builds,
1794 but MiniBrowser when ENABLE_MINIBROWSER option is ON.
1795 * MiniBrowser/gtk/CMakeLists.txt: Only add
1796 -DWEBKIT_INJECTED_BUNDLE_PATH to the build for developer builds,
1797 and add a rule to install the MiniBrowser.
1798 * MiniBrowser/gtk/main.c:
1799 (main): Only set WEBKIT_INJECTED_BUNDLE_PATH env var for developer
1802 2015-03-11 Brent Fulgham <bfulgham@apple.com>
1804 Add some DateMath tests to TestWebKitAPI
1805 https://bugs.webkit.org/show_bug.cgi?id=142565
1807 Reviewed by Alexey Proskuryakov.
1809 * TestWebKitAPI/CMakeLists.txt: Add new DateMath.cpp file.
1810 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj: Ditto.
1811 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters: Ditto.
1812 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto."
1813 * TestWebKitAPI/Tests/WTF/DateMath.cpp: Added.
1815 2015-03-10 Brent Fulgham <bfulgham@apple.com>
1817 Regression(r181257): WTF_WorkQueue.Simple is flaky
1818 https://bugs.webkit.org/show_bug.cgi?id=142560
1820 Unreviewed attempt to improve test stability.
1822 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp: Check the reference count for
1823 the WorkQueue a little later to redue flakiness.
1825 2015-03-10 Myles C. Maxfield <mmaxfield@apple.com>
1827 Migrate from SystemUIFontSelect to AppleSystemFontOSSubversion
1828 https://bugs.webkit.org/show_bug.cgi?id=142555
1830 Reviewed by Simon Fraser.
1832 * DumpRenderTree/mac/DumpRenderTree.mm:
1833 (setDefaultsToConsistentValuesForTesting):
1834 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
1835 (WTR::InjectedBundle::platformInitialize):
1837 2015-03-10 Alex Christensen <achristensen@webkit.org>
1839 Use unsigned for HashSet size.
1840 https://bugs.webkit.org/show_bug.cgi?id=142518
1842 Reviewed by Benjamin Poulain.
1844 * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1845 (TestWebKitAPI::TEST):
1846 * TestWebKitAPI/Tests/WTF/HashSet.cpp:
1847 (TestWebKitAPI::testInitialCapacity):
1848 * TestWebKitAPI/Tests/WTF/ListHashSet.cpp:
1849 (TestWebKitAPI::TEST):
1851 2015-03-10 Daniel Bates <dabates@apple.com>
1853 [iOS] Add WebKitSystemInterface for iOS 8.2
1854 https://bugs.webkit.org/show_bug.cgi?id=142505
1856 Rubber-stamped by Anders Carlsson.
1858 Make copy-webkitlibraries-to-product-directory install libWebKitSystemInterfaceIOS{Device, Simulator}8.2.a.
1859 I inadvertently forgot to add libWebKitSystemInterfaceIOS{Device, Simulator}8.2.a to script
1860 copy-webkitlibraries-to-product-directory in r181286.
1862 * Scripts/copy-webkitlibraries-to-product-directory:
1864 2015-03-10 Benjamin Poulain <bpoulain@apple.com>
1866 Extend URL filter's Term definition to support groups/subpatterns
1867 https://bugs.webkit.org/show_bug.cgi?id=142519
1869 Reviewed by Alex Christensen.
1871 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1872 (TestWebKitAPI::testURL):
1874 2015-03-06 Jer Noble <jer.noble@apple.com>
1876 Add an option to run-webkit-tests to override the LayoutTests/ directory
1877 https://bugs.webkit.org/show_bug.cgi?id=142418
1879 Reviewed by David Kilzer.
1881 Add an arugment to run-webkit-tests which, when set, overrides the port's default LayoutTests
1882 directory. The base port will parse the options during initialization and store the override
1883 location if present. layout_tests_dir() will return this overridden location if set.
1885 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1887 * Scripts/webkitpy/port/base.py:
1889 (Port.layout_tests_dir):
1891 2015-03-09 Martin Robinson <mrobinson@igalia.com>
1893 [CMake] Enable WorkQueue tests for CMake ports
1894 https://bugs.webkit.org/show_bug.cgi?id=142473
1896 Reviewed by Darin Adler.
1898 * TestWebKitAPI/CMakeLists.txt: Add the WorkQueue tests source file to
1899 the list of source files.
1900 * Tools/TestWebKitAPI/PlatformEfl.cmake: Add the DispatchQueueEfl directory
1901 to the list of include directories for EFL.
1903 2015-03-09 David Kilzer <ddkilzer@apple.com>
1905 Attempt to fix timeouts on iOS Simulator layout tests
1907 * Scripts/webkitpy/port/ios.py:
1908 (IOSSimulatorPort.setup_test_run): Most layout test runs on iOS
1909 Simulator end after the first 50 tests time out. Some analysis
1910 this past weekend shows that the 'Booted' status in the output
1911 of `xcrun simctl list` is not sufficient (and watching the test
1912 run shows that SpringBoard hasn't fully started to the point
1913 where it's displaying icons on the home screen). The workaround
1914 until we have a better fix is to add an arbitrary timeout to let
1915 SpringBoard finish launching. In practice, 15 seconds is
1916 probably enough, but 30 seconds should nearly always work.
1918 2015-03-09 Per Arne Vollan <peavo@outlook.com>
1920 Unreviewed. Add myself as a committer.
1922 * Scripts/webkitpy/common/config/contributors.json:
1924 2015-03-09 David Kilzer <ddkilzer@apple.com>
1926 Attempt to fix WTF_WorkQueue.TwoQueues timeout test failure
1928 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
1929 (TestWebKitAPI::TEST): Change delay from 50ns to 50ms, and add
1930 an expectation that will fail if we hit the race condition.
1931 This test is inherently racy and will deadlock if the first job
1932 for queue2 takes the mutex lock before the second job for
1935 2015-03-08 Brent Fulgham <bfulgham@apple.com>
1937 [Win] WTF::WorkQueue does not balance ref/deref properly
1938 https://bugs.webkit.org/show_bug.cgi?id=142471
1940 Reviewed by Antti Koivisto.
1942 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
1943 (TestWebKitAPI::TEST): Check that the refcount is correct.
1945 2015-03-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1947 Do not show passing test result on output of EFL layout test
1948 https://bugs.webkit.org/show_bug.cgi?id=142380
1950 Reviewed by Darin Adler.
1952 To show passing tests has caused inconvenience when we detect problem tests
1953 in output of layout test. So this patch applies '--debug-rwt-logging' except for EFL port
1954 in order not to show passing tests in the output of EFL layout test.
1956 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1957 (RunWebKitTests.start):
1959 2015-03-08 Brent Fulgham <bfulgham@apple.com>
1961 Unreviewed build fix.
1963 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
1964 (TestWebKitAPI::TEST): Remove two unused variables.
1966 2015-03-08 Brent Fulgham <bfulgham@apple.com>
1968 Add some WorkQueue tests to TestWebKitAPI
1969 https://bugs.webkit.org/show_bug.cgi?id=142447
1971 Reviewed by Sam Weinig.
1973 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
1974 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
1975 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1976 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp: Added.
1977 (TestWebKitAPI::simpleTest):
1978 (TestWebKitAPI::longTest):
1979 (TestWebKitAPI::thirdTest):
1980 (TestWebKitAPI::finishedTests):
1981 (TestWebKitAPI::TEST):
1982 (TestWebKitAPI::longTest2):
1984 2015-03-08 Carlos Garcia Campos <cgarcia@igalia.com>
1986 Remove willDestroyFrame in WKBundlePageLoaderClient
1987 https://bugs.webkit.org/show_bug.cgi?id=142389
1989 Reviewed by Anders Carlsson.
1991 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1992 (WTR::InjectedBundlePage::InjectedBundlePage):
1994 2015-03-07 Brent Fulgham <bfulgham@apple.com>
1996 [Win] Increase TestWebKitAPI Test Coverage[Win] Increase TestWebKitAPI Test Coverage
1997 https://bugs.webkit.org/show_bug.cgi?id=142433
1999 Reviewed by Darin Adler.
2001 Include more TestWebKitAPI tests when building for Windows. Also
2002 fix a build error in MetaAllocator.cpp caused by one of the
2003 Microsoft headers #defining 'small'.
2005 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
2006 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
2007 * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp:
2009 2015-03-06 Sam Weinig <sam@webkit.org>
2011 [Content Extensions] Move compiling of content extensions to the UIProcess
2012 https://bugs.webkit.org/show_bug.cgi?id=142402
2014 Reviewed by Benjamin Poulain.
2016 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2017 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp: Copied from Tools/TestWebKitAPI/Tests/WebCore/ContentFilter.cpp.
2018 (TestWebKitAPI::InMemoryCompiledContentExtension::create):
2019 (TestWebKitAPI::InMemoryCompiledContentExtension::~InMemoryCompiledContentExtension):
2020 (TestWebKitAPI::InMemoryCompiledContentExtension::InMemoryCompiledContentExtension):
2021 (TestWebKitAPI::TEST_F):
2022 * TestWebKitAPI/Tests/WebCore/ContentFilter.cpp: Removed.
2023 Update test for new name (ContentFilter -> ContentExtensions) and API (CompiledContentExtension
2026 2015-03-06 Brent Fulgham <bfulgham@apple.com>
2028 [Win] Correct Windows build.
2030 Rubberstamped by Michael Saboff
2032 * win/AssembleBuildLogs/AssembleLogs.cmd: Correct cut/paste error
2035 2015-03-06 Carlos Garcia Campos <cgarcia@igalia.com>
2037 [GTK] Test /webkit2/WebKitWebView/sync-request-on-max-conns might fail after finished
2038 https://bugs.webkit.org/show_bug.cgi?id=142385
2040 Reviewed by Sergio Villar Senin.
2042 Use stack allocated GMainLoopSources to make sure they are
2043 cancelled automatically if the test finishes before they have
2046 * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
2047 (testWebViewSyncRequestOnMaxConns):
2049 2015-03-06 Csaba Osztrogonác <ossy@webkit.org>
2051 Remove Mountain Lion libraries since ML isn't supported
2052 https://bugs.webkit.org/show_bug.cgi?id=142332
2054 Reviewed by Darin Adler.
2056 * Scripts/copy-webkitlibraries-to-product-directory:
2058 2015-03-06 Carlos Alberto Lopez Perez <clopez@igalia.com> and Youenn Fablet <youenn.fablet@crf.canon.fr>
2060 Layout tests imported/w3c/web-platform-tests certificates should not be tracked on WebKit VCS
2061 https://bugs.webkit.org/show_bug.cgi?id=142083
2063 Reviewed by Simon Fraser.
2065 Modifying on the fly wpt config.json to set the directory where to generate/read certificates as a subfolder of the layout test results folder.
2067 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2068 (WebPlatformTestServer._copy_webkit_test_files):
2070 2015-03-06 Csaba Osztrogonác <ossy@webkit.org>
2072 setup-git-clone fails due to the failure to download python-irclib-0.4.8
2073 https://bugs.webkit.org/show_bug.cgi?id=141946
2075 Reviewed by Ryosuke Niwa.
2077 Check in ircbot.py and irclib.py to avoid network problems in the future.
2079 * Scripts/webkitpy/common/net/irc/ircbot.py:
2080 * Scripts/webkitpy/thirdparty/__init__.py:
2081 (AutoinstallImportHook.find_module):
2082 (AutoinstallImportHook._install_irc): Deleted.
2083 * Scripts/webkitpy/thirdparty/__init___unittest.py:
2084 (ThirdpartyTest.test_imports):
2085 * Scripts/webkitpy/thirdparty/irc/__init__.py: Added.
2086 * Scripts/webkitpy/thirdparty/irc/ircbot.py: Added.
2087 * Scripts/webkitpy/thirdparty/irc/irclib.py: Added.
2089 2015-03-06 David Kilzer <ddkilzer@apple.com>
2091 Dashboard: Perf bot status is missing for Apple {Mavericks,Yosemite} Release builds
2093 See also fix to config.json in r181097.
2095 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2096 (WebKitBuildbot): Add missing "WK2" to the names of the perf
2099 2015-03-06 Csaba Osztrogonác <ossy@webkit.org>
2101 run-jsc-stress-tests should determine the architecture from ELF binaries
2102 https://bugs.webkit.org/show_bug.cgi?id=142335
2104 Reviewed by Darin Adler.
2106 * Scripts/run-jsc-stress-tests:
2108 2015-03-05 David Kilzer <ddkilzer@apple.com>
2110 [iOS] TestExpectations for ios-simulator-wk2 should fall back to 'wk2' after 'ios-simulator'
2111 <http://webkit.org/b/142226>
2113 Reviewed by Darin Adler.
2115 * Scripts/webkitpy/port/ios.py:
2116 (IOSSimulatorPort.default_baseline_search_path): Switch the
2117 TestExpectations order of ios-simulator-wk2 from this:
2118 ios-simulator-wk2, wk2, ios-simulator
2120 ios-simulator-wk2, ios-simualtor, wk2
2122 2015-03-05 Brent Fulgham <bfulgham@apple.com>
2124 [Win] Provide tiered logging from MSBuild -- Errors on top, Warnings after
2125 https://bugs.webkit.org/show_bug.cgi?id=142370
2127 Reviewed by Dean Jackson.
2129 * Scripts/webkitdirs.pm:
2130 (buildVisualStudioProject): Tell MSBuild to output log files to two separate
2131 logs, one for warnings, the other for errors.
2132 * win/AssembleBuildLogs/AssembleLogs.cmd: Combine the error and warning logs
2133 into the standard BuildOutput.htm document.
2135 2015-03-05 David Kilzer <ddkilzer@apple.com>
2137 Dashboard has trouble parsing iOS test output
2138 <http://webkit.org/b/142364>
2140 Reviewed by Alex Christensen.
2142 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
2143 (BuildbotTestResults.prototype._parseResults.resultSummarizer):
2144 Add fallback path to build a regex using 'matchString' so that
2145 it matches anywhere in the line. In practice, 'matchString' is
2146 a prefix for the label following the number.
2148 2015-03-05 Alex Christensen <achristensen@webkit.org>
2150 Fix linker warnings in TestWebKitAPI.
2151 https://bugs.webkit.org/show_bug.cgi?id=141912
2153 Reviewed by David Kilzer.
2155 * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
2156 Do not export TearDownTestCase or SetUpTestCase symbols.
2158 2015-03-05 Brent Fulgham <bfulgham@apple.com>
2160 [Win] Unreviewed EWS fix.
2162 * Scripts/webkitdirs.pm:
2163 (buildVisualStudioProject): Dial logging back to 'ErrorsOnly' to see if that makes
2164 the EWS output more usable.
2166 2015-03-05 Chris Dumez <cdumez@apple.com>
2168 Regression(r173761): ASSERTION FAILED: !is8Bit() in StringImpl::characters16()
2169 https://bugs.webkit.org/show_bug.cgi?id=142350
2171 Reviewed by Michael Saboff and Benjamin Poulain.
2173 Add API test for WTFString::hasInfixStartingAt() to make sure it doesn't
2174 crash if the string is 8-bit but the pattern is 16-bit (and vice-versa).
2176 * TestWebKitAPI/Tests/WTF/WTFString.cpp:
2177 (TestWebKitAPI::TEST):
2179 2015-03-05 Brent Fulgham <bfulgham@apple.com>
2181 [Win] Ensure build target directory exists when launching MSBuild
2182 https://bugs.webkit.org/show_bug.cgi?id=142360
2184 Reviewed by Dean Jackson.
2186 Create the build output directory (if it doesn't exist) before
2187 launching MSBuild so that it can immediately begin writing logs.
2189 * Scripts/webkitdirs.pm:
2190 (buildVisualStudioProject):
2192 2015-03-05 Chris Dumez <cdumez@apple.com>
2194 run-webkit-tests and run-perf-tests should use WebKitTestRunner by default
2195 https://bugs.webkit.org/show_bug.cgi?id=142325
2197 Reviewed by Csaba Osztrogonác.
2199 run-webkit-tests and run-perf-tests now use WebKitTestRunner by default.
2200 As a result, "--webkit-test-runner / -2" parameters are replaced by
2201 "--dump-render-tree / -1" so developers can run DumpRenderTree rather
2202 than WebKitTestRunner.
2204 * BuildSlaveSupport/build.webkit.org-config/config.json:
2205 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2207 (RunWebKit1Tests.start):
2208 (RunWebKit1LeakTests):
2209 (RunWebKit1LeakTests.start):
2210 (RunAndUploadPerfTestsWebKit1):
2211 (RunAndUploadPerfTestsWebKit1.start):
2213 (TestWebKit1LeaksFactory):
2214 (TestWebKit1LeaksFactory.__init__):
2215 (TestWebKit1Factory):
2216 (TestWebKit1AllButJSCFactory):
2217 (TestAllButJSCFactory):
2218 (BuildAndPerfTestWebKit1Factory):
2219 (BuildAndPerfTestWebKit1Factory.__init__):
2220 (BuildAndPerfTestFactory):
2221 (BuildAndPerfTestFactory.__init__):
2222 (DownloadAndPerfTestWebKit1Factory):
2223 (DownloadAndPerfTestWebKit1Factory.__init__):
2224 (DownloadAndPerfTestFactory):
2225 (DownloadAndPerfTestFactory.__init__):
2226 (RunWebKitLeakTests): Deleted.
2227 (RunWebKitLeakTests.start): Deleted.
2228 (RunWebKit2Tests): Deleted.
2229 (RunWebKit2Tests.start): Deleted.
2230 (RunAndUploadPerfTestsWebKit2): Deleted.
2231 (RunAndUploadPerfTestsWebKit2.start): Deleted.
2232 (TestLeaksFactory): Deleted.
2233 (TestLeaksFactory.__init__): Deleted.
2234 (TestWebKit2Factory): Deleted.
2235 (TestWebKit2AndJSCFactory): Deleted.
2236 (BuildAndPerfTestWebKit2Factory): Deleted.
2237 (BuildAndPerfTestWebKit2Factory.__init__): Deleted.
2238 (DownloadAndPerfTestWebKit2Factory): Deleted.
2239 (DownloadAndPerfTestWebKit2Factory.__init__): Deleted.
2240 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2242 * Scripts/webkitpy/performance_tests/perftestsrunner.py:
2243 (PerfTestsRunner._parse_args):
2244 * Scripts/webkitpy/port/port_testcase.py:
2245 (PortTestCase.test_build_driver):
2247 2015-03-05 Brent Fulgham <bfulgham@apple.com>
2249 [Win] Switch to MSBuild so we get more useful stdout logging in buildbot
2250 https://bugs.webkit.org/show_bug.cgi?id=140845
2252 Reviewed by David Kilzer.
2254 Update 'webkitdirs.pm' to locate the MSBuild used with Visual Studio 2013
2255 and generate suitable build commands to drive a full build from our
2256 existing solution files.
2258 * Scripts/webkitdirs.pm:
2259 (msBuildInstallDir): Added.
2260 (determineConfigurationForVisualStudio): Revise to use MSBuild command
2261 line arguments to drive the build.
2262 (setupCygwinEnv): Warn user if MSBuild cannot be located.
2263 (buildVisualStudioProject): Revise to use MSBuild command line arguments
2264 to specify build architecture.
2265 * win/AssembleBuildLogs/AssembleLogs.cmd: MSBuild doesn't produce individual
2266 output logs, so don't attempt to consolidate them. Also: Drive-by fix: Don't
2267 bother looking for CoreUI or SafariTheme build logs.
2269 2015-03-05 Csaba Osztrogonác <ossy@webkit.org>
2271 [buildbot] mastercfg_unittest.py should be runnable easily
2272 https://bugs.webkit.org/show_bug.cgi?id=142219
2274 Reviewed by Chris Dumez.
2276 Buildbot 0.8.6p1 runs on build.webkit org with Twisted 12.1.0, which is
2277 the last Twisted version works together with this buildbot version.
2279 * Scripts/webkitpy/common/system/autoinstall.py:
2280 (AutoInstaller): Added prepend_to_search_path argument to be able
2281 to prefer autoinstalled package to system package.
2282 (AutoInstaller.__init__):
2283 (AutoInstaller._set_up_target_dir):
2284 (AutoInstaller._extract_tar): Renamed from _extract_targz, now it works with tar.bz2 too.
2285 (AutoInstaller._prepare_package):
2286 (AutoInstaller._extract_targz): Renamed to _extract_tar.
2287 * Scripts/webkitpy/thirdparty/__init__.py:
2288 (AutoinstallImportHook._install_buildbot): Autoinstall Twisted 12.1.0.
2290 2015-03-05 Lukasz Bialek <l.bialek@samsung.com>
2292 [EFL][WK2] Crash when "Download Linked File" from MiniBrowser context menu is clicked
2293 https://bugs.webkit.org/show_bug.cgi?id=131162
2295 Reviewed by Gyuyoung Kim.
2297 * MiniBrowser/efl/main.c:
2298 (on_download_request):
2299 (on_download_finished):
2300 (on_download_failed):
2302 Adapt download callbacks to new callback mechanism
2304 2015-03-05 Carlos Garcia Campos <cgarcia@igalia.com>
2306 Unreviewed. Fix /webkit2/WebKitWebResource/mime-type after r180927.
2308 In r180927 we updated the libsoup version used by the jhbuild. In
2309 this new version the sniffer uses image/x-icon instead of
2310 image/vnd.microsoft.icon for blank.ico resource.
2312 * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
2313 (testWebResourceMimeType):
2315 2015-03-05 Carlos Garcia Campos <cgarcia@igalia.com>
2317 [SOUP] Check TLS errors as soon as they are set in the SoupMessage
2318 https://bugs.webkit.org/show_bug.cgi?id=142244
2320 Reviewed by Sergio Villar Senin.
2322 Check that the SSL server doesn't process any request in case of
2323 TLS errors when the policy is set to FAIL.
2325 * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
2326 (testTLSErrorsPolicy):
2327 (testTLSErrorsRedirect):
2328 (testTLSErrorsHTTPAuth):
2329 (testLoadFailedWithTLSErrors):
2330 (testSubresourceLoadFailedWithTLSErrors):
2331 (httpsServerCallback):
2333 2015-03-05 Pawel Forysiuk <p.forysiuk@samsung.com>
2335 [EFL] REGRESSION (r178685): ASSERTION FAILED: !parameters.mediaKeyStorageDirectory.isEmpty()
2336 https://bugs.webkit.org/show_bug.cgi?id=141154
2338 Reviewed by Jer Noble.
2340 Unlike GTK, EFL port enables ENABLE_ENCRYPTED_MEDIA_V2 build option by default.
2342 For the sake of completeness WebKitTestRunner should specify temporary
2343 folder for MediaKeysStorageDirecory as well as IndexedDB, LocalStorage, etc.
2345 Default non legacy paths are set up in ProcessPoolConfiguration constructor.
2346 They use WebsiteDataStore::websiteDataDirectoryFileSystemRepresentation
2347 to get data storage paths. Only Mac port has an actual implementation of it.
2348 However, WebKitTestRunner overrides them in favour of unique temporary dir
2349 which is taken from libraryPathForTesting().
2351 Since WebsiteDataStore::websiteDataDirectoryFileSystemRepresentation
2352 is not implemented for EFL and GTK ports it returns an empty string.
2353 All default data folders besides MediaKeys are overridden in TestRunner
2354 code with unique temporary folders derived from DUMPRENDERTREE_TEMP
2357 GTK port does not enable encrypted keys by default so
2358 WebMediaKeyStorageManager::initialize() code path is never triggered.
2360 * WebKitTestRunner/TestController.cpp:
2361 (WTR::TestController::initialize): Set MediaKeysStorageDirectory for all
2364 2015-03-05 Csaba Osztrogonác <ossy@webkit.org>
2366 [buildbot] Add regression test to check which builder runs which tests
2367 https://bugs.webkit.org/show_bug.cgi?id=142166
2369 Reviewed by Alexey Proskuryakov.
2371 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2372 (BuildStepsConstructorTest.createTest):
2374 (BuildStepsTest.generateTests):
2375 (BuildStepsTest.createTest):
2376 (BuildStepsTest.createTest.doTest):
2377 (BuildStepsTest.test_unnecessary_expected_results):
2379 2015-03-04 Commit Queue <commit-queue@webkit.org>
2381 Unreviewed, rolling out r181054.
2382 https://bugs.webkit.org/show_bug.cgi?id=142320
2384 Broke the api tests (Requested by sundiamonde on #webkit).
2388 "Fix linker warnings in TestWebKitAPI."
2389 https://bugs.webkit.org/show_bug.cgi?id=141912
2390 http://trac.webkit.org/changeset/181054
2392 2015-03-04 Alex Christensen <achristensen@webkit.org>
2394 Fix linker warnings in TestWebKitAPI.
2395 https://bugs.webkit.org/show_bug.cgi?id=141912
2397 Reviewed by David Kilzer.
2399 * TestWebKitAPI/Configurations/Base.xcconfig:
2400 Use GCC_SYMBOLS_PRIVATE_EXTERN like we do in WebCore.
2402 2015-03-04 Alexey Proskuryakov <ap@apple.com>
2404 [Mac] Set SystemUIFontSelect in DRT and WKTR
2405 https://bugs.webkit.org/show_bug.cgi?id=142303
2407 Reviewed by Myles C. Maxfield.
2409 * DumpRenderTree/mac/DumpRenderTree.mm:
2410 (setDefaultsToConsistentValuesForTesting):
2411 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
2412 (WTR::InjectedBundle::platformInitialize):
2414 2015-03-04 Chris Dumez <cdumez@apple.com>
2416 Mac Perf bots should use WebKitTestRunner instead of DumpRenderTree
2417 https://bugs.webkit.org/show_bug.cgi?id=142314
2418 <rdar://problem/20046835>
2420 Reviewed by Ryosuke Niwa.
2422 Mac Perf bots should use WebKitTestRunner instead of DumpRenderTree
2423 to get WK2 code coverage.
2425 * BuildSlaveSupport/build.webkit.org-config/config.json:
2427 2015-03-04 Alex Christensen <achristensen@webkit.org>
2429 Move content extensions test to properly named directory.
2430 https://bugs.webkit.org/show_bug.cgi?id=142299
2432 Reviewed by Tim Horton.
2434 * WebKitTestRunner/mac/TestControllerMac.mm:
2435 (WTR::TestController::platformConfigureViewForTest):
2437 2015-03-04 Youenn Fablet <youenn.fablet@crf.canon.fr>
2439 W3C test importer should use filesystem instead of os.walk
2440 https://bugs.webkit.org/show_bug.cgi?id=142085
2442 Reviewed by Bem Jones-Bey.
2444 Added FileSystem.dirs_under to remove the use of os.walk in test importer.
2445 Added MockFileSystem.dirs_under and MockFileSystem.getsize to enable unit testing of test importer.
2446 Added unit test for FileSystem.dirs_under and MockFileSystem.dirs_under.
2448 Made use of FileSystem.dirs_under within TestImporter.find_importable_tests.
2449 Added a unit test to check that test importer is now black-box testable using a Mock system.
2451 * Scripts/webkitpy/common/system/filesystem.py:
2452 (FileSystem.dirs_under): Returns a list of filtered sub-directories.
2453 (FileSystem.dirs_under.filter_all):
2454 * Scripts/webkitpy/common/system/filesystem_mock.py:
2455 (MockFileSystem.dirs_under):
2456 (MockFileSystem.dirs_under.filter_all):
2457 (MockFileSystem.getsize):
2458 * Scripts/webkitpy/common/system/filesystem_mock_unittest.py:
2459 (MockFileSystemTest.test_dirs_under):
2460 (MockFileSystemTest.test_dirs_under.filter_dir):
2461 * Scripts/webkitpy/common/system/filesystem_unittest.py:
2462 (RealFileSystemTest.test_sep):
2463 (RealFileSystemTest):
2464 (RealFileSystemTest.test_dirs_under):
2465 (RealFileSystemTest.test_dirs_under.filter_this_dir):
2466 * Scripts/webkitpy/w3c/test_importer.py:
2467 (TestImporter.do_import):
2468 (TestImporter.find_importable_tests.should_keep_subdir):
2469 (TestImporter.find_importable_tests):
2470 (TestImporter.should_keep_subdir): Deleted.
2471 (TestImporter.should_skip_file): Deleted.
2472 * Scripts/webkitpy/w3c/test_importer_unittest.py:
2473 (TestImporterTest.test_import_dir_with_empty_init_py): Added test to ensure empty __init__.py are no longer empty once imported.
2475 2015-03-04 Timothy Horton <timothy_horton@apple.com>
2477 [WebEditingTester] Add support for the find and replace bar
2478 https://bugs.webkit.org/show_bug.cgi?id=142247
2480 Reviewed by Enrica Casucci.
2482 While it's not hooked up yet in WKWebView, adding support for the
2483 find bar to WebEditingTester will help us implement that functionality.
2485 * WebEditingTester/AppDelegate.h:
2486 * WebEditingTester/AppDelegate.m:
2487 (-[WebEditingAppDelegate performTextFinderAction:]):
2488 * WebEditingTester/MainMenu.xib:
2489 Receive performTextFinderAction: and forward it to the frontmost WebDocumentController.
2491 * WebEditingTester/WK2WebDocumentController.m:
2492 (-[WK2WebDocumentController awakeFromNib]):
2493 (-[WK2WebDocumentController performTextFinderAction:]):
2494 (-[WK2WebDocumentController findBarView]):
2495 (-[WK2WebDocumentController setFindBarView:]):
2496 (-[WK2WebDocumentController isFindBarVisible]):
2497 (-[WK2WebDocumentController setFindBarVisible:]):
2498 (-[WK2WebDocumentController findBarViewDidChangeHeight]):
2499 (-[WK2WebDocumentController layout]):
2500 Implement performTextFinderAction: for WebKit2, and have a NSTextFinder
2501 pointing at the WKWebView (currently nothing will work, but the bar will
2502 show up). Install and uninstall the bar as needed.
2504 * WebEditingTester/WebDocument.xib:
2505 Don't use a full-size content view. There's no need, and it makes find
2508 * WebEditingTester/WebDocumentController.h:
2509 * WebEditingTester/WebDocumentController.m:
2510 (-[WebDocumentController performTextFinderAction:]):
2512 2015-03-03 Sam Weinig <sam@webkit.org>
2514 [Content Extensions] Split parsing and compiling of content extensions into their own files
2515 https://bugs.webkit.org/show_bug.cgi?id=142259
2517 Reviewed by Anders Carlsson.
2519 Add basic unit test for the content filter compiler.
2521 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2522 * TestWebKitAPI/Tests/WebCore/ContentFilter.cpp: Added.
2523 (WebCore::ContentExtensions::operator<<):
2524 (TestWebKitAPI::ContentFilterTest::SetUp):
2525 (TestWebKitAPI::TEST_F):
2527 2015-03-04 Matthew Mirman <mmirman@apple.com>
2529 Cleaned up BuildAndTestFactory to not be a near duplicate of TestFactory
2530 https://bugs.webkit.org/show_bug.cgi?id=142230
2532 Reviewed by Csaba Osztrogonác.
2534 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2536 (TestFactory.getProduct): Added
2537 (TestFactory.__init__): moved downloader to getProduct
2538 (BuildAndTestFactory):
2539 (BuildAndTestFactory.getProduct): Added
2540 (BuildAndTestFactory.__init__): made to call TestFactory.__init__ and append steps to the end.
2541 (BuildAndTestWebKit2Factory): Deleted. Wasn't used anywhere.
2543 2015-03-04 Debarshi Ray <debarshir@gnome.org>
2545 [GTK] WebView should hold a reference on WebContext because non-default contexts are a reality
2546 https://bugs.webkit.org/show_bug.cgi?id=142225
2548 Reviewed by Carlos Garcia Campos.
2550 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
2551 (testWebViewWebContextLifetime):
2554 2015-03-03 David Kilzer <ddkilzer@apple.com>
2556 [iOS] Crash logs can't be found on ios-simulator because WebKitTestRunner returns the wrong process name
2557 <http://webkit.org/b/142243>
2559 Reviewed by Alexey Proskuryakov.
2561 * WebKitTestRunner/TestController.cpp:
2562 (WTR::TestController::webProcessName):
2563 (WTR::TestController::networkProcessName):
2564 - Return the same process name on iOS and Mac because they both
2565 use the same process name for local engineering builds.
2567 2015-03-03 David Kilzer <ddkilzer@apple.com>
2569 check-webkit-style: Add exception for FrameworkSoftLink.h header order
2570 <http://webkit.org/b/141872>
2572 Reviewed by Alex Christensen.
2574 * Scripts/webkitpy/style/checkers/cpp.py: Remove unneeded
2575 semi-colons in various places and fix whitespace.
2576 (_IncludeState): Add _SOFT_LINK_HEADER and _SOFT_LINK_SECTION
2578 (_IncludeState.__init__): Add self._visited_soft_link_section
2579 boolean state variable.
2580 (_IncludeState.visited_soft_link_section): Getter for
2581 self._visited_soft_link_section.
2582 (_IncludeState.check_next_include_order): Update state machine
2583 for soft-link headers. Add check that soft-link headers always
2585 (_classify_include): Add check for soft-link header type.
2586 (check_include_line): Return early if there is a soft-link
2589 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2590 (OrderOfIncludesTest.test_public_primary_header): Add tests for
2591 including soft-link headers.
2592 (OrderOfIncludesTest.test_classify_include): Add test for
2593 _SOFT_LINK_HEADER type.
2595 2015-03-03 Alexey Proskuryakov <ap@apple.com>
2597 build.webkit.org/dashboard: Don't repeatedly handle each test type
2598 https://bugs.webkit.org/show_bug.cgi?id=142211
2600 Reviewed by Tim Horton and Matt Hanson.
2602 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
2603 (Buildbot.prototype.javascriptTestResultsURLForIteration): Deleted.
2604 (Buildbot.prototype.apiTestResultsURLForIteration): Deleted.
2605 (Buildbot.prototype.platformAPITestResultsURLForIteration): Deleted.
2606 (Buildbot.prototype.webkitpyTestResultsURLForIteration): Deleted.
2607 (Buildbot.prototype.webkitperlTestResultsURLForIteration): Deleted.
2608 (Buildbot.prototype.bindingsTestResultsURLForIteration): Deleted.
2609 Removed functions that build a link to test step results. The buildbot provides
2610 these links in JSON.
2612 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2613 (BuildbotIteration): Put failing tests into an array, instead of named variables.
2614 (BuildbotIteration.ProductiveSteps): Removed step names that are not used on build.webkit.org.
2615 We can easily add them to the map as needed.
2616 (BuildbotIteration.TestSteps): Added a list of test steps to be displayed by test queues.
2617 (BuildbotIteration.prototype._parseData): Moved code for parsing step results away
2618 to BuildbotTestResults class. We used to parse here, build an intermediate data structure,
2619 and then build a BuildbotTestResults object, which was strange.
2620 (BuildbotIteration.prototype.loadLayoutTestResults): Ditto.
2622 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2623 Corrected an unrelated assertion that was buggy, and kept firing.
2625 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
2626 (BuildbotTestResults):
2627 (BuildbotTestResults.prototype._parseResults.resultSummarizer):
2628 (BuildbotTestResults.prototype._parseResults):
2629 (BuildbotTestResults.prototype.addFullLayoutTestResults):
2630 Moved the code for parsing JSON results for a single step here.
2632 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2633 (BuildbotTesterQueueView.prototype._testStepFailureDescription):
2634 (BuildbotTesterQueueView.prototype._testStepFailureDescriptionWithCount):
2635 (BuildbotTesterQueueView.prototype._presentPopoverForGenericTestFailures):
2636 (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus): Deleted.
2637 (BuildbotTesterQueueView.prototype.update): Deleted.
2638 (BuildbotTesterQueueView.prototype._presentPopoverForMultipleFailureKinds): Deleted.
2639 Updated for the new data structures. One behavior change is that we now display individual
2640 counts when multiple test kinds fail, e.g. "1 javascript test failure, 83+ layout
2641 test failures, 3 platform api test failures".
2643 2015-03-03 Matthew Mirman <mmirman@apple.com>
2645 JSC tests should not be repeated twice for each branch builder, and should if possible have their own queue.
2646 https://bugs.webkit.org/show_bug.cgi?id=142094
2648 Reviewed by Csaba Osztrogonác.
2650 * BuildSlaveSupport/build.webkit.org-config/config.json: Added bots 155 and 157
2651 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2653 (TestFactory.__init__): Made running of JSC tests conditional.
2654 (TestAllButJSCFactory):
2655 (TestJSCFactory): Added.
2656 (TestJSCFactory.__init__):
2657 (TestWebKit2AndJSCFactory): Added factory to not run JSC tests on WebKit2.
2659 2015-03-03 David Kilzer <ddkilzer@apple.com>
2661 `build-webkit --help` is wrong about how to build for the iOS simulator
2662 <http://webkit.org/b/142223>
2664 Reviewed by Csaba Osztrogonác.
2666 * Scripts/build-webkit: Fix help.
2668 2015-03-03 Carlos Garcia Campos <cgarcia@igalia.com>
2670 Unreviewed. Bump libsoup version to 2.49.91.1 to fix 32 bit build.
2672 * gtk/jhbuild.modules:
2674 2015-03-03 Carlos Garcia Campos <cgarcia@igalia.com>
2676 [SOUP] Synchronous XMLHttpRequests can time out when we reach the max connections limit
2677 https://bugs.webkit.org/show_bug.cgi?id=141508
2679 Reviewed by Sergio Villar Senin.
2681 Add a unit test to check that synchronous XHRs load even if the
2682 maximum connection limits are reached.
2684 * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
2685 (testWebViewSyncRequestOnMaxConns):
2688 * gtk/jhbuild.modules: Bump libsoup version to 2.49.91.
2690 2015-03-02 Alexey Proskuryakov <ap@apple.com>
2692 Update the name of ASan build step.
2694 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2696 2015-03-02 Jer Noble <jer.noble@apple.com>
2698 [WK1][WK2][Mac] Fullscreen animation is incorrect when page is scaled.
2699 https://bugs.webkit.org/show_bug.cgi?id=142121
2701 Reviewed by Simon Fraser.
2703 Add a test which changes the WebView's page scale, then enters fullscreen mode, and verifies
2704 that the initial and final screen rects for the web content are as expected.
2706 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2707 * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.html: Added.
2708 * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm: Added.
2709 (-[FullscreenStateDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
2710 (runJavaScriptAlert):
2711 (TestWebKitAPI::FullscreenZoomInitialFrame::initializeView):
2712 (TestWebKitAPI::FullscreenZoomInitialFrame::teardownView):
2713 (TestWebKitAPI::FullscreenZoomInitialFrame::setPageScale):
2714 (TestWebKitAPI::FullscreenZoomInitialFrame::sendMouseDownEvent):
2715 (TestWebKitAPI::FullscreenZoomInitialFrame::runTest):
2716 (TestWebKitAPI::TEST_F):
2718 2015-03-01 David Kilzer <ddkilzer@apple.com>
2720 LayoutTestRealy: Prepend __XPC_ to the key, not the value!
2724 LayoutTestRelay: App environment variables not set for --guard-malloc or --leaks
2725 <http://webkit.org/b/142145>
2727 * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
2728 (-[LTRelayController _environmentVariables]): Fix think-o.
2730 2015-03-01 David Kilzer <ddkilzer@apple.com>
2732 LayoutTestRelay: App environment variables not set for --guard-malloc or --leaks
2733 <http://webkit.org/b/142145>
2735 Reviewed by Simon Fraser.
2737 * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
2738 (-[LTRelayController _environmentVariables]): Add.
2739 (-[LTRelayController launchApp]): Use -_environmentVariables.
2741 2015-02-28 David Kilzer <ddkilzer@apple.com>
2743 [iOS] Stop running webkit-build-directory on every layout test
2745 This was originally fixed by David Farler for Bug 135409 in
2748 * Scripts/webkitpy/port/ios.py:
2749 (IOSSimulatorPort.relay_path): Mark as @memoized so it doesn't
2750 run webkit-build-directory every time it's called.
2752 2015-02-28 Youenn Fablet <youenn.fablet@crf.canon.fr>
2754 W3C importer should use filesystem instead of shutil/host
2755 https://bugs.webkit.org/show_bug.cgi?id=142012
2757 Reviewed by Bem Jones-Bey.
2759 Removed direct use of python shutil and os, except for os.walk which will require its own fix.
2761 * Scripts/webkitpy/w3c/test_importer.py:
2763 (TestImporter.do_import):
2764 (TestImporter.find_importable_tests):
2765 (TestImporter.import_tests):
2766 (TestImporter.remove_deleted_files):
2767 (TestImporter.write_import_log):
2769 2015-02-28 Youenn Fablet <youenn.fablet@crf.canon.fr>
2771 W3C test importer should use filesystem to read and write files
2772 https://bugs.webkit.org/show_bug.cgi?id=142084
2774 Reviewed by Bem Jones-Bey.
2776 Use of FileSystem.write_binary_file, read_text_file and write_text_file in lieu of open().
2778 * Scripts/webkitpy/w3c/test_importer.py:
2779 (TestImporter.import_tests):
2780 (TestImporter.remove_deleted_files):
2781 (TestImporter.write_import_log):
2783 2015-02-27 Sam Weinig <sam@webkit.org>
2785 Add WebKit2 SPI to create a DOM File object
2786 https://bugs.webkit.org/show_bug.cgi?id=142109
2788 Reviewed by Tim Horton.
2790 Add a test for WKBundleFileHandleRef.
2792 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2793 * TestWebKitAPI/Tests/WebKit2/WKBundleFileHandle.cpp: Added.
2794 (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
2795 (TestWebKitAPI::didFinishLoadForFrame):
2796 (TestWebKitAPI::TEST):
2797 * TestWebKitAPI/Tests/WebKit2/WKBundleFileHandle_Bundle.cpp: Added.
2798 (TestWebKitAPI::WKBundleFileHandleTest::WKBundleFileHandleTest):
2799 * TestWebKitAPI/Tests/WebKit2/bundle-file.html: Added.
2801 2015-02-27 Michael Saboff <msaboff@apple.com>
2803 Add ability for run-jsc-benchmarks to set library path from test binary when run on a build bot
2804 https://bugs.webkit.org/show_bug.cgi?id=142112
2806 Reviewed by Filip Pizlo.
2808 Added check for VMs in the form of <someDir>/{DumpRenderTree,webkitTestRunner,jsc} and use
2809 <someDir> as the library path.
2811 * Scripts/run-jsc-benchmarks:
2813 2015-02-27 Alex Christensen <achristensen@webkit.org>
2815 [WinCairo] Unreviewed build fix.
2817 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommonWinCairo.props:
2818 Use TestWebKitAPIPrefix.h like in TestWebKitAPICommon.props.
2820 2015-02-27 Anders Carlsson <andersca@apple.com>
2822 Add infrastructure for handling website data in the network process
2823 https://bugs.webkit.org/show_bug.cgi?id=142092
2825 Reviewed by Andreas Kling.
2827 Add a menu item that will fetch all website data, delete the returned data records, and
2828 fetch all website data again so we can confirm that it's all empty.
2830 * MiniBrowser/mac/WK2BrowserWindowController.m:
2831 (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
2833 2015-02-26 Brent Fulgham <bfulgham@apple.com>
2835 [Win] Remove remaining SafariTheme cruft
2836 https://bugs.webkit.org/show_bug.cgi?id=142075
2838 Reviewed by Anders Carlsson.
2840 Remove reference to SafariTheme-switching preference.
2842 * DumpRenderTree/win/DumpRenderTree.cpp:
2843 (resetWebPreferencesToConsistentValues):
2844 (prepareConsistentTestingEnvironment):
2846 2015-02-26 Doug Russell <d_russell@apple.com>
2848 AX: Expose caret browsing preference to accessibility API
2849 https://bugs.webkit.org/show_bug.cgi?id=141862
2851 Reviewed by Chris Fleizach.
2853 Exposing the caret browsing setting on WebCore::Frame via the accessibility API would allow assistive tech apps to enable it contextually (for example, when the assistive tech app is running).
2854 Enabling caret browsing when assistive tech apps are running greatly improves the reliability of keyboard navigation on the web. Most especially in cases where selection would be disrupted by focus events.
2856 * DumpRenderTree/AccessibilityUIElement.cpp:
2857 (setBoolAttributeValueCallback):
2858 (selectedTextMarkerRangeCallback):
2859 (resetSelectedTextMarkerRangeCallback):
2860 (AccessibilityUIElement::setBoolAttributeValue):
2861 (AccessibilityUIElement::selectedTextMarkerRange):
2862 (AccessibilityUIElement::resetSelectedTextMarkerRange):
2863 (AccessibilityUIElement::getJSClass):
2864 * DumpRenderTree/AccessibilityUIElement.h:
2865 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2866 (AccessibilityUIElement::setBoolAttributeValue):
2867 (AccessibilityUIElement::selectedTextMarkerRange):
2868 (AccessibilityUIElement::resetSelectedTextMarkerRange):
2869 * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2870 (WTR::AccessibilityUIElement::selectedTextMarkerRange):
2871 (WTR::AccessibilityUIElement::resetSelectedTextMarkerRange):
2872 (WTR::AccessibilityUIElement::setBoolAttributeValue):
2873 * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2874 * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2875 * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2876 (WTR::AccessibilityUIElement::setBoolAttributeValue):
2877 (WTR::AccessibilityUIElement::selectedTextMarkerRange):
2878 (WTR::AccessibilityUIElement::resetSelectedTextMarkerRange):
2880 2015-02-26 Brent Fulgham <bfulgham@apple.com>
2882 [Win] Remove WebKitExportGenerator project (and related)
2883 https://bugs.webkit.org/show_bug.cgi?id=142035
2885 Reviewed by Dean Jackson.
2887 * win/AssembleBuildLogs/AssembleLogs.cmd: Don't look for a
2888 build log from WebKitExportGenerator.
2890 2015-02-26 Csaba Osztrogonác <ossy@webkit.org>
2892 [EFL] Bump EFL version to 1.13.0
2893 https://bugs.webkit.org/show_bug.cgi?id=141708
2895 Reviewed by Gyuyoung Kim.
2897 * efl/jhbuild.modules:
2899 2015-02-26 Sam Weinig <sam@webkit.org>
2901 Check in missing WebEditingTester.xcconfig file.
2903 * WebEditingTester/Configurations/WebEditingTester.xcconfig: Added.
2905 2015-02-26 Csaba Osztrogonác <ossy@webkit.org>
2907 [webkitpy] Remove skipped file related crufts
2908 https://bugs.webkit.org/show_bug.cgi?id=142046
2910 Reviewed by Ryosuke Niwa.
2912 * Scripts/webkitpy/port/base.py:
2913 (Port.skipped_layout_tests):
2914 (Port._tests_from_skipped_file_contents): Deleted.
2916 (Port._expectations_from_skipped_files): Deleted.
2917 * Scripts/webkitpy/port/mac_unittest.py:
2918 (MacTest.test_default_timeout_ms):
2920 (test_tests_from_skipped_file_contents): Deleted.
2922 2015-02-26 Brent Fulgham <bfulgham@apple.com>
2924 [Win] Unreviewed WinCairo build fix after r180653.
2926 TestWebKitAPI should know about proper WEBCORE_EXPORT definitions.
2928 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
2929 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
2930 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommon.props:
2931 * TestWebKitAPI/win/TestWebKitAPIPrefix.cpp: Added.
2932 * TestWebKitAPI/win/TestWebKitAPIPrefix.h: Added.
2934 2015-02-25 Brent Fulgham <bfulgham@apple.com>
2936 [Win] Use WEBCORE_EXPORT instead of Definition file
2937 https://bugs.webkit.org/show_bug.cgi?id=141734
2939 Reviewed by Alex Christensen.
2941 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
2942 Use a precompiled header so we can define our export macros properly.
2943 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj.filters:
2944 Visual studio automatic update stuff.
2945 * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeCommon.props:
2946 Set up Precompiled Header use for project..
2947 * DumpRenderTree/win/DumpRenderTreePrefix.cpp: Added.
2948 * DumpRenderTree/DumpRenderTreePrefix.h: Update with proper export
2949 declarations for building DumpRenderTree as a client of
2952 2015-02-25 Mark Lam <mark.lam@apple.com>
2954 ASan does not like JSC::MachineThreads::tryCopyOtherThreadStack.
2955 <https://webkit.org/b/141672>
2957 Reviewed by Alexey Proskuryakov.
2959 ASan does not like the fact that we memcpy the stack for GC scans. So,
2960 we're working around this by using our own memcpy (asanUnsafeMemcpy)
2961 implementation that we can tell ASan to ignore.
2963 Also removed the previous added directive to ignore *tryCopyOtherThreadStack*
2964 which isn't effective for working around this issue.
2966 * asan/webkit-asan-ignore.txt:
2968 2015-02-25 Benjamin Poulain <bpoulain@apple.com>
2970 CodeBlock crashes when dumping op_push_name_scope
2971 https://bugs.webkit.org/show_bug.cgi?id=141953
2973 Reviewed by Filip Pizlo.
2975 * Scripts/run-jsc-stress-tests:
2977 2015-02-25 Youenn Fablet <youenn.fablet@crf.canon.fr>
2979 W3C test importer should use argparse instead of optparse
2980 https://bugs.webkit.org/show_bug.cgi?id=142013
2982 Reviewed by Bem Jones-Bey.
2984 * Scripts/webkitpy/w3c/test_importer.py:
2985 (main): Updating according argparse.
2986 (parse_args): Moving from optparse to argparse.
2988 2015-02-25 Brady Eidson <beidson@apple.com>
2990 Get rid of TestInvocation::pathOrURL
2991 https://bugs.webkit.org/show_bug.cgi?id=142021
2993 Reviewed by Tim Horton.
2995 The pathOrURL string is a relative path used as an argument to WebKitTestRunner,
2996 but most code that uses it expected an absolute path.
2998 This gets rid of the member and replaces all uses with a more descriptive "urlContains" method.
3000 * WebKitTestRunner/TestController.cpp:
3001 (WTR::TestController::updateWebViewSizeForTest):
3002 (WTR::TestController::updateWindowScaleForTest):
3003 (WTR::shouldUseFixedLayout):
3004 (WTR::TestController::updateLayoutTypeForTest):
3006 * WebKitTestRunner/TestInvocation.cpp:
3007 (WTR::TestInvocation::TestInvocation):
3008 (WTR::TestInvocation::urlContains):
3009 (WTR::TestInvocation::shouldLogFrameLoadDelegates):
3010 (WTR::TestInvocation::shouldLogHistoryClientCallbacks):
3011 (WTR::TestInvocation::invoke):
3012 (WTR::shouldLogFrameLoadDelegates): Deleted.
3013 (WTR::shouldLogHistoryClientCallbacks): Deleted.
3014 * WebKitTestRunner/TestInvocation.h:
3015 (WTR::TestInvocation::pathOrURL): Deleted.
3017 * WebKitTestRunner/ios/TestControllerIOS.mm:
3018 (WTR::shouldMakeViewportFlexible):
3019 (WTR::TestController::platformConfigureViewForTest):
3021 * WebKitTestRunner/mac/TestControllerMac.mm:
3022 (WTR::shouldUseThreadedScrolling):
3023 (WTR::TestController::platformConfigureViewForTest):
3025 2015-02-25 Brady Eidson <beidson@apple.com>
3027 Layout test support for user content filters
3028 https://bugs.webkit.org/show_bug.cgi?id=142018
3030 Reviewed by Tim Horton.
3032 * WebKitTestRunner/TestController.cpp:
3033 (WTR::TestController::resetStateToConsistentValues): Clear all user content filters between tests.
3035 * WebKitTestRunner/mac/TestControllerMac.mm:
3036 (WTR::TestController::platformConfigureViewForTest): For all tests with usercontentfilter/ in their path try to load a matching .json
3037 file before loading the test itself.
3039 2015-02-24 Sam Weinig <sam@webkit.org>
3041 Convert WebEditingTester to use xcconfig files
3042 https://bugs.webkit.org/show_bug.cgi?id=141879
3044 Reviewed by Darin Adler.
3046 Add xcconfig files to WebEditingTester based on the ones used by MiniBrowser.
3048 * WebEditingTester/Configurations: Added.
3049 * WebEditingTester/Configurations/Base.xcconfig: Added.
3050 * WebEditingTester/Configurations/DebugRelease.xcconfig: Added.
3051 * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
3053 2015-02-24 Andy Estes <aestes@apple.com>
3055 Teach MiniBrowser how to disable per-window web processes
3056 https://bugs.webkit.org/show_bug.cgi?id=141988
3058 Reviewed by Darin Adler.
3060 * MiniBrowser/mac/AppDelegate.m:
3061 (defaultConfiguration): Created a _WKProcessPoolConfiguration with maximumProcessCount == 1 if per-window web processes are disabled.
3062 * MiniBrowser/mac/SettingsController.h:
3063 * MiniBrowser/mac/SettingsController.m:
3064 (-[SettingsController _populateMenu]): Added a new Settings menu item.
3065 (-[SettingsController validateMenuItem:]): Validated the new Settings menu item.
3066 (-[SettingsController togglePerWindowWebProcessesDisabled:]): Displayed an alert informing the user that MiniBrowser must be restarted for the setting to take effect.
3067 (-[SettingsController perWindowWebProcessesDisabled]): Returned the value from user defaults.
3069 2015-02-24 Alexey Proskuryakov <ap@apple.com>
3071 Bot watcher's dashboard sometimes hits an assertion: data.num_missing === this.layoutTestResults.testsWithMissingResults.length
3072 https://bugs.webkit.org/show_bug.cgi?id=141889
3074 Reviewed by Darin Adler.
3076 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3078 2015-02-24 Yusuke Suzuki <utatane.tea@gmail.com>
3080 REGRESSION(r179429): Can't type comments in Facebook
3081 https://bugs.webkit.org/show_bug.cgi?id=141859
3083 Reviewed by Brent Fulgham.
3085 Drop javaScriptExperimentsEnabled and specify JavaScriptRuntimeFlagsAllEnabled as KJavaScriptRuntimeFlags.
3087 * DumpRenderTree/mac/DumpRenderTree.mm:
3088 (resetWebPreferencesToConsistentValues):
3089 * DumpRenderTree/win/DumpRenderTree.cpp:
3090 (resetWebPreferencesToConsistentValues):
3091 * WebKitTestRunner/TestController.cpp:
3092 (WTR::TestController::resetPreferencesToConsistentValues):
3094 2015-02-24 Michael Catanzaro <mcatanzaro@igalia.com>
3096 Crash loading local file with WebPageProxy::loadAlternateHTMLString
3097 https://bugs.webkit.org/show_bug.cgi?id=141867
3099 Reviewed by Anders Carlsson.
3101 * TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp:
3102 (TestWebKitAPI::loadAlternateHTMLString): Split most of this test into a function so it can
3103 be shared with the new test.
3104 (TestWebKitAPI::TEST): Add a cross-platform test for this crash.
3105 * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp: Add a GTK+ test for this crash.
3106 (testLoadAlternateHTMLForLocalPage):
3109 2015-02-24 David Kilzer <ddkilzer@apple.com>
3111 [iOS] Implement WTR::activateFonts() to fix missing fonts in WebKit2 test runs
3112 <http://webkit.org/b/141900>
3114 Reviewed by Myles C. Maxfield.
3116 * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
3117 (OTHER_LDFLAGS_BASE): Link to CoreText.framework.
3118 * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm: Rename from Tools/WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm.
3119 - Rename to share code with iOS.
3120 - Add USE(APPKIT) around AppKit-specific headers and code.
3121 - Fix a check-webkit-style warning.
3122 * WebKitTestRunner/InjectedBundle/ios/ActivateFontsIOS.mm: Remove.
3123 * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3124 - Rename mac/ActivateFonts.mm to cocoa/ActivateFontsCocoa.mm.
3125 - Remove ios/ActivateFontsIOS.mm.
3126 - Fix InjectedBundle/cocoa group to represent the directory on
3127 disk. Includes a change to InjectedBundlePageCocoa.mm.
3129 2015-02-23 Commit Queue <commit-queue@webkit.org>
3131 Unreviewed, rolling out r180547 and r180550.
3132 https://bugs.webkit.org/show_bug.cgi?id=141957
3134 Broke 10 Windows tests. (Requested by bfulgham_ on #webkit).
3136 Reverted changesets:
3138 "REGRESSION(r179429): Can't type comments in Facebook"
3139 https://bugs.webkit.org/show_bug.cgi?id=141859
3140 http://trac.webkit.org/changeset/180547
3142 "Constructor returning null should construct an object instead
3144 https://bugs.webkit.org/show_bug.cgi?id=141640
3145 http://trac.webkit.org/changeset/180550
3147 2015-02-23 Yusuke Suzuki <utatane.tea@gmail.com>
3149 REGRESSION(r179429): Can't type comments in Facebook
3150 https://bugs.webkit.org/show_bug.cgi?id=141859
3152 Reviewed by Geoffrey Garen.
3154 Drop javaScriptExperimentsEnabled and specify JavaScriptRuntimeFlagsAllEnabled as KJavaScriptRuntimeFlags.
3156 * DumpRenderTree/mac/DumpRenderTree.mm:
3157 (resetWebPreferencesToConsistentValues):
3158 * WebKitTestRunner/TestController.cpp:
3159 (WTR::TestController::resetPreferencesToConsistentValues):
3161 2015-02-23 KwangHyuk Kim <hyuki.kim@samsung.com>
3164 https://bugs.webkit.org/show_bug.cgi?id=141909
3166 Reviewed by Gyuyoung Kim.
3168 Fix eo errors that occur whenever minibrowser is launched.
3169 - elm_obj_entry_text_style_user_push can only be applied for elm_entry
3170 - elm_obj_win_resize_object_add's first parameter should be elm_win
3172 * MiniBrowser/efl/main.c:
3175 2015-02-23 Ryosuke Niwa <rniwa@webkit.org>
3177 Unreviewed build fix after r180535. Removed the test case that wasn't compiling.
3179 * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
3180 (TestWebKitAPI::TEST):
3182 2015-02-23 Brent Fulgham <bfulgham@apple.com>
3184 WTF::WeakPtr should rename 'forgot' to 'clear' and support nullptr assignment
3185 https://bugs.webkit.org/show_bug.cgi?id=141935
3187 Reviewed by Myles C. Maxfield.
3189 * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
3190 (TestWebKitAPI::TEST): Updated for 'clear' method rename, and added a few
3191 tests for assigning from nullptr.
3193 2015-02-23 Brent Fulgham <bfulgham@apple.com>
3195 WTF::WeakPtr should have a 'forget' method.
3196 https://bugs.webkit.org/show_bug.cgi?id=141923
3198 Reviewed by Myles C. Maxfield.
3200 * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
3201 (TestWebKitAPI::TEST): Added 'Forget' tests case.
3203 2015-02-23 Alexey Proskuryakov <ap@apple.com>
3205 build.webkit.org/dashboard CrashOnly queues should not show two green bubbles
3206 https://bugs.webkit.org/show_bug.cgi?id=141920
3208 Reviewed by Tim Horton.
3210 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
3211 (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
3212 Do the same thing as we do for regular green bubbles.
3214 2015-02-23 Alexey Proskuryakov <ap@apple.com>
3216 Bot watcher's dashboard doesn't show a popover for commit history when all commits were to another branch
3217 https://bugs.webkit.org/show_bug.cgi?id=141925
3219 Reviewed by Tim Horton.
3221 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
3222 (BuildbotQueueView.prototype._presentPopoverForRevisionRange):
3224 2015-02-23 Anders Carlsson <andersca@apple.com>
3226 Add API for fetching website data records to _WKWebsiteDataStore
3227 https://bugs.webkit.org/show_bug.cgi?id=141926
3229 Reviewed by Beth Dakin.
3231 * MiniBrowser/mac/MainMenu.xib:
3232 * MiniBrowser/mac/WK2BrowserWindowController.m:
3233 (-[WK2BrowserWindowController fetchWebsiteData:]):
3234 Add menu item to fetch and dump website data.
3236 2015-02-23 David Kilzer <ddkilzer@apple.com>
3238 [iOS] run-webkit-tests --leaks is broken because IOSSimulatorPort has no is_snowleopard attribute
3239 <http://webkit.org/b/141884>
3241 Reviewed by Alexey Proskuryakov.
3243 * Scripts/webkitpy/port/leakdetector.py:
3244 (LeakDetector._callstacks_to_exclude_from_leaks): Remove
3245 snowleopard, lion and older leaks. Add known leak for
3246 mavericks, but check Port.operating_system before calling
3248 * Scripts/webkitpy/port/mac.py:
3249 (MacPort.is_snowleopard): Delete.
3250 (MacPort.is_lion): Delete.
3251 (MacPort.is_mavericks): Add.
3253 2015-02-23 Alexey Proskuryakov <ap@apple.com>
3255 build.webkit.org/dashboard should filter out commits to other branches
3256 https://bugs.webkit.org/show_bug.cgi?id=140362
3258 Reviewed by Tim Horton.
3260 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
3262 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
3263 (BuildbotQueueView.prototype._presentPopoverForPendingCommits):
3264 (BuildbotQueueView.prototype._presentPopoverForRevisionRange):
3265 (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration):
3266 (BuildbotQueueView.prototype.revisionContentForIteration):
3267 (BuildbotQueueView.prototype._appendPendingRevisionCount): Deleted.
3268 (BuildbotQueueView.prototype._popoverLinesForCommitRange): Deleted.
3269 (BuildbotQueueView.prototype._revisionPopoverContentForIteration): Deleted.
3270 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
3271 (Trac.prototype.get oldestRecordedRevisionNumber):
3272 (Trac.prototype.commitsOnBranch):
3273 (Trac.prototype._xmlTimelineURL):
3274 (Trac.prototype._convertCommitInfoElementToObject):
3275 (Trac.prototype._update):
3276 (Trac.prototype.startPeriodicUpdates):
3277 (Trac.prototype.loadMoreHistoricalData):
3278 (Trac.prototype.update): Deleted.
3280 2015-02-21 Youenn Fablet <youenn.fablet@crf.canon.fr>
3282 Tests don't work on some bots: Failed to stop wptwk
3283 https://bugs.webkit.org/show_bug.cgi?id=141235
3285 Reviewed by Ryosuke Niwa.
3287 Logging of server subprocesses in launcher script.
3288 Killing of server subprocesses when stopping/before starting.
3289 Removed empty __init.py__ file creation as importer now ensures these files cannot be empty anymore.
3291 * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
3292 (main): Removed empty __init.py__ file creation as importer now ensures these files cannot be empty anymore. Added logging in a file of server subprocesses to clean them in case of abnormal shutdown.
3293 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3294 (WebPlatformTestServer.__init__):
3295 (WebPlatformTestServer._stop_running_subservers): Kill server subprocesses based on file created by wpt launcher.
3296 (WebPlatformTestServer):
3297 (WebPlatformTestServer.stop): Overriden to ensure killing subprocesses in case of orphaned process.
3298 (WebPlatformTestServer._stop_running_server): Killing of wpt launcher process after regular shutdown.
3299 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
3300 (TestWebPlatformTestServer.test_server_closes_previously_spawned_instance): Reworked the test to call start/stop with an existing pid file.
3301 (TestWebPlatformTestServer.test_import_web_platform_test_modules): No change.
3302 (TestWebPlatformTestServer):
3303 (TestWebPlatformTestServer.test_corrupted_subserver_files): Checked that server subprocess cleaning does not throw in case of bad server pid file.
3305 2015-02-20 Timothy Horton <timothy_horton@apple.com>
3307 [WebEditingTester] Allow dropping HTML files on the app
3308 https://bugs.webkit.org/show_bug.cgi?id=141834
3310 Reviewed by Simon Fraser.
3312 * WebEditingTester/AppDelegate.m:
3313 (-[WebEditingAppDelegate openDocument:]):
3314 (-[WebEditingAppDelegate application:openFile:]):
3315 Implement application:openFile:, factoring file loading code out of openDocument.
3317 * WebEditingTester/Info.plist:
3318 Register as an editor for HTML files.
3320 * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
3321 Enrica is not an organization.
3323 2015-02-20 Timothy Horton <timothy_horton@apple.com>
3325 [WebEditingTester] Expand "WK" to "WebKit" in a few places
3326 https://bugs.webkit.org/show_bug.cgi?id=141833
3328 Reviewed by Anders Carlsson.
3330 * WebEditingTester/AppDelegate.h:
3331 * WebEditingTester/AppDelegate.m:
3332 (-[WebEditingAppDelegate newEditor:]):
3333 (-[WebEditingAppDelegate toggleUseWebKit2ByDefault:]):
3334 (-[WebEditingAppDelegate validateMenuItem:]):
3335 (-[WebEditingAppDelegate _updateNewWindowKeyEquivalents]):
3336 (-[WebEditingAppDelegate applicationDidFinishLaunching:]): Deleted.
3337 (-[WebEditingAppDelegate applicationWillTerminate:]): Deleted.
3338 (-[WebEditingAppDelegate showOperations:]): Deleted.
3339 * WebEditingTester/MainMenu.xib:
3340 The WK abbreviation is unnaturally grating in menu items for some reason.
3342 2015-02-20 Timothy Horton <timothy_horton@apple.com>
3344 [WebEditingTester] Add a custom protocol for loading canned content
3345 https://bugs.webkit.org/show_bug.cgi?id=141830
3347 Reviewed by Enrica Casucci.
3349 Add a canned:// protocol handler, which can be used to emulate behaviors
3350 in WebKit client apps (like Mail) that use custom protocol handlers,
3351 which can have important effects on editing (mostly, the URLs are only
3352 valid inside of the client application, but not when copied/dragged out).
3354 For now, we only support two canned files:
3356 canned://dice is a PNG of dice (stolen from LayoutTests/)
3357 canned://text is the string "canned text" served as text/html
3359 In the future we could support things like very large (generated) files,
3360 progressive loading, etc. to further simulate conditions in other apps.
3362 * WebEditingTester/AppDelegate.m:
3363 (-[WebEditingAppDelegate applicationDidFinishLaunching:]):
3364 Register the protocol with CFNetwork, and the scheme with WebKit2.
3366 * WebEditingTester/Canned Content/dice.png: Added.
3367 * WebEditingTester/CannedContent.h: Added.
3368 * WebEditingTester/CannedContent.m: Added.
3369 (-[CannedContent initWithRequest:cachedResponse:client:]):
3370 (+[CannedContent canonicalRequestForRequest:]):
3371 (+[CannedContent canInitWithRequest:]):
3372 We only want to handle canned:// URLs.
3374 (-[CannedContent startLoading]):
3375 For now, immediately load the two files we know about.
3376 Otherwise, immediately fail the load.
3378 (-[CannedContent stopLoading]):
3379 * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
3381 2015-02-20 Timothy Horton <timothy_horton@apple.com>
3383 [WebEditingTester] Implement an open panel
3384 https://bugs.webkit.org/show_bug.cgi?id=141829
3386 Reviewed by Simon Fraser.
3388 * WebEditingTester/AppDelegate.m:
3389 (-[WebEditingAppDelegate _useWebKit1ForOpeningDocument:]):
3390 (-[WebEditingAppDelegate _useWebKit2ForOpeningDocument:]):
3391 (-[WebEditingAppDelegate openDocument:]):
3392 Add an open panel (with radio buttons to pick which WebKit to open with).
3393 Loads the file as an HTML string.
3395 2015-02-20 Simon Fraser <simon.fraser@apple.com>
3397 [WebEditingTester] @properties, dot syntax, and remember the window position
3398 https://bugs.webkit.org/show_bug.cgi?id=141843
3400 Reviewed by Tim Horton.
3402 Modernize a bit with more dot syntax, use @property for the web views,
3403 and give the main window an Autosave name so it remembers the widow position.
3405 * WebEditingTester/WK1WebDocumentController.m:
3406 (-[WK1WebDocumentController awakeFromNib]):
3407 (-[WK1WebDocumentController loadHTMLString:]):
3408 * WebEditingTester/WK2WebDocumentController.m:
3409 (-[WK2WebDocumentController awakeFromNib]):
3410 * WebEditingTester/WebDocument.xib:
3412 2015-02-20 Timothy Horton <timothy_horton@apple.com>
3414 [WebEditingTester] Hook up key equivalents for new window action
3415 https://bugs.webkit.org/show_bug.cgi?id=141828
3417 Reviewed by Enrica Casucci.
3419 * WebEditingTester/AppDelegate.h:
3420 * WebEditingTester/AppDelegate.m:
3421 (-[WebEditingAppDelegate applicationDidFinishLaunching:]):
3422 (-[WebEditingAppDelegate newEditor:]):
3423 (-[WebEditingAppDelegate _defaultWebDocumentControllerClass]):
3424 (-[WebEditingAppDelegate toggleUseWK2ByDefault:]):
3425 (-[WebEditingAppDelegate _updateNewWindowKeyEquivalents]):
3426 (defaultConfiguration): Deleted.
3427 (-[WebEditingAppDelegate applicationWillTerminate:]): Deleted.
3428 Move WKWebViewConfiguration setup into WK2WebDocumentController.
3429 Remove unused application termination code.
3430 Update new-window menu item key equivalents when launching and when
3431 changing the use-WebKit2-by-default setting.
3432 Make WebDocumentController subclasses all initialized the same way,
3433 and use that to factor out alloc/init.
3434 Rename loadContent to loadHTMLString for future use.
3436 * WebEditingTester/MainMenu.xib:
3437 Add default key equivalents.
3438 Cmd-N will always make the default kind of window (controlled by the pref).
3439 Cmd-Opt-N will always make the other kind.
3440 The menu items are configured as alternates so they only show up if you
3441 press alt (just like in MiniBrowser).
3443 * WebEditingTester/WK1WebDocumentController.m:
3444 (-[WK1WebDocumentController loadHTMLString:]):
3445 (-[WK1WebDocumentController loadContent]): Deleted.
3446 * WebEditingTester/WK2WebDocumentController.h:
3447 * WebEditingTester/WK2WebDocumentController.m:
3448 (defaultConfiguration):
3449 (-[WK2WebDocumentController awakeFromNib]):
3450 (-[WK2WebDocumentController loadHTMLString:]):
3451 (-[WK2WebDocumentController initWithConfiguration:]): Deleted.
3452 (-[WK2WebDocumentController dealloc]): Deleted.
3453 * WebEditingTester/WebDocumentController.h:
3454 * WebEditingTester/WebDocumentController.m:
3455 (-[WebDocumentController init]):
3456 (-[WebDocumentController initWithWindow:]):
3457 (+[WebDocumentController defaultEditingSource]):
3458 (-[WebDocumentController loadHTMLString:]):
3459 (-[WebDocumentController windowDidLoad]): Deleted.
3460 (-[WebDocumentController defaultEditingSource]): Deleted.
3461 (-[WebDocumentController applicationTerminating]): Deleted.
3462 (-[WebDocumentController loadContent]): Deleted.
3464 2015-02-20 Timothy Horton <timothy_horton@apple.com>
3466 [WebEditingTester] ARC-ify WebEditingTester
3467 https://bugs.webkit.org/show_bug.cgi?id=141827
3469 Reviewed by Sam Weinig.
3471 * WebEditingTester/AppDelegate.m:
3472 (-[WebEditingAppDelegate showOperations:]):
3473 * WebEditingTester/EditingOperations.m:
3474 (editingOperations):
3475 * WebEditingTester/WK1WebDocumentController.m:
3476 (-[WK1WebDocumentController dealloc]): Deleted.
3477 * WebEditingTester/WK2WebDocumentController.m:
3478 (-[WK2WebDocumentController dealloc]): Deleted.
3479 * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
3480 Turn on ARC and remove a few retain/release/autorelease calls.
3481 We don't need to implement dealloc in either document controller
3482 because WebView and WKWebView's UIDelegate property does not hold a
3485 2015-02-20 Timothy Horton <timothy_horton@apple.com>
3487 [WebEditingTester] Factor out list of editing operations
3488 https://bugs.webkit.org/show_bug.cgi?id=141826
3490 Reviewed by Sam Weinig.
3492 * WebEditingTester/AppDelegate.m:
3493 (-[WebEditingAppDelegate showOperations:]):
3494 * WebEditingTester/EditingOperations.h: Added.
3495 * WebEditingTester/EditingOperations.m: Added.
3496 (editingOperations):
3497 * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
3498 Move EditingOperations array to its own file, and make it an NSArray
3499 instead of a C array. Adjust accordingly in showOperations:.
3501 2015-02-20 Michael Saboff <msaboff@apple.com>
3503 DFG JIT needs to check for stack overflow at the start of Program and Eval execution
3504 https://bugs.webkit.org/show_bug.cgi?id=141676
3506 Reviewed by Filip Pizlo.
3508 Set the newly added --maximumEvalCacheableSourceLength option for eager test runs. This is needed
3509 to allow the eval out of stack tests to tier up. Without this option, we don't cache the likely
3510 large string expression that we want to eval.
3512 * Scripts/run-jsc-stress-tests:
3514 2015-02-19 Daniel Bates <dabates@apple.com>
3516 REGRESSION (r180239): run-webkit-test fails to boot simulator device that was booted by previous test run
3517 https://bugs.webkit.org/show_bug.cgi?id=141815
3518 <rdar://problem/19893933>
3520 Reviewed by Simon Fraser.
3522 Fixes an issue where run-webkit-tests would fail to boot the WebKit Tester simulator device if it
3523 was booted by iOS Simulator in a previous run of run-webkit-test.
3525 * Scripts/webkitpy/port/ios.py:
3526 (IOSSimulatorPort.check_sys_deps): Added logic moved from IOSSimulatorPort.setup_test_run().
3527 (IOSSimulatorPort.setup_test_run): Moved logic to quit the iOS Simulator app and wait for the
3528 testing device to be in the shutdown state from here to IOSSimulatorPort.check_sys_deps().
3530 2015-02-19 David Kilzer <ddkilzer@apple.com>
3532 check-webkit-style: do not warn about missing primary header for *SoftLink.cpp files
3533 <http://webkit.org/b/141799>
3535 Reviewed by Alex Christensen.
3537 * Scripts/webkitpy/style/checkers/cpp.py:
3538 (_IncludeState.check_next_include_order): Don't emit a warning
3539 if the primary header exists and the source file name ends with
3540 "SoftLink.cpp". Add 'filename' argument to method.
3541 (check_include_line): Pass in 'filename'.
3543 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3544 (OrderOfIncludesTest.test_check_next_include_order__no_config):
3545 (OrderOfIncludesTest.test_check_next_include_order__no_self):
3546 (OrderOfIncludesTest.test_check_next_include_order__likely_then_config):
3547 (OrderOfIncludesTest.test_check_next_include_order__other_then_config):
3548 (OrderOfIncludesTest.test_check_next_include_order__config_then_other_then_likely):
3549 - Add test filename arguments for calls to
3550 check_next_include_order().
3551 (OrderOfIncludesTest.test_primary_header): Add test for a file
3552 name ending in "SoftLink.cpp".
3554 2015-02-18 Enrica Casucci <enrica@apple.com>
3556 Add new tool to test editable Webviews.
3557 https://bugs.webkit.org/show_bug.cgi?id=141772
3559 Reviewed by Tim Horton.
3561 Adding WebEditingTester, a Cocoa application to
3562 test WK1 and Wk2 views in editable mode.
3564 * WebEditingTester: Added.
3565 * WebEditingTester/AppDelegate.h: Added.
3566 * WebEditingTester/AppDelegate.m: Added.
3567 (-[WebEditingAppDelegate init]):
3568 (defaultConfiguration):
3569 (-[WebEditingAppDelegate applicationDidFinishLaunching:]):
3570 (-[WebEditingAppDelegate applicationWillTerminate:]):
3571 (-[WebEditingAppDelegate newEditor:]):
3572 (-[WebEditingAppDelegate showOperations:]):
3573 (-[WebEditingAppDelegate useWebKit2ByDefault]):
3574 (-[WebEditingAppDelegate toggleUseWK2ByDefault:]):
3575 (-[WebEditingAppDelegate validateMenuItem:]):
3576 * WebEditingTester/Info.plist: Added.
3577 * WebEditingTester/MainMenu.xib: Added.
3578 * WebEditingTester/WK1WebDocumentController.h: Added.
3579 * WebEditingTester/WK1WebDocumentController.m: Added.
3580 (-[WK1WebDocumentController awakeFromNib]):
3581 (-[WK1WebDocumentController loadContent]):
3582 (-[WK1WebDocumentController dealloc]):
3583 (-[WK1WebDocumentController pasteAsMarkup:]):
3584 * WebEditingTester/WK2WebDocumentController.h: Added.
3585 * WebEditingTester/WK2WebDocumentController.m: Added.
3586 (-[WK2WebDocumentController initWithConfiguration:]):
3587 (-[WK2WebDocumentController pasteAsMarkup:]):
3588 (-[WK2WebDocumentController awakeFromNib]):
3589 (-[WK2WebDocumentController dealloc]):
3590 (-[WK2WebDocumentController loadContent]):
3591 * WebEditingTester/WebDocument.xib: Added.
3592 * WebEditingTester/WebDocumentController.h: Added.
3593 * WebEditingTester/WebDocumentController.m: Added.
3594 (-[WebDocumentController initWithWindow:]):
3595 (-[WebDocumentController windowDidLoad]):
3596 (-[WebDocumentController defaultEditingSource]):
3597 (-[WebDocumentController applicationTerminating]):
3598 (-[WebDocumentController loadContent]):
3599 * WebEditingTester/WebEditingTester.xcodeproj: Added.
3600 * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj: Added.
3601 * WebEditingTester/main.m: Added.
3604 2015-02-18 Csaba Osztrogonác <ossy@webkit.org>
3606 Run JSC tests on ARM EFL bots
3607 https://bugs.webkit.org/show_bug.cgi?id=141165
3609 Reviewed by Alexey Proskuryakov.
3611 * BuildSlaveSupport/build.webkit.org-config/config.json:
3612 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3613 (RunJavaScriptCoreTests.countFailures):
3614 (RunRemoteJavaScriptCoreTests):
3615 (RunRemoteJavaScriptCoreTests.start):
3616 (BuildAndRemoteJSCTestsFactory):
3617 (BuildAndRemoteJSCTestsFactory.__init__):
3619 2015-02-18 Alexey Proskuryakov <ap@apple.com>
3621 Streamline unexported function build fixes
3622 https://bugs.webkit.org/show_bug.cgi?id=141761
3624 Reviewed by Alex Christensen.
3626 * Scripts/check-for-weak-vtables-and-externals: (readXcode5SymbolsToIgnore): Deleted.
3627 We don't need to ignore symbols that are not exported due to the .unexp file.
3629 2015-02-18 Timothy Horton <timothy_horton@apple.com>
3631 Remove more references to WebCore.exp.in
3632 https://bugs.webkit.org/show_bug.cgi?id=141747
3634 Reviewed by Alexey Proskuryakov.
3636 * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
3639 2015-02-17 Myles C. Maxfield <mmaxfield@apple.com>
3641 Windows test results should not fall back to mac-mountainlion after r180176
3642 https://bugs.webkit.org/show_bug.cgi?id=141719
3644 Reviewed by Brent Fulgham.
3646 * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
3647 (_should_file_trigger_build):
3648 * Scripts/webkitpy/port/win.py:
3649 (WinPort.default_baseline_search_path):
3650 * Scripts/webkitpy/port/win_unittest.py:
3651 (WinPortTest.test_baseline_search_path):
3653 2015-02-17 Daniel Bates <dabates@apple.com>
3655 [iOS] run-webkit-tests should check that simctl can boot and shutdown simulator device before running tests
3656 https://bugs.webkit.org/show_bug.cgi?id=141718
3658 Reviewed by Alex Christensen.
3660 We should only run layout tests if simctl can successfully boot and shutdown the testing device.
3662 * Scripts/webkitpy/port/ios.py:
3663 (IOSSimulatorPort.check_sys_deps): Modified to call Simulator.check_simulator_device_and_erase_if_needed().
3664 Log a error and return False if we are unable to boot the simulator device so that the caller can take
3665 appropriate action, say exit(3) before running any layout tests.
3666 * Scripts/webkitpy/xcode/simulator.py:
3667 (Simulator._boot_and_shutdown_simulator_device): Added. Boot and then shut down the simulator device
3668 with the specified UDID.
3669 (Simulator.check_simulator_device_and_erase_if_needed): Added. Checks that simulator device
3670 with the specified UDID can successfully boot and shut down. We make at most two attempts to
3671 boot and shut down the device, erasing the device between tries so as to restore the device
3672 to a known good state.
3674 2015-02-17 Daniel Bates <dabates@apple.com>
3676 run_webkit_tests.py should not know about iOS Simulator details
3677 https://bugs.webkit.org/show_bug.cgi?id=141711
3679 Reviewed by Alex Christensen.
3681 Run_webkit_tests.py should only parse the iOS-specific command
3682 line options --runtime and --device-type. Let the port-specific
3683 logic in ios.py validate the parsed options and instantiate
3684 internal data structures.
3686 Currently run_webkit_tests.py parses the iOS-specific command
3687 line options --runtime and --device-type, validates them, and
3688 instantiates internal data structures from the parsed strings.
3689 Instead the validation logic and instantiation of internal
3690 data structures should be handled by the iOS port object.
3692 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3693 (_set_up_derived_options): Remove logic to validate --runtime and --device-type
3694 and instantiate internal data structures for them.
3695 * Scripts/webkitpy/port/driver.py:
3696 (IOSSimulatorDriver.cmd_line): Modified to reference IOSSimulatorPort.simulator_runtime
3697 and IOSSimulatorPort.simulator_device_type for the iOS Simulator runtime and device type,
3699 * Scripts/webkitpy/port/ios.py: Sort the list of imports.
3700 (IOSSimulatorPort.simulator_runtime): Added. Instantiates a Runtime
3701 object from --runtime, if specified. Otherwise, instantiates a Runtime
3702 object for the latest installed iphonesimulator SDK version.
3703 (IOSSimulatorPort.simulator_device_type): Added. Instantiates a DeviceType
3704 object from --device-type, if specified. Otherwise, instantiates
3705 a DeviceType object for a iPhone 5 or iPhone 5s when on a 32-bit and 64-bit
3706 machine, respectively.
3707 (IOSSimulatorPort.check_sys_deps): Added. Validate if the chosen iOS simulator
3708 runtime is available to use.
3709 (IOSSimulatorPort.testing_device): Modified to make use of properties simulator_device_type
3710 and simulator_runtime for the iOS Simulator device type and runtime, respectively.
3711 * Scripts/webkitpy/xcode/simulator.py:
3712 (Runtime.from_version_string): Added. Turns around and calls Runtime.from_identifier()
3713 with a runtime identifier for the specified iOS version.
3715 2015-02-17 Dana Burkart <dburkart@apple.com>
3717 ASan does not like JSC::MachineThreads::tryCopyOtherThreadStack
3718 https://bugs.webkit.org/show_bug.cgi?id=141672
3720 Reviewed by David Kilzer.
3722 * asan/webkit-asan-ignore.txt:
3724 2015-02-17 Alex Christensen <achristensen@webkit.org>
3726 Remove WebCore.exp.in and clean up.
3727 https://bugs.webkit.org/show_bug.cgi?id=141491
3729 Reviewed by Andreas Kling.
3731 * Scripts/sort-export-file: Removed.
3732 * Scripts/webkitpy/style/checker.py:
3735 (CheckerDispatcher._file_type):
3736 (CheckerDispatcher._create_checker):
3737 Don't check if the export files are sorted.
3738 * Scripts/webkitpy/style/checkers/exportfile.py: Removed.
3739 * Scripts/webkitpy/style/checkers/exportfile_unittest.py: Removed.
3741 2015-02-17 Carlos Garcia Campos <cgarcia@igalia.com>
3743 Unreviewed. Fix GTK+ make distcheck.
3745 Do not exclude bmalloc directory from the tarball.
3747 * gtk/manifest.txt.in:
3749 2015-02-17 Carlos Garcia Campos <cgarcia@igalia.com>
3751 Unreviewed. Fix /webkit2/WebKitDOMNode/dom-cache after r180214.
3753 I forgot to add the return of a bool function.
3755 * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
3756 (WebKitDOMNodeTest::testDOMCache):
3758 2015-02-17 Carlos Garcia Campos <cgarcia@igalia.com>
3760 [GTK] GObject DOM bindings object are cached forever
3761 https://bugs.webkit.org/show_bug.cgi?id=141558
3763 Reviewed by Sergio Villar Senin.
3765 Add checks for all DOM objects to ensure they are not leaked. Also
3766 add a dedicated test for the DOM Object Cache.
3768 * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp:
3769 (WebKitDOMNodeFilterTest::testTreeWalker):
3770 (WebKitDOMNodeFilterTest::testNodeIterator):
3771 * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
3772 (WebKitDOMNodeTest::testHierarchyNavigation):
3773 (WebKitDOMNodeTest::testInsertion):
3774 (WebKitDOMNodeTest::testTagNames):
3775 (WebKitDOMNodeTest::testDOMCache):
3777 * TestWebKitAPI/Tests/WebKit2Gtk/DOMXPathNSResolverTest.cpp:
3778 (WebKitDOMXPathNSResolverTest::evaluateFooChildTextAndCheckResult):
3779 (WebKitDOMXPathNSResolverTest::testXPathNSResolverNative):
3780 (WebKitDOMXPathNSResolverTest::testXPathNSResolverCustom):
3781 * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
3782 (testWebKitDOMObjectCache):
3784 * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
3785 (documentLoadedCallback):
3787 2015-02-16 Carlos Garcia Campos <cgarcia@igalia.com>
3789 [GTK] WebKitFrame objects are never released
3790 https://bugs.webkit.org/show_bug.cgi?id=141641
3792 Reviewed by Martin Robinson.
3794 Add a way to check GObjects leaks for WebProcess tests and check
3795 WebKitFrame objects are not leaked.
3797 * TestWebKitAPI/Tests/WebKit2Gtk/FrameTest.cpp:
3798 (WebKitFrameTest::testMainFrame):
3799 (WebKitFrameTest::testURI):
3800 (WebKitFrameTest::testJavaScriptContext):
3801 * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
3802 (WebProcessTest::assertObjectIsDeletedWhenTestFinishes):
3804 * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h:
3806 2015-02-16 Tim Horton <timothy_horton@apple.com>
3808 Fix the MiniBrowser build with newer clang
3810 * MiniBrowser/mac/SettingsController.m:
3811 (-[SettingsController _toggleBooleanDefault:]):
3812 * MiniBrowser/mac/WK1BrowserWindowController.m:
3813 (-[WK1BrowserWindowController windowWillClose:]):
3814 * MiniBrowser/mac/WK2BrowserWindowController.m:
3815 (-[WK2BrowserWindowController windowWillClose:]):
3816 NSApp is id and clang gets confused about which -delegate we're talking about.
3818 2015-02-16 Antti Koivisto <antti@apple.com>
3820 Develop/Disable Caches does not properly disable disk cache
3821 https://bugs.webkit.org/show_bug.cgi?id=141636
3823 Reviewed by Anders Carlsson.
3825 Make testRunner.setCacheModel() use the WKContext interface so the model gets passed to
3826 the network process too.
3828 This makes setCacheModel asynchronous but there don't seem to be any tests that expect otherwise.
3830 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3831 (WTR::InjectedBundle::beginTesting):
3832 (WTR::InjectedBundle::setCacheModel):
3833 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
3834 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3836 Forward to TestController.
3838 (WTR::TestRunner::setCacheModel):
3839 * WebKitTestRunner/TestInvocation.cpp:
3840 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3842 2015-02-16 Andrzej Badowski <a.badowski@samsung.com>
3844 Unreviewed. Add myself as a committer.
3846 * Scripts/webkitpy/common/config/contributors.json:
3848 2015-02-15 David Kilzer <ddkilzer@apple.com>
3850 REGRESSION (r180082): WebCore Debug builds fail on Mavericks due to weak export symbols
3851 <http://webkit.org/b/141607>
3853 * Scripts/check-for-weak-vtables-and-externals: Ignore weak
3854 externals in Source/WebCore/Configurations/WebCore.unexp when
3855 building with Xcode 5.x.
3856 (readXcode5SymbolsToIgnore): Add.
3858 2015-02-15 KwangHyuk Kim <hyuki.kim@samsung.com>
3860 [EFL] fix Evas GL engine error.
3861 https://bugs.webkit.org/show_bug.cgi?id=141621
3863 Reviewed by Gyuyoung Kim.
3865 As new elm engine api was added from efl 1.10, replace elm_config_preferred_engine_set with elm_config_accel_preference_set.
3867 * MiniBrowser/efl/main.c:
3870 2015-02-14 Csaba Osztrogonác <ossy@webkit.org>
3872 [buildbot] Enable run-api-tests on release Mac bots
3873 https://bugs.webkit.org/show_bug.cgi?id=141518
3875 Reviewed by Darin Adler.
3877 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3879 (BuildFactory.__init__):
3880 (TestFactory.__init__):
3881 (BuildAndTestFactory.__init__):
3882 (RunUnitTests.start): Deleted.
3883 (unitTestsSupported): Deleted.
3885 2015-02-13 Anders Carlsson <andersca@apple.com>
3887 Add a move constructor and move assignment operator to Deque
3888 https://bugs.webkit.org/show_bug.cgi?id=141571
3890 Reviewed by Andreas Kling.
3892 * TestWebKitAPI/Tests/WTF/Deque.cpp:
3893 (TestWebKitAPI::TEST):
3895 2015-02-13 Csaba Osztrogonác <ossy@webkit.org>
3897 run-jsc-stress-tests --remote should skip profiler tests
3898 https://bugs.webkit.org/show_bug.cgi?id=141470
3900 Reviewed by Filip Pizlo.
3902 * Scripts/run-jsc-stress-tests:
3904 2015-02-13 Anders Carlsson <andersca@apple.com>
3906 Add an initializer list constructor to Deque
3907 https://bugs.webkit.org/show_bug.cgi?id=141565
3909 Reviewed by Andreas Kling.
3911 * TestWebKitAPI/Tests/WTF/Deque.cpp:
3912 (TestWebKitAPI::TEST):
3914 2015-02-13 Csaba Osztrogonác <ossy@webkit.org>
3916 [buildbot] Remove buildJSCTool cruft from master.cfg
3917 https://bugs.webkit.org/show_bug.cgi?id=141513
3919 Reviewed by Alexey Proskuryakov.
3921 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3922 (RunJavaScriptCoreTests):
3923 (RunJavaScriptCoreTests.start):
3925 (RunWebKitTests.start):
3926 (TestFactory.__init__):
3927 (TestLeaksFactory.__init__):
3928 (RunJavaScriptCoreTests.__init__): Deleted.
3929 (RunWebKitTests.__init__): Deleted.
3931 2015-02-13 Csaba Osztrogonác <ossy@webkit.org>
3933 Unreviewed, remove empty directories.
3935 * DumpRenderTree/gtk: Removed.
3936 * DumpRenderTree/gtk/fonts: Removed.
3937 * DumpRenderTree/unix: Removed.
3938 * DumpRenderTree/unix/TestNetscapePlugin: Removed.
3939 * GtkLauncher: Removed.
3940 * TestWebKitAPI/Tests/WebKitGtk: Removed.
3941 * TestWebKitAPI/Tests/WebKitGtk/resources: Removed.
3942 * WebKitTestRunner/WebKitTestRunnerAppTests: Removed.
3943 * WebKitTestRunner/WebKitTestRunnerAppTests/en.lproj: Removed.
3945 2015-02-13 Csaba Osztrogonác <ossy@webkit.org>
3947 Remove Windows cruft from Tools/Scripts/build-webkittestrunner
3948 https://bugs.webkit.org/show_bug.cgi?id=141519
3950 Reviewed by Alexey Proskuryakov.
3952 * Scripts/build-webkittestrunner:
3954 2015-02-12 Alex Christensen <achristensen@webkit.org>
3956 Removed empty directory.
3958 * WinCELauncher: Removed.
3960 2015-02-12 Csaba Osztrogonác <ossy@webkit.org>
3962 run-jsc-stress-tests --remote should be able add the necessary libraries to the bundle on Linux
3963 https://bugs.webkit.org/show_bug.cgi?id=141202
3965 Reviewed by Darin Adler.
3967 * Scripts/run-jsc-stress-tests:
3969 2015-02-12 Brent Fulgham <bfulgham@apple.com>
3971 [Win] Test bot infrastructure should not try to find/use old Safari DLLs
3972 https://bugs.webkit.org/show_bug.cgi?id=141517
3974 Reviewed by Anders Carlsson.
3976 We do not need to locate or use the DLL's that came with Safari, so stop
3977 failing when we cannot find them. Also remove some old Qt cruft from this
3980 * BuildSlaveSupport/built-product-archive:
3981 (archiveBuiltProduct):
3982 (extractBuiltProduct):
3984 2015-02-11 Brent Fulgham <bfulgham@apple.com>
3986 [Win] [64-bit] Work around MSVC2013 Runtime Bug
3987 https://bugs.webkit.org/show_bug.cgi?id=141498
3988 <rdar://problem/19803642>
3990 Reviewed by Anders Carlsson.
3992 Disable FMA3 instruction use in the MSVC math library to
3993 work around a VS2013 runtime crash. We can remove this
3994 workaround when we switch to VS2015.
3996 * DumpRenderTree/cg/ImageDiffCG.cpp: Call _set_FMA3_enable(0) to
3997 disable FMA3 support.
3998 * DumpRenderTree/win/DumpRenderTree.cpp: Ditto.
3999 * DumpRenderTree/win/ImageDiffCairo.cpp: Ditto.
4000 * DumpRenderTree/win/TestRunnerWin.cpp: Ditto.
4001 * Scripts/webkitperl/httpd.pm: Ditto.
4002 * TestWebKitAPI/win/main.cpp: Ditto.
4003 * WinLauncher/Common.cpp: Ditto.
4004 * win/DLLLauncher/DLLLauncherMain.cpp: Ditto.
4006 2015-02-12 Csaba Osztrogonác <ossy@webkit.org>
4008 run-jsc-stress-tests should accept remote host config from JSON file
4009 https://bugs.webkit.org/show_bug.cgi?id=141509
4011 Reviewed by Michael Saboff.
4013 * Scripts/run-javascriptcore-tests:
4014 (runJSCStressTests):
4015 * Scripts/run-jsc-stress-tests:
4017 2015-02-12 Carlos Garcia Campos <cgarcia@igalia.com>
4019 [GTK] Add API to allow overriding the default color chooser implementation
4020 https://bugs.webkit.org/show_bug.cgi?id=98935
4022 Reviewed by Gustavo Noronha Silva.
4024 Add a color chooser implementation for MiniBrowser using
4025 GtkPopover when the GTK+ version is recent enough.
4026 And a test case to check the new color chooser API.
4028 * MiniBrowser/gtk/BrowserWindow.c:
4029 (colorChooserRGBAChanged):
4030 (popoverColorClosed):
4031 (colorChooserRequestFinished):
4032 (runColorChooserCallback):
4033 (browserWindowConstructed):
4034 * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
4035 (testWebViewColorChooserRequest):
4038 2015-02-11 Csaba Osztrogonác <ossy@webkit.org>
4040 Make run-jsc-stress-tests --remote work with make-based runner
4041 https://bugs.webkit.org/show_bug.cgi?id=141079
4043 Reviewed by Darin Adler.
4045 * Scripts/run-javascriptcore-tests:
4046 (runJSCStressTests): Pass through the --shell-runner and --make-runner arguments.
4047 * Scripts/run-jsc-stress-tests: Made the make-based runner the default runner,
4048 except for remote testing on Darwin. Unified runShellTestRunner and runMakeTestRunner
4049 to avoid code duplication.
4051 2015-02-11 Csaba Osztrogonác <ossy@webkit.org>
4053 run-jsc-stress tests should detect the number of processors on the remote machine too
4054 https://bugs.webkit.org/show_bug.cgi?id=141196
4056 Reviewed by Darin Adler.
4058 * Scripts/run-javascriptcore-tests:
4059 (runJSCStressTests): Pass through the --child-processes argument.
4060 * Scripts/run-jsc-stress-tests: Added determineNumberOfProcessors function
4061 to detect the number of local and remote processors with the same algorithm.
4062 Additionally introduced $numChildProcesses to emphasize it isn't necessarily
4063 same as $numProcessors.
4065 2015-02-11 Csaba Osztrogonác <ossy@webkit.org>
4067 run-jsc-stress-tests should pass JSC_timeout to remote hosts
4068 https://bugs.webkit.org/show_bug.cgi?id=141164
4070 Reviewed by Darin Adler.
4072 Additonally removed IMPORTANT_ENVS, since JSC_timeout was the only one.
4074 * Scripts/run-jsc-stress-tests:
4076 2015-02-11 Carlos Garcia Campos <cgarcia@igalia.com>
4078 [GTK] Add default color chooser implementation using GtkColorChooserDialog
4079 https://bugs.webkit.org/show_bug.cgi?id=141392
4081 Reviewed by Gustavo Noronha Silva.
4083 Enable INPUT_TYPE_COLOR by default for GTK+ port.
4085 * Scripts/webkitperl/FeatureList.pm:
4087 2015-02-09 Csaba Osztrogonác <ossy@webkit.org>
4089 run-jsc-stress-tests shell test runner should run tests in fixed order
4090 https://bugs.webkit.org/show_bug.cgi?id=141383
4092 Reviewed by Darin Adler.
4094 * Scripts/jsc-stress-test-helpers/shell-runner.sh:
4096 2015-02-08 Chris Fleizach <cfleizach@apple.com>
4098 AX: VoiceOver appears unresponsive when JavaScript alerts are triggered via focus or blur events
4099 https://bugs.webkit.org/show_bug.cgi?id=140485
4101 Reviewed by Anders Carlsson.
4103 Implement takeFocus() as a way to set focus through accessibility wrappers.
4105 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
4106 (AccessibilityUIElement::takeFocus):
4107 * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
4108 (WTR::AccessibilityUIElement::takeFocus):
4110 2015-02-08 Darin Adler <darin@apple.com>
4112 Remove the SVG instance tree
4113 https://bugs.webkit.org/show_bug.cgi?id=140602
4115 Reviewed by Dean Jackson.
4117 * Scripts/check-for-global-initializers: Removed special case for
4118 SVGElementInstance.o.
4120 2015-02-07 David Kilzer <ddkilzer@apple.com>
4122 [iOS] run-webkit-tests fails due to simulator devices from previous SDK installs being marked as unavailable
4123 <http://webkit.org/b/141365>
4125 Reviewed by Daniel Bates.
4127 * Scripts/webkitpy/xcode/simulator.py:
4128 (Simulator): Add unavailable_version_re precompiled regex.
4129 (Simulator._parse_devices): Check for unavailable versions and
4130 ignore them if found when parsing the output of
4131 `xcrun simctl list`.
4132 * Scripts/webkitpy/xcode/simulator_unittest.py:
4133 (test_unavailable_devices): Add test with output from
4134 `xcrun simctl list` with unavailable runtimes that fails before
4137 2015-02-07 Chris Dumez <cdumez@apple.com>
4139 Add Vector::removeFirstMatching() / removeAllMatching() methods taking lambda functions
4140 https://bugs.webkit.org/show_bug.cgi?id=141321
4142 Reviewed by Darin Adler.
4144 Use new Vector::removeFirstMatching() / removeAllMatching() methods.
4146 2015-02-07 David Kilzer <ddkilzer@apple.com>
4148 [iOS] Make Simulator class testable
4149 <http://webkit.org/b/141358>
4151 Rubber-stamped by Darin Adler.
4153 * Scripts/webkitpy/common/system/platforminfo.py:
4154 (PlatformInfo.xcode_simctl_list): Move `xcrun simctl list`
4155 command to here from Simulator.refresh() in xcode/simulator.py
4156 so that the output of the command can be mocked.
4158 * Scripts/webkitpy/common/system/platforminfo_mock.py:
4159 (MockPlatformInfo.__init__): Set self.expected_xcode_simctl_list
4161 (MockPlatformInfo.xcode_simctl_list): Add method that returns
4162 self.expected_xcode_simctl_list expectation.
4164 * Scripts/webkitpy/xcode/simulator.py: Add missing copyright
4166 (Simulator.__init__): Add optional 'host' parameter to make it
4167 possible to pass in a mock object for testing. Set self._host
4168 to 'host' parameter or create Host() object.
4169 (Simulator.refresh): Call new PlatformInfo.xcode_simctl_list()
4172 * Scripts/webkitpy/xcode/simulator_unittest.py: Add unit test
4175 (SimulatorTest.setUp):
4176 (SimulatorTest._set_expected_xcrun_simctl_list):
4177 (SimulatorTest.test_simulator_device_types):
4178 (test_invalid_device_types_header):
4179 (test_invalid_runtimes_header):
4180 (test_invalid_devices_header):
4182 2015-02-07 Csaba Osztrogonác <ossy@webkit.org>
4184 run-jsc-stress-tests --remote should use the default ssh port
4185 https://bugs.webkit.org/show_bug.cgi?id=141287
4187 Reviewed by Darin Adler.
4189 * Scripts/run-jsc-stress-tests: Extended URI module to be able to handle ssh scheme with the default 22 port number.
4191 2015-02-06 Dana Burkart <dburkart@apple.com>
4193 dashboard: BuildbotTesterQueueView crashesOnly logic is wrong
4194 https://bugs.webkit.org/show_bug.cgi?id=141349
4196 Reviewed by Alexey Proskuryakov.
4198 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
4199 (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
4200 (BuildbotTesterQueueView.prototype.update):
4202 2015-02-06 Alexey Proskuryakov <ap@apple.com>
4204 Report network process crashes during layout tests
4205 https://bugs.webkit.org/show_bug.cgi?id=139646
4207 Reviewed by Anders Carlsson.
4209 * WebKitTestRunner/TestController.cpp:
4210 (WTR::TestController::initialize):
4211 (WTR::TestController::networkProcessName):
4212 (WTR::TestController::networkProcessDidCrash):
4213 * WebKitTestRunner/TestController.h:
4215 2015-02-06 Csaba Osztrogonác <ossy@webkit.org>
4217 run-jsc-stress-tests --remote should create remote directory before copying the bundle
4218 https://bugs.webkit.org/show_bug.cgi?id=141329
4220 Reviewed by Michael Saboff.
4222 * Scripts/run-jsc-stress-tests:
4224 2015-02-06 Carlos Garcia Campos <cgarcia@igalia.com>
4226 [GTK] Remove WebKitWebView::close-notification signal
4227 https://bugs.webkit.org/show_bug.cgi?id=141330
4229 Reviewed by Gustavo Noronha Silva.
4231 Update notifications unit tests according to the API changes, and
4232 add a test case to check that onclose event is fired when a
4233 notification is closed by the user.
4235 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
4236 (testWebViewNotification):
4238 2015-02-05 Alexey Proskuryakov <ap@apple.com>
4240 Dashboard doesn't consider building ASan a productive step
4241 https://bugs.webkit.org/show_bug.cgi?id=141312
4243 Reviewed by Simon Fraser.
4245 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
4247 2015-02-05 Daniel Bates <dabates@apple.com>
4249 [iOS] webkitpy.xcode.simulator.Runtime.from_identifier() returns wrong result for non-existent runtime
4250 https://bugs.webkit.org/show_bug.cgi?id=141306
4252 Reviewed by Alexey Proskuryakov.
4254 The function webkitpy.xcode.simulator.Runtime.from_identifier always returns a Runtime object
4255 corresponding to the last-most runtime parsed from the output of `simctl list` for any non-
4258 * Scripts/webkitpy/xcode/simulator.py:
4259 (Runtime.from_identifier):
4261 2015-02-05 Daniel Bates <dabates@apple.com>
4263 LayoutTestRelay does not install DumpRenderTree.app/WebKitTestRunnerApp.app
4264 https://bugs.webkit.org/show_bug.cgi?id=139746
4265 <rdar://problem/19283658>
4267 Reviewed by Alexey Proskuryakov.
4269 Fixes an issues where LayoutTestRelay may fail to install DumpRenderTree.app/WebKitTestRunnerApp.app
4270 if the simulator device is not in state Booted.
4272 Currently run-webkit-test --ios-sim executes LayoutTestRelay immediately after
4273 launching/relaunching the iOS Simulator app and a simulator app can only be installed
4274 on a device that is in the Booted state. LayoutTestRelay may run before the
4275 device is booted and hence fail to install DumpRenderTree.app/WebKitTestRunnerApp.app.
4276 We should defer executing LayoutTestRelay until the simulator device booted by
4277 iOS Simulator is in the Booted state.
4279 * Scripts/webkitpy/port/ios.py: Import webkitpy.xcode.simulator.Simulator to avoid prefixing
4280 Simulator methods with the module name, simulator.
4281 (IOSSimulatorPort.setup_test_run): Wait for the simulator device to be in the Booted state
4282 after launching iOS Simulator. Also, wait until the simulator device is in the Shutdown state
4283 before launching iOS Simulator to boot it.
4284 (IOSSimulatorPort.testing_device): Fix up caller since we now import webkitpy.xcode.simulator.Simulator.
4285 (IOSSimulatorPort.simulator_path): Deleted; moved this function to class Simulator and renamed to device_directory().
4286 * Scripts/webkitpy/xcode/simulator.py:
4287 (Device.__init__): Remove parameter state and an instance variable of the same name, which represented
4288 the state of the device when we created this object as part of parsing the output of `simctl list`. Callers
4289 interested in the state of the device are more likely interested in the current state of the device as
4290 opposed to the state of the device when the Device object was created.
4291 (Device.state): Added; turn around and call Simulator.device_state() for the current state of the device.
4292 (Device.path): Extracted implementation into Simulator.device_directory() so that it can be called
4293 from both this function and Simulator.device_state().
4294 (Device.create): Use Simulator.wait_until_device_is_in_state() to simplify the implementation of this function.
4295 (Simulator.DeviceState): Added; class of constants.
4296 (Simulator.wait_until_device_is_in_state): Added; this function does not return until the specified
4297 device is in the specified state.
4298 (Simulator.device_state): Added; parses the state of the device from the appropriate CoreSimulator device.plist file.
4299 (Simulator.device_directory): Added.
4300 (Simulator._parse_devices): Do not pass argument state to Device constructor as it no longer accepts it.
4302 2015-02-05 Alexey Proskuryakov <ap@apple.com>
4304 Disable retries on Mac debug testers
4305 https://bugs.webkit.org/show_bug.cgi?id=141296
4307 Reviewed by Simon Fraser.
4309 * BuildSlaveSupport/build.webkit.org-config/config.json:
4311 2015-02-05 Dan Bernstein <mitz@apple.com>
4313 Need a way to force $xcodeSDK in webkitdirs.pm
4314 https://bugs.webkit.org/show_bug.cgi?id=141291
4316 Reviewed by Anders Carlsson.
4318 * Scripts/webkitdirs.pm:
4319 (setXcodeSDK): Added.
4321 2015-02-05 Youenn Fablet <youenn.fablet@crf.canon.fr> and Xabier Rodriguez Calvar <calvaris@igalia.com>
4323 [Streams API] Implement a barebone ReadableStream interface
4324 https://bugs.webkit.org/show_bug.cgi?id=141045
4326 Reviewed by Benjamin Poulain.
4328 * Scripts/webkitperl/FeatureList.pm: Added streams-api compilation switch.
4330 2015-02-04 Joseph Pecoraro <pecoraro@apple.com>
4332 filter-build-webkit: reduce more unfiltered output
4333 https://bugs.webkit.org/show_bug.cgi?id=141282
4335 Reviewed by Daniel Bates.
4337 * Scripts/filter-build-webkit:
4338 Report CompileDTraceScript and Preprocess lines as successful.
4340 2015-02-04 Dana Burkart <dburkart@apple.com>
4342 Botwatcher's Dashboard is cramped
4343 https://bugs.webkit.org/show_bug.cgi?id=140273
4345 Reviewed by Alexey Proskuryakov.
4347 Add a heading key which will allow for arbitrary headings in builder queues.
4349 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
4350 (BuildbotBuilderQueueView.prototype.update.appendBuilderQueueStatus):
4351 (BuildbotBuilderQueueView.prototype.update):