Compile warning (-Wsign-compare) on 32-bits at WebCore/platform/FileSystem.cpp
[WebKit.git] / Tools / ChangeLog
1 2015-08-10  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2
3         Compile warning (-Wsign-compare) on 32-bits at WebCore/platform/FileSystem.cpp
4         https://bugs.webkit.org/show_bug.cgi?id=146414
5
6         Reviewed by Darin Adler.
7
8         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
9         (TestWebKitAPI::TEST): Improving testing of WTF::isInBounds.
10
11 2015-08-10  Carlos Garcia Campos  <cgarcia@igalia.com>
12
13         [GTK] Test  /webkit2/WebKitWebView/submit-form is flaky
14         https://bugs.webkit.org/show_bug.cgi?id=147727
15
16         Reviewed by Sergio Villar Senin.
17
18         I think it was not this test in particular, but
19         /webkit2/WebKitWebView/custom-charset that is affecting the
20         others. This is because changing the encoding reloads the page,
21         but we don't wait for the page to be reloaded, so when the test
22         finishes and other test starts the web process is still reloading
23         the page.
24
25         * Scripts/run-gtk-tests:
26         (TestRunner): Unskip /webkit2/WebKitWebView/submit-form.
27         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
28         (testWebViewCustomCharset): Wait until page is reloaded after
29         changing the charset.
30
31 2015-08-09  Carlos Garcia Campos  <cgarcia@igalia.com>
32
33         Unreviewed. Skip GTK+ test /webkit2/WebKitWebView/install-missing-plugins-permission-request.
34
35         It's timing out in the bots. My guess is that there's no installer
36         installed in the bots and gst_install_plugins_supported() returns
37         false, so we don't even get a permission request because no
38         installer will be launched.
39
40         * Scripts/run-gtk-tests:
41         (TestRunner):
42
43 2015-08-07  Alex Christensen  <achristensen@webkit.org>
44
45         [GTK] Another build fix after r188157.
46
47         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
48         (WTR::PlatformWebView::viewSupportsOptions):
49         Name all the things correctly!
50
51 2015-08-07  Alex Christensen  <achristensen@webkit.org>
52
53         [EFL, GTK] Build fix after r188176.
54
55         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
56         I moved forwarding headers out of a unix subdirectory because I am using them on Windows now.
57
58 2015-08-07  Alex Christensen  <achristensen@webkit.org>
59
60         [GTK] Speculative build fix after r188157.
61
62         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
63         (WTR::PlatformWebView::PlatformWebView):
64         Update parameter list.
65
66 2015-08-07  Alex Christensen  <achristensen@webkit.org>
67
68         Build more testing binaries with CMake on Windows
69         https://bugs.webkit.org/show_bug.cgi?id=147799
70
71         Reviewed by Brent Fulgham.
72
73         * DumpRenderTree/CMakeLists.txt:
74         Build TestNetscapePlugin.
75         * DumpRenderTree/PlatformWin.cmake:
76         Build ImageDiff and add files necessary for TestNetscapePlugin on Windows.
77         * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders: Added.
78         * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit: Added.
79         * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npapi.h: Copied from DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npapi.h.
80         * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npfunctions.h: Copied from DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npfunctions.h.
81         * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npruntime.h: Copied from DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npruntime.h.
82         * DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npapi.h: Removed.
83         * DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npfunctions.h: Removed.
84         * DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npruntime.h: Removed.
85
86 2015-08-07  Jason Marcell  <jmarcell@apple.com>
87
88         Refactor BuildbotQueue.compareIterations and BuildbotQueue.compareIterationsByRevisions to be more generic
89         https://bugs.webkit.org/show_bug.cgi?id=147667
90
91         Reviewed by Daniel Bates.
92
93         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
94         (BuildbotQueue.prototype.compareIterations): Refactored to work more generically with repositories
95         other than "openSource" and "internal".
96         (BuildbotQueue.prototype.compareIterationsByRevisions): Ditto.
97         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
98         (Dashboard.get sortedPlatforms): Added. Returns a sorted array of platforms.
99         (Dashboard.get sortedRepositories): Added. Returns a sorted array of repositories.
100         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
101         (documentReady): Using Dashboard.sortedPlatforms instead of sortedPlatforms.
102         (sortedPlatforms): Deleted.
103         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsMain.js:
104         (buildQueuesTable): Using Dashboard.sortedPlatforms instead of sortedPlatforms.
105         (sortedPlatforms): Deleted.
106         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
107         (sortDictionariesByOrder): Added. Takes an array of dictionaries that have an "order" property
108         and sorts them by this property returning the new sorted array.
109
110 2015-08-07  Filip Pizlo  <fpizlo@apple.com>
111
112         Lightweight locks should be adaptive
113         https://bugs.webkit.org/show_bug.cgi?id=147545
114
115         Reviewed by Geoffrey Garen.
116
117         * TestWebKitAPI/CMakeLists.txt:
118         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
119         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
120         * TestWebKitAPI/Tests/WTF/Lock.cpp: Added.
121         (TestWebKitAPI::runLockTest):
122         (TestWebKitAPI::TEST):
123
124 2015-08-07  Anders Carlsson  <andersca@apple.com>
125
126         Fix a tyop.
127
128         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
129         (WTR::PlatformWebView::viewSupportsOptions):
130
131 2015-08-07  Alexey Proskuryakov  <ap@apple.com>
132
133         Update AppEngine app version numbers to the latest commit.
134
135         * QueueStatusServer/app.yaml:
136         * TestResultServer/app.yaml:
137
138 2015-08-07  Anders Carlsson  <andersca@apple.com>
139
140         Simplify WKTR's view options
141         https://bugs.webkit.org/show_bug.cgi?id=147791
142
143         Reviewed by Sam Weinig.
144
145         Instead of using a WKDictionaryRef, just use a struct for the options.
146
147         * WebKitTestRunner/PlatformWebView.h:
148         (WTR::PlatformWebView::options):
149         (WTR::PlatformWebView::viewSupportsOptions): Deleted.
150         * WebKitTestRunner/TestController.cpp:
151         (WTR::TestController::initialize):
152         (WTR::TestController::createWebViewWithOptions):
153         (WTR::TestController::ensureViewSupportsOptions):
154         (WTR::TestController::updateLayoutTypeForTest):
155         * WebKitTestRunner/TestController.h:
156         * WebKitTestRunner/ViewOptions.h: Added.
157         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
158         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
159         (WTR::PlatformWebView::PlatformWebView):
160         (WTR::PlatformWebView::viewSupportsOptions):
161         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
162         (WTR::PlatformWebView::viewSupportsOptions):
163         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
164         (WTR::PlatformWebView::viewSupportsOptions):
165         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
166         (WTR::PlatformWebView::PlatformWebView):
167         (WTR::PlatformWebView::viewSupportsOptions):
168         * WebKitTestRunner/mac/TestControllerMac.mm:
169         (WTR::TestController::platformConfigureViewForTest):
170
171 2015-08-07  Joseph Pecoraro  <pecoraro@apple.com>
172
173         Running tests for a long time results in some tests running very slowly (throttling)
174         https://bugs.webkit.org/show_bug.cgi?id=147718
175
176         Reviewed by Chris Dumez.
177
178         Follow-up, make DumpRenderTree consistent with WebKitTestRunner.
179         Although COCOA ports default this setting to be disabled in WebKit1,
180         we should make both test harnesses disable the setting for consistency.
181
182         * DumpRenderTree/mac/DumpRenderTree.mm:
183         (resetWebPreferencesToConsistentValues):
184
185 2015-08-07  Ryosuke Niwa  <rniwa@webkit.org>
186
187         Use a specific version of Speedometer in run-benchmark
188         https://bugs.webkit.org/show_bug.cgi?id=147769
189
190         Reviewed by Chris Dumez.
191
192         Use the current latest revision as we work towards the bug 147768 (Update frameworks in Speedometer).
193
194         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan:
195
196 2015-08-07  Ryosuke Niwa  <rniwa@webkit.org>
197
198         twisted_http_server.py should support --port
199         https://bugs.webkit.org/show_bug.cgi?id=147771
200
201         Reviewed by Chris Dumez.
202
203         Added the option. This makes the script more useful on its own.
204
205         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
206
207 2015-08-07  Carlos Garcia Campos  <cgarcia@igalia.com>
208
209         [GTK] WTF unit tests are timing out in the bots
210         https://bugs.webkit.org/show_bug.cgi?id=147777
211
212         Reviewed by Filip Pizlo.
213
214         Add a way to mark google unit tests as slow and add
215         WTF_Lock.ContentedShortSection to the list. In case of slow test
216         we use the double of the given timeout for that particular test.
217
218         * Scripts/run-gtk-tests:
219         (TestRunner):
220         (TestRunner._run_google_test):
221
222 2015-08-07  Carlos Garcia Campos  <cgarcia@igalia.com>
223
224         [GTK] run-gtk-tests should not stop when a google test case fails
225         https://bugs.webkit.org/show_bug.cgi?id=147778
226
227         Reviewed by Philippe Normand.
228
229         For glib based tests we run the test runner with the -k option,
230         but for google tests we are aborting as soon as we find a failure.
231
232         * Scripts/run-gtk-tests:
233         (TestRunner._run_google_test_suite): Use a global return code that
234         is set to 1 when any test has failed.
235
236 2015-08-07  Carlos Garcia Campos  <cgarcia@igalia.com>
237
238         [GStreamer] Do not automatically show PackageKit codec installation notifications
239         https://bugs.webkit.org/show_bug.cgi?id=135973
240
241         Reviewed by Philippe Normand.
242
243         Handle the missing media plugins installation permission request
244         in MiniBrowser and add a test case for the new API.
245
246         * MiniBrowser/gtk/BrowserWindow.c:
247         (webViewDecidePermissionRequest):
248         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
249         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
250         (permissionRequestCallback):
251         (testInstallMissingPluginsPermissionRequest):
252         (beforeAll):
253         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
254         (methodCallCallback):
255
256 2015-08-06  Joseph Pecoraro  <pecoraro@apple.com>
257
258         Running tests for a long time results in some tests running very slowly (throttling)
259         https://bugs.webkit.org/show_bug.cgi?id=147718
260
261         Reviewed by Alexey Proskuryakov.
262
263         * WebKitTestRunner/TestController.cpp:
264         (WTR::TestController::resetPreferencesToConsistentValues):
265         Ensure throttling settings are disabled for tests for all ports, as
266         COCOA ports default to having these setting enabled. Note, there is
267         still other timer throttling not covered by these setting.
268
269 2015-08-06  Ryosuke Niwa  <rniwa@webkit.org>
270
271         http_server_driver and benchmark_builder should not be in run-benchmark's plan files
272         https://bugs.webkit.org/show_bug.cgi?id=147752
273
274         Reviewed by Chris Dumez.
275
276         Removed BenchmarkBuilderFactory since we have exactly one subclass of BenchmarkBuilder.
277
278         Also made HTTPServerDriverFactory instantiate the appropriate HTTP server based on the platform name instead of HTTP server name.
279         This allows us to remove --http-server-driver option from run-benchmark, which was added to support the HTTP server for iOS.
280
281         * Scripts/webkitpy/benchmark_runner/benchmark_builder: Removed.
282         * Scripts/webkitpy/benchmark_runner/benchmark_builder.py: Moved from benchmark_runner/benchmark_builder/generic_benchmark_builder.py.
283         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Removed.
284         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builder_factory.py: Removed.
285         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py: Moved to benchmark_runner/benchmark_builder.py.
286         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
287         (BenchmarkRunner.__init__): No longer takes http_server_driver_override as an argument since this is not handled by
288         HTTPServerDriverFactory taking the platform name as an argument.
289         (BenchmarkRunner.execute): Directly instantiate BenchmarkBuilder.
290         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-cssquery.plan: Removed http_server_driver and benchmark_builder.
291         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-dom.plan: Ditto.
292         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-jslib.plan: Ditto.
293         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Ditto.
294         * Scripts/webkitpy/benchmark_runner/data/plans/jsbench.plan: Ditto.
295         * Scripts/webkitpy/benchmark_runner/data/plans/kraken.plan: Ditto.
296         * Scripts/webkitpy/benchmark_runner/data/plans/octane.plan: Ditto.
297         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Ditto.
298         * Scripts/webkitpy/benchmark_runner/data/plans/sunspider.plan: Ditto.
299         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py:
300         (http_server_driver_loader): Register http server drivers via supported platform names instead of http server names.
301         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
302         (HTTPServerDriver): Replaced name by platforms.
303         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
304         (SimpleHTTPServerDriver): Ditto.
305         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
306         (parse_args): Removed --http-server-driver option.
307         (start): Ditto.
308
309 2015-08-06  Chris Dumez  <cdumez@apple.com>
310
311         Toggle GPS state based on page visibility to save battery
312         https://bugs.webkit.org/show_bug.cgi?id=147685
313
314         Reviewed by Benjamin Poulain.
315
316         Add testRunner.isGeolocationProviderActive() test support function.
317
318         * DumpRenderTree/TestRunner.cpp:
319         (isGeolocationProviderActiveCallback):
320         (TestRunner::staticFunctions):
321         * DumpRenderTree/TestRunner.h:
322         * DumpRenderTree/mac/MockGeolocationProvider.h:
323         * DumpRenderTree/mac/MockGeolocationProvider.mm:
324         (-[MockGeolocationProvider isActive]):
325         * DumpRenderTree/mac/TestRunnerMac.mm:
326         (TestRunner::isGeolocationProviderActive):
327         * DumpRenderTree/win/TestRunnerWin.cpp:
328         (TestRunner::isGeolocationProviderActive):
329         * WebKitTestRunner/GeolocationProviderMock.h:
330         (WTR::GeolocationProviderMock::isActive):
331         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
332         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
333         (WTR::InjectedBundle::isGeolocationProviderActive):
334         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
335         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
336         (WTR::TestRunner::isGeolocationProviderActive):
337         * WebKitTestRunner/InjectedBundle/TestRunner.h:
338         * WebKitTestRunner/TestController.cpp:
339         (WTR::TestController::isGeolocationProviderActive):
340         * WebKitTestRunner/TestController.h:
341         * WebKitTestRunner/TestInvocation.cpp:
342         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
343
344 2015-08-06  Ryosuke Niwa  <rniwa@webkit.org>
345
346         Automate JSBench with run-benchmark
347         https://bugs.webkit.org/show_bug.cgi?id=147716
348
349         Reviewed by Chris Dumez.
350
351         Added JSBench plan to run-benchmark.
352
353         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
354         (GenericBenchmarkBuilder.prepare): Pass in the archive type to _fetch_remote_archive.
355         (GenericBenchmarkBuilder._fetch_remote_archive): Added the support for extracting files from tar.gz in addition to zip.
356         * Scripts/webkitpy/benchmark_runner/data/patches/Dromaeo.patch: Fixed the coding style.
357         * Scripts/webkitpy/benchmark_runner/data/patches/JSBench.patch: Added.
358         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Fixed the coding style.
359         * Scripts/webkitpy/benchmark_runner/data/patches/Kraken.patch: Ditto.
360         * Scripts/webkitpy/benchmark_runner/data/patches/Octane.patch: Ditto.
361         * Scripts/webkitpy/benchmark_runner/data/patches/SunSpider.patch: Ditto.
362         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-cssquery.plan: Specified the archive type.
363         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-dom.plan: Specified the archive type.
364         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-jslib.plan: Ditto.
365         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Fixed the coding style.
366         * Scripts/webkitpy/benchmark_runner/data/plans/jsbench.plan: Added.
367         * Scripts/webkitpy/benchmark_runner/data/plans/kraken.plan: Specified the archive type.
368         * Scripts/webkitpy/benchmark_runner/data/plans/octane.plan: Ditto.
369
370 2015-08-06  Yusuke Suzuki  <utatane.tea@gmail.com>
371
372         Pass-through the undefined options in run-jsc
373         https://bugs.webkit.org/show_bug.cgi?id=147717
374
375         Undefined options in run-jsc is just passed to the actual jsc shell.
376         We can execute `Tools/Scripts/run-jsc -d`.
377
378         Reviewed by Csaba Osztrogonác.
379
380         * Scripts/run-jsc:
381
382 2015-08-06  Carlos Garcia Campos  <cgarcia@igalia.com>
383
384         Unreviewed. Skip GTK+ test /webkit2/WebKitWebView/submit-form.
385
386         It's flaky.
387
388         * Scripts/run-gtk-tests:
389         (TestRunner):
390
391 2015-08-06  Csaba Osztrogonác  <ossy@webkit.org>
392
393         [EFL] Bump EFL version to 1.15.0
394         https://bugs.webkit.org/show_bug.cgi?id=147450
395
396         Reviewed by Gyuyoung Kim.
397
398         * efl/jhbuild.modules:
399
400 2015-08-06  Carlos Garcia Campos  <cgarcia@igalia.com>
401
402         Unreviewed. Unksip TestContextMenu GTK+ API test.
403
404         This has been skipped for a long time, and it's very
405         unconvenient. It has never failed for me locally, so let's try
406         again to see if it works in the bots. I'll skip it again if it
407         keeps failing.
408
409         * Scripts/run-gtk-tests:
410         (TestRunner):
411
412 2015-08-05  Filip Pizlo  <fpizlo@apple.com>
413
414         Unreviewed, roll out http://trac.webkit.org/changeset/187972.
415
416         * DumpRenderTree/JavaScriptThreading.cpp:
417         (javaScriptThreadsMutex):
418         (runJavaScriptThread):
419         (startJavaScriptThreads):
420         (stopJavaScriptThreads):
421         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
422         (TestWebKitAPI::TEST):
423         * TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp:
424         (TestWebKitAPI::TEST):
425
426 2015-08-05  Alex Christensen  <achristensen@webkit.org>
427
428         Build DumpRenderTree with CMake.
429         https://bugs.webkit.org/show_bug.cgi?id=147519
430
431         Reviewed by Brent Fulgham.
432
433         * CMakeLists.txt:
434         Build the DumpRenderTree directory now that it builds successfully.
435         * DumpRenderTree/CMakeLists.txt:
436         Added missing source file and don't link with WebCore.lib.
437         * DumpRenderTree/PlatformWin.cmake:
438         Added sources to DumpRenderTreeLib and made DumpRenderTree only build DLLLauncherMain.cpp. 
439         * WinLauncher/CMakeLists.txt:
440         We need libcmt now that we are not linking with WebCore.lib.
441
442 2015-08-05  Alexey Proskuryakov  <ap@apple.com>
443
444         AppScale: Use https URLs for subresources and links
445         https://bugs.webkit.org/show_bug.cgi?id=147686
446
447         Reviewed by Ryosuke Niwa.
448
449         * QueueStatusServer/filters/webkit_extras.py:
450         * TestResultServer/static-dashboards/dashboard_base.js:
451         * TestResultServer/static-dashboards/flakiness_dashboard.js:
452         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
453         * TestResultServer/static-dashboards/treemap.js:
454         * TestResultServer/static-dashboards/ui.js:
455
456 2015-08-04  Filip Pizlo  <fpizlo@apple.com>
457
458         Rename Mutex to DeprecatedMutex
459         https://bugs.webkit.org/show_bug.cgi?id=147675
460
461         Reviewed by Geoffrey Garen.
462
463         * DumpRenderTree/JavaScriptThreading.cpp:
464         (javaScriptThreadsMutex):
465         (runJavaScriptThread):
466         (startJavaScriptThreads):
467         (stopJavaScriptThreads):
468         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
469         (TestWebKitAPI::TEST):
470         * TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp:
471         (TestWebKitAPI::TEST):
472
473 2015-08-05  Timothy Hatcher  <timothy@apple.com>
474
475         Update the WebKit nightly icon
476         https://bugs.webkit.org/show_bug.cgi?id=147684
477
478         Reviewed by Sam Weinig.
479
480         * WebKitLauncher/webkit.icns: Replaced.
481
482 2015-08-05  Daniel Bates  <dabates@apple.com>
483
484         REGRESSION (r185111): Clicking phone numbers doesn't prompt to call sometimes
485         https://bugs.webkit.org/show_bug.cgi?id=147678
486         <rdar://problem/21827815>
487
488         Reviewed by Brady Eidson.
489
490         Add a test to ensure that we restore the "should open external URLs" policy on
491         page reload after the web content process crashes.
492
493         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
494         * TestWebKitAPI/Tests/WebKit2/should-open-external-schemes.html: Added.
495         * TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm:
496         (TEST):
497
498 2015-08-04  Hunseop Jeong  <hs85.jeong@samsung.com>
499
500         [EFL] Editing tests have been broken since r186694
501         https://bugs.webkit.org/show_bug.cgi?id=146888
502
503         Reviewed by Brent Fulgham.
504
505         Restored some codes for the context click on GTK+ and EFL port.
506
507         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
508         (WTR::EventSendingController::contextClick): Seperated the codes using the PLATFORM guard.
509
510 2015-08-04  Dewei Zhu  <dewei_zhu@apple.com>
511
512         Install twisted package for http server when necessary.
513         https://bugs.webkit.org/show_bug.cgi?id=147082
514
515         Reviewed by Ryosuke Niwa.
516
517         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
518         * Scripts/webkitpy/thirdparty/__init__.py:
519         (AutoinstallImportHook.find_module):
520         (AutoinstallImportHook._install_twisted):
521
522 2015-08-04  Brent Fulgham  <bfulgham@apple.com>
523
524         [Win] Update Apple Windows build for VS2015
525         https://bugs.webkit.org/show_bug.cgi?id=147653
526
527         Reviewed by Dean Jackson.
528
529         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/PluginTest.h: If building with
530         something older than VS2015, define snprintf as _snprintf.
531         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginCommon.props:
532         Remove unneeded macro definition for snprintf.
533         * Scripts/webkitpy/common/system/platforminfo.py:
534         (PlatformInfo._determine_win_version): Recognize Windows 10.
535         * Scripts/webkitpy/port/win.py:
536         (WinPort): Ditto.
537         * Scripts/webkitpy/port/win_unittest.py:
538         (WinPortTest.test_baseline_search_path): Include Windows 10 in tests.
539         (WinPortTest._assert_version): Ditto.
540
541 2015-08-04  Brian Burg  <bburg@apple.com>
542
543         Unreviewed, update email addresses in contributors.json and watchlist.
544
545         * Scripts/webkitpy/common/config/contributors.json:
546         * Scripts/webkitpy/common/config/watchlist:
547
548 2015-08-04  Alexey Proskuryakov  <ap@apple.com>
549
550         Implement NPAPI redirect handling
551         https://bugs.webkit.org/show_bug.cgi?id=138675
552         rdar://problem/15779101
553
554         Patch by Jeffrey Pfau, updated and tweaked by me.
555
556         Reviewed by Anders Carlsson.
557
558         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
559         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj.filters:
560         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
561         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
562         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
563         (PluginTest::NPP_URLNotify):
564         (PluginTest::NPP_URLRedirectNotify):
565         (PluginTest::NPP_GetValue):
566         (PluginTest::NPN_GetURLNotify):
567         (PluginTest::NPN_PostURLNotify):
568         (PluginTest::NPN_GetValue):
569         (PluginTest::NPN_ReleaseVariantValue):
570         (PluginTest::NPN_URLRedirectResponse):
571         (PluginTest::NPN_ConvertPoint):
572         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
573         * DumpRenderTree/TestNetscapePlugIn/Tests/URLRedirect.cpp: Added.
574         (URLRedirect::URLRedirect):
575         (URLRedirect::ScriptableObject::hasMethod):
576         (URLRedirect::ScriptableObject::get):
577         (URLRedirect::ScriptableObject::serviceAsync):
578         (URLRedirect::ScriptableObject::invoke):
579         (URLRedirect::NPP_GetValue):
580         (URLRedirect::NPP_URLNotify):
581         (URLRedirect::NPP_URLRedirectNotify):
582         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
583         (NP_GetEntryPoints):
584         (NPP_URLNotify):
585         (NPP_URLRedirectNotify):
586         (NPP_GetValue):
587
588 2015-08-04  Tim Horton  <timothy_horton@apple.com>
589
590         Move Matt Daiter to committers.
591
592         * Scripts/webkitpy/common/config/contributors.json:
593
594 2015-08-04  Brent Fulgham  <bfulgham@apple.com>
595
596         [Win] build-webkit and MSBuild fight over BuildOutput.htm, causing build failures.
597         https://bugs.webkit.org/show_bug.cgi?id=147636
598
599         Reviewed by Alex Christensen.
600         
601         We no longer need build-webkit to manually troll the log data and pipe it to stdout; MSBuild is already doing this properly.
602         Stop the build-webkit script from interacting with BuildOutput.htm, thereby preventing a potential build failure (especially
603         on EWS machines)
604
605         * Scripts/build-webkit:
606
607 2015-08-04  Jason Marcell  <jmarcell@apple.com>
608
609         Refactor to convert openSourceRevision and internalRevision properties on BuildbotIteration into a more generic collection of revisions.
610         https://bugs.webkit.org/show_bug.cgi?id=147280
611
612         Reviewed by Daniel Bates.
613
614         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
615         (BuildbotIteration): Removed opensourceRevision, internalRevision. Added revision.
616         Refactored _parseData to handle repositories more generically.
617         (parseRevisionProperty): Moved a comment up to parseRevisionProperty where it seems more relevant.
618         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
619         (BuildbotQueue.prototype.compareIterations): Using "revision" property instead of
620         "opensourceRevision" and "internalRevision".
621         (BuildbotQueue.prototype.compareIterationsByRevisions): Ditto.
622         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
623         (BuildbotQueueView.prototype._appendPendingRevisionCount): Ditto.
624         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Ditto.
625         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Changing "internal" boolean
626         parameter to more generic "repository" string parameter. Added "trac" parameter in order to
627         specify the trac instance to use. Using "revision" property instead of "opensourceRevision"
628         and "internalRevision".
629         (BuildbotQueueView.prototype.revisionContentForIteration): Passing the repository name and trac
630         instance to _revisionContentWithPopoverForIteration(). Using "revision" property instead of
631         "opensourceRevision" and "internalRevision".
632         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js: Adding
633         constants for internal and opensource repositories.
634         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js:
635         (Analyzer.prototype._findIndexOfLargestIterationAtOrBeforeStart): Using "revision" property
636         instead of "opensourceRevision" and "internalRevision".
637         (Analyzer.prototype._countPercentageOfGreen): Ditto.
638         (Analyzer.prototype.webkitTrac.recordedCommits.forEach): Ditto.
639         (Analyzer.prototype._countTimes): Ditto.
640         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
641         (WebKitBuildbot.prototype.layoutTestResultsDirectoryURLForIteration): Ditto.
642
643 2015-08-04  Mark Lam  <mark.lam@apple.com>
644
645         Removed a local debugging line I accidentally left in from a previous commit.
646
647         Not Reviewed.
648
649         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
650
651 2015-08-04  Mark Lam  <mark.lam@apple.com>
652
653         Unreviewed. Make Saam Barati a WebKit reviewer.
654
655         * Scripts/webkitpy/common/config/contributors.json:
656
657 2015-08-04  Xabier Rodriguez Calvar  <calvaris@igalia.com>
658
659         Unreviewed, updated Streams API watchlist.
660
661         * Scripts/webkitpy/common/config/watchlist: Matched .*Readable.*Stream.* and .*QueuingStrategy.* in bindings/js.
662
663 2015-08-03  Csaba Osztrogonác  <ossy@webkit.org>
664
665         [CMake] Add an option to build AllInOne files
666         https://bugs.webkit.org/show_bug.cgi?id=102647
667
668         Reviewed by Alex Christensen.
669
670         * Scripts/webkitperl/FeatureList.pm:
671
672 2015-08-03  Alexey Proskuryakov  <ap@apple.com>
673
674         AppScale: Add required indices
675         https://bugs.webkit.org/show_bug.cgi?id=147593
676
677         Reviewed by Tim Horton.
678
679         * QueueStatusServer/index.yaml:
680
681 2015-08-03  Filip Pizlo  <fpizlo@apple.com>
682
683         Check in LLVM 3.6.2 binary drops for El Capitan
684         https://bugs.webkit.org/show_bug.cgi?id=147582
685
686         Reviewed by Alexey Proskuryakov.
687         
688         Recognize 10.11 and use the right drops.
689
690         * Scripts/copy-webkitlibraries-to-product-directory:
691
692 2015-08-03  Alex Christensen  <achristensen@webkit.org>
693
694         [Win] Build fix after r187733.
695
696         * WinLauncher/PageLoadTestClient.cpp:
697         (PageLoadTestClient::dumpRunStatistics):
698         wtf/MathExtras.h is now included in HashTable.h, which #defines pow to wtf_pow.
699
700 2015-08-02  Benjamin Poulain  <bpoulain@apple.com>
701
702         Investigate HashTable::HashTable(const HashTable&) and HashTable::operator=(const HashTable&) performance for hash-based static analyses
703         https://bugs.webkit.org/show_bug.cgi?id=118455
704
705         Reviewed by Filip Pizlo.
706
707         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
708         (TestWebKitAPI::TEST):
709
710 2015-07-31  Alex Christensen  <achristensen@webkit.org>
711
712         Prepare for VS2015
713         https://bugs.webkit.org/show_bug.cgi?id=146579
714
715         Reviewed by Jon Honeycutt.
716
717         * WinLauncher/stdafx.h:
718         Define __STDC_LIMIT_MACROS to have access to INTMAX_MAX.
719
720 2015-07-31  Csaba Osztrogonác  <ossy@webkit.org>
721
722         [EFL] Fix pixman build on ARM with GCC 4.9.3
723         https://bugs.webkit.org/show_bug.cgi?id=147224
724
725         Reviewed by Gyuyoung Kim.
726
727         * efl/jhbuild.modules: Disable ARM IWMMXT fast paths as workarounding a GCC bug.
728
729 2015-07-30  Anders Carlsson  <andersca@apple.com>
730
731         Add support for window.open to WK1BrowserWindowController
732         https://bugs.webkit.org/show_bug.cgi?id=147474
733
734         Reviewed by Dan Bernstein.
735
736         * MiniBrowser/mac/WK1BrowserWindowController.m:
737         (-[WK1BrowserWindowController awakeFromNib]):
738         Set javaScriptCanOpenWindowsAutomatically to YES. 
739         If this becomes a nuisance, we can always add a menu item to toggle this.
740
741         (-[WK1BrowserWindowController webView:createWebViewWithRequest:]):
742         Implement this UI delegate method.
743
744 2015-07-30  Anders Carlsson  <andersca@apple.com>
745
746         Undo stray commit.
747
748         * MiniBrowser/mac/WK1BrowserWindowController.m:
749         (-[WK1BrowserWindowController awakeFromNib]):
750         (-[WK1BrowserWindowController webView:createWebViewWithRequest:]):
751
752 2015-07-29  Dean Jackson  <dino@apple.com>
753
754         Don't use (Details) when exposing SPI
755         https://bugs.webkit.org/show_bug.cgi?id=147426
756         <rdar://problem/22062407>
757
758         Reviewed by Dan Bernstein.
759
760         If we are declaring the interface without any implementation,
761         we should use class extensions.
762
763         * DumpRenderTree/mac/DumpRenderTree.mm:
764         * DumpRenderTree/mac/EventSendingController.mm:
765         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
766         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
767         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
768         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
769         * WebKitTestRunner/mac/TestControllerMac.mm:
770
771 2015-07-30  Aakash Jain  <aakash_jain@apple.com>
772
773         Replace Google App Engine with AppScale
774         https://bugs.webkit.org/show_bug.cgi?id=147178
775
776         Reviewed by Daniel Bates.
777
778         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
779         (RunWebKitTests):
780         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
781         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
782         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
783         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
784         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
785         (.):
786         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
787         (BubbleQueueServer):
788         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitTestHistory.js:
789         (TestHistory):
790         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
791         * QueueStatusServer/app.yaml: We must explicitly define threadsafe property when using the Python 2.7 runtime. We set threadsafe to be false because the status server code was written to be run in AppEngine's CGI environment and AppEngine's CGI programming model handles requests serially per section "Concurrent Requests and WSGI" of <https://cloud.google.com/appengine/docs/python/python25/migrate27>.
792         * TestResultServer/app.yaml: Ditto
793         * Scripts/webkitpy/common/config/urls.py:
794         * TestResultServer/main.py:
795         * TestResultServer/static-dashboards/dashboard_base.js:
796         * TestResultServer/static-dashboards/loader.js:
797
798 2015-07-30  Joonghun Park  <jh718.park@samsung.com>
799
800         [EFL] Enable IndexedDB based on DatabaseProcess
801         https://bugs.webkit.org/show_bug.cgi?id=147221
802
803         Reviewed by Csaba Osztrogonác.
804
805         * Scripts/webkitperl/FeatureList.pm:
806
807 2015-07-30  Alex Christensen  <achristensen@webkit.org>
808
809         Build AppleWin port with CMake
810         https://bugs.webkit.org/show_bug.cgi?id=147385
811
812         Reviewed by Martin Robinson.
813
814         * WinLauncher/CMakeLists.txt:
815         Link to CoreFoundation.lib and added /NODEFAULTLIB:LIBCMT to get it to link successfully.
816
817 2015-07-29  Andy VanWagoner  <thetalecrafter@gmail.com>
818
819         Implement basic types for ECMAScript Internationalization API
820         https://bugs.webkit.org/show_bug.cgi?id=146926
821
822         Reviewed by Benjamin Poulain.
823
824         Enable flag now that the basic objects are in place.
825
826         * Scripts/webkitperl/FeatureList.pm: Enabled INTL
827
828 2015-07-28  Carlos Garcia Campos  <cgarcia@igalia.com>
829
830         [GTK] Add API to set the maximum number of web processes per WebKitWebContext
831         https://bugs.webkit.org/show_bug.cgi?id=147108
832
833         Reviewed by Gustavo Noronha Silva.
834
835         Add test case to check the web process limit.
836
837         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
838         (testWebProcessLimit):
839         (beforeAll):
840
841 2015-07-28  Michael Catanzaro  <mcatanzaro@igalia.com>
842
843         [GTK] Missing casts in BrowserWindow.c
844         https://bugs.webkit.org/show_bug.cgi?id=147395
845
846         Reviewed by Carlos Garcia Campos.
847
848         * MiniBrowser/gtk/BrowserWindow.c:
849         (browserWindowSetupEditorToolbar):
850
851 2015-07-28  Yusuke Suzuki  <utatane.tea@gmail.com>
852
853         [ES6] Add ENABLE_ES6_MODULES compile time flag with the default value "false"
854         https://bugs.webkit.org/show_bug.cgi?id=147350
855
856         Reviewed by Sam Weinig.
857
858         * Scripts/webkitperl/FeatureList.pm:
859
860 2015-07-28  Michael Catanzaro  <mcatanzaro@igalia.com>
861
862         [Freetype] Always allow font matching for strong aliases
863         https://bugs.webkit.org/show_bug.cgi?id=147057
864
865         Reviewed by Martin Robinson.
866
867         Create family aliases needed for the new layout tests.
868
869         * WebKitTestRunner/gtk/fonts/fonts.conf:
870
871 2015-07-28  Alexey Proskuryakov  <ap@apple.com>
872
873         webkitbot and WKR unnecessarily rely on webkit-queues.appspot.com
874         https://bugs.webkit.org/show_bug.cgi?id=147359
875
876         Reviewed by Ryosuke Niwa.
877
878         * Scripts/webkitpy/tool/commands/newcommitbot.py:
879         (NewCommitBot.begin_work_queue):
880         * Scripts/webkitpy/tool/commands/sheriffbot.py:
881         (SheriffBot.begin_work_queue):
882
883 2015-07-27  Alex Christensen  <achristensen@webkit.org>
884
885         Use Ninja on Windows.
886         https://bugs.webkit.org/show_bug.cgi?id=147228
887
888         Reviewed by Martin Robinson.
889
890         * WinLauncher/CMakeLists.txt:
891         WinLauncherLib must make WinLauncher.dll, not WinLauncherLib.dll.
892         * Scripts/build-webkit:
893         Use Ninja to build WinCairo by default, but fall back to Visual Studio if Ninja is not on the system.
894
895 2015-07-24  Jon Honeycutt  <jhoneycutt@apple.com>
896
897         Test for bug #147164 "[iOS] Keyboard bold/italic/underline keys don't
898         highlight after being tapped to style a selection"
899         https://bugs.webkit.org/show_bug.cgi?id=147278
900
901         Reviewed by Ryosuke Niwa.
902
903         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
904
905         * TestWebKitAPI/Tests/mac/WordBoundaryTypingAttributes.mm: Added.
906         (-[WordBoundaryTypingAttributesController webView:didFinishLoadForFrame:]):
907         (TestWebKitAPI::TEST):
908         Load a page with the string "Hello, world!", then select "world" and
909         underline it. Test that the typing attributes for the current selection
910         include the underline attribute.
911
912 2015-07-24  Hyungwook Lee  <hyungwook.lee@navercorp.com>
913
914         Unreviewed, updated my nick name in contributors.json
915
916         * Scripts/webkitpy/common/config/contributors.json:
917
918 2015-07-24  Chris Fleizach  <cfleizach@apple.com>
919
920         AX: scrollable elements do not allow 3-finger swipe
921         https://bugs.webkit.org/show_bug.cgi?id=141893
922
923         Reviewed by Mario Sanchez Prada.
924
925         Support global notification listeners for iOS code.
926         Fix an issue in DRT where the dictionary of data was not being passed back to the layout test for the notication callback.
927         Implement scrollUp/Down/Left/Right.
928
929         * DumpRenderTree/AccessibilityController.h:
930         * DumpRenderTree/AccessibilityUIElement.cpp:
931         (increaseTextSelectionCallback):
932         (scrollPageUpCallback):
933         (scrollPageDownCallback):
934         (scrollPageLeftCallback):
935         (scrollPageRightCallback):
936         (decreaseTextSelectionCallback):
937         (getElementTextLengthCallback):
938         (AccessibilityUIElement::getJSClass):
939         * DumpRenderTree/AccessibilityUIElement.h:
940         * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
941         (AccessibilityController::~AccessibilityController):
942         (AccessibilityController::elementAtPoint):
943         (AccessibilityController::addNotificationListener):
944         (AccessibilityController::platformResetToConsistentState):
945         (AccessibilityController::removeNotificationListener):
946         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
947         (AccessibilityUIElement::AccessibilityUIElement):
948         (AccessibilityUIElement::subrole):
949         (AccessibilityUIElement::scrollPageUp):
950         (AccessibilityUIElement::scrollPageDown):
951         (AccessibilityUIElement::scrollPageLeft):
952         (AccessibilityUIElement::scrollPageRight):
953         (AccessibilityUIElement::roleDescription):
954         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
955         (-[AccessibilityNotificationHandler _notificationReceived:]):
956         * WebKitTestRunner/InjectedBundle/AccessibilityController.h:
957         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
958         (WTR::AccessibilityUIElement::linkedElement):
959         (WTR::AccessibilityUIElement::headerElementAtIndex):
960         (WTR::AccessibilityUIElement::assistiveTechnologySimulatedFocus):
961         (WTR::AccessibilityUIElement::scrollPageUp):
962         (WTR::AccessibilityUIElement::scrollPageDown):
963         (WTR::AccessibilityUIElement::scrollPageLeft):
964         (WTR::AccessibilityUIElement::scrollPageRight):
965         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
966         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
967         * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm:
968         (WTR::AccessibilityController::addNotificationListener):
969         (WTR::AccessibilityController::removeNotificationListener):
970         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
971         (WTR::AccessibilityUIElement::AccessibilityUIElement):
972         (WTR::AccessibilityUIElement::assistiveTechnologySimulatedFocus):
973         (WTR::AccessibilityUIElement::scrollPageUp):
974         (WTR::AccessibilityUIElement::scrollPageDown):
975         (WTR::AccessibilityUIElement::scrollPageLeft):
976         (WTR::AccessibilityUIElement::scrollPageRight):
977         (WTR::AccessibilityUIElement::increaseTextSelection):
978
979 2015-07-24  Brent Fulgham  <bfulgham@apple.com>
980
981         [Win] Activate CSP_NEXT and Connect UserScript and UserStyleSheet through WebView.
982         https://bugs.webkit.org/show_bug.cgi?id=147279
983         <rdar://problem/21990767>
984
985         Reviewed by Dean Jackson.
986
987         * DumpRenderTree/win/TestRunnerWin.cpp:
988         (TestRunner::addUserScript):
989         (TestRunner::addUserStyleSheet):
990         (TestRunner::setDeveloperExtrasEnabled):
991
992 2015-07-24  Basile Clement  <basile_clement@apple.com>
993
994         Call fixChangeLogPatch when generating patches from webkit-patch
995         https://bugs.webkit.org/show_bug.cgi?id=147248
996
997         Reviewed by Geoffrey Garen.
998
999         When two consecutive patches are from the same author, diff tools
1000         create wrong-looking diffs for ChangeLog files where the apparent added
1001         author is actually the previous patch's author line, making it awkward
1002         to read - and things only get worse when committing a patch and a
1003         followup fix for the same bug shortly after.
1004
1005         We have a perl function in VCSUtils.pm, fixChangeLogPatch, to corrects
1006         this, which we use in perl scripts (svn-create-patch et al). But it is
1007         not used by webkit-patch, which is a python script, and thus creates
1008         "bad" diffs.
1009
1010         In the long term, we should probably port fixChangeLogPatch to python -
1011         but in the short term, let's make webkit-patch call perl to run
1012         fixChangeLogPatch. We are already making various external calls there
1013         anyway.
1014
1015         * Scripts/webkitpy/common/checkout/scm/git.py:
1016         (Git.create_patch):
1017         * Scripts/webkitpy/common/checkout/scm/scm.py:
1018         (SCM.fix_changelog_patch):
1019         * Scripts/webkitpy/common/checkout/scm/svn.py:
1020         (SVN.create_patch):
1021
1022 2015-07-24  Dean Johnson  <dean_johnson@apple.com>
1023
1024         commit-queue flags in webkit-patch are confusing
1025         https://bugs.webkit.org/show_bug.cgi?id=88694
1026
1027         Reviewed by Csaba Osztrogonác.
1028
1029         * Scripts/webkitpy/tool/steps/options.py:
1030         (Options): Updated help string to be more descriptive.
1031
1032 2015-07-23  Brent Fulgham  <bfulgham@apple.com>
1033
1034         [Win] Implement proper High DPI support features
1035         https://bugs.webkit.org/show_bug.cgi?id=146335
1036         <rdar://problem/21558269>
1037
1038         Reviewed by Alex Christensen.
1039
1040         Update WinLauncher to take device scaling factor into account.
1041
1042         * WinLauncher/Common.cpp:
1043         (resizeSubViews): Make sure toolbars and URL bar are properly sized and using
1044         a valid font.
1045         (computeFullDesktopFrame): Handle high DPI desktops.
1046         (WndProc): Make comments more precise.
1047         * WinLauncher/WinLauncher.cpp:
1048         (WinLauncher::init): Determine device scale factor at launch.
1049         (WinLauncher::updateDeviceScaleFactor): Added.
1050         * WinLauncher/WinLauncher.h:
1051         * WinLauncher/WinLauncherWebHost.h: Use C++11 initialization.
1052         * WinLauncher/WinMain.cpp: Size interface based on scaling factor.
1053         (wWinMain): Ditto.
1054         * win/DLLLauncher/DLLLauncherMain.cpp:
1055         (wWinMain): Tell Windows we understand high DPI.
1056
1057 2015-07-23  Alex Christensen  <achristensen@webkit.org>
1058
1059         [Win] Unreviewed build fix after r187169.
1060
1061         * Scripts/build-webkit:
1062         Correctly find WebKit.sln.
1063
1064 2015-07-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1065
1066         [GTK] Add API to allow executing editing commands that require an argument
1067         https://bugs.webkit.org/show_bug.cgi?id=146781
1068
1069         Reviewed by Gustavo Noronha Silva.
1070
1071         Add buttons to insert image/link to the MiniBrowser edit toolbar,
1072         and test cases for insert image/link commands too.
1073
1074         * MiniBrowser/gtk/BrowserWindow.c:
1075         (insertImageCommandCallback):
1076         (insertLinkCommandCallback):
1077         (browserWindowSetupEditorToolbar):
1078         (browserWindowConstructed):
1079         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
1080         (testWebViewEditorInsertImage):
1081         (testWebViewEditorCreateLink):
1082         (beforeAll):
1083
1084 2015-07-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1085
1086         Unregistering and re-registering a user message handler does not work
1087         https://bugs.webkit.org/show_bug.cgi?id=138142
1088
1089         Reviewed by Martin Robinson.
1090
1091         This has probably been fixed in r184846, enable the test case
1092         blocked on it.
1093
1094         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
1095         (testUserContentManagerScriptMessageReceived):
1096
1097 2015-07-22  Sukolsak Sakshuwong  <sukolsak@gmail.com>
1098
1099         Add ENABLE_WEBASSEMBLY feature flag for WebAssembly
1100         https://bugs.webkit.org/show_bug.cgi?id=147212
1101
1102         Reviewed by Filip Pizlo.
1103
1104         * Scripts/webkitperl/FeatureList.pm:
1105
1106 2015-07-22  Jon Honeycutt  <jhoneycutt@apple.com>
1107
1108         Add --ios-simulator to run-api-tests --help.
1109
1110         Rubber-stamped by Dan Bates.
1111
1112         * Scripts/run-api-tests:
1113
1114 2015-07-22  Jason Marcell  <jmarcell@apple.com>
1115
1116         Remove hardcoded "internal" from Buildbot.prototype._normalizeQueueInfo.
1117         https://bugs.webkit.org/show_bug.cgi?id=147043
1118
1119         Reviewed by Daniel Bates and Alexey Proskuryakov.
1120
1121         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
1122         (Buildbot.prototype._normalizeQueueInfo):
1123         The _normalizeQueueInfo method now calls the defaultBranches getter instead of using hardcoded values
1124         in cases where the queue.branch property is not set and the queue is not a combined queue.
1125         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
1126         (BuildbotCombinedQueueView):
1127         Ensuring uniformity of repository branches within a combined queue.
1128         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1129         (WebKitBuildbot.prototype.get defaultBranches):
1130         Added; provides a WebKit-specific implementation that sets the queue.branches dictionary to have a
1131         single entry for "openSource" as the default set of branches. Note that we intentionally omitted a
1132         base class implementation of the defaultBranches getter so as to cause a JavaScript TypeError when a
1133         sub-queue of a combined queue does not specify property branch and the derived Buildbot class does not
1134         implement defaultBranches so that a person can either update the definition of the sub-queue or
1135         implement defaultBranches in the derived Buildbot class they are using.
1136
1137 2015-07-22  Alex Christensen  <achristensen@webkit.org>
1138
1139         Switch WinCairo build to use CMake.
1140         https://bugs.webkit.org/show_bug.cgi?id=147169
1141
1142         Reviewed by Brent Fulgham.
1143
1144         * Scripts/build-webkit:
1145         * Scripts/webkitdirs.pm:
1146         (determineConfiguration):
1147         (determineArchitecture):
1148         (determinePassedConfiguration):
1149         (passedConfiguration):
1150         (jhbuildWrapperPrefixIfNeeded):
1151         (generateBuildSystemFromCMakeProject):
1152         It's CMake time!  We now use the CMake files to generate a solution in WebKitBuild/Release/WebKit.sln and build that.
1153
1154 2015-07-22  Alex Christensen  <achristensen@webkit.org>
1155
1156         Fix quirks in CMake build on Mac and Windows
1157         https://bugs.webkit.org/show_bug.cgi?id=147174
1158
1159         Reviewed by Gyuyoung Kim.
1160
1161         * CMakeLists.txt:
1162         Don't build DumpRenderTree with CMake for now (until we get that working).
1163         * WinLauncher/CMakeLists.txt:
1164         Renamed WinLauncherLauncher to WinLauncher and WinLauncher to WinLauncherLib to match the Visual Studio build.
1165
1166 2015-07-22  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1167
1168         [check-webkit-style] .lut.h files shouldn't raise a sorting issue
1169         https://bugs.webkit.org/show_bug.cgi?id=147146
1170
1171         Reviewed by Darin Adler.
1172
1173         * Scripts/webkitpy/style/checkers/cpp.py:
1174         (check_include_line): Avoid checking previous lines if it it is a lut.h include.
1175         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1176         (OrderOfIncludesTest.test_check_alphabetical_include_order): Added test.
1177
1178 2015-07-21  Filip Pizlo  <fpizlo@apple.com>
1179
1180         Fixed VM pool allocation should have a reserve for allocations that cannot fail
1181         https://bugs.webkit.org/show_bug.cgi?id=147154
1182         rdar://problem/21847618
1183
1184         Reviewed by Geoffrey Garen.
1185         
1186         Add a new test mode where we artificially limit JIT memory to 50KB. If our JIT OOM
1187         mitigations work, these should all pass. Prior to this patch there were >20 failures.
1188
1189         * Scripts/run-jsc-stress-tests:
1190
1191 2015-07-20  Carlos Garcia Campos  <cgarcia@igalia.com>
1192
1193         [GTK] Add API to be notified about editor state changes
1194         https://bugs.webkit.org/show_bug.cgi?id=145875
1195
1196         Reviewed by Gustavo Noronha Silva.
1197
1198         Update the typing attributes toggle buttons state according to the
1199         editor state in MiniBrowser, and add a test case to the
1200         WebViewEditor unit tests.
1201
1202         * MiniBrowser/gtk/BrowserWindow.c:
1203         (browserWindowEditingCommandToggleButtonSetActive):
1204         (typingAttributesChanged):
1205         (browserWindowSetupEditorToolbar):
1206         (browserWindowConstructed):
1207         (browser_window_init):
1208         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
1209         (testWebViewEditorEditorStateTypingAttributes):
1210         (beforeAll):
1211
1212 2015-07-20  Tomas Popela  <tpopela@redhat.com>
1213
1214         [GTK] Add selection-changed signal to the WebKit2 API
1215         https://bugs.webkit.org/show_bug.cgi?id=137116
1216
1217         Reviewed by Carlos Garcia Campos.
1218
1219         Add a new WebProcess test TestEditor that is testing the WebKitWebEditor
1220         (namely the selection-changed signal).
1221
1222         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
1223         * TestWebKitAPI/Tests/WebKit2Gtk/EditorTest.cpp: Added.
1224         (WebKitWebEditorTest::create):
1225         (WebKitWebEditorTest::selectionChangedCallback):
1226         (WebKitWebEditorTest::testSelectionSelectAll):
1227         (WebKitWebEditorTest::testSelectionCollapse):
1228         (WebKitWebEditorTest::testSelectionModifyMove):
1229         (WebKitWebEditorTest::testSelectionModifyExtend):
1230         (WebKitWebEditorTest::testSelectionUnselect):
1231         (registerTests):
1232         * TestWebKitAPI/Tests/WebKit2Gtk/TestEditor.cpp: Added.
1233         (testWebKitWebEditorSelectionChanged):
1234         (beforeAll):
1235         (afterAll):
1236
1237 2015-07-20  Alex Christensen  <achristensen@webkit.org>
1238
1239         Resurrect CMake build on Windows.
1240         https://bugs.webkit.org/show_bug.cgi?id=147083
1241
1242         Reviewed by Gyuyoung Kim.
1243
1244         * DumpRenderTree/CMakeLists.txt:
1245         * DumpRenderTree/PlatformWin.cmake: Added.
1246         * WinLauncher/CMakeLists.txt:
1247
1248 2015-07-19  Michael Catanzaro  <mcatanzaro@igalia.com>
1249
1250         [GTK] Enable seccomp filter API tests
1251         https://bugs.webkit.org/show_bug.cgi?id=140071
1252
1253         Reviewed by Žan Doberšek.
1254
1255         These tests will now be run by the run-gtk-tests script.
1256
1257         * TestWebKitAPI/PlatformGTK.cmake:
1258
1259 2015-07-19  Michael Catanzaro  <mcatanzaro@igalia.com>
1260
1261         [GTK] Add seccomp filters support
1262         https://bugs.webkit.org/show_bug.cgi?id=110014
1263
1264         Reviewed by Žan Doberšek.
1265
1266         Add libseccomp to jhbuild modulesets.
1267
1268         * gtk/jhbuild.modules:
1269
1270 2015-07-18  Simon Fraser  <simon.fraser@apple.com>
1271
1272         MiniBrowser window title is just "Window" when page has no <title>
1273         https://bugs.webkit.org/show_bug.cgi?id=147076
1274
1275         Reviewed by Tim Horton.
1276         
1277         Make MiniBrowser windows show the filename from the URL if we never get a title changed
1278         notification.
1279
1280         * MiniBrowser/mac/WK1BrowserWindowController.m:
1281         (-[WK1BrowserWindowController updateTitle:]):
1282         (-[WK1BrowserWindowController webView:didCommitLoadForFrame:]):
1283         (-[WK1BrowserWindowController webView:didReceiveTitle:forFrame:]):
1284         * MiniBrowser/mac/WK2BrowserWindowController.m:
1285         (-[WK2BrowserWindowController updateTitle:]):
1286         (-[WK2BrowserWindowController observeValueForKeyPath:ofObject:change:context:]):
1287         (-[WK2BrowserWindowController webView:didCommitNavigation:]):
1288
1289 2015-07-17  Andy Estes  <aestes@apple.com>
1290
1291         [iOS] Further tighten the sandbox around pages fetched with Content-Disposition: attachment
1292         https://bugs.webkit.org/show_bug.cgi?id=147044
1293         rdar://problem/21567820
1294
1295         Reviewed by Brady Eidson.
1296
1297         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1298         (WTR::InjectedBundlePage::decidePolicyForResponse): Only log the message about attachments if the custom policy delegate is enabled.
1299         This matches the behavior of DumpRenderTree.
1300
1301 2015-07-17  Benjamin Poulain  <bpoulain@apple.com>
1302
1303         [Content Extensions] Term::isUniversalTransition() incorrectly expects the end-of-line assertion in character sets
1304         https://bugs.webkit.org/show_bug.cgi?id=147032
1305
1306         Reviewed by Alex Christensen.
1307
1308         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1309         Test that the useless terms are eliminated by counting
1310         the number of NFA nodes generated.
1311
1312 2015-07-17  Dan Bernstein  <mitz@apple.com>
1313
1314         Tests for <rdar://problem/21803781> The external URL policy is not reported correctly in navigation actions that create new windows
1315         https://bugs.webkit.org/show_bug.cgi?id=147040
1316
1317         Reviewed by Dean Jackson.
1318
1319         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1320         * TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm: Added.
1321         (-[ShouldOpenExternalURLsInNewWindowActionsController webView:decidePolicyForNavigationAction:decisionHandler:]):
1322         (-[ShouldOpenExternalURLsInNewWindowActionsController webView:didFinishNavigation:]):
1323         (-[ShouldOpenExternalURLsInNewWindowActionsController webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
1324         (TEST):
1325
1326 2015-07-16  Dean Johnson  <dean_johnson@apple.com>
1327
1328         webkit-patch uses incorrect credentials from keychain to login until account lockout
1329         https://bugs.webkit.org/show_bug.cgi?id=146923
1330
1331         Reviewed by Daniel Bates.
1332
1333         When `webkit-patch upload` asks for login credentials for bugs.webkit.org, if you
1334         provide incorrect credentials then ask for them to be saved to the keychain
1335         webkit-patch will then use those incorrect credentials until 5 total attempts
1336         have been made to log in. This will lock the user out of Bugzilla for a
1337         half hour.
1338
1339         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
1340         (Bugzilla.authenticate): Added argument to read_credentials() that
1341         passes in whether or not to use stored credentials.
1342         * Scripts/webkitpy/common/net/credentials.py:
1343         (Credentials.read_credentials): Added optional argument 'use_stored_credentials'
1344         that specifies whether or not to use credentials stored on the system. If it
1345         does, we do not auto-fill credentials since either the credentials caused
1346         the failure, or they weren't used in the first place so there is no reason
1347         to try and use them again if a failure happened.
1348         * Scripts/webkitpy/common/net/credentials_unittest.py: Added unit test for newly added
1349         use_stored_credentials argument.
1350         (test_do_not_use_stored_credentials): Added unit test to make sure functions that
1351         retrieve username/password information from the local system (environment, Git, keychain,
1352         keyring) are never called. It also tests that we get back our mocked username and password.
1353         (test_do_not_use_stored_credentials.MockKeyring): Mock keyring
1354         (test_do_not_use_stored_credentials.MockKeyring.get_password): Assert this is never called.
1355         (test_do_not_use_stored_credentials.FakeCredentials): Mock credentials
1356         (test_do_not_use_stored_credentials.FakeCredentials._credentials_from_keychain): Assert this
1357         is never called.
1358         (test_do_not_use_stored_credentials.FakeCredentials._credentials_from_environment): Ditto
1359         (test_do_not_use_stored_credentials.FakeCredentials._offer_to_store_credentials_in_keyring): Ditto
1360         (test_do_not_use_stored_credentials.FakeUser): Mock the User class
1361         (test_do_not_use_stored_credentials.FakeUser.prompt): Returns a username to assert against.
1362         (test_do_not_use_stored_credentials.FakeUser.prompt_password): Returns a password to assert
1363         against.
1364
1365 2015-07-16  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1366
1367         Unreviewed, remove my redundant email information.
1368
1369         * Scripts/webkitpy/common/config/contributors.json:
1370
1371 2015-07-16  Hyungwook Lee  <hyungwook.lee@navercorp.com>
1372
1373         Unreviewed. Add Hyungwook Lee as a committer.
1374
1375         * Scripts/webkitpy/common/config/contributors.json:
1376
1377 2015-07-16  Wenson Hsieh  <wenson_hsieh@apple.com>
1378
1379         Added myself to the list of contributors.
1380
1381         Reviewed by Brent Fulgham.
1382
1383         * Scripts/webkitpy/common/config/contributors.json:
1384
1385 2015-07-16  Alex Christensen  <achristensen@webkit.org>
1386
1387         [Content Extensions] Cache domain actions
1388         https://bugs.webkit.org/show_bug.cgi?id=146817
1389
1390         Reviewed by Benjamin Poulain.
1391
1392         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1393         (TestWebKitAPI::TEST_F):
1394         Test if-domain and unless-domain with multiple load types.
1395
1396 2015-07-16  Benjamin Poulain  <bpoulain@apple.com>
1397
1398         [Content extensions] Combine suffixes when generating NFAs
1399         https://bugs.webkit.org/show_bug.cgi?id=146961
1400
1401         Reviewed by Alex Christensen.
1402
1403         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1404         (TestWebKitAPI::compareContents):
1405         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
1406
1407 2015-07-15  Carlos Garcia Campos  <cgarcia@igalia.com>
1408
1409         [GTK] Input method filter is always enabled when the view is focused
1410         https://bugs.webkit.org/show_bug.cgi?id=146965
1411
1412         Reviewed by Martin Robinson.
1413
1414         Use setEnabled() instead of notifyFocusedIn() to enable input methods.
1415
1416         * TestWebKitAPI/Tests/WebKit2/gtk/InputMethodFilter.cpp:
1417         (TestWebKitAPI::TestInputMethodFilter::TestInputMethodFilter):
1418
1419 2015-07-15  Michael Catanzaro  <mcatanzaro@igalia.com>
1420
1421         [EFL] Bump libseccomp version to 2.2.3
1422         https://bugs.webkit.org/show_bug.cgi?id=146980
1423
1424         Reviewed by Gyuyoung Kim.
1425
1426         * efl/jhbuild.modules:
1427
1428 2015-07-15  Brent Fulgham  <bfulgham@apple.com>
1429
1430         [Win] Maintain consistent COM Interfaces
1431         https://bugs.webkit.org/show_bug.cgi?id=146983
1432         <rdar://problem/21822278>
1433
1434         Reviewed by Dean Jackson.
1435
1436         Update DumpRenderTree and WinLauncher to use the properly
1437         versioned COM interface objects.
1438
1439         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1440         (AccessibilityController::rootElement):
1441         * DumpRenderTree/win/DumpRenderTree.cpp:
1442         (resetWebPreferencesToConsistentValues):
1443         (resetWebViewToConsistentStateBeforeTesting):
1444         (runTest):
1445         (createWebViewAndOffscreenWindow):
1446         * DumpRenderTree/win/EditingDelegate.cpp:
1447         (EditingDelegate::QueryInterface):
1448         (EditingDelegate::shouldEndEditingInDOMRange):
1449         (EditingDelegate::shouldInsertNode):
1450         * DumpRenderTree/win/EditingDelegate.h:
1451         * DumpRenderTree/win/EventSender.cpp:
1452         (scalePageByCallback):
1453         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1454         (FrameLoadDelegate::didCommitLoadForFrame):
1455         * DumpRenderTree/win/TestRunnerWin.cpp:
1456         (TestRunner::callShouldCloseOnWebView):
1457         (TestRunner::applicationCacheDiskUsageForOrigin):
1458         (TestRunner::clearApplicationCacheForOrigin):
1459         (TestRunner::setDefersLoading):
1460         (TestRunner::setDomainRelaxationForbiddenForURLScheme):
1461         (TestRunner::setTabKeyCyclesThroughElements):
1462         (TestRunner::setValueForUser):
1463         (TestRunner::dispatchPendingLoadRequests):
1464         (TestRunner::setWindowIsKey):
1465         (TestRunner::execCommand):
1466         (TestRunner::addOriginAccessWhitelistEntry):
1467         (TestRunner::removeOriginAccessWhitelistEntry):
1468         (TestRunner::addUserScript):
1469         (TestRunner::addUserStyleSheet):
1470         (TestRunner::showWebInspector):
1471         (TestRunner::closeWebInspector):
1472         (TestRunner::evaluateInWebInspector):
1473         (TestRunner::setSerializeHTTPLoads):
1474         * DumpRenderTree/win/TextInputControllerWin.cpp:
1475         (TextInputController::setMarkedText):
1476         (TextInputController::hasMarkedText):
1477         (TextInputController::unmarkText):
1478         (TextInputController::markedRange):
1479         (TextInputController::insertText):
1480         (TextInputController::firstRectForCharacterRange):
1481         (TextInputController::selectedRange):
1482         * DumpRenderTree/win/UIDelegate.h:
1483         (UIDelegate::unused2):
1484         (UIDelegate::unused3):
1485         (UIDelegate::webViewScrolled):
1486         (UIDelegate::webViewShouldInterruptJavaScript):
1487         (UIDelegate::webViewReceivedFocus):
1488         (UIDelegate::unused4): Deleted.
1489         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp:
1490         (TestWebKitAPI::WebViewDestructionWithHostWindow::SetUp):
1491         * WinLauncher/PageLoadTestClient.cpp:
1492         (PageLoadTestClient::didStartProvisionalLoad):
1493         * WinLauncher/WinLauncher.cpp:
1494         (WinLauncher::init):
1495         * WinLauncher/WinLauncher.h:
1496         * WinLauncher/WinLauncherWebHost.cpp:
1497         (WinLauncherWebHost::didFinishLoadForFrame):
1498         (WinLauncherWebHost::didFirstLayoutInFrame):
1499         * WinLauncher/WinLauncherWebHost.h:
1500
1501 2015-07-15  Dean Johnson  <dean_johnson@apple.com>
1502
1503         Many test failures in scm_unittest.py
1504         https://bugs.webkit.org/show_bug.cgi?id=143967
1505
1506         Reviewed by Daniel Bates. 
1507
1508         * Scripts/webkitpy/common/checkout/scm/detection.py:
1509         (SCMDetector.detect_scm_system): Paths with symlinks are now resolved to
1510         absolute canonical file paths. Two mutually exclusive issues cause this
1511         to be a problem.
1512             1) Python's os.path.relpath() function does not return correct relative
1513             paths between two filepaths that point to the same file, if symlinks are
1514             involved.
1515                 On Mac, /tmp points to /private/tmp
1516                 ex. os.path.relpath('/tmp', '/private/tmp')
1517                     returns '../../tmp'
1518             What we want is actually just '.'
1519             2) Git does not allow file paths to trace outside of
1520             the Git repository. This means that if you have a repository in
1521             /tmp and you refer to that repository when invoking a git command as
1522             ../tmp, Git will produce errors about working outside of the repository.
1523         * Scripts/webkitpy/common/checkout/scm/git.py: Over time Git has changed
1524         its default behavior and such, needed to be updated.
1525         (Git.changed_files): '--' was added into the command so that patch_directories
1526         were taken as positional arguments.
1527         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py: Changed tests and setup 
1528         in the GitSVNTest class to more closely emulate the version of Git that the tests
1529         assumed a system had. Also fixed a small side-effect from the absolute canonical
1530         path fix in SCMDetector.detect_scm_system
1531         (SVNTestRepository.setup): A relative filepath was previously passed as the
1532         checkout root to SCMDetector.detect_scm_system, but is now cleaned to
1533         an absolute canonical path before being passed in. The failing test
1534         was a "sanity check" that the svn.checkout_root and scm.checkout_root
1535         were the same.
1536         (GitSVNTest._setup_git_checkout):
1537             1) Added "--prefix ''" option to `git clone` since Git changed its default
1538             behavior in version 2.0.
1539             2) The branch master was renamed to trunk to more closely emulate what
1540             tests expected when they were written. 
1541         (GitSVNTest.test_changed_files_local_plus_working_copy): Two of the three
1542         original tests failed because the tests expected the trunk branch
1543         to produce its parent's commit, whereas Git merely provides the HEAD commit
1544         for a given branch (trunk in this case). Based on other tests written
1545         in the same commit, it appears these tests were failing from the point they
1546         were written.
1547
1548 2015-07-14  Anders Carlsson  <andersca@apple.com>
1549
1550         Assertions.h should include ExportMacros.h
1551         https://bugs.webkit.org/show_bug.cgi?id=146948
1552
1553         Reviewed by Tim Horton.
1554
1555         Remove now unneeded WTF_EXPORT_PRIVATE define.
1556
1557         * DumpRenderTree/cg/ImageDiffCG.cpp:
1558
1559 2015-07-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1560
1561         [GTK] [Wayland] Build by default the X11 and Wayland targets.
1562         https://bugs.webkit.org/show_bug.cgi?id=146057
1563
1564         Reviewed by Carlos Garcia Campos.
1565
1566         * gtk/install-dependencies:
1567
1568 2015-07-10  Brent Fulgham  <bfulgham@apple.com>
1569
1570         [Mac] Unable to dismiss context menu during test runs
1571         https://bugs.webkit.org/show_bug.cgi?id=146836
1572
1573         Reviewed by Tim Horton.
1574
1575         Since Context Menus are modal, the test system would block on the displayed context menu,
1576         causing tests to fail. Instead, we should do what WK1 was doing, which is to perform the
1577         mouse click and generate the menu contents, but not ask AppKit to display it.
1578
1579         Drive-by fix: We did not handle 'escape' key presses. This is also fixed.
1580
1581         * DumpRenderTree/mac/EventSendingController.mm:
1582         (-[EventSendingController keyDown:withModifiers:withLocation:]): Handle the 'escape' character.
1583         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1584         (WTR::EventSendingController::mouseMoveTo): Keep track of the current mouse position.
1585         (WTR::EventSendingController::contextClick): Don't emit an actual context menu invocation and then
1586         copy the menu items. Instead, use WKBundlePageCopyContentMenuAtPointInWindow to do all the same
1587         work without actually calling on AppKit to display the menu.
1588         ask WebCore to do all the work EXCEPT displaying the menu.
1589         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
1590         * WebKitTestRunner/mac/EventSenderProxy.mm:
1591         (WTR::EventSenderProxy::keyDown): Handle the 'escape' character.
1592
1593 2015-07-09  Filip Pizlo  <fpizlo@apple.com>
1594
1595         It should be possible to run the OSR exit fuzzer
1596         https://bugs.webkit.org/show_bug.cgi?id=146814
1597
1598         Reviewed by Mark Lam.
1599         
1600         This runs a test command to detect how many static OSR exit sites it had, and then for
1601         each exit site, it triggers three exits (earliest opportunity, last opportunity, some
1602         middle opportunity), plus a mode where the check always exits. This is an exhaustive
1603         search, so in the future it'll be very appropriate for cases where we have a simple test
1604         and we want to see what happens when you eventually exit in this test.
1605         
1606         Right now this isn't hooked into any specific tests, but I've done some spot checks on it
1607         and it seems to do the right thing.
1608
1609         * Scripts/jsc-stress-test-helpers/js-osr-exit-fuzz: Added.
1610         (fail):
1611
1612 2015-07-10  Alex Christensen  <achristensen@webkit.org>
1613
1614         Add tests for r186649
1615         https://bugs.webkit.org/show_bug.cgi?id=146821
1616
1617         Reviewed by Darin Adler.
1618
1619         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1620         (TestWebKitAPI::TEST_F):
1621         (TestWebKitAPI::compareContents):
1622         (TestWebKitAPI::expectedIndex):
1623         Add some larger tests to test large jumps.
1624
1625 2015-07-09  Dewei Zhu  <dewei_zhu@apple.com>
1626
1627         Quick fix for run_benchmark script that AppKit.NSRunningApplication does not work properly
1628         https://bugs.webkit.org/show_bug.cgi?id=146820
1629
1630         Reviewed by Ryosuke Niwa.
1631
1632         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
1633         (OSXBrowserDriver):
1634         (OSXBrowserDriver.close_browsers):
1635         (OSXBrowserDriver._terminiate_processes):
1636         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
1637         (OSXChromeDriver):
1638         (OSXChromeCanaryDriver):
1639         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
1640         (OSXFirefoxDriver):
1641         (OSXFirefoxNightlyDriver):
1642         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
1643         (OSXSafariDriver):
1644
1645 2015-07-09  Michael Catanzaro  <mcatanzaro@igalia.com>
1646
1647         [GTK] pango should be included in the default jhbuild moduleset
1648         https://bugs.webkit.org/show_bug.cgi?id=146683
1649
1650         Reviewed by Martin Robinson.
1651
1652         Recent releases of pango 1.36 use functions that are only provided by fontconfig 2.12 when
1653         compiled against sufficiently-new versions of fontconfig. Since we depend on both pango and
1654         fontconfig, and pango depends on fontconfig, we must either add pango to our jhbuild
1655         moduleset or else upgrade fontconfig to a recent unstable release (knowing that we will have
1656         the same problem again the next time pango wants to use a new fontconfig feature), or remove
1657         fontconfig (which would make it hard to keep tests working). On the balance, adding pango is
1658         best.
1659
1660         * gtk/jhbuild-optional.modules: Remove pango
1661         * gtk/jhbuild.modules: Add pango and update to latest 1.36.8
1662
1663 2015-07-09  Devin Rousso  <drousso@apple.com>
1664
1665         Unreviewed.  Added myself as a committer.
1666
1667         * Scripts/webkitpy/common/config/contributors.json:
1668
1669 2015-07-09  Timothy Horton  <timothy_horton@apple.com>
1670
1671         Add a way to set the default URL from Minibrowser UI
1672         https://bugs.webkit.org/show_bug.cgi?id=146780
1673
1674         Reviewed by Simon Fraser.
1675
1676         * MiniBrowser/mac/AppDelegate.m:
1677         (-[BrowserAppDelegate didChangeSettings]):
1678         * MiniBrowser/mac/BrowserWindowController.h:
1679         * MiniBrowser/mac/BrowserWindowController.m:
1680         (-[BrowserWindowController fetch:]):
1681         (-[BrowserWindowController reload:]):
1682         (-[BrowserWindowController forceRepaint:]):
1683         (-[BrowserWindowController goBack:]):
1684         (-[BrowserWindowController goForward:]):
1685         (-[BrowserWindowController showHideWebView:]):
1686         (-[BrowserWindowController removeReinsertWebView:]):
1687         (-[BrowserWindowController zoomIn:]):
1688         (-[BrowserWindowController zoomOut:]):
1689         (-[BrowserWindowController resetZoom:]):
1690         (-[BrowserWindowController canZoomIn]):
1691         (-[BrowserWindowController canZoomOut]):
1692         (-[BrowserWindowController canResetZoom]):
1693         (-[BrowserWindowController toggleZoomMode:]):
1694         (-[BrowserWindowController setScale:]):
1695         (-[BrowserWindowController toggleShrinkToFit:]):
1696         (-[BrowserWindowController dumpSourceToConsole:]):
1697         (-[BrowserWindowController find:]):
1698         (-[BrowserWindowController didChangeSettings]):
1699         (-[BrowserWindowController currentURL]):
1700         Get rid of the BrowserController protocol. It was a bad idea and confused
1701         Interface Builder more than I thought possible.
1702
1703         * MiniBrowser/mac/SettingsController.m:
1704         (-[SettingsController _populateMenu]):
1705         (-[SettingsController setDefaultURLToCurrentURL:]):
1706         If we have a BrowserWindowController, grab its URL and set the relevant default.
1707
1708         * MiniBrowser/mac/WK1BrowserWindowController.h:
1709         * MiniBrowser/mac/WK1BrowserWindowController.m:
1710         (-[WK1BrowserWindowController currentURL]):
1711         * MiniBrowser/mac/WK2BrowserWindowController.h:
1712         * MiniBrowser/mac/WK2BrowserWindowController.m:
1713         (-[WK2BrowserWindowController currentURL]):
1714         Retrieve the current URL from the WKView/WebView.
1715
1716 2015-07-09  Timothy Horton  <timothy_horton@apple.com>
1717
1718         Increase MiniBrowser location bar maximum width
1719         https://bugs.webkit.org/show_bug.cgi?id=146779
1720
1721         Reviewed by Simon Fraser.
1722
1723         * MiniBrowser/mac/BrowserWindow.xib:
1724         Have an enormous maximum width on the location bar, so that it doesn't
1725         stop expanding with the window at 800px.
1726
1727 2015-07-08  Brady Eidson  <beidson@apple.com>
1728
1729         Crash calling [WebView close] in didFinishLoadForFrame callback.
1730         <rdar://problem/21690765> and https://bugs.webkit.org/show_bug.cgi?id=146773
1731
1732         Reviewed by David Kilzer.
1733
1734         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1735         
1736         * TestWebKitAPI/Tests/mac/WebViewCloseInsideDidFinishLoadForFrame.mm: Added.
1737         (-[WebViewCloseFrameLoadDelegate webView:didFinishLoadForFrame:]):
1738         (TestWebKitAPI::TEST):
1739
1740 2015-07-08  Hyungwook Lee  <hyungwook.lee@navercorp.com>
1741
1742         Fix ASSERTION FAILED: !m_pendingNavigationID in WebPage::reload().
1743         https://bugs.webkit.org/show_bug.cgi?id=146546
1744
1745         Reviewed by Darin Adler.
1746
1747         We did't reset pendingNavigationID value when request url is empty.
1748         Hence we need to ignore ASSERT check in this case.
1749
1750         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
1751         (TestWebKitAPI::TEST):
1752
1753 2015-07-08  Benjamin Poulain  <bpoulain@apple.com>
1754
1755         [Content Extensions] Fuse undistinguishable actions as much as possible
1756         https://bugs.webkit.org/show_bug.cgi?id=146762
1757
1758         Reviewed by Alex Christensen.
1759
1760         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1761         Test that combinations and flags still work as expected.
1762
1763 2015-07-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1764
1765         [GTK] [Wayland] Allow building and testing the Wayland target with the default JHBuild moduleset.
1766         https://bugs.webkit.org/show_bug.cgi?id=146056
1767
1768         Reviewed by Martin Robinson.
1769
1770         * gtk/install-dependencies: libepoxy is now required for building GTK+.
1771         * gtk/jhbuild-wayland.modules: Removed. Not longer needed.
1772         * gtk/jhbuild.modules: Upgrade GTK+ (3.16.4) and required dependencies for building:
1773         Cairo (1.14.2), Gdk-Pixbuf (2.30.8) and GLib (2.44.1).
1774         * gtk/patches/cairo-1.12.8-add_disable-lto.patch: Removed. Not longer needed.
1775         Cairo removed support for LTO on (1.14). Upstream commit: c7ff9bb.
1776         * gtk/patches/gtk-3.6-do-not-shutdown-accessibility.patch: Removed. Not longer needed.
1777         GTK+ merged this patch on GTK+-3.10. Upstream commit: 8d83d98.
1778
1779 2015-07-06  Matt Rajca  <mrajca@apple.com>
1780
1781         Media Session: propagate metadata changes to UI clients
1782         https://bugs.webkit.org/show_bug.cgi?id=146660
1783
1784         Reviewed by Tim Horton.
1785
1786         * WebKitTestRunner/TestController.cpp: Build fixes for updated PageUIClient.
1787         (WTR::TestController::createOtherPage):
1788         (WTR::TestController::createWebViewWithOptions):
1789
1790 2015-07-07  Brady Eidson  <beidson@apple.com>
1791
1792         HTTP Auth cached after disabling private browsing/reset.
1793         <rdar://problem/8293055> and https://bugs.webkit.org/show_bug.cgi?id=146654
1794
1795         Reviewed by Tim Horton.
1796
1797         * DumpRenderTree/mac/DumpRenderTree.mm:
1798         (resetWebViewToConsistentStateBeforeTesting): Clear in-memory credentials in between test runs.
1799
1800 2015-07-06  Alex Christensen  <achristensen@webkit.org>
1801
1802         [Content Extensions] Remove memory page reporting
1803         https://bugs.webkit.org/show_bug.cgi?id=146659
1804
1805         Reviewed by Benjamin Poulain.
1806
1807         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1808         (TestWebKitAPI::TEST_F):
1809
1810 2015-07-06  Benjamin Poulain  <benjamin@webkit.org>
1811
1812         [Content Extensions] Make the DFA transitions ranges instead of characters
1813         https://bugs.webkit.org/show_bug.cgi?id=146575
1814
1815         Reviewed by Alex Christensen.
1816
1817         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1818         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
1819         Since the minimizer is perfect, we get the minimal solution now,
1820         which is really cool!
1821
1822 2015-07-06  Brady Eidson  <beidson@apple.com>
1823
1824         ShouldOpenExternalURLsPolicy should default to "Allow" for WK2 API loads.
1825         <rdar://problem/21640050> and https://bugs.webkit.org/show_bug.cgi?id=146563
1826
1827         Reviewed by Geoff Garen.
1828
1829         * WebKitTestRunner/TestInvocation.cpp:
1830         (WTR::TestInvocation::invoke): For testing purposes, all pages should start with the 
1831           ShouldOpenExternalURLsPolicy set to "ShouldNotAllow"
1832
1833 2015-07-06  Daniel Bates  <dabates@apple.com>
1834
1835         Unreviewed, rolling out r170639.
1836
1837         Broke using webkit-patch apply-attachment to apply an
1838         attachment from a security bug. The patch incorrectly assumed
1839         that Bugzilla returns a non-HTTP 200 status code in its HTTP
1840         response when authentication is required.
1841
1842         Reverted changeset:
1843
1844         "webkit-patch apply-from-bug / apply-attachment should not ask
1845         for credentials if none are required"
1846         https://bugs.webkit.org/show_bug.cgi?id=40095
1847         http://trac.webkit.org/changeset/170639
1848
1849 2015-07-04  Chris Dumez  <cdumez@apple.com>
1850
1851         Drop RefPtr::clear() method
1852         https://bugs.webkit.org/show_bug.cgi?id=146556
1853
1854         Reviewed by Brady Eidson.
1855
1856         Drop RefPtr::clear() method in favor of "= nullptr;" pattern.
1857
1858 2015-07-03  Dan Bernstein  <mitz@apple.com>
1859
1860         Fixed the iOS build.
1861
1862         * DumpRenderTree/mac/EventSendingController.mm:
1863         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1864         (+[EventSendingController webScriptNameForSelector:]):
1865
1866 2015-07-03  Dan Bernstein  <mitz@apple.com>
1867
1868         [Xcode] Update some build settings as recommended by Xcode 7
1869         https://bugs.webkit.org/show_bug.cgi?id=146597
1870
1871         Reviewed by Sam Weinig.
1872
1873         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
1874
1875         * DumpRenderTree/mac/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS,
1876         ENABLE_STRICT_OBJC_MSGSEND, CLANG_WARN_BOOL_CONVERSION, CLANG_WARN_CONSTANT_CONVERSION,
1877         CLANG_WARN_EMPTY_BODY, CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION,
1878         CLANG_WARN_UNREACHABLE_CODE, GCC_WARN_ABOUT_RETURN_TYPE,
1879         GCC_WARN_UNINITIALIZED_AUTOS, and GCC_WARN_UNDECLARED_SELECTOR.
1880
1881         * DumpRenderTree/mac/EventSendingController.mm:
1882         (+[EventSendingController webScriptNameForSelector:]): Removed check for setDragMode:,
1883         which was removed in r19101.
1884
1885         * DumpRenderTree/mac/TextInputController.m:
1886         (-[TextInputController interpretKeyEvents:withSender:]): Suppressed -Wundeclared-selector
1887         around used of a selector not that is not declared anywhere.
1888
1889         * MiniBrowser/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS.
1890
1891         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
1892
1893         * TestWebKitAPI/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS,
1894         ENABLE_STRICT_OBJC_MSGSEND, CLANG_WARN_BOOL_CONVERSION, CLANG_WARN_CONSTANT_CONVERSION,
1895         CLANG_WARN_EMPTY_BODY, CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION,
1896         CLANG_WARN_UNREACHABLE_CODE, GCC_WARN_ABOUT_RETURN_TYPE,
1897         GCC_WARN_UNINITIALIZED_AUTOS, and GCC_WARN_UNDECLARED_SELECTOR.
1898
1899         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
1900
1901 2015-07-02  Daniel Bates  <dabates@apple.com>
1902
1903         [iOS] Add WebKitSystemInterface for iOS 8.4
1904         https://bugs.webkit.org/show_bug.cgi?id=146548
1905
1906         Rubber-stamped by Zalan Bujtas.
1907
1908         * Scripts/copy-webkitlibraries-to-product-directory:
1909
1910 2015-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
1911
1912         [GTK] WebSQL doesn't work because openDatabase always fails with DOM Exception 18
1913         https://bugs.webkit.org/show_bug.cgi?id=146234
1914
1915         Reviewed by Sergio Villar Senin.
1916
1917         Enable the WebSQL directory test that was disabled because of this bug.
1918
1919         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
1920         (testWebContextConfiguration):
1921
1922 2015-07-01  Matthew Daiter  <mdaiter@apple.com>
1923
1924         Enabled MEDIA_STREAM flag
1925         https://bugs.webkit.org/show_bug.cgi?id=145947
1926         <rdar://problem/21365829>
1927         
1928         Reviewed by Eric Carlson.
1929
1930         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
1931
1932 2015-06-30  Martin Robinson  <mrobinson@igalia.com>
1933
1934         [GTK] REGRESSION(r183936): Test /webkit2/WebKitWebContext/spell-checker fails since r183936
1935         https://bugs.webkit.org/show_bug.cgi?id=144828
1936
1937         Reviewed by Carlos Garcia Campos.
1938
1939         * WebKitTestRunner/gtk/main.cpp:
1940         (main): Use the new WKTextChecker API to set the spell checking languages
1941         when the process is starting up.
1942
1943 2015-06-30  Andy VanWagoner  <thetalecrafter@gmail.com>
1944
1945         Implement ECMAScript Internationalization API
1946         https://bugs.webkit.org/show_bug.cgi?id=90906
1947
1948         Reviewed by Benjamin Poulain.
1949
1950         * Scripts/webkitperl/FeatureList.pm: add ENABLE_INTL flag
1951
1952 2015-06-30  Jonathan Davis  <jond@apple.com>
1953
1954         Unreviewed. Added myself as a committer.
1955
1956         * Scripts/webkitpy/common/config/contributors.json:
1957
1958 2015-06-30  Brent Fulgham  <bfulgham@apple.com>
1959
1960         Unreviewed build fix.
1961
1962         * Scripts/update-webkit-dependency: Try to build even if we cannot connect
1963         to developer.apple.com to get update libraries.
1964
1965 2015-06-29  Jake Nielsen  <jacob_nielsen@apple.com>
1966
1967         Add timeout in run-webkit-tests for launching the simulator
1968         https://bugs.webkit.org/show_bug.cgi?id=146371
1969
1970         Reviewed by Darin Adler.
1971
1972         Adds a default 5-minute timeout using the timeout class in webkitpy.benchmark_runner.utils
1973         for the otherwise infinitely patient wait_until_device_is_in_state method.
1974
1975         * Scripts/webkitpy/xcode/simulator.py:
1976         (Simulator.DeviceState):
1977         (Simulator):
1978         (Simulator.wait_until_device_is_in_state):
1979         (Simulator.device_state):
1980
1981 2015-06-29  Benjamin Poulain  <benjamin@webkit.org>
1982
1983         Make the NFA transitions range-based
1984         https://bugs.webkit.org/show_bug.cgi?id=146338
1985
1986         Reviewed by Alex Christensen.
1987
1988         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1989         Test some new interesting cases.
1990
1991 2015-06-28  Dan Bernstein  <mitz@apple.com>
1992
1993         [Xcode] Use the same environment for command-line and IDE builds
1994         https://bugs.webkit.org/show_bug.cgi?id=146401
1995
1996         Reviewed by Anders Carlsson.
1997
1998         * Scripts/webkitdirs.pm:
1999         (XcodeOptions): Set the UseSanitizedBuildSystemEnvironment user default to YES, which makes
2000         xcodebuild use the same environment Xcode uses.
2001
2002 2015-06-28  Dan Bernstein  <mitz@apple.com>
2003
2004         REGRESSION (r185915): Source-incompatible change in WKPageUIClient
2005         https://bugs.webkit.org/show_bug.cgi?id=146396
2006
2007         Reviewed by Anders Carlsson.
2008
2009         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
2010         (TestWebKitAPI::runJavaScriptAlert): Removed _deprecatedForUseWithV0 suffix from the name.
2011         (TestWebKitAPI::TEST): Updated for renames.
2012         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
2013         (runJavaScriptAlert): Removed suffix.
2014         (TestWebKitAPI::FullscreenZoomInitialFrame::initializeView): Updated.
2015         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
2016         (runJavaScriptAlert): Removed suffix.
2017         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::initializeView): Updated.
2018
2019 2015-06-27  Carlos Garcia Campos  <cgarcia@igalia.com>
2020
2021         [GTK][SOUP] Implement WebCore::PublicSuffix for soup and enable PUBLIC_SUFFIX_LIST for GTK+
2022         https://bugs.webkit.org/show_bug.cgi?id=146318
2023
2024         Reviewed by Sergio Villar Senin.
2025
2026         Copy mac PublicSuffix test to the common directory and add it to
2027         the GTK+ build.
2028
2029         * TestWebKitAPI/PlatformGTK.cmake:
2030         * TestWebKitAPI/Tests/WebCore/PublicSuffix.cpp: Added.
2031         (TestWebKitAPI::TEST_F):
2032
2033 2015-06-26  Per Arne Vollan  <peavo@outlook.com>
2034
2035         WinLauncher fails to download files.
2036         https://bugs.webkit.org/show_bug.cgi?id=146242
2037
2038         Reviewed by Alex Christensen.
2039
2040         Added WinLauncher download delegate.
2041
2042         * WinLauncher/Common.cpp:
2043         * WinLauncher/WebDownloadDelegate.cpp: Added.
2044         (WebDownloadDelegate::WebDownloadDelegate):
2045         (WebDownloadDelegate::~WebDownloadDelegate):
2046         (WebDownloadDelegate::QueryInterface):
2047         (WebDownloadDelegate::AddRef):
2048         (WebDownloadDelegate::Release):
2049         (WebDownloadDelegate::decideDestinationWithSuggestedFilename):
2050         (WebDownloadDelegate::didCancelAuthenticationChallenge):
2051         (WebDownloadDelegate::didCreateDestination):
2052         (WebDownloadDelegate::didFailWithError):
2053         (WebDownloadDelegate::didReceiveAuthenticationChallenge):
2054         (WebDownloadDelegate::didReceiveDataOfLength):
2055         (WebDownloadDelegate::didReceiveResponse):
2056         (WebDownloadDelegate::shouldDecodeSourceDataOfMIMEType):
2057         (WebDownloadDelegate::willResumeWithResponse):
2058         (WebDownloadDelegate::willSendRequest):
2059         (WebDownloadDelegate::didBegin):
2060         (WebDownloadDelegate::didFinish):
2061         * WinLauncher/WebDownloadDelegate.h: Added.
2062         * WinLauncher/WinLauncher.cpp:
2063         (WinLauncher::setAccessibilityDelegate):
2064         (WinLauncher::setResourceLoadDelegate):
2065         (WinLauncher::setDownloadDelegate):
2066         (WinLauncher::mainFrame):
2067         * WinLauncher/WinLauncher.h:
2068         (WinLauncher::standardPreferences):
2069         (WinLauncher::privatePreferences):
2070         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
2071         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
2072         * WinLauncher/WinMain.cpp:
2073         (wWinMain):
2074
2075 2015-06-26  Csaba Osztrogonác  <ossy@webkit.org>
2076
2077         [EFL] Bump libseccomp version to 2.2.1
2078         https://bugs.webkit.org/show_bug.cgi?id=146341
2079
2080         Reviewed by Gyuyoung Kim.
2081
2082         * efl/jhbuild.modules:
2083         * efl/jhbuildrc: Enabled libseccomp build on AArch64.
2084         * efl/patches/libseccomp-pick-up-CC.patch: Removed, we don't need it anymore.
2085
2086 2015-06-25  Alex Christensen  <achristensen@webkit.org>
2087
2088         [Content Extensions] Add a way to match a domain but not subdomains
2089         https://bugs.webkit.org/show_bug.cgi?id=146241
2090         rdar://problem/21557754
2091
2092         Reviewed by Darin Adler.
2093
2094         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2095         (TestWebKitAPI::TEST_F):
2096         Update subdomain test because of changed behavior and add test for new '*' functionality.
2097
2098 2015-06-25  Jaehun Lim  <ljaehun.lim@samsung.com>
2099
2100         Cleanup ENABLE_CSS3_CONDITIONAL_RULES codes.
2101         https://bugs.webkit.org/show_bug.cgi?id=146308
2102
2103         Reviewed by Csaba Osztrogonác.
2104
2105         ENABLE_CSS3_CONDITIONAL_RULES guard was removed from r174536.
2106
2107         * Scripts/webkitperl/FeatureList.pm:
2108
2109 2015-06-25  Carlos Garcia Campos  <cgarcia@igalia.com>
2110
2111         [GTK] Add initial WebKitWebsiteDataManager API for process configuration options
2112         https://bugs.webkit.org/show_bug.cgi?id=146149
2113
2114         Reviewed by Sergio Villar Senin.
2115
2116         Update unit tests to use WebKitWebsiteDataManager.
2117
2118         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
2119         (testWebContextConfiguration):
2120         (serverCallback):
2121         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
2122         (Test::Test): Use WebKitWebsiteDataManager and set all possible
2123         values to ensure unit tests don't write outside the temporary directory.
2124         (Test::~Test): Explicitly reset the web context to ensure its
2125         objects are released before the leaks check.
2126         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
2127         (WebViewTest::wait): Fix the GSource used, since we are receiving
2128         a double in seconds, but using g_timeout_add_seconds() that
2129         expects an unsigned in seconds. Use GMainLoopSource to correctly
2130         handle the value and simplify the code.
2131
2132 2015-06-24  Jason Marcell  <jmarcell@apple.com>
2133
2134         Work towards: Add status of Safari projects on iOS Dashboard on build-safari
2135         https://bugs.webkit.org/show_bug.cgi?id=146126
2136         <rdar://problem/18226291>
2137
2138         Reviewed by Alexey Proskuryakov.
2139
2140         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
2141         (documentReady): Using combined queues to display iOS projects
2142
2143 2015-06-24  Doug Russell  <d_russell@apple.com>
2144
2145         Bug 146177 - AX: AXObjectCache should try to use an unignored accessibilityObject 
2146         when posting a selection notification when on the border between two accessibilityObjects
2147         https://bugs.webkit.org/show_bug.cgi?id=146177
2148
2149         Reviewed by Darin Adler.
2150
2151         Add support for mapping WebCore Accessibility types into JSValueRef types
2152         so they can be used in tests.
2153
2154         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
2155         (webAccessibilityObjectWrapperClass):
2156         (-[AccessibilityNotificationHandler startObserving]):
2157         (makeValueRefForValue):
2158         (makeArrayRefForArray):
2159         (makeObjectRefForDictionary):
2160         (-[AccessibilityNotificationHandler _notificationReceived:]):
2161         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
2162         (webAccessibilityObjectWrapperClass):
2163         (-[AccessibilityNotificationHandler startObserving]):
2164         (makeValueRefForValue):
2165         (makeArrayRefForArray):
2166         (makeObjectRefForDictionary):
2167         (-[AccessibilityNotificationHandler _notificationReceived:]):
2168
2169 2015-06-24  Zalan Bujtas  <zalan@apple.com>
2170
2171         Subpixel rendering: roundToDevicePixel() snaps to wrong value.
2172         https://bugs.webkit.org/show_bug.cgi?id=146273
2173         rdar://problem/18509840
2174
2175         Reviewed by Simon Fraser.
2176
2177         Due to the floating point approximate representation, we can't always produce
2178         the correct snap value. This patch addresses the issue by removing redundant kFixedPointDenominator multiplication
2179         and by changing the rounding in roundToDevicePixel() from float to double.
2180
2181         * TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp:
2182         (TestWebKitAPI::TEST):
2183
2184 2015-06-24  Brady Eidson  <beidson@apple.com>
2185
2186         Update JavaScript dialog delegates to include a WKSecurityOriginRef argument.
2187         <rdar://problem/21269187> and https://bugs.webkit.org/show_bug.cgi?id=146249
2188
2189         Reviewed by Alex Christensen.
2190
2191         - Update WKTR to the new client structure.
2192         - Update existing TestWebKitAPI tests to either use the new client structure or
2193           assign the old function signature to the updated variable name.
2194         - Include a new test.
2195
2196         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2197
2198         * TestWebKitAPI/Tests/WebKit2/CloseFromWithinCreatePage.cpp:
2199         (TestWebKitAPI::runJavaScriptAlert):
2200
2201         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
2202         (TestWebKitAPI::TEST):
2203
2204         * TestWebKitAPI/Tests/WebKit2/ModalAlertsSPI.cpp:
2205         (TestWebKitAPI::analyzeDialogArguments):
2206         (TestWebKitAPI::runJavaScriptAlert):
2207         (TestWebKitAPI::runJavaScriptConfirm):
2208         (TestWebKitAPI::runJavaScriptPrompt):
2209         (TestWebKitAPI::createNewPage):
2210         (TestWebKitAPI::TEST):
2211
2212         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
2213         (TestWebKitAPI::FullscreenZoomInitialFrame::initializeView):
2214
2215         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
2216         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::initializeView):
2217
2218         * WebKitTestRunner/TestController.cpp:
2219         (WTR::TestController::createOtherPage):
2220         (WTR::TestController::createWebViewWithOptions):
2221
2222 2015-06-23  Dewei Zhu  <dewei_zhu@apple.com>
2223
2224         Refactoring benchmark runner script to follow pep8 code style.
2225         https://bugs.webkit.org/show_bug.cgi?id=146264
2226
2227         Reviewed by Ryosuke Niwa.
2228
2229         Refactor benchmark runner script to follow pep8 code style.
2230
2231         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
2232         (GenericBenchmarkBuilder.prepare):
2233         (GenericBenchmarkBuilder._run_create_script):
2234         (GenericBenchmarkBuilder._copy_benchmark_to_temp_dir):
2235         (GenericBenchmarkBuilder._fetch_remote_archive):
2236         (GenericBenchmarkBuilder):
2237         (GenericBenchmarkBuilder._checkout_with_subversion):
2238         (GenericBenchmarkBuilder._apply_patch):
2239         (GenericBenchmarkBuilder.clean):
2240         (GenericBenchmarkBuilder._runCreateScript): Deleted.
2241         (GenericBenchmarkBuilder._copyBenchmarkToTempDir): Deleted.
2242         (GenericBenchmarkBuilder._fetchRemoteArchive): Deleted.
2243         (GenericBenchmarkBuilder._checkoutWithSubverion): Deleted.
2244         (GenericBenchmarkBuilder._applyPatch): Deleted.
2245         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
2246         (BenchmarkRunner.__init__):
2247         (BenchmarkRunner._find_plan_file):
2248         (BenchmarkRunner.execute):
2249         (BenchmarkRunner._cleanup):
2250         (BenchmarkRunner._dump):
2251         (BenchmarkRunner._wrap):
2252         (BenchmarkRunner._merge):
2253         (BenchmarkRunner._show_results):
2254         (BenchmarkRunner._findPlanFile): Deleted.
2255         (BenchmarkRunner.cleanup): Deleted.
2256         (BenchmarkRunner.dump): Deleted.
2257         (BenchmarkRunner.wrap): Deleted.
2258         (BenchmarkRunner.merge): Deleted.
2259         (BenchmarkRunner.show_results): Deleted.
2260         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
2261         (BrowserDriver.prepare_env):
2262         (BrowserDriver.launch_url):
2263         (BrowserDriver.close_browsers):
2264         (BrowserDriver.prepareEnv): Deleted.
2265         (BrowserDriver.launchUrl): Deleted.
2266         (BrowserDriver.closeBrowser): Deleted.
2267         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
2268         (OSXBrowserDriver):
2269         (OSXBrowserDriver.prepare_env):
2270         (OSXBrowserDriver.close_browsers):
2271         (OSXBrowserDriver._launch_process):
2272         (OSXBrowserDriver._terminiate_processes):
2273         (OSXBrowserDriver._launch_process_with_caffinate):
2274         (OSXBrowserDriver._screen_size):
2275         (OSXBrowserDriver.prepareEnv): Deleted.
2276         (OSXBrowserDriver.closeBrowsers): Deleted.
2277         (OSXBrowserDriver.launchProcess): Deleted.
2278         (OSXBrowserDriver.terminateProcesses): Deleted.
2279         (OSXBrowserDriver.launchProcessWithCaffinate): Deleted.
2280         (OSXBrowserDriver.screenSize): Deleted.
2281         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
2282         (OSXChromeDriver):
2283         (OSXChromeDriver.launch_url):
2284         (OSXChromeCanaryDriver):
2285         (OSXChromeCanaryDriver.launch_url):
2286         (OSXChromeDriver.launchUrl): Deleted.
2287         (OSXChromeCanaryDriver.launchUrl): Deleted.
2288         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
2289         (OSXFirefoxDriver):
2290         (OSXFirefoxDriver.launch_url):
2291         (OSXFirefoxNightlyDriver):
2292         (OSXFirefoxNightlyDriver.launch_url):
2293         (OSXFirefoxDriver.launchUrl): Deleted.
2294         (OSXFirefoxNightlyDriver.launchUrl): Deleted.
2295         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
2296         (OSXSafariDriver):
2297         (OSXSafariDriver.prepare_env):
2298         (OSXSafariDriver.launch_url):
2299         (OSXSafariDriver.close_browsers):
2300         (OSXSafariDriver._maximize_window):
2301         (OSXSafariDriver.prepareEnv): Deleted.
2302         (OSXSafariDriver.launchUrl): Deleted.
2303         (OSXSafariDriver.closeBrowsers): Deleted.
2304         (OSXSafariDriver.maximizeWindow): Deleted.
2305         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
2306         (HTTPServerDriver.fetch_result):
2307         (HTTPServerDriver.kill_server):
2308         (HTTPServerDriver.get_return_code):
2309         (HTTPServerDriver.set_device_id):
2310         (HTTPServerDriver.fetchResult): Deleted.
2311         (HTTPServerDriver.killServer): Deleted.
2312         (HTTPServerDriver.getReturnCode): Deleted.
2313         (HTTPServerDriver.setDeviceID): Deleted.
2314         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
2315         (SimpleHTTPServerDriver.serve):
2316         (SimpleHTTPServerDriver.base_url):
2317         (SimpleHTTPServerDriver.fetch_result):
2318         (SimpleHTTPServerDriver.kill_server):
2319         (SimpleHTTPServerDriver.get_return_code):
2320         (SimpleHTTPServerDriver): Deleted.
2321         (SimpleHTTPServerDriver.baseUrl): Deleted.
2322         (SimpleHTTPServerDriver.fetchResult): Deleted.
2323         (SimpleHTTPServerDriver.killServer): Deleted.
2324         (SimpleHTTPServerDriver.getReturnCode): Deleted.
2325         * Scripts/webkitpy/benchmark_runner/utils.py:
2326         (get_path_from_project_root):
2327         (force_remove):
2328         (getPathFromProjectRoot): Deleted.
2329         (forceRemove): Deleted.
2330
2331 2015-06-23  Anders Carlsson  <andersca@apple.com>
2332
2333         Add operator! and copy/move constructors to WeakObjCPtr
2334         https://bugs.webkit.org/show_bug.cgi?id=146255
2335
2336         Reviewed by Andreas Kling.
2337
2338         * TestWebKitAPI/Tests/WebKit2/cocoa/WeakObjCPtr.mm:
2339         (TEST):
2340
2341 2015-06-23  Simon Fraser  <simon.fraser@apple.com>
2342
2343         Expose some more rendering progress events, and have MiniBrowser log for each of them
2344         https://bugs.webkit.org/show_bug.cgi?id=146227
2345
2346         Reviewed by Darin Adler.
2347
2348         Register for layout milestones/rendering progress events in the WK1 and WK2
2349         browser window controllers, and, if logging is turned on, log when they are
2350         reached.
2351
2352         * MiniBrowser/mac/WK1BrowserWindowController.m:
2353         (-[WK1BrowserWindowController awakeFromNib]):
2354         (-[WK1BrowserWindowController webView:didLayout:]):
2355         * MiniBrowser/mac/WK2BrowserWindowController.m:
2356         (-[WK2BrowserWindowController awakeFromNib]):
2357         (-[WK2BrowserWindowController _webView:renderingProgressDidChange:]):
2358
2359 2015-06-23  Brady Eidson  <beidson@apple.com>
2360
2361         WKFrameInfo should have an accessor for the Frame's current security origin.
2362         https://bugs.webkit.org/show_bug.cgi?id=146162
2363
2364         Reviewed by Dan Bernstein.
2365
2366         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2367         * TestWebKitAPI/Tests/WebKit2/modal-alerts-in-new-about-blank-window.html: Added.
2368         * TestWebKitAPI/Tests/WebKit2Cocoa/ModalAlerts.mm: Added.
2369         (sawDialog):
2370         (-[ModalAlertsUIDelegate webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
2371         (-[ModalAlertsUIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
2372         (-[ModalAlertsUIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:]):
2373         (-[ModalAlertsUIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:]):
2374         (TEST):
2375
2376 2015-06-23  Tanay C  <tanay.c@samsung.com>
2377
2378         Remove build warnings in Tools/DumpRenderTree/TestNetscapePlugIn
2379         https://bugs.webkit.org/show_bug.cgi?id=146007
2380
2381         Reviewed by Darin Adler.
2382
2383         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
2384         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp: Add attribute to functions.
2385         (pluginLogWithWindowObject):
2386         (pluginLogWithArguments):
2387         (pluginLog):
2388         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp: Add attribute to functions.
2389         (PluginTest::executeScript):
2390         (PluginTest::log):
2391
2392 2015-06-23  Csaba Osztrogonác  <ossy@webkit.org>
2393
2394         [EFL] Add libhyphen-dev as dependency after r185862
2395         https://bugs.webkit.org/show_bug.cgi?id=146230
2396
2397         Reviewed by Gyuyoung Kim.
2398
2399         * efl/install-dependencies:
2400
2401 2015-06-22  Ryuan Choi  <ryuan.choi@navercorp.com>
2402
2403         [EFL] Hyphenation is not supported
2404         https://bugs.webkit.org/show_bug.cgi?id=89830
2405
2406         Reviewed by Gyuyoung Kim.
2407
2408         * efl/jhbuild.modules: Added webkitgtk-test-dicts for layout test.
2409
2410 2015-06-22  Dewei Zhu  <dewei_zhu@apple.com>
2411
2412         Get rid of factory json files in benchmark_runner
2413         https://bugs.webkit.org/show_bug.cgi?id=146175
2414
2415         Reviewed by Ryosuke Niwa.
2416
2417         Get rid of factory json files in benchmark_runner and refactoring the code.
2418
2419         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py:
2420         (benchmark_builder_loader):
2421         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builder_factory.py:
2422         (BenchmarkBuilderFactory):
2423         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Removed.
2424         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
2425         (GenericBenchmarkBuilder):
2426         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
2427         (BenchmarkRunner.__init__):
2428         (BenchmarkRunner.execute):
2429         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py:
2430         (browser_driver_loader):
2431         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
2432         (BrowserDriver):
2433         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
2434         (BrowserDriverFactory):
2435         (BrowserDriverFactory.available_platforms):
2436         (BrowserDriverFactory.available_browsers):
2437         (BrowserDriverFactory.add_browser_driver):
2438         (BrowserDriverFactory.create):
2439         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_drivers.json: Removed.
2440         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
2441         (OSXBrowserDriver):
2442         (OSXBrowserDriver.prepareEnv):
2443         (OSXBrowserDriver.terminateProcesses):
2444         (OSXBrowserDriver.screenSize):
2445         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
2446         (OSXChromeDriver):
2447         (OSXChromeCanaryDriver):
2448         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
2449         (OSXFirefoxDriver):
2450         (OSXFirefoxNightlyDriver):
2451         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
2452         (OSXSafariDriver):
2453         * Scripts/webkitpy/benchmark_runner/generic_factory.py:
2454         (GenericFactory.create):
2455         (GenericFactory.add):
2456         (GenericFactory.iterateGetItem): Deleted.
2457         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py:
2458         (http_server_driver_loader):
2459         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
2460         (HTTPServerDriver):
2461         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver_factory.py:
2462         (HTTPServerDriverFactory):
2463         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_drivers.json: Removed.
2464         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
2465         (SimpleHTTPServerDriver):
2466         * Scripts/webkitpy/benchmark_runner/utils.py:
2467         (is_subclass):
2468         (load_subclasses):
2469         (ModuleNotFoundError): Deleted.
2470         (loadModule): Deleted.
2471         (loadJSONFromFile): Deleted.
2472
2473 2015-06-22  Simon Fraser  <simon.fraser@apple.com>
2474
2475         Make it possible to enable incremental rendering suppression in MiniBrowser
2476         https://bugs.webkit.org/show_bug.cgi?id=146223
2477         
2478         Reviewed by Tim Horton.
2479
2480         Add a menu item to enable incremental rendering suppression to MiniBrowser.
2481         
2482         For WK1, this just toggles a pref, and takes effect immediately.
2483         
2484         For WK2, this is a WKConfiguration property, so only affects new web views.
2485         
2486         Also remove a toolbar item connection to toggleUseMinimumViewSize: that caused
2487         logging on launch.
2488
2489         * MiniBrowser/mac/AppDelegate.m:
2490         (defaultConfiguration):
2491         * MiniBrowser/mac/BrowserWindow.xib:
2492         * MiniBrowser/mac/SettingsController.h:
2493         * MiniBrowser/mac/SettingsController.m:
2494         (-[SettingsController _populateMenu]):
2495         (-[SettingsController validateMenuItem:]):
2496         (-[SettingsController toggleIncrementalRenderingSuppressed:]):
2497         (-[SettingsController incrementalRenderingSuppressed]):
2498         * MiniBrowser/mac/WK1BrowserWindowController.m:
2499         (-[WK1BrowserWindowController didChangeSettings]):
2500
2501 2015-06-19  Filip Pizlo  <fpizlo@apple.com>
2502
2503         Run CDjs as part of JSC stress testing
2504         https://bugs.webkit.org/show_bug.cgi?id=146174
2505
2506         Reviewed by Geoffrey Garen.
2507
2508         * Scripts/run-javascriptcore-tests:
2509         (runJSCStressTests): Make this aware of the cdjs-tests.yaml.
2510         * Scripts/run-jsc-stress-tests:
2511         - Teach this about tests that indicate error by returning an error code while also having lots of output even when they succeed.
2512         - Add the ability to have "tests" be a list of tests rather than just one test. This could also be a list of directories that have tests.
2513         - Fix a bug with bundle copying: whether the $collection should have the basename appended depends on whether we copy into bundleDir.dirname, not on whether absoluteCollection is a directory.
2514
2515 2015-06-21  Alexey Proskuryakov  <ap@apple.com>
2516
2517         REGRESSION (r172975): navigator.language unable to tell region for Traditional Chinese users
2518         https://bugs.webkit.org/show_bug.cgi?id=146121
2519         rdar://problem/21395180
2520
2521         Reviewed by Darin Adler.
2522
2523         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2524         * TestWebKitAPI/Tests/mac/NavigatorLanguage.mm: Added.
2525         (-[NavigatorLanguageDelegate webView:didFinishLoadForFrame:]):
2526         (TestWebKitAPI::overrideAppleLanguages):
2527         (TestWebKitAPI::languageForSystemLanguage):
2528         (TestWebKitAPI::TEST):
2529
2530 2015-06-21  Michael Catanzaro  <mcatanzaro@igalia.com>
2531
2532         [CMake] Ignore warnings from system headers when compiling Tools
2533         https://bugs.webkit.org/show_bug.cgi?id=146185
2534
2535         Reviewed by Martin Robinson.
2536
2537         Use the SYSTEM argument to the include_directories() command to silence compiler warnings
2538         from system headers that we don't control.
2539
2540         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
2541         * ImageDiff/CMakeLists.txt: Also, remove an EFL include directory from here...
2542         * ImageDiff/PlatformEfl.cmake: ...and put it here where it belongs.
2543         * ImageDiff/PlatformGTK.cmake:
2544         * MiniBrowser/efl/CMakeLists.txt:
2545         * MiniBrowser/gtk/CMakeLists.txt:
2546         * TestWebKitAPI/PlatformEfl.cmake:
2547         * TestWebKitAPI/PlatformGTK.cmake:
2548         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
2549         * WebKitTestRunner/CMakeLists.txt:
2550         * WebKitTestRunner/PlatformEfl.cmake:
2551         * WebKitTestRunner/PlatformGTK.cmake:
2552
2553 2015-06-20  Michael Catanzaro  <mcatanzaro@igalia.com>
2554
2555         [GTK] Define GDK_VERSION_MIN_REQUIRED when compiling MiniBrowser
2556         https://bugs.webkit.org/show_bug.cgi?id=146186
2557
2558         Reviewed by Martin Robinson.
2559
2560         Define GDK_VERSION_MIN_REQUIRED when compiling MiniBrowser to silence several dozen
2561         deprecation warnings. (MiniBrowser is unique in that it does not include wtf/Platform.h.)
2562
2563         * MiniBrowser/gtk/CMakeLists.txt:
2564
2565 2015-06-19  Ryosuke Niwa  <rniwa@webkit.org>
2566
2567         Build fix after r146125.
2568
2569         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
2570         (OSXSafariDriver):
2571         (OSXSafariDriver.prepareEnv):
2572
2573 2015-06-19  Brady Eidson  <beidson@apple.com>
2574
2575         Rename WKSecurityOrigin.h/cpp to WKSecurityOriginRef.h/cpp.
2576         https://bugs.webkit.org/show_bug.cgi?id=146152
2577
2578         Reviewed by Dan Bernstein.
2579
2580         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2581         * WebKitTestRunner/WebNotificationProvider.cpp:
2582
2583 2015-06-19  Mark Lam  <mark.lam@apple.com>
2584
2585         CheckedArithmetic's operator bool() and operator==() is broken.
2586         https://bugs.webkit.org/show_bug.cgi?id=146129
2587
2588         Reviewed by Geoffrey Garen and Oliver Hunt.
2589
2590         Added API tests for operator ==, !=, <, <=, >, and >=, and tested for both normal
2591         and overflow scenarios in usage of the Checked arithmetic class.
2592
2593         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
2594         (TestWebKitAPI::OverflowCrashLogger::overflowed):
2595         (TestWebKitAPI::OverflowCrashLogger::clearOverflow):
2596         (TestWebKitAPI::OverflowCrashLogger::crash):
2597         (TestWebKitAPI::OverflowCrashLogger::reset):
2598         (TestWebKitAPI::OverflowCrashLogger::hasOverflowed):
2599         (TestWebKitAPI::OverflowCrashLogger::overflowCount):
2600         (TestWebKitAPI::OverflowCrashLogger::didCrash):
2601         - crash logger for verifying that a crash occurs when expected. 
2602
2603         (TestWebKitAPI::resetOverflow):
2604         - convenience function for resetting a test value to an initial overflowed state
2605           before a crash.  We will use this value in the overflow testing.
2606
2607         (TestWebKitAPI::CheckedArithmeticTester::run):
2608         - Added new tests for all the comparison operators.
2609
2610 2015-06-19  Per Arne Vollan  <peavo@outlook.com>
2611
2612         Fix the Windows build after r185721
2613         https://bugs.webkit.org/show_bug.cgi?id=146146
2614
2615         Reviewed by Csaba Osztrogonác.
2616
2617         Speculative buildfix.
2618
2619         * DumpRenderTree/win/UIDelegate.h:
2620         (UIDelegate::unused4): Added.
2621         (UIDelegate::webViewShouldInterruptJavaScript): Deleted.
2622
2623 2015-06-19  Diego Pino Garcia  <dpino@igalia.com>
2624
2625         Unreviewed. Add myself as a committer.
2626
2627         * Scripts/webkitpy/common/config/contributors.json:
2628
2629 2015-06-19  Csaba Osztrogonác  <ossy@webkit.org>
2630
2631         Remove unnecessary svn:executable flags
2632         https://bugs.webkit.org/show_bug.cgi?id=146107
2633
2634         Reviewed by Alexey Proskuryakov.
2635
2636         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/images/favicon-green.png: Removed property svn:executable.
2637         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/images/favicon-red.png: Removed property svn:executable.
2638         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/External/daterangepicker.css: Removed property svn:executable.
2639         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/External/jquery.daterangepicker.js: Removed property svn:executable.
2640         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/External/moment.min.js: Removed property svn:executable.
2641         * BuildSlaveSupport/build.webkit.org-config/templates/root.html: Removed property svn:executable.
2642         * CygwinDownloader/cygwin-downloader.zip: Removed property svn:executable.
2643         * DumpRenderTree/ForwardingHeaders/runtime/JSExportMacros.h: Removed property svn:executable.
2644         * DumpRenderTree/win/TextInputController.cpp: Removed property svn:executable.
2645         * DumpRenderTree/win/TextInputController.h: Removed property svn:executable.
2646         * DumpRenderTree/win/TextInputControllerWin.cpp: Removed property svn:executable.
2647         * Scripts/webkitpy/port/base_unittest.py: Removed property svn:executable.
2648         * Scripts/webkitpy/port/driver.py: Removed property svn:executable.
2649         * Scripts/webkitpy/w3c/test_parser.py: Removed property svn:executable.
2650
2651 2015-06-19  Csaba Osztrogonác  <ossy@webkit.org>
2652
2653         Disable tests on the WinCairo buildbot
2654         https://bugs.webkit.org/show_bug.cgi?id=146106
2655
2656         Reviewed by Alexey Proskuryakov.
2657
2658         * BuildSlaveSupport/build.webkit.org-config/config.json:
2659         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2660
2661 2015-06-19  Hunseop Jeong  <hs85.jeong@samsung.com>
2662
2663         [EFL] Fix the minibrowser after r185725
2664         https://bugs.webkit.org/show_bug.cgi?id=146135
2665
2666         Reviewed by Gyuyoung Kim.
2667
2668         Removed the HAVE_ECORE_X guard in MiniBrowser because it is an unnecessary guard
2669         for the elm_config_accel_preference_set() to set the config of acceleration preference.
2670
2671         * MiniBrowser/efl/main.c:
2672         (elm_main): Deleted the HAVE_ECORE_X guard.
2673
2674 2015-06-18  Dewei Zhu  <dewei_zhu@apple.com>
2675
2676         Extend capability of run-benchmark script to support mobile device
2677         https://bugs.webkit.org/show_bug.cgi?id=146125
2678
2679         Reviewed by Ryosuke Niwa.
2680
2681         Extend capability of run-benchmark to support mobile device, and move majority of run-benchmark script code to
2682         benchmark_runner directory, and make run-benchmark a wrapping script. Also correct a typo.
2683
2684         * Scripts/run-benchmark:
2685         (main): Deleted.
2686         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
2687         (BenchmarkRunner.__init__):
2688         (BenchmarkRunner.execute):
2689         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
2690         (BrowserDriver.prepareEnv):
2691         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
2692         (OSXBrowserDriver.prepareEnv):
2693         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
2694         (OSXSafariDriver.prepareEnv):
2695         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
2696         (HTTPServerDriver.getReturnCode):
2697         (HTTPServerDriver):
2698         (HTTPServerDriver.setDeviceID):
2699         * Scripts/webkitpy/benchmark_runner/run_benchmark.py: Copied from Tools/Scripts/run-benchmark.
2700         (parse_args):
2701         (start):
2702         (main):
2703         * Scripts/webkitpy/benchmark_runner/utils.py:
2704         (getPathFromProjectRoot):
2705
2706 2015-06-18  Jon Lee  <jonlee@apple.com>
2707
2708         Unreviewed. Add Matt Daiter as a contributor.
2709
2710         * Scripts/webkitpy/common/config/contributors.json:
2711
2712 2015-06-18  Mark Lam  <mark.lam@apple.com>
2713
2714         Refactor CheckedArithmeticOperations.cpp to use templates instead of macros.
2715         https://bugs.webkit.org/show_bug.cgi?id=146103
2716
2717         Not reviewed.
2718
2719         Follow up to fix some typos not caught before original patch was landed.
2720
2721         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
2722         (TestWebKitAPI::CheckedArithmeticTester::run):
2723         (TestWebKitAPI::AllowMixedSignednessTest::run):
2724         (TestWebKitAPI::IgnoreMixedSignednessTest::run):
2725
2726 2015-06-18  Daniel Bates  <dabates@apple.com>
2727
2728         Make webkitdirs::runGitUpdate() work when invoked in more than one Git checkout
2729         https://bugs.webkit.org/show_bug.cgi?id=146082
2730
2731         Reviewed by Darin Adler.
2732
2733         The function webkitdirs::runGitUpdate may not update the Git checkout in the current
2734         working directory after being invoked in a different Git checkout. In particular,
2735         calling runGitUpdate() inside a Git SVN checkout and subsequently calling it inside
2736         a pure Git checkout g will fail to update g.
2737
2738         Currently webkitdirs::runGitUpdate() calls VCSUtils::isGitSVN() to determine whether
2739         the current working directory is a Git SVN checkout. And isGitSVN() caches its result
2740         to speed up subsequent queries. This prevents runGitUpdate() from being used to update
2741         an arbitrary Git checkout (since isGitSVN() may return a cached result for a directory
2742         different than the current working directory). Instead runGitUpdate() should check
2743         whether the current working directory is a Git SVN checkout on each invocation.
2744
2745         * Scripts/VCSUtils.pm: Export function isGitSVNDirectory so that it can be used from webkitdirs::runGitUpdate().
2746         (isGitSVNDirectory): Extracted logic to determine whether a directory is a Git
2747         SVN directory from isGitSVN().
2748         (isGitSVN): Implemented in terms of isGitSVNDirectory().
2749         * Scripts/webkitdirs.pm:
2750         (runGitUpdate): Modified to use isGitSVNDirectory().
2751
2752 2015-06-18  Mark Lam  <mark.lam@apple.com>
2753
2754         Refactor CheckedArithmeticOperations.cpp to use templates instead of macros.
2755         https://bugs.webkit.org/show_bug.cgi?id=146103
2756
2757         Reviewed by Anders Carlsson.
2758
2759         Presently, the tests in CheckedArithmeticOperations.cpp are all implemented as
2760         part of a large macro.  This makes them harder to:
2761
2762         1. write: no editor help with indentations, have to add trailing '\'s,
2763            inconvenient to add line breaks and comments.
2764
2765         2. read: no chroma coding / syntax highlighting.
2766
2767         3. debug: compile time errors are reported as being on the single line where
2768            the macro is used.
2769
2770         Refactoring the tests to use C++ templates solves all these issues.
2771
2772         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
2773         (TestWebKitAPI::CheckedArithmeticTester::run):
2774         (TestWebKitAPI::AllowMixedSignednessTest::run):
2775         (TestWebKitAPI::IgnoreMixedSignednessTest::run):
2776         (TestWebKitAPI::CoerceLiteralToUnsigned::coerce):
2777         (TestWebKitAPI::CoerceLiteralNop::coerce):
2778
2779 2015-06-18  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2780
2781         [EFL][WK2] Use Web Browser cache model in MiniBrowser
2782         https://bugs.webkit.org/show_bug.cgi?id=112273
2783
2784         Reviewed by Laszlo Gombos.
2785
2786         Set cache model to EWK_CACHE_MODEL_PRIMARY_WEBBROWSER in EFL's MiniBrowser
2787         instead of leaving the default value (EWK_CACHE_MODEL_DOCUMENT_VIEWER).
2788         This way we have a decent cache capacity and the page cache actually works.
2789
2790         * MiniBrowser/efl/main.c:
2791         (elm_main):
2792
2793 2015-06-18  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2794
2795         Remove redundant Chromium bug keyword
2796         https://bugs.webkit.org/show_bug.cgi?id=146097
2797
2798         Reviewed by Csaba Osztrogonác.
2799
2800         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
2801         (TestExpectationParser._parse_modifiers): Remove BUGCR for TestExpectations.
2802         (TestExpectationLine._format_line): Deleted.
2803
2804 2015-06-17  Daniel Bates  <dabates@apple.com>
2805
2806         Client may receive began editing callback for already focused text field
2807         https://bugs.webkit.org/show_bug.cgi?id=146074
2808         <rdar://problem/21293562>
2809
2810         Reviewed by Darin Adler.
2811
2812         Add a unit test to ensure that a client receives exactly one began editing
2813         callback when a text field is newly focused. In particular, dispatching
2814         a DOM focus event at an already focused text field does not dispatch a
2815         began editing callback to the client.
2816
2817         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing.cpp:
2818         (TestWebKitAPI::TEST_F):
2819
2820 2015-06-17  Hyungwook Lee  <hyungwook.lee@navercorp.com>
2821
2822         [Win]Implement layoutTestController.dispatchPendingLoadRequests. 
2823         https://bugs.webkit.org/show_bug.cgi?id=26481
2824
2825         Reviewed by Darin Adler.
2826
2827         Implement WebView::dispatchPendingLoadRequests() private API for test runner.
2828
2829         * DumpRenderTree/win/TestRunnerWin.cpp:
2830         (TestRunner::dispatchPendingLoadRequests):
2831         (TestRunner::overridePreference):
2832
2833 2015-06-17  Alex Christensen  <achristensen@webkit.org>
2834
2835         [Content Extensions] Fail to parse invalid arrays
2836         https://bugs.webkit.org/show_bug.cgi?id=146079
2837         rdar://problem/21422649
2838
2839         Reviewed by Benjamin Poulain.
2840
2841         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2842         (TestWebKitAPI::TEST_F):
2843         Correct and add parsing tests with invalid arrays.
2844
2845 2015-06-17  Matt Rajca  <mrajca@apple.com>
2846
2847         Unreviewed. Added myself as a committer.
2848
2849         * Scripts/webkitpy/common/config/contributors.json:
2850
2851 2015-06-17  Daniel Bates  <dabates@apple.com>
2852
2853         Export VCSUtils::gitTreeDirectory()
2854         <rdar://problem/21248901>
2855
2856         Rubber-stamped by Alexey Proskuryakov.
2857
2858         * Scripts/VCSUtils.pm:
2859
2860 2015-06-17  Tim Horton  <timothy_horton@apple.com>
2861
2862         Safari tabs still have shrunken content after coming out of fullscreen
2863         https://bugs.webkit.org/show_bug.cgi?id=146037
2864         <rdar://problem/21105960>
2865
2866         Reviewed by Simon Fraser and Darin Adler.
2867
2868         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2869         * TestWebKitAPI/Tests/WebKit2Cocoa/ShrinkToFit.mm: Added.
2870         (-[ShrinkToFitNavigationDelegate webView:didFinishNavigation:]):
2871         (TEST):
2872         Add a test that ensures that disabling scale-to-fit mode correctly updates
2873         the page's layout.
2874
2875 2015-06-17  Dan Bernstein  <mitz@apple.com>
2876
2877         [Cocoa] Expose UIDelegate::UIClient::close via WKUIDelegate
2878         https://bugs.webkit.org/show_bug.cgi?id=145957
2879
2880         Reviewed by Darin Adler.
2881
2882         * TestWebKitAPI/Tests/WebKit2Cocoa/OpenAndCloseWindow.mm:
2883         (-[OpenAndCloseWindowUIDelegate webViewDidClose:]): Renamed from -_webViewClose:.
2884
2885 2015-06-15  Chris Fleizach  <cfleizach@apple.com>
2886
2887         AX:  iOS accessibility tests are not running because we need WKTR support
2888         https://bugs.webkit.org/show_bug.cgi?id=145991
2889
2890         Reviewed by Daniel Bates.
2891
2892         Add support for WKTR iOS accessibility.
2893         Utilize the notification handling mechanisms that Mac already uses.
2894         Rename iphone* DRT methods to either use existing methods that are similar, or rename to more generic names.
2895
2896         * DumpRenderTree/AccessibilityUIElement.cpp:
2897         (stringForSelectionCallback):
2898         (getIdentifierCallback):
2899         (getTraitsCallback):
2900         (getElementTextPositionCallback):
2901         (getElementTextLengthCallback):
2902         (AccessibilityUIElement::getJSClass):
2903         (getIPhoneLabelCallback): Deleted.
2904         (getIPhoneHintCallback): Deleted.
2905         (getIPhoneValueCallback): Deleted.
2906         (getIPhoneIdentifierCallback): Deleted.
2907         (getIPhoneTraitsCallback): Deleted.
2908         (getIPhoneIsElementCallback): Deleted.
2909         (getIPhoneElementTextPositionCallback): Deleted.
2910         (getIPhoneElementTextLengthCallback): Deleted.
2911         * DumpRenderTree/AccessibilityUIElement.h:
2912         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2913         (AccessibilityUIElement::identifier):
2914         (AccessibilityUIElement::traits):
2915         (AccessibilityUIElement::elementTextPosition):
2916         (AccessibilityUIElement::elementTextLength):
2917         (AccessibilityUIElement::description):
2918         (AccessibilityUIElement::orientation):
2919         (AccessibilityUIElement::stringValue):
2920         (AccessibilityUIElement::language):
2921         (AccessibilityUIElement::helpText):
2922         (AccessibilityUIElement::intValue):
2923         (AccessibilityUIElement::isSelected):
2924         (AccessibilityUIElement::isExpanded):
2925         (AccessibilityUIElement::documentURI):
2926         (AccessibilityUIElement::addNotificationListener):
2927         (AccessibilityUIElement::removeNotificationListener):
2928         (AccessibilityUIElement::isFocusable):
2929         (AccessibilityUIElement::isIgnored):
2930         (AccessibilityUIElement::hasPopup):
2931         (AccessibilityUIElement::iphoneLabel): Deleted.
2932         (AccessibilityUIElement::iphoneHint): Deleted.
2933         (AccessibilityUIElement::iphoneValue): Deleted.
2934         (AccessibilityUIElement::iphoneIdentifier): Deleted.
2935         (AccessibilityUIElement::iphoneTraits): Deleted.
2936         (AccessibilityUIElement::iphoneIsElement): Deleted.
2937         (AccessibilityUIElement::iphoneElementTextPosition): Deleted.
2938         (AccessibilityUIElement::iphoneElementTextLength): Deleted.
2939         (_accessibilityNotificationCallback): Deleted.
2940         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2941         (WTR::AccessibilityUIElement::isValid):
2942         (WTR::AccessibilityUIElement::identifier):
2943         (WTR::AccessibilityUIElement::traits):
2944         (WTR::AccessibilityUIElement::elementTextPosition):
2945         (WTR::AccessibilityUIElement::elementTextLength):
2946         (WTR::AccessibilityUIElement::stringForSelection):
2947         (WTR::AccessibilityUIElement::elementsForRange):
2948         (WTR::AccessibilityUIElement::increaseTextSelection):
2949         (WTR::AccessibilityUIElement::decreaseTextSelection):
2950         (WTR::AccessibilityUIElement::linkedElement):
2951         (WTR::AccessibilityUIElement::headerElementAtIndex):
2952         (WTR::AccessibilityUIElement::assistiveTechnologySimulatedFocus):
2953         (WTR::AccessibilityUIElement::characterAtOffset):
2954         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2955         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2956         * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm:
2957         (WTR::findAccessibleObjectById):
2958         (WTR::AccessibilityController::accessibleElementById):
2959         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2960         (+[NSString stringWithJSStringRef:]):
2961         (-[NSString createJSStringRef]):
2962         (WTR::convertNSArrayToVector):
2963         (WTR::concatenateAttributeAndValue):
2964         (WTR::AccessibilityUIElement::AccessibilityUIElement):
2965         (WTR::AccessibilityUIElement::isEqual):
2966         (WTR::AccessibilityUIElement::headerElementAtIndex):
2967         (WTR::AccessibilityUIElement::linkedElement):
2968         (WTR::AccessibilityUIElement::getLinkedUIElements):
2969         (WTR::AccessibilityUIElement::elementAtPoint):
2970         (WTR::convertElementsToObjectArray):
2971         (WTR::AccessibilityUIElement::elementsForRange):
2972         (WTR::AccessibilityUIElement::indexOfChild):
2973         (WTR::AccessibilityUIElement::stringAttributeValue):
2974         (WTR::AccessibilityUIElement::description):
2975         (WTR::AccessibilityUIElement::orientation):
2976         (WTR::AccessibilityUIElement::stringValue):
2977         (WTR::AccessibilityUIElement::language):
2978         (WTR::AccessibilityUIElement::helpText):
2979         (WTR::AccessibilityUIElement::x):
2980         (WTR::AccessibilityUIElement::clickPointX):
2981         (WTR::AccessibilityUIElement::clickPointY):
2982         (WTR::AccessibilityUIElement::intValue):
2983         (WTR::AccessibilityUIElement::minValue):
2984         (WTR::AccessibilityUIElement::maxValue):
2985         (WTR::AccessibilityUIElement::valueDescription):
2986         (WTR::AccessibilityUIElement::isSelected):
2987         (WTR::AccessibilityUIElement::isSelectedOptionActive):
2988         (WTR::AccessibilityUIElement::stringForRange):
2989         (WTR::AccessibilityUIElement::attributedStringForRange):
2990         (WTR::AccessibilityUIElement::attributesOfHeader):
2991         (WTR::AccessibilityUIElement::traits):
2992         (WTR::AccessibilityUIElement::identifier):
2993         (WTR::AccessibilityUIElement::rowCount):
2994         (WTR::AccessibilityUIElement::rowIndexRange):
2995         (WTR::AccessibilityUIElement::columnIndexRange):
2996         (WTR::AccessibilityUIElement::cellForColumnAndRow):
2997         (WTR::AccessibilityUIElement::horizontalScrollbar):
2998         (WTR::AccessibilityUIElement::documentURI):
2999         (WTR::AccessibilityUIElement::assistiveTechnologySimulatedFocus):
3000         (WTR::AccessibilityUIElement::increaseTextSelection):
3001         (WTR::AccessibilityUIElement::decreaseTextSelection):
3002         (WTR::AccessibilityUIElement::stringForSelection):
3003         (WTR::AccessibilityUIElement::elementTextPosition):
3004         (WTR::AccessibilityUIElement::elementTextLength):
3005         (WTR::AccessibilityUIElement::url):
3006         (WTR::AccessibilityUIElement::addNotificationListener):
3007         (WTR::AccessibilityUIElement::removeNotificationListener):
3008         (WTR::AccessibilityUIElement::isFocusable):
3009         (WTR::AccessibilityUIElement::isIgnored):
3010         (WTR::AccessibilityUIElement::hasPopup):
3011         (WTR::AccessibilityUIElement::mathPrescriptsDescription):
3012         (WTR::_CGPathEnumerationIteration):
3013         (WTR::AccessibilityUIElement::pathDescription):
3014         (WTR::AccessibilityUIElement::supportedActions):
3015
3016 2015-06-16  Mark Lam  <mark.lam@apple.com>
3017
3018         Use NakedPtr<Exception>& to return exception results.
3019         https://bugs.webkit.org/show_bug.cgi?id=145870
3020
3021         Reviewed by Anders Carlsson and Filip Pizlo.
3022
3023         * TestWebKitAPI/CMakeLists.txt:
3024         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
3025         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
3026         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3027         * TestWebKitAPI/Tests/WTF/NakedPtr.cpp: Added.
3028         (TestWebKitAPI::TEST):
3029         (TestWebKitAPI::nakedPtrFoo):
3030
3031 2015-06-16  Tobias Reiss  <tobi+webkit@basecode.de>
3032
3033         Unreviewed. Adding myself as a committer.
3034
3035         * Scripts/webkitpy/common/config/contributors.json:
3036
3037 2015-06-15  Alexey Proskuryakov  <ap@apple.com>
3038
3039         Add test expectations for El Capitan
3040         https://bugs.webkit.org/show_bug.cgi?id=146005
3041
3042         Rubber-stamped by Dan Bernstein.
3043
3044         Add appropriate tools code.
3045
3046         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/ElCapitan.png: Added.
3047         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/ElCapitan@2x.png: Added.
3048         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
3049         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3050         Added dashboard support.
3051
3052         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
3053         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
3054         Trigger the right build queues on check-in.
3055
3056         * Scripts/webkitpy/common/system/platforminfo.py:
3057         * Scripts/webkitpy/common/system/platforminfo_unittest.py:
3058         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
3059         * Scripts/webkitpy/port/mac.py:
3060         * Scripts/webkitpy/port/mac_unittest.py:
3061         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
3062         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3063         Added cases for El Capitan, and updated tests for new baseline search paths.
3064
3065 2015-06-15  Alex Christensen  <achristensen@webkit.org>
3066
3067         [Content Extensions] Make max NFA size and max rule count user defaults.
3068         https://bugs.webkit.org/show_bug.cgi?id=145663
3069
3070         Reviewed by Benjamin Poulain.
3071
3072         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3073         (TestWebKitAPI::TEST_F):
3074
3075 2015-06-12  Alexey Proskuryakov  <ap@apple.com>
3076
3077         -[WKWebView evaluateJavaScript] provides a misleading error when the return cannot be serialized
3078         https://bugs.webkit.org/show_bug.cgi?id=145900
3079
3080         Reviewed by Sam Weinig.
3081
3082         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm:
3083         (TEST): Added tests.
3084
3085 2015-06-15  Carlos Garcia Campos  <cgarcia@igalia.com>
3086
3087         [SOUP] Custom URI schemes don't work for requests containing a fragment identifier
3088         https://bugs.webkit.org/show_bug.cgi?id=145969
3089
3090         Reviewed by Sergio Villar Senin.
3091
3092         Add a test case to the custom URI schemes unit test.
3093
3094         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
3095         (testWebContextURIScheme):
3096
3097 2015-06-15  Csaba Osztrogonác  <ossy@webkit.org>
3098
3099         [GTK] Fix deprecated-register warning in the generated WebKitMarshal.cpp
3100         https://bugs.webkit.org/show_bug.cgi?id=145922
3101
3102         Reviewed by Carlos Garcia Campos.
3103
3104         * gtk/jhbuild.modules:
3105         * gtk/patches/glib-warning-fix.patch: Added.
3106
3107 2015-06-12  Alexey Proskuryakov  <ap@apple.com>
3108
3109         Update springLoadingHighlight type
3110         https://bugs.webkit.org/show_bug.cgi?id=145939
3111         rdar://problem/20880213
3112
3113         Reviewed by Darin Adler.
3114
3115         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h:
3116         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
3117         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h:
3118         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm:
3119
3120 2015-06-12  Dewei Zhu  <dewei_zhu@apple.com>
3121
3122         Move cursor to (10, 0) instead of (0, 0) and polish the mouse move code
3123         https://bugs.webkit.org/show_bug.cgi?id=145945
3124
3125         Reviewed by Stephanie Lewis.
3126
3127         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
3128         (OSXBrowserDriver.prepareEnv):
3129         (OSXBrowserDriver.moveCursor): Deleted.
3130         (OSXBrowserDriver): Deleted.
3131         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
3132         (OSXSafariDriver.prepareEnv):
3133
3134 2015-06-12  Brent Fulgham  <bfulgham@apple.com>
3135
3136         Revise update-webkit-dependency to use LWP::UserAgent instead of LWP::Simple for better handling of https
3137         https://bugs.webkit.org/show_bug.cgi?id=145938
3138
3139         Reviewed by Alexey Proskuryakov.
3140
3141         * Scripts/update-webkit-dependency: Switch from LWP::Simple to
3142         LWP::UserAgent to get access to more robust HTTPS support.
3143
3144 2015-06-12  Csaba Osztrogonác  <ossy@webkit.org>
3145
3146         [GTK] Fix return type warning in WebViewTest.cpp
3147         https://bugs.webkit.org/show_bug.cgi?id=145914
3148
3149         Reviewed by Darin Adler.
3150
3151         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
3152         (WebViewTest::isEditable):
3153
3154 2015-06-12  Zan Dobersek  <zdobersek@igalia.com>
3155
3156         [GLib] Move files under Source/WTF/wtf/gobject to Source/WTF/wtf/glib
3157         https://bugs.webkit.org/show_bug.cgi?id=145799
3158
3159         Reviewed by Carlos Garcia Campos.
3160
3161         Update header inclusions for headers that have been moved
3162         to Source/WTF/wtf/glib/.
3163
3164         Also move the unit tests under TestWebKitAPI/Tests/WTF/gobject/
3165         to TestWebKitAPI/Tests/WTF/glib/ and update the build rules.
3166
3167         * TestWebKitAPI/PlatformGTK.cmake:
3168         * TestWebKitAPI/Tests/WTF/glib/GMainLoopSource.cpp: Renamed from Tools/TestWebKitAPI/Tests/WTF/gobject/GMainLoopSource.cpp.
3169         (TestWebKitAPI::GMainLoopSourceTest::GMainLoopSourceTest):
3170         (TestWebKitAPI::GMainLoopSourceTest::~GMainLoopSourceTest):
3171         (TestWebKitAPI::GMainLoopSourceTest::runLoop):
3172         (TestWebKitAPI::GMainLoopSourceTest::delayedFinish):
3173         (TestWebKitAPI::GMainLoopSourceTest::finish):
3174         (TestWebKitAPI::GMainLoopSourceTest::source):
3175         (TestWebKitAPI::basicRescheduling):
3176         (TestWebKitAPI::TEST):
3177         (TestWebKitAPI::reentrantRescheduling):
3178         (TestWebKitAPI::cancelRepeatingSourceDuringDispatch):
3179         (TestWebKitAPI::basicDestroyCallbacks):
3180         (TestWebKitAPI::destroyCallbacksAfterCancellingDuringDispatch):
3181         (TestWebKitAPI::destroyCallbacksAfterReschedulingDuringDispatch):
3182         * TestWebKitAPI/Tests/WTF/glib/GUniquePtr.cpp: Renamed from Tools/TestWebKitAPI/Tests/WTF/gobject/GUniquePtr.cpp.
3183         (log):
3184         (takeLogStr):
3185         (TestWebKitAPI::TEST):
3186         (TestWebKitAPI::returnOutChar):
3187         * TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp:
3188         * TestWebKitAPI/Tests/WTF/gobject/GMainLoopSource.cpp:
3189         (TestWebKitAPI::GMainLoopSourceTest::GMainLoopSourceTest): Deleted.
3190         (TestWebKitAPI::GMainLoopSourceTest::~GMainLoopSourceTest): Deleted.
3191         (TestWebKitAPI::GMainLoopSourceTest::runLoop): Deleted.
3192         (TestWebKitAPI::GMainLoopSourceTest::delayedFinish): Deleted.
3193         (TestWebKitAPI::GMainLoopSourceTest::finish): Deleted.
3194         (TestWebKitAPI::GMainLoopSourceTest::source): Deleted.
3195         (TestWebKitAPI::basicRescheduling): Deleted.
3196         (TestWebKitAPI::TEST): Deleted.
3197         (TestWebKitAPI::reentrantRescheduling): Deleted.
3198         (TestWebKitAPI::cancelRepeatingSourceDuringDispatch): Deleted.
3199         (TestWebKitAPI::basicDestroyCallbacks): Deleted.
3200         (TestWebKitAPI::destroyCallbacksAfterCancellingDuringDispatch): Deleted.
3201         (TestWebKitAPI::destroyCallbacksAfterReschedulingDuringDispatch): Deleted.
3202         * TestWebKitAPI/Tests/WTF/gobject/GUniquePtr.cpp:
3203         (log): Deleted.
3204         (takeLogStr): Deleted.
3205         (TestWebKitAPI::TEST): Deleted.
3206         (TestWebKitAPI::returnOutChar): Deleted.
3207         * TestWebKitAPI/Tests/WebKit2/gtk/InputMethodFilter.cpp:
3208         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp:
3209         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
3210         * TestWebKitAPI/Tests/WebKit2Gtk/DOMXPathNSResolverTest.cpp:
3211         * TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp:
3212         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
3213         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
3214         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspector.cpp:
3215         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
3216         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
3217         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
3218         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
3219         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
3220         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitAccessibility.cpp:
3221         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp:
3222         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFindController.cpp:
3223         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitPolicyClient.cpp:
3224         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
3225         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
3226         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
3227         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3228         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
3229         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
3230         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
3231         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h:
3232         * TestWebKitAPI/gtk/PlatformUtilitiesGtk.cpp:
3233         * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
3234         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
3235         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp:
3236         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.h:
3237         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp:
3238         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h:
3239         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3240         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3241         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
3242         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
3243         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.h:
3244         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3245         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
3246         * WebKitTestRunner/InjectedBundle/gtk/InjectedBundleUtilities.cpp:
3247         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
3248         * WebKitTestRunner/PlatformGTK.cmake:
3249         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
3250         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
3251
3252 2015-06-12  Csaba Osztrogonác  <ossy@webkit.org>
3253
3254         [EFL] Fix deprecated declarations warnings related to WK2 versioned structs
3255         https://bugs.webkit.org/show_bug.cgi?id=145913
3256
3257         Reviewed by Gyuyoung Kim.
3258
3259         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
3260         (TestWebKitAPI::setupGeolocationProvider):
3261         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames.cpp:
3262         (TestWebKitAPI::setPageLoaderClient):
3263         * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp:
3264         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::setPageLoaderClient):
3265         * WebKitTestRunner/GeolocationProviderMock.cpp:
3266         (WTR::GeolocationProviderMock::GeolocationProviderMock):
3267         * WebKitTestRunner/WebNotificationProvider.cpp:
3268         (WTR::WebNotificationProvider::provider):
3269
3270 2015-06-12  Csaba Osztrogonác  <ossy@webkit.org>
3271
3272         Fix the libusrsctp build with clang
3273         https://bugs.webkit.org/show_bug.cgi?id=145128
3274
3275         Reviewed by Gyuyoung Kim.
3276
3277         * efl/jhbuild.modules:
3278         * gtk/jhbuild.modules:
3279
3280 2015-06-11  Mark Lam  <mark.lam@apple.com>
3281
3282         WebCore::reportException() needs to be able to accept a raw thrown value in addition to Exception objects.
3283         https://bugs.webkit.org/show_bug.cgi?id=145872
3284
3285         Reviewed by Michael Saboff.
3286
3287         * TestWebKitAPI/Tests/mac/WebViewDidCreateJavaScriptContext.mm:
3288         (-[DidCreateJavaScriptContextFrameLoadDelegate webView:didCreateJavaScriptContext:forFrame:]):
3289         - Exercises the JSC ObjC API to call a function which throws an exception.  That
3290           exception will be returned as a JSValue instead of an Exception object.  We
3291           will use this JSValue to test WebCore::reportException() to confirm that it is
3292           able to handle an exception value which is not an Exception object.
3293
3294 2015-06-11  Dewei Zhu  <dewei_zhu@apple.com>
3295
3296         Move cursor to corner and fix safari window size before running benchmark
3297         https://bugs.webkit.org/show_bug.cgi?id=145858
3298
3299         Reviewed by Ryosuke Niwa
3300
3301         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
3302         (OSXBrowserDriver.prepareEnv):
3303         (OSXBrowserDriver):
3304         (OSXBrowserDriver.moveCursor):
3305         (OSXBrowserDriver.getScreenSize):
3306         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
3307         (OSXChromeDriver.launchUrl):
3308         (OSXChromeCanaryDriver.launchUrl):
3309         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
3310         (OSXFirefoxDriver.launchUrl):
3311         (OSXFirefoxNightlyDriver.launchUrl):
3312         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
3313         (OSXSafariDriver.prepareEnv):
3314         (OSXSafariDriver):
3315         (OSXSafariDriver.maximizeWindow):
3316
3317 2015-06-11  Daniel Bates  <dabates@apple.com>
3318
3319         [iOS] Cannot run run-webkit-tests with public SDK; LayoutTestRelay fails to build
3320         https://bugs.webkit.org/show_bug.cgi?id=145319
3321
3322         Reviewed by David Kilzer.
3323
3324         Add SPI wrapper header for CoreSimulator and update the source files to reference
3325         it instead of directly referencing the CoreSimulator header.
3326
3327         * LayoutTestRelay/LayoutTestRelay.xcodeproj/project.pbxproj:
3328         * LayoutTestRelay/LayoutTestRelay/CoreSimulatorSPI.h: Added.
3329         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
3330         * LayoutTestRelay/LayoutTestRelay/main.m:
3331
3332 2015-06-10  KwangHyuk Kim  <hyuki.kim@samsung.com>
3333
3334         [EFL] dimmed area for popup does not cover the fullscreen mode.
3335         https://bugs.webkit.org/show_bug.cgi?id=145133
3336
3337         Reviewed by Gyuyoung Kim.
3338
3339         By calling elm_win_resize_object_add(), popup was added as a resize object of elm_win.
3340         as a result, popup can cover the fullscreen area when it enters a fullscreen mode.
3341
3342         * MiniBrowser/efl/main.c:
3343         (on_fullscreen_accept):
3344         (on_fullscreen_deny):
3345         (on_fullscreen_enter):
3346
3347 2015-06-10  Commit Queue  <commit-queue@webkit.org>
3348
3349         Unreviewed, rolling out r185442.
3350         https://bugs.webkit.org/show_bug.cgi?id=145871
3351
3352         seems to have broken WTF.StringOperators test (Requested by
3353         alexchristensen on #webkit).
3354
3355         Reverted changeset:
3356
3357         "[Content Extensions] Limit number of rules."
3358         https://bugs.webkit.org/show_bug.cgi?id=145663
3359         http://trac.webkit.org/changeset/185442
3360
3361 2015-06-10  Alex Christensen  <achristensen@webkit.org>
3362
3363         [Content Extensions] Make max NFA size and max rule count user defaults.
3364         https://bugs.webkit.org/show_bug.cgi?id=145663
3365         rdar://problem/21242407
3366
3367         Reviewed by Benjamin Poulain.
3368
3369         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3370         (TestWebKitAPI::TEST_F):
3371
3372 2015-06-10  Hyungwook Lee  <hyungwook.lee@navercorp.com>
3373
3374         [EFL] Execute Javascript method in mini browser address bar.
3375         https://bugs.webkit.org/show_bug.cgi?id=145725
3376
3377         Reviewed by Gyuyoung Kim.
3378
3379         Support 'javascript:' scheme in WebKit EFL Mini Browser.
3380
3381         * MiniBrowser/efl/main.c:
3382         (url_from_user_input):
3383         (url_load_from_user_input):
3384         (on_url_bar_activated):
3385         (elm_main):
3386
3387 2015-06-09  Hyungwook Lee  <hyungwook.lee@navercorp.com>
3388
3389         Implement dumpProgressFinishedCallback() for Win layoutTestController.
3390         https://bugs.webkit.org/show_bug.cgi?id=66773
3391
3392         Reviewed by Darin Adler.
3393
3394         * DumpRenderTree/win/FrameLoadDelegate.cpp:
3395         * DumpRenderTree/win/FrameLoadDelegate.h:
3396
3397 2015-06-09  Ryosuke Niwa  <rniwa@webkit.org>
3398
3399         run-benchmark should either checkout JetStream 1.0.1 or support running the latest version
3400         https://bugs.webkit.org/show_bug.cgi?id=145764
3401
3402         Reviewed by Darin Adler.
3403
3404         Added the support for checkout a subversion directory in run-benchmark and used in the plans for
3405         JetStream and SunSpider.
3406
3407         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
3408         (GenericBenchmarkBuilder):
3409         (GenericBenchmarkBuilder.prepare): Instead of taking each argument from benchmark plan, just accept
3410         the whole JSON as the input.
3411         (GenericBenchmarkBuilder._checkoutWithSubverion): Added.
3412         (GenericBenchmarkBuilder._applyPatch): Check the existence of benchmark_patch in prepare() instead.
3413         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
3414         (BenchmarkRunner.execute): Removed the check for having either 'local_copy' or 'remote_archive' in
3415         a benchmark plan now that it's checkedi in GenericBenchmarkBuilder.prepare.
3416         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan:
3417         * Scripts/webkitpy/benchmark_runner/data/plans/sunspider.plan:
3418
3419 2015-06-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3420
3421         Remove ewstool scripts used by chromium port
3422         https://bugs.webkit.org/show_bug.cgi?id=145789
3423
3424         Reviewed by Csaba Osztrogonác.
3425
3426         * EWSTools/GoogleComputeEngine/build-chromium-ews.sh: Removed.
3427         * EWSTools/GoogleComputeEngine/build-commit-queue.sh: Removed.
3428         * EWSTools/GoogleComputeEngine/build-cr-linux-debug-ews.sh: Removed.
3429         * EWSTools/GoogleComputeEngine/build-feeder-style-sheriffbot.sh: Removed.
3430         * EWSTools/GoogleComputeEngine/findzone.sh: Removed.
3431
3432 2015-06-09  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
3433
3434         Unreviewed, updated my list of email addresses.
3435
3436         * Scripts/webkitpy/common/config/contributors.json:
3437
3438 2015-06-09  Csaba Osztrogonác  <ossy@webkit.org>
3439
3440         [cmake] Fix the style issues in cmake project files
3441         https://bugs.webkit.org/show_bug.cgi?id=145755
3442
3443         Reviewed by Darin Adler.
3444
3445         * TestWebKitAPI/CMakeLists.txt:
3446         * TestWebKitAPI/PlatformEfl.cmake:
3447
3448 2015-06-08  Ryosuke Niwa  <rniwa@webkit.org>
3449
3450         Fix a typo in r185345.
3451
3452         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
3453         (OSXSafariDriver.closeBrowsers):
3454
3455 2015-06-08  Ryosuke Niwa  <rniwa@webkit.org>
3456
3457         Yet another unreviewed build fix :(
3458
3459         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
3460         (OSXSafariDriver):
3461         (OSXSafariDriver.launchUrl):
3462         (OSXSafariDriver.closeBrowsers):
3463
3464 2015-06-08  Ryosuke Niwa  <rniwa@webkit.org>
3465
3466         Unreviewed build fix. Initialize result in the case things blow up below.
3467
3468         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
3469         (BenchmarkRunner.execute):
3470
3471 2015-06-08  Ryosuke Niwa  <rniwa@webkit.org>
3472
3473         Partially revert and fix after r185243.
3474
3475         * Scripts/benchmark_runner/benchmark_runner.py:
3476         * Scripts/run-benchmark:
3477
3478 2015-06-08  Daniel Bates  <dabates@apple.com>
3479
3480         Many LayoutTests/http tests time out in DumpRenderTree
3481         https://bugs.webkit.org/show_bug.cgi?id=145770
3482         <rdar://problem/19593910>
3483
3484         Reviewed by Alexey Proskuryakov.
3485
3486         * DumpRenderTree/ios/Info.plist: Add ATS key.
3487         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
3488         (-[LTRelayController _environmentVariables]): Copy environment variables LOCAL_RESOURCE_ROOT
3489         and DUMPRENDERTREE_TEMP to the simulator environment to avoid assertion failures in tests
3490         that make use of testRunner.pathToLocalResource().
3491
3492 2015-06-08  Csaba Osztrogonác  <ossy@webkit.org>
3493
3494         [GTK] Fix parentheses warning in TestWebKitWebView.cpp
3495         https://bugs.webkit.org/show_bug.cgi?id=145759
3496
3497         Reviewed by Carlos Garcia Campos.
3498
3499         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3500         (testWebViewSave):
3501
3502 2015-06-07  Carlos Garcia Campos  <cgarcia@igalia.com>
3503
3504         [GTK] Add editor mode to MiniBrowser
3505         https://bugs.webkit.org/show_bug.cgi?id=145595
3506
3507         Reviewed by Sergio Villar Senin.
3508
3509         It loads an empty editable web view with an edit toolbar. It makes
3510         easier to test the editor, editing commands and input methods.
3511
3512         * MiniBrowser/gtk/BrowserWindow.c:
3513         (editingCommandCallback):
3514         (browserWindowSetupEditorToolbar):
3515         (browserWindowConstructed):
3516         * MiniBrowser/gtk/main.c:
3517         (createBrowserWindow):
3518
3519 2015-06-05  Zalan Bujtas  <zalan@apple.com>
3520
3521         From r185273 on WTF::RefCounter exposes the actual refcount instead of a boolean value.
3522
3523         Reviewed by Dan Bernstein.
3524
3525         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
3526         (TestWebKitAPI::TEST):
3527
3528 2015-06-05  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3529
3530         [EFL] API test has been broken since r184357
3531         https://bugs.webkit.org/show_bug.cgi?id=145635
3532
3533         Reviewed by Darin Adler.
3534
3535         r184357 suppress cmake build warning using TARGET_FILE property. However
3536         many EFL API test cases have been broken after applying it.
3537
3538         * TestWebKitAPI/CMakeLists.txt:
3539
3540 2015-06-05  Anders Carlsson  <andersca@apple.com>
3541
3542         Make the network cache directory part of WKContextConfigurationRef
3543         https://bugs.webkit.org/show_bug.cgi?id=145711
3544
3545         Reviewed by Antti Koivisto.
3546
3547         * WebKitTestRunner/TestController.cpp:
3548         (WTR::TestController::initialize):
3549
3550 2015-06-05  Anders Carlsson  <andersca@apple.com>
3551
3552         Make the application cache directory part of WKContextConfigurationRef
3553         https://bugs.webkit.org/show_bug.cgi?id=145704
3554
3555         Reviewed by Geoffrey Garen.
3556
3557         * WebKitTestRunner/TestController.cpp:
3558         (WTR::TestController::initialize):
3559
3560 2015-06-04  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3561
3562         check-webkit-style should recommend using nullptr instead of recommending using 0 for the null pointer in C++ code.
3563         https://bugs.webkit.org/show_bug.cgi?id=145680
3564
3565         Reviewed by Brent Fulgham.
3566
3567         * Scripts/webkitpy/style/checkers/cpp.py:
3568         (check_for_null):
3569         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3570         (WebKitStyleTest.test_null_false_zero):
3571
3572 2015-06-05  Stephanie Lewis  <slewis@apple.com>
3573
3574         Make the web server more robust to timing issues..
3575
3576         Reviewed by Ryosuke Niwa.
3577
3578         Cleaned up exception handling.
3579         Test server is actually serving pages before returning.
3580         Clean up some style issues.
3581
3582         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
3583         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
3584         (SimpleHTTPServerDriver.__init__):
3585         (SimpleHTTPServerDriver.serve): check output, wait for pages to serve
3586         (SimpleHTTPServerDriver.baseUrl): 
3587         (SimpleHTTPServerDriver.fetchResult):
3588         (SimpleHTTPServerDriver.killServer):
3589         (SimpleHTTPServerDriver.getReturnCode):
3590
3591 2015-06-05  Stephanie Lewis  <slewis@apple.com>
3592
3593
3594         Add errors to run-benchmark exception handling.
3595
3596         Reviewed by Ryosuke Niwa.
3597
3598         * Scripts/run-benchmark:
3599         (main):
3600         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
3601         (GenericBenchmarkBuilder.prepare):
3602         (GenericBenchmarkBuilder._runCreateScript):
3603         (GenericBenchmarkBuilder._applyPatch):
3604         (GenericBenchmarkBuilder.clean):
3605         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
3606         (BenchmarkRunner.__init__):
3607         (BenchmarkRunner.execute):
3608         (BenchmarkRunner):
3609         (BenchmarkRunner.cleanup):
3610         * Scripts/webkitpy/benchmark_runner/generic_factory.py:
3611         (GenericFactory.iterateGetItem):
3612         (GenericFactory.create):
3613         * Scripts/webkitpy/benchmark_runner/utils.py:
3614         (loadModule):
3615         (loadJSONFromFile):
3616         (forceRemove):
3617
3618 2015-06-05  Stephanie Lewis  <slewis@apple.com>
3619
3620         Streamline run-benchmark browser
3621
3622         Reviewed by Ryosuke Niwa.
3623
3624         Add Caffeinate so computer won't sleep while running.
3625         Remove calls to collect output since we were just dumping to stdout anyway.
3626         Add xpc dyld_path.
3627         Default to system safari.
3628
3629         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
3630         (OSXBrowserDriver.launchProcess):
3631         (OSXBrowserDriver.terminateProcesses):
3632         (OSXBrowserDriver):
3633         (OSXBrowserDriver.launchCaffeinateForProcess):
3634         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
3635         (OSXSafariDriver.launchUrl):
3636         (OSXSafariDriver.closeBrowsers):
3637
3638 2015-06-04  Benjamin Poulain  <bpoulain@apple.com>
3639
3640         Combine tiny DFAs into slightly larger ones
3641         https://bugs.webkit.org/show_bug.cgi?id=145572
3642
3643         Reviewed by Alex Christensen.
3644
3645         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3646         * TestWebKitAPI/Tests/WebCore/DFACombiner.cpp: Added.
3647         (TestWebKitAPI::DFACombinerTest::SetUp):
3648         (TestWebKitAPI::combine):
3649         (TestWebKitAPI::TEST_F):
3650         * TestWebKitAPI/Tests/WebCore/DFAHelpers.h: Copied from Source/WebCore/contentextensions/DFA.h.
3651         (TestWebKitAPI::countLiveNodes):
3652         (TestWebKitAPI::createNFAs):
3653         (TestWebKitAPI::buildDFAFromPatterns):
3654         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
3655         (TestWebKitAPI::countLiveNodes): Deleted.
3656         (TestWebKitAPI::createNFAs): Deleted.
3657         (TestWebKitAPI::buildDFAFromPatterns): Deleted.
3658
3659 2015-06-04  Alexey Proskuryakov  <ap@apple.com>
3660
3661         WebKitTestRunner leaks strings in generateWhitelist()
3662         https://bugs.webkit.org/show_bug.cgi?id=145665
3663
3664         Reviewed by Myles C. Maxfield.
3665
3666         * WebKitTestRunner/mac/TestControllerMac.mm:
3667         (WTR::generateWhitelist):
3668
3669 2015-06-03  Yusuke Suzuki  <utatane.tea@gmail.com>
3670
3671         Fix options in build-jsc for CMake builds
3672         https://bugs.webkit.org/show_bug.cgi?id=145636
3673
3674         Reviewed by Gyuyoung Kim.
3675
3676         CMake only accepts -DXXX=YYY style options.
3677         And ensured that ENABLE_JIT=OFF when specifying `--cloop`.
3678
3679         * Scripts/build-jsc:
3680
3681 2015-06-03  Matthew Daiter  <mdaiter@apple.com>
3682
3683         Added a patch so that the colors displayed on the page could be toggled
3684         in case people need accessibility colors displayed in their browser.
3685         https://bugs.webkit.org/show_bug.cgi?id=145570
3686         <rdar://problem/20994468>
3687
3688         Added in CSS colors and toggle buttons for checkmarks in the page, so that
3689         the page could be rendered in a specific way for accessibility needs if needed.
3690
3691         Reviewed by Alexey Proskuryakov.
3692
3693         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
3694         (updateHiddenPlatforms):
3695         (applyAccessibilityColorSetting): Initial loading of accessibility colors if necessary
3696         (toggleAccessibilityColors): Toggle colors on and off
3697         (documentReady): Needed to make changes to the initialization
3698         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3699         (a:hover):
3700         (div.cellButton, div.accessibilityButton): Added in similar properties for cellButton and accessibilityButton
3701         (div.cellButton.hide, div.accessibilityButton.hide):
3702         (div.cellButton.unhide, div.accessibilityButton.unhide):
3703         (.settings-visible div.accessibilityButton.hide, .settings-visible div.accessibilityButton.unhide):
3704         (.popover-tracking:hover):
3705         (.accessibilityButton):
3706         (div.cellButton): Deleted.
3707         (div.cellButton.hide): Deleted.
3708         (div.cellButton.unhide): Deleted.
3709         (.settings-visible div.cellButton.hide, .settings-visible div.cellButton.unh