1 2015-04-29 Yusuke Suzuki <utatane.tea@gmail.com>
3 [GTK] Add --enable-shared option to LLVM to build mesa
4 https://bugs.webkit.org/show_bug.cgi?id=144393
6 Reviewed by Martin Robinson.
8 The updated mesa requires the shared LLVM libraries.
9 To build mesa with LLVM in FTL build, this patch added `--enable-shared` option
10 to LLVM configure script. It will provide shared libraries in addition to static libraries.
12 * gtk/jhbuild-optional.modules:
14 2015-04-29 Martin Robinson <mrobinson@igalia.com>
16 [GTK] Add support for automatic hyphenation
17 https://bugs.webkit.org/show_bug.cgi?id=44478
19 Reviewed by Carlos Garcia Campos.
21 * gtk/jhbuild.modules: Add a module for testing dictionaries, so that
22 all systems will use the same dictionaries for testing purposes.
24 2015-04-29 Jake Nielsen <jacob_nielsen@apple.com>
26 Failure when building WebKit for appletvsimulator.
27 https://bugs.webkit.org/show_bug.cgi?id=144356
29 Reviewed by Alexey Proskuryakov.
31 Changes Makefile logic to check for "not OS X" rather than "is iOS" to
32 make TVOS and WatchOS behave correctly.
35 * WebKitTestRunner/Makefile:
37 2015-04-29 Alexey Proskuryakov <ap@apple.com>
39 Use-after-free when invalidating WKPageForceRepaint callback
40 https://bugs.webkit.org/show_bug.cgi?id=144401
41 rdar://problem/20741111
43 Reviewed by Tim Horton.
45 * WebKitTestRunner/TestController.h: (WTR::TestController::isCurrentInvocation): Added.
47 * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::forceRepaintDoneCallback):
48 Don't do anything on error, because the context may be a stale pointer now.
50 2015-04-29 David Kilzer <ddkilzer@apple.com>
52 check-webkit-style: Don't complain about returning value from Objective-C method call in header
53 <http://webkit.org/b/144395>
55 Reviewed by Andy Estes.
57 * Scripts/webkitpy/style/checkers/cpp.py:
58 (check_spacing): Update regex so 'return' is ignored if it
59 precedes the whitespace and bracket. Change category name to
60 'whitespace/brackets'. Add period to error message.
61 (CppChecker): Add 'whitespace/brackets' as a category.
62 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
63 (ErrorCollector.__call__): Replace 'STYLE_CATEGORIES' with
64 'CppChecker.categories' since that's where the list lives now.
65 (CppStyleTest.test_spacing_before_brackets): Add tests for
66 'whitespace/brackets' issues and non-issues.
68 2015-04-29 Alex Christensen <achristensen@webkit.org>
72 * Scripts/webkitdirs.pm:
73 (determinePassedConfiguration):
74 WinCairo bot doesn't use cygwin, but it needs Release_WinCairo for its configuration.
76 2015-04-29 Myles C. Maxfield <mmaxfield@apple.com>
78 [OS X] Use CTFontCreateForCSS instead of doing font search ourselves
79 https://bugs.webkit.org/show_bug.cgi?id=132159
81 Reviewed by Darin Adler.
83 Make DumpRenderTree and WebKitTestRunner use the new font whitelist instead of
84 swizzling NSFontManager methods. This is predicated on ENABLE(PLATFORM_FONT_LOOKUP).
86 * DumpRenderTree/mac/DumpRenderTree.mm:
89 (createWebViewAndOffscreenWindow):
90 * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
92 * WebKitTestRunner/mac/TestControllerMac.mm:
93 (WTR::allowedFontFamilySet):
94 (WTR::systemHiddenFontFamilySet):
95 (WTR::generateWhitelist):
96 (WTR::TestController::platformInitializeContext):
98 2015-04-29 Alexey Proskuryakov <ap@apple.com>
100 fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
101 https://bugs.webkit.org/show_bug.cgi?id=144155
103 Reviewed by Andreas Kling.
105 * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetStateToConsistentValues):
106 Make sure that test window is "visible" before each test. While there is no concrete
107 evidence that this is the problem indeed, the behavior is consistent with what would
108 happen for an invisible window. Also, WKTR obviously needs to do this to protect
109 against potential buggy tests that hide the window and don't show it.
111 2015-04-29 Carlos Garcia Campos <cgarcia@igalia.com>
113 Unreviewed. Fix /webkit2/WebKitWebInspectorServer/test-open-debugging-session.
115 Latest changes in the inspector UI made this test fail. We were
116 relying that the sidebar was always visible and the first 'li'
117 element of the inspector was the one containing the title. This is
118 no longer true, so better use document title that is not likely
121 * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
122 (openRemoteDebuggingSession):
124 2015-04-29 Andres Gomez <agomez@igalia.com>
126 Unreviewed. Re-sorted my contributor's mails to help bugzilla on showing the proper one.
128 * Scripts/webkitpy/common/config/contributors.json:
130 2015-04-29 Andres Gomez <agomez@igalia.com>
132 Unreviewed. Created a new watchlist for changes in WebInspectorUI images and added myself to it.
134 * Scripts/webkitpy/common/config/watchlist:
136 2015-04-29 Hunseop Jeong <hs85.jeong@samsung.com>
138 [EFL] Allow to run the tests on the native X display
139 https://bugs.webkit.org/show_bug.cgi?id=144247
141 Reviewed by Gyuyoung Kim.
143 Added the USE_NATIVE_XDISPLAY option for the WTR.
144 We can select the Xorg driver if environment variable is set up before running the tests.
146 * Scripts/webkitpy/port/efl.py:
147 (EflPort._driver_class):
149 2015-04-29 Joonghun Park <jh718.park@samsung.com>
151 [GTK] Add libnotify-dev in gtk install-dependencies
152 https://bugs.webkit.org/show_bug.cgi?id=144379
154 Reviewed by Žan Doberšek.
156 * gtk/install-dependencies:
158 2015-04-28 Ryuan Choi <ryuan.choi@navercorp.com>
160 [CoordinatedGraphics] Merge TILED_BACKING_STORE guard with COORDINATED_GRAPHICS
161 https://bugs.webkit.org/show_bug.cgi?id=143001
163 Reviewed by Gyuyoung Kim.
165 * WebKitTestRunner/TestController.cpp:
166 (WTR::shouldUseFixedLayout):
168 2015-04-28 Dewei Zhu <dewei_zhu@apple.com>
170 Increase stablility of run-benchmark script
171 https://bugs.webkit.org/show_bug.cgi?id=144361
173 Reviewed by Ryosuke Niwa.
175 * Scripts/run-benchmark:
177 * Scripts/webkitpy/benchmark_runner/README.md: Update readme due to changes.
178 * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
179 (GenericBenchmarkBuilder.clean):
180 * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Improve error handling and remove an unnecessary loop.
181 (BenchmarkRunner.__init__):
182 (BenchmarkRunner.execute):
183 * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
184 (OSXSafariDriver.prepareEnv): Remove saved sessions of Safari.
185 * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Upload 'results' rather than 'time'.
186 * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Update formate.
187 * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Update formate.
188 * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
189 (ServerControl.render_POST): Flush the buffer to make sure we can pass the result to stdout.
190 * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
191 (HTTPServerDriver.fetchResult):
193 (HTTPServerDriver.killServer): Add kill server interface.
194 (HTTPServerDriver.getReturnCode): Add get return code interface.
195 * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: Adjust to support new interfaces.
196 (SimpleHTTPServerDriver.serve):
197 (SimpleHTTPServerDriver.fetchResult):
198 (SimpleHTTPServerDriver):
199 (SimpleHTTPServerDriver.killServer):
200 (SimpleHTTPServerDriver.getReturnCode):
201 * Scripts/webkitpy/benchmark_runner/utils.py:
202 (forceRemove): Provide python version of 'rm -rf'.
204 2015-04-28 Sam Weinig <sam@webkit.org>
206 [Content Extensions] Process NFAs individually to avoid having all NFAs live at the same time
207 https://bugs.webkit.org/show_bug.cgi?id=144363
209 Reviewed by Alex Christensen.
211 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
212 (TestWebKitAPI::createNFAs):
213 (TestWebKitAPI::TEST_F):
214 * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
215 (TestWebKitAPI::countLiveNodes):
216 (TestWebKitAPI::createNFAs):
217 (TestWebKitAPI::buildDFAFromPatterns):
218 Update tests to use a hand rolled createNFAs function on top of CombinedURLFilters::processNFAs.
220 2015-04-28 Michael Catanzaro <mcatanzaro@igalia.com>
222 Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
223 https://bugs.webkit.org/show_bug.cgi?id=144304
225 Reviewed by Geoffrey Garen.
227 * Scripts/build-jsc: Use ENABLE_JIT instead of ENABLE_LLINT_C_LOOP on Mac. Always explicitly
228 set the value of ENABLE_JIT and ENABLE_FTL_JIT to avoid assumptions about the default value.
229 * Scripts/webkitperl/FeatureList.pm: Add --jit option to build-webkit.
231 2015-04-28 Commit Queue <commit-queue@webkit.org>
233 Unreviewed, rolling out r183514.
234 https://bugs.webkit.org/show_bug.cgi?id=144359
236 It broke cloop test bots (Requested by mcatanzaro on #webkit).
240 "Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT"
241 https://bugs.webkit.org/show_bug.cgi?id=144304
242 http://trac.webkit.org/changeset/183514
244 2015-04-28 Michael Catanzaro <mcatanzaro@igalia.com>
246 Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
247 https://bugs.webkit.org/show_bug.cgi?id=144304
249 Reviewed by Geoffrey Garen.
251 * Scripts/build-jsc: Use ENABLE_JIT instead of ENABLE_LLINT_C_LOOP on Mac. Perform sanity-
252 checking to ensure --cloop and --ftl-jit cannot be combined. Always explicitly set the value
253 of ENABLE_JIT and ENABLE_FTL_JIT to avoid assumptions about the default value.
254 * Scripts/webkitperl/FeatureList.pm: Add --jit option to build-webkit.
256 2015-04-28 Gyuyoung Kim <gyuyoung.kim@webkit.org>
258 [CMake] Remove unnecessary include paths in TestWebKitAPI cmake files
259 https://bugs.webkit.org/show_bug.cgi?id=144319
261 Reviewed by Csaba Osztrogonác.
263 * TestWebKitAPI/CMakeLists.txt:
264 * TestWebKitAPI/PlatformEfl.cmake:
266 2015-04-28 Joseph Pecoraro <pecoraro@apple.com>
268 Fix common typo "targetting" => "targeting"
269 https://bugs.webkit.org/show_bug.cgi?id=144349
271 Reviewed by Daniel Bates.
273 * Scripts/webkitdirs.pm:
274 (execMacWebKitAppForDebugging):
276 2015-04-28 Joanmarie Diggs <jdiggs@igalia.com>
278 [GTK][jhbuild] Mesa build failure with llvm 3.6
279 https://bugs.webkit.org/show_bug.cgi?id=144250
281 Reviewed by Žan Doberšek.
283 Bump the version of Mesa to 10.5.4
285 * gtk/jhbuild.modules:
287 2015-04-28 Alexey Proskuryakov <ap@apple.com>
289 Disable App Nap in WebKitTestRunner UI process
290 https://bugs.webkit.org/show_bug.cgi?id=144308
292 Reviewed by Daniel Bates.
294 * WebKitTestRunner/mac/main.mm:
295 (disableAppNapInUIProcess):
298 2015-04-28 Marcos Chavarría Teijeiro <chavarria1991@gmail.com>
300 [GTK] Update JHBuild Mesa download directory
301 https://bugs.webkit.org/show_bug.cgi?id=144318
303 Update the download directory of Mesa module since the previous one
304 doesn't exist any more.
306 Reviewed by Žan Doberšek.
308 * gtk/jhbuild.modules:
310 2015-04-28 Commit Queue <commit-queue@webkit.org>
312 Unreviewed, rolling out r183477.
313 https://bugs.webkit.org/show_bug.cgi?id=144334
315 Roll back the Mesa dependency bump in fear of uncaught
316 regressions while the testing bots are no-op. (Requested by
317 zdobersek on #webkit).
321 "[GTK][jhbuild] Mesa build failure with llvm 3.6"
322 https://bugs.webkit.org/show_bug.cgi?id=144250
323 http://trac.webkit.org/changeset/183477
325 2015-04-28 Joanmarie Diggs <jdiggs@igalia.com>
327 [GTK][jhbuild] Mesa build failure with llvm 3.6
328 https://bugs.webkit.org/show_bug.cgi?id=144250
330 Reviewed by Žan Doberšek.
332 Bump the version of Mesa to 10.5.4
334 * gtk/jhbuild.modules:
336 2015-04-27 Dewei Zhu <dewei_zhu@apple.com>
338 Add '__init__.py' and fix known bug in benchmark runner.
339 https://bugs.webkit.org/show_bug.cgi?id=144296
341 Reviewed by Ryosuke Niwa
343 * Scripts/webkitpy/benchmark_runner/__init__.py: Make python to recognize this module.
344 * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Make python to recognize this module.
345 * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
346 (BenchmarkRunner.__init__):
347 (BenchmarkRunner.execute): Fix logic bug that '--output-file' option doesn't work, and empty output file bug.
348 * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Make python to recognize this module.
349 * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Make python to recognize this module.
351 2015-04-27 Alexey Proskuryakov <ap@apple.com>
355 * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
356 (-[AccessibilityNotificationHandler _notificationReceived:]):
357 Use -objectForKey:, not array subscript.
359 2015-04-27 Alexey Proskuryakov <ap@apple.com>
361 Catch unexpected exits in DumpRenderTree
362 https://bugs.webkit.org/show_bug.cgi?id=144288
364 Reviewed by Tim Horton.
366 * DumpRenderTree/mac/DumpRenderTree.mm:
368 (DumpRenderTreeMain):
370 2015-04-27 Alexey Proskuryakov <ap@apple.com>
374 * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
375 (-[AccessibilityNotificationHandler _notificationReceived:]):
376 Use -objectForKey:, not array subscript.
378 2015-04-27 Alexey Proskuryakov <ap@apple.com>
380 fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
381 https://bugs.webkit.org/show_bug.cgi?id=144155
383 Reviewed by Tim Horton.
385 * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues):
386 Disable App Nap. I don't have positive evidence that it's the culprit, but it could be,
387 and we clearly don't want App Nap while testing.
389 2015-04-22 Martin Robinson <mrobinson@igalia.com>
391 [CMake] Autogenerate cmakeconfig.h.cmake
392 https://bugs.webkit.org/show_bug.cgi?id=143997
394 Reviewed by Csaba Osztrogonác.
396 * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt: Add XP_UNIX to the command-line
397 definitions since TestNetscapePlugIn does not use cmakeconfig.h.
399 2015-04-27 Brent Fulgham <bfulgham@apple.com>
401 REGRESSION(r182879): Images and video can no longer be downloaded
402 https://bugs.webkit.org/show_bug.cgi?id=144267
403 <rdar://problem/20702844>
405 Reviewed by Simon Fraser.
407 Revise tests to check for proper download menu state.
408 1. Downloading a loal image should be disabled.
409 2. Downloading a local media file should be disabled.
410 3. Downloading non-downloadable media should be disabled.
412 * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
413 (TestWebKitAPI::TEST):
415 2015-04-27 Csaba Osztrogonác <ossy@webkit.org>
417 Merge run-launcher into run-minibrowser
418 https://bugs.webkit.org/show_bug.cgi?id=141928
420 Reviewed by Darin Adler.
422 * Scripts/run-iexploder-tests:
423 (runSafariWithIExploder):
424 * Scripts/run-launcher: Removed.
425 * Scripts/run-minibrowser:
426 * Scripts/webkitdirs.pm:
428 * Scripts/webkitpy/port/efl.py:
429 (EflPort.show_results_html_file):
430 * Scripts/webkitpy/port/efl_unittest.py:
431 (EflPortTest.test_show_results_html_file):
432 * Scripts/webkitpy/port/gtk.py:
433 (GtkPort.print_leaks_summary):
434 (GtkPort.show_results_html_file):
436 * Scripts/webkitpy/port/gtk_unittest.py:
437 (GtkPortTest.test_show_results_html_file):
439 2015-04-27 Csaba Osztrogonác <ossy@webkit.org>
441 [buildbot] Fix the output of perf-test buildstep on timeout
442 https://bugs.webkit.org/show_bug.cgi?id=144097
444 Reviewed by Ryosuke Niwa.
446 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
447 (RunAndUploadPerfTests.getText2):
448 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
449 (RunAndUploadPerfTestsTest.test_buildbot_timeout):
450 (RunAndUploadPerfTestsTest.test_build_bad_preparation): Deleted.
452 2015-04-27 Csaba Osztrogonác <ossy@webkit.org>
454 [EFL] TestWebKitAPI's forwarding header generator should depend on WebKit2's generator
455 https://bugs.webkit.org/show_bug.cgi?id=143874
457 Reviewed by Gyuyoung Kim.
459 * TestWebKitAPI/PlatformEfl.cmake: Add the new dependency.
461 2015-04-24 Philippe Normand <pnormand@igalia.com>
463 [JHBuild] Move to upstream OpenWebRTC
464 https://bugs.webkit.org/show_bug.cgi?id=144145
466 Reviewed by Carlos Garcia Campos.
468 * efl/jhbuild.modules: Switch to upstream OpenWebRTC repository
469 and add a new simple patch to gst-plugins-base, required for
471 * efl/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
472 * gtk/jhbuild.modules: Ditto.
473 * gtk/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
475 2015-04-26 Yusuke Suzuki <utatane.tea@gmail.com>
477 [ES6] Implement ES6 template literals
478 https://bugs.webkit.org/show_bug.cgi?id=142691
480 Reviewed by Darin Adler.
482 Add ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX compile time flag.
484 * Scripts/webkitperl/FeatureList.pm:
486 2015-04-26 Gyuyoung Kim <gyuyoung.kim@webkit.org>
488 [CMake][EFL] Remove unnecessary include, library path in WebKitTestRunner/PlatformEfl.cmake
489 https://bugs.webkit.org/show_bug.cgi?id=144217
491 Reviewed by Darin Adler.
493 * WebKitTestRunner/PlatformEfl.cmake:
495 2015-04-26 Doug Russell <d_russell@apple.com>
497 AX: richer text change notifications (142719)
498 https://bugs.webkit.org/show_bug.cgi?id=142719
500 Reviewed by Darin Adler.
502 Richer accessibility value change notifications. Introduce AXTextEditType,
503 postTextStateChangeNotification and postTextReplacementNotification to give assistive
504 tech apps more reliable context for responding to changes in web content. Also implement
505 a mechanism to post value changes in password form fields in coalesced ticks to thwart
506 analyzing the cadence of changes.
508 Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent,
509 and an overload of postTextReplacementNotification to give assistive tech apps more
510 reliable context for responding to changes in web content selection. Also block posting
511 selection changes on password fields.
513 * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
514 * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
515 (-[AccessibilityNotificationHandler stopObserving]):
516 (-[AccessibilityNotificationHandler _notificationReceived:]):
517 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
518 (AccessibilityUIElement::removeNotificationListener):
519 * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
520 (-[AccessibilityNotificationHandler _notificationReceived:]):
521 * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
522 (WTR::AccessibilityUIElement::removeNotificationListener):
524 2015-04-25 Sungmann Cho <sungmann.cho@navercorp.com>
526 Add myself to contributors.json
527 https://bugs.webkit.org/show_bug.cgi?id=144204
529 Reviewed by Darin Adler.
531 * Scripts/webkitpy/common/config/contributors.json:
533 2015-04-25 Martin Robinson <mrobinson@igalia.com>
535 Rename ENABLE_3D_RENDERING to ENABLE_3D_TRANSFORMS
536 https://bugs.webkit.org/show_bug.cgi?id=144182
538 Reviewed by Simon Fraser.
540 * DumpRenderTree/win/DumpRenderTree.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS.
542 2015-04-25 Dewei Zhu <dewei_zhu@apple.com>
544 https://bugs.webkit.org/show_bug.cgi?id=144038
546 Reviewed by Ryosuke Niwa
548 Add a script to run Speedometer and JetStream on a browser.
550 * Scripts/run-benchmark: Wrapper script to run benchmark.
552 * Scripts/webkitpy/benchmark_runner/README.md: Introduction of this script.
553 * Scripts/webkitpy/benchmark_runner/__init__.py: Added.
554 * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Added.
555 * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builder_factory.py: Added.
556 (BenchmarkBuilderFactory):
557 * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Added.
558 * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py: Added.
559 (GenericBenchmarkBuilder):
560 (GenericBenchmarkBuilder.prepare):
561 (GenericBenchmarkBuilder._copyBenchmarkToTempDir):
562 (GenericBenchmarkBuilder._applyPatch):
563 (GenericBenchmarkBuilder.clean):
564 * Scripts/webkitpy/benchmark_runner/benchmark_builder/jetstream_benchmark_builder.py: Added.
565 (JetStreamBenchmarkBuilder):
566 (JetStreamBenchmarkBuilder.prepare):
567 (JetStreamBenchmarkBuilder._runCreateScript):
568 * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Main module that masters all the processes of benchmark running.
570 (BenchmarkRunner.__init__):
571 (BenchmarkRunner.execute):
572 (BenchmarkRunner.dump):
573 (BenchmarkRunner.wrap):
574 (BenchmarkRunner.merge):
575 * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Added.
576 * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py: Added.
578 (BrowserDriver.prepareEnv):
579 (BrowserDriver.launchUrl):
580 (BrowserDriver.closeBrowser):
581 * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py: Added.
582 (BrowserDriverFactory):
583 * Scripts/webkitpy/benchmark_runner/browser_driver/browser_drivers.json: Added.
584 * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py: Added.
586 (OSXChromeDriver.prepareEnv):
587 (OSXChromeDriver.launchUrl):
588 (OSXChromeDriver.closeBrowsers):
589 * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py: Added.
591 (OSXSafariDriver.prepareEnv):
592 (OSXSafariDriver.launchUrl):
593 (OSXSafariDriver.closeBrowsers):
594 * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Patch that makes JetStream compatible with this script.
595 * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Patch that makes Speedometer compatible with this scritp.
596 * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Added.
597 * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Added.
598 * Scripts/webkitpy/benchmark_runner/generic_factory.py: Factory for generic purpose.
600 (GenericFactory.iterateGetItem):
601 (GenericFactory.create):
602 * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Added.
603 * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py: Added.
605 (ServerControl.render_GET):
606 (ServerControl.render_POST):
607 * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py: Added.
609 (HTTPServerDriver.serve):
610 (HTTPServerDriver.fetchResult):
611 * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver_factory.py: Added.
612 (HTTPServerDriverFactory):
613 * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_drivers.json: Added.
614 * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: Added.
615 (SimpleHTTPServerDriver):
616 (SimpleHTTPServerDriver.depends):
617 (SimpleHTTPServerDriver.__init__):
618 (SimpleHTTPServerDriver.serve):
619 (SimpleHTTPServerDriver.baseUrl):
620 (SimpleHTTPServerDriver.fetchResult):
621 * Scripts/webkitpy/benchmark_runner/utils.py: Utility module.
622 (ModuleNotFoundError):
624 (getPathFromProjectRoot):
629 (timeout.handle_timeout):
633 2015-04-24 Commit Queue <commit-queue@webkit.org>
635 Unreviewed, rolling out r183303.
636 https://bugs.webkit.org/show_bug.cgi?id=144181
638 Change was incorrect, broke builds (Requested by smfr on
644 http://trac.webkit.org/changeset/183303
646 2015-04-24 Simon Fraser <simon.fraser@apple.com>
650 * MiniBrowser/mac/WK2BrowserWindowController.m:
651 (-[WK2BrowserWindowController initWithConfiguration:]):
653 2015-04-24 Brent Fulgham <bfulgham@apple.com>
655 Disable ActionMenusPDFTest due to timeout on test bot
657 * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
658 (TestWebKitAPI::TEST):
660 2015-04-24 Commit Queue <commit-queue@webkit.org>
662 Unreviewed, rolling out r183266.
663 https://bugs.webkit.org/show_bug.cgi?id=144164
665 Broke 32-bit build and a test. (Requested by ap on #webkit).
669 "AX: richer text change notifications (142719)"
670 https://bugs.webkit.org/show_bug.cgi?id=142719
671 http://trac.webkit.org/changeset/183266
673 2015-04-24 Brent Fulgham <bfulgham@apple.com>
675 REGRESSION: WebKit2.ActionMenusTest API test fails
676 https://bugs.webkit.org/show_bug.cgi?id=144149
677 <rdar://problem/20677770>
679 Reviewed by Tim Horton.
681 * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Revise to use the same test PDF
682 as the 'ActionMenusPDFTest'.
683 * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
684 (TestWebKitAPI::TEST): Unskip the PDF portion of ActionMenusTest, and revise its expected output
685 to match the hit test on the 'action-menu-target.pdf' test file.
687 2015-04-24 Daniel Bates <dabates@apple.com>
689 Cleanup: Use @memoized for property IOSSimulator.testing_device
690 https://bugs.webkit.org/show_bug.cgi?id=141715
692 Reviewed by Darin Adler.
694 Simplify the caching of the result of IOSSimulator.testing_device
695 and make the code more readable by making use of the @memoized declarator
696 instead of explicitly managing a private instance variable,
697 IOSSimulator._testing_device, for the cached result.
699 * Scripts/webkitpy/port/ios.py:
700 (IOSPort.determine_full_port_name):
701 (IOSSimulatorPort.__init__): Delete instance variable IOSSimulatorPort._testing_device.
703 (IOSSimulatorPort.testing_device): No need to cache the created device object in
704 IOSSimulatorPort._testing_device since we are marking this function @memoized.
705 (IOSSimulatorPort.reset_preferences): Code style fix; inline self.testing_device.path instead
706 of caching in local variable since we only make use of this value exactly once in this function.
707 (IOSPort.__init__): Deleted; The instance variable IOSPort._testing_device has never
708 been used since being added in r178622. So, we can remove this constructor since
709 it's the trivial constructor once we remove the instance variable IOSPort._testing_device.
711 2015-04-24 Anders Carlsson <andersca@apple.com>
713 Rename -[WKWebsiteDataStore isNonPersistent] to -[WKWebsiteDataStore isPersistent]
714 https://bugs.webkit.org/show_bug.cgi?id=144158
716 Reviewed by Beth Dakin.
718 * MiniBrowser/mac/WK2BrowserWindowController.m:
719 (-[WK2BrowserWindowController initWithConfiguration:]):
721 2015-04-24 Doug Russell <d_russell@apple.com>
723 AX: richer text change notifications (142719)
724 https://bugs.webkit.org/show_bug.cgi?id=142719
726 Reviewed by Darin Adler.
728 Richer accessibility value change notifications. Introduce AXTextEditType, postTextStateChangeNotification and postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content. Also implement a mechanism to post value changes in password form fields in coalesced ticks to thwart analyzing the cadence of changes.
730 Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent, and an overload of postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content selection. Also block posting selection changes on password fields.
732 * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
733 * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
734 (-[AccessibilityNotificationHandler stopObserving]):
735 (-[AccessibilityNotificationHandler _notificationReceived:]):
736 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
737 (AccessibilityUIElement::removeNotificationListener):
738 * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
739 (-[AccessibilityNotificationHandler _notificationReceived:]):
740 * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
741 (WTR::AccessibilityUIElement::removeNotificationListener):
743 2015-04-24 Darin Adler <darin@apple.com>
745 Convert OwnPtr and PassOwnPtr uses to std::unique_ptr
746 https://bugs.webkit.org/show_bug.cgi?id=128007
748 Reviewed by Anders Carlsson.
750 * DumpRenderTree/win/HistoryDelegate.h: Removed unneeded include.
751 * DumpRenderTree/win/UIDelegate.h: Ditto.
753 * TestWebKitAPI/Tests/WTF/HashMap.cpp: Removed OwnPtr-specific test cases.
754 * TestWebKitAPI/Tests/WTF/HashSet.cpp: Ditto.
756 * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp: Removed unneeded include.
758 * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp: Use unique_ptr.
759 (TestWebKitAPI::WebKit2UserMessageRoundTripTest::SetUp): Use make_unique.
760 * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp: Ditto.
761 (TestWebKitAPI::WebKit2WillLoadTest::SetUp): Ditto.
762 * TestWebKitAPI/Tests/WebKit2Gtk/DOMDOMWindowTest.cpp:
763 (WebKitDOMDOMWindowTest::create): Ditto.
764 * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
765 (documentLoadedCallback): Use a queue of DelayedSignal objects instead
766 of smart pointers to DelayedSIgnal objects.
767 (uriChangedCallback): Ditto.
769 2015-04-24 Brent Fulgham <bfulgham@apple.com>
771 [Mac] Unreviewed test fix.
772 https://bugs.webkit.org/show_bug.cgi?id=144149
774 * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
775 (TestWebKitAPI::TEST): Temporarily skip the PDF <embed>
778 2015-04-23 Darin Adler <darin@apple.com>
780 Another round of removing use of OwnPtr, PassOwnPtr, and deleteOwnedPtr
781 https://bugs.webkit.org/show_bug.cgi?id=144090
783 Reviewed by Anders Carlsson.
785 * DumpRenderTree/mac/DumpRenderTree.mm: Removed unneeded include.
787 2015-04-23 Michael Saboff <msaboff@apple.com>
789 lldb macro btjs sometimes can't get a frame description
790 https://bugs.webkit.org/show_bug.cgi?id=144130
792 Reviewed by Filip Pizlo.
794 We look to execute ExecState::describeFrame(). It appears that in some contexts the
795 debugger can't find ExecState. In those cases, CallFrame works as it is a typedef of
796 ExecState. Therefore we can fallback to using CallFrame::describeFrame().
798 * lldb/lldb_webkit.py:
801 2015-04-23 Alex Christensen <achristensen@webkit.org>
803 Use less memory when compiling content extensions.
804 https://bugs.webkit.org/show_bug.cgi?id=144051
806 Reviewed by Darin Adler and Benjamin Poulain.
808 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
809 (TestWebKitAPI::TEST_F):
810 * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
811 (TestWebKitAPI::countLiveNodes):
813 2015-04-22 Michael Catanzaro <mcatanzaro@igalia.com>
815 [CMake] Clean up JSC JIT options
816 https://bugs.webkit.org/show_bug.cgi?id=143998
818 Reviewed by Filip Pizlo.
820 * Scripts/build-jsc: Do not use -ENABLE_LLINT_C_LOOP on CMake ports.
821 * Scripts/webkitperl/FeatureList.pm: Remove ENABLE_LLINT_C_LOOP.
823 2015-04-21 Brent Fulgham <bfulgham@apple.com>
825 [Mac] Extend action menus to support PDF
826 https://bugs.webkit.org/show_bug.cgi?id=143895
827 <rdar://problem/19003333>
829 Reviewed by Tim Horton.
831 Reactivate the action menu tests, and add a new PDF-based test to make sure that selection
832 of PDF content works.
834 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new 'test.pdf' resource to bundle.
835 * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Update with a new PDF pane.
836 * TestWebKitAPI/Tests/WebKit2/test.pdf: Added.
837 * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
838 (-[ActionMenusTestWKView _actionMenuItemsForHitTestResult:withType:defaultActionMenuItems:userData:]):
839 Update to support PDF tests.
840 (TestWebKitAPI::windowPointForTarget): Add new target for PDF test.
841 (TestWebKitAPI::waitForPDFToLoad): New helper function to avoid starting test before the PDF is available.
843 2015-04-22 Carlos Garcia Campos <cgarcia@igalia.com>
845 Unreviewed. Do not run GTK+ user media unit tests when ENABLE_MEDIA_STREAM is disabled.
847 * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
849 (testWebViewAudioOnlyUserMediaPermissionRequests):
851 2015-04-22 Michael Catanzaro <mcatanzaro@igalia.com>
853 Add myself to watchlist
854 https://bugs.webkit.org/show_bug.cgi?id=144041
856 Reviewed by Alex Christensen.
858 Add myself watching CMake, GtkWebKit2PublicAPI, SoupNetwork, and WebKitGTKTranslations.
860 * Scripts/webkitpy/common/config/watchlist:
862 2015-04-22 Carlos Garcia Campos <cgarcia@igalia.com>
864 [GTK] MiniBrowser should use NetworkProcess by default
865 https://bugs.webkit.org/show_bug.cgi?id=143948
867 Reviewed by Sergio Villar Senin.
869 Use WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES by default
870 unless MINIBROWSER_SINGLEPROCESS environment variable is present.
872 * MiniBrowser/gtk/main.c:
875 2015-04-21 Matthew Hanson <matthew_hanson@apple.com>
877 Use grep instead of any in prepare-ChangeLog, to avoid Windows compatibility issues.
879 Unreviewed build fix.
881 * Scripts/prepare-ChangeLog:
882 (get_function_line_ranges_for_cpp):
883 Use grep instead of any to determine if a string is an element of an array.
885 2015-04-21 Anders Carlsson <andersca@apple.com>
888 https://bugs.webkit.org/show_bug.cgi?id=144002
890 Reviewed by Andreas Kling.
892 * MiniBrowser/mac/WK2BrowserWindowController.m:
893 (-[WK2BrowserWindowController webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
895 2015-04-21 Philippe Normand <pnormand@igalia.com>
897 [GTK] jhbuild should not use a branch for openwebrtc
898 https://bugs.webkit.org/show_bug.cgi?id=143981
900 Reviewed by Carlos Garcia Campos.
902 * gtk/jhbuild.modules:
904 2015-04-20 Matthew Hanson <matthew_hanson@apple.com>
906 Fix compilation error for prepare-ChangeLog running with Perl version < v5.18.2.
908 Unreviewed build fix.
910 The any function was added to List::Utils between Perl v5.16.2 and Perl v5.18.2.
911 However, it has been exposed by List::MoreUtils since its inception. This patch uses
912 the any function exposed by List::MoreUtils for greater compatibility.
914 * Scripts/prepare-ChangeLog:
915 Use any from List::MoreUtils instead of List::Utils, as List::MoreUtils exposes
916 the any function in all of versions of Perl used by our infrastructure.
918 2015-04-20 Alex Christensen <achristensen@webkit.org>
920 Remove unnecessary logs when resetting tests.
922 * WebKitTestRunner/mac/TestControllerMac.mm:
923 (WTR::TestController::platformResetPreferencesToConsistentValues):
924 In r183020 I added some logs when compiling or removing content extensions fails.
925 We often try to remove a content extension that does not exist, and that is not a problem.
927 2015-04-17 Matthew Hanson <matthew_hanson@apple.com>
929 prepare-ChangeLog should ignore the preceeding function when processing the removal of a function.
930 https://bugs.webkit.org/show_bug.cgi?id=143897
932 Reviewed by David Kilzer.
934 This is a speculative fix that addresses two issues:
936 1. An off-by-one error which allowed ending lines to be less than starting lines when a hunk was a pure delete.
937 We were determining ending lines from combined diffs using the logic: End = Start + Offset - 1.
939 So for a hunk like "@@ -723,10 +721,0 @@ bool foobar", we were generating the following starting/ending line pairs:
943 Before is correct, but After should be (721, 721), since it represents the beginning and ending lines for the hunk.
944 Whether there are zero lines or one line in the hunk, the starting and ending line are the same.
946 This error was causing bad behavior on purely additive and purely subtractive hunks, but since we only refer
947 to After when generating ChangeLog output, the extractLineRangeBeforeChange had no visible effect on program output.
949 The fix is to set End to the max of Start + Offset - 1 and Start, rather than always using the former.
951 2. Creating git diffs from HEAD and not origin/master by default.
953 Hard-coding origin/master into the originalFile command has the disadvantage of causing the diff to fail entirely
954 when origin/master does not exist, and to do the wrong thing when determining deleted functions/methods.
956 * Scripts/prepare-ChangeLog:
958 Use HEAD instead of origin/master in default Git case.
960 (generateFunctionLists):
961 Ensure that the end line is not less than the start line.
963 (extractLineRangeAfterChange):
964 Set the end line to the start line if the end line is less than the start line.
966 (extractLineRangeBeforeChange):
969 2015-04-17 Matthew Hanson <matthew_hanson@apple.com>
971 Suppress warning in prepare-ChangeLog.
972 https://bugs.webkit.org/show_bug.cgi?id=143882
974 Reviewed by David Kilzer.
976 Prune noisy prepare-ChangeLog output by using the List::Util::any function
977 instead of the deprecated smartmatch operator.
979 * Scripts/prepare-ChangeLog:
980 Import the List::Util::any function.
982 (get_function_line_ranges_for_cpp):
983 Use the any function instead of smartmatch.
985 2015-04-20 Anders Carlsson <andersca@apple.com>
987 Modify the WKWebsiteDataStore API to take a NSSet of types instead of a bitmask
988 https://bugs.webkit.org/show_bug.cgi?id=143966
990 Reviewed by Dan Bernstein.
992 * MiniBrowser/mac/WK2BrowserWindowController.m:
994 (-[WK2BrowserWindowController fetchWebsiteData:]):
995 (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
996 (-[WK2BrowserWindowController clearWebsiteData:]):
998 2015-04-20 Alex Christensen <achristensen@webkit.org>
1000 Fix content extension test flakiness.
1001 https://bugs.webkit.org/show_bug.cgi?id=143950
1003 Reviewed by Brady Eidson.
1005 * WebKitTestRunner/mac/TestControllerMac.mm:
1006 (WTR::TestController::platformResetPreferencesToConsistentValues):
1007 Remove the TestContentExtensions if it exists.
1008 (WTR::TestController::platformConfigureViewForTest):
1009 Log errors in case there are any.
1011 2015-04-20 Alex Christensen <achristensen@webkit.org>
1013 Properly report errors from _WKUserContentExtensionStore.
1014 https://bugs.webkit.org/show_bug.cgi?id=143808
1016 Reviewed by Darin Adler.
1018 * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
1021 2015-04-20 Carlos Garcia Campos <cgarcia@igalia.com>
1023 Add a rule for NetworkCache to watchlist file
1024 https://bugs.webkit.org/show_bug.cgi?id=143945
1026 Reviewed by Sergio Villar Senin.
1028 And add myself to the list of watchers.
1030 * Scripts/webkitpy/common/config/watchlist:
1032 2015-04-19 Darin Adler <darin@apple.com>
1034 Update RefPtr documentation and deprecation
1035 https://bugs.webkit.org/show_bug.cgi?id=143936
1037 Reviewed by Andreas Kling.
1039 * Scripts/do-webcore-rename: Put in some DeprecatedPassRefPtr renames.
1041 2015-04-19 Yusuke Suzuki <utatane.tea@gmail.com>
1043 Introduce bytecode intrinsics
1044 https://bugs.webkit.org/show_bug.cgi?id=143926
1046 Reviewed by Filip Pizlo.
1048 Change cpplint to accept emit_intrinsic_XXX.
1050 * Scripts/webkitpy/style/checkers/cpp.py:
1051 (check_identifier_name_in_declaration):
1053 2015-04-18 Simon Fraser <simon.fraser@apple.com>
1055 Fix lldb_webkit.py to show StringImpls correctly
1056 https://bugs.webkit.org/show_bug.cgi?id=143920
1058 Reviewed by Andreas Kling.
1060 Update WTFStringImplProvider's is_8bit to use the correct bitmask.
1062 * lldb/lldb_webkit.py:
1063 (WTFStringImplProvider.is_8bit):
1065 2015-04-17 Daniel Bates <dabates@apple.com>
1067 Not able to build WebKit against iOS Simulator 8.3 SDK
1068 https://bugs.webkit.org/show_bug.cgi?id=143883
1070 Reviewed by David Kilzer.
1072 Copy libraries libWebKitSystemInterfaceIOS{Device, Simulator}8.3.a to the built product directory
1073 so that Xcode uses them.
1075 * Scripts/copy-webkitlibraries-to-product-directory:
1077 2015-04-17 Beth Dakin <bdakin@apple.com>
1079 Force mouse events should go through normal mouse event handling code paths
1080 https://bugs.webkit.org/show_bug.cgi?id=143749
1082 rdar://problem/20472895
1084 Reviewed by Dean Jackson.
1086 Add mouseForceDown/mouseForceUp/mouseForceChanged support to WebKitTestRunner.
1087 Since there is not a way to create an NSEventTypePressure from scratch, we
1088 subclass NSEvent and override all of the critical methods.
1090 * WebKitTestRunner/EventSenderProxy.h:
1091 * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
1092 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1093 (WTR::EventSendingController::mouseForceDown):
1094 (WTR::EventSendingController::mouseForceUp):
1095 (WTR::EventSendingController::mouseForceChanged):
1096 * WebKitTestRunner/InjectedBundle/EventSendingController.h:
1097 * WebKitTestRunner/TestController.cpp:
1098 (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
1099 * WebKitTestRunner/mac/EventSenderProxy.mm:
1100 (-[EventSenderPressureEvent initAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
1101 (-[EventSenderPressureEvent timestamp]):
1102 (-[EventSenderPressureEvent type]):
1103 (-[EventSenderPressureEvent locationInWindow]):
1104 (-[EventSenderPressureEvent location]):
1105 (-[EventSenderPressureEvent stage]):
1106 (-[EventSenderPressureEvent pressure]):
1107 (-[EventSenderPressureEvent phase]):
1108 (-[EventSenderPressureEvent eventNumber]):
1109 (WTR::EventSenderProxy::mouseForceDown):
1110 (WTR::EventSenderProxy::mouseForceUp):
1111 (WTR::EventSenderProxy::mouseForceChanged):
1113 2015-04-17 Alexey Proskuryakov <ap@apple.com>
1115 build.webkit.org/dashboard still shows obsolete results for out of order builds sometimes
1116 https://bugs.webkit.org/show_bug.cgi?id=143885
1118 Reviewed by Tim Horton.
1120 Fixed a case where we have two builds with the same revision(s). An in order build
1121 is one for which the revision is strictly higher.
1123 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1124 (BuildbotQueue.prototype._checkForInOrderResult):
1125 (BuildbotQueue.prototype.compareIterationsByRevisions):
1127 2015-04-17 Commit Queue <commit-queue@webkit.org>
1129 Unreviewed, rolling out r182912 and r182920.
1130 https://bugs.webkit.org/show_bug.cgi?id=143881
1132 Build breakage in some configurations (Requested by ap on
1135 Reverted changesets:
1137 "Force mouse events should go through normal mouse event
1138 handling code paths"
1139 https://bugs.webkit.org/show_bug.cgi?id=143749
1140 http://trac.webkit.org/changeset/182912
1142 http://trac.webkit.org/changeset/182920
1144 2015-04-17 Csaba Osztrogonác <ossy@webkit.org>
1146 [GTK] One more unreviewed fix after r182882.
1148 * TestWebKitAPI/PlatformGTK.cmake: Added back the WebKit2's forwarding header generator dependency.
1150 2015-04-17 Csaba Osztrogonác <ossy@webkit.org>
1152 [GTK] Unreviewed speculative clean build fix after r182882.
1154 TestWebKitAPI's forwarding header generator depended on WeKit2's
1155 which generated SOUP related forwarding headers too.
1157 This dependency isn't necessary and was removed by r182882 to make
1158 forwarding header generators parallelizable. But in this case
1159 TestWebKitAPI's and WebKitTestRunner's forwarding header generator
1160 should generate SOUP related forwarding headers too similar to EFL.
1162 * TestWebKitAPI/PlatformGTK.cmake:
1163 * WebKitTestRunner/PlatformGTK.cmake:
1165 2015-04-17 Carlos Garcia Campos <cgarcia@igalia.com>
1167 [SOUP] Redirect to non HTTP destination is broken
1168 https://bugs.webkit.org/show_bug.cgi?id=143866
1170 Reviewed by Sergio Villar Senin.
1172 Add a unit test to check that redirect to a data URI works.
1174 * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
1175 (testRedirectToDataURI):
1179 2015-04-16 Jake Nielsen <jacob_nielsen@apple.com>
1181 Changes method of quitting iOS Simulator to be more correct.
1182 https://bugs.webkit.org/show_bug.cgi?id=143847
1183 <rdar://problem/20530344>
1185 Reviewed by Darin Adler.
1187 Fixes by addressing the app by ID rather than by name.
1189 * Scripts/webkitdirs.pm:
1191 * Scripts/webkitpy/port/ios.py:
1192 (IOSSimulatorPort.check_sys_deps):
1194 2015-04-16 Anders Carlsson <andersca@apple.com>
1196 Deprecate _WKWebsiteDataStore in favor of WKWebsiteDataStore
1197 https://bugs.webkit.org/show_bug.cgi?id=143844
1199 Reviewed by Dan Bernstein.
1201 * MiniBrowser/mac/AppDelegate.m:
1202 (-[BrowserAppDelegate newPrivateWindow:]):
1203 * MiniBrowser/mac/WK2BrowserWindowController.m:
1204 (-[WK2BrowserWindowController initWithConfiguration:]):
1205 (-[WK2BrowserWindowController fetchWebsiteData:]):
1206 (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
1207 (-[WK2BrowserWindowController clearWebsiteData:]):
1209 2015-04-16 Alex Christensen <achristensen@webkit.org>
1213 * WebKitTestRunner/mac/TestControllerMac.mm:
1214 (WTR::TestController::platformResetPreferencesToConsistentValues):
1215 (WTR::TestController::platformConfigureViewForTest):
1216 Added WK_API_ENABLED.
1218 2015-04-16 Alex Christensen <achristensen@webkit.org>
1220 Removed unused WKUserContentFilterRef.
1221 https://bugs.webkit.org/show_bug.cgi?id=143852
1223 Reviewed by Sam Weinig.
1225 * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
1226 * WebKitTestRunner/mac/TestControllerMac.mm:
1227 (WTR::TestController::platformResetPreferencesToConsistentValues):
1228 (WTR::TestController::platformConfigureViewForTest):
1230 2015-04-16 Jake Nielsen <jacob_nielsen@apple.com>
1232 Unreviewed. Adding myself as a commiter in contributers.json.
1234 * Scripts/webkitpy/common/config/contributors.json:
1236 2015-04-16 Alexey Proskuryakov <ap@apple.com>
1238 It is very hard to attach a debugger to WebProcess to debug tests
1239 https://bugs.webkit.org/show_bug.cgi?id=143837
1241 Reviewed by Chris Dumez.
1243 --no-timeout used to only affect waitUntilDone timeout, but not IPC timeout in
1244 WebKitTestRunner, and not pipe reading timeout in run-webkit-tests.
1246 Now it disables all timeouts in tools, as is best for debugging tests.
1248 * Scripts/webkitpy/port/driver.py: (Driver.run_test): Respect --no-timeout, so
1249 that the script doesn't terminate DRT/WKTR when there is no output for a long time.
1251 * WebKitTestRunner/Options.cpp: Removed --no-timeout-at-all, as --no-timeout
1252 now has the same functionality.
1254 2015-04-16 Beth Dakin <bdakin@apple.com>
1256 Force mouse events should go through normal mouse event handling code paths
1257 https://bugs.webkit.org/show_bug.cgi?id=143749
1259 rdar://problem/20472895
1261 Reviewed by Dean Jackson.
1263 Add mouseForceDown/mouseForceUp/mouseForceChanged support to WebKitTestRunner.
1264 Since there is not a way to create an NSEventTypePressure from scratch, we
1265 subclass NSEvent and override all of the critical methods.
1267 * WebKitTestRunner/EventSenderProxy.h:
1268 * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
1269 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1270 (WTR::EventSendingController::mouseForceDown):
1271 (WTR::EventSendingController::mouseForceUp):
1272 (WTR::EventSendingController::mouseForceChanged):
1273 * WebKitTestRunner/InjectedBundle/EventSendingController.h:
1274 * WebKitTestRunner/TestController.cpp:
1275 (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
1276 * WebKitTestRunner/mac/EventSenderProxy.mm:
1277 (-[EventSenderPressureEvent initAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
1278 (-[EventSenderPressureEvent timestamp]):
1279 (-[EventSenderPressureEvent type]):
1280 (-[EventSenderPressureEvent locationInWindow]):
1281 (-[EventSenderPressureEvent location]):
1282 (-[EventSenderPressureEvent stage]):
1283 (-[EventSenderPressureEvent pressure]):
1284 (-[EventSenderPressureEvent phase]):
1285 (-[EventSenderPressureEvent eventNumber]):
1286 (WTR::EventSenderProxy::mouseForceDown):
1287 (WTR::EventSenderProxy::mouseForceUp):
1288 (WTR::EventSenderProxy::mouseForceChanged):
1290 2015-04-16 Csaba Osztrogonác <ossy@webkit.org>
1292 [EFL] Bump LLVM to version 3.6.0 on X86_64
1293 https://bugs.webkit.org/show_bug.cgi?id=143604
1295 Reviewed by Gyuyoung Kim.
1297 * efl/jhbuild.modules:
1298 * efl/patches/llvm-elf-add-stackmaps-arm64.patch: Added the necessary part of llvm-elf-add-stackmaps.patch.
1299 * efl/patches/llvm-elf-add-stackmaps.patch: Removed, it is included in LLVM 3.6.0 release.
1300 * efl/patches/llvm-elf-allow-fde-references-outside-the-2gb-range.patch: Removed, it is included in LLVM 3.6.0 release.
1301 * efl/patches/llvm-version-arm64.patch: Added. Set PACKAGE_VERSION to "3.5.0ftl" to be able to ensure we use patched LLVM on AArch64.
1303 2015-04-16 Csaba Osztrogonác <ossy@webkit.org>
1305 [EFL] Remove an unnecessary workaround from jhbuildrc
1306 https://bugs.webkit.org/show_bug.cgi?id=143823
1308 Reviewed by Gyuyoung Kim.
1312 2015-04-16 Csaba Osztrogonác <ossy@webkit.org>
1314 [GTK] Run forwarding headers generator unconditionally
1315 https://bugs.webkit.org/show_bug.cgi?id=143819
1317 Reviewed by Carlos Garcia Campos.
1319 * TestWebKitAPI/PlatformGTK.cmake:
1320 * WebKitTestRunner/PlatformGTK.cmake:
1322 2015-04-15 Gyuyoung Kim <gyuyoung.kim@webkit.org>
1324 [EFL] Add gnutls to jhbuild.module
1325 https://bugs.webkit.org/show_bug.cgi?id=143777
1327 Reviewed by Csaba Osztrogonác.
1329 EFL port has required at least 3.0.0 version of gnutls since r176712.
1330 However some old linux distributions don't support 3.0.0 version. Besides
1331 other projects sometimes need to use lower version of gnutls.
1333 This patch supports to download gnutls through jhbuild, and use it.
1335 * efl/install-dependencies: Add nettle-dev dependency and remove libgnutls28-dev.
1336 * efl/jhbuild.modules: Download 3.3 version because 3.3 version is stable version.
1338 2015-04-15 Mark Lam <mark.lam@apple.com>
1340 Remove obsolete VMInspector debugging tool.
1341 https://bugs.webkit.org/show_bug.cgi?id=143798
1343 Reviewed by Michael Saboff.
1345 * TestWebKitAPI/CMakeLists.txt:
1346 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
1347 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
1348 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1349 * TestWebKitAPI/Tests/JavaScriptCore/VMInspector.cpp: Removed.
1351 2015-04-15 Jer Noble <jer.noble@apple.com>
1353 Unreviewed gardening; Make the previous commit apply only _post_ Yosemite.
1355 * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
1357 2015-04-15 Jer Noble <jer.noble@apple.com>
1359 Unreviewed gardening; disable FullscreenZoomInitialFrame.WebKit2 API test post-Yosemite.
1361 * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
1362 (TestWebKitAPI::TEST_F):
1364 2015-04-15 Chris Dumez <cdumez@apple.com>
1366 [Win] DRT does not seem to reset the 'UsesPageCache' setting between tests
1367 https://bugs.webkit.org/show_bug.cgi?id=143779
1369 Reviewed by Brent Fulgham.
1371 Reset the 'UsesPageCache' setting to FALSE between tests on Windows,
1372 similarly to what is done on Mac / WK1. Without this, PageCache could
1373 stay enabled after page cache tests and cause weird behaviors.
1375 * DumpRenderTree/win/DumpRenderTree.cpp:
1376 (resetWebPreferencesToConsistentValues):
1378 2015-04-14 Simon Fraser <simon.fraser@apple.com>
1380 Re-enable custom dilation for antialiased fonts
1381 https://bugs.webkit.org/show_bug.cgi?id=143738
1383 Reviewed by Tim Horton.
1385 Enabling custom dilation for antialised fonts broke layout tests, so re-land it,
1386 but disable in WebKitTestRunner and DumpRenderTree. The latter requires adding
1387 a private WebKit pref. This pref defaults to YES, enabling the feature by default
1388 in WK1 as we do for WK2.
1390 * DumpRenderTree/mac/DumpRenderTree.mm:
1391 (resetWebPreferencesToConsistentValues):
1392 * WebKitTestRunner/TestController.cpp:
1393 (WTR::TestController::resetPreferencesToConsistentValues):
1395 2015-04-14 Brent Fulgham <bfulgham@apple.com>
1397 Correct layering violation in DumpRenderTree Build
1398 https://bugs.webkit.org/show_bug.cgi?id=143732
1400 Reviewed by Simon Fraser.
1402 Correct a layering violation in DumpRenderTree by calling functions on the
1403 WebCoreTestSupport library, rather than attempting to work with WebCore
1406 * DumpRenderTree/mac/EventSendingController.mm:
1407 (-[EventSendingController monitorWheelEvents]): Call methods on WebCoreTestSupport, rather
1408 than WebCore itself.,
1409 (-[EventSendingController callAfterScrollingCompletes:]): Ditto.
1411 2015-04-14 Benjamin Poulain <benjamin@webkit.org>
1413 Add a conservative DFA minimizer for the content extension matcher
1414 https://bugs.webkit.org/show_bug.cgi?id=143501
1416 Reviewed by Alex Christensen.
1418 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1419 * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
1421 2015-04-14 Daniel Bates <dabates@apple.com>
1423 Skip failing test Tests/WebKit2Cocoa/FixedLayoutSize.mm on iOS
1424 https://bugs.webkit.org/show_bug.cgi?id=143693
1425 <rdar://problem/20530316>
1427 Reviewed by Tim Horton.
1429 Skip the test Tests/WebKit2Cocoa/FixedLayoutSize.mm as we do not plan
1430 to use the fixed layout code on iOS at this time.
1432 * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Add !PLATFORM(IOS)-guard.
1434 2015-04-14 Dominik Röttsches <dominik.rottsches@intel.com>
1436 Remove myself from watchlist, remove empty Cairo and HarfBuzz watchlists
1437 https://bugs.webkit.org/show_bug.cgi?id=143705
1439 Unreviewed change to watchlist file.
1441 * Scripts/webkitpy/common/config/watchlist:
1443 2015-04-14 KwangHyuk Kim <hyuki.kim@samsung.com>
1445 [EFL] favicon wasn't updated for google.com sometimes.
1446 https://bugs.webkit.org/show_bug.cgi?id=141940
1448 Reviewed by Gyuyoung Kim.
1450 As elm_entry_utf8_to_markup can include additional characters, parameter for the
1451 on_icon_changed_cb was just set by using url string retrieved by ewk_view_url_get().
1453 * MiniBrowser/efl/main.c:
1456 2015-04-13 Tim Horton <timothy_horton@apple.com>
1458 Add a persistent, fixed scale factor to make it easy to scale down WK(Web)Views
1459 https://bugs.webkit.org/show_bug.cgi?id=143560
1460 <rdar://problem/16302047>
1462 Reviewed by Darin Adler.
1464 * MiniBrowser/mac/BrowserWindowController.h:
1465 * MiniBrowser/mac/MainMenu.xib:
1466 * MiniBrowser/mac/WK1BrowserWindowController.m:
1467 (-[WK1BrowserWindowController setScale:]):
1468 * MiniBrowser/mac/WK2BrowserWindowController.m:
1469 (viewScaleForMenuItemTag):
1470 (-[WK2BrowserWindowController setScale:]):
1471 (-[WK2BrowserWindowController validateMenuItem:]):
1472 Add a submenu with four view scale options: 100%, 75%, 50%, and 25%.
1473 When in use, we resize the window so that the view fits correctly, and
1474 use automaticallyComputesFixedlayoutSizeFromViewScale so that the page's
1475 layout size will not change when scaling down (but will update appropriately
1476 when the view is resized).
1478 2015-04-13 Alexey Proskuryakov <ap@apple.com>
1480 build.webkit.org/dashboard shows obsolete results when builds are substantially out of order
1481 https://bugs.webkit.org/show_bug.cgi?id=138630
1483 Reviewed by Tim Horton.
1485 Make sure that we always load at least one in order productive iteration.
1487 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1488 (BuildbotQueue): Added _hasLoadedIterationForInOrderResult to track whether the queue
1489 is done loading at least one iteration that wasn't an out of order build.
1490 (BuildbotQueue.prototype.loadMoreHistoricalIterations): Listen for iteration load
1491 when that's needed to check for out of order builds.
1492 (BuildbotQueue.prototype.update): Ditto.
1493 (BuildbotQueue.prototype._checkForInOrderResult): Check if the queue has an in order
1494 result, and if it does not, load more iterations.
1495 (BuildbotQueue.prototype.loadAll): We have everything loaded, so we certainly have
1496 an in order iteration loaded too.
1497 (BuildbotQueue.prototype.compareIterations): Extracted from sortIterations(), and
1498 corrected to always sort loaded iterations before unloaded ones.
1500 2015-04-10 Brent Fulgham <bfulgham@apple.com>
1502 Expand test infrastructure to support scrolling tests
1503 https://bugs.webkit.org/show_bug.cgi?id=143286
1504 <rdar://problem/20375516>
1506 Reviewed by Simon Fraser.
1508 Extend the WK1 and WK2 test programs to support two new EventSender commands:
1509 (1) monitorWheelEvents: Tells DRT and WKTR to track the wheel event and animation state, so that we can
1510 block executing tests until WebKit has completed any rubberband, scroll, or scroll-snap animations.
1511 (2) callAfterScrollingCompletes: Provide a callback method to be executed when WebKit determines that
1512 relevant rubberband, scroll, and scroll-snap animations are finished.
1514 * DumpRenderTree/mac/EventSendingController.mm:
1515 (+[EventSendingController isSelectorExcludedFromWebScript:]): Update to recognize 'callAfterScrollingCompletes:'
1516 and 'monitorWheelEvents'.
1517 (+[EventSendingController webScriptNameForSelector:]): Ditto.
1518 (-[EventSendingController mouseScrollByX:andY:continuously:]): Add some stderr logging to help when
1519 debugging test failures.
1520 (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]): Ditto.
1521 (-[EventSendingController callAfterScrollingCompletes:]): Added. Protects the JSObject representing the callback
1522 function, then passes it to WebCore to be called once the test deferrals have been cleared.
1523 (-[EventSendingController monitorWheelEvents:]): Added. Activates the wheel event tracking used by the
1524 'callAfterScrollingCompletes' method.
1525 * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Added signatures for 'callAfterScrollingCompletes'
1526 and 'monitorWheelEvents'.
1527 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1528 (WTR::EventSendingController::callAfterScrollingCompletes): Added. Protects the JSObject representing the
1529 callback function, then passes it to WebCore to be called once the test deferrals have been cleared
1530 (WTR::EventSendingController::monitorWheelEvents): Added. Activates the wheel event tracking used by the
1531 'callAfterScrollingComplates' method.
1532 * WebKitTestRunner/InjectedBundle/EventSendingController.h:
1534 2015-04-13 Alexey Proskuryakov <ap@apple.com>
1536 build.webkit.org/dashboard: Crash-only queues should show failure when testing fails to start
1537 https://bugs.webkit.org/show_bug.cgi?id=143656
1539 Reviewed by Darin Adler.
1541 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1542 (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1544 2015-04-13 Sergio Villar Senin <svillar@igalia.com>
1546 REGRESSION(r181134): [GTK] Test /webkit2/WebKitWebView/insecure-content is failing after r181134
1547 https://bugs.webkit.org/show_bug.cgi?id=142387
1549 Reviewed by Carlos Garcia Campos.
1551 Running mixed content is blocked by default since r181134. Updated
1552 the test case to reflect the new default settings.
1554 * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
1555 (testInsecureContent):
1557 2015-04-13 Gyuyoung Kim <gyuyoung.kim@webkit.org>
1559 Fix wrong value variable in ENABLE_NAVIGATOR_HWCONCURRENCY
1560 https://bugs.webkit.org/show_bug.cgi?id=143667
1562 Reviewed by Csaba Osztrogonác.
1564 ENABLE_NAVIGATOR_HWCONCURRENCY has used $registerProtocolHandlerSupport value variable
1565 since r169017. Added $hardwareConcurrencySupport for it.
1567 Additionally networkInfoSupport is removed because this feature was removed due to spec out.
1569 * Scripts/webkitperl/FeatureList.pm:
1571 2015-04-13 Csaba Osztrogonác <ossy@webkit.org>
1573 [cmake] Add ENABLE(ATTACHMENT_ELEMENT) to the build system
1574 https://bugs.webkit.org/show_bug.cgi?id=143664
1576 Reviewed by Gyuyoung Kim.
1578 * Scripts/webkitperl/FeatureList.pm:
1580 2015-04-12 Gyuyoung Kim <gyuyoung.kim@webkit.org>
1582 [EFL] Enable Media Source
1583 https://bugs.webkit.org/show_bug.cgi?id=143635
1585 Reviewed by Csaba Osztrogonác.
1587 * Scripts/webkitperl/FeatureList.pm: Enable media source on efl port.
1589 2015-04-12 Alexey Proskuryakov <ap@apple.com>
1591 build.webkit.org/dashboard: Crash-only queues should show failure when failure limit is exceeded
1592 https://bugs.webkit.org/show_bug.cgi?id=143646
1594 Reviewed by David Kilzer.
1596 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1597 (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1599 2015-04-11 Alexey Proskuryakov <ap@apple.com>
1601 Use en_US spell checker for tests on Mac instead of Multilingual
1602 https://bugs.webkit.org/show_bug.cgi?id=143641
1604 Reviewed by Dan Bernstein.
1606 * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
1607 While at it, override NSUserDictionaryReplacementItems, so that user replacements
1608 cannot affect tests.
1610 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: (WTR::InjectedBundle::platformInitialize):
1611 Made this more like WebKit1 version.
1613 2015-04-10 Tim Horton <timothy_horton@apple.com>
1615 Replace setFixedLayoutSizeEnabled: with an enum of layout modes
1616 https://bugs.webkit.org/show_bug.cgi?id=143576
1618 Reviewed by Simon Fraser.
1620 * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:
1624 2015-04-09 Gyuyoung Kim <gyuyoung.kim@webkit.org>
1626 Update my email address and expertise.
1627 https://bugs.webkit.org/show_bug.cgi?id=143586
1629 Unreviewed, just update my info.
1631 * Scripts/webkitpy/common/config/contributors.json:
1633 2015-04-09 Joseph Pecoraro <pecoraro@apple.com>
1635 Flakiness Dashboard not loading insecure content if loaded with https URL
1636 https://bugs.webkit.org/show_bug.cgi?id=143570
1638 Reviewed by Alexey Proskuryakov.
1640 * TestResultServer/app.yaml:
1641 * TestResultServer/static-dashboards/loader.js:
1642 Switch to https scheme.
1644 2015-04-09 Csaba Osztrogonác <ossy@webkit.org>
1646 [EFL][GTK] WebKit2's generate-forwarding-headers.pl runs too many times
1647 https://bugs.webkit.org/show_bug.cgi?id=142907
1649 Reviewed by Carlos Garcia Campos.
1651 * TestWebKitAPI/PlatformEfl.cmake:
1652 * TestWebKitAPI/PlatformGTK.cmake:
1653 * WebKitTestRunner/PlatformEfl.cmake:
1654 * WebKitTestRunner/PlatformGTK.cmake:
1656 2015-04-08 Brent Fulgham <bfulgham@apple.com>
1658 [Mac] Unreviewed test fix after r182584
1659 https://bugs.webkit.org/show_bug.cgi?id=143452
1661 Put both of these tests back to their original state now that the underlying
1664 * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
1665 (TestWebKitAPI::TEST):
1666 * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
1667 (TestWebKitAPI::TEST):
1669 2015-04-08 Filip Pizlo <fpizlo@apple.com>
1671 run-jsc-benchmarks geomean of preferred means shouldn't print the VMs header twice
1672 https://bugs.webkit.org/show_bug.cgi?id=143553
1674 Reviewed by Ryosuke Niwa.
1676 Remove the spurious printVMs left over from an earlier change.
1678 * Scripts/run-jsc-benchmarks:
1680 2015-04-08 Brent Fulgham <bfulgham@apple.com>
1682 [Mac] Unreviewed test fix after r182581
1684 The behavior of control-left-click is controlled by a system preference.
1685 Our test bots have this turned off.
1687 * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
1688 (TestWebKitAPI::TEST):
1689 * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
1690 (TestWebKitAPI::TEST):
1692 2015-04-08 Brent Fulgham <bfulgham@apple.com>
1694 [Mac] WebKit is not honoring OS preferences for secondary click behaviors
1695 https://bugs.webkit.org/show_bug.cgi?id=143452
1696 <rdar://problem/20437483>
1698 Reviewed by Tim Horton.
1700 Add a new API test to confirm that Cocoa mouse button press events are properly
1701 tagged with the desired menu behavior (i.e., 'None', 'Context', or 'Action'.)
1703 The WK2 test dispatches mouse down events to a PlatformWebView, and checks with
1704 some registered event handlers that the expected button press and context menu
1705 events are received.
1707 The WK1 unit test creates an NSEvent with the desired button press state, and then
1708 uses WebCore::PlatformEventFactory::createPlatformMouseEvent to create a WebCore event.
1709 We check the resulting PlatformMouseEvent for proper state.
1711 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new test files.
1712 * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp: Added.
1713 (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
1714 * TestWebKitAPI/Tests/WebKit2/mouse-button-listener.html: Added.
1715 * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm: Added.
1716 (TestWebKitAPI::canCallMenuTypeForEvent): Helper function.
1717 (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
1718 * TestWebKitAPI/mac/PlatformWebViewMac.mm:
1719 (TestWebKitAPI::PlatformWebView::simulateButtonClick): Added method to support firing
1721 * TestWebKitAPI/mac/PlatformWebViewMac.h:
1723 2015-04-08 Michael Catanzaro <mcatanzaro@igalia.com>
1725 [GTK] Add pango to jhbuild-optional.modules
1726 https://bugs.webkit.org/show_bug.cgi?id=143537
1728 Reviewed by Martin Robinson.
1730 * gtk/jhbuild-optional.modules: Add pango.
1732 2015-04-08 Carlos Alberto Lopez Perez <clopez@igalia.com>
1734 [XvfbDriver] Regular expression used to match running X servers fails on Fedora 22.
1735 https://bugs.webkit.org/show_bug.cgi?id=143530
1737 Reviewed by Žan Doberšek.
1739 Assume that the default value for display (:0) is reserved and start checking on :1
1740 Adjust webkitpy test and include two new test cases for this bug (display number not specified)
1741 and for X server named Xorg.bin (previous bug 1376599)
1743 * Scripts/webkitpy/port/xvfbdriver.py:
1744 (XvfbDriver._next_free_display)
1745 * Scripts/webkitpy/port/xvfbdriver_unittest.py:
1746 (XvfbDriverTest.test_start_no_pixel_tests):
1747 (XvfbDriverTest.test_start_pixel_tests):
1748 (XvfbDriverTest.test_start_arbitrary_worker_number):
1749 (XvfbDriverTest.test_next_free_display):
1750 (XvfbDriverTest.test_start_next_worker):
1751 2015-04-08 Alex Christensen <achristensen@webkit.org>
1753 Block popups from content extensions.
1754 https://bugs.webkit.org/show_bug.cgi?id=143497
1756 Reviewed by Brady Eidson.
1758 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1759 (TestWebKitAPI::TEST_F):
1762 2015-04-08 Alex Christensen <achristensen@webkit.org> and Patrick Gansterer <paroga@webkit.org>
1764 Add CMake build system for WinCairo port.
1765 https://bugs.webkit.org/show_bug.cgi?id=115944
1767 Reviewed by Chris Dumez.
1770 * WinLauncher/CMakeLists.txt: Added.
1772 2015-04-08 Carlos Garcia Campos <cgarcia@igalia.com>
1774 [GTK] Crash in DOMObjectCache when a wrapped object owned by the cache is unreffed by the user
1775 https://bugs.webkit.org/show_bug.cgi?id=143521
1777 Reviewed by Martin Robinson.
1779 Add a way to detect unexpected web process crashes to WebViewTest,
1780 and a test case to testDOMCache to trigger the crash.
1782 * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
1783 (WebKitDOMNodeTest::testDOMCache):
1784 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
1785 (testWebKitWebViewProcessCrashed):
1786 * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
1787 (WebViewTest::WebViewTest):
1788 (WebViewTest::webProcessCrashed):
1789 * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
1791 2015-04-07 Alexey Proskuryakov <ap@apple.com>
1793 PageVisibilityStateWithWindowChanges should only be enabled on Yosemite
1794 rdar://problem/20461342
1796 * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
1798 2015-04-07 Commit Queue <commit-queue@webkit.org>
1800 Unreviewed, rolling out r182511.
1801 https://bugs.webkit.org/show_bug.cgi?id=143507
1803 caused debug test failures (Requested by alexchristensen on
1808 "Block popups from content extensions."
1809 https://bugs.webkit.org/show_bug.cgi?id=143497
1810 http://trac.webkit.org/changeset/182511
1812 2015-04-07 Alex Christensen <achristensen@webkit.org>
1814 Block popups from content extensions.
1815 https://bugs.webkit.org/show_bug.cgi?id=143497
1817 Reviewed by Brady Eidson.
1819 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1820 (TestWebKitAPI::TEST_F):
1823 2015-04-07 Benjamin Poulain <benjamin@webkit.org>
1825 Get the features.json files ready for open contributions
1826 https://bugs.webkit.org/show_bug.cgi?id=143436
1828 Reviewed by Darin Adler.
1830 * Scripts/webkitpy/style/checkers/jsonchecker.py:
1831 (JSONFeaturesChecker.check):
1832 Extend the syntax checking a bit, but leave everything non-mandatory
1833 very loose until we figure what fields are important.
1835 2015-04-07 Tim Horton <timothy_horton@apple.com>
1837 Expose and test fixedLayoutSize via modern WebKit SPI
1838 https://bugs.webkit.org/show_bug.cgi?id=143500
1840 Reviewed by Simon Fraser.
1842 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1843 * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Added.
1844 (-[FixedLayoutSizeNavigationDelegate webView:didFinishNavigation:]):
1846 Add a test that verifies that fixedLayoutSize works at all, that
1847 it persists through a navigation, and that turning it back off reverts to
1848 laying out at the size of the view.
1850 2015-04-07 Michael Catanzaro <mcatanzaro@igalia.com>
1852 Unreviewed. Add myself as a committer.
1854 * Scripts/webkitpy/common/config/contributors.json:
1856 2015-04-07 Brent Fulgham <bfulgham@apple.com>
1858 [Win] Bots complain about missing /etc/catalog
1859 https://bugs.webkit.org/show_bug.cgi?id=143484
1861 Reviewed by Chris Dumez.
1863 The libxml2 build on Mac, iOS, and Windows does not provide the set
1864 of default catalog files. We do not actually need these for our
1865 purposes, but we get warnings and some bot flakiness because they
1868 We can avoid both problems the same way the Mac and iOS ports do,
1869 by setting the XML_CATALOG_FILES environment variable to 'empty string',
1870 which avoid the warnings and bot problems.
1872 * Scripts/webkitpy/port/win.py:
1873 (WinPort.setup_environ_for_server): Added.
1875 2015-04-06 Sam Weinig <sam@webkit.org>
1877 Use content extensions in MiniBrowser.
1878 https://bugs.webkit.org/show_bug.cgi?id=143446
1880 Reviewed by Alex Christensen.
1882 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
1883 * MiniBrowser/mac/AppDelegate.h:
1884 * MiniBrowser/mac/AppDelegate.m:
1885 (-[BrowserAppDelegate init]):
1886 (-[BrowserAppDelegate showExtensionsManager:]):
1887 (-[BrowserAppDelegate userContentContoller]):
1888 * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
1889 * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
1890 (-[ExtensionManagerWindowController init]):
1891 (-[ExtensionManagerWindowController windowDidLoad]):
1892 (-[ExtensionManagerWindowController add:]):
1893 (-[ExtensionManagerWindowController remove:]):
1894 * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
1895 * MiniBrowser/mac/MainMenu.xib:
1897 2015-04-07 Youenn Fablet <youenn.fablet@crf.canon.fr>
1899 web-platform-tests server should retrieve the modules file relatively to its docroot path
1900 https://bugs.webkit.org/show_bug.cgi?id=142742
1902 Reviewed by Darin Adler.
1904 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1905 (WebPlatformTestServer._install_modules): Compute the modules description file path according wpt server doc root path.
1907 2015-04-06 Commit Queue <commit-queue@webkit.org>
1909 Unreviewed, rolling out r182445.
1910 https://bugs.webkit.org/show_bug.cgi?id=143459
1912 broke 32 bit build (Requested by alexchristensen on #webkit).
1916 "Use content extensions in MiniBrowser."
1917 https://bugs.webkit.org/show_bug.cgi?id=143446
1918 http://trac.webkit.org/changeset/182445
1920 2015-04-06 Sam Weinig <sam@webkit.org>
1922 Use content extensions in MiniBrowser.
1923 https://bugs.webkit.org/show_bug.cgi?id=143446
1925 Reviewed by Alex Christensen.
1927 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
1928 * MiniBrowser/mac/AppDelegate.h:
1929 * MiniBrowser/mac/AppDelegate.m:
1930 (-[BrowserAppDelegate init]):
1931 (-[BrowserAppDelegate showExtensionsManager:]):
1932 (-[BrowserAppDelegate userContentContoller]):
1933 * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
1934 * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
1935 (-[ExtensionManagerWindowController init]):
1936 (-[ExtensionManagerWindowController windowDidLoad]):
1937 (-[ExtensionManagerWindowController add:]):
1938 (-[ExtensionManagerWindowController remove:]):
1939 * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
1940 * MiniBrowser/mac/MainMenu.xib:
1942 2015-04-06 Michael Catanzaro <mcatanzaro@gnome.org>
1944 [GTK] install-dependencies should prefer dnf to yum
1945 https://bugs.webkit.org/show_bug.cgi?id=143441
1947 Reviewed by Martin Robinson.
1949 Test for the existance of dnf before yum, and only try to use yum if dnf does not exist.
1951 * gtk/install-dependencies:
1953 2015-04-06 Andy Estes <aestes@apple.com>
1955 [iOS] 'make clean' fails in Tools/WebKitTestRunner
1956 https://bugs.webkit.org/show_bug.cgi?id=143455
1958 Reviewed by Dan Bernstein.
1960 This Makefile adds '-target WebKitTestRunnerApp' to OTHER_OPTIONS during iOS builds, but the top-level
1961 Makefile.shared adds '-alltargets' for clean builds, and xcodebuild does not allow both -target and -alltargets.
1963 * WebKitTestRunner/Makefile: Don't add '-target WebKitTestRunerApp' to OTHER_OPTIONS on clean builds.
1965 2015-04-06 Alexey Proskuryakov <ap@apple.com>
1967 WebKit1.SetAndUpdateCacheModelPreferencesChangeMix fails on some machines
1968 https://bugs.webkit.org/show_bug.cgi?id=143450
1970 Reviewed by Anders Carlsson.
1972 * TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm: (TestWebKitAPI::TEST):
1973 Make sure that the view is actually closed, regardless of anything else that happens beneath.
1974 Also, removed unnecessary get() calls.
1976 2015-04-03 Alexey Proskuryakov <ap@apple.com>
1978 Reduce the dependency on Flash in regression tests
1979 https://bugs.webkit.org/show_bug.cgi?id=143391
1981 Reviewed by Anders Carlsson.
1983 * WebKitTestRunner/TestController.cpp: (WTR::TestController::decidePolicyForPluginLoad):
1984 Only allow QuickTime and the test plug-in.
1986 2015-04-06 Youenn Fablet <youenn.fablet@crf.canon.fr>
1988 W3C test importer should generate the modules installed dynamically to run wpt tests
1989 https://bugs.webkit.org/show_bug.cgi?id=142738
1991 Reviewed by Ryosuke Niwa.
1993 The test importer can now generate the submodules description file based on information extracted from the corresponding git repository.
1994 The implementation is done within TestDownloader and it is activated for the WPT repository.
1995 LayoutTests/imported/w3c/resources/WPTModules is renamed as LayoutTests/imported/w3c/resources/web-platform-tests-modules.json for that reason.
1997 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1998 (WebPlatformTestServer._install_modules): Updated to cope with path as array.
1999 * Scripts/webkitpy/w3c/test_downloader.py:
2000 (TestDownloader._git_submodules_status): Added so that it can be overriden for unit tests.
2002 (TestDownloader._git_submodules_description): Computes submodule description.
2003 (TestDownloader.generate_git_submodules_description): Write submodule description in a file.
2004 * Scripts/webkitpy/w3c/test_importer.py:
2005 (TestImporter.do_import): Added the possibility to post process the tests.
2007 (TestImporter.generate_git_submodules_description_for_all_repositories): Enable generating module description file.
2008 (TestImporter.should_convert_test_harness_links): Updated according new options format.
2009 * Scripts/webkitpy/w3c/test_importer_unittest.py:
2010 (TestImporterTest.import_downloaded_tests): Making use of TestDownloaderMock.
2011 (TestImporterTest.import_downloaded_tests.TestDownloaderMock): Added to override submodule status gathering.
2012 (TestImporterTest.import_downloaded_tests.TestDownloaderMock.__init__):
2013 (TestImporterTest.import_downloaded_tests.TestDownloaderMock._git_submodules_status):
2014 (TestImporterTest.test_submodules_generation): Added to check that modules description files works.
2016 2015-04-05 Antti Koivisto <antti@apple.com>
2018 Bloom filter should support longer hashes
2019 https://bugs.webkit.org/show_bug.cgi?id=143419
2021 Reviewed by Dan Bernstein.
2023 * TestWebKitAPI/Tests/WTF/BloomFilter.cpp:
2024 (TestWebKitAPI::generateRandomDigests):
2025 (TestWebKitAPI::TEST):
2027 2015-04-03 Csaba Osztrogonác <ossy@webkit.org>
2029 run-jsc-stress-tests --remote should add libllvmForJSC.so to the bundle on Linux
2030 https://bugs.webkit.org/show_bug.cgi?id=143372
2032 Reviewed by Darin Adler.
2034 * Scripts/run-jsc-stress-tests:
2036 2015-04-03 Antti Koivisto <antti@apple.com>
2038 Add non-counting bloom filter class
2039 https://bugs.webkit.org/show_bug.cgi?id=143366
2041 Reviewed by Sam Weinig.
2043 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2044 * TestWebKitAPI/Tests/WTF/BloomFilter.cpp: Added.
2045 (TestWebKitAPI::generateRandomHashes):
2046 (TestWebKitAPI::TEST):
2048 2015-04-03 Csaba Osztrogonác <ossy@webkit.org>
2050 FTL JIT tests should fail if LLVM library isn't available
2051 https://bugs.webkit.org/show_bug.cgi?id=143374
2053 Reviewed by Mark Lam.
2055 * Scripts/run-jsc-stress-tests:
2057 2015-04-03 Csaba Osztrogonác <ossy@webkit.org>
2059 [EFL] Speedup jhbuild with disable running autogen.sh
2060 https://bugs.webkit.org/show_bug.cgi?id=143369
2062 Reviewed by Gyuyoung Kim.
2064 * efl/jhbuild.modules:
2066 2015-04-01 Alexey Proskuryakov <ap@apple.com>
2068 filter-webkit-build should filter out "created by an unsupported XCDependencyGraph build" lines
2069 https://bugs.webkit.org/show_bug.cgi?id=143282
2071 Reviewed by Daniel Bates.
2073 * Scripts/filter-build-webkit: (shouldIgnoreLine): Do it.
2075 2015-04-01 Alexey Proskuryakov <ap@apple.com>
2077 When LayoutTestHelper fails to start, we continue to run the tests, ending up with mysterious failures
2078 https://bugs.webkit.org/show_bug.cgi?id=143240
2079 rdar://problem/19990425
2081 Reviewed by Tim Horton.
2083 * DumpRenderTree/mac/LayoutTestHelper.m:
2084 (colorProfileURLForDisplay):
2085 (saveDisplayColorProfiles):
2086 Gracefully handle it when the current profile cannot be retrieved, fixing at
2087 least one case when LayoutTestHelper couldn't start.
2089 * Scripts/webkitpy/layout_tests/controllers/manager.py:
2090 (Manager._set_up_run):
2091 (Manager._force_pixel_tests_if_needed):
2092 * Scripts/webkitpy/port/base.py: (Port.to.start_helper):
2093 * Scripts/webkitpy/port/mac.py: (MacPort.start_helper):
2094 Return and check an error from start_helper().
2096 2015-04-01 Brent Fulgham <bfulgham@apple.com>
2098 [Win] Run test-webkitpy as part of EWS (just like we do on other platforms)
2099 https://bugs.webkit.org/show_bug.cgi?id=143321
2101 Reviewed by Alexey Proskuryakov.
2103 * EWSTools/start-queue-win.sh: Add commands to run 'test-webkitpy' during processing loop.
2105 2015-04-01 Enrica Casucci <enrica@apple.com>
2107 Injected bundle messages should be at the page level.
2108 https://bugs.webkit.org/show_bug.cgi?id=143283
2110 Reviewed by Alexey Proskuryakov.
2112 Updating WebKitTestRunner to use the new page level messaging.
2113 The author of this patch is Tim Horton, I just finished it.
2115 * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2116 (WTR::EventSendingController::mouseDown):
2117 (WTR::EventSendingController::mouseUp):
2118 (WTR::EventSendingController::mouseMoveTo):
2119 (WTR::EventSendingController::leapForward):
2120 (WTR::EventSendingController::scheduleAsynchronousClick):
2121 (WTR::EventSendingController::keyDown):
2122 (WTR::EventSendingController::scheduleAsynchronousKeyDown):
2123 (WTR::EventSendingController::mouseScrollBy):
2124 (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases):
2125 (WTR::EventSendingController::continuousMouseScrollBy):
2126 (WTR::EventSendingController::addTouchPoint):
2127 (WTR::EventSendingController::updateTouchPoint):
2128 (WTR::EventSendingController::setTouchModifier):
2129 (WTR::EventSendingController::setTouchPointRadius):
2130 (WTR::EventSendingController::touchStart):
2131 (WTR::EventSendingController::touchMove):
2132 (WTR::EventSendingController::touchEnd):
2133 (WTR::EventSendingController::touchCancel):
2134 (WTR::EventSendingController::clearTouchPoints):
2135 (WTR::EventSendingController::releaseTouchPoint):
2136 (WTR::EventSendingController::cancelTouchPoint):
2137 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2138 (WTR::InjectedBundle::didReceiveMessage):
2139 (WTR::InjectedBundle::didReceiveMessageToPage):
2140 (WTR::InjectedBundle::done):
2141 (WTR::InjectedBundle::outputText):
2142 (WTR::InjectedBundle::postNewBeforeUnloadReturnValue):
2143 (WTR::InjectedBundle::postAddChromeInputField):
2144 (WTR::InjectedBundle::postRemoveChromeInputField):
2145 (WTR::InjectedBundle::postFocusWebView):
2146 (WTR::InjectedBundle::postSetBackingScaleFactor):
2147 (WTR::InjectedBundle::postSetWindowIsKey):
2148 (WTR::InjectedBundle::postSimulateWebNotificationClick):
2149 (WTR::InjectedBundle::postSetAddsVisitedLinks):
2150 (WTR::InjectedBundle::setGeolocationPermission):
2151 (WTR::InjectedBundle::setMockGeolocationPosition):
2152 (WTR::InjectedBundle::setMockGeolocationPositionUnavailableError):
2153 (WTR::InjectedBundle::setUserMediaPermission):
2154 (WTR::InjectedBundle::setCustomPolicyDelegate):
2155 (WTR::InjectedBundle::setHidden):
2156 (WTR::InjectedBundle::setCacheModel):
2157 (WTR::InjectedBundle::shouldProcessWorkQueue):
2158 (WTR::InjectedBundle::processWorkQueue):
2159 (WTR::InjectedBundle::queueBackNavigation):
2160 (WTR::InjectedBundle::queueForwardNavigation):
2161 (WTR::InjectedBundle::queueLoad):
2162 (WTR::InjectedBundle::queueLoadHTMLString):
2163 (WTR::InjectedBundle::queueReload):
2164 (WTR::InjectedBundle::queueLoadingScript):
2165 (WTR::InjectedBundle::queueNonLoadingScript):
2166 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2167 (WTR::TestRunner::setHandlesAuthenticationChallenges):
2168 (WTR::TestRunner::setAuthenticationUsername):
2169 (WTR::TestRunner::setAuthenticationPassword):
2170 (WTR::TestRunner::secureEventInputIsEnabled):
2171 (WTR::TestRunner::setBlockAllPlugins):
2172 * WebKitTestRunner/TestController.cpp:
2173 (WTR::TestController::createWebViewWithOptions):
2174 (WTR::TestController::resetStateToConsistentValues):
2175 (WTR::TestController::didReceivePageMessageFromInjectedBundle):
2176 (WTR::TestController::didReceiveSynchronousPageMessageFromInjectedBundle):
2177 * WebKitTestRunner/TestController.h:
2178 * WebKitTestRunner/TestInvocation.cpp:
2179 (WTR::TestInvocation::invoke):
2180 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2182 2015-04-01 Commit Queue <commit-queue@webkit.org>
2184 Unreviewed, rolling out r182174 and r182177.
2185 https://bugs.webkit.org/show_bug.cgi?id=143314
2187 Try to correct EWS failures (Requested by bfulgham on
2190 Reverted changesets:
2192 "Python SCM should be able to retrieve untracked files"
2193 https://bugs.webkit.org/show_bug.cgi?id=143135
2194 http://trac.webkit.org/changeset/182174
2196 "[buildbot] clean-build script should remove untracked files
2197 and revert local changes too"
2198 https://bugs.webkit.org/show_bug.cgi?id=142400
2199 http://trac.webkit.org/changeset/182177
2201 2015-04-01 Alex Christensen <achristensen@webkit.org>
2203 [Content Extensions] Properly handle regexes that match everything.
2204 https://bugs.webkit.org/show_bug.cgi?id=143281
2206 Reviewed by Benjamin Poulain.
2208 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2209 (TestWebKitAPI::testRequest):
2210 (TestWebKitAPI::makeBackend):
2211 (TestWebKitAPI::TEST_F):
2212 Removed duplicate code and added test.
2214 2015-03-31 Benjamin Poulain <bpoulain@apple.com>
2216 Content Extensions: split the state machines to minimize prefix states
2217 https://bugs.webkit.org/show_bug.cgi?id=143253
2219 Reviewed by Alex Christensen.
2221 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2222 (TestWebKitAPI::TEST_F):
2223 (TestWebKitAPI::testPatternStatus):
2225 2015-03-31 Yusuke Suzuki <utatane.tea@gmail.com>
2227 Clean up Identifier factories to clarify the meaning of StringImpl*
2228 https://bugs.webkit.org/show_bug.cgi?id=143146
2230 Reviewed by Filip Pizlo.
2232 Simple API tests for StringImpl are added.
2234 * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2235 (TestWebKitAPI::TEST):
2237 2015-03-31 Csaba Osztrogonác <ossy@webkit.org>
2239 [EFL] Add AArch64 builder and tester bot to build.webkit.org
2240 https://bugs.webkit.org/show_bug.cgi?id=143092
2242 Reviewed by Gyuyoung Kim.
2244 * BuildSlaveSupport/build.webkit.org-config/config.json:
2245 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2247 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2249 2015-03-31 Youenn Fablet <youenn.fablet@crf.canon.fr>
2251 [buildbot] clean-build script should remove untracked files and revert local changes too
2252 https://bugs.webkit.org/show_bug.cgi?id=142400
2254 Reviewed by Ryosuke Niwa.
2256 This patch cleans the WebKit folder by reverting tracked files changes and deleting SCM untracked files, including SCM ignored files.
2257 A helper routine SCM.discard_untracked_files is added for that purpose.
2259 * BuildSlaveSupport/clean-build:
2260 (main): Making call to Scripts/clean-webkit
2261 * Scripts/clean-webkit: Added.
2262 (main): Revert changes and delete untracked files.
2263 * Scripts/webkitpy/common/checkout/scm/scm.py:
2264 (SCM.discard_untracked_files): Helper function to discard untracked files or folders found by SCM.
2265 * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2266 (SCMTest._shared_test_discard_untracked_files):
2267 (test_discard_untracked_files): Tests that untracked file and untracked folder get discarded correctly.
2269 2015-03-31 Youenn Fablet <youenn.fablet@crf.canon.fr>
2271 Python SCM should be able to retrieve untracked files
2272 https://bugs.webkit.org/show_bug.cgi?id=143135
2274 Reviewed by Ryosuke Niwa.
2276 This patch introduces SCM.untracked_files to retrieve a list of untracked files.
2277 Ignored files may be included or not in this list according boolean passed to the function.
2279 * Scripts/webkitpy/common/checkout/scm/git.py:
2280 (Git.untracked_files):
2281 * Scripts/webkitpy/common/checkout/scm/scm.py:
2282 (SCM.untracked_files):
2283 * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2284 (SCMTest._shared_test_untracked_files):
2285 (test_untracked_files):
2286 (GitSVNTest.test_untracked_files):
2287 * Scripts/webkitpy/common/checkout/scm/svn.py:
2288 (SVN.untracked_files):
2290 2015-03-30 Alex Christensen <achristensen@webkit.org>
2292 [Content Extensions] Correctly handle regular expressions matching everything
2293 https://bugs.webkit.org/show_bug.cgi?id=143235
2295 Reviewed by Benjamin Poulain.
2297 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2298 (TestWebKitAPI::checkCompilerError):
2299 (TestWebKitAPI::TEST_F):
2300 Test ContentExtensionErrors.
2302 2015-03-30 Alexey Proskuryakov <ap@apple.com>
2304 DumpRenderTree should set NSWindowDisplayWithRunLoopObserver
2305 https://bugs.webkit.org/show_bug.cgi?id=143241
2306 rdar://problem/20351297
2308 Reviewed by Mark Lam.
2310 * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
2312 2015-03-30 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2314 [CMake][EFL] Remove redundant library link and include path
2315 https://bugs.webkit.org/show_bug.cgi?id=143221
2317 Reviewed by Csaba Osztrogonác.
2319 * ImageDiff/PlatformEfl.cmake: Remove unnecessary library link and include path.
2321 2015-03-30 Sam Weinig <sam@webkit.org>
2323 [Content Extensions] Flesh out the UserContentExtensionStore
2324 https://bugs.webkit.org/show_bug.cgi?id=143123
2326 Reviewed by Benjamin Poulain.
2328 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2329 * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm: Added.
2330 Add tests for _WKUserContentExtensionStore.
2332 2015-03-30 Marcos Chavarría Teijeiro <chavarria1991@gmail.com>
2334 Update install-dependencies Fedora packages after r181624
2335 https://bugs.webkit.org/show_bug.cgi?id=143215
2337 Add json-glib, libv4l, openssl and pulseaudio development packages to
2338 the Fedora list providing we need them to build WebKit dependencies
2339 for this distribution.
2341 Reviewed by Philippe Normand.
2343 * gtk/install-dependencies:
2345 2015-03-30 Commit Queue <commit-queue@webkit.org>
2347 Unreviewed, rolling out r182119.
2348 https://bugs.webkit.org/show_bug.cgi?id=143196
2350 problem with syntax (Requested by youenn on #webkit).
2354 "[buildbot] clean-build script should remove untracked files
2355 and revert local changes too"
2356 https://bugs.webkit.org/show_bug.cgi?id=142400
2357 http://trac.webkit.org/changeset/182119
2359 2015-03-30 Benjamin Poulain <benjamin@webkit.org>
2361 Start the features.json files
2362 https://bugs.webkit.org/show_bug.cgi?id=143207
2364 Reviewed by Darin Adler.
2366 I kept the style checking light. We'll have to figure
2367 what is the best format for each field.
2369 * Scripts/webkitpy/style/checker.py:
2370 (CheckerDispatcher._create_checker):
2371 * Scripts/webkitpy/style/checkers/jsonchecker.py:
2372 (JSONContributorsChecker.check):
2373 (JSONFeaturesChecker):
2374 (JSONFeaturesChecker.check):
2376 2015-03-29 Youenn Fablet <youenn.fablet@crf.canon.fr>
2378 [buildbot] clean-build script should remove untracked files and revert local changes too
2379 https://bugs.webkit.org/show_bug.cgi?id=142400
2381 Reviewed by Ryosuke Niwa.
2383 This patch cleans the WebKit folder by deleting SCM untracked files and reverting changes for tracked files.
2385 * BuildSlaveSupport/clean-build:
2386 (main): Adding call to Tools/Scripts/clean-webkit.
2387 * Scripts/clean-webkit: Added.
2388 (main): Removes untracked and changed files.
2389 * Scripts/webkitpy/common/checkout/scm/git.py:
2390 (Git.untracked_files): Retrieves GIT untracked files.
2391 * Scripts/webkitpy/common/checkout/scm/scm.py:
2392 (SCM.untracked_files): Retrieves SVN untracked files.
2394 (SCM.discard_untracked_files): Deletes untracked files/folders.
2395 * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2396 (SCMTest._shared_test_untracked_files): Unit testing for untracked files.
2397 (test_untracked_files):
2398 (GitSVNTest.test_untracked_files):
2399 * Scripts/webkitpy/common/checkout/scm/svn.py:
2400 (SVN.untracked_files):
2402 2015-03-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2404 [CMake] Remove unnecessary INCLUDE_IF_EXISTS macro
2405 https://bugs.webkit.org/show_bug.cgi?id=143138
2407 Reviewed by Csaba Osztrogonác.
2409 INCLUDE_IF_EXISTS isn't used except for 2 places. However those uses can
2410 be replaced with WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS.
2412 * ImageDiff/CMakeLists.txt:
2413 Use WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() instead of INCLUDE_IF_EXISTS.
2414 * WebKitTestRunner/CMakeLists.txt: ditto.
2416 2015-03-27 Myles C. Maxfield <mmaxfield@apple.com>
2418 Support building WTF on Windows without Cygwin
2419 https://bugs.webkit.org/show_bug.cgi?id=143084
2421 Reviewed by Brent Fulgham.
2423 Windows without Cygwin doesn't have curl, unzip, or grep. Luckily, Perl does all of these things.
2424 This patch also migrates to using File::Spec->catfile() for directory separators.
2426 * Scripts/update-webkit-dependency:
2428 * Scripts/update-webkit-support-libs:
2430 (downloadExpectedVersionNumber):
2432 (toUnixPath): Deleted.
2433 * Scripts/webkitdirs.pm:
2434 (determineSourceDir):
2435 (windowsSourceSourceDir):
2436 (windowsLibrariesDir):
2438 (checkInstalledTools):
2439 (buildVisualStudioProject):
2441 2015-03-27 Alex Christensen <achristensen@webkit.org>
2444 https://bugs.webkit.org/show_bug.cgi?id=143086
2446 Reviewed by Brent Fulgham.
2448 * Scripts/webkitdirs.pm:
2449 (buildVisualStudioProject):
2450 (runSvnUpdateAndResolveChangeLogs):
2451 Use ActivePerl-friendly perl.
2453 2015-03-27 Csaba Osztrogonác <ossy@webkit.org>
2455 URTBF after r182059 to fix the EFL build.
2457 * TestWebKitAPI/CMakeLists.txt:
2459 2015-03-26 Alexey Proskuryakov <ap@apple.com>
2461 Layout test results URL loads in WK1 but not WK2 minibrowser
2462 https://bugs.webkit.org/show_bug.cgi?id=143117
2464 Reviewed by Tim Horton.
2466 * MiniBrowser/mac/WK2BrowserWindowController.m:
2467 (-[WK2BrowserWindowController fetch:]): Fix this, international domain names, and
2469 (-[WK2BrowserWindowController updateTextFieldFromURL:]): Ditto.
2471 2015-03-26 Jer Noble <jer.noble@apple.com>
2473 Add --allowed-host support to run-webkit-tests
2474 https://bugs.webkit.org/show_bug.cgi?id=142938
2476 Reviewed by Brent Fulgham.
2478 Accept --allowed-host arguments from run-webkit-tests and pass them through to
2479 DumpRenderTree and WebKitTestRunner.
2481 Drive-by fix: Depending on the value of the --layout-test-dir parameter, layout test results
2482 are placed in the wrong location. The argument is compared with each tests's path, and if a
2483 relative path or a path with '..' was used, results are placed alongside the test. Take the
2484 absolute path of the --layout-test-dir argument, collapsing path components like '..'.
2486 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2488 * Scripts/webkitpy/port/base.py:
2490 (Port.allowed_hosts):
2491 * Scripts/webkitpy/port/driver.py:
2494 2015-03-26 Jer Noble <jer.noble@apple.com>
2496 [Mac] Add an --allowed-host argument to DRT and WKTR to allow tests to connect to non-localhost servers
2497 https://bugs.webkit.org/show_bug.cgi?id=142931
2499 Reviewed by Brent Fulgham.
2501 Currently, both DRT and WKTR will refuse to allow network connections to non-localhost servers
2502 over HTTP/HTTPS. For certain testing scenarios, however, it would be useful if both DRT and
2503 WKTR could be allowed to make HTTP/HTTPS connections to certain, specific servers defined at
2506 To allow this, add an optional argument to DRT and WKTR, --allowed-host, which will add the specified
2507 hostname to a whitelist; requests to these hosts will allowed to proceed normally.
2509 Drive-by fix: in InjectedBundlePage::willSendRequestForFrame, we get the top loading frame from the
2510 injected bundle. But after the main resource load completes, the bundle nulls out it's pointer to the
2511 top loading frame, which causes a subsequent crash when further resources are requested. Instead, get
2512 the top loading frame from the page, as we do elsewhere in this class.
2514 * DumpRenderTree/TestRunner.h:
2515 (TestRunner::allowedHosts):
2516 (TestRunner::setAllowedHosts):
2517 * DumpRenderTree/mac/DumpRenderTree.mm:
2518 (initializeGlobalsFromCommandLineOptions):
2520 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2522 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2523 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2524 (WTR::InjectedBundle::didReceiveMessage):
2525 (WTR::InjectedBundle::isAllowedHost):
2526 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2527 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2528 (WTR::isAllowedHost):
2529 (WTR::InjectedBundlePage::willSendRequestForFrame):
2530 * WebKitTestRunner/InjectedBundle/TestRunner.h:
2531 * WebKitTestRunner/Options.cpp:
2532 (WTR::handleOptionAllowedHost):
2533 (WTR::OptionsHandler::OptionsHandler):
2534 * WebKitTestRunner/Options.h:
2535 * WebKitTestRunner/TestController.cpp:
2536 (WTR::TestController::initialize):
2537 (WTR::TestController::resetStateToConsistentValues):
2538 * WebKitTestRunner/TestController.h:
2540 2015-03-26 Brady Eidson <beidson@apple.com>
2542 Apply ContentExtension actions after redirects.
2543 <rdar://problem/20062613> and https://bugs.webkit.org/show_bug.cgi?id=143055
2545 Reviewed by Alex Christensen.
2547 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2548 (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame): Dump the fact that the load error is kWKErrorCodeCannotShowURL
2549 which is specifically interesting to a new test.
2551 2015-03-26 Csaba Osztrogonác <ossy@webkit.org>
2553 [EFL] Disable building libseccomp on AArch64
2554 https://bugs.webkit.org/show_bug.cgi?id=143094
2556 Reviewed by Gyuyoung Kim.
2560 2015-03-26 Csaba Osztrogonác <ossy@webkit.org>
2562 [jhbuild] git should use only 1 thread for cloning jhbuild
2563 https://bugs.webkit.org/show_bug.cgi?id=143095
2565 Reviewed by Gyuyoung Kim.
2567 * jhbuild/jhbuild-wrapper:
2570 2015-03-25 Joseph Pecoraro <pecoraro@apple.com>
2572 Update prepare-ChangeLog to work with ES6 Class syntax
2573 https://bugs.webkit.org/show_bug.cgi?id=143069
2575 Reviewed by Timothy Hatcher.
2577 * Scripts/prepare-ChangeLog:
2578 (get_function_line_ranges_for_javascript):
2579 Better handle ES6 Class syntax.
2581 * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt:
2582 * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js:
2585 (DerivedClass.staticMethod):
2586 (DerivedClass.prototype.method.nestedFunctionInsideMethod):
2587 (DerivedClass.prototype.method):
2588 (DerivedClass.prototype.get getter):
2589 (namespace.MyClass):
2590 (namespace.MyClass.staticMethod):
2591 (namespace.MyClass.prototype.method.nestedFunctionInsideMethod):
2592 (namespace.MyClass.prototype.method):
2593 (namespace.MyClass.prototype.get getter):
2596 2015-03-25 Filip Pizlo <fpizlo@apple.com>
2598 Use JITCompilationCanFail in more places, and make the fail path of JITCompilationMustSucceed a crash instead of attempting GC
2599 https://bugs.webkit.org/show_bug.cgi?id=142993
2601 Reviewed by Mark Lam.
2603 Bunch of support for testing executable allocation failure.
2605 * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz: Added.
2607 * Scripts/run-javascriptcore-tests:
2608 (runJSCStressTests):
2609 * Scripts/run-jsc-stress-tests:
2611 2015-03-25 Myles C. Maxfield <mmaxfield@apple.com>
2613 Fix Windows build from r181977.
2617 * Scripts/update-webkit-dependency:
2619 2015-03-25 Sam Weinig <sam@webkit.org>
2621 Address additional review feedback from https://bugs.webkit.org/show_bug.cgi?id=143059.
2623 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2624 (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
2626 2015-03-25 Myles C. Maxfield <mmaxfield@apple.com>
2628 Migrate update-webkit for Windows to not require Cygwin
2629 https://bugs.webkit.org/show_bug.cgi?id=143040
2631 Reviewed by Brent Fulgham.
2633 * Scripts/update-webkit-dependency:
2635 (toUnixPath): Deleted.
2636 * Scripts/webkitdirs.pm:
2638 (checkInstalledTools):
2641 2015-03-25 Sam Weinig <sam@webkit.org>
2643 [Content Extensions] Convert content extension compiling to return error codes and write its output using a client
2644 https://bugs.webkit.org/show_bug.cgi?id=143059
2646 Reviewed by Alex Christensen.
2648 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2649 (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
2650 Update for new interface of compileRuleList().
2652 2015-03-25 Alex Christensen <achristensen@webkit.org>
2654 [Content Extensions] Add multi-DFA compiling and interpreting.
2655 https://bugs.webkit.org/show_bug.cgi?id=143010
2657 Reviewed by Benjamin Poulain.
2659 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2660 (TestWebKitAPI::testRequest):
2661 (TestWebKitAPI::TEST_F):
2662 Add some tests for ignore-previous-rules and large rulesets.
2664 2015-03-25 Alexey Proskuryakov <ap@apple.com>
2666 Mavericks WK1 still runs JSC tests
2667 https://bugs.webkit.org/show_bug.cgi?id=143035
2669 Reviewed by Csaba Osztrogonác.
2671 * BuildSlaveSupport/build.webkit.org-config/config.json: Bring Mavericks WK1 in line
2674 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Updated the tests
2677 2015-03-25 Commit Queue <commit-queue@webkit.org>
2679 Unreviewed, rolling out r181932.
2680 https://bugs.webkit.org/show_bug.cgi?id=143041
2682 The test fails most of the time on bots (Requested by ap on
2687 "[Content Extensions] Add multi-DFA compiling and
2689 https://bugs.webkit.org/show_bug.cgi?id=143010
2690 http://trac.webkit.org/changeset/181932
2692 2015-03-24 Alex Christensen <achristensen@webkit.org>
2694 [Content Extensions] Add multi-DFA compiling and interpreting.
2695 https://bugs.webkit.org/show_bug.cgi?id=143010
2697 Reviewed by Benjamin Poulain.
2699 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2700 (TestWebKitAPI::testRequest):
2701 (TestWebKitAPI::TEST_F):
2702 Add some tests for ignore-previous-rules and large rulesets.
2704 2015-03-24 Benjamin Poulain <bpoulain@apple.com>
2706 Make URL filter patterns matching consistent and add a simple canonicalization step
2707 https://bugs.webkit.org/show_bug.cgi?id=142998
2709 Reviewed by Alex Christensen.
2711 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2713 2015-03-24 Csaba Osztrogonác <ossy@webkit.org>
2715 [EFL] Add OpenWebRTC in jhbuild
2716 https://bugs.webkit.org/show_bug.cgi?id=142778
2718 Reviewed by Gyuyoung Kim.
2720 Original patch by Philippe Normand <pnormand@igalia.com>
2722 * efl/install-dependencies: Dependencies for OpenWebRTC.
2723 * efl/jhbuild.modules: build OpenWebRTC, libusrsctp, libnice and
2724 the openwebrtc gst plugins.
2726 2015-03-23 Brent Fulgham <bfulgham@apple.com>
2728 Regression(r181257): WTF_WorkQueue.Simple is flaky
2729 https://bugs.webkit.org/show_bug.cgi?id=142560
2731 Remove the check that the refCount has returned to one after the
2732 individual tasks have completed. It's too nondeterministic when
2733 the reference count will be reduced.
2735 Reviewed by Alexey Proskuryakov
2737 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
2738 (TestWebKitAPI::TEST): Remove test that refCount is back to 1.
2740 2015-03-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2742 [CMake][EFL] Put failure API test excutables into failure directory
2743 https://bugs.webkit.org/show_bug.cgi?id=142965
2745 Reviewed by Csaba Osztrogonác.
2747 Move failing WK2 API test executables to *bin/TestWebKitAPI/WebKit2/failure* directory.
2749 * TestWebKitAPI/CMakeLists.txt: Fix a typo. Change *testBaseName* with *testName*.
2750 * TestWebKitAPI/PlatformEfl.cmake: Additionally remove unnecessary SHARED_CORE and comment for SeccompFilters test.
2752 2015-03-22 Benjamin Poulain <benjamin@webkit.org>
2754 CSS Selectors: fix attribute case-insensitive matching of Contain and List
2755 https://bugs.webkit.org/show_bug.cgi?id=142932
2757 Reviewed by Darin Adler.
2759 Add tests for the new features and fix some existing tests using the
2760 stringFromUTF8() utility recently added by Dhi.
2762 * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2763 (TestWebKitAPI::stringFromUTF8):
2764 * TestWebKitAPI/Tests/WTF/StringView.cpp:
2766 2015-03-22 Michael Catanzaro <mcatanzaro@igalia.com>
2768 [GTK] install-dependencies should install orc
2769 https://bugs.webkit.org/show_bug.cgi?id=142955
2771 Reviewed by Martin Robinson.
2773 Install orc, needed by openwebrtc
2775 * gtk/install-dependencies:
2777 2015-03-22 Benjamin Poulain <bpoulain@apple.com>
2779 Detect when url filter pattern with groups match the empty string
2780 https://bugs.webkit.org/show_bug.cgi?id=142930
2782 Reviewed by Sam Weinig.
2784 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2786 2015-03-22 Anders Carlsson <andersca@apple.com>
2788 _WKWebsiteDataStore should clear WebSQL databases
2789 https://bugs.webkit.org/show_bug.cgi?id=142947
2791 Reviewed by Sam Weinig.
2793 Add a variable that keeps track of the types of data we want to operate on, for easier debugging.
2795 * MiniBrowser/mac/WK2BrowserWindowController.m:
2796 (-[WK2BrowserWindowController fetchWebsiteData:]):
2797 (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
2798 (-[WK2BrowserWindowController clearWebsiteData:]):
2800 2015-03-20 Mark Hahnenberg <mhahnenb@gmail.com>
2802 GCTimer should know keep track of nested GC phases
2803 https://bugs.webkit.org/show_bug.cgi?id=142675
2805 Reviewed by Darin Adler.
2807 Adds a tool to aid in parsing the GC phase timing output into a
2808 tree-like structure based on the parent-child relationships
2809 of nested GC phases.
2811 * Scripts/parse-gc-phase-timings: Added.
2814 (Timing.__unicode__):
2818 (print_timing_node):
2819 (print_timing_tree):
2823 2015-03-20 Brent Fulgham <bfulgham@apple.com>
2825 [Win] Temporarily turn of EWS Windows tests while I debug the test failure.
2827 * Scripts/webkitpy/common/config/ews.json:
2829 2015-03-20 Philippe Normand <pnormand@igalia.com>
2831 [GTK][jhbuild] Fix flakey failures due to unstable googlecode repository
2832 https://bugs.webkit.org/show_bug.cgi?id=142867
2834 Rubber-stamped by Csaba Osztrogon.
2836 * gtk/jhbuild.modules: Use Ossy's libusrsctp Github fork. Also use
2837 a fixed revision for the openwebrtc-gst-plugins.
2839 2015-03-19 Ryosuke Niwa <rniwa@webkit.org>
2841 Unreviewed build fix. Don't try to report stats for all benchmarks.
2842 Just report the geometric mean of preferred means.
2844 * Scripts/run-jsc-benchmarks:
2846 2015-03-19 Ryosuke Niwa <rniwa@webkit.org>
2848 run-jsc-benchmarks should only report preferred mean
2849 https://bugs.webkit.org/show_bug.cgi?id=142874
2851 Reviewed by Geoffrey Garen.
2853 Just collect statistics for the preferred mean.
2855 * Scripts/run-jsc-benchmarks:
2857 2015-03-19 Alex Christensen <achristensen@webkit.org>
2859 [Content Extensions] Test regular expression parse failures.
2860 https://bugs.webkit.org/show_bug.cgi?id=142872
2862 Reviewed by Benjamin Poulain.
2864 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2865 (TestWebKitAPI::testPatternStatus):
2866 (TestWebKitAPI::TEST_F):
2867 Added tests for each parsing status.
2869 2015-03-19 Alex Christensen <achristensen@webkit.org>
2871 Fix API tests after r181754.
2873 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2874 (TestWebKitAPI::testRequest):
2876 2015-03-19 Brady Eidson <beidson@apple.com>
2878 Part of content extensions should apply css selectors
2879 https://bugs.webkit.org/show_bug.cgi?id=142604
2881 Reviewed by Alex Christensen.
2883 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2884 (WebCore::ContentExtensions::operator<<):
2886 2015-03-19 Brent Fulgham <bfulgham@apple.com>
2888 [Win] Activate tests on EWS
2889 https://bugs.webkit.org/show_bug.cgi?id=142850
2891 Reviewed by Alexey Proskuryakov.
2893 * Scripts/webkitpy/common/config/ews.json: Add me as
2894 the EWS bot watcher, and activate tests.
2896 2015-03-19 Csaba Osztrogonác <ossy@webkit.org>
2898 [GTK] Fix inspector userinterface related incremental build issue
2899 https://bugs.webkit.org/show_bug.cgi?id=142849
2901 Reviewed by Carlos Garcia Campos.
2903 * Scripts/webkitdirs.pm:
2904 (shouldRemoveCMakeCache):
2906 2015-03-18 Alex Christensen <achristensen@webkit.org>
2908 [ContentExtensions] Prepare for compiling stylesheets of selectors to be used on every page.
2909 https://bugs.webkit.org/show_bug.cgi?id=142799
2911 Reviewed by Brady Eidson.
2913 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2914 (TestWebKitAPI::testPattern):
2915 (TestWebKitAPI::TEST_F):
2916 Start testing regex failures.
2918 2015-03-18 Dhi Aurrahman <diorahman@rockybars.com>
2920 Fix StringView typos after r181525 and r181558
2921 https://bugs.webkit.org/show_bug.cgi?id=142772
2923 Reviewed by Darin Adler.
2925 Add some tests in [1] to cover the StringView::startsWith,
2926 StringView::startsWithIgnoringASCIICase, StringView::endsWith and
2927 StringView::endsWithIgnoringASCIICase implementations.
2929 * TestWebKitAPI/Tests/WTF/StringView.cpp:
2930 (TestWebKitAPI::TEST):
2932 2015-03-18 Dana Burkart <dburkart@apple.com>
2934 Remove extraneous import to fix the build.
2938 * Scripts/webkitpy/port/driver.py:
2940 2015-03-18 Dana Burkart <dburkart@apple.com>
2942 ASAN_OPTIONS=allocator_may_return_null=1 needs to be set
2943 https://bugs.webkit.org/show_bug.cgi?id=142547
2945 Reviewed by Alexey Proskuryakov.
2947 * Scripts/webkitpy/port/driver.py:
2948 (Driver._setup_environ_for_driver):
2950 2015-03-18 Alexey Proskuryakov <ap@apple.com>
2952 Tweak how AppleSystemFontOSSubversion default is added
2953 https://bugs.webkit.org/show_bug.cgi?id=142835
2955 Reviewed by Dan Bernstein.
2957 * DumpRenderTree/mac/DumpRenderTree.mm:
2958 (setDefaultsToConsistentValuesForTesting):
2960 2015-03-18 Dan Bernstein <mitz@apple.com>
2962 prepare-ChangeLog doesn't understand C string literals split across multiple lines with \
2963 https://bugs.webkit.org/show_bug.cgi?id=142815
2965 Reviewed by Darin Adler.
2967 * Scripts/prepare-ChangeLog:
2968 (get_function_line_ranges_for_cpp): If the line ends with a backslash instead of a matching
2969 quotation mark, use new variable $quotation_mark to remember what we are looking for, and
2970 keep consuming the quoted text until the matching quotation mark is reached. Emit the
2971 warning only if a line ends without a backslash before the matching quotation mark was found.
2973 2015-03-18 Joseph Pecoraro <pecoraro@apple.com>
2975 Remove unused "preprocessor" parameter to sub-CodeGenerators
2976 https://bugs.webkit.org/show_bug.cgi?id=142793
2978 Reviewed by Darin Adler.
2980 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
2983 2015-03-18 Csaba Osztrogonác <ossy@webkit.org>
2985 [EFL] Bump gstreamer version to 1.4.4
2986 https://bugs.webkit.org/show_bug.cgi?id=142782
2988 Reviewed by Philippe Normand.
2990 * efl/jhbuild.modules:
2991 * efl/patches/gst-libav.patch:
2992 * efl/patches/gst-plugins-bad-remove-gnustep-support.patch: Added.
2993 * efl/patches/gst-prevent-neon-check-in-configure-from-passing-under-aarch64.patch: Removed.
2995 2015-03-17 Tim Horton <timothy_horton@apple.com>
2999 * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
3000 (WTR::InjectedBundle::platformInitialize):
3002 2015-03-17 Dean Jackson <dino@apple.com>
3004 check-webkit-style should allow "bool a : 1"
3005 https://bugs.webkit.org/show_bug.cgi?id=142794
3007 Reviewed by Brent Fulgham.
3009 We should allow member bitfields of the form:
3013 It seems that Visual Studio 8 was the last compiler that
3014 wasn't happy about not using unsigned here. We already have
3015 about 500 cases (in WebCore) where people were ignoring this rule.
3017 * Scripts/webkitpy/style/checkers/cpp.py:
3018 (check_language): Allow "bool".
3019 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add tests.
3020 (CppStyleTest.test_enum_bitfields):
3021 (CppStyleTest.test_plain_integral_bitfields):
3023 2015-03-17 Benjamin Poulain <bpoulain@apple.com>
3025 Compile character ranges targeting the same state as range check in the bytecode
3026 https://bugs.webkit.org/show_bug.cgi?id=142759
3028 Reviewed by Alex Christensen.
3030 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3031 (TestWebKitAPI::TEST_F):
3033 2015-03-17 Youenn Fablet <youenn.fablet@crf.canon.fr>
3035 W3C test parser and converter should use test importer host
3036 https://bugs.webkit.org/show_bug.cgi?id=142729
3038 Reviewed by Bem Jones-Bey.
3040 When instantiated by TestImporter, TestParser and TestConverter are now using the same host.
3041 This enables adding more TestImporter unit testing.
3042 This patch also ensures that the git object instantiated by TestDownloader is using the
3043 same Executive and FileSystem object as TestDownloader, again to enable TestImporter/TestDownloader unit testing.
3045 * Scripts/webkitpy/common/system/filesystem_mock.py:
3046 (MockFileSystem.copytree): Fixes implementation as it creates a runtime error.
3047 * Scripts/webkitpy/w3c/test_downloader.py:
3048 (TestDownloader.git): Set the executive of the git object to the one of TestDownloader. Refactoring in a new git function for future reuse.
3049 (TestDownloader.checkout_test_repository): Making use of the new git function.
3050 * Scripts/webkitpy/w3c/test_importer.py:
3051 (TestImporter.find_importable_tests): Adding host as parameter to the parser.
3052 (TestImporter.import_tests): Adding host as parameter to the converter.
3053 * Scripts/webkitpy/w3c/test_importer_unittest.py:
3054 (TestImporterTest.create_test_download_importer): Creating a test downloader mock, to be reused by other tests.
3056 (TestImporterTest.test_harnesslinks_conversion): Adding test to check that test harness links are converted for CSS tests but not WPT tests.
3057 * Scripts/webkitpy/w3c/test_parser.py:
3058 (TestParser.__init__): Adding host as parameter constructor.
3060 2015-03-17 Carlos Garcia Campos <cgarcia@igalia.com>
3062 [GTK] WebKitDOM objects leaking
3063 https://bugs.webkit.org/show_bug.cgi?id=118788
3065 Reviewed by Darin Adler and Sergio Villar Senin.
3067 Update DOMObjectCache unit test to check that DOM objects are also
3068 released when new contents are loaded in the web view, and the old
3069 document is detached from the frame.
3071 * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
3072 (testWebKitDOMObjectCache):
3073 * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
3076 2015-03-17 Youenn Fablet <youenn.fablet@crf.canon.fr>
3078 W3C test importer default import folder should be LayoutTests/imported/w3c
3079 https://bugs.webkit.org/show_bug.cgi?id=142728
3081 Reviewed by Bem Jones-Bey.
3083 * Scripts/webkitpy/w3c/test_importer.py:
3084 (parse_args): Updating the default destination option value to 'imported/w3c'.
3086 2015-03-17 Philippe Normand <pnormand@igalia.com>
3088 [GTK] basic OpenWebRTC build support
3089 https://bugs.webkit.org/show_bug.cgi?id=142393
3091 Reviewed by Carlos Garcia Campos.
3093 * gtk/jhbuild.modules: Add OpenWebRTC and its dependencies. This
3094 is not the upstream OpenWebRTC repository. This temporary fork
3095 contains a few patches needed by WebKit for audio/video rendering.
3097 2015-03-17 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3099 [CMake][EFL] Build test tools only for developer mode
3100 https://bugs.webkit.org/show_bug.cgi?id=142761
3102 Reviewed by Csaba Osztrogonác.
3104 Do not build EFL MiniBrowser, WebKitTestRunner, and ImageDiff on production mode.
3108 2015-03-17 Joseph Pecoraro <pecoraro@apple.com>
3110 Remove never used "useLayerOnTop" bindings generator argument
3111 https://bugs.webkit.org/show_bug.cgi?id=142773
3113 Reviewed by Darin Adler.
3115 * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
3118 2015-03-16 Ryosuke Niwa <rniwa@webkit.org>
3120 Enable ES6 classes by default
3121 https://bugs.webkit.org/show_bug.cgi?id=142774
3123 Reviewed by Gavin Barraclough.
3125 * Scripts/webkitperl/FeatureList.pm:
3127 2015-03-16 Alexey Proskuryakov <ap@apple.com>
3129 Fix webkitpy tests after r181585.
3131 Looks like "me" cannot be anyone's email, it's a special case.
3133 * Scripts/webkitpy/common/config/contributors.json:
3135 2015-03-16 Alexey Proskuryakov <ap@apple.com>
3137 Add tolerance to WebAudio tests
3138 https://bugs.webkit.org/show_bug.cgi?id=142676
3140 Reviewed by Tim Horton.
3142 * Scripts/webkitpy/common/wavediff.py: Added. Based on Jer Noble's work.
3144 * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
3145 (TestResultWriter.create_audio_diff_and_write_result):
3146 * Scripts/webkitpy/layout_tests/models/test_failures.py:
3147 (FailureAudio.write_failure):
3148 * Scripts/webkitpy/port/base.py:
3149 (Port.do_audio_results_differ):
3150 Diff audio failures.
3152 * Scripts/webkitpy/port/test.py: Added a test for the tolerance, fixed existing
3153 tests to use real parseable WAV data, and got rid of base64, which there didn't
3154 seem to have been any reason for.
3156 2015-03-16 Alexey Proskuryakov <ap@apple.com>
3158 [Mac] fast/forms/text-control-intrinsic-widths.html fails when MS Office is installed
3159 https://bugs.webkit.org/show_bug.cgi?id=142720
3161 Reviewed by Myles C. Maxfield.
3163 Activate system copies of Microsoft fonts for the current process, thus overriding
3164 any other ones that could be preferred by the system otherwise.
3166 * DumpRenderTree/mac/DumpRenderTree.mm:
3167 (activateSystemCoreWebFonts):
3169 * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
3170 (WTR::activateSystemCoreWebFonts):
3171 (WTR::activateFonts):
3173 2015-03-16 Xabier Rodriguez Calvar <calvaris@igalia.com>
3175 Created Streams API watchlist
3176 https://bugs.webkit.org/show_bug.cgi?id=142684
3178 Reviewed by Benjamin Poulain.
3180 * Scripts/webkitpy/common/config/watchlist: Created StreamsAPI
3181 watchlist and added Benjamin, Youenn and me to it.
3183 2015-03-15 Benjamin Poulain <benjamin@webkit.org>
3185 CSS: fix the case-insensitive matching of the attribute selectors Begin, End and Hyphen
3186 https://bugs.webkit.org/show_bug.cgi?id=142715
3188 Reviewed by Brent Fulgham.
3190 * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3191 (TestWebKitAPI::TEST):
3193 2015-03-15 Benjamin Poulain <bpoulain@apple.com>
3195 Change the exact attribute matching to be ASCII case-insensitive
3196 https://bugs.webkit.org/show_bug.cgi?id=142609
3198 Reviewed by Darin Adler.
3200 * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3201 * TestWebKitAPI/Tests/WTF/StringView.cpp:
3203 2015-03-13 Youenn Fablet <youenn.fablet@crf.canon.fr>
3205 WebKit test infrastructure should automate the process of cloning W3C test suite and importing tests from it
3206 https://bugs.webkit.org/show_bug.cgi?id=134764
3208 Reviewed by Ryosuke Niwa.
3210 TestDownloader is introduced to download W3C tests from the official
3211 W3C tests repositories (https://github.com/w3c/web-platform-tests.git
3212 and https://github.com/w3c/csswg-test.git).
3213 TestDownloader clones the repositories and checkouts revisions of the tests
3214 defined in LayoutTests/imported/w3c/resources/TestRepositories.
3216 Similarly to https://codereview.chromium.org/148173016,
3217 TestDownloader copies part of the files based on the rules
3218 defined in LayoutTests/imported/w3c/resources/ImportExpectations.
3220 TestDownloader is used by TestImporter when no source directory is provided.
3222 * Scripts/webkitpy/w3c/test_downloader.py: Added.
3224 (TestDownloader.default_options):
3225 (TestDownloader.load_test_repositories):
3226 (TestDownloader.__init__):
3227 (TestDownloader.checkout_test_repository):
3228 (TestDownloader._init_paths_from_expectations):
3229 (TestDownloader._add_test_suite_paths):
3230 (TestDownloader._empty_directory):
3231 (TestDownloader.copy_tests):
3232 (TestDownloader.download_tests):
3233 * Scripts/webkitpy/w3c/test_importer.py:
3236 (TestImporter.__init__):
3237 (TestImporter.do_import):
3238 (TestImporter.test_downloader):
3239 (TestImporter.find_importable_tests.should_keep_subdir):
3240 (TestImporter.should_convert_test_harness_links):
3241 (TestImporter.import_tests):
3242 (TestImporter.write_import_log):
3244 2015-03-12 Alexey Proskuryakov <ap@apple.com>
3246 [Mavericks] Test snapshots are 1600x1200 on Retina devices
3247 https://bugs.webkit.org/show_bug.cgi?id=142630
3249 Reviewed by Tim Horton.
3251 * WebKitTestRunner/mac/PlatformWebViewMac.mm: (WTR::PlatformWebView::windowSnapshotImage):
3252 Removed an ifdef that disabled the fix on Mavericks.
3254 2015-03-12 Csaba Osztrogonác <ossy@webkit.org>
3256 Remove isWK2 cruft from webkitdirs.pm after r170426
3257 https://bugs.webkit.org/show_bug.cgi?id=142618
3259 Reviewed by Daniel Bates.
3261 * Scripts/webkitdirs.pm:
3264 2015-03-12 Alexey Proskuryakov <ap@apple.com>
3266 testRunner.setAlwaysAcceptCookies does not work with NetworkProcess
3267 https://bugs.webkit.org/show_bug.cgi?id=138687
3269 Reviewed by Carlos Garcia Campos.
3271 Always change cookie policy from UI process, as changing it from WebProcess doesn't
3272 affect other processes.
3274 The implementation is imperfect, because the change happens asynchronously, but I
3275 don't expect it to be a problem in practice.
3277 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3278 (WTR::InjectedBundle::beginTesting):
3279 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3280 (WTR::TestRunner::setAlwaysAcceptCookies):
3281 * WebKitTestRunner/TestInvocation.cpp:
3282 (WTR::TestInvocation::invoke):
3283 (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
3285 2015-03-12 Csaba Osztrogonác <ossy@webkit.org>
3287 [EFL] Enable building EFL 1.13 with NEON support
3288 https://bugs.webkit.org/show_bug.cgi?id=142619
3290 Reviewed by Gyuyoung Kim.
3292 * efl/jhbuild.modules:
3294 2015-03-11 Alex Christensen <achristensen@webkit.org>
3296 [Content Extensions] Add resource type and load type triggers.
3297 https://bugs.webkit.org/show_bug.cgi?id=142422
3299 Reviewed by Benjamin Poulain.
3301 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3302 (TestWebKitAPI::testRequest):
3303 (TestWebKitAPI::mainDocumentRequest):
3304 (TestWebKitAPI::TEST_F):
3305 (TestWebKitAPI::testURL): Deleted.
3307 2015-03-10 Sam Weinig <sam@webkit.org>
3309 Allow adding a button in input elements for auto fill related functionality
3310 <rdar://problem/19782066>
3311 https://bugs.webkit.org/show_bug.cgi?id=142564
3313 Reviewed by Anders Carlsson.
3315 * WebKitTestRunner/TestController.cpp:
3316 (WTR::TestController::createOtherPage):
3317 (WTR::TestController::createWebViewWithOptions):
3318 Update for new callback.
3320 2015-03-11 Benjamin Poulain <bpoulain@apple.com>
3322 Add basic support for BOL and EOL assertions to the URL Filter parser
3323 https://bugs.webkit.org/show_bug.cgi?id=142568
3325 Reviewed by Alex Christensen.
3327 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3328 (TestWebKitAPI::TEST_F):
3330 2015-03-11 Carlos Garcia Campos <cgarcia@igalia.com>
3332 [GTK] Add support for handling TLS errors to MiniBrowser
3333 https://bugs.webkit.org/show_bug.cgi?id=142576
3335 Reviewed by Sergio Villar Senin.
3337 It's useful for testing TLS errors handling itself, but also to
3338 allow ignoring TLS errors when testing.
3340 * MiniBrowser/gtk/BrowserWindow.c:
3341 (webViewLoadFailedWithTLSerrors):
3342 (browserWindowConstructed):
3344 2015-03-11 Myles C. Maxfield <mmaxfield@apple.com>
3346 Use out-of-band messaging for RenderBox::firstLineBaseline() and RenderBox::inlineBlockBaseline()
3347 https://bugs.webkit.org/show_bug.cgi?id=142569
3349 Reviewed by David Hyatt.
3351 Test Optional::valueOrCompute().
3353 * TestWebKitAPI/Tests/WTF/Optional.cpp:
3354 (TestWebKitAPI::TEST):
3356 2015-03-11 Carlos Garcia Campos <cgarcia@igalia.com>
3358 [GTK] Add an option to enable MiniBrowser for non developer builds and always install it
3359 https://bugs.webkit.org/show_bug.cgi?id=126688
3361 Reviewed by Gustavo Noronha Silva.
3363 * CMakeLists.txt: Build testing tools only for developer builds,
3364 but MiniBrowser when ENABLE_MINIBROWSER option is ON.
3365 * MiniBrowser/gtk/CMakeLists.txt: Only add
3366 -DWEBKIT_INJECTED_BUNDLE_PATH to the build for developer builds,
3367 and add a rule to install the MiniBrowser.
3368 * MiniBrowser/gtk/main.c:
3369 (main): Only set WEBKIT_INJECTED_BUNDLE_PATH env var for developer
3372 2015-03-11 Brent Fulgham <bfulgham@apple.com>
3374 Add some DateMath tests to TestWebKitAPI
3375 https://bugs.webkit.org/show_bug.cgi?id=142565
3377 Reviewed by Alexey Proskuryakov.
3379 * TestWebKitAPI/CMakeLists.txt: Add new DateMath.cpp file.
3380 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj: Ditto.
3381 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters: Ditto.
3382 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto."
3383 * TestWebKitAPI/Tests/WTF/DateMath.cpp: Added.
3385 2015-03-10 Brent Fulgham <bfulgham@apple.com>
3387 Regression(r181257): WTF_WorkQueue.Simple is flaky
3388 https://bugs.webkit.org/show_bug.cgi?id=142560
3390 Unreviewed attempt to improve test stability.
3392 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp: Check the reference count for
3393 the WorkQueue a little later to redue flakiness.
3395 2015-03-10 Myles C. Maxfield <mmaxfield@apple.com>
3397 Migrate from SystemUIFontSelect to AppleSystemFontOSSubversion
3398 https://bugs.webkit.org/show_bug.cgi?id=142555
3400 Reviewed by Simon Fraser.
3402 * DumpRenderTree/mac/DumpRenderTree.mm:
3403 (setDefaultsToConsistentValuesForTesting):
3404 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
3405 (WTR::InjectedBundle::platformInitialize):
3407 2015-03-10 Alex Christensen <achristensen@webkit.org>
3409 Use unsigned for HashSet size.
3410 https://bugs.webkit.org/show_bug.cgi?id=142518
3412 Reviewed by Benjamin Poulain.
3414 * TestWebKitAPI/Tests/WTF/HashMap.cpp:
3415 (TestWebKitAPI::TEST):
3416 * TestWebKitAPI/Tests/WTF/HashSet.cpp:
3417 (TestWebKitAPI::testInitialCapacity):
3418 * TestWebKitAPI/Tests/WTF/ListHashSet.cpp:
3419 (TestWebKitAPI::TEST):
3421 2015-03-10 Daniel Bates <dabates@apple.com>
3423 [iOS] Add WebKitSystemInterface for iOS 8.2
3424 https://bugs.webkit.org/show_bug.cgi?id=142505
3426 Rubber-stamped by Anders Carlsson.
3428 Make copy-webkitlibraries-to-product-directory install libWebKitSystemInterfaceIOS{Device, Simulator}8.2.a.
3429 I inadvertently forgot to add libWebKitSystemInterfaceIOS{Device, Simulator}8.2.a to script
3430 copy-webkitlibraries-to-product-directory in r181286.
3432 * Scripts/copy-webkitlibraries-to-product-directory:
3434 2015-03-10 Benjamin Poulain <bpoulain@apple.com>
3436 Extend URL filter's Term definition to support groups/subpatterns
3437 https://bugs.webkit.org/show_bug.cgi?id=142519
3439 Reviewed by Alex Christensen.
3441 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3442 (TestWebKitAPI::testURL):
3444 2015-03-06 Jer Noble <jer.noble@apple.com>
3446 Add an option to run-webkit-tests to override the LayoutTests/ directory
3447 https://bugs.webkit.org/show_bug.cgi?id=142418
3449 Reviewed by David Kilzer.
3451 Add an arugment to run-webkit-tests which, when set, overrides the port's default LayoutTests
3452 directory. The base port will parse the options during initialization and store the override
3453 location if present. layout_tests_dir() will return this overridden location if set.
3455 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3457 * Scripts/webkitpy/port/base.py:
3459 (Port.layout_tests_dir):
3461 2015-03-09 Martin Robinson <mrobinson@igalia.com>
3463 [CMake] Enable WorkQueue tests for CMake ports
3464 https://bugs.webkit.org/show_bug.cgi?id=142473
3466 Reviewed by Darin Adler.
3468 * TestWebKitAPI/CMakeLists.txt: Add the WorkQueue tests source file to
3469 the list of source files.
3470 * Tools/TestWebKitAPI/PlatformEfl.cmake: Add the DispatchQueueEfl directory
3471 to the list of include directories for EFL.
3473 2015-03-09 David Kilzer <ddkilzer@apple.com>
3475 Attempt to fix timeouts on iOS Simulator layout tests
3477 * Scripts/webkitpy/port/ios.py:
3478 (IOSSimulatorPort.setup_test_run): Most layout test runs on iOS
3479 Simulator end after the first 50 tests time out. Some analysis
3480 this past weekend shows that the 'Booted' status in the output
3481 of `xcrun simctl list` is not sufficient (and watching the test
3482 run shows that SpringBoard hasn't fully started to the point
3483 where it's displaying icons on the home screen). The workaround
3484 until we have a better fix is to add an arbitrary timeout to let
3485 SpringBoard finish launching. In practice, 15 seconds is
3486 probably enough, but 30 seconds should nearly always work.
3488 2015-03-09 Per Arne Vollan <peavo@outlook.com>
3490 Unreviewed. Add myself as a committer.
3492 * Scripts/webkitpy/common/config/contributors.json:
3494 2015-03-09 David Kilzer <ddkilzer@apple.com>
3496 Attempt to fix WTF_WorkQueue.TwoQueues timeout test failure
3498 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
3499 (TestWebKitAPI::TEST): Change delay from 50ns to 50ms, and add
3500 an expectation that will fail if we hit the race condition.
3501 This test is inherently racy and will deadlock if the first job
3502 for queue2 takes the mutex lock before the second job for
3505 2015-03-08 Brent Fulgham <bfulgham@apple.com>
3507 [Win] WTF::WorkQueue does not balance ref/deref properly
3508 https://bugs.webkit.org/show_bug.cgi?id=142471
3510 Reviewed by Antti Koivisto.
3512 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
3513 (TestWebKitAPI::TEST): Check that the refcount is correct.
3515 2015-03-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3517 Do not show passing test result on output of EFL layout test
3518 https://bugs.webkit.org/show_bug.cgi?id=142380
3520 Reviewed by Darin Adler.
3522 To show passing tests has caused inconvenience when we detect problem tests
3523 in output of layout test. So this patch applies '--debug-rwt-logging' except for EFL port
3524 in order not to show passing tests in the output of EFL layout test.
3526 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3527 (RunWebKitTests.start):
3529 2015-03-08 Brent Fulgham <bfulgham@apple.com>
3531 Unreviewed build fix.
3533 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
3534 (TestWebKitAPI::TEST): Remove two unused variables.
3536 2015-03-08 Brent Fulgham <bfulgham@apple.com>
3538 Add some WorkQueue tests to TestWebKitAPI
3539 https://bugs.webkit.org/show_bug.cgi?id=142447
3541 Reviewed by Sam Weinig.
3543 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
3544 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
3545 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3546 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp: Added.
3547 (TestWebKitAPI::simpleTest):
3548 (TestWebKitAPI::longTest):
3549 (TestWebKitAPI::thirdTest):
3550 (TestWebKitAPI::finishedTests):
3551 (TestWebKitAPI::TEST):
3552 (TestWebKitAPI::longTest2):
3554 2015-03-08 Carlos Garcia Campos <cgarcia@igalia.com>
3556 Remove willDestroyFrame in WKBundlePageLoaderClient
3557 https://bugs.webkit.org/show_bug.cgi?id=142389
3559 Reviewed by Anders Carlsson.
3561 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3562 (WTR::InjectedBundlePage::InjectedBundlePage):
3564 2015-03-07 Brent Fulgham <bfulgham@apple.com>
3566 [Win] Increase TestWebKitAPI Test Coverage[Win] Increase TestWebKitAPI Test Coverage
3567 https://bugs.webkit.org/show_bug.cgi?id=142433
3569 Reviewed by Darin Adler.
3571 Include more TestWebKitAPI tests when building for Windows. Also
3572 fix a build error in MetaAllocator.cpp caused by one of the
3573 Microsoft headers #defining 'small'.
3575 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
3576 * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
3577 * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp:
3579 2015-03-06 Sam Weinig <sam@webkit.org>
3581 [Content Extensions] Move compiling of content extensions to the UIProcess
3582 https://bugs.webkit.org/show_bug.cgi?id=142402
3584 Reviewed by Benjamin Poulain.
3586 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3587 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp: Copied from Tools/TestWebKitAPI/Tests/WebCore/ContentFilter.cpp.
3588 (TestWebKitAPI::InMemoryCompiledContentExtension::create):
3589 (TestWebKitAPI::InMemoryCompiledContentExtension::~InMemoryCompiledContentExtension):
3590 (TestWebKitAPI::InMemoryCompiledContentExtension::InMemoryCompiledContentExtension):
3591 (TestWebKitAPI::TEST_F):
3592 * TestWebKitAPI/Tests/WebCore/ContentFilter.cpp: Removed.
3593 Update test for new name (ContentFilter -> ContentExtensions) and API (CompiledContentExtension
3596 2015-03-06 Brent Fulgham <bfulgham@apple.com>
3598 [Win] Correct Windows build.
3600 Rubberstamped by Michael Saboff
3602 * win/AssembleBuildLogs/AssembleLogs.cmd: Correct cut/paste error
3605 2015-03-06 Carlos Garcia Campos <cgarcia@igalia.com>
3607 [GTK] Test /webkit2/WebKitWebView/sync-request-on-max-conns might fail after finished
3608 https://bugs.webkit.org/show_bug.cgi?id=142385
3610 Reviewed by Sergio Villar Senin.
3612 Use stack allocated GMainLoopSources to make sure they are
3613 cancelled automatically if the test finishes before they have
3616 * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
3617 (testWebViewSyncRequestOnMaxConns):
3619 2015-03-06 Csaba Osztrogonác <ossy@webkit.org>
3621 Remove Mountain Lion libraries since ML isn't supported
3622 https://bugs.webkit.org/show_bug.cgi?id=142332
3624 Reviewed by Darin Adler.
3626 * Scripts/copy-webkitlibraries-to-product-directory:
3628 2015-03-06 Carlos Alberto Lopez Perez <clopez@igalia.com> and Youenn Fablet <youenn.fablet@crf.canon.fr>
3630 Layout tests imported/w3c/web-platform-tests certificates should not be tracked on WebKit VCS
3631 https://bugs.webkit.org/show_bug.cgi?id=142083
3633 Reviewed by Simon Fraser.
3635 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.
3637 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3638 (WebPlatformTestServer._copy_webkit_test_files):
3640 2015-03-06 Csaba Osztrogonác <ossy@webkit.org>
3642 setup-git-clone fails due to the failure to download python-irclib-0.4.8
3643 https://bugs.webkit.org/show_bug.cgi?id=141946
3645 Reviewed by Ryosuke Niwa.
3647 Check in ircbot.py and irclib.py to avoid network problems in the future.
3649 * Scripts/webkitpy/common/net/irc/ircbot.py:
3650 * Scripts/webkitpy/thirdparty/__init__.py:
3651 (AutoinstallImportHook.find_module):
3652 (AutoinstallImportHook._install_irc): Deleted.
3653 * Scripts/webkitpy/thirdparty/__init___unittest.py:
3654 (ThirdpartyTest.test_imports):
3655 * Scripts/webkitpy/thirdparty/irc/__init__.py: Added.
3656 * Scripts/webkitpy/thirdparty/irc/ircbot.py: Added.
3657 * Scripts/webkitpy/thirdparty/irc/irclib.py: Added.
3659 2015-03-06 David Kilzer <ddkilzer@apple.com>
3661 Dashboard: Perf bot status is missing for Apple {Mavericks,Yosemite} Release builds
3663 See also fix to config.json in r181097.
3665 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
3666 (WebKitBuildbot): Add missing "WK2" to the names of the perf
3669 2015-03-06 Csaba Osztrogonác <ossy@webkit.org>
3671 run-jsc-stress-tests should determine the architecture from ELF binaries
3672 https://bugs.webkit.org/show_bug.cgi?id=142335
3674 Reviewed by Darin Adler.
3676 * Scripts/run-jsc-stress-tests:
3678 2015-03-05 David Kilzer <ddkilzer@apple.com>
3680 [iOS] TestExpectations for ios-simulator-wk2 should fall back to 'wk2' after 'ios-simulator'
3681 <http://webkit.org/b/142226>
3683 Reviewed by Darin Adler.
3685 * Scripts/webkitpy/port/ios.py:
3686 (IOSSimulatorPort.default_baseline_search_path): Switch the
3687 TestExpectations order of ios-simulator-wk2 from this:
3688 ios-simulator-wk2, wk2, ios-simulator
3690 ios-simulator-wk2, ios-simualtor, wk2
3692 2015-03-05 Brent Fulgham <bfulgham@apple.com>