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