26c6053b34beb9e988a68a07be79b90b78acebdb
[WebKit-https.git] / Tools / ChangeLog
1 2015-05-12  Ryosuke Niwa  <rniwa@webkit.org>
2
3         Fix the previous commit, which made both bubbles green.
4
5         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/StatusLineView.css:
6         (.status-line.good .bubble):
7         (.status-line.bad .bubble):
8         (.status-line.good .message):
9
10 2015-05-12  Ryosuke Niwa  <rniwa@webkit.org>
11
12         People with Deuteranopia can't tell red and green apart on bot watcher's dashboard
13         https://bugs.webkit.org/show_bug.cgi?id=144929
14
15         Reviewed by Eric Carlson.
16
17         Tweaked colors as I see fit.
18
19         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/StatusLineView.css:
20         (.status-line.good .bubble):
21         (.status-line.bad .bubble):
22
23 2015-05-11  Alexey Proskuryakov  <ap@apple.com>
24
25         [Mac] Share cookie storage between UI process and secondary processes
26         https://bugs.webkit.org/show_bug.cgi?id=144820
27         rdar://problem/20572830
28
29         Reviewed by Darin Adler.
30
31         * WebKitTestRunner/TestController.cpp: (WTR::TestController::initialize):
32         Don't set cookie storage directory, as it's a no-op, we use an ephemeral session
33         for testing.
34
35 2015-05-12  Jake Nielsen  <jacob_nielsen@apple.com>
36
37         Fix internal build configuration issues
38         https://bugs.webkit.org/show_bug.cgi?id=144762
39
40         Reviewed by David Kilzer.
41
42         Modifies DumpRenderTree's xcconfig files to use SDK selectors.
43
44         * DumpRenderTree/mac/Configurations/Base.xcconfig:
45         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
46         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
47         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
48         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig:
49         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
50         * DumpRenderTree/mac/Configurations/LayoutTestHelper.xcconfig:
51         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig:
52
53 2015-05-12  David Kilzer  <ddkilzer@apple.com>
54
55         Switch to launching iOS Simulator using bundle ID
56         <rdar://problem/20916096>
57
58         This is required to fix the layout tests on internal bots.
59
60         * Scripts/webkitdirs.pm:
61         (relaunchIOSSimulator): Switch to use bundle ID to launch iOS
62         Simulator.  Add FIXME.
63         (quitIOSSimulator): Add FIXME.
64         * Scripts/webkitpy/port/ios.py:
65         (IOSSimulatorPort.setup_test_run): Switch to use bundle ID to
66         launch iOS Simulator.  Add FIXME.
67         (IOSSimulatorPort.check_sys_deps): Add FIXME.
68
69 2015-05-12  Per Arne Vollan  <peavo@outlook.com>
70
71         Fix run-javascriptcore-tests step on the WinCairo bot
72         https://bugs.webkit.org/show_bug.cgi?id=144866
73
74         Reviewed by Csaba Osztrogonác.
75
76         Catch exception when failing to create soft link, so we can fall back to copy.
77
78         * Scripts/run-jsc-stress-tests:
79
80 2015-05-12  Joanmarie Diggs  <jdiggs@igalia.com>
81
82         [GTK][WK2] rowAtIndex is not implemented in DRT/WKTR
83         https://bugs.webkit.org/show_bug.cgi?id=116971
84
85         Reviewed by Chris Fleizach.
86
87         Implement rowAtIndex for ATK.
88
89         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
90         (WTR::AccessibilityUIElement::rowAtIndex):
91
92 2015-05-11  Dan Bernstein  <mitz@apple.com>
93
94         Test for <rdar://problem/20878075> Trying to navigate to an invalid URL loads about:blank, but -[WKWebView URL] returns the invalid URL
95
96         Reviewed by Alexey Proskuryakov.
97
98         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
99         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadAlternateHTMLString.mm: Fixed copyright header.
100         * TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLChange.mm: Added.
101         (-[ProvisionalURLChangeController webView:didFinishNavigation:]):
102
103 2015-05-11  Jake Nielsen  <jacob_nielsen@apple.com>
104
105         Fix internal build configuration issues
106         https://bugs.webkit.org/show_bug.cgi?id=144762
107
108         Reviewed by Darin Adler.
109
110         Modifies TestWebKitAPI and WebKitTestRunner's xcconfig files to use SDK selectors.
111
112         * TestWebKitAPI/Configurations/Base.xcconfig:
113         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
114         * TestWebKitAPI/Configurations/InjectedBundle.xcconfig:
115         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
116         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
117         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
118         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
119
120 2015-05-11  Brent Fulgham  <bfulgham@apple.com>
121
122         [Win] Move Windows build target to Windows 7 (or newer)
123         https://bugs.webkit.org/show_bug.cgi?id=144890
124         <rdar://problem/20707307>
125
126         Reviewed by Anders Carlsson.
127
128         Update linked SDK and minimal Windows level to be compatible with
129         Windows 7 or newer.
130
131         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
132         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
133         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj:
134         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj:
135         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
136         * DumpRenderTree/config.h:
137         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
138         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj:
139         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
140         * WinLauncher/stdafx.h:
141
142 2015-05-11  Commit Queue  <commit-queue@webkit.org>
143
144         Unreviewed, rolling out r184119.
145         https://bugs.webkit.org/show_bug.cgi?id=144888
146
147         broke JSC tests on Apple Windows bots (Requested by kling on
148         #webkit).
149
150         Reverted changeset:
151
152         "Fix run-javascriptcore-tests step on the WinCairo bot"
153         https://bugs.webkit.org/show_bug.cgi?id=144866
154         http://trac.webkit.org/changeset/184119
155
156 2015-05-11  Ryosuke Niwa  <rniwa@webkit.org>
157
158         run-benchmark should support Dromaeo
159         https://bugs.webkit.org/show_bug.cgi?id=144849
160
161         Reviewed by Chris Dumez.
162
163         Added the benchmark plans for Dromaeo DOM tests. We only run these tests once since
164         they can take as much as 15 minutes to run each.
165
166         * Scripts/webkitpy/benchmark_runner/data/patches/Dromaeo.patch: Added.
167         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-cssquery.plan: Added.
168         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-dom.plan: Added.
169         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-jslib.plan: Added.
170
171 2015-05-11  Ryosuke Niwa  <rniwa@webkit.org>
172
173         Build fix. jetstream has a local copy, not remote archive.
174
175         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan:
176
177 2015-05-11  Ryosuke Niwa  <rniwa@webkit.org>
178
179         run-benchmark should support SunSpider, Kraken and Octane
180         https://bugs.webkit.org/show_bug.cgi?id=144840
181
182         Reviewed by Darin Adler.
183
184         Added the support for SunSpider, Kraken, and Octane. Because of the licensing issues, we can't commit the
185         Kraken source code into the WebKit repository as done for other benchmarks. Instead, we'll dynamically
186         download it from the remote server using newly added RemoteZipBenchmarkBuilder. We do the same for Octane
187         for simplicity. Use newly added --local-copy option to specify the location of a local copy if there is any.
188
189         Renamed "original_benchmark in the plan file to "local_copy" and added a new optional "remote_archive" to
190         specify the URL to a remote ZIP file. This optional field is used by Kraken and Octane benchmark plans.
191
192         In addition, generalized the ability to run a "create script" in JetStreamBenchmarkBuilder since it's also
193         needed for SunSpider and Kraken. This feature has now been folded into GenericBenchmarkBuilder.
194
195         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Added
196         RemoteZipBenchmarkBuilder for Kraken and removed JetStreamBenchmarkBuilder since GenericBenchmarkBuilder
197         now has the ability to run an arbitrary "create script".
198
199         * Scripts/run-benchmark:
200         (main): Added an optional argument, --local-copy, to override the location of the benchmark's local copy.
201         This also overrides the remote archive URL specified in the plan.
202
203         * Scripts/webkitpy/benchmark_runner/README.md: Updated the description.
204
205         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Deleted the entry for
206         JetStreamBenchmarkBuilder.
207
208         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py: 
209         (GenericBenchmarkBuilder.prepare): Call _fetchRemoteArchive if local_copy is not specified in the plan or
210         by --local-copy option but remote_archive is specified. Also call self.clean() here instead of relying on
211         _runCreateScript and _applyPatch to clean after themselves.
212         (GenericBenchmarkBuilder._runCreateScript): Moved from JetStreamBenchmarkBuilder._runCreateScript since
213         JetStream, SunSpider, Kraken all use this feature.
214         (GenericBenchmarkBuilder._copyBenchmarkToTempDir): Use self.name as the destination location instead of
215         the leaf directory name since the latter is not available when a remote ZIP file is used.
216         (GenericBenchmarkBuilder._fetchRemoteArchive): Added.
217         (GenericBenchmarkBuilder._applyPatch): Apply the patch inside destination directory to avoid hard coding
218         the benchmark name in the patches.
219
220         * Scripts/webkitpy/benchmark_runner/benchmark_builder/jetstream_benchmark_builder.py: Removed.
221
222         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
223         (BenchmarkRunner.__init__): Set self.planName. Also override 'local_copy' when --local-copy option is used.
224         (BenchmarkRunner.execute): Exit early if neither local_copy nor remote_archive is specified. Prefix the URL
225         the browser opens by planName as the plan file no longer contains that.
226
227         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Changed the path to be relative against
228         the top directory of JetStream instead of its parent.
229         * Scripts/webkitpy/benchmark_runner/data/patches/Kraken.patch: Added.
230         * Scripts/webkitpy/benchmark_runner/data/patches/Octane.patch: Added.
231         * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Changed the path to be relative against
232         the top directory of JetStream instead of its parent.
233         * Scripts/webkitpy/benchmark_runner/data/patches/SunSpider.patch: Added.
234         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Uses GenericBenchmarkBuilder and specifies
235         the script to run. The entry point was changed to the relative path from the top directory of JetStream as
236         done in JetStream.patch.
237         * Scripts/webkitpy/benchmark_runner/data/plans/kraken.plan: Added.
238         * Scripts/webkitpy/benchmark_runner/data/plans/octane.plan: Added.
239         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: The entry point was changed to the relative
240         path from the top directory of JetStream as done in JetStream.patch.
241         * Scripts/webkitpy/benchmark_runner/data/plans/sunspider.plan: Added.
242
243 2015-05-11  Csaba Osztrogonác  <ossy@webkit.org>
244
245         Fix run-javascriptcore-tests step on the WinCairo bot
246         https://bugs.webkit.org/show_bug.cgi?id=144866
247
248         Reviewed by Darin Adler.
249
250         * Scripts/run-jsc-stress-tests:
251
252 2015-05-11  Alex Christensen  <achristensen@webkit.org>
253
254         [Content Extensions] Support domain-specific rules and exceptions.
255         https://bugs.webkit.org/show_bug.cgi?id=144833
256
257         Reviewed by Darin Adler.
258
259         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
260         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
261         (TestWebKitAPI::InMemoryCompiledContentExtension::create):
262         (TestWebKitAPI::InMemoryCompiledContentExtension::InMemoryCompiledContentExtension):
263         Moved CompiledContentExtensionData from ContentExtensionCompiler.h because it is only used for testing.
264         (TestWebKitAPI::mainDocumentRequest):
265         (TestWebKitAPI::subResourceRequest):
266         (TestWebKitAPI::TEST_F):
267         (TestWebKitAPI::checkCompilerError):
268         Added tests for parsing and functionality of if-domain and unless-domain.
269
270 2015-05-11  Ryosuke Niwa  <rniwa@webkit.org>
271
272         run-benchmark should support Chrome Canary and Firefox Nightly
273         https://bugs.webkit.org/show_bug.cgi?id=144850
274
275         Reviewed by Darin Adler.
276
277         Added the support for Chrome Canary, Firefox (release), and Firefox Nightly.
278
279         This patch also extracts OSXBrowserDriver to launch and terminate processes on OS X.
280
281         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_drivers.json:
282         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py: Added.
283         (OSXBrowserDriver):
284         (OSXBrowserDriver.prepareEnv): Extracted from ChromeBrowserDriver.prepareEnv.
285         (OSXBrowserDriver.closeBrowsers): Ditto.
286         (OSXBrowserDriver.launchProcess): Ditto.
287         (OSXBrowserDriver.terminateProcesses): Ditto.
288         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
289         (OSXChromeDriver): Removed the unused self.chromePreferences.
290         (OSXChromeDriver.prepareEnv): Moved to OSXBrowserDriver.
291         (OSXChromeDriver.closeBrowsers): Ditto.
292         (OSXChromeDriver.launchUrl):
293         (OSXChromeCanaryDriver): Added.
294         (OSXChromeCanaryDriver.launchUrl):
295         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py: Added.
296         (OSXFirefoxDriver): Added.
297         (OSXFirefoxDriver.launchUrl):
298         (OSXFirefoxNightlyDriver): Added.
299         (OSXFirefoxNightlyDriver.launchUrl):
300         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
301         (OSXSafariDriver):
302         (OSXSafariDriver.closeBrowsers):
303
304 2015-05-11  Tim Horton  <timothy_horton@apple.com>
305
306         Page overlay action context override should indicate the source of the request
307         https://bugs.webkit.org/show_bug.cgi?id=144832
308         <rdar://problem/20562594>
309
310         Reviewed by Darin Adler.
311
312         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenusBundle.mm:
313         (TestWebKitAPI::ActionMenuTest::actionContextForResultAtPoint):
314
315 2015-05-10  Martin Robinson  <mrobinson@igalia.com>
316
317         [GTK] fast/events/page-visibility-transition-test.html is timing out
318         https://bugs.webkit.org/show_bug.cgi?id=114789
319
320         Reviewed by Darin Adler.
321
322         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
323         (WTR::TestController::setHidden): Map and unmap the WebView when the harness
324         requests visibility changes.
325
326 2015-05-10  Csaba Osztrogonác  <ossy@webkit.org>
327
328         [EFL] Fix install-dependencies on Ubuntu 14.10/15.04
329         https://bugs.webkit.org/show_bug.cgi?id=144798
330
331         Reviewed by Darin Adler.
332
333         * efl/install-dependencies:
334
335 2015-05-09  Ryosuke Niwa  <rniwa@webkit.org>
336
337         Make arguments of run-benchmark more user friendly
338         https://bugs.webkit.org/show_bug.cgi?id=144835
339
340         Reviewed by Darin Adler.
341
342         Made --build-directory optional since I don't expect a typical WebKit developer to have a local build
343         of Chrome and Firefox. Also made --plan accept just a filename so that we can just say "speedometer"
344         instead of "Tools/Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan". Finally, removed
345         default values from --platform and --browser as they are required arguments.
346
347         * Scripts/run-benchmark:
348         (main): Made --build-directory optional, and removed default values from --platform and --browser.
349         Also added help text for --build-directory and --plan. In addition, the list of platforms and browsers
350         are not dynamically obtained via BrowserDriverFactory.
351         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
352         (BenchmarkRunner.__init__): Raise when we can't find the plan file or the plan file is not a valid JSON
353         file instead of suppressing the error here and blowing up later mysteriously since we won't be able to
354         run any benchmark in that case.
355         (BenchmarkRunner._findPlanFile): Added. Look for the plan in webkitpy/benchmark_runner/data/plans if
356         the specified file isn't a valid relative or an absolute path.
357         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
358         (BrowserDriverFactory.available_platforms): Added. Used in main to provide the list of valid platforms
359         and browsers.
360         (BrowserDriverFactory.available_browsers): Ditto.
361         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
362         (OSXChromeDriver.launchUrl): browserBuildPath is never optional since BenchmarkRunner.execute always
363         calls launchUrl with this argument so removed the default value. Also added a fallback path for when
364         browserBuildPath was None.
365         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
366         (OSXSafariDriver.launchUrl): Ditto. We also fallback when the build directory doesn't contain Safari
367         so that we can use locally built WebKit to launch Safari.
368
369 2015-05-09  Yoav Weiss  <yoav@yoav.ws>
370
371         Remove the PICTURE_SIZES build flag
372         https://bugs.webkit.org/show_bug.cgi?id=144679
373
374         Reviewed by Benjamin Poulain.
375
376         Removed the PICTURE_SIZES build time flag.
377
378         * Scripts/webkitperl/FeatureList.pm:
379
380 2015-05-09  David Kilzer  <ddkilzer@apple.com>
381
382         Layout tests broke due to unexpected simctl output
383
384         * Scripts/webkitpy/xcode/simulator.py:
385         (Simulator._parse_devices): Handle new Device Pairs header.
386         * Scripts/webkitpy/xcode/simulator_unittest.py:
387         (test_device_pairs): Add unit test for Device Pairs header.
388
389 2015-05-08  Myles C. Maxfield  <mmaxfield@apple.com>
390
391         Remove convenience constructors for TextRun
392         https://bugs.webkit.org/show_bug.cgi?id=144752
393
394         Reviewed by Anders Carlsson.
395
396         Test the StringView which takes a StringImpl*.
397
398         * TestWebKitAPI/Tests/WTF/StringView.cpp:
399         (StringView8Bit): Testing is8Bit() on StringView
400
401 2015-05-07  Sam Weinig  <sam@webkit.org>
402
403         [Content Extensions] Add simple tester that takes an extension and compiles it
404         https://bugs.webkit.org/show_bug.cgi?id=144781
405
406         Reviewed by Dan Bates.
407
408         * ContentExtensionTester: Added.
409         * ContentExtensionTester/Configurations: Added.
410         * ContentExtensionTester/Configurations/Base.xcconfig: Copied from Source/bmalloc/Configurations/Base.xcconfig.
411         * ContentExtensionTester/Configurations/ContentExtensionTester.xcconfig: Copied from Source/bmalloc/Configurations/bmalloc.xcconfig.
412         * ContentExtensionTester/Configurations/DebugRelease.xcconfig: Copied from Source/bmalloc/Configurations/DebugRelease.xcconfig.
413         * ContentExtensionTester/ContentExtensionTester.xcodeproj: Added.
414         * ContentExtensionTester/ContentExtensionTester.xcodeproj/project.pbxproj: Added.
415         * ContentExtensionTester/Makefile: Copied from Tools/TestWebKitAPI/Makefile.
416         * ContentExtensionTester/main.m: Added.
417         * Scripts/run-content-extension-tester: Copied from Tools/Scripts/run-webkit-tests.
418
419 2015-05-08  Alexey Proskuryakov  <ap@apple.com>
420
421         Build fix.
422
423         Reviewed by Dan Bernstein.
424
425         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h:
426         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
427         (-[DumpRenderTreeDraggingInfo springLoadingHighlight]):
428         (-[DumpRenderTreeDraggingInfo resetSpringLoading]):
429         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h:
430         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm:
431         (-[WebKitTestRunnerDraggingInfo springLoadingHighlight]):
432         (-[WebKitTestRunnerDraggingInfo resetSpringLoading]):
433
434 2015-05-08  Martin Robinson  <mrobinson@igalia.com>
435
436         [GTK] Some tests fail because they do not assume the popup menu captures click events
437         https://bugs.webkit.org/show_bug.cgi?id=40601
438
439         Reviewed by Carlos Garcia Campos.
440
441         Popdown all attached menus when moving between tests and between each new
442         event sent to the WebView. This prevents context and popup menus from eating
443         events.
444
445         * WebKitTestRunner/PlatformWebView.h: Added a helper method to do menu popdown.
446         * WebKitTestRunner/TestController.cpp: Add a specialization of these methods for GTK+.
447         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
448         (WTR::dispatchEvent): Popdown all menus between dispatching events.
449         (WTR::EventSenderProxy::replaySavedEvents): Pass the view when dispatching events.
450         (WTR::EventSenderProxy::sendOrQueueEvent): Pass the view when dispatching events.
451         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
452         (WTR::PlatformWebView::hideAllPopupMenus): Added this helper.
453         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
454         (WTR::TestController::platformConfigureViewForTest): Added this stub, which is no
455         longer in the platform-independent file.
456         (WTR::TestController::platformResetPreferencesToConsistentValues): Popdown menus.
457
458 015-05-08  Michael Catanzaro  <mcatanzaro@igalia.com>, Martin Robinson <mrobinson@igalia.com>
459
460         [GTK] Checks for DEVELOPMENT_BUILD are all wrong
461         https://bugs.webkit.org/show_bug.cgi?id=144746
462
463         Reviewed by Carlos Garcia Campos.
464
465         Use ENABLE_DEVELOPER_MODE rather than DEVELOPMENT_BUILD.
466
467         * MiniBrowser/gtk/main.c:
468         (main):
469
470 2015-05-08  Commit Queue  <commit-queue@webkit.org>
471
472         Unreviewed, rolling out r183996.
473         https://bugs.webkit.org/show_bug.cgi?id=144806
474
475         ASan detected use-after free (Requested by ap on #webkit).
476
477         Reverted changeset:
478
479         "Remove convenience constructors for TextRun"
480         https://bugs.webkit.org/show_bug.cgi?id=144752
481         http://trac.webkit.org/changeset/183996
482
483 2015-05-08  Myles C. Maxfield  <mmaxfield@apple.com>
484
485         Remove convenience constructors for TextRun
486         https://bugs.webkit.org/show_bug.cgi?id=144752
487
488         Reviewed by Anders Carlsson.
489
490         Test the StringView which takes a StringImpl*.
491
492         * TestWebKitAPI/Tests/WTF/StringView.cpp:
493         (StringView8Bit): Testing is8Bit() on StringView
494
495 2015-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
496
497         [GTK] WTR doesn't correctly handle the Escape key
498         https://bugs.webkit.org/show_bug.cgi?id=144788
499
500         Reviewed by Martin Robinson.
501
502         Correctly handle 0x001B character code in GTK+ event sender to be
503         recognized as Escape key, because gdk_unicode_to_keyval() doesn't
504         handle it. This fixes layout tests using keyDown(String.fromCharCode(0x001B), null);
505         to dismiss popup menus.
506
507         Fixes editing/selection/5354455-1.html.
508
509         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
510         (WTR::getGDKKeySymForKeyRef):
511
512 2015-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
513
514         [GTK] Expose allowFileAccessFromFileURLs setting to WebKit2 GTK+ API
515         https://bugs.webkit.org/show_bug.cgi?id=144748
516
517         Reviewed by Sergio Villar Senin.
518
519         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
520         (testWebKitSettings): Check the new setting is correctly
521         initialized and updated.
522         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
523         (testWebContextSecurityFileXHR): Check XHR to local files is
524         allowed from file URLs after changing the setting.
525         (beforeAll): Add new test.
526
527 2015-05-08  Commit Queue  <commit-queue@webkit.org>
528
529         Unreviewed, rolling out r183945.
530         https://bugs.webkit.org/show_bug.cgi?id=144789
531
532         "It broke all the GTK+ tests" (Requested by KaL on #webkit).
533
534         Reverted changeset:
535
536         "[GTK] Checks for DEVELOPMENT_BUILD are all wrong"
537         https://bugs.webkit.org/show_bug.cgi?id=144746
538         http://trac.webkit.org/changeset/183945
539
540 2015-05-07  Anders Carlsson  <andersca@apple.com>
541
542         Build fixes.
543
544         * TestWebKitAPI/Tests/mac/HTMLCollectionNamedItem.mm:
545         (TestWebKitAPI::TEST):
546         * TestWebKitAPI/Tests/mac/HTMLFormCollectionNamedItem.mm:
547         (TestWebKitAPI::TEST):
548         Add casts.
549
550 2015-05-07  Filip Pizlo  <fpizlo@apple.com>
551
552         GC has trouble with pathologically large array allocations
553         https://bugs.webkit.org/show_bug.cgi?id=144609
554
555         Reviewed by Geoffrey Garen.
556         
557         Add a --filter option that restricts the set of tests we run. I needed it to fix this bug
558         and it's a frequently requested feature.
559         
560         Also add the ability to run a test pretending that your system has a particular RAM size.
561         This is useful for GC tests, and the new GC test that I added uses this.
562
563         * Scripts/run-javascriptcore-tests:
564         (runJSCStressTests):
565         * Scripts/run-jsc-stress-tests:
566
567 2015-05-07  Csaba Osztrogonác  <ossy@webkit.org>
568
569         [EFL] Bump EFL version to 1.14.0
570         https://bugs.webkit.org/show_bug.cgi?id=144743
571
572         Reviewed by Darin Adler.
573
574         Bump EFL and elementary version to 1.14.0 and removed
575         md5sum, because it isn't used at all if hash is present.
576
577         * efl/jhbuild.modules:
578
579 2015-05-07  Saam Barati  <saambarati1@gmail.com>
580
581         exceptionFuzz tests should explicitly initialize the exceptionFuzz boolean in JavaScript code through a function in jsc.cpp
582         https://bugs.webkit.org/show_bug.cgi?id=144753
583
584         Reviewed by Mark Lam.
585
586         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
587
588 2015-05-07  Beth Dakin  <bdakin@apple.com>
589
590         New force-related DOM events should fire in WK1 views
591         https://bugs.webkit.org/show_bug.cgi?id=144663
592         -and corresponding-
593         rdar://problem/20281886
594
595         Reviewed by Sam Weinig.
596
597         PlatformEventFactory::createPlatformMouseEvent() takes the last pressure event 
598         now. Just send nil. 
599         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
600         (TestWebKitAPI::buildAndPerformTest):
601
602 2015-05-07  Michael Catanzaro  <mcatanzaro@igalia.com>
603
604         [GTK] Checks for DEVELOPMENT_BUILD are all wrong
605         https://bugs.webkit.org/show_bug.cgi?id=144746
606
607         Reviewed by Martin Robinson.
608
609         Use DEVELOPER_MODE rather than DEVELOPMENT_BUILD.
610
611         * MiniBrowser/gtk/main.c:
612         (main):
613
614 2015-05-05  Myles C. Maxfield  <mmaxfield@apple.com>
615
616         Revert "Introducing the Platform Abstraction Layer (PAL)"
617         https://bugs.webkit.org/show_bug.cgi?id=144751
618
619         Unreviewed.
620
621         PAL should be a new target inside WebCore, rather than a top-level folder.
622
623         * Scripts/build-webkit: Add it to build-webkit.
624
625 2015-05-07  Ada Chan  <adachan@apple.com>
626
627         Add a test for WKPageCopySessionState() with filtering.
628         https://bugs.webkit.org/show_bug.cgi?id=144666
629
630         Reviewed by Darin Adler.
631
632         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
633         * TestWebKitAPI/Tests/WebKit2/WKPageCopySessionStateWithFiltering.cpp: Added.
634         (TestWebKitAPI::didFinishLoadForFrame):
635         (TestWebKitAPI::setPageLoaderClient):
636         (TestWebKitAPI::filterFirstItemCallback):
637         (TestWebKitAPI::filterAllItemsCallback):
638         (TestWebKitAPI::createSessionStates):
639         (TestWebKitAPI::TEST):
640
641 2015-05-06  Alexey Proskuryakov  <ap@apple.com>
642
643         iOS build fix attempt
644
645         Link WebKitTestRunnerApp to WebKit, now that we don't have WebKit2.
646
647         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
648
649 2015-05-06  Matt Baker  <mattbaker@apple.com>
650
651         Unreviewed, updated my list of email addresses.
652
653         * Scripts/webkitpy/common/config/contributors.json:
654
655 2015-05-06  Alexey Proskuryakov  <ap@apple.com>
656
657         Do not link tools to WebKit2.framework
658         https://bugs.webkit.org/show_bug.cgi?id=144699
659
660         Unreviewed build fix.
661
662         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
663         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
664         These linked to WebKit2 in two ways, eliminating the other one.
665
666 2015-05-05  Myles C. Maxfield  <mmaxfield@apple.com>
667
668         Introducing the Platform Abstraction Layer (PAL)
669         https://bugs.webkit.org/show_bug.cgi?id=143358
670
671         Reviewed by Simon Fraser.
672
673         * Scripts/build-webkit: Add it to build-webkit.
674
675 2015-05-06  Alex Christensen  <achristensen@webkit.org>
676
677         Fix api tests after r183877.
678
679         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
680         (TestWebKitAPI::TEST_F):
681         Generate all DFAs before compiling them.
682
683 2015-05-06  Alexey Proskuryakov  <ap@apple.com>
684
685         Do not link tools to WebKit2.framework
686         https://bugs.webkit.org/show_bug.cgi?id=144699
687
688         Reviewed by Tim Horton.
689
690         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
691         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
692         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
693
694 2015-05-06  Alex Christensen  <achristensen@webkit.org>
695
696         [Content Extensions] Test splitting NFAs by max NFA size.
697         https://bugs.webkit.org/show_bug.cgi?id=144659
698
699         Reviewed by Darin Adler.
700
701         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
702         (TestWebKitAPI::createNFAs):
703         (TestWebKitAPI::TEST_F):
704         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
705         (TestWebKitAPI::createNFAs):
706
707 2015-05-05  daegyu lee  <daegyu.lee@navercorp.com>
708
709         Remove the remaining vestiges of SVG feature define
710         https://bugs.webkit.org/show_bug.cgi?id=144655
711
712         Reviewed by Alexey Proskuryakov.
713
714         * Scripts/webkitperl/FeatureList.pm:
715
716 2015-05-05  Timothy Horton  <timothy_horton@apple.com>
717
718         Add a layout mode for computing fixed layout size from a minimum size
719         https://bugs.webkit.org/show_bug.cgi?id=144610
720         <rdar://problem/19790341>
721
722         Reviewed by Simon Fraser.
723
724         * MiniBrowser/mac/BrowserWindow.xib:
725         * MiniBrowser/mac/BrowserWindowController.h:
726         * MiniBrowser/mac/WK1BrowserWindowController.m:
727         (-[WK1BrowserWindowController toggleUseMinimumViewSize:]):
728         * MiniBrowser/mac/WK2BrowserWindowController.m:
729         (-[WK2BrowserWindowController toggleUseMinimumViewSize:]):
730         Add a optional toolbar item to toggle a minimum view size of 1024x0.
731
732 2015-05-05  Alex Christensen  <achristensen@webkit.org>
733
734         [Content Extensions] Release input NSString when finished copying it.
735         https://bugs.webkit.org/show_bug.cgi?id=144642
736
737         Reviewed by Brian Weinstein.
738
739         * WebKitTestRunner/mac/TestControllerMac.mm:
740         (WTR::TestController::platformConfigureViewForTest):
741         Use alloc and initWithContentsOfURL to prevent over-releasing an autoreleased object.
742
743 2015-05-05  Brent Fulgham  <bfulgham@apple.com>
744
745         Unreviewed test fix after r183798.
746
747         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
748         (convertToDRTLabel): Mimic behavior of Mac accessibility output
749         so we can share results.
750
751 2015-05-05  Alex Christensen  <achristensen@webkit.org>
752
753         [Content Extensions] Use less memory to store the json input.
754         https://bugs.webkit.org/show_bug.cgi?id=144604
755
756         Reviewed by Benjamin Poulain.
757
758         * MiniBrowser/mac/ExtensionManagerWindowController.m:
759         (-[ExtensionManagerWindowController add:]):
760         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
761         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
762         * WebKitTestRunner/mac/TestControllerMac.mm:
763         (WTR::TestController::platformConfigureViewForTest):
764
765 2015-05-05  Yusuke Suzuki  <utatane.tea@gmail.com>
766
767         Unreviewed. Make myself a WebKit reviewer.
768
769         * Scripts/webkitpy/common/config/contributors.json:
770
771 2015-05-05  Joanmarie Diggs  <jdiggs@igalia.com>
772
773         [GTK] r183783 breaks build
774         https://bugs.webkit.org/show_bug.cgi?id=144632
775
776         Reviewed by Martin Robinson.
777
778         Return false rather than nullptr for unimplemented AccessibilityUIElement::setSelectedVisibleTextRange
779
780         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
781         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
782
783 2015-05-05  Alex Christensen  <achristensen@webkit.org>
784
785         [Content Extensions] Combine NFAs properly and free memory as we compile.
786         https://bugs.webkit.org/show_bug.cgi?id=144485
787
788         Reviewed by Benjamin Poulain.
789
790         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
791         (TestWebKitAPI::TEST_F):
792         Added tests for correctly splitting up NFAs with unquantified terms after quantified terms.
793         Added tests for deep NFAs.
794
795 2015-05-04  Alex Christensen  <achristensen@webkit.org>
796
797         [Content Extensions] Use less memory when writing byte code to file
798         https://bugs.webkit.org/show_bug.cgi?id=144602
799
800         Reviewed by Darin Adler.
801
802         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
803
804 2015-05-05  Carlos Garcia Campos  <cgarcia@igalia.com>
805
806         [GTK] Async operations running in the WorkQueue thread should schedule their sources to the WorkQueue main lopp
807         https://bugs.webkit.org/show_bug.cgi?id=144541
808
809         Reviewed by Žan Doberšek.
810
811         Add a test case to WorkQueue unit test, to check that sources of
812         asynchronous IO operations running in the WorkQueue thread are
813         dispatched by the WorkQueue main loop.
814
815         * TestWebKitAPI/PlatformGTK.cmake:
816         * TestWebKitAPI/Tests/WTF/gtk/WorkQueueGtk.cpp: Added.
817         (TestWebKitAPI::TEST):
818
819 2015-05-04  Brent Fulgham  <bfulgham@apple.com>
820
821         Correct '--show-webview' option for Tiled Drawing tests
822         https://bugs.webkit.org/show_bug.cgi?id=144621
823
824         Reviewed by Simon Fraser.
825
826         The scrolling thread/tiled drawing tests recreate the standard test runner web view. My earlier patch did not make
827         sure that the state of the '--show-webview' option was propagated to this additional view creation routine.
828
829         * WebKitTestRunner/mac/TestControllerMac.mm:
830         (WTR::TestController::platformConfigureViewForTest): Include the value of the 'shouldShowWebView' state in the
831         WKMutableDictionary passed to the 'ensureViewSupportsOptions' method.
832
833 2015-05-04  Filip Pizlo  <fpizlo@apple.com>
834
835         Large array shouldn't be slow
836         https://bugs.webkit.org/show_bug.cgi?id=144617
837
838         Reviewed by Geoffrey Garen.
839         
840         Add the hash-map benchmark to LongSpider. LongSpider was already not a perfect match of
841         SunSpider. It's not an official benchmark. It contains benchmarks that are relatively
842         long-running. So, hash-map sort of belongs here.
843
844         * Scripts/run-jsc-benchmarks:
845
846 2015-05-04  Doug Russell  <d_russell@apple.com>
847
848         AX: setting focus via accessibility object needs to set isSynchronizing in resulting selection intent
849         https://bugs.webkit.org/show_bug.cgi?id=144489
850
851         Reviewed by Chris Fleizach.
852
853         Resolves infinite looping when navigating rapidly between controls with the search API and then focusing
854         on the returned control.
855         Remove isSynchronizing flag from AXTextStateChangeIntent and put it on AXObjectCache.
856         Move AXTextStateChangeIntent logic in AccessibilityRenderObject into a helper method.
857         Call new AXTextStateChangeIntent helper from AccessibilityRenderObject::setFocus().
858         Add support for setSelectedVisibleTextRange() in accessibility tests.
859
860         * DumpRenderTree/AccessibilityUIElement.cpp:
861         (setSelectedVisibleTextRangeCallback):
862         (AccessibilityUIElement::setSelectedVisibleTextRange):
863         (AccessibilityUIElement::getJSClass):
864         (AccessibilityUIElement::textMarkerForIndex): Deleted.
865         * DumpRenderTree/AccessibilityUIElement.h:
866         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
867         (AccessibilityUIElement::setSelectedVisibleTextRange):
868         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
869         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
870         (WTR::AccessibilityUIElement::setSelectedTextRange): Deleted.
871         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
872         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
873         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
874         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
875         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
876         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
877         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
878         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
879
880 2015-05-04  Brent Fulgham  <bfulgham@apple.com>
881
882         [Win] Implement the "--show-webview" option for Windows
883         https://bugs.webkit.org/show_bug.cgi?id=144589
884
885         Reviewed by Alex Christensen.
886
887         Add another runtime flag (--show-webview) that causes DumpRenderTree
888         to draw its view on-screen, rather than the standard offscreen mode.
889
890         * DumpRenderTree/win/DumpRenderTree.cpp:
891         (createWebViewAndOffscreenWindow): Honor the 'showWebView' flag.
892         (initializeGlobalsFromCommandLineOptions): Recognize the new
893         command-line argument, and set the global 'showWebView' state if
894         appropriate.
895
896 2015-05-04  Csaba Osztrogonác  <ossy@webkit.org>
897
898         Remove dead code from TestInvocationCairo.cpp
899         https://bugs.webkit.org/show_bug.cgi?id=144564
900
901         Reviewed by Gyuyoung Kim.
902
903         Only EFL and GTK port use TestInvocationCairo.cpp, there isn't other platform.
904
905         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
906         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
907
908 2015-05-04  Joonghun Park  <jh718.park@samsung.com>
909
910         [GTK] Add libnotify in gtk install-dependencies
911         https://bugs.webkit.org/show_bug.cgi?id=144379
912
913         Reviewed by Csaba Osztrogonác.
914
915         * gtk/install-dependencies:
916
917 2015-05-01  Dan Bernstein  <mitz@apple.com>
918
919         Test for <rdar://problem/8636045> Back/forward navigation to an error page in Safari breaks the back-forward list
920         https://bugs.webkit.org/show_bug.cgi?id=144501
921
922         Reviewed by Darin Adler.
923
924         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
925         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadAlternateHTMLString.mm: Added.
926         (-[LoadAlternateHTMLStringFromProvisionalLoadErrorController webView:didFailProvisionalNavigation:withError:]):
927         (-[LoadAlternateHTMLStringFromProvisionalLoadErrorController webView:didFinishNavigation:]):
928
929 2015-05-01  Mario Sanchez Prada  <mario@endlessm.com>
930
931         check-webkit-style fails due to system pylint
932         https://bugs.webkit.org/show_bug.cgi?id=144360
933
934         Reviewed by Darin Adler.
935
936         Make sure that the directory containing third party autoinstalled modules
937         is at the beginning of the search path, to avoid conflicts with other
938         versions of the same modules installed in the system (e.g. pylint).
939
940         * Scripts/webkitpy/thirdparty/__init__.py: Prepend the autoinstalled
941         modules directory to sys.path, instead of appending it.
942
943 2015-05-01  Mario Sanchez Prada  <mario@endlessm.com>
944
945         Unreviewed, updated my list of email addresses.
946
947         * Scripts/webkitpy/common/config/contributors.json: Updated.
948
949 2015-05-01  Martin Robinson  <mrobinson@igalia.com>
950
951         USE(...) macro should expect unprefixed variables
952         https://bugs.webkit.org/show_bug.cgi?id=144454
953
954         Reviewed by Daniel Bates.
955
956         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Replace all occurrences WTF_USE with USE.
957         * DumpRenderTree/config.h: Ditto.
958         * TestWebKitAPI/config.h: Ditto.
959
960 2015-05-01  Basile Clement  <basile_clement@apple.com>
961
962         Unreviewed. Add myself as a commiter in contributors.json.
963
964         * Scripts/webkitpy/common/config/contributors.json:
965
966 2015-05-01  Dewei Zhu  <dewei_zhu@apple.com>
967
968         Update speedometer patch to provide better UI, fix merge result bug and add "Score" metric to speedometer benchmark.
969         https://bugs.webkit.org/show_bug.cgi?id=144487
970
971         Reviewed by Ryosuke Niwa.
972
973         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
974         (BenchmarkRunner.merge): Fix bug.
975         * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Update appearance and add "Score" metric.
976
977 2015-05-01  Brady Eidson  <beidson@apple.com>
978
979         Add API to disable meta refreshes.
980         <rdar://problem/20333198> and https://bugs.webkit.org/show_bug.cgi?id=144269
981
982         Reviewed by Alexey Proskuryakov.
983
984         * DumpRenderTree/mac/DumpRenderTree.mm:
985         (resetWebPreferencesToConsistentValues): Reset the meta refresh pref between tests.
986
987 2015-05-01  Brent Fulgham  <bfulgham@apple.com>
988
989         Provide a runtime flag to run-webkit-tests that shows the test view
990         https://bugs.webkit.org/show_bug.cgi?id=144079.
991
992         Unreviewed correction to r183651.
993
994         * WebKitTestRunner/TestController.cpp:
995         (WTR::TestController::initialize): Make sure the state of the '--show-webview'
996         flag is included in the options dictionary passed to the PlatformWebView.
997
998 2015-05-01  Antti Koivisto  <antti@apple.com>
999
1000         Remove network process load serialization code
1001         https://bugs.webkit.org/show_bug.cgi?id=144448
1002
1003         Reviewed by Alexey Proskuryakov.
1004
1005         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1006         (WTR::InjectedBundle::beginTesting):
1007         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1008         (WTR::TestRunner::setSerializeHTTPLoads):
1009         (WTR::TestRunner::dispatchPendingLoadRequests):
1010
1011 2015-05-01  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1012
1013         [GTK] Add libhyphen-dev to the build dependencies
1014         https://bugs.webkit.org/show_bug.cgi?id=144452
1015
1016         Reviewed by Martin Robinson.
1017
1018         * gtk/install-dependencies: Added hyphen as Fedora and Arch
1019         dependencies.
1020
1021 2015-04-30  Brent Fulgham  <bfulgham@apple.com>
1022
1023         Provide a runtime flag to run-webkit-tests that shows the test view
1024         https://bugs.webkit.org/show_bug.cgi?id=144079.
1025
1026         Reviewed by Dean Jackson.
1027
1028         Add a new flag (--show-webview) that causes DumpRenderTree and WebKitTestRunner to display
1029         their WebViews on-screen. This can be used when running tests via the "--additional-drt-flag"
1030         option:
1031         
1032         --additional-drt-flag="--show-webview"
1033
1034         * DumpRenderTree/mac/DumpRenderTree.mm:
1035         (createWebViewAndOffscreenWindow): Use an on-screen window rect if the user passed the
1036         '--show-webview' flag.
1037         (initializeGlobalsFromCommandLineOptions): Recognize the "--show-webview" option.
1038         * WebKitTestRunner/Options.cpp:
1039         (WTR::Options::Options):
1040         (WTR::handleOptionShowWebView):
1041         (WTR::OptionsHandler::OptionsHandler): Recognize the new "--show-webview" option.
1042         * WebKitTestRunner/Options.h:
1043         * WebKitTestRunner/TestController.cpp:
1044         (WTR::TestController::TestController):
1045         (WTR::TestController::initialize): Use value of 'shouldShowWebView' from the Options bundle.
1046         * WebKitTestRunner/TestController.h:
1047         (WTR::TestController::shouldShowWebView):
1048         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1049         (WTR::PlatformWebView::PlatformWebView): Retrieve the value of the 'ShouldShowWebView' key from the
1050         options dictionary. If it is true, display the web view while running the test.
1051
1052 2015-04-30  Alexey Proskuryakov  <ap@apple.com>
1053
1054         r183355 didn't trigger Mac tests
1055         https://bugs.webkit.org/show_bug.cgi?id=144464
1056
1057         Reviewed by Simon Fraser.
1058
1059         Update badly neglected filters and unit tests.
1060
1061         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
1062         (_should_file_trigger_build):
1063         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
1064         (ShouldBuildTest):
1065         (ShouldBuildTest.test_should_build):
1066
1067 2015-04-30  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1068
1069         [GTK] Add libhyphen-dev to the build dependencies
1070         https://bugs.webkit.org/show_bug.cgi?id=144452
1071
1072         Reviewed by Martin Robinson.
1073
1074         * gtk/install-dependencies: Added libhyphen-dev to the WebKitGTK+
1075         build dependencies.
1076
1077 2015-04-30  Martin Robinson  <mrobinson@igalia.com>
1078
1079         [GTK] Testing dictionaries are not installed automatically
1080         https://bugs.webkit.org/show_bug.cgi?id=144460
1081
1082         Reviewed by Carlos Garcia Campos.
1083
1084         * gtk/jhbuild.modules: Add the testing dictionaries to the main moduleset.
1085
1086 2015-04-30  Dewei Zhu  <dewei_zhu@apple.com>
1087
1088         Fix return code issue, check return code of safari process and dump results to log
1089         https://bugs.webkit.org/show_bug.cgi?id=144436
1090
1091         Reviewed by Ryosuke Niwa.
1092
1093         * Scripts/run-benchmark:
1094         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
1095         (BenchmarkRunner.dump): Correct typo.
1096         (BenchmarkRunner.wrap): Add results to console.
1097         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py: Check return code to detect Safari crashes.
1098         (OSXSafariDriver.prepareEnv):
1099         (OSXSafariDriver.launchUrl):
1100         (OSXSafariDriver.closeBrowsers):
1101
1102 2015-04-29  Joseph Pecoraro  <pecoraro@apple.com>
1103
1104         Should no longer need to worry about very old versions of Xcode
1105         https://bugs.webkit.org/show_bug.cgi?id=144437
1106
1107         Reviewed by Dan Bernstein.
1108
1109         * Scripts/check-for-exit-time-destructors:
1110         * Scripts/check-for-global-initializers:
1111         * Scripts/check-for-weak-vtables-and-externals:
1112
1113 2015-04-29  Joseph Pecoraro  <pecoraro@apple.com>
1114
1115         REGRESSION(183583): [Mac] make without SDKROOT has issues
1116         https://bugs.webkit.org/show_bug.cgi?id=144431
1117
1118         Reviewed by Dan Bernstein.
1119
1120         * Makefile:
1121         * WebKitTestRunner/Makefile:
1122         Assume an empty SDKROOT means an macosx variant, so only
1123         enable settings if the SDKROOT is not empty and does not
1124         contain "macosx".
1125
1126 2015-04-29  Brent Fulgham  <bfulgham@apple.com>
1127
1128         Expand test infrastructure to support scrolling tests
1129         https://bugs.webkit.org/show_bug.cgi?id=143684
1130         <rdar://problem/20375516>
1131
1132         Reviewed by Simon Fraser.
1133
1134         * DumpRenderTree/mac/DumpRenderTree.mm:
1135         (resetWebViewToConsistentStateBeforeTesting): Make sure the WheelEventTestTrigger state is
1136         reset before the next test run.
1137         * WebKitTestRunner/TestController.cpp:
1138         (WTR::TestController::resetStateToConsistentValues): Ditto."
1139
1140 2015-04-29  Alex Christensen  <achristensen@webkit.org>
1141
1142         Run javascriptcore tests on Windows without cygwin
1143         https://bugs.webkit.org/show_bug.cgi?id=144419
1144
1145         Reviewed by Brent Fulgham.
1146
1147         * Scripts/run-javascriptcore-tests:
1148         (runJSCStressTests):
1149         Just call ruby, not /usr/bin/env ruby.
1150
1151 2015-04-29  Yusuke Suzuki  <utatane.tea@gmail.com>
1152
1153         [GTK] Add --enable-shared option to LLVM to build mesa
1154         https://bugs.webkit.org/show_bug.cgi?id=144393
1155
1156         Reviewed by Martin Robinson.
1157
1158         The updated mesa requires the shared LLVM libraries.
1159         To build mesa with LLVM in FTL build, this patch added `--enable-shared` option
1160         to LLVM configure script. It will provide shared libraries in addition to static libraries.
1161
1162         * gtk/jhbuild-optional.modules:
1163
1164 2015-04-29  Martin Robinson  <mrobinson@igalia.com>
1165
1166         [GTK] Add support for automatic hyphenation
1167         https://bugs.webkit.org/show_bug.cgi?id=44478
1168
1169         Reviewed by Carlos Garcia Campos.
1170
1171         * gtk/jhbuild.modules: Add a module for testing dictionaries, so that
1172         all systems will use the same dictionaries for testing purposes.
1173
1174 2015-04-29  Jake Nielsen  <jacob_nielsen@apple.com>
1175
1176         Failure when building WebKit for appletvsimulator.
1177         https://bugs.webkit.org/show_bug.cgi?id=144356
1178
1179         Reviewed by Alexey Proskuryakov.
1180
1181         Changes Makefile logic to check for "not OS X" rather than "is iOS" to
1182         make TVOS and WatchOS behave correctly.
1183
1184         * Makefile:
1185         * WebKitTestRunner/Makefile:
1186
1187 2015-04-29  Alexey Proskuryakov  <ap@apple.com>
1188
1189         Use-after-free when invalidating WKPageForceRepaint callback
1190         https://bugs.webkit.org/show_bug.cgi?id=144401
1191         rdar://problem/20741111
1192
1193         Reviewed by Tim Horton.
1194
1195         * WebKitTestRunner/TestController.h: (WTR::TestController::isCurrentInvocation): Added.
1196
1197         * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::forceRepaintDoneCallback):
1198         Don't do anything on error, because the context may be a stale pointer now.
1199
1200 2015-04-29  David Kilzer  <ddkilzer@apple.com>
1201
1202         check-webkit-style: Don't complain about returning value from Objective-C method call in header
1203         <http://webkit.org/b/144395>
1204
1205         Reviewed by Andy Estes.
1206
1207         * Scripts/webkitpy/style/checkers/cpp.py:
1208         (check_spacing): Update regex so 'return' is ignored if it
1209         precedes the whitespace and bracket.  Change category name to
1210         'whitespace/brackets'.  Add period to error message.
1211         (CppChecker): Add 'whitespace/brackets' as a category.
1212         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1213         (ErrorCollector.__call__): Replace 'STYLE_CATEGORIES' with
1214         'CppChecker.categories' since that's where the list lives now.
1215         (CppStyleTest.test_spacing_before_brackets): Add tests for
1216         'whitespace/brackets' issues and non-issues.
1217
1218 2015-04-29  Alex Christensen  <achristensen@webkit.org>
1219
1220         Fix WinCairo bot.
1221
1222         * Scripts/webkitdirs.pm:
1223         (determinePassedConfiguration):
1224         WinCairo bot doesn't use cygwin, but it needs Release_WinCairo for its configuration.
1225
1226 2015-04-29  Myles C. Maxfield  <mmaxfield@apple.com>
1227
1228         [OS X] Use CTFontCreateForCSS instead of doing font search ourselves
1229         https://bugs.webkit.org/show_bug.cgi?id=132159
1230
1231         Reviewed by Darin Adler.
1232
1233         Make DumpRenderTree and WebKitTestRunner use the new font whitelist instead of
1234         swizzling NSFontManager methods. This is predicated on ENABLE(PLATFORM_FONT_LOOKUP).
1235
1236         * DumpRenderTree/mac/DumpRenderTree.mm:
1237         (fontWhitelist):
1238         (adjustFonts):
1239         (createWebViewAndOffscreenWindow):
1240         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
1241         (WTR::activateFonts):
1242         * WebKitTestRunner/mac/TestControllerMac.mm:
1243         (WTR::allowedFontFamilySet):
1244         (WTR::systemHiddenFontFamilySet):
1245         (WTR::generateWhitelist):
1246         (WTR::TestController::platformInitializeContext):
1247
1248 2015-04-29  Alexey Proskuryakov  <ap@apple.com>
1249
1250         fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
1251         https://bugs.webkit.org/show_bug.cgi?id=144155
1252
1253         Reviewed by Andreas Kling.
1254
1255         * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetStateToConsistentValues):
1256         Make sure that test window is "visible" before each test. While there is no concrete
1257         evidence that this is the problem indeed, the behavior is consistent with what would
1258         happen for an invisible window. Also, WKTR obviously needs to do this to protect
1259         against potential buggy tests that hide the window and don't show it.
1260
1261 2015-04-29  Carlos Garcia Campos  <cgarcia@igalia.com>
1262
1263         Unreviewed. Fix /webkit2/WebKitWebInspectorServer/test-open-debugging-session.
1264
1265         Latest changes in the inspector UI made this test fail. We were
1266         relying that the sidebar was always visible and the first 'li'
1267         element of the inspector was the one containing the title. This is
1268         no longer true, so better use document title that is not likely
1269         to change.
1270
1271         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
1272         (openRemoteDebuggingSession):
1273
1274 2015-04-29  Andres Gomez  <agomez@igalia.com>
1275
1276         Unreviewed. Re-sorted my contributor's mails to help bugzilla on showing the proper one.
1277
1278         * Scripts/webkitpy/common/config/contributors.json:
1279
1280 2015-04-29  Andres Gomez  <agomez@igalia.com>
1281
1282         Unreviewed. Created a new watchlist for changes in WebInspectorUI images and added myself to it.
1283
1284         * Scripts/webkitpy/common/config/watchlist:
1285
1286 2015-04-29  Hunseop Jeong  <hs85.jeong@samsung.com>
1287
1288         [EFL] Allow to run the tests on the native X display
1289         https://bugs.webkit.org/show_bug.cgi?id=144247
1290
1291         Reviewed by Gyuyoung Kim.
1292
1293         Added the USE_NATIVE_XDISPLAY option for the WTR.
1294         We can select the Xorg driver if environment variable is set up before running the tests.
1295
1296         * Scripts/webkitpy/port/efl.py:
1297         (EflPort._driver_class):
1298
1299 2015-04-29  Joonghun Park  <jh718.park@samsung.com>
1300
1301         [GTK] Add libnotify-dev in gtk install-dependencies
1302         https://bugs.webkit.org/show_bug.cgi?id=144379
1303
1304         Reviewed by Žan Doberšek.
1305
1306         * gtk/install-dependencies:
1307
1308 2015-04-28  Ryuan Choi  <ryuan.choi@navercorp.com>
1309
1310         [CoordinatedGraphics] Merge TILED_BACKING_STORE guard with COORDINATED_GRAPHICS
1311         https://bugs.webkit.org/show_bug.cgi?id=143001
1312
1313         Reviewed by Gyuyoung Kim.
1314
1315         * WebKitTestRunner/TestController.cpp:
1316         (WTR::shouldUseFixedLayout):
1317
1318 2015-04-28  Dewei Zhu  <dewei_zhu@apple.com>
1319
1320         Increase stablility of run-benchmark script
1321         https://bugs.webkit.org/show_bug.cgi?id=144361
1322
1323         Reviewed by Ryosuke Niwa.
1324
1325         * Scripts/run-benchmark:
1326         (main):
1327         * Scripts/webkitpy/benchmark_runner/README.md: Update readme due to changes.
1328         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
1329         (GenericBenchmarkBuilder.clean):
1330         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Improve error handling and remove an unnecessary loop.
1331         (BenchmarkRunner.__init__):
1332         (BenchmarkRunner.execute):
1333         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
1334         (OSXSafariDriver.prepareEnv): Remove saved sessions of Safari.
1335         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Upload 'results' rather than 'time'.
1336         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Update formate.
1337         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Update formate.
1338         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py: 
1339         (ServerControl.render_POST): Flush the buffer to make sure we can pass the result to stdout.
1340         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
1341         (HTTPServerDriver.fetchResult):
1342         (HTTPServerDriver):
1343         (HTTPServerDriver.killServer): Add kill server interface.
1344         (HTTPServerDriver.getReturnCode): Add get return code interface.
1345         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: Adjust to support new interfaces.
1346         (SimpleHTTPServerDriver.serve):
1347         (SimpleHTTPServerDriver.fetchResult):
1348         (SimpleHTTPServerDriver):
1349         (SimpleHTTPServerDriver.killServer):
1350         (SimpleHTTPServerDriver.getReturnCode):
1351         * Scripts/webkitpy/benchmark_runner/utils.py:
1352         (forceRemove): Provide python version of 'rm -rf'.
1353
1354 2015-04-28  Sam Weinig  <sam@webkit.org>
1355
1356         [Content Extensions] Process NFAs individually to avoid having all NFAs live at the same time
1357         https://bugs.webkit.org/show_bug.cgi?id=144363
1358
1359         Reviewed by Alex Christensen.
1360
1361         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1362         (TestWebKitAPI::createNFAs):
1363         (TestWebKitAPI::TEST_F):
1364         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
1365         (TestWebKitAPI::countLiveNodes):
1366         (TestWebKitAPI::createNFAs):
1367         (TestWebKitAPI::buildDFAFromPatterns):
1368         Update tests to use a hand rolled createNFAs function on top of CombinedURLFilters::processNFAs.
1369
1370 2015-04-28  Michael Catanzaro  <mcatanzaro@igalia.com>
1371
1372         Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
1373         https://bugs.webkit.org/show_bug.cgi?id=144304
1374
1375         Reviewed by Geoffrey Garen.
1376
1377         * Scripts/build-jsc: Use ENABLE_JIT instead of ENABLE_LLINT_C_LOOP on Mac. Always explicitly
1378         set the value of ENABLE_JIT and ENABLE_FTL_JIT to avoid assumptions about the default value.
1379         * Scripts/webkitperl/FeatureList.pm: Add --jit option to build-webkit.
1380
1381 2015-04-28  Commit Queue  <commit-queue@webkit.org>
1382
1383         Unreviewed, rolling out r183514.
1384         https://bugs.webkit.org/show_bug.cgi?id=144359
1385
1386         It broke cloop test bots (Requested by mcatanzaro on #webkit).
1387
1388         Reverted changeset:
1389
1390         "Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT"
1391         https://bugs.webkit.org/show_bug.cgi?id=144304
1392         http://trac.webkit.org/changeset/183514
1393
1394 2015-04-28  Michael Catanzaro  <mcatanzaro@igalia.com>
1395
1396         Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
1397         https://bugs.webkit.org/show_bug.cgi?id=144304
1398
1399         Reviewed by Geoffrey Garen.
1400
1401         * Scripts/build-jsc: Use ENABLE_JIT instead of ENABLE_LLINT_C_LOOP on Mac. Perform sanity-
1402         checking to ensure --cloop and --ftl-jit cannot be combined. Always explicitly set the value
1403         of ENABLE_JIT and ENABLE_FTL_JIT to avoid assumptions about the default value.
1404         * Scripts/webkitperl/FeatureList.pm: Add --jit option to build-webkit.
1405
1406 2015-04-28  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1407
1408         [CMake] Remove unnecessary include paths in TestWebKitAPI cmake files
1409         https://bugs.webkit.org/show_bug.cgi?id=144319
1410
1411         Reviewed by Csaba Osztrogonác.
1412
1413         * TestWebKitAPI/CMakeLists.txt:
1414         * TestWebKitAPI/PlatformEfl.cmake:
1415
1416 2015-04-28  Joseph Pecoraro  <pecoraro@apple.com>
1417
1418         Fix common typo "targetting" => "targeting"
1419         https://bugs.webkit.org/show_bug.cgi?id=144349
1420
1421         Reviewed by Daniel Bates.
1422
1423         * Scripts/webkitdirs.pm:
1424         (execMacWebKitAppForDebugging):
1425
1426 2015-04-28  Joanmarie Diggs  <jdiggs@igalia.com>
1427
1428         [GTK][jhbuild] Mesa build failure with llvm 3.6
1429         https://bugs.webkit.org/show_bug.cgi?id=144250
1430
1431         Reviewed by Žan Doberšek.
1432
1433         Bump the version of Mesa to 10.5.4
1434
1435         * gtk/jhbuild.modules:
1436
1437 2015-04-28  Alexey Proskuryakov  <ap@apple.com>
1438
1439         Disable App Nap in WebKitTestRunner UI process
1440         https://bugs.webkit.org/show_bug.cgi?id=144308
1441
1442         Reviewed by Daniel Bates.
1443
1444         * WebKitTestRunner/mac/main.mm:
1445         (disableAppNapInUIProcess):
1446         (main):
1447
1448 2015-04-28  Marcos Chavarría Teijeiro  <chavarria1991@gmail.com>
1449
1450         [GTK] Update JHBuild Mesa download directory
1451         https://bugs.webkit.org/show_bug.cgi?id=144318
1452
1453         Update the download directory of Mesa module since the previous one
1454         doesn't exist any more.
1455
1456         Reviewed by Žan Doberšek.
1457
1458         * gtk/jhbuild.modules:
1459
1460 2015-04-28  Commit Queue  <commit-queue@webkit.org>
1461
1462         Unreviewed, rolling out r183477.
1463         https://bugs.webkit.org/show_bug.cgi?id=144334
1464
1465         Roll back the Mesa dependency bump in fear of uncaught
1466         regressions while the testing bots are no-op. (Requested by
1467         zdobersek on #webkit).
1468
1469         Reverted changeset:
1470
1471         "[GTK][jhbuild] Mesa build failure with llvm 3.6"
1472         https://bugs.webkit.org/show_bug.cgi?id=144250
1473         http://trac.webkit.org/changeset/183477
1474
1475 2015-04-28  Joanmarie Diggs  <jdiggs@igalia.com>
1476
1477         [GTK][jhbuild] Mesa build failure with llvm 3.6
1478         https://bugs.webkit.org/show_bug.cgi?id=144250
1479
1480         Reviewed by Žan Doberšek.
1481
1482         Bump the version of Mesa to 10.5.4
1483
1484         * gtk/jhbuild.modules:
1485
1486 2015-04-27  Dewei Zhu  <dewei_zhu@apple.com>
1487
1488         Add '__init__.py' and fix known bug in benchmark runner.
1489         https://bugs.webkit.org/show_bug.cgi?id=144296
1490
1491         Reviewed by Ryosuke Niwa
1492
1493         * Scripts/webkitpy/benchmark_runner/__init__.py: Make python to recognize this module.
1494         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Make python to recognize this module.
1495         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
1496         (BenchmarkRunner.__init__):
1497         (BenchmarkRunner.execute): Fix logic bug that '--output-file' option doesn't work, and empty output file bug.
1498         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Make python to recognize this module.
1499         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Make python to recognize this module.
1500
1501 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
1502
1503         More build fix.
1504
1505         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
1506         (-[AccessibilityNotificationHandler _notificationReceived:]):
1507         Use -objectForKey:, not array subscript.
1508
1509 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
1510
1511         Catch unexpected exits in DumpRenderTree
1512         https://bugs.webkit.org/show_bug.cgi?id=144288
1513
1514         Reviewed by Tim Horton.
1515
1516         * DumpRenderTree/mac/DumpRenderTree.mm:
1517         (atexitFunction):
1518         (DumpRenderTreeMain):
1519
1520 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
1521
1522         Build fix
1523
1524         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
1525         (-[AccessibilityNotificationHandler _notificationReceived:]):
1526         Use -objectForKey:, not array subscript.
1527
1528 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
1529
1530         fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
1531         https://bugs.webkit.org/show_bug.cgi?id=144155
1532
1533         Reviewed by Tim Horton.
1534
1535         * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues):
1536         Disable App Nap. I don't have positive evidence that it's the culprit, but it could be,
1537         and we clearly don't want App Nap while testing.
1538
1539 2015-04-22  Martin Robinson  <mrobinson@igalia.com>
1540
1541         [CMake] Autogenerate cmakeconfig.h.cmake
1542         https://bugs.webkit.org/show_bug.cgi?id=143997
1543
1544         Reviewed by Csaba Osztrogonác.
1545
1546         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt: Add XP_UNIX to the command-line
1547         definitions since TestNetscapePlugIn does not use cmakeconfig.h.
1548
1549 2015-04-27  Brent Fulgham  <bfulgham@apple.com>
1550
1551         REGRESSION(r182879): Images and video can no longer be downloaded
1552         https://bugs.webkit.org/show_bug.cgi?id=144267
1553         <rdar://problem/20702844>
1554
1555         Reviewed by Simon Fraser.
1556
1557         Revise tests to check for proper download menu state.
1558         1. Downloading a loal image should be disabled.
1559         2. Downloading a local media file should be disabled.
1560         3. Downloading non-downloadable media should be disabled.
1561
1562         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1563         (TestWebKitAPI::TEST):
1564
1565 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
1566
1567         Merge run-launcher into run-minibrowser
1568         https://bugs.webkit.org/show_bug.cgi?id=141928
1569
1570         Reviewed by Darin Adler.
1571
1572         * Scripts/run-iexploder-tests:
1573         (runSafariWithIExploder):
1574         * Scripts/run-launcher: Removed.
1575         * Scripts/run-minibrowser:
1576         * Scripts/webkitdirs.pm:
1577         (launcherPath):
1578         * Scripts/webkitpy/port/efl.py:
1579         (EflPort.show_results_html_file):
1580         * Scripts/webkitpy/port/efl_unittest.py:
1581         (EflPortTest.test_show_results_html_file):
1582         * Scripts/webkitpy/port/gtk.py:
1583         (GtkPort.print_leaks_summary):
1584         (GtkPort.show_results_html_file):
1585         (GtkPort): Deleted.
1586         * Scripts/webkitpy/port/gtk_unittest.py:
1587         (GtkPortTest.test_show_results_html_file):
1588
1589 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
1590
1591         [buildbot] Fix the output of perf-test buildstep on timeout
1592         https://bugs.webkit.org/show_bug.cgi?id=144097
1593
1594         Reviewed by Ryosuke Niwa.
1595
1596         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1597         (RunAndUploadPerfTests.getText2):
1598         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
1599         (RunAndUploadPerfTestsTest.test_buildbot_timeout):
1600         (RunAndUploadPerfTestsTest.test_build_bad_preparation): Deleted.
1601
1602 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
1603
1604         [EFL] TestWebKitAPI's forwarding header generator should depend on WebKit2's generator
1605         https://bugs.webkit.org/show_bug.cgi?id=143874
1606
1607         Reviewed by Gyuyoung Kim.
1608
1609         * TestWebKitAPI/PlatformEfl.cmake: Add the new dependency.
1610
1611 2015-04-24  Philippe Normand  <pnormand@igalia.com>
1612
1613         [JHBuild] Move to upstream OpenWebRTC
1614         https://bugs.webkit.org/show_bug.cgi?id=144145
1615
1616         Reviewed by Carlos Garcia Campos.
1617
1618         * efl/jhbuild.modules: Switch to upstream OpenWebRTC repository
1619         and add a new simple patch to gst-plugins-base, required for
1620         OpenWebRTC build.
1621         * efl/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
1622         * gtk/jhbuild.modules: Ditto.
1623         * gtk/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
1624
1625 2015-04-26  Yusuke Suzuki  <utatane.tea@gmail.com>
1626
1627         [ES6] Implement ES6 template literals
1628         https://bugs.webkit.org/show_bug.cgi?id=142691
1629
1630         Reviewed by Darin Adler.
1631
1632         Add ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX compile time flag.
1633
1634         * Scripts/webkitperl/FeatureList.pm:
1635
1636 2015-04-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1637
1638         [CMake][EFL] Remove unnecessary include, library path in WebKitTestRunner/PlatformEfl.cmake 
1639         https://bugs.webkit.org/show_bug.cgi?id=144217
1640
1641         Reviewed by Darin Adler.
1642
1643         * WebKitTestRunner/PlatformEfl.cmake:
1644
1645 2015-04-26  Doug Russell  <d_russell@apple.com>
1646
1647         AX: richer text change notifications (142719)
1648         https://bugs.webkit.org/show_bug.cgi?id=142719
1649
1650         Reviewed by Darin Adler.
1651
1652         Richer accessibility value change notifications. Introduce AXTextEditType,
1653         postTextStateChangeNotification and postTextReplacementNotification to give assistive
1654         tech apps more reliable context for responding to changes in web content. Also implement
1655         a mechanism to post value changes in password form fields in coalesced ticks to thwart
1656         analyzing the cadence of changes.
1657
1658         Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent,
1659         and an overload of postTextReplacementNotification to give assistive tech apps more
1660         reliable context for responding to changes in web content selection. Also block posting
1661         selection changes on password fields.
1662
1663         * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
1664         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
1665         (-[AccessibilityNotificationHandler stopObserving]):
1666         (-[AccessibilityNotificationHandler _notificationReceived:]):
1667         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1668         (AccessibilityUIElement::removeNotificationListener):
1669         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
1670         (-[AccessibilityNotificationHandler _notificationReceived:]):
1671         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1672         (WTR::AccessibilityUIElement::removeNotificationListener):
1673
1674 2015-04-25  Sungmann Cho  <sungmann.cho@navercorp.com>
1675
1676         Add myself to contributors.json
1677         https://bugs.webkit.org/show_bug.cgi?id=144204
1678
1679         Reviewed by Darin Adler.
1680
1681         * Scripts/webkitpy/common/config/contributors.json:
1682
1683 2015-04-25  Martin Robinson  <mrobinson@igalia.com>
1684
1685         Rename ENABLE_3D_RENDERING to ENABLE_3D_TRANSFORMS
1686         https://bugs.webkit.org/show_bug.cgi?id=144182
1687
1688         Reviewed by Simon Fraser.
1689
1690         * DumpRenderTree/win/DumpRenderTree.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS.
1691
1692 2015-04-25  Dewei Zhu  <dewei_zhu@apple.com>
1693
1694         https://bugs.webkit.org/show_bug.cgi?id=144038
1695
1696         Reviewed by Ryosuke Niwa
1697
1698         Add a script to run Speedometer and JetStream on a browser.
1699
1700         * Scripts/run-benchmark: Wrapper script to run benchmark.
1701         (main):
1702         * Scripts/webkitpy/benchmark_runner/README.md: Introduction of this script.
1703         * Scripts/webkitpy/benchmark_runner/__init__.py: Added.
1704         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Added.
1705         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builder_factory.py: Added.
1706         (BenchmarkBuilderFactory):
1707         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Added.
1708         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py: Added.
1709         (GenericBenchmarkBuilder):
1710         (GenericBenchmarkBuilder.prepare):
1711         (GenericBenchmarkBuilder._copyBenchmarkToTempDir):
1712         (GenericBenchmarkBuilder._applyPatch):
1713         (GenericBenchmarkBuilder.clean):
1714         * Scripts/webkitpy/benchmark_runner/benchmark_builder/jetstream_benchmark_builder.py: Added.
1715         (JetStreamBenchmarkBuilder):
1716         (JetStreamBenchmarkBuilder.prepare):
1717         (JetStreamBenchmarkBuilder._runCreateScript):
1718         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Main module that masters all the processes of benchmark running.
1719         (BenchmarkRunner):
1720         (BenchmarkRunner.__init__):
1721         (BenchmarkRunner.execute):
1722         (BenchmarkRunner.dump):
1723         (BenchmarkRunner.wrap):
1724         (BenchmarkRunner.merge):
1725         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Added.
1726         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py: Added.
1727         (BrowserDriver):
1728         (BrowserDriver.prepareEnv):
1729         (BrowserDriver.launchUrl):
1730         (BrowserDriver.closeBrowser):
1731         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py: Added.
1732         (BrowserDriverFactory):
1733         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_drivers.json: Added.
1734         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py: Added.
1735         (OSXChromeDriver):
1736         (OSXChromeDriver.prepareEnv):
1737         (OSXChromeDriver.launchUrl):
1738         (OSXChromeDriver.closeBrowsers):
1739         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py: Added.
1740         (OSXSafariDriver):
1741         (OSXSafariDriver.prepareEnv):
1742         (OSXSafariDriver.launchUrl):
1743         (OSXSafariDriver.closeBrowsers):
1744         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Patch that makes JetStream compatible with this script.
1745         * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Patch that makes Speedometer compatible with this scritp.
1746         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Added.
1747         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Added.
1748         * Scripts/webkitpy/benchmark_runner/generic_factory.py: Factory for generic purpose.
1749         (GenericFactory):
1750         (GenericFactory.iterateGetItem):
1751         (GenericFactory.create):
1752         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Added.
1753         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py: Added.
1754         (ServerControl):
1755         (ServerControl.render_GET):
1756         (ServerControl.render_POST):
1757         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py: Added.
1758         (HTTPServerDriver):
1759         (HTTPServerDriver.serve):
1760         (HTTPServerDriver.fetchResult):
1761         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver_factory.py: Added.
1762         (HTTPServerDriverFactory):
1763         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_drivers.json: Added.
1764         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: Added.
1765         (SimpleHTTPServerDriver):
1766         (SimpleHTTPServerDriver.depends):
1767         (SimpleHTTPServerDriver.__init__):
1768         (SimpleHTTPServerDriver.serve):
1769         (SimpleHTTPServerDriver.baseUrl):
1770         (SimpleHTTPServerDriver.fetchResult):
1771         * Scripts/webkitpy/benchmark_runner/utils.py: Utility module.
1772         (ModuleNotFoundError):
1773         (loadModule):
1774         (getPathFromProjectRoot):
1775         (loadJSONFromFile):
1776         (TimeoutError):
1777         (timeout):
1778         (timeout.__init__):
1779         (timeout.handle_timeout):
1780         (timeout.__enter__):
1781         (timeout.__exit__):
1782
1783 2015-04-24  Commit Queue  <commit-queue@webkit.org>
1784
1785         Unreviewed, rolling out r183303.
1786         https://bugs.webkit.org/show_bug.cgi?id=144181
1787
1788         Change was incorrect, broke builds (Requested by smfr on
1789         #webkit).
1790
1791         Reverted changeset:
1792
1793         "Fix the build."
1794         http://trac.webkit.org/changeset/183303
1795
1796 2015-04-24  Simon Fraser  <simon.fraser@apple.com>
1797
1798         Fix the build.
1799
1800         * MiniBrowser/mac/WK2BrowserWindowController.m:
1801         (-[WK2BrowserWindowController initWithConfiguration:]):
1802
1803 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
1804
1805         Disable ActionMenusPDFTest due to timeout on test bot
1806
1807         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1808         (TestWebKitAPI::TEST):
1809
1810 2015-04-24  Commit Queue  <commit-queue@webkit.org>
1811
1812         Unreviewed, rolling out r183266.
1813         https://bugs.webkit.org/show_bug.cgi?id=144164
1814
1815         Broke 32-bit build and a test. (Requested by ap on #webkit).
1816
1817         Reverted changeset:
1818
1819         "AX: richer text change notifications (142719)"
1820         https://bugs.webkit.org/show_bug.cgi?id=142719
1821         http://trac.webkit.org/changeset/183266
1822
1823 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
1824
1825         REGRESSION: WebKit2.ActionMenusTest API test fails
1826         https://bugs.webkit.org/show_bug.cgi?id=144149
1827         <rdar://problem/20677770>
1828
1829         Reviewed by Tim Horton.
1830
1831         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Revise to use the same test PDF
1832         as the 'ActionMenusPDFTest'.
1833         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1834         (TestWebKitAPI::TEST): Unskip the PDF portion of ActionMenusTest, and revise its expected output
1835         to match the hit test on the 'action-menu-target.pdf' test file.
1836
1837 2015-04-24  Daniel Bates  <dabates@apple.com>
1838
1839         Cleanup: Use @memoized for property IOSSimulator.testing_device
1840         https://bugs.webkit.org/show_bug.cgi?id=141715
1841
1842         Reviewed by Darin Adler.
1843
1844         Simplify the caching of the result of IOSSimulator.testing_device
1845         and make the code more readable by making use of the @memoized declarator
1846         instead of explicitly managing a private instance variable,
1847         IOSSimulator._testing_device, for the cached result.
1848
1849         * Scripts/webkitpy/port/ios.py:
1850         (IOSPort.determine_full_port_name):
1851         (IOSSimulatorPort.__init__): Delete instance variable IOSSimulatorPort._testing_device.
1852         (IOSSimulatorPort):
1853         (IOSSimulatorPort.testing_device): No need to cache the created device object in
1854         IOSSimulatorPort._testing_device since we are marking this function @memoized.
1855         (IOSSimulatorPort.reset_preferences): Code style fix; inline self.testing_device.path instead
1856         of caching in local variable since we only make use of this value exactly once in this function.
1857         (IOSPort.__init__): Deleted; The instance variable IOSPort._testing_device has never
1858         been used since being added in r178622. So, we can remove this constructor since
1859         it's the trivial constructor once we remove the instance variable IOSPort._testing_device.
1860
1861 2015-04-24  Anders Carlsson  <andersca@apple.com>
1862
1863         Rename -[WKWebsiteDataStore isNonPersistent] to -[WKWebsiteDataStore isPersistent]
1864         https://bugs.webkit.org/show_bug.cgi?id=144158
1865
1866         Reviewed by Beth Dakin.
1867
1868         * MiniBrowser/mac/WK2BrowserWindowController.m:
1869         (-[WK2BrowserWindowController initWithConfiguration:]):
1870
1871 2015-04-24  Doug Russell  <d_russell@apple.com>
1872
1873         AX: richer text change notifications (142719)
1874         https://bugs.webkit.org/show_bug.cgi?id=142719
1875
1876         Reviewed by Darin Adler.
1877
1878         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.
1879
1880         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.
1881
1882         * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
1883         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
1884         (-[AccessibilityNotificationHandler stopObserving]):
1885         (-[AccessibilityNotificationHandler _notificationReceived:]):
1886         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1887         (AccessibilityUIElement::removeNotificationListener):
1888         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
1889         (-[AccessibilityNotificationHandler _notificationReceived:]):
1890         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1891         (WTR::AccessibilityUIElement::removeNotificationListener):
1892
1893 2015-04-24  Darin Adler  <darin@apple.com>
1894
1895         Convert OwnPtr and PassOwnPtr uses to std::unique_ptr
1896         https://bugs.webkit.org/show_bug.cgi?id=128007
1897
1898         Reviewed by Anders Carlsson.
1899
1900         * DumpRenderTree/win/HistoryDelegate.h: Removed unneeded include.
1901         * DumpRenderTree/win/UIDelegate.h: Ditto.
1902
1903         * TestWebKitAPI/Tests/WTF/HashMap.cpp: Removed OwnPtr-specific test cases.
1904         * TestWebKitAPI/Tests/WTF/HashSet.cpp: Ditto.
1905
1906         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp: Removed unneeded include.
1907
1908         * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp: Use unique_ptr.
1909         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::SetUp): Use make_unique.
1910         * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp: Ditto.
1911         (TestWebKitAPI::WebKit2WillLoadTest::SetUp): Ditto.
1912         * TestWebKitAPI/Tests/WebKit2Gtk/DOMDOMWindowTest.cpp:
1913         (WebKitDOMDOMWindowTest::create): Ditto.
1914         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
1915         (documentLoadedCallback): Use a queue of DelayedSignal objects instead
1916         of smart pointers to DelayedSIgnal objects.
1917         (uriChangedCallback): Ditto.
1918
1919 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
1920
1921         [Mac] Unreviewed test fix.
1922         https://bugs.webkit.org/show_bug.cgi?id=144149
1923
1924         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1925         (TestWebKitAPI::TEST): Temporarily skip the PDF <embed>
1926         test.
1927
1928 2015-04-23  Darin Adler  <darin@apple.com>
1929
1930         Another round of removing use of OwnPtr, PassOwnPtr, and deleteOwnedPtr
1931         https://bugs.webkit.org/show_bug.cgi?id=144090
1932
1933         Reviewed by Anders Carlsson.
1934
1935         * DumpRenderTree/mac/DumpRenderTree.mm: Removed unneeded include.
1936
1937 2015-04-23  Michael Saboff  <msaboff@apple.com>
1938
1939         lldb macro btjs sometimes can't get a frame description
1940         https://bugs.webkit.org/show_bug.cgi?id=144130
1941
1942         Reviewed by Filip Pizlo.
1943
1944         We look to execute ExecState::describeFrame().  It appears that in some contexts the
1945         debugger can't find ExecState.  In those cases, CallFrame works as it is a typedef of
1946         ExecState.  Therefore we can fallback to using CallFrame::describeFrame().
1947
1948         * lldb/lldb_webkit.py:
1949         (btjs):
1950
1951 2015-04-23  Alex Christensen  <achristensen@webkit.org>
1952
1953         Use less memory when compiling content extensions.
1954         https://bugs.webkit.org/show_bug.cgi?id=144051
1955
1956         Reviewed by Darin Adler and Benjamin Poulain.
1957
1958         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1959         (TestWebKitAPI::TEST_F):
1960         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
1961         (TestWebKitAPI::countLiveNodes):
1962
1963 2015-04-22  Michael Catanzaro  <mcatanzaro@igalia.com>
1964
1965         [CMake] Clean up JSC JIT options
1966         https://bugs.webkit.org/show_bug.cgi?id=143998
1967
1968         Reviewed by Filip Pizlo.
1969
1970         * Scripts/build-jsc: Do not use -ENABLE_LLINT_C_LOOP on CMake ports.
1971         * Scripts/webkitperl/FeatureList.pm: Remove ENABLE_LLINT_C_LOOP.
1972
1973 2015-04-21  Brent Fulgham  <bfulgham@apple.com>
1974
1975         [Mac] Extend action menus to support PDF
1976         https://bugs.webkit.org/show_bug.cgi?id=143895
1977         <rdar://problem/19003333>
1978
1979         Reviewed by Tim Horton.
1980
1981         Reactivate the action menu tests, and add a new PDF-based test to make sure that selection
1982         of PDF content works.
1983
1984         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new 'test.pdf' resource to bundle.
1985         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Update with a new PDF pane.
1986         * TestWebKitAPI/Tests/WebKit2/test.pdf: Added.
1987         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1988         (-[ActionMenusTestWKView _actionMenuItemsForHitTestResult:withType:defaultActionMenuItems:userData:]):
1989         Update to support PDF tests.
1990         (TestWebKitAPI::windowPointForTarget): Add new target for PDF test.
1991         (TestWebKitAPI::waitForPDFToLoad): New helper function to avoid starting test before the PDF is available.
1992
1993 2015-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1994
1995         Unreviewed. Do not run GTK+ user media unit tests when ENABLE_MEDIA_STREAM is disabled.
1996
1997         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
1998         (beforeAll):
1999         (testWebViewAudioOnlyUserMediaPermissionRequests):
2000
2001 2015-04-22  Michael Catanzaro  <mcatanzaro@igalia.com>
2002
2003         Add myself to watchlist
2004         https://bugs.webkit.org/show_bug.cgi?id=144041
2005
2006         Reviewed by Alex Christensen.
2007
2008         Add myself watching CMake, GtkWebKit2PublicAPI, SoupNetwork, and WebKitGTKTranslations.
2009
2010         * Scripts/webkitpy/common/config/watchlist:
2011
2012 2015-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2013
2014         [GTK] MiniBrowser should use NetworkProcess by default
2015         https://bugs.webkit.org/show_bug.cgi?id=143948
2016
2017         Reviewed by Sergio Villar Senin.
2018
2019         Use WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES by default
2020         unless MINIBROWSER_SINGLEPROCESS environment variable is present.
2021
2022         * MiniBrowser/gtk/main.c:
2023         (main):
2024
2025 2015-04-21  Matthew Hanson  <matthew_hanson@apple.com>
2026
2027         Use grep instead of any in prepare-ChangeLog, to avoid Windows compatibility issues.
2028
2029         Unreviewed build fix.
2030
2031         * Scripts/prepare-ChangeLog:
2032         (get_function_line_ranges_for_cpp):
2033         Use grep instead of any to determine if a string is an element of an array.
2034
2035 2015-04-21  Anders Carlsson  <andersca@apple.com>
2036
2037         Fix block signatures
2038         https://bugs.webkit.org/show_bug.cgi?id=144002
2039
2040         Reviewed by Andreas Kling.
2041
2042         * MiniBrowser/mac/WK2BrowserWindowController.m:
2043         (-[WK2BrowserWindowController webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
2044
2045 2015-04-21  Philippe Normand  <pnormand@igalia.com>
2046
2047         [GTK] jhbuild should not use a branch for openwebrtc
2048         https://bugs.webkit.org/show_bug.cgi?id=143981
2049
2050         Reviewed by Carlos Garcia Campos.
2051
2052         * gtk/jhbuild.modules:
2053
2054 2015-04-20  Matthew Hanson  <matthew_hanson@apple.com>
2055
2056         Fix compilation error for prepare-ChangeLog running with Perl version < v5.18.2.
2057
2058         Unreviewed build fix.
2059
2060         The any function was added to List::Utils between Perl v5.16.2 and Perl v5.18.2.
2061         However, it has been exposed by List::MoreUtils since its inception. This patch uses
2062         the any function exposed by List::MoreUtils for greater compatibility.
2063
2064         * Scripts/prepare-ChangeLog:
2065         Use any from List::MoreUtils instead of List::Utils, as List::MoreUtils exposes
2066         the any function in all of versions of Perl used by our infrastructure.
2067
2068 2015-04-20  Alex Christensen  <achristensen@webkit.org>
2069
2070         Remove unnecessary logs when resetting tests.
2071
2072         * WebKitTestRunner/mac/TestControllerMac.mm:
2073         (WTR::TestController::platformResetPreferencesToConsistentValues):
2074         In r183020 I added some logs when compiling or removing content extensions fails.
2075         We often try to remove a content extension that does not exist, and that is not a problem.
2076
2077 2015-04-17  Matthew Hanson  <matthew_hanson@apple.com>
2078
2079         prepare-ChangeLog should ignore the preceeding function when processing the removal of a function.
2080         https://bugs.webkit.org/show_bug.cgi?id=143897
2081
2082         Reviewed by David Kilzer.
2083
2084         This is a speculative fix that addresses two issues:
2085
2086         1. An off-by-one error which allowed ending lines to be less than starting lines when a hunk was a pure delete.
2087         We were determining ending lines from combined diffs using the logic: End = Start + Offset - 1.
2088
2089         So for a hunk like "@@ -723,10 +721,0 @@ bool foobar", we were generating the following starting/ending line pairs:
2090         Before: (723, 729)
2091         After: (721, 720)
2092
2093         Before is correct, but After should be (721, 721), since it represents the beginning and ending lines for the hunk.
2094         Whether there are zero lines or one line in the hunk, the starting and ending line are the same.
2095
2096         This error was causing bad behavior on purely additive and purely subtractive hunks, but since we only refer
2097         to After when generating ChangeLog output, the extractLineRangeBeforeChange had no visible effect on program output.
2098
2099         The fix is to set End to the max of Start + Offset - 1 and Start, rather than always using the former.
2100
2101         2. Creating git diffs from HEAD and not origin/master by default.
2102
2103         Hard-coding origin/master into the originalFile command has the disadvantage of causing the diff to fail entirely
2104         when origin/master does not exist, and to do the wrong thing when determining deleted functions/methods.
2105
2106         * Scripts/prepare-ChangeLog:
2107         (originalFile):
2108         Use HEAD instead of origin/master in default Git case.
2109
2110         (generateFunctionLists):
2111         Ensure that the end line is not less than the start line.
2112
2113         (extractLineRangeAfterChange):
2114         Set the end line to the start line if the end line is less than the start line.
2115
2116         (extractLineRangeBeforeChange):
2117         Ditto.
2118
2119 2015-04-17  Matthew Hanson  <matthew_hanson@apple.com>
2120
2121         Suppress warning in prepare-ChangeLog.
2122         https://bugs.webkit.org/show_bug.cgi?id=143882
2123
2124         Reviewed by David Kilzer.
2125
2126         Prune noisy prepare-ChangeLog output by using the List::Util::any function
2127         instead of the deprecated smartmatch operator.
2128
2129         * Scripts/prepare-ChangeLog:
2130         Import the List::Util::any function.
2131
2132         (get_function_line_ranges_for_cpp):
2133         Use the any function instead of smartmatch.
2134
2135 2015-04-20  Anders Carlsson  <andersca@apple.com>
2136
2137         Modify the WKWebsiteDataStore API to take a NSSet of types instead of a bitmask
2138         https://bugs.webkit.org/show_bug.cgi?id=143966
2139
2140         Reviewed by Dan Bernstein.
2141
2142         * MiniBrowser/mac/WK2BrowserWindowController.m:
2143         (dataTypes):
2144         (-[WK2BrowserWindowController fetchWebsiteData:]):
2145         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
2146         (-[WK2BrowserWindowController clearWebsiteData:]):
2147
2148 2015-04-20  Alex Christensen  <achristensen@webkit.org>
2149
2150         Fix content extension test flakiness.
2151         https://bugs.webkit.org/show_bug.cgi?id=143950
2152
2153         Reviewed by Brady Eidson.
2154
2155         * WebKitTestRunner/mac/TestControllerMac.mm:
2156         (WTR::TestController::platformResetPreferencesToConsistentValues):
2157         Remove the TestContentExtensions if it exists.
2158         (WTR::TestController::platformConfigureViewForTest):
2159         Log errors in case there are any.
2160
2161 2015-04-20  Alex Christensen  <achristensen@webkit.org>
2162
2163         Properly report errors from _WKUserContentExtensionStore.
2164         https://bugs.webkit.org/show_bug.cgi?id=143808
2165
2166         Reviewed by Darin Adler.
2167
2168         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
2169         (TEST_F):
2170
2171 2015-04-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2172
2173         Add a rule for NetworkCache to watchlist file
2174         https://bugs.webkit.org/show_bug.cgi?id=143945
2175
2176         Reviewed by Sergio Villar Senin.
2177
2178         And add myself to the list of watchers.
2179
2180         * Scripts/webkitpy/common/config/watchlist:
2181
2182 2015-04-19  Darin Adler  <darin@apple.com>
2183
2184         Update RefPtr documentation and deprecation
2185         https://bugs.webkit.org/show_bug.cgi?id=143936
2186
2187         Reviewed by Andreas Kling.
2188
2189         * Scripts/do-webcore-rename: Put in some DeprecatedPassRefPtr renames.
2190
2191 2015-04-19  Yusuke Suzuki  <utatane.tea@gmail.com>
2192
2193         Introduce bytecode intrinsics
2194         https://bugs.webkit.org/show_bug.cgi?id=143926
2195
2196         Reviewed by Filip Pizlo.
2197
2198         Change cpplint to accept emit_intrinsic_XXX.
2199
2200         * Scripts/webkitpy/style/checkers/cpp.py:
2201         (check_identifier_name_in_declaration):
2202
2203 2015-04-18  Simon Fraser  <simon.fraser@apple.com>
2204
2205         Fix lldb_webkit.py to show StringImpls correctly
2206         https://bugs.webkit.org/show_bug.cgi?id=143920
2207
2208         Reviewed by Andreas Kling.
2209         
2210         Update WTFStringImplProvider's is_8bit to use the correct bitmask.
2211
2212         * lldb/lldb_webkit.py:
2213         (WTFStringImplProvider.is_8bit):
2214
2215 2015-04-17  Daniel Bates  <dabates@apple.com>
2216
2217         Not able to build WebKit against iOS Simulator 8.3 SDK
2218         https://bugs.webkit.org/show_bug.cgi?id=143883
2219
2220         Reviewed by David Kilzer.
2221
2222         Copy libraries libWebKitSystemInterfaceIOS{Device, Simulator}8.3.a to the built product directory
2223         so that Xcode uses them.
2224
2225         * Scripts/copy-webkitlibraries-to-product-directory:
2226
2227 2015-04-17  Beth Dakin  <bdakin@apple.com>
2228
2229         Force mouse events should go through normal mouse event handling code paths
2230         https://bugs.webkit.org/show_bug.cgi?id=143749
2231         -and corresponding-
2232         rdar://problem/20472895
2233
2234         Reviewed by Dean Jackson.
2235
2236         Add mouseForceDown/mouseForceUp/mouseForceChanged support to WebKitTestRunner. 
2237         Since there is not a way to create an NSEventTypePressure from scratch, we 
2238         subclass NSEvent and override all of the critical methods.
2239
2240         * WebKitTestRunner/EventSenderProxy.h:
2241         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
2242         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2243         (WTR::EventSendingController::mouseForceDown):
2244         (WTR::EventSendingController::mouseForceUp):
2245         (WTR::EventSendingController::mouseForceChanged):
2246         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2247         * WebKitTestRunner/TestController.cpp:
2248         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
2249         * WebKitTestRunner/mac/EventSenderProxy.mm:
2250         (-[EventSenderPressureEvent initAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
2251         (-[EventSenderPressureEvent timestamp]):
2252         (-[EventSenderPressureEvent type]):
2253         (-[EventSenderPressureEvent locationInWindow]):
2254         (-[EventSenderPressureEvent location]):
2255         (-[EventSenderPressureEvent stage]):
2256         (-[EventSenderPressureEvent pressure]):
2257         (-[EventSenderPressureEvent phase]):
2258         (-[EventSenderPressureEvent eventNumber]):
2259         (WTR::EventSenderProxy::mouseForceDown):
2260         (WTR::EventSenderProxy::mouseForceUp):
2261         (WTR::EventSenderProxy::mouseForceChanged):
2262
2263 2015-04-17  Alexey Proskuryakov  <ap@apple.com>
2264
2265         build.webkit.org/dashboard still shows obsolete results for out of order builds sometimes
2266         https://bugs.webkit.org/show_bug.cgi?id=143885
2267
2268         Reviewed by Tim Horton.
2269
2270         Fixed a case where we have two builds with the same revision(s). An in order build
2271         is one for which the revision is strictly higher.
2272
2273         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2274         (BuildbotQueue.prototype._checkForInOrderResult):
2275         (BuildbotQueue.prototype.compareIterationsByRevisions):
2276
2277 2015-04-17  Commit Queue  <commit-queue@webkit.org>
2278
2279         Unreviewed, rolling out r182912 and r182920.
2280         https://bugs.webkit.org/show_bug.cgi?id=143881
2281
2282         Build breakage in some configurations (Requested by ap on
2283         #webkit).
2284
2285         Reverted changesets:
2286
2287         "Force mouse events should go through normal mouse event
2288         handling code paths"
2289         https://bugs.webkit.org/show_bug.cgi?id=143749
2290         http://trac.webkit.org/changeset/182912
2291
2292         http://trac.webkit.org/changeset/182920
2293
2294 2015-04-17  Csaba Osztrogonác  <ossy@webkit.org>
2295
2296         [GTK] One more unreviewed fix after r182882.
2297
2298         * TestWebKitAPI/PlatformGTK.cmake: Added back the WebKit2's forwarding header generator dependency.
2299
2300 2015-04-17  Csaba Osztrogonác  <ossy@webkit.org>
2301
2302         [GTK] Unreviewed speculative clean build fix after r182882.
2303
2304         TestWebKitAPI's forwarding header generator depended on WeKit2's
2305         which generated SOUP related forwarding headers too.
2306
2307         This dependency isn't necessary and was removed by r182882 to make
2308         forwarding header generators parallelizable. But in this case
2309         TestWebKitAPI's and WebKitTestRunner's forwarding header generator
2310         should generate SOUP related forwarding headers too similar to EFL.
2311
2312         * TestWebKitAPI/PlatformGTK.cmake:
2313         * WebKitTestRunner/PlatformGTK.cmake:
2314
2315 2015-04-17  Carlos Garcia Campos  <cgarcia@igalia.com>
2316
2317         [SOUP] Redirect to non HTTP destination is broken
2318         https://bugs.webkit.org/show_bug.cgi?id=143866
2319
2320         Reviewed by Sergio Villar Senin.
2321
2322         Add a unit test to check that redirect to a data URI works.
2323
2324         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
2325         (testRedirectToDataURI):
2326         (serverCallback):
2327         (beforeAll):
2328
2329 2015-04-16  Jake Nielsen  <jacob_nielsen@apple.com>
2330
2331         Changes method of quitting iOS Simulator to be more correct.
2332         https://bugs.webkit.org/show_bug.cgi?id=143847
2333         <rdar://problem/20530344>
2334
2335         Reviewed by Darin Adler.
2336
2337         Fixes by addressing the app by ID rather than by name.
2338
2339         * Scripts/webkitdirs.pm:
2340         (quitIOSSimulator):
2341         * Scripts/webkitpy/port/ios.py:
2342         (IOSSimulatorPort.check_sys_deps):
2343
2344 2015-04-16  Anders Carlsson  <andersca@apple.com>
2345
2346         Deprecate _WKWebsiteDataStore in favor of WKWebsiteDataStore
2347         https://bugs.webkit.org/show_bug.cgi?id=143844
2348
2349         Reviewed by Dan Bernstein.
2350
2351         * MiniBrowser/mac/AppDelegate.m:
2352         (-[BrowserAppDelegate newPrivateWindow:]):
2353         * MiniBrowser/mac/WK2BrowserWindowController.m:
2354         (-[WK2BrowserWindowController initWithConfiguration:]):
2355         (-[WK2BrowserWindowController fetchWebsiteData:]):
2356         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
2357         (-[WK2BrowserWindowController clearWebsiteData:]):
2358
2359 2015-04-16  Alex Christensen  <achristensen@webkit.org>
2360
2361         32-bit build fix.
2362
2363         * WebKitTestRunner/mac/TestControllerMac.mm:
2364         (WTR::TestController::platformResetPreferencesToConsistentValues):
2365         (WTR::TestController::platformConfigureViewForTest):
2366         Added WK_API_ENABLED.
2367
2368 2015-04-16  Alex Christensen  <achristensen@webkit.org>
2369
2370         Removed unused WKUserContentFilterRef.
2371         https://bugs.webkit.org/show_bug.cgi?id=143852
2372
2373         Reviewed by Sam Weinig.
2374
2375         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
2376         * WebKitTestRunner/mac/TestControllerMac.mm:
2377         (WTR::TestController::platformResetPreferencesToConsistentValues):
2378         (WTR::TestController::platformConfigureViewForTest):
2379
2380 2015-04-16  Jake Nielsen  <jacob_nielsen@apple.com>
2381
2382         Unreviewed. Adding myself as a commiter in contributers.json.
2383
2384         * Scripts/webkitpy/common/config/contributors.json:
2385
2386 2015-04-16  Alexey Proskuryakov  <ap@apple.com>
2387
2388         It is very hard to attach a debugger to WebProcess to debug tests
2389         https://bugs.webkit.org/show_bug.cgi?id=143837
2390
2391         Reviewed by Chris Dumez.
2392
2393         --no-timeout used to only affect waitUntilDone timeout, but not IPC timeout in
2394         WebKitTestRunner, and not pipe reading timeout in run-webkit-tests.
2395
2396         Now it disables all timeouts in tools, as is best for debugging tests.
2397
2398         * Scripts/webkitpy/port/driver.py: (Driver.run_test): Respect --no-timeout, so
2399         that the script doesn't terminate DRT/WKTR when there is no output for a long time.
2400
2401         * WebKitTestRunner/Options.cpp: Removed --no-timeout-at-all, as --no-timeout
2402         now has the same functionality.
2403
2404 2015-04-16  Beth Dakin  <bdakin@apple.com>
2405
2406         Force mouse events should go through normal mouse event handling code paths
2407         https://bugs.webkit.org/show_bug.cgi?id=143749
2408         -and corresponding-
2409         rdar://problem/20472895
2410
2411         Reviewed by Dean Jackson.
2412
2413         Add mouseForceDown/mouseForceUp/mouseForceChanged support to WebKitTestRunner. 
2414         Since there is not a way to create an NSEventTypePressure from scratch, we 
2415         subclass NSEvent and override all of the critical methods.
2416
2417         * WebKitTestRunner/EventSenderProxy.h:
2418         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
2419         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2420         (WTR::EventSendingController::mouseForceDown):
2421         (WTR::EventSendingController::mouseForceUp):
2422         (WTR::EventSendingController::mouseForceChanged):
2423         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2424         * WebKitTestRunner/TestController.cpp:
2425         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
2426         * WebKitTestRunner/mac/EventSenderProxy.mm:
2427         (-[EventSenderPressureEvent initAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
2428         (-[EventSenderPressureEvent timestamp]):
2429         (-[EventSenderPressureEvent type]):
2430         (-[EventSenderPressureEvent locationInWindow]):
2431         (-[EventSenderPressureEvent location]):
2432         (-[EventSenderPressureEvent stage]):
2433         (-[EventSenderPressureEvent pressure]):
2434         (-[EventSenderPressureEvent phase]):
2435         (-[EventSenderPressureEvent eventNumber]):
2436         (WTR::EventSenderProxy::mouseForceDown):
2437         (WTR::EventSenderProxy::mouseForceUp):
2438         (WTR::EventSenderProxy::mouseForceChanged):
2439
2440 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
2441
2442         [EFL] Bump LLVM to version 3.6.0 on X86_64
2443         https://bugs.webkit.org/show_bug.cgi?id=143604
2444
2445         Reviewed by Gyuyoung Kim.
2446
2447         * efl/jhbuild.modules:
2448         * efl/patches/llvm-elf-add-stackmaps-arm64.patch: Added the necessary part of llvm-elf-add-stackmaps.patch.
2449         * efl/patches/llvm-elf-add-stackmaps.patch: Removed, it is included in LLVM 3.6.0 release.
2450         * efl/patches/llvm-elf-allow-fde-references-outside-the-2gb-range.patch: Removed, it is included in LLVM 3.6.0 release.
2451         * 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.
2452
2453 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
2454
2455         [EFL] Remove an unnecessary workaround from jhbuildrc
2456         https://bugs.webkit.org/show_bug.cgi?id=143823
2457
2458         Reviewed by Gyuyoung Kim.
2459
2460         * efl/jhbuildrc:
2461
2462 2015-04-16  Csaba Osztrogonác  <ossy@webkit.org>
2463
2464         [GTK] Run forwarding headers generator unconditionally
2465         https://bugs.webkit.org/show_bug.cgi?id=143819
2466
2467         Reviewed by Carlos Garcia Campos.
2468
2469         * TestWebKitAPI/PlatformGTK.cmake:
2470         * WebKitTestRunner/PlatformGTK.cmake:
2471
2472 2015-04-15  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2473
2474         [EFL] Add gnutls to jhbuild.module
2475         https://bugs.webkit.org/show_bug.cgi?id=143777
2476
2477         Reviewed by Csaba Osztrogonác.
2478
2479         EFL port has required at least 3.0.0 version of gnutls since r176712.
2480         However some old linux distributions don't support 3.0.0 version. Besides
2481         other projects sometimes need to use lower version of gnutls.
2482
2483         This patch supports to download gnutls through jhbuild, and use it.
2484
2485         * efl/install-dependencies: Add nettle-dev dependency and remove libgnutls28-dev. 
2486         * efl/jhbuild.modules: Download 3.3 version because 3.3 version is stable version.
2487
2488 2015-04-15  Mark Lam  <mark.lam@apple.com>
2489
2490         Remove obsolete VMInspector debugging tool.
2491         https://bugs.webkit.org/show_bug.cgi?id=143798
2492
2493         Reviewed by Michael Saboff.
2494
2495         * TestWebKitAPI/CMakeLists.txt:
2496         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
2497         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
2498         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2499         * TestWebKitAPI/Tests/JavaScriptCore/VMInspector.cpp: Removed.
2500
2501 2015-04-15  Jer Noble  <jer.noble@apple.com>
2502
2503         Unreviewed gardening; Make the previous commit apply only _post_ Yosemite.
2504
2505         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
2506
2507 2015-04-15  Jer Noble  <jer.noble@apple.com>
2508
2509         Unreviewed gardening; disable FullscreenZoomInitialFrame.WebKit2 API test post-Yosemite.
2510
2511         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
2512         (TestWebKitAPI::TEST_F):
2513
2514 2015-04-15  Chris Dumez  <cdumez@apple.com>
2515
2516         [Win] DRT does not seem to reset the 'UsesPageCache' setting between tests
2517         https://bugs.webkit.org/show_bug.cgi?id=143779
2518
2519         Reviewed by Brent Fulgham.
2520
2521         Reset the 'UsesPageCache' setting to FALSE between tests on Windows,
2522         similarly to what is done on Mac / WK1. Without this, PageCache could
2523         stay enabled after page cache tests and cause weird behaviors.
2524
2525         * DumpRenderTree/win/DumpRenderTree.cpp:
2526         (resetWebPreferencesToConsistentValues):
2527
2528 2015-04-14  Simon Fraser  <simon.fraser@apple.com>
2529
2530         Re-enable custom dilation for antialiased fonts
2531         https://bugs.webkit.org/show_bug.cgi?id=143738
2532
2533         Reviewed by Tim Horton.
2534         
2535         Enabling custom dilation for antialised fonts broke layout tests, so re-land it,
2536         but disable in WebKitTestRunner and DumpRenderTree. The latter requires adding
2537         a private WebKit pref. This pref defaults to YES, enabling the feature by default
2538         in WK1 as we do for WK2.
2539
2540         * DumpRenderTree/mac/DumpRenderTree.mm:
2541         (resetWebPreferencesToConsistentValues):
2542         * WebKitTestRunner/TestController.cpp:
2543         (WTR::TestController::resetPreferencesToConsistentValues):
2544
2545 2015-04-14  Brent Fulgham  <bfulgham@apple.com>
2546
2547         Correct layering violation in DumpRenderTree Build
2548         https://bugs.webkit.org/show_bug.cgi?id=143732
2549
2550         Reviewed by Simon Fraser.
2551
2552         Correct a layering violation in DumpRenderTree by calling functions on the
2553         WebCoreTestSupport library, rather than attempting to work with WebCore
2554         types directly.
2555
2556         * DumpRenderTree/mac/EventSendingController.mm:
2557         (-[EventSendingController monitorWheelEvents]): Call methods on WebCoreTestSupport, rather
2558         than WebCore itself.,
2559         (-[EventSendingController callAfterScrollingCompletes:]): Ditto.
2560
2561 2015-04-14  Benjamin Poulain  <benjamin@webkit.org>
2562
2563         Add a conservative DFA minimizer for the content extension matcher
2564         https://bugs.webkit.org/show_bug.cgi?id=143501
2565
2566         Reviewed by Alex Christensen.
2567
2568         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2569         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
2570
2571 2015-04-14  Daniel Bates  <dabates@apple.com>
2572
2573         Skip failing test Tests/WebKit2Cocoa/FixedLayoutSize.mm on iOS
2574         https://bugs.webkit.org/show_bug.cgi?id=143693
2575         <rdar://problem/20530316>
2576
2577         Reviewed by Tim Horton.
2578
2579         Skip the test Tests/WebKit2Cocoa/FixedLayoutSize.mm as we do not plan
2580         to use the fixed layout code on iOS at this time.
2581
2582         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Add !PLATFORM(IOS)-guard.
2583
2584 2015-04-14  Dominik Röttsches  <dominik.rottsches@intel.com>
2585
2586         Remove myself from watchlist, remove empty Cairo and HarfBuzz watchlists
2587         https://bugs.webkit.org/show_bug.cgi?id=143705
2588
2589         Unreviewed change to watchlist file.
2590
2591         * Scripts/webkitpy/common/config/watchlist:
2592
2593 2015-04-14  KwangHyuk Kim  <hyuki.kim@samsung.com>
2594
2595         [EFL] favicon wasn't updated for google.com sometimes.
2596         https://bugs.webkit.org/show_bug.cgi?id=141940
2597
2598         Reviewed by Gyuyoung Kim.
2599
2600         As elm_entry_utf8_to_markup can include additional characters, parameter for the
2601         on_icon_changed_cb was just set by using url string retrieved by ewk_view_url_get().
2602
2603         * MiniBrowser/efl/main.c:
2604         (on_url_changed):
2605
2606 2015-04-13  Tim Horton  <timothy_horton@apple.com>
2607
2608         Add a persistent, fixed scale factor to make it easy to scale down WK(Web)Views
2609         https://bugs.webkit.org/show_bug.cgi?id=143560
2610         <rdar://problem/16302047>
2611
2612         Reviewed by Darin Adler.
2613
2614         * MiniBrowser/mac/BrowserWindowController.h:
2615         * MiniBrowser/mac/MainMenu.xib:
2616         * MiniBrowser/mac/WK1BrowserWindowController.m:
2617         (-[WK1BrowserWindowController setScale:]):
2618         * MiniBrowser/mac/WK2BrowserWindowController.m:
2619         (viewScaleForMenuItemTag):
2620         (-[WK2BrowserWindowController setScale:]):
2621         (-[WK2BrowserWindowController validateMenuItem:]):
2622         Add a submenu with four view scale options: 100%, 75%, 50%, and 25%.
2623         When in use, we resize the window so that the view fits correctly, and
2624         use automaticallyComputesFixedlayoutSizeFromViewScale so that the page's
2625         layout size will not change when scaling down (but will update appropriately
2626         when the view is resized).
2627
2628 2015-04-13  Alexey Proskuryakov  <ap@apple.com>
2629
2630         build.webkit.org/dashboard shows obsolete results when builds are substantially out of order
2631         https://bugs.webkit.org/show_bug.cgi?id=138630
2632
2633         Reviewed by Tim Horton.
2634
2635         Make sure that we always load at least one in order productive iteration.
2636
2637         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2638         (BuildbotQueue): Added _hasLoadedIterationForInOrderResult to track whether the queue
2639         is done loading at least one iteration that wasn't an out of order build.
2640         (BuildbotQueue.prototype.loadMoreHistoricalIterations): Listen for iteration load
2641         when that's needed to check for out of order builds.
2642         (BuildbotQueue.prototype.update): Ditto.
2643         (BuildbotQueue.prototype._checkForInOrderResult): Check if the queue has an in order
2644         result, and if it does not, load more iterations.
2645         (BuildbotQueue.prototype.loadAll): We have everything loaded, so we certainly have
2646         an in order iteration loaded too.
2647         (BuildbotQueue.prototype.compareIterations): Extracted from sortIterations(), and
2648         corrected to always sort loaded iterations before unloaded ones.
2649
2650 2015-04-10  Brent Fulgham  <bfulgham@apple.com>
2651
2652         Expand test infrastructure to support scrolling tests
2653         https://bugs.webkit.org/show_bug.cgi?id=143286
2654         <rdar://problem/20375516>
2655
2656         Reviewed by Simon Fraser.
2657
2658         Extend the WK1 and WK2 test programs to support two new EventSender commands:
2659         (1) monitorWheelEvents: Tells DRT and WKTR to track the wheel event and animation state, so that we can
2660         block executing tests until WebKit has completed any rubberband, scroll, or scroll-snap animations.
2661         (2) callAfterScrollingCompletes: Provide a callback method to be executed when WebKit determines that
2662         relevant rubberband, scroll, and scroll-snap animations are finished.
2663
2664         * DumpRenderTree/mac/EventSendingController.mm:
2665         (+[EventSendingController isSelectorExcludedFromWebScript:]): Update to recognize 'callAfterScrollingCompletes:'
2666         and 'monitorWheelEvents'.
2667         (+[EventSendingController webScriptNameForSelector:]): Ditto.
2668         (-[EventSendingController mouseScrollByX:andY:continuously:]): Add some stderr logging to help when
2669         debugging test failures.
2670         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]): Ditto.
2671         (-[EventSendingController callAfterScrollingCompletes:]): Added. Protects the JSObject representing the callback
2672         function, then passes it to WebCore to be called once the test deferrals have been cleared.
2673         (-[EventSendingController monitorWheelEvents:]): Added. Activates the wheel event tracking used by the
2674         'callAfterScrollingCompletes' method.
2675         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Added signatures for 'callAfterScrollingCompletes'
2676         and 'monitorWheelEvents'.
2677         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2678         (WTR::EventSendingController::callAfterScrollingCompletes): Added. Protects the JSObject representing the
2679         callback function, then passes it to WebCore to be called once the test deferrals have been cleared
2680         (WTR::EventSendingController::monitorWheelEvents): Added. Activates the wheel event tracking used by the
2681         'callAfterScrollingComplates' method.
2682         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2683
2684 2015-04-13  Alexey Proskuryakov  <ap@apple.com>
2685
2686         build.webkit.org/dashboard: Crash-only queues should show failure when testing fails to start
2687         https://bugs.webkit.org/show_bug.cgi?id=143656
2688
2689         Reviewed by Darin Adler.
2690
2691         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2692         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
2693
2694 2015-04-13  Sergio Villar Senin  <svillar@igalia.com>
2695
2696         REGRESSION(r181134): [GTK] Test /webkit2/WebKitWebView/insecure-content is failing after r181134
2697         https://bugs.webkit.org/show_bug.cgi?id=142387
2698
2699         Reviewed by Carlos Garcia Campos.
2700
2701         Running mixed content is blocked by default since r181134. Updated
2702         the test case to reflect the new default settings.
2703
2704         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
2705         (testInsecureContent):
2706
2707 2015-04-13  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2708
2709         Fix wrong value variable in ENABLE_NAVIGATOR_HWCONCURRENCY
2710         https://bugs.webkit.org/show_bug.cgi?id=143667
2711
2712         Reviewed by Csaba Osztrogonác.
2713
2714         ENABLE_NAVIGATOR_HWCONCURRENCY has used $registerProtocolHandlerSupport value variable
2715         since r169017. Added $hardwareConcurrencySupport for it.
2716
2717         Additionally networkInfoSupport is removed because this feature was removed due to spec out.
2718
2719         * Scripts/webkitperl/FeatureList.pm:
2720
2721 2015-04-13  Csaba Osztrogonác  <ossy@webkit.org>
2722
2723         [cmake] Add ENABLE(ATTACHMENT_ELEMENT) to the build system
2724         https://bugs.webkit.org/show_bug.cgi?id=143664
2725
2726         Reviewed by Gyuyoung Kim.
2727
2728         * Scripts/webkitperl/FeatureList.pm:
2729
2730 2015-04-12  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2731
2732         [EFL] Enable Media Source
2733         https://bugs.webkit.org/show_bug.cgi?id=143635
2734
2735         Reviewed by Csaba Osztrogonác.
2736
2737         * Scripts/webkitperl/FeatureList.pm: Enable media source on efl port.
2738
2739 2015-04-12  Alexey Proskuryakov  <ap@apple.com>
2740
2741         build.webkit.org/dashboard: Crash-only queues should show failure when failure limit is exceeded
2742         https://bugs.webkit.org/show_bug.cgi?id=143646
2743
2744         Reviewed by David Kilzer.
2745
2746         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2747         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
2748
2749 2015-04-11  Alexey Proskuryakov  <ap@apple.com>
2750
2751         Use en_US spell checker for tests on Mac instead of Multilingual
2752         https://bugs.webkit.org/show_bug.cgi?id=143641
2753
2754         Reviewed by Dan Bernstein.
2755
2756         * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
2757         While at it, override NSUserDictionaryReplacementItems, so that user replacements
2758         cannot affect tests.
2759
2760         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: (WTR::InjectedBundle::platformInitialize):
2761         Made this more like WebKit1 version.
2762
2763 2015-04-10  Tim Horton  <timothy_horton@apple.com>
2764
2765         Replace setFixedLayoutSizeEnabled: with an enum of layout modes
2766         https://bugs.webkit.org/show_bug.cgi?id=143576
2767
2768         Reviewed by Simon Fraser.
2769
2770         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:
2771         (TEST):
2772         Adopt.
2773
2774 2015-04-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2775
2776         Update my email address and expertise.
2777         https://bugs.webkit.org/show_bug.cgi?id=143586
2778
2779         Unreviewed, just update my info.
2780
2781         * Scripts/webkitpy/common/config/contributors.json:
2782
2783 2015-04-09  Joseph Pecoraro  <pecoraro@apple.com>
2784
2785         Flakiness Dashboard not loading insecure content if loaded with https URL
2786         https://bugs.webkit.org/show_bug.cgi?id=143570
2787
2788         Reviewed by Alexey Proskuryakov.
2789
2790         * TestResultServer/app.yaml:
2791         * TestResultServer/static-dashboards/loader.js:
2792         Switch to https scheme.
2793
2794 2015-04-09  Csaba Osztrogonác  <ossy@webkit.org>
2795
2796         [EFL][GTK] WebKit2's generate-forwarding-headers.pl runs too many times
2797         https://bugs.webkit.org/show_bug.cgi?id=142907
2798
2799         Reviewed by Carlos Garcia Campos.
2800
2801         * TestWebKitAPI/PlatformEfl.cmake:
2802         * TestWebKitAPI/PlatformGTK.cmake:
2803         * WebKitTestRunner/PlatformEfl.cmake:
2804         * WebKitTestRunner/PlatformGTK.cmake:
2805
2806 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
2807
2808         [Mac] Unreviewed test fix after r182584
2809         https://bugs.webkit.org/show_bug.cgi?id=143452
2810
2811         Put both of these tests back to their original state now that the underlying
2812         problem is fixed.
2813
2814         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
2815         (TestWebKitAPI::TEST):
2816         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
2817         (TestWebKitAPI::TEST):
2818
2819 2015-04-08  Filip Pizlo  <fpizlo@apple.com>
2820
2821         run-jsc-benchmarks geomean of preferred means shouldn't print the VMs header twice
2822         https://bugs.webkit.org/show_bug.cgi?id=143553
2823
2824         Reviewed by Ryosuke Niwa.
2825         
2826         Remove the spurious printVMs left over from an earlier change.
2827
2828         * Scripts/run-jsc-benchmarks:
2829
2830 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
2831
2832         [Mac] Unreviewed test fix after r182581
2833
2834         The behavior of control-left-click is controlled by a system preference.
2835         Our test bots have this turned off.
2836
2837         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
2838         (TestWebKitAPI::TEST):
2839         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
2840         (TestWebKitAPI::TEST):
2841
2842 2015-04-08  Brent Fulgham  <bfulgham@apple.com>
2843
2844         [Mac] WebKit is not honoring OS preferences for secondary click behaviors
2845         https://bugs.webkit.org/show_bug.cgi?id=143452
2846         <rdar://problem/20437483>
2847
2848         Reviewed by Tim Horton.
2849
2850         Add a new API test to confirm that Cocoa mouse button press events are properly
2851         tagged with the desired menu behavior (i.e., 'None', 'Context', or 'Action'.)
2852
2853         The WK2 test dispatches mouse down events to a PlatformWebView, and checks with
2854         some registered event handlers that the expected button press and context menu
2855         events are received.
2856
2857         The WK1 unit test creates an NSEvent with the desired button press state, and then
2858         uses WebCore::PlatformEventFactory::createPlatformMouseEvent to create a WebCore event.
2859         We check the resulting PlatformMouseEvent for proper state.
2860
2861         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new test files.
2862         * TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp: Added.
2863         (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
2864         * TestWebKitAPI/Tests/WebKit2/mouse-button-listener.html: Added.
2865         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm: Added.
2866         (TestWebKitAPI::canCallMenuTypeForEvent): Helper function.
2867         (TestWebKitAPI::buildAndPerformTest): Helper function to build/run an individual test.
2868         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
2869         (TestWebKitAPI::PlatformWebView::simulateButtonClick): Added method to support firing
2870         mouse down events.
2871         * TestWebKitAPI/mac/PlatformWebViewMac.h:
2872
2873 2015-04-08  Michael Catanzaro  <mcatanzaro@igalia.com>
2874
2875         [GTK] Add pango to jhbuild-optional.modules
2876         https://bugs.webkit.org/show_bug.cgi?id=143537
2877
2878         Reviewed by Martin Robinson.
2879
2880         * gtk/jhbuild-optional.modules: Add pango.
2881
2882 2015-04-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2883
2884         [XvfbDriver] Regular expression used to match running X servers fails on Fedora 22.
2885         https://bugs.webkit.org/show_bug.cgi?id=143530
2886
2887         Reviewed by Žan Doberšek.
2888
2889         Assume that the default value for display (:0) is reserved and start checking on :1
2890         Adjust webkitpy test and include two new test cases for this bug (display number not specified)
2891         and for X server named Xorg.bin (previous bug 1376599)
2892
2893         * Scripts/webkitpy/port/xvfbdriver.py:
2894         (XvfbDriver._next_free_display)
2895         * Scripts/webkitpy/port/xvfbdriver_unittest.py:
2896         (XvfbDriverTest.test_start_no_pixel_tests):
2897         (XvfbDriverTest.test_start_pixel_tests):
2898         (XvfbDriverTest.test_start_arbitrary_worker_number):
2899         (XvfbDriverTest.test_next_free_display):
2900         (XvfbDriverTest.test_start_next_worker):
2901 2015-04-08  Alex Christensen  <achristensen@webkit.org>
2902
2903         Block popups from content extensions.
2904         https://bugs.webkit.org/show_bug.cgi?id=143497
2905
2906         Reviewed by Brady Eidson.
2907
2908         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2909         (TestWebKitAPI::TEST_F):
2910         Added popup test.
2911
2912 2015-04-08  Alex Christensen  <achristensen@webkit.org> and Patrick Gansterer  <paroga@webkit.org>
2913
2914         Add CMake build system for WinCairo port.
2915         https://bugs.webkit.org/show_bug.cgi?id=115944
2916
2917         Reviewed by Chris Dumez.
2918
2919         * CMakeLists.txt:
2920         * WinLauncher/CMakeLists.txt: Added.
2921
2922 2015-04-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2923
2924         [GTK] Crash in DOMObjectCache when a wrapped object owned by the cache is unreffed by the user
2925         https://bugs.webkit.org/show_bug.cgi?id=143521
2926
2927         Reviewed by Martin Robinson.
2928
2929         Add a way to detect unexpected web process crashes to WebViewTest,
2930         and a test case to testDOMCache to trigger the crash.
2931
2932         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
2933         (WebKitDOMNodeTest::testDOMCache):
2934         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
2935         (testWebKitWebViewProcessCrashed):
2936         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
2937         (WebViewTest::WebViewTest):
2938         (WebViewTest::webProcessCrashed):
2939         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
2940
2941 2015-04-07  Alexey Proskuryakov  <ap@apple.com>
2942
2943         PageVisibilityStateWithWindowChanges should only be enabled on Yosemite
2944         rdar://problem/20461342
2945
2946         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
2947
2948 2015-04-07  Commit Queue  <commit-queue@webkit.org>
2949
2950         Unreviewed, rolling out r182511.
2951         https://bugs.webkit.org/show_bug.cgi?id=143507
2952
2953         caused debug test failures (Requested by alexchristensen on
2954         #webkit).
2955
2956         Reverted changeset:
2957
2958         "Block popups from content extensions."
2959         https://bugs.webkit.org/show_bug.cgi?id=143497
2960         http://trac.webkit.org/changeset/182511
2961
2962 2015-04-07  Alex Christensen  <achristensen@webkit.org>
2963
2964         Block popups from content extensions.
2965         https://bugs.webkit.org/show_bug.cgi?id=143497
2966
2967         Reviewed by Brady Eidson.
2968
2969         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2970         (TestWebKitAPI::TEST_F):
2971         Added popup test.
2972
2973 2015-04-07  Benjamin Poulain  <benjamin@webkit.org>
2974
2975         Get the features.json files ready for open contributions
2976         https://bugs.webkit.org/show_bug.cgi?id=143436
2977
2978         Reviewed by Darin Adler.
2979
2980         * Scripts/webkitpy/style/checkers/jsonchecker.py:
2981         (JSONFeaturesChecker.check):
2982         Extend the syntax checking a bit, but leave everything non-mandatory
2983         very loose until we figure what fields are important.
2984
2985 2015-04-07  Tim Horton  <timothy_horton@apple.com>
2986
2987         Expose and test fixedLayoutSize via modern WebKit SPI
2988         https://bugs.webkit.org/show_bug.cgi?id=143500
2989
2990         Reviewed by Simon Fraser.
2991
2992         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2993         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm: Added.
2994         (-[FixedLayoutSizeNavigationDelegate webView:didFinishNavigation:]):
2995         (TEST):
2996         Add a test that verifies that fixedLayoutSize works at all, that
2997         it persists through a navigation, and that turning it back off reverts to
2998         laying out at the size of the view.
2999
3000 2015-04-07  Michael Catanzaro  <mcatanzaro@igalia.com>
3001
3002         Unreviewed. Add myself as a committer.
3003
3004         * Scripts/webkitpy/common/config/contributors.json:
3005
3006 2015-04-07  Brent Fulgham  <bfulgham@apple.com>
3007
3008         [Win] Bots complain about missing /etc/catalog
3009         https://bugs.webkit.org/show_bug.cgi?id=143484
3010
3011         Reviewed by Chris Dumez.
3012
3013         The libxml2 build on Mac, iOS, and Windows does not provide the set
3014         of default catalog files. We do not actually need these for our
3015         purposes, but we get warnings and some bot flakiness because they
3016         are not present.
3017
3018         We can avoid both problems the same way the Mac and iOS ports do,
3019         by setting the XML_CATALOG_FILES environment variable to 'empty string',
3020         which avoid the warnings and bot problems.
3021
3022         * Scripts/webkitpy/port/win.py:
3023         (WinPort.setup_environ_for_server): Added.
3024
3025 2015-04-06  Sam Weinig  <sam@webkit.org>
3026
3027         Use content extensions in MiniBrowser.
3028         https://bugs.webkit.org/show_bug.cgi?id=143446
3029
3030         Reviewed by Alex Christensen.
3031
3032         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
3033         * MiniBrowser/mac/AppDelegate.h:
3034         * MiniBrowser/mac/AppDelegate.m:
3035         (-[BrowserAppDelegate init]):
3036         (-[BrowserAppDelegate showExtensionsManager:]):
3037         (-[BrowserAppDelegate userContentContoller]):
3038         * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
3039         * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
3040         (-[ExtensionManagerWindowController init]):
3041         (-[ExtensionManagerWindowController windowDidLoad]):
3042         (-[ExtensionManagerWindowController add:]):
3043         (-[ExtensionManagerWindowController remove:]):
3044         * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
3045         * MiniBrowser/mac/MainMenu.xib:
3046
3047 2015-04-07  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3048
3049         web-platform-tests server should retrieve the modules file relatively to its docroot path
3050         https://bugs.webkit.org/show_bug.cgi?id=142742
3051
3052         Reviewed by Darin Adler.
3053
3054         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3055         (WebPlatformTestServer._install_modules): Compute the modules description file path according wpt server doc root path.
3056
3057 2015-04-06  Commit Queue  <commit-queue@webkit.org>
3058
3059         Unreviewed, rolling out r182445.
3060         https://bugs.webkit.org/show_bug.cgi?id=143459
3061
3062         broke 32 bit build (Requested by alexchristensen on #webkit).
3063
3064         Reverted changeset:
3065
3066         "Use content extensions in MiniBrowser."
3067         https://bugs.webkit.org/show_bug.cgi?id=143446
3068         http://trac.webkit.org/changeset/182445
3069
3070 2015-04-06  Sam Weinig  <sam@webkit.org>
3071
3072         Use content extensions in MiniBrowser.
3073         https://bugs.webkit.org/show_bug.cgi?id=143446
3074
3075         Reviewed by Alex Christensen.
3076
3077         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
3078         * MiniBrowser/mac/AppDelegate.h:
3079         * MiniBrowser/mac/AppDelegate.m:
3080         (-[BrowserAppDelegate init]):
3081         (-[BrowserAppDelegate showExtensionsManager:]):
3082         (-[BrowserAppDelegate userContentContoller]):
3083         * MiniBrowser/mac/ExtensionManagerWindowController.h: Added.
3084         * MiniBrowser/mac/ExtensionManagerWindowController.m: Added.
3085         (-[ExtensionManagerWindowController init]):
3086         (-[ExtensionManagerWindowController windowDidLoad]):
3087         (-[ExtensionManagerWindowController add:]):
3088         (-[ExtensionManagerWindowController remove:]):
3089         * MiniBrowser/mac/ExtensionManagerWindowController.xib: Added.
3090         * MiniBrowser/mac/MainMenu.xib:
3091
3092 2015-04-06  Michael Catanzaro  <mcatanzaro@gnome.org>
3093
3094         [GTK] install-dependencies should prefer dnf to yum
3095         https://bugs.webkit.org/show_bug.cgi?id=143441
3096
3097         Reviewed by Martin Robinson.
3098
3099         Test for the existance of dnf before yum, and only try to use yum if dnf does not exist.
3100
3101         * gtk/install-dependencies:
3102
3103 2015-04-06  Andy Estes  <aestes@apple.com>
3104
3105         [iOS] 'make clean' fails in Tools/WebKitTestRunner
3106         https://bugs.webkit.org/show_bug.cgi?id=143455
3107
3108         Reviewed by Dan Bernstein.
3109
3110         This Makefile adds '-target WebKitTestRunnerApp' to OTHER_OPTIONS during iOS builds, but the top-level
3111         Makefile.shared adds '-alltargets' for clean builds, and xcodebuild does not allow both -target and -alltargets.
3112
3113         * WebKitTestRunner/Makefile: Don't add '-target WebKitTestRunerApp' to OTHER_OPTIONS on clean builds.
3114
3115 2015-04-06  Alexey Proskuryakov  <ap@apple.com>
3116
3117         WebKit1.SetAndUpdateCacheModelPreferencesChangeMix fails on some machines
3118         https://bugs.webkit.org/show_bug.cgi?id=143450
3119
3120         Reviewed by Anders Carlsson.
3121
3122         * TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm: (TestWebKitAPI::TEST):
3123         Make sure that the view is actually closed, regardless of anything else that happens beneath.
3124         Also, removed unnecessary get() calls.
3125
3126 2015-04-03  Alexey Proskuryakov  <ap@apple.com>
3127
3128         Reduce the dependency on Flash in regression tests
3129         https://bugs.webkit.org/show_bug.cgi?id=143391
3130
3131         Reviewed by Anders Carlsson.
3132
3133         * WebKitTestRunner/TestController.cpp: (WTR::TestController::decidePolicyForPluginLoad):
3134         Only allow QuickTime and the test plug-in.
3135
3136 2015-04-06  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3137
3138         W3C test importer should generate the modules installed dynamically to run wpt tests
3139         https://bugs.webkit.org/show_bug.cgi?id=142738
3140
3141         Reviewed by Ryosuke Niwa.
3142
3143         The test importer can now generate the submodules description file based on information extracted from the corresponding git repository.
3144         The implementation is done within TestDownloader and it is activated for the WPT repository.
3145         LayoutTests/imported/w3c/resources/WPTModules is renamed as LayoutTests/imported/w3c/resources/web-platform-tests-modules.json for that reason.
3146
3147         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3148         (WebPlatformTestServer._install_modules): Updated to cope with path as array.
3149         * Scripts/webkitpy/w3c/test_downloader.py:
3150         (TestDownloader._git_submodules_status): Added so that it can be overriden for unit tests.
3151         (TestDownloader):
3152         (TestDownloader._git_submodules_description): Computes submodule description.
3153         (TestDownloader.generate_git_submodules_description): Write submodule description in a file.
3154         * Scripts/webkitpy/w3c/test_importer.py:
3155         (TestImporter.do_import): Added the possibility to post process the tests.
3156         (TestImporter):
3157         (TestImporter.generate_git_submodules_description_for_all_repositories): Enable generating module description file.
3158         (TestImporter.should_convert_test_harness_links): Updated according new options format.
3159         * Scripts/webkitpy/w3c/test_importer_unittest.py:
3160         (TestImporterTest.import_downloaded_tests): Making use of TestDownloaderMock. 
3161         (TestImporterTest.import_downloaded_tests.TestDownloaderMock): Added to override submodule status gathering.
3162         (TestImporterTest.import_downloaded_tests.TestDownloaderMock.__init__):
3163         (TestImporterTest.import_downloaded_tests.TestDownloaderMock._git_submodules_status):
3164         (TestImporterTest.test_submodules_generation): Added to check that modules description files works.
3165
3166 2015-04-05  Antti Koivisto  <antti@apple.com>
3167
3168         Bloom filter should support longer hashes
3169         https://bugs.webkit.org/show_bug.cgi?id=143419
3170
3171         Reviewed by Dan Bernstein.
3172
3173         * TestWebKitAPI/Tests/WTF/BloomFilter.cpp:
3174         (TestWebKitAPI::generateRandomDigests):
3175         (TestWebKitAPI::TEST):
3176
3177 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
3178
3179         run-jsc-stress-tests --remote should add libllvmForJSC.so to the bundle on Linux
3180         https://bugs.webkit.org/show_bug.cgi?id=143372
3181
3182         Reviewed by Darin Adler.
3183
3184         * Scripts/run-jsc-stress-tests:
3185
3186 2015-04-03  Antti Koivisto  <antti@apple.com>
3187
3188         Add non-counting bloom filter class
3189         https://bugs.webkit.org/show_bug.cgi?id=143366
3190
3191         Reviewed by Sam Weinig.
3192
3193         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3194         * TestWebKitAPI/Tests/WTF/BloomFilter.cpp: Added.
3195         (TestWebKitAPI::generateRandomHashes):
3196         (TestWebKitAPI::TEST):
3197
3198 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
3199
3200         FTL JIT tests should fail if LLVM library isn't available
3201         https://bugs.webkit.org/show_bug.cgi?id=143374
3202
3203         Reviewed by Mark Lam.
3204
3205         * Scripts/run-jsc-stress-tests:
3206
3207 2015-04-03  Csaba Osztrogonác  <ossy@webkit.org>
3208
3209         [EFL] Speedup jhbuild with disable running autogen.sh
3210         https://bugs.webkit.org/show_bug.cgi?id=143369
3211
3212         Reviewed by Gyuyoung Kim.
3213
3214         * efl/jhbuild.modules:
3215
3216 2015-04-01  Alexey Proskuryakov  <ap@apple.com>
3217
3218         filter-webkit-build should filter out "created by an unsupported XCDependencyGraph build" lines
3219         https://bugs.webkit.org/show_bug.cgi?id=143282
3220
3221         Reviewed by Daniel Bates.
3222
3223         * Scripts/filter-build-webkit: (shouldIgnoreLine): Do it.
3224
3225 2015-04-01  Alexey Proskuryakov  <ap@apple.com>
3226
3227         When LayoutTestHelper fails to start, we continue to run the tests, ending up with mysterious failures
3228         https://bugs.webkit.org/show_bug.cgi?id=143240
3229         rdar://problem/19990425
3230
3231         Reviewed by Tim Horton.
3232
3233         * DumpRenderTree/mac/LayoutTestHelper.m:
3234         (colorProfileURLForDisplay):
3235         (saveDisplayColorProfiles):
3236         Gracefully handle it when the current profile cannot be retrieved, fixing at
3237         least one case when LayoutTestHelper couldn't start.
3238
3239         * Scripts/webkitpy/layout_tests/controllers/manager.py:
3240         (Manager._set_up_run):
3241         (Manager._force_pixel_tests_if_needed):
3242         * Scripts/webkitpy/port/base.py: (Port.to.start_helper):
3243         * Scripts/webkitpy/port/mac.py: (MacPort.start_helper):
3244         Return and check an error from start_helper().
3245
3246 2015-04-01  Brent Fulgham  <bfulgham@apple.com>
3247
3248         [Win] Run test-webkitpy as part of EWS (just like we do on other platforms)
3249         https://bugs.webkit.org/show_bug.cgi?id=143321
3250
3251         Reviewed by Alexey Proskuryakov.
3252
3253         * EWSTools/start-queue-win.sh: Add commands to run 'test-webkitpy' during processing loop.
3254
3255 2015-04-01  Enrica Casucci  <enrica@apple.com>
3256
3257         Injected bundle messages should be at the page level.
3258         https://bugs.webkit.org/show_bug.cgi?id=143283
3259
3260         Reviewed by Alexey Proskuryakov.
3261
3262         Updating WebKitTestRunner to use the new page level messaging.
3263         The author of this patch is Tim Horton, I just finished it.
3264
3265         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
3266         (WTR::EventSendingController::mouseDown):
3267         (WTR::EventSendingController::mouseUp):
3268         (WTR::EventSendingController::mouseMoveTo):
3269         (WTR::EventSendingController::leapForward):
3270         (WTR::EventSendingController::scheduleAsynchronousClick):
3271         (WTR::EventSendingController::keyDown):
3272         (WTR::EventSendingController::scheduleAsynchronousKeyDown):
3273         (WTR::EventSendingController::mouseScrollBy):
3274         (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases):
3275         (WTR::EventSendingController::continuousMouseScrollBy):
3276         (WTR::EventSendingController::addTouchPoint):
3277         (WTR::EventSendingController::updateTouchPoint):
3278         (WTR::EventSendingController::setTouchModifier):
3279         (WTR::EventSendingController::setTouchPointRadius):
3280         (WTR::EventSendingController::touchStart):
3281         (WTR::EventSendingController::touchMove):
3282         (WTR::EventSendingController::touchEnd):
3283         (WTR::EventSendingController::touchCancel):
3284         (WTR::EventSendingController::clearTouchPoints):
3285         (WTR::EventSendingController::releaseTouchPoint):
3286         (WTR::EventSendingController::cancelTouchPoint):
3287         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3288         (WTR::InjectedBundle::didReceiveMessage):
3289         (WTR::InjectedBundle::didReceiveMessageToPage):
3290         (WTR::InjectedBundle::done):
3291         (WTR::InjectedBundle::outputText):
3292         (WTR::InjectedBundle::postNewBeforeUnloadReturnValue):
3293         (WTR::InjectedBundle::postAddChromeInputField):
3294         (WTR::InjectedBundle::postRemoveChromeInputField):
3295         (WTR::InjectedBundle::postFocusWebView):
3296         (WTR::InjectedBundle::postSetBackingScaleFactor):
3297         (WTR::InjectedBundle::postSetWindowIsKey):
3298         (WTR::InjectedBundle::postSimulateWebNotificationClick):
3299         (WTR::InjectedBundle::postSetAddsVisitedLinks):
3300         (WTR::InjectedBundle::setGeolocationPermission):
3301         (WTR::InjectedBundle::setMockGeolocationPosition):
3302         (WTR::InjectedBundle::setMockGeolocationPositionUnavailableError):
3303         (WTR::InjectedBundle::setUserMediaPermission):
3304         (WTR::InjectedBundle::setCustomPolicyDelegate):
3305         (WTR::InjectedBundle::setHidden):
3306         (WTR::InjectedBundle::setCacheModel):
3307         (WTR::InjectedBundle::shouldProcessWorkQueue):
3308         (WTR::InjectedBundle::processWorkQueue):
3309         (WTR::InjectedBundle::queueBackNavigation):
3310         (WTR::InjectedBundle::queueForwardNavigation):
3311         (WTR::InjectedBundle::queueLoad):
3312         (WTR::InjectedBundle::queueLoadHTMLString):
3313         (WTR::InjectedBundle::queueReload):
3314         (WTR::InjectedBundle::queueLoadingScript):
3315         (WTR::InjectedBundle::queueNonLoadingScript):
3316         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3317         (WTR::TestRunner::setHandlesAuthenticationChallenges):
3318         (WTR::TestRunner::setAuthenticationUsername):
3319         (WTR::TestRunner::setAuthenticationPassword):
3320         (WTR::TestRunner::secureEventInputIsEnabled):
3321         (WTR::TestRunner::setBlockAllPlugins):
3322         * WebKitTestRunner/TestController.cpp:
3323         (WTR::TestController::createWebViewWithOptions):
3324         (WTR::TestController::resetStateToConsistentValues):
3325         (WTR::TestController::didReceivePageMessageFromInjectedBundle):
3326         (WTR::TestController::didReceiveSynchronousPageMessageFromInjectedBundle):
3327         * WebKitTestRunner/TestController.h:
3328         * WebKitTestRunner/TestInvocation.cpp:
3329         (WTR::TestInvocation::invoke):
3330         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3331
3332 2015-04-01  Commit Queue  <commit-queue@webkit.org>
3333
3334         Unreviewed, rolling out r182174 and r182177.
3335         https://bugs.webkit.org/show_bug.cgi?id=143314
3336
3337         Try to correct EWS failures (Requested by bfulgham on
3338         #webkit).
3339
3340         Reverted changesets:
3341
3342         "Python SCM should be able to retrieve untracked files"
3343         https://bugs.webkit.org/show_bug.cgi?id=143135
3344         http://trac.webkit.org/changeset/182174
3345
3346         "[buildbot] clean-build script should remove untracked files
3347         and revert local changes too"
3348         https://bugs.webkit.org/show_bug.cgi?id=142400
3349         http://trac.webkit.org/changeset/182177
3350
3351 2015-04-01  Alex Christensen  <achristensen@webkit.org>
3352
3353         [Content Extensions] Properly handle regexes that match everything.
3354         https://bugs.webkit.org/show_bug.cgi?id=143281
3355
3356         Reviewed by Benjamin Poulain.
3357
3358         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3359         (TestWebKitAPI::testRequest):
3360         (TestWebKitAPI::makeBackend):
3361         (TestWebKitAPI::TEST_F):
3362         Removed duplicate code and added test.
3363
3364 2015-03-31  Benjamin Poulain  <bpoulain@apple.com>
3365
3366         Content Extensions: split the state machines to minimize prefix states
3367         https://bugs.webkit.org/show_bug.cgi?id=143253
3368
3369         Reviewed by Alex Christensen.
3370
3371         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3372         (TestWebKitAPI::TEST_F):
3373         (TestWebKitAPI::testPatternStatus):
3374
3375 2015-03-31  Yusuke Suzuki  <utatane.tea@gmail.com>
3376
3377         Clean up Identifier factories to clarify the meaning of StringImpl*
3378         https://bugs.webkit.org/show_bug.cgi?id=143146
3379
3380         Reviewed by Filip Pizlo.
3381
3382         Simple API tests for StringImpl are added.
3383
3384         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3385         (TestWebKitAPI::TEST):
3386
3387 2015-03-31  Csaba Osztrogonác  <ossy@webkit.org>
3388
3389         [EFL] Add AArch64 builder and tester bot to build.webkit.org
3390         https://bugs.webkit.org/show_bug.cgi?id=143092
3391
3392         Reviewed by Gyuyoung Kim.
3393
3394         * BuildSlaveSupport/build.webkit.org-config/config.json:
3395         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3396         (Factory.__init__):
3397         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
3398
3399 2015-03-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3400
3401         [buildbot] clean-build script should remove untracked files and revert local changes too
3402         https://bugs.webkit.org/show_bug.cgi?id=142400
3403
3404         Reviewed by Ryosuke Niwa.
3405
3406         This patch cleans the WebKit folder by reverting tracked files changes and deleting SCM untracked files, including SCM ignored files.
3407         A helper routine SCM.discard_untracked_files is added for that purpose.
3408
3409         * BuildSlaveSupport/clean-build:
3410         (main): Making call to Scripts/clean-webkit
3411         * Scripts/clean-webkit: Added.
3412         (main): Revert changes and delete untracked files.
3413         * Scripts/webkitpy/common/checkout/scm/scm.py:
3414         (SCM.discard_untracked_files): Helper function to discard untracked files or folders found by SCM.
3415         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
3416         (SCMTest._shared_test_discard_untracked_files):
3417         (test_discard_untracked_files): Tests that untracked file and untracked folder get discarded correctly.
3418
3419 2015-03-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3420
3421         Python SCM should be able to retrieve untracked files
3422         https://bugs.webkit.org/show_bug.cgi?id=143135
3423
3424         Reviewed by Ryosuke Niwa.
3425
3426         This patch introduces SCM.untracked_files to retrieve a list of untracked files.
3427         Ignored files may be included or not in this list according boolean passed to the function.
3428
3429         * Scripts/webkitpy/common/checkout/scm/git.py:
3430         (Git.untracked_files):
3431         * Scripts/webkitpy/common/checkout/scm/scm.py:
3432         (SCM.untracked_files):
3433         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
3434         (SCMTest._shared_test_untracked_files):
3435         (test_untracked_files):
3436         (GitSVNTest.test_untracked_files):
3437         * Scripts/webkitpy/common/checkout/scm/svn.py:
3438         (SVN.untracked_files):
3439
3440 2015-03-30  Alex Christensen  <achristensen@webkit.org>
3441
3442         [Content Extensions] Correctly handle regular expressions matching everything
3443         https://bugs.webkit.org/show_bug.cgi?id=143235
3444
3445         Reviewed by Benjamin Poulain.
3446
3447         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3448         (TestWebKitAPI::checkCompilerError):
3449         (TestWebKitAPI::TEST_F):
3450         Test ContentExtensionErrors.
3451
3452 2015-03-30  Alexey Proskuryakov  <ap@apple.com>
3453
3454         DumpRenderTree should set NSWindowDisplayWithRunLoopObserver
3455         https://bugs.webkit.org/show_bug.cgi?id=143241
3456         rdar://problem/20351297
3457
3458         Reviewed by Mark Lam.
3459
3460         * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting):
3461
3462 2015-03-30  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3463
3464         [CMake][EFL] Remove redundant library link and include path
3465         https://bugs.webkit.org/show_bug.cgi?id=143221
3466
3467         Reviewed by Csaba Osztrogonác.
3468
3469         * ImageDiff/PlatformEfl.cmake: Remove unnecessary library link and include path.
3470
3471 2015-03-30  Sam Weinig  <sam@webkit.org>
3472
3473         [Content Extensions] Flesh out the UserContentExtensionStore
3474         https://bugs.webkit.org/show_bug.cgi?id=143123
3475
3476         Reviewed by Benjamin Poulain.
3477
3478         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3479         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm: Added.
3480         Add tests for _WKUserContentExtensionStore.
3481
3482 2015-03-30  Marcos Chavarría Teijeiro  <chavarria1991@gmail.com>
3483
3484         Update install-dependencies Fedora packages after r181624
3485         https://bugs.webkit.org/show_bug.cgi?id=143215
3486
3487         Add json-glib, libv4l, openssl and pulseaudio development packages to
3488         the Fedora list providing we need them to build WebKit dependencies
3489         for this distribution.
3490
3491         Reviewed by Philippe Normand.
3492
3493         * gtk/install-dependencies:
3494
3495 2015-03-30  Commit Queue  <commit-queue@webkit.org>
3496
3497         Unreviewed, rolling out r182119.
3498         https://bugs.webkit.org/show_bug.cgi?id=143196
3499
3500         problem with syntax (Requested by youenn on #webkit).
3501
3502         Reverted changeset:
3503
3504         "[buildbot] clean-build script should remove untracked files
3505         and revert local changes too"
3506         https://bugs.webkit.org/show_bug.cgi?id=142400
3507         http://trac.webkit.org/changeset/182119
3508
3509 2015-03-30  Benjamin Poulain  <benjamin@webkit.org>
3510
3511         Start the features.json files
3512         https://bugs.webkit.org/show_bug.cgi?id=143207
3513
3514         Reviewed by Darin Adler.
3515
3516         I kept the style checking light. We'll have to figure
3517         what is the best format for each field.
3518
3519         * Scripts/webkitpy/style/checker.py:
3520         (CheckerDispatcher._create_checker):
3521         * Scripts/webkitpy/style/checkers/jsonchecker.py:
3522         (JSONContributorsChecker.check):
3523         (JSONFeaturesChecker):
3524         (JSONFeaturesChecker.check):
3525
3526 2015-03-29  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3527
3528         [buildbot] clean-build script should remove untracked files and revert local changes too
3529         https://bugs.webkit.org/show_bug.cgi?id=142400
3530
3531         Reviewed by Ryosuke Niwa.
3532
3533         This patch cleans the WebKit folder by deleting SCM untracked files and reverting changes for tracked files.
3534
3535         * BuildSlaveSupport/clean-build:
3536         (main): Adding call to Tools/Scripts/clean-webkit.
3537         * Scripts/clean-webkit: Added.
3538         (main): Removes untracked and changed files.
3539         * Scripts/webkitpy/common/checkout/scm/git.py:
3540         (Git.untracked_files): Retrieves GIT untracked files.
3541         * Scripts/webkitpy/common/checkout/scm/scm.py:
3542         (SCM.untracked_files): Retrieves SVN untracked files.
3543         (SCM):
3544         (SCM.discard_untracked_files): Deletes untracked files/folders.
3545         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
3546         (SCMTest._shared_test_untracked_files): Unit testing for untracked files.
3547         (test_untracked_files):
3548         (GitSVNTest.test_untracked_files):
3549         * Scripts/webkitpy/common/checkout/scm/svn.py:
3550         (SVN.untracked_files):
3551
3552 2015-03-27  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3553
3554         [CMake] Remove unnecessary INCLUDE_IF_EXISTS macro 
3555         https://bugs.webkit.org/show_bug.cgi?id=143138
3556
3557         Reviewed by Csaba Osztrogonác.
3558
3559         INCLUDE_IF_EXISTS isn't used except for 2 places. However those uses can
3560         be replaced with WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS.
3561
3562         * ImageDiff/CMakeLists.txt:
3563         Use WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() instead of INCLUDE_IF_EXISTS.
3564         * WebKitTestRunner/CMakeLists.txt: ditto.
3565
3566 2015-03-27  Myles C. Maxfield  <mmaxfield@apple.com>
3567
3568         Support building WTF on Windows without Cygwin
3569         https://bugs.webkit.org/show_bug.cgi?id=143084
3570
3571         Reviewed by Brent Fulgham.
3572
3573         Windows without Cygwin doesn't have curl, unzip, or grep. Luckily, Perl does all of these things.
3574         This patch also migrates to using File::Spec->catfile() for directory separators.
3575
3576         * Scripts/update-webkit-dependency:
3577         (wanted):
3578         * Scripts/update-webkit-support-libs:
3579         (wanted):
3580         (downloadExpectedVersionNumber):
3581         (zipFileVersion):
3582         (toUnixPath): Deleted.
3583         * Scripts/webkitdirs.pm:
3584         (determineSourceDir):
3585         (windowsSourceSourceDir):
3586         (windowsLibrariesDir):
3587         (windowsOutputDir):
3588         (checkInstalledTools):
3589         (buildVisualStudioProject):
3590
3591 2015-03-27  Alex Christensen  <achristensen@webkit.org>
3592
3593         Fix WinCairo bot.
3594         https://bugs.webkit.org/show_bug.cgi?id=143086
3595
3596         Reviewed by Brent Fulgham.
3597
3598         * Scripts/webkitdirs.pm:
3599         (buildVisualStudioProject):
3600         (runSvnUpdateAndResolveChangeLogs):
3601         Use ActivePerl-friendly perl.
3602
3603 2015-03-27  Csaba Osztrogonác  <ossy@webkit.org>
3604
3605         URTBF after r182059 to fix the EFL build.
3606
3607         * TestWebKitAPI/CMakeLists.txt:
3608
3609 2015-03-26  Alexey Proskuryakov  <ap@apple.com>
3610
3611         Layout test results URL loads in WK1 but not WK2 minibrowser
3612         https://bugs.webkit.org/show_bug.cgi?id=143117
3613
3614         Reviewed by Tim Horton.
3615
3616         * MiniBrowser/mac/WK2BrowserWindowController.m:
3617         (-[WK2BrowserWindowController fetch:]): Fix this, international domain names, and
3618         everything.
3619         (-[WK2BrowserWindowController updateTextFieldFromURL:]): Ditto.
3620
3621 2015-03-26  Jer Noble  <jer.noble@apple.com>
3622
3623         Add --allowed-host support to run-webkit-tests
3624         https://bugs.webkit.org/show_bug.cgi?id=142938
3625
3626         Reviewed by Brent Fulgham.
3627
3628         Accept --allowed-host arguments from run-webkit-tests and pass them through to
3629         DumpRenderTree and WebKitTestRunner.
3630
3631         Drive-by fix: Depending on the value of the --layout-test-dir parameter, layout test results
3632         are placed in the wrong location. The argument is compared with each tests's path, and if a
3633         relative path or a path with '..' was used, results are placed alongside the test. Take the
3634         absolute path of the --layout-test-dir argument, collapsing path components like '..'.
3635
3636         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3637         (parse_args):
3638         * Scripts/webkitpy/port/base.py:
3639         (Port.__init__):
3640         (Port.allowed_hosts):
3641         * Scripts/webkitpy/port/driver.py:
3642         (Driver.cmd_line):
3643
3644 2015-03-26  Jer Noble  <jer.noble@apple.com>
3645
3646         [Mac] Add an --allowed-host argument to DRT and WKTR to allow tests to connect to non-localhost servers
3647         https://bugs.webkit.org/show_bug.cgi?id=142931
3648
3649         Reviewed by Brent Fulgham.
3650
3651         Currently, both DRT and WKTR will refuse to allow network connections to non-localhost servers
3652         over HTTP/HTTPS. For certain testing scenarios, however, it would be useful if both DRT and
3653         WKTR could be allowed to make HTTP/HTTPS connections to certain, specific servers defined at
3654         runtime.
3655
3656         To allow this, add an optional argument to DRT and WKTR, --allowed-host, which will add the specified
3657         hostname to a whitelist; requests to these hosts will allowed to proceed normally.
3658
3659         Drive-by fix: in InjectedBundlePage::willSendRequestForFrame, we get the top loading frame from the
3660         injected bundle. But after the main resource load completes, the bundle nulls out it's pointer to the
3661         top loading frame, which causes a subsequent crash when further resources are requested. Instead, get
3662         the top loading frame from the page, as we do elsewhere in this class.
3663
3664         * DumpRenderTree/TestRunner.h:
3665         (TestRunner::allowedHosts):
3666         (TestRunner::setAllowedHosts):
3667         * DumpRenderTree/mac/DumpRenderTree.mm:
3668         (initializeGlobalsFromCommandLineOptions):
3669         (runTest):
3670         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3671         (isAllowedHost):
3672         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3673         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3674         (WTR::InjectedBundle::didReceiveMessage):
3675         (WTR::InjectedBundle::isAllowedHost):
3676         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
3677         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3678         (WTR::isAllowedHost):
3679         (WTR::InjectedBundlePage::willSendRequestForFrame):
3680         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3681         * WebKitTestRunner/Options.cpp:
3682         (WTR::handleOptionAllowedHost):
3683         (WTR::OptionsHandler::OptionsHandler):
3684         * WebKitTestRunner/Options.h:
3685         * WebKitTestRunner/TestController.cpp:
3686         (WTR::TestController::initialize):
3687         (WTR::TestController::resetStateToConsistentValues):
3688         * WebKitTestRunner/TestController.h:
3689
3690 2015-03-26  Brady Eidson  <beidson@apple.com>
3691
3692         Apply ContentExtension actions after redirects.
3693         <rdar://problem/20062613> and https://bugs.webkit.org/show_bug.cgi?id=143055
3694
3695         Reviewed by Alex Christensen.
3696
3697         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3698         (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame): Dump the fact that the load error is kWKErrorCodeCannotShowURL
3699           which is specifically interesting to a new test.
3700
3701 2015-03-26  Csaba Osztrogonác  <ossy@webkit.org>
3702
3703         [EFL] Disable building libseccomp on AArch64
3704         https://bugs.webkit.org/show_bug.cgi?id=143094
3705
3706         Reviewed by Gyuyoung Kim.
3707
3708         * efl/jhbuildrc:
3709
3710 2015-03-26  Csaba Osztrogonác  <ossy@webkit.org>
3711
3712         [jhbuild] git should use only 1 thread for cloning jhbuild
3713         https://bugs.webkit.org/show_bug.cgi?id=143095
3714
3715         Reviewed by Gyuyoung Kim.
3716
3717         * jhbuild/jhbuild-wrapper:
3718         (clone_jhbuild):
3719
3720 2015-03-25  Joseph Pecoraro  <pecoraro@apple.com>
3721
3722         Update prepare-ChangeLog to work with ES6 Class syntax
3723         https://bugs.webkit.org/show_bug.cgi?id=143069
3724
3725         Reviewed by Timothy Hatcher.
3726
3727         * Scripts/prepare-ChangeLog:
3728         (get_function_line_ranges_for_javascript):
3729         Better handle ES6 Class syntax.
3730
3731         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt:
3732         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js:
3733         (BaseClass):
3734         (DerivedClass):
3735         (DerivedClass.staticMethod):
3736         (DerivedClass.prototype.method.nestedFunctionInsideMethod):
3737         (DerivedClass.prototype.method):
3738         (DerivedClass.prototype.get getter):
3739         (namespace.MyClass):
3740         (namespace.MyClass.staticMethod):
3741         (namespace.MyClass.prototype.method.nestedFunctionInsideMethod):
3742         (namespace.MyClass.prototype.method):
3743         (namespace.MyClass.prototype.get getter):
3744         Proof!
3745
3746 2015-03-25  Filip Pizlo  <fpizlo@apple.com>
3747
3748         Use JITCompilationCanFail in more places, and make the fail path of JITCompilationMustSucceed a crash instead of attempting GC
3749         https://bugs.webkit.org/show_bug.cgi?id=142993
3750
3751         Reviewed by Mark Lam.
3752         
3753         Bunch of support for testing executable allocation failure.
3754
3755         * Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz: Added.
3756         (fail):
3757         * Scripts/run-javascriptcore-tests:
3758         (runJSCStressTests):
3759         * Scripts/run-jsc-stress-tests:
3760
3761 2015-03-25  Myles C. Maxfield  <mmaxfield@apple.com>
3762
3763         Fix Windows build from r181977.
3764
3765         Unreviewed.
3766
3767         * Scripts/update-webkit-dependency:
3768
3769 2015-03-25  Sam Weinig  <sam@webkit.org>
3770
3771         Address additional review feedback from https://bugs.webkit.org/show_bug.cgi?id=143059.
3772
3773         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3774         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
3775
3776 2015-03-25  Myles C. Maxfield  <mmaxfield@apple.com>
3777
3778         Migrate update-webkit for Windows to not require Cygwin
3779         https://bugs.webkit.org/show_bug.cgi?id=143040
3780
3781         Reviewed by Brent Fulgham.
3782
3783         * Scripts/update-webkit-dependency:
3784         (wanted):
3785         (toUnixPath): Deleted.
3786         * Scripts/webkitdirs.pm:
3787         (fontExists):
3788         (checkInstalledTools):
3789         (setupAppleWinEnv):
3790
3791 2015-03-25  Sam Weinig  <sam@webkit.org>
3792
3793         [Content Extensions] Convert content extension compiling to return error codes and write its output using a client
3794         https://bugs.webkit.org/show_bug.cgi?id=143059
3795
3796         Reviewed by Alex Christensen.
3797
3798         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3799         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
3800         Update for new interface of compileRuleList().
3801
3802 2015-03-25  Alex Christensen  <achristensen@webkit.org>
3803
3804         [Content Extensions] Add multi-DFA compiling and interpreting.
3805         https://bugs.webkit.org/show_bug.cgi?id=143010
3806
3807         Reviewed by Benjamin Poulain.
3808
3809         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3810         (TestWebKitAPI::testRequest):
3811         (TestWebKitAPI::TEST_F):
3812         Add some tests for ignore-previous-rules and large rulesets.
3813
3814 2015-03-25  Alexey Proskuryakov  <ap@apple.com>
3815
3816         Mavericks WK1 still runs JSC tests
3817         https://bugs.webkit.org/show_bug.cgi?id=143035
3818
3819         Reviewed by Csaba Osztrogonác.
3820
3821         * BuildSlaveSupport/build.webkit.org-config/config.json: Bring Mavericks WK1 in line
3822         with other bots.
3823
3824         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Updated the tests
3825         accordingly.
3826
3827 2015-03-25  Commit Queue  <commit-queue@webkit.org>
3828
3829         Unreviewed, rolling out r181932.
3830         https://bugs.webkit.org/show_bug.cgi?id=143041
3831
3832         The test fails most of the time on bots (Requested by ap on
3833         #webkit).
3834
3835         Reverted changeset:
3836
3837         "[Content Extensions] Add multi-DFA compiling and
3838         interpreting."
3839         https://bugs.webkit.org/show_bug.cgi?id=143010
3840         http://trac.webkit.org/changeset/181932
3841
3842 2015-03-24  Alex Christensen  <achristensen@webkit.org>
3843
3844         [Content Extensions] Add multi-DFA compiling and interpreting.
3845         https://bugs.webkit.org/show_bug.cgi?id=143010
3846
3847         Reviewed by Benjamin Poulain.
3848
3849         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3850         (TestWebKitAPI::testRequest):
3851         (TestWebKitAPI::TEST_F):
3852         Add some tests for ignore-previous-rules and large rulesets.
3853
3854 2015-03-24  Benjamin Poulain  <bpoulain@apple.com>
3855
3856         Make URL filter patterns matching consistent and add a simple canonicalization step
3857         https://bugs.webkit.org/show_bug.cgi?id=142998
3858
3859         Reviewed by Alex Christensen.
3860
3861         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3862
3863 2015-03-24  Csaba Osztrogonác  <ossy@webkit.org>
3864
3865         [EFL] Add OpenWebRTC in jhbuild
3866         https://bugs.webkit.org/show_bug.cgi?id=142778
3867
3868         Reviewed by Gyuyoung Kim.
3869
3870         Original patch by Philippe Normand <pnormand@igalia.com>
3871
3872         * efl/install-dependencies: Dependencies for OpenWebRTC.
3873         * efl/jhbuild.modules: build OpenWebRTC, libusrsctp, libnice and
3874         the openwebrtc gst plugins.
3875
3876 2015-03-23  Brent Fulgham  <bfulgham@apple.com>
3877
3878         Regression(r181257): WTF_WorkQueue.Simple is flaky
3879         https://bugs.webkit.org/show_bug.cgi?id=142560
3880
3881         Remove the check that the refCount has returned to one after the
3882         individual tasks have completed. It's too nondeterministic when
3883         the reference count will be reduced.
3884
3885         Reviewed by Alexey Proskuryakov
3886
3887         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
3888         (TestWebKitAPI::TEST): Remove test that refCount is back to 1.
3889
3890 2015-03-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3891
3892         [CMake][EFL] Put failure API test excutables into failure directory
3893         https://bugs.webkit.org/show_bug.cgi?id=142965
3894
3895         Reviewed by Csaba Osztrogonác.
3896
3897         Move failing WK2 API test executables to *bin/TestWebKitAPI/WebKit2/failure* directory.
3898
3899         * TestWebKitAPI/CMakeLists.txt: Fix a typo. Change *testBaseName* with *testName*.
3900         * TestWebKitAPI/PlatformEfl.cmake: Additionally remove unnecessary SHARED_CORE and comment for SeccompFilters test.
3901
3902 2015-03-22  Benjamin Poulain  <benjamin@webkit.org>
3903
3904         CSS Selectors: fix attribute case-insensitive matching of Contain and List
3905         https://bugs.webkit.org/show_bug.cgi?id=142932
3906
3907         Reviewed by Darin Adler.
3908
3909         Add tests for the new features and fix some existing tests using the 
3910         stringFromUTF8() utility recently added by Dhi.
3911
3912         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
3913         (TestWebKitAPI::stringFromUTF8):
3914         * TestWebKitAPI/Tests/WTF/StringView.cpp:
3915
3916 2015-03-22  Michael Catanzaro  <mcatanzaro@igalia.com>
3917
3918         [GTK] install-dependencies should install orc
3919         https://bugs.webkit.org/show_bug.cgi?id=142955
3920
3921         Reviewed by Martin Robinson.
3922
3923         Install orc, needed by openwebrtc
3924
3925         * gtk/install-dependencies:
3926
3927 2015-03-22  Benjamin Poulain  <bpoulain@apple.com>
3928
3929         Detect when url filter pattern with groups match the empty string
3930         https://bugs.webkit.org/show_bug.cgi?id=142930
3931
3932         Reviewed by Sam Weinig.
3933
3934         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3935
3936 2015-03-22  Anders Carlsson  <andersca@apple.com>
3937
3938         _WKWebsiteDataStore should clear WebSQL databases
3939         https://bugs.webkit.org/show_bug.cgi?id=142947
3940
3941         Reviewed by Sam Weinig.
3942
3943         Add a variable that keeps track of the types of data we want to operate on, for easier debugging.
3944
3945         * MiniBrowser/mac/WK2BrowserWindowController.m:
3946         (-[WK2BrowserWindowController fetchWebsiteData:]):
3947         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
3948         (-[WK2BrowserWindowController clearWebsiteData:]):
3949
3950 2015-03-20  Mark Hahnenberg  <mhahnenb@gmail.com>
3951
3952         GCTimer should know keep track of nested GC phases
3953         https://bugs.webkit.org/show_bug.cgi?id=142675
3954
3955         Reviewed by Darin Adler.
3956
3957         Adds a tool to aid in parsing the GC phase timing output into a
3958         tree-like structure based on the parent-child relationships
3959         of nested GC phases.
3960
3961         * Scripts/parse-gc-phase-timings: Added.
3962         (Timing):
3963         (Timing.__init__):
3964         (Timing.__unicode__):
3965         (Timing.__str__):
3966         (Timing.__repr__):
3967         (parse_input):
3968         (print_timing_node):
3969         (print_timing_tree):
3970         (link_parents):
3971         (main):
3972
3973 2015-03-20  Brent Fulgham  <bfulgham@apple.com>
3974
3975         [Win] Temporarily turn of EWS Windows tests while I debug the test failure.
3976
3977         * Scripts/webkitpy/common/config/ews.json:
3978
3979 2015-03-20  Philippe Normand  <pnormand@igalia.com>
3980
3981         [GTK][jhbuild] Fix flakey failures due to unstable googlecode repository
3982         https://bugs.webkit.org/show_bug.cgi?id=142867
3983
3984         Rubber-stamped by Csaba Osztrogon.
3985
3986         * gtk/jhbuild.modules: Use Ossy's libusrsctp Github fork. Also use
3987         a fixed revision for the openwebrtc-gst-plugins.
3988
3989 2015-03-19  Ryosuke Niwa  <rniwa@webkit.org>
3990
3991         Unreviewed build fix. Don't try to report stats for all benchmarks.
3992         Just report the geometric mean of preferred means.
3993
3994         * Scripts/run-jsc-benchmarks:
3995
3996 2015-03-19  Ryosuke Niwa  <rniwa@webkit.org>
3997
3998         run-jsc-benchmarks should only report preferred mean
3999         https://bugs.webkit.org/show_bug.cgi?id=142874
4000
4001         Reviewed by Geoffrey Garen.
4002
4003         Just collect statistics for the preferred mean.
4004
4005         * Scripts/run-jsc-benchmarks:
4006
4007 2015-03-19  Alex Christensen  <achristensen@webkit.org>
4008
4009         [Content Extensions] Test regular expression parse failures.
4010         https://bugs.webkit.org/show_bug.cgi?id=142872
4011
4012         Reviewed by Benjamin Poulain.
4013
4014         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
4015         (TestWebKitAPI::testPatternStatus):
4016         (TestWebKitAPI::TEST_F):
4017         Added tests for each parsing status.
4018
4019 2015-03-19  Alex Christensen  <achristensen@webkit.org>
4020
4021         Fix API tests after r181754.
4022
4023         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
4024         (TestWebKitAPI::testRequest):
4025
4026 2015-03-19  Brady Eidson  <beidson@apple.com>
4027
4028         Part of content extensions should apply css selectors
4029         https://bugs.webkit.org/show_bug.cgi?id=142604
4030
4031         Reviewed by Alex Christensen.
4032
4033         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
4034         (WebCore::ContentExtensions::operator<<):
4035
4036 2015-03-19  Brent Fulgham  <bfulgham@apple.com>
4037
4038         [Win] Activate tests on EWS
4039         https://bugs.webkit.org/show_bug.cgi?id=142850
4040
4041         Reviewed by Alexey Proskuryakov.
4042
4043         * Scripts/webkitpy/common/config/ews.json: Add me as
4044         the EWS bot watcher, and activate tests.
4045
4046 2015-03-19  Csaba Osztrogonác  <ossy@webkit.org>
4047
4048         [GTK] Fix inspector userinterface related incremental build issue
4049         https://bugs.webkit.org/show_bug.cgi?id=142849
4050
4051         Reviewed by Carlos Garcia Campos.
4052
4053         * Scripts/webkitdirs.pm:
4054         (shouldRemoveCMakeCache):
4055
4056 2015-03-18  Alex Christensen  <achristensen@webkit.org>
4057
4058         [ContentExtensions] Prepare for compiling stylesheets of selectors to be used on every page.
4059         https://bugs.webkit.org/show_bug.cgi?id=142799
4060
4061         Reviewed by Brady Eidson.
4062
4063         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
4064         (TestWebKitAPI::testPattern):
4065         (TestWebKitAPI::TEST_F):
4066         Start testing regex failures.
4067
4068 2015-03-18  Dhi Aurrahman  <diorahman@rockybars.com>
4069
4070         Fix StringView typos after r181525 and r181558
4071         https://bugs.webkit.org/show_bug.cgi?id=142772
4072
4073         Reviewed by Darin Adler.
4074
4075         Add some tests in [1] to cover the StringView::startsWith, 
4076         StringView::startsWithIgnoringASCIICase, StringView::endsWith and 
4077         StringView::endsWithIgnoringASCIICase implementations.
4078
4079         * TestWebKitAPI/Tests/WTF/StringView.cpp:
4080         (TestWebKitAPI::TEST):
4081
4082 2015-03-18  Dana Burkart  <dburkart@apple.com>
4083
4084         Remove extraneous import to fix the build.
4085
4086         Unreviewed.
4087
4088         * Scripts/webkitpy/port/driver.py:
4089
4090 2015-03-18  Dana Burkart  <dburkart@apple.com>
4091
4092         ASAN_OPTIONS=allocator_may_return_null=1 needs to be set 
4093         https://bugs.webkit.org/show_bug.cgi?id=142547
4094
4095         Reviewed by Alexey Proskuryakov.
4096
4097         * Scripts/webkitpy/port/driver.py:
4098         (Driver._setup_environ_for_driver):
4099
4100 2015-03-18  Alexey Proskuryakov  <ap@apple.com>
4101
4102         Tweak how AppleSystemFontOSSubversion default is added
4103         https://bugs.webkit.org/show_bug.cgi?id=142835
4104
4105         Reviewed by Dan Bernstein.
4106
4107         * DumpRenderTree/mac/DumpRenderTree.mm:
4108         (setDefaultsToConsistentValuesForTesting):
4109
4110 2015-03-18  Dan Bernstein  <mitz@apple.com>
4111
4112         prepare-ChangeLog doesn't understand C string literals split across multiple lines with \
4113         https://bugs.webkit.org/show_bug.cgi?id=142815
4114
4115         Reviewed by Darin Adler.
4116
4117         * Scripts/prepare-ChangeLog:
4118         (get_function_line_ranges_for_cpp): If the line ends with a backslash instead of a matching
4119         quotation mark, use new variable $quotation_mark to remember what we are looking for, and
4120         keep consuming the quoted text until the matching quotation mark is reached. Emit the
4121         warning only if a line ends without a backslash before the matching quotation mark was found.
4122
4123 2015-03-18  Joseph Pecoraro  <pecoraro@apple.com>
4124
4125         Remove unused "preprocessor" parameter to sub-CodeGenerators
4126         https://bugs.webkit.org/show_bug.cgi?id=142793
4127
4128         Reviewed by Darin Adler.
4129
4130         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
4131         (new):
4132
4133 2015-03-18  Csaba Osztrogonác  <ossy@webkit.org>
4134
4135         [EFL] Bump gstreamer version to 1.4.4
4136         https://bugs.webkit.org/show_bug.cgi?id=142782
4137
4138         Reviewed by Philippe Normand.
4139
4140         * efl/jhbuild.modules:
4141         * efl/patches/gst-libav.patch:
4142         * efl/patches/gst-plugins-bad-remove-gnustep-support.patch: Added.
4143         * efl/patches/gst-prevent-neon-check-in-configure-from-passing-under-aarch64.patch: Removed.
4144
4145 2015-03-17  Tim Horton  <timothy_horton@apple.com>
4146
4147         Fix the iOS build.
4148
4149         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
4150         (WTR::InjectedBundle::platformInitialize):
4151
4152 2015-03-17  Dean Jackson  <dino@apple.com>
4153
4154         check-webkit-style should allow "bool a : 1"
4155         https://bugs.webkit.org/show_bug.cgi?id=142794
4156
4157         Reviewed by Brent Fulgham.
4158
4159         We should allow member bitfields of the form:
4160
4161         bool m_var : 1;
4162
4163         It seems that Visual Studio 8 was the last compiler that
4164         wasn't happy about not using unsigned here. We already have
4165         about 500 cases (in WebCore) where people were ignoring this rule.
4166
4167         * Scripts/webkitpy/style/checkers/cpp.py:
4168         (check_language): Allow "bool".
4169         * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add tests.
4170         (CppStyleTest.test_enum_bitfields):
4171         (CppStyleTest.test_plain_integral_bitfields):
4172
4173 2015-03-17  Benjamin Poulain  <bpoulain@apple.com>
4174
4175         Compile character ranges targeting the same state as range check in the bytecode
4176         https://bugs.webkit.org/show_bug.cgi?id=142759
4177
4178         Reviewed by Alex Christensen.
4179
4180         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
4181         (TestWebKitAPI::TEST_F):
4182
4183 2015-03-17  Youenn Fablet  <youenn.fablet@crf.canon.fr>
4184
4185         W3C test parser and converter should use test importer host
4186         https://bugs.webkit.org/show_bug.cgi?id=142729
4187
4188         Reviewed by Bem Jones-Bey.
4189
4190         When instantiated by TestImporter, TestParser and TestConverter are now using the same host.
4191         This enables adding more TestImporter unit testing.
4192         This patch also ensures that the git object instantiated by TestDownloader is using the
4193         same Executive and FileSystem object as TestDownloader, again to enable TestImporter/TestDownloader unit testing.
4194
4195         * Scripts/webkitpy/common/system/filesystem_mock.py:
4196         (MockFileSystem.copytree): Fixes implementation as it creates a runtime error.
4197         * Scripts/webkitpy/w3c/test_downloader.py:
4198         (TestDownloader.git): Set the executive of the git object to the one of TestDownloader. Refactoring in a new git function for future reuse.
4199         (TestDownloader.checkout_test_repository): Making use of the new git function.
4200         * Scripts/webkitpy/w3c/test_importer.py:
4201         (TestImporter.find_importable_tests): Adding host as parameter to the parser.
4202         (TestImporter.import_tests): Adding host as parameter to the converter.
4203         * Scripts/webkitpy/w3c/test_importer_unittest.py:
4204         (TestImporterTest.create_test_download_importer): Creating a test downloader mock, to be reused by other tests.
4205         (TestImporterTest):
4206         (TestImporterTest.test_harnesslinks_conversion): Adding test to check that test harness links are converted for CSS tests but not WPT tests. 
4207         * Scripts/webkitpy/w3c/test_parser.py:
4208         (TestParser.__init__): Adding host as parameter constructor.
4209
4210 2015-03-17  Carlos Garcia Campos  <cgarcia@igalia.com>
4211
4212         [GTK] WebKitDOM objects leaking
4213         https://bugs.webkit.org/show_bug.cgi?id=118788
4214
4215         Reviewed by Darin Adler and Sergio Villar Senin.
4216
4217         Update DOMObjectCache unit test to check that DOM objects are also
4218         released when new contents are loaded in the web view, and the old
4219         document is detached from the frame.
4220
4221         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
4222         (testWebKitDOMObjectCache):
4223         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
4224         (runTest):
4225
4226 2015-03-17  Youenn Fablet  <youenn.fablet@crf.canon.fr>
4227
4228         W3C test importer default import folder should be LayoutTests/imported/w3c
4229         https://bugs.webkit.org/show_bug.cgi?id=142728
4230
4231         Reviewed by Bem Jones-Bey.
4232
4233         * Scripts/webkitpy/w3c/test_importer.py:
4234         (parse_args): Updating the default destination option value to 'imported/w3c'.
4235
4236 2015-03-17  Philippe Normand  <pnormand@igalia.com>
4237
4238         [GTK] basic OpenWebRTC build support
4239         https://bugs.webkit.org/show_bug.cgi?id=142393
4240
4241         Reviewed by Carlos Garcia Campos.
4242
4243         * gtk/jhbuild.modules: Add OpenWebRTC and its dependencies. This
4244         is not the upstream OpenWebRTC repository. This temporary fork
4245         contains a few patches needed by WebKit for audio/video rendering.
4246
4247 2015-03-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
4248
4249         [CMake][EFL] Build test tools only for developer mode
4250         https://bugs.webkit.org/show_bug.cgi?id=142761
4251
4252         Reviewed by Csaba Osztrogonác.
4253
4254         Do not build EFL MiniBrowser, WebKitTestRunner, and ImageDiff on production mode.
4255
4256         * CMakeLists.txt:
4257
4258 2015-03-17  Joseph Pecoraro  <pecoraro@apple.com>
4259
4260         Remove never used "useLayerOnTop" bindings generator argument
4261         https://bugs.webkit.org/show_bug.cgi?id=142773
4262
4263         Reviewed by Darin Adler.
4264
4265         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
4266         (new):
4267
4268 2015-03-16  Ryosuke Niwa  <rniwa@webkit.org>
4269
4270         Enable ES6 classes by default
4271         https://bugs.webkit.org/show_bug.cgi?id=142774
4272
4273         Reviewed by Gavin Barraclough.
4274
4275         * Scripts/webkitperl/FeatureList.pm:
4276
4277 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
4278
4279         Fix webkitpy tests after r181585.
4280
4281         Looks like "me" cannot be anyone's email, it's a special case.
4282
4283         * Scripts/webkitpy/common/config/contributors.json:
4284
4285 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
4286
4287         Add tolerance to WebAudio tests
4288         https://bugs.webkit.org/show_bug.cgi?id=142676
4289
4290         Reviewed by Tim Horton.
4291
4292         * Scripts/webkitpy/common/wavediff.py: Added. Based on Jer Noble's work.
4293
4294         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
4295         (TestResultWriter.create_audio_diff_and_write_result):
4296         * Scripts/webkitpy/layout_tests/models/test_failures.py:
4297         (FailureAudio.write_failure):
4298         * Scripts/webkitpy/port/base.py:
4299         (Port.do_audio_results_differ):
4300         Diff audio failures.
4301
4302         * Scripts/webkitpy/port/test.py: Added a test for the tolerance, fixed existing
4303         tests to use real parseable WAV data, and got rid of base64, which there didn't
4304         seem to have been any reason for.
4305
4306 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
4307
4308         [Mac] fast/forms/text-control-intrinsic-widths.html fails when MS Office is installed
4309         https://bugs.webkit.org/show_bug.cgi?id=142720
4310
4311         Reviewed by Myles C. Maxfield.
4312
4313         Activate system copies of Microsoft fonts for the current process, thus overriding
4314         any other ones that could be preferred by the system otherwise.
4315
4316         * DumpRenderTree/mac/DumpRenderTree.mm:
4317         (activateSystemCoreWebFonts):
4318         (adjustFonts):
4319         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
4320         (WTR::activateSystemCoreWebFonts):
4321         (WTR::activateFonts):
4322
4323 2015-03-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
4324
4325         Created Streams API watchlist
4326         https://bugs.webkit.org/show_bug.cgi?id=142684
4327
4328         Reviewed by Benjamin Poulain.
4329
4330         * Scripts/webkitpy/common/config/watchlist: Created StreamsAPI
4331         watchlist and added Benjamin, Youenn and me to it.
4332
4333 2015-03-15  Benjamin Poulain  <benjamin@webkit.org>
4334
4335         CSS: fix the case-insensitive matching of the attribute selectors Begin, End and Hyphen
4336         https://bugs.webkit.org/show_bug.cgi?id=142715
4337
4338         Reviewed by Brent Fulgham.
4339
4340         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
4341         (TestWebKitAPI::TEST):
4342
4343 2015-03-15  Benjamin Poulain  <bpoulain@apple.com>
4344
4345         Change the exact attribute matching to be ASCII case-insensitive
4346         https://bugs.webkit.org/show_bug.cgi?id=142609
4347
4348         Reviewed by Darin Adler.
4349
4350         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
4351         * TestWebKitAPI/Tests/WTF/StringView.cpp:
4352
4353 2015-03-13  Youenn Fablet  <youenn.fablet@crf.canon.fr>
4354
4355         WebKit test infrastructure should automate the process of cloning W3C test suite and importing tests from it
4356         https://bugs.webkit.org/show_bug.cgi?id=134764
4357