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