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