Move cursor to (10, 0) instead of (0, 0) and polish the mouse move code
[WebKit-https.git] / Tools / ChangeLog
1 2015-06-12  Dewei Zhu  <dewei_zhu@apple.com>
2
3         Move cursor to (10, 0) instead of (0, 0) and polish the mouse move code
4         https://bugs.webkit.org/show_bug.cgi?id=145945
5
6         Reviewed by Stephanie Lewis.
7
8         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
9         (OSXBrowserDriver.prepareEnv):
10         (OSXBrowserDriver.moveCursor): Deleted.
11         (OSXBrowserDriver): Deleted.
12         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
13         (OSXSafariDriver.prepareEnv):
14
15 2015-06-12  Brent Fulgham  <bfulgham@apple.com>
16
17         Revise update-webkit-dependency to use LWP::UserAgent instead of LWP::Simple for better handling of https
18         https://bugs.webkit.org/show_bug.cgi?id=145938
19
20         Reviewed by Alexey Proskuryakov.
21
22         * Scripts/update-webkit-dependency: Switch from LWP::Simple to
23         LWP::UserAgent to get access to more robust HTTPS support.
24
25 2015-06-12  Csaba Osztrogonác  <ossy@webkit.org>
26
27         [GTK] Fix return type warning in WebViewTest.cpp
28         https://bugs.webkit.org/show_bug.cgi?id=145914
29
30         Reviewed by Darin Adler.
31
32         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
33         (WebViewTest::isEditable):
34
35 2015-06-12  Zan Dobersek  <zdobersek@igalia.com>
36
37         [GLib] Move files under Source/WTF/wtf/gobject to Source/WTF/wtf/glib
38         https://bugs.webkit.org/show_bug.cgi?id=145799
39
40         Reviewed by Carlos Garcia Campos.
41
42         Update header inclusions for headers that have been moved
43         to Source/WTF/wtf/glib/.
44
45         Also move the unit tests under TestWebKitAPI/Tests/WTF/gobject/
46         to TestWebKitAPI/Tests/WTF/glib/ and update the build rules.
47
48         * TestWebKitAPI/PlatformGTK.cmake:
49         * TestWebKitAPI/Tests/WTF/glib/GMainLoopSource.cpp: Renamed from Tools/TestWebKitAPI/Tests/WTF/gobject/GMainLoopSource.cpp.
50         (TestWebKitAPI::GMainLoopSourceTest::GMainLoopSourceTest):
51         (TestWebKitAPI::GMainLoopSourceTest::~GMainLoopSourceTest):
52         (TestWebKitAPI::GMainLoopSourceTest::runLoop):
53         (TestWebKitAPI::GMainLoopSourceTest::delayedFinish):
54         (TestWebKitAPI::GMainLoopSourceTest::finish):
55         (TestWebKitAPI::GMainLoopSourceTest::source):
56         (TestWebKitAPI::basicRescheduling):
57         (TestWebKitAPI::TEST):
58         (TestWebKitAPI::reentrantRescheduling):
59         (TestWebKitAPI::cancelRepeatingSourceDuringDispatch):
60         (TestWebKitAPI::basicDestroyCallbacks):
61         (TestWebKitAPI::destroyCallbacksAfterCancellingDuringDispatch):
62         (TestWebKitAPI::destroyCallbacksAfterReschedulingDuringDispatch):
63         * TestWebKitAPI/Tests/WTF/glib/GUniquePtr.cpp: Renamed from Tools/TestWebKitAPI/Tests/WTF/gobject/GUniquePtr.cpp.
64         (log):
65         (takeLogStr):
66         (TestWebKitAPI::TEST):
67         (TestWebKitAPI::returnOutChar):
68         * TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp:
69         * TestWebKitAPI/Tests/WTF/gobject/GMainLoopSource.cpp:
70         (TestWebKitAPI::GMainLoopSourceTest::GMainLoopSourceTest): Deleted.
71         (TestWebKitAPI::GMainLoopSourceTest::~GMainLoopSourceTest): Deleted.
72         (TestWebKitAPI::GMainLoopSourceTest::runLoop): Deleted.
73         (TestWebKitAPI::GMainLoopSourceTest::delayedFinish): Deleted.
74         (TestWebKitAPI::GMainLoopSourceTest::finish): Deleted.
75         (TestWebKitAPI::GMainLoopSourceTest::source): Deleted.
76         (TestWebKitAPI::basicRescheduling): Deleted.
77         (TestWebKitAPI::TEST): Deleted.
78         (TestWebKitAPI::reentrantRescheduling): Deleted.
79         (TestWebKitAPI::cancelRepeatingSourceDuringDispatch): Deleted.
80         (TestWebKitAPI::basicDestroyCallbacks): Deleted.
81         (TestWebKitAPI::destroyCallbacksAfterCancellingDuringDispatch): Deleted.
82         (TestWebKitAPI::destroyCallbacksAfterReschedulingDuringDispatch): Deleted.
83         * TestWebKitAPI/Tests/WTF/gobject/GUniquePtr.cpp:
84         (log): Deleted.
85         (takeLogStr): Deleted.
86         (TestWebKitAPI::TEST): Deleted.
87         (TestWebKitAPI::returnOutChar): Deleted.
88         * TestWebKitAPI/Tests/WebKit2/gtk/InputMethodFilter.cpp:
89         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp:
90         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
91         * TestWebKitAPI/Tests/WebKit2Gtk/DOMXPathNSResolverTest.cpp:
92         * TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp:
93         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
94         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
95         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspector.cpp:
96         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
97         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
98         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
99         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
100         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
101         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitAccessibility.cpp:
102         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp:
103         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFindController.cpp:
104         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitPolicyClient.cpp:
105         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
106         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
107         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
108         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
109         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
110         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
111         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
112         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h:
113         * TestWebKitAPI/gtk/PlatformUtilitiesGtk.cpp:
114         * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
115         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
116         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp:
117         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.h:
118         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp:
119         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h:
120         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
121         * WebKitTestRunner/InjectedBundle/TestRunner.h:
122         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
123         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
124         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.h:
125         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
126         * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
127         * WebKitTestRunner/InjectedBundle/gtk/InjectedBundleUtilities.cpp:
128         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
129         * WebKitTestRunner/PlatformGTK.cmake:
130         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
131         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
132
133 2015-06-12  Csaba Osztrogonác  <ossy@webkit.org>
134
135         [EFL] Fix deprecated declarations warnings related to WK2 versioned structs
136         https://bugs.webkit.org/show_bug.cgi?id=145913
137
138         Reviewed by Gyuyoung Kim.
139
140         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
141         (TestWebKitAPI::setupGeolocationProvider):
142         * TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayoutFrames.cpp:
143         (TestWebKitAPI::setPageLoaderClient):
144         * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp:
145         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::setPageLoaderClient):
146         * WebKitTestRunner/GeolocationProviderMock.cpp:
147         (WTR::GeolocationProviderMock::GeolocationProviderMock):
148         * WebKitTestRunner/WebNotificationProvider.cpp:
149         (WTR::WebNotificationProvider::provider):
150
151 2015-06-12  Csaba Osztrogonác  <ossy@webkit.org>
152
153         Fix the libusrsctp build with clang
154         https://bugs.webkit.org/show_bug.cgi?id=145128
155
156         Reviewed by Gyuyoung Kim.
157
158         * efl/jhbuild.modules:
159         * gtk/jhbuild.modules:
160
161 2015-06-11  Mark Lam  <mark.lam@apple.com>
162
163         WebCore::reportException() needs to be able to accept a raw thrown value in addition to Exception objects.
164         https://bugs.webkit.org/show_bug.cgi?id=145872
165
166         Reviewed by Michael Saboff.
167
168         * TestWebKitAPI/Tests/mac/WebViewDidCreateJavaScriptContext.mm:
169         (-[DidCreateJavaScriptContextFrameLoadDelegate webView:didCreateJavaScriptContext:forFrame:]):
170         - Exercises the JSC ObjC API to call a function which throws an exception.  That
171           exception will be returned as a JSValue instead of an Exception object.  We
172           will use this JSValue to test WebCore::reportException() to confirm that it is
173           able to handle an exception value which is not an Exception object.
174
175 2015-06-11  Dewei Zhu  <dewei_zhu@apple.com>
176
177         Move cursor to corner and fix safari window size before running benchmark
178         https://bugs.webkit.org/show_bug.cgi?id=145858
179
180         Reviewed by Ryosuke Niwa
181
182         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
183         (OSXBrowserDriver.prepareEnv):
184         (OSXBrowserDriver):
185         (OSXBrowserDriver.moveCursor):
186         (OSXBrowserDriver.getScreenSize):
187         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
188         (OSXChromeDriver.launchUrl):
189         (OSXChromeCanaryDriver.launchUrl):
190         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
191         (OSXFirefoxDriver.launchUrl):
192         (OSXFirefoxNightlyDriver.launchUrl):
193         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
194         (OSXSafariDriver.prepareEnv):
195         (OSXSafariDriver):
196         (OSXSafariDriver.maximizeWindow):
197
198 2015-06-11  Daniel Bates  <dabates@apple.com>
199
200         [iOS] Cannot run run-webkit-tests with public SDK; LayoutTestRelay fails to build
201         https://bugs.webkit.org/show_bug.cgi?id=145319
202
203         Reviewed by David Kilzer.
204
205         Add SPI wrapper header for CoreSimulator and update the source files to reference
206         it instead of directly referencing the CoreSimulator header.
207
208         * LayoutTestRelay/LayoutTestRelay.xcodeproj/project.pbxproj:
209         * LayoutTestRelay/LayoutTestRelay/CoreSimulatorSPI.h: Added.
210         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
211         * LayoutTestRelay/LayoutTestRelay/main.m:
212
213 2015-06-10  KwangHyuk Kim  <hyuki.kim@samsung.com>
214
215         [EFL] dimmed area for popup does not cover the fullscreen mode.
216         https://bugs.webkit.org/show_bug.cgi?id=145133
217
218         Reviewed by Gyuyoung Kim.
219
220         By calling elm_win_resize_object_add(), popup was added as a resize object of elm_win.
221         as a result, popup can cover the fullscreen area when it enters a fullscreen mode.
222
223         * MiniBrowser/efl/main.c:
224         (on_fullscreen_accept):
225         (on_fullscreen_deny):
226         (on_fullscreen_enter):
227
228 2015-06-10  Commit Queue  <commit-queue@webkit.org>
229
230         Unreviewed, rolling out r185442.
231         https://bugs.webkit.org/show_bug.cgi?id=145871
232
233         seems to have broken WTF.StringOperators test (Requested by
234         alexchristensen on #webkit).
235
236         Reverted changeset:
237
238         "[Content Extensions] Limit number of rules."
239         https://bugs.webkit.org/show_bug.cgi?id=145663
240         http://trac.webkit.org/changeset/185442
241
242 2015-06-10  Alex Christensen  <achristensen@webkit.org>
243
244         [Content Extensions] Make max NFA size and max rule count user defaults.
245         https://bugs.webkit.org/show_bug.cgi?id=145663
246         rdar://problem/21242407
247
248         Reviewed by Benjamin Poulain.
249
250         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
251         (TestWebKitAPI::TEST_F):
252
253 2015-06-10  Hyungwook Lee  <hyungwook.lee@navercorp.com>
254
255         [EFL] Execute Javascript method in mini browser address bar.
256         https://bugs.webkit.org/show_bug.cgi?id=145725
257
258         Reviewed by Gyuyoung Kim.
259
260         Support 'javascript:' scheme in WebKit EFL Mini Browser.
261
262         * MiniBrowser/efl/main.c:
263         (url_from_user_input):
264         (url_load_from_user_input):
265         (on_url_bar_activated):
266         (elm_main):
267
268 2015-06-09  Hyungwook Lee  <hyungwook.lee@navercorp.com>
269
270         Implement dumpProgressFinishedCallback() for Win layoutTestController.
271         https://bugs.webkit.org/show_bug.cgi?id=66773
272
273         Reviewed by Darin Adler.
274
275         * DumpRenderTree/win/FrameLoadDelegate.cpp:
276         * DumpRenderTree/win/FrameLoadDelegate.h:
277
278 2015-06-09  Ryosuke Niwa  <rniwa@webkit.org>
279
280         run-benchmark should either checkout JetStream 1.0.1 or support running the latest version
281         https://bugs.webkit.org/show_bug.cgi?id=145764
282
283         Reviewed by Darin Adler.
284
285         Added the support for checkout a subversion directory in run-benchmark and used in the plans for
286         JetStream and SunSpider.
287
288         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
289         (GenericBenchmarkBuilder):
290         (GenericBenchmarkBuilder.prepare): Instead of taking each argument from benchmark plan, just accept
291         the whole JSON as the input.
292         (GenericBenchmarkBuilder._checkoutWithSubverion): Added.
293         (GenericBenchmarkBuilder._applyPatch): Check the existence of benchmark_patch in prepare() instead.
294         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
295         (BenchmarkRunner.execute): Removed the check for having either 'local_copy' or 'remote_archive' in
296         a benchmark plan now that it's checkedi in GenericBenchmarkBuilder.prepare.
297         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan:
298         * Scripts/webkitpy/benchmark_runner/data/plans/sunspider.plan:
299
300 2015-06-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
301
302         Remove ewstool scripts used by chromium port
303         https://bugs.webkit.org/show_bug.cgi?id=145789
304
305         Reviewed by Csaba Osztrogonác.
306
307         * EWSTools/GoogleComputeEngine/build-chromium-ews.sh: Removed.
308         * EWSTools/GoogleComputeEngine/build-commit-queue.sh: Removed.
309         * EWSTools/GoogleComputeEngine/build-cr-linux-debug-ews.sh: Removed.
310         * EWSTools/GoogleComputeEngine/build-feeder-style-sheriffbot.sh: Removed.
311         * EWSTools/GoogleComputeEngine/findzone.sh: Removed.
312
313 2015-06-09  Michał Pakuła vel Rutka  <m.pakula@samsung.com>
314
315         Unreviewed, updated my list of email addresses.
316
317         * Scripts/webkitpy/common/config/contributors.json:
318
319 2015-06-09  Csaba Osztrogonác  <ossy@webkit.org>
320
321         [cmake] Fix the style issues in cmake project files
322         https://bugs.webkit.org/show_bug.cgi?id=145755
323
324         Reviewed by Darin Adler.
325
326         * TestWebKitAPI/CMakeLists.txt:
327         * TestWebKitAPI/PlatformEfl.cmake:
328
329 2015-06-08  Ryosuke Niwa  <rniwa@webkit.org>
330
331         Fix a typo in r185345.
332
333         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
334         (OSXSafariDriver.closeBrowsers):
335
336 2015-06-08  Ryosuke Niwa  <rniwa@webkit.org>
337
338         Yet another unreviewed build fix :(
339
340         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
341         (OSXSafariDriver):
342         (OSXSafariDriver.launchUrl):
343         (OSXSafariDriver.closeBrowsers):
344
345 2015-06-08  Ryosuke Niwa  <rniwa@webkit.org>
346
347         Unreviewed build fix. Initialize result in the case things blow up below.
348
349         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
350         (BenchmarkRunner.execute):
351
352 2015-06-08  Ryosuke Niwa  <rniwa@webkit.org>
353
354         Partially revert and fix after r185243.
355
356         * Scripts/benchmark_runner/benchmark_runner.py:
357         * Scripts/run-benchmark:
358
359 2015-06-08  Daniel Bates  <dabates@apple.com>
360
361         Many LayoutTests/http tests time out in DumpRenderTree
362         https://bugs.webkit.org/show_bug.cgi?id=145770
363         <rdar://problem/19593910>
364
365         Reviewed by Alexey Proskuryakov.
366
367         * DumpRenderTree/ios/Info.plist: Add ATS key.
368         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
369         (-[LTRelayController _environmentVariables]): Copy environment variables LOCAL_RESOURCE_ROOT
370         and DUMPRENDERTREE_TEMP to the simulator environment to avoid assertion failures in tests
371         that make use of testRunner.pathToLocalResource().
372
373 2015-06-08  Csaba Osztrogonác  <ossy@webkit.org>
374
375         [GTK] Fix parentheses warning in TestWebKitWebView.cpp
376         https://bugs.webkit.org/show_bug.cgi?id=145759
377
378         Reviewed by Carlos Garcia Campos.
379
380         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
381         (testWebViewSave):
382
383 2015-06-07  Carlos Garcia Campos  <cgarcia@igalia.com>
384
385         [GTK] Add editor mode to MiniBrowser
386         https://bugs.webkit.org/show_bug.cgi?id=145595
387
388         Reviewed by Sergio Villar Senin.
389
390         It loads an empty editable web view with an edit toolbar. It makes
391         easier to test the editor, editing commands and input methods.
392
393         * MiniBrowser/gtk/BrowserWindow.c:
394         (editingCommandCallback):
395         (browserWindowSetupEditorToolbar):
396         (browserWindowConstructed):
397         * MiniBrowser/gtk/main.c:
398         (createBrowserWindow):
399
400 2015-06-05  Zalan Bujtas  <zalan@apple.com>
401
402         From r185273 on WTF::RefCounter exposes the actual refcount instead of a boolean value.
403
404         Reviewed by Dan Bernstein.
405
406         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
407         (TestWebKitAPI::TEST):
408
409 2015-06-05  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
410
411         [EFL] API test has been broken since r184357
412         https://bugs.webkit.org/show_bug.cgi?id=145635
413
414         Reviewed by Darin Adler.
415
416         r184357 suppress cmake build warning using TARGET_FILE property. However
417         many EFL API test cases have been broken after applying it.
418
419         * TestWebKitAPI/CMakeLists.txt:
420
421 2015-06-05  Anders Carlsson  <andersca@apple.com>
422
423         Make the network cache directory part of WKContextConfigurationRef
424         https://bugs.webkit.org/show_bug.cgi?id=145711
425
426         Reviewed by Antti Koivisto.
427
428         * WebKitTestRunner/TestController.cpp:
429         (WTR::TestController::initialize):
430
431 2015-06-05  Anders Carlsson  <andersca@apple.com>
432
433         Make the application cache directory part of WKContextConfigurationRef
434         https://bugs.webkit.org/show_bug.cgi?id=145704
435
436         Reviewed by Geoffrey Garen.
437
438         * WebKitTestRunner/TestController.cpp:
439         (WTR::TestController::initialize):
440
441 2015-06-04  Carlos Alberto Lopez Perez  <clopez@igalia.com>
442
443         check-webkit-style should recommend using nullptr instead of recommending using 0 for the null pointer in C++ code.
444         https://bugs.webkit.org/show_bug.cgi?id=145680
445
446         Reviewed by Brent Fulgham.
447
448         * Scripts/webkitpy/style/checkers/cpp.py:
449         (check_for_null):
450         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
451         (WebKitStyleTest.test_null_false_zero):
452
453 2015-06-05  Stephanie Lewis  <slewis@apple.com>
454
455         Make the web server more robust to timing issues..
456
457         Reviewed by Ryosuke Niwa.
458
459         Cleaned up exception handling.
460         Test server is actually serving pages before returning.
461         Clean up some style issues.
462
463         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
464         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
465         (SimpleHTTPServerDriver.__init__):
466         (SimpleHTTPServerDriver.serve): check output, wait for pages to serve
467         (SimpleHTTPServerDriver.baseUrl): 
468         (SimpleHTTPServerDriver.fetchResult):
469         (SimpleHTTPServerDriver.killServer):
470         (SimpleHTTPServerDriver.getReturnCode):
471
472 2015-06-05  Stephanie Lewis  <slewis@apple.com>
473
474
475         Add errors to run-benchmark exception handling.
476
477         Reviewed by Ryosuke Niwa.
478
479         * Scripts/run-benchmark:
480         (main):
481         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
482         (GenericBenchmarkBuilder.prepare):
483         (GenericBenchmarkBuilder._runCreateScript):
484         (GenericBenchmarkBuilder._applyPatch):
485         (GenericBenchmarkBuilder.clean):
486         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
487         (BenchmarkRunner.__init__):
488         (BenchmarkRunner.execute):
489         (BenchmarkRunner):
490         (BenchmarkRunner.cleanup):
491         * Scripts/webkitpy/benchmark_runner/generic_factory.py:
492         (GenericFactory.iterateGetItem):
493         (GenericFactory.create):
494         * Scripts/webkitpy/benchmark_runner/utils.py:
495         (loadModule):
496         (loadJSONFromFile):
497         (forceRemove):
498
499 2015-06-05  Stephanie Lewis  <slewis@apple.com>
500
501         Streamline run-benchmark browser
502
503         Reviewed by Ryosuke Niwa.
504
505         Add Caffeinate so computer won't sleep while running.
506         Remove calls to collect output since we were just dumping to stdout anyway.
507         Add xpc dyld_path.
508         Default to system safari.
509
510         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
511         (OSXBrowserDriver.launchProcess):
512         (OSXBrowserDriver.terminateProcesses):
513         (OSXBrowserDriver):
514         (OSXBrowserDriver.launchCaffeinateForProcess):
515         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
516         (OSXSafariDriver.launchUrl):
517         (OSXSafariDriver.closeBrowsers):
518
519 2015-06-04  Benjamin Poulain  <bpoulain@apple.com>
520
521         Combine tiny DFAs into slightly larger ones
522         https://bugs.webkit.org/show_bug.cgi?id=145572
523
524         Reviewed by Alex Christensen.
525
526         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
527         * TestWebKitAPI/Tests/WebCore/DFACombiner.cpp: Added.
528         (TestWebKitAPI::DFACombinerTest::SetUp):
529         (TestWebKitAPI::combine):
530         (TestWebKitAPI::TEST_F):
531         * TestWebKitAPI/Tests/WebCore/DFAHelpers.h: Copied from Source/WebCore/contentextensions/DFA.h.
532         (TestWebKitAPI::countLiveNodes):
533         (TestWebKitAPI::createNFAs):
534         (TestWebKitAPI::buildDFAFromPatterns):
535         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
536         (TestWebKitAPI::countLiveNodes): Deleted.
537         (TestWebKitAPI::createNFAs): Deleted.
538         (TestWebKitAPI::buildDFAFromPatterns): Deleted.
539
540 2015-06-04  Alexey Proskuryakov  <ap@apple.com>
541
542         WebKitTestRunner leaks strings in generateWhitelist()
543         https://bugs.webkit.org/show_bug.cgi?id=145665
544
545         Reviewed by Myles C. Maxfield.
546
547         * WebKitTestRunner/mac/TestControllerMac.mm:
548         (WTR::generateWhitelist):
549
550 2015-06-03  Yusuke Suzuki  <utatane.tea@gmail.com>
551
552         Fix options in build-jsc for CMake builds
553         https://bugs.webkit.org/show_bug.cgi?id=145636
554
555         Reviewed by Gyuyoung Kim.
556
557         CMake only accepts -DXXX=YYY style options.
558         And ensured that ENABLE_JIT=OFF when specifying `--cloop`.
559
560         * Scripts/build-jsc:
561
562 2015-06-03  Matthew Daiter  <mdaiter@apple.com>
563
564         Added a patch so that the colors displayed on the page could be toggled
565         in case people need accessibility colors displayed in their browser.
566         https://bugs.webkit.org/show_bug.cgi?id=145570
567         <rdar://problem/20994468>
568
569         Added in CSS colors and toggle buttons for checkmarks in the page, so that
570         the page could be rendered in a specific way for accessibility needs if needed.
571
572         Reviewed by Alexey Proskuryakov.
573
574         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
575         (updateHiddenPlatforms):
576         (applyAccessibilityColorSetting): Initial loading of accessibility colors if necessary
577         (toggleAccessibilityColors): Toggle colors on and off
578         (documentReady): Needed to make changes to the initialization
579         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
580         (a:hover):
581         (div.cellButton, div.accessibilityButton): Added in similar properties for cellButton and accessibilityButton
582         (div.cellButton.hide, div.accessibilityButton.hide):
583         (div.cellButton.unhide, div.accessibilityButton.unhide):
584         (.settings-visible div.accessibilityButton.hide, .settings-visible div.accessibilityButton.unhide):
585         (.popover-tracking:hover):
586         (.accessibilityButton):
587         (div.cellButton): Deleted.
588         (div.cellButton.hide): Deleted.
589         (div.cellButton.unhide): Deleted.
590         (.settings-visible div.cellButton.hide, .settings-visible div.cellButton.unhide): Deleted.
591         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/StatusLineView.css:
592         (.status-line.neutral .bubble):
593         (.status-line.unauthorized .bubble):
594         (.status-line.danger .bubble.pictogram):
595         (.status-line.bad .bubble.pictogram):
596         (.status-line.no-bubble .message):
597         (.status-line.bad .bubble):
598         (.status-line.good .bubble):
599         (.status-line.good .message):
600         (.status-line.bad .message):
601         (body.accessibility-colors .status-line.good .bubble):
602         (body.accessibility-colors .status-line.bad .bubble):
603         (body.accessibility-colors .status-line.good .message):
604         (body.accessibility-colors .status-line.bad .message):
605         (.status-line.danger .message):
606         (.status-line.unauthorized .message):
607
608 2015-06-03  Ryosuke Niwa  <rniwa@webkit.org>
609
610         Unreviewed build fix for Dromaeo.
611
612         * Scripts/webkitpy/benchmark_runner/benchmark_results.py:
613         (BenchmarkResults._aggregate_results_for_test):
614
615 2015-06-03  Anders Carlsson  <andersca@apple.com>
616
617         Fix build.
618
619         * DumpRenderTree/mac/TestRunnerMac.mm:
620
621 2015-06-03  Daniel Bates  <dabates@apple.com>
622
623         WebKit2.TextFieldDidBeginAndEndEditing is flaky on Mac
624         https://bugs.webkit.org/show_bug.cgi?id=145616
625
626         Skip the test on Mac for now to avoid having the bots turn red due to the flakiness
627         of the test. Further investigation is needed.
628
629         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing.cpp:
630         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing_Bundle.cpp:
631
632 2015-06-03  Brady Eidson  <beidson@apple.com>
633
634         REGRESSION (r183498): Certain types of frame loads in iframes with <base target="_blank"> can open urls in new window/tabs
635         https://bugs.webkit.org/show_bug.cgi?id=145580
636
637         Reviewed by Mark Lam.
638
639         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
640         (WTR::InjectedBundlePage::didSameDocumentNavigationForFrame): Implement the dump for "didChangeLocationWithinPageForFrame"
641
642 2015-06-03  Alexey Proskuryakov  <ap@apple.com>
643
644         Attempt to fix CSSPropertyParserTest.GridTrackLimits API test after http://trac.webkit.org/r185147
645
646         * TestWebKitAPI/Tests/WebCore/CSSParser.cpp:
647         (TestWebKitAPI::TEST): Update the syntax.
648
649 2015-06-02  Mark Lam  <mark.lam@apple.com>
650
651         build-jsc's --cloop option is broken.
652         https://bugs.webkit.org/show_bug.cgi?id=145516
653
654         Reviewed by Darin Adler.
655
656         * Scripts/build-jsc:
657         - Make sure to disable the JIT when --cloop is specified.
658           Did analogous fix for --ftljit.
659
660 2015-06-02  Daniel Bates  <dabates@apple.com>
661
662         Update ATS keys used in MiniBrowser and WebKitTestRunnerApp
663
664         Rubber-stamped by Alexey Proskuryakov.
665
666         * MiniBrowser/mac/Info.plist:
667         * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Info.plist:
668
669 2015-06-01  Commit Queue  <commit-queue@webkit.org>
670
671         Unreviewed, rolling out r185066.
672         https://bugs.webkit.org/show_bug.cgi?id=145543
673
674         it breaks the FTL JIT builds with a local checkout of llvm
675         (Requested by pizlo on #webkit).
676
677         Reverted changeset:
678
679         "build-jsc's --cloop option is broken."
680         https://bugs.webkit.org/show_bug.cgi?id=145516
681         http://trac.webkit.org/changeset/185066
682
683 2015-06-01  Daniel Bates  <dabates@apple.com>
684
685         Notify client that we began editing when text field is focused
686         https://bugs.webkit.org/show_bug.cgi?id=145439
687         <rdar://problem/21142108>
688
689         Reviewed by Anders Carlsson.
690
691         Add API test to ensure that we dispatch textFieldDid{Begin, End}Editing callbacks when
692         a text field is focused and defocused.
693
694         * TestWebKitAPI/CMakeLists.txt:
695         * TestWebKitAPI/PlatformEfl.cmake:
696         * TestWebKitAPI/PlatformGTK.cmake:
697         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
698         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing.cpp: Added.
699         (TestWebKitAPI::WebKit2TextFieldBeginAndEditEditingTest::didReceiveMessageFromInjectedBundle):
700         (TestWebKitAPI::WebKit2TextFieldBeginAndEditEditingTest::didFinishLoadForFrame):
701         (TestWebKitAPI::WebKit2TextFieldBeginAndEditEditingTest::setInjectedBundleClient):
702         (TestWebKitAPI::WebKit2TextFieldBeginAndEditEditingTest::setPageLoaderClient):
703         (TestWebKitAPI::WebKit2TextFieldBeginAndEditEditingTest::nullJavaScriptCallback):
704         (TestWebKitAPI::WebKit2TextFieldBeginAndEditEditingTest::executeJavaScriptAndCheckDidReceiveMessage):
705         (TestWebKitAPI::TEST_F):
706         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing_Bundle.cpp: Added.
707         (TestWebKitAPI::textFieldDidBeginEditing):
708         (TestWebKitAPI::textFieldDidEndEditing):
709         (TestWebKitAPI::TextFieldDidBeginAndEndEditingEventsTest::TextFieldDidBeginAndEndEditingEventsTest):
710         (TestWebKitAPI::TextFieldDidBeginAndEndEditingEventsTest::didCreatePage):
711         * TestWebKitAPI/Tests/WebKit2/input-focus-blur.html: Added.
712
713 2015-06-01  Alex Christensen  <achristensen@webkit.org>
714
715         [Content Extensions] resource-type and load-type should be independent.
716         https://bugs.webkit.org/show_bug.cgi?id=145528
717         rdar://problem/21190765
718
719         Reviewed by Benjamin Poulain.
720
721         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
722         (TestWebKitAPI::TEST_F):
723
724 2015-06-01  Daniel Bates  <dabates@apple.com>
725
726         Add ATS keys to WebKitTestRunnerApp
727         https://bugs.webkit.org/show_bug.cgi?id=145519
728
729         Reviewed by Alexey Proskuryakov.
730
731         Add ATS keys for WebKitTestRunnerApp as we did for MiniBrowser in bug #145141.
732
733         * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Info.plist:
734
735 2015-06-01  Brady Eidson  <beidson@apple.com>
736
737         Add WKTR support for "should open external URLs".
738         https://bugs.webkit.org/show_bug.cgi?id=145505
739
740         Reviewed by Darin Adler.
741
742         - Add a new option to "queueLoad" to allow javascript to queue a load that has the
743           "should open external URLs" bit set.
744         
745         - Add a new "dumpPolicyDelegateCallbacks" call to dump the NavigationAction in
746           the policy delegate, including whether or not the bit was set.
747         
748         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
749         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
750         (WTR::TestRunner::queueLoad):
751         * WebKitTestRunner/InjectedBundle/TestRunner.h:
752         (WTR::TestRunner::dumpPolicyDelegateCallbacks):
753         (WTR::TestRunner::shouldDumpPolicyCallbacks):
754         
755         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
756         (WTR::InjectedBundle::queueLoad):
757         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
758
759         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
760         (WTR::InjectedBundlePage::decidePolicyForNavigationAction):
761
762         * WebKitTestRunner/TestInvocation.cpp:
763         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
764
765         * WebKitTestRunner/WorkQueueManager.cpp:
766         (WTR::WorkQueueManager::queueLoad):
767         * WebKitTestRunner/WorkQueueManager.h:
768
769 2015-06-01  Mark Lam  <mark.lam@apple.com>
770
771         build-jsc's --cloop option is broken.
772         https://bugs.webkit.org/show_bug.cgi?id=145516
773
774         Reviewed by Darin Adler.
775
776         * Scripts/build-jsc:
777         - Make sure to disable the JIT when --cloop is specified.
778           Did analogous fix for --ftljit.
779
780 2015-06-01  Csaba Osztrogonác  <ossy@webkit.org>
781
782         [CMake] check-webkit-style provides bogus explanation for alphabetical sorting error
783         https://bugs.webkit.org/show_bug.cgi?id=144959
784
785         Reviewed by Darin Adler.
786
787         * Scripts/webkitpy/style/checkers/cmake.py:
788         (CMakeChecker.check): Use enumerate instead of xrange.
789         (CMakeChecker._check_list_order): Use enumerate instead of incrementing line_number manually.
790         * Scripts/webkitpy/style/checkers/cmake_unittest.py:
791         (CMakeCheckerTest.test_check): Update the expected results.
792
793 2015-06-01  Csaba Osztrogonác  <ossy@webkit.org>
794
795         Fix the webkitpy scm unittests after r174051
796         https://bugs.webkit.org/show_bug.cgi?id=145511
797
798         Reviewed by Darin Adler.
799
800         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
801         (GitTestWithMock.make_scm):
802
803 2015-06-01  Csaba Osztrogonác  <ossy@webkit.org>
804
805         EWS provides misleading information for not applyable patches
806         https://bugs.webkit.org/show_bug.cgi?id=145307
807
808         Reviewed by Alexey Proskuryakov.
809
810         * Scripts/svn-apply: Die if there is no applyable diff in the patch.
811
812 2015-06-01  Alexey Proskuryakov  <ap@apple.com>
813
814         Further tweak results of WebKit1.StringTruncator after r184965.
815
816         * TestWebKitAPI/Tests/mac/StringTruncator.mm:
817
818 2015-06-01  Csaba Osztrogonác  <ossy@webkit.org>
819
820         [cmake] Suppress unused parameter warnings in WebKit2 and TestNetscapePlugIn
821         https://bugs.webkit.org/show_bug.cgi?id=145264
822
823         Reviewed by Carlos Garcia Campos.
824
825         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt: Set extra compiler flags and suppress only unused parameter warnings.
826
827 2015-05-30  Ryosuke Niwa  <rniwa@webkit.org>
828
829         Unreviewed build fix after r185014. Some tests only have subtests and not metrics.
830
831         * Scripts/webkitpy/benchmark_runner/benchmark_results.py:
832         (BenchmarkResults._lint_subtest_results):
833         * Scripts/webkitpy/benchmark_runner/benchmark_results_unittest.py:
834         (test_aggregate_nested_results):
835         (test_lint_results):
836         * WinLauncher/WinLauncher.vcxproj/WinLauncherResource.h:
837
838 2015-05-29  Ryosuke Niwa  <rniwa@webkit.org>
839
840         run-benchmark should print out the results
841         https://bugs.webkit.org/show_bug.cgi?id=145398
842
843         Reviewed by Antti Koivisto.
844
845         Added BenchmarkResults to compute and format the aggregated values. It also does the syntax/semantic check
846         of the output to catch early errors.
847
848         * Scripts/webkitpy/benchmark_runner/benchmark_results.py: Added.
849         (BenchmarkResults): Added.
850         (BenchmarkResults.__init__): Added.
851         (BenchmarkResults.format): Added.
852         (BenchmarkResults._format_tests): Added. Used by BenchmarkResults.format.
853         (BenchmarkResults._format_values): Formats a list of values measured for a given metric on a given test.
854         Uses the sample standard deviation to compute the significant figures for the value.
855         (BenchmarkResults._unit_from_metric): Added.
856         (BenchmarkResults._aggregate_results): Added.
857         (BenchmarkResults._aggregate_results_for_test): Added.
858         (BenchmarkResults._flatten_list): Added.
859         (BenchmarkResults._subtest_values_by_config_iteration): Added. Organizes values measured for subtests
860         by the iteration number so that i-th array contains values for all subtests at i-th iteration.
861         (BenchmarkResults._aggregate_values): Added.
862         (BenchmarkResults._lint_results): Added.
863         (BenchmarkResults._lint_subtest_results): Added.
864         (BenchmarkResults._lint_aggregator_list): Added.
865         (BenchmarkResults._lint_configuration): Added.
866         (BenchmarkResults._lint_values): Added.
867         (BenchmarkResults._is_numeric): Added.
868         * Scripts/webkitpy/benchmark_runner/benchmark_results_unittest.py: Added.
869         (BenchmarkResultsTest):
870         (BenchmarkResultsTest.test_init):
871         (BenchmarkResultsTest.test_format):
872         (test_format_values_with_large_error):
873         (test_format_values_with_small_error):
874         (test_format_values_with_time):
875         (test_format_values_with_no_error):
876         (test_format_values_with_small_difference):
877         (test_aggregate_results):
878         (test_aggregate_results_with_gropus):
879         (test_aggregate_nested_results):
880         (test_lint_results):
881         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
882         (BenchmarkRunner.execute): Added a call to show_results
883         (BenchmarkRunner.wrap): Only dump the merged JSON when debugging.
884         (BenchmarkRunner.show_results): Added.
885
886 2015-05-15  Ryosuke Niwa  <rniwa@webkit.org>
887
888         run_benchmark should have an option to specify the number of runs
889         https://bugs.webkit.org/show_bug.cgi?id=145091
890
891         Reviewed by Antti Koivisto.
892
893         Added --count option.
894
895         * Scripts/run-benchmark:
896         (main):
897         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
898         (BenchmarkRunner.__init__):
899
900 2015-05-28  Alexey Proskuryakov  <ap@apple.com>
901
902         Update results of WebKit1.StringTruncator after r184965. I missed one letter.
903
904         * TestWebKitAPI/Tests/mac/StringTruncator.mm: (TestWebKitAPI::TEST):
905
906 2015-05-28  Alexey Proskuryakov  <ap@apple.com>
907
908         Update results of WebKit1.StringTruncator after r184965.
909
910         * TestWebKitAPI/Tests/mac/StringTruncator.mm: (TestWebKitAPI::TEST):
911
912 2015-05-28  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
913
914         Unreviewed, updated my list of email addresses.
915
916         * Scripts/webkitpy/common/config/contributors.json:
917
918 2015-05-27  Dean Jackson  <dino@apple.com>
919
920         img.currentSrc problem in strict mode with old picturefill
921         https://bugs.webkit.org/show_bug.cgi?id=144095
922         <rdar://problem/21087013>
923
924         Reviewed by Simon Fraser.
925
926         Add a PICTURE_SIZES flag.
927
928         * Scripts/webkitperl/FeatureList.pm:
929
930 2015-05-26  Dana Burkart  <dburkart@apple.com>
931
932         Fixes compatibility issues with recent dashboard cleanup.
933         https://bugs.webkit.org/show_bug.cgi?id=144814
934
935         Reviewed by Alexey Proskuryakov.
936
937         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotStaticAnalyzerQueueView.js:
938         (BuildbotStaticAnalyzerQueueView):
939         (BuildbotStaticAnalyzerQueueView.prototype.update):
940         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
941         (documentReady):
942
943 2015-05-26  Alexey Proskuryakov  <ap@apple.com>
944
945         Botwatcher's dashboard doesn't show JSC test regressions on Apple bots
946         https://bugs.webkit.org/show_bug.cgi?id=143091
947         rdar://problem/19330328
948
949         Reviewed by Darin Adler and Timothy Hatcher.
950
951         We have many of these, which are hard to fit on the dashboard. Added a view that
952         collapses to a single green bubble when everything is good, and expands when there
953         are failures (or manually).
954
955         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/index.html: Added BuildbotCombinedQueueView.js
956
957         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
958         (Buildbot.prototype.set isAuthenticated):
959         (Buildbot.prototype._normalizeQueueInfo):
960         (Buildbot.prototype._normalizeQueuesInfo):
961         (Buildbot.prototype.updateQueues):
962         Moved queue info normalization here from BuildbitQueue. The latter is a model class
963         that shouldn't have to know about presentation, and this lets us leep the knowledge
964         about combined queues out if it. Later, we can refactor existing code, and move out
965         all knowledge about headings and such.
966
967         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
968         Added the new view. It's not quite universal, and doesn't have as helpful popovers
969         as other views, but we can extend it when/if we use it for more than JSC.
970
971         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
972         (BuildbotQueue): Now that info is normalized before creating a queue, don't do that here.
973
974         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
975         (documentReady): Added support for combined queues. These are currently always ending up
976         in Other column, but it's easy to customize in the future if we need to.
977
978         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
979         (WebKitBuildbot): Added JSC queus.
980
981         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/QueueView.css:
982         (.combined-queue-popover):
983         (.combined-queue-popover .revision):
984         Added styles for the combined view.
985
986 2015-05-26  Dan Bernstein  <mitz@apple.com>
987
988         Changed a file to use Unix line endings.
989
990         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
991
992 2015-05-26  Dan Bernstein  <mitz@apple.com>
993
994         <rdar://problem/21104551> Update build settings
995
996         Reviewed by Anders Carlsson.
997
998         * ContentExtensionTester/Configurations/DebugRelease.xcconfig:
999         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1000         * MiniBrowser/Configurations/DebugRelease.xcconfig:
1001         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
1002         * WebEditingTester/Configurations/DebugRelease.xcconfig:
1003         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
1004         * asan/asan.xcconfig:
1005
1006 2015-05-26  Anders Carlsson  <andersca@apple.com>
1007
1008         Fix build.
1009
1010         * WebKitTestRunner/mac/EventSenderProxy.mm:
1011         (WTR::EventSenderProxy::mouseForceDown):
1012         (WTR::EventSenderProxy::mouseForceUp):
1013         (WTR::EventSenderProxy::mouseForceChanged):
1014
1015 2015-05-26  Alexey Proskuryakov  <ap@apple.com>
1016
1017         build.webkit.org/dashboard: Don't list test steps in BuildbotIteration twice
1018         https://bugs.webkit.org/show_bug.cgi?id=145342
1019
1020         Reviewed by Darin Adler.
1021
1022         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1023         (BuildbotIteration.prototype._parseData):
1024
1025 2015-05-26  Milan Crha  <mcrha@redhat.com>
1026
1027         [GTK] Expand wildcards inside generate-inspector-gresource-manifest.py
1028         https://bugs.webkit.org/show_bug.cgi?id=138134
1029
1030         Reviewed by Žan Doberšek.
1031
1032         * gtk/generate-inspector-gresource-manifest.py:
1033         (get_filenames): Command line with expanded resources exceeds 32KB, which
1034         is a limit on Windows. It's better to expand wildcards inside the python script.
1035
1036 2015-05-25  Carlos Garcia Campos  <cgarcia@igalia.com>
1037
1038         [GTK] Add construct property to WebKitWebContext to set the IndexedDB database directory
1039         https://bugs.webkit.org/show_bug.cgi?id=140882
1040
1041         Reviewed by Gustavo Noronha Silva.
1042
1043         Make sure unit tests write IndexedDB databases to the temporary
1044         directory, and add a test case to check that the directory is
1045         correctly created at the expected path.
1046
1047         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
1048         (testWebContextConfiguration):
1049         (serverCallback):
1050         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
1051         (Test::Test):
1052
1053 2015-05-25  Carlos Garcia Campos  <cgarcia@igalia.com>
1054
1055         [GTK] Enable IndexedDB
1056         https://bugs.webkit.org/show_bug.cgi?id=98932
1057
1058         Reviewed by Žan Doberšek.
1059
1060         * Scripts/webkitperl/FeatureList.pm: Enable IndexedDB for the GTK port.
1061
1062 2015-05-24  Sam Weinig  <sam@webkit.org>
1063
1064         Crash when using a removed ScriptMessageHandler
1065         <rdar://problem/20888499>
1066         https://bugs.webkit.org/show_bug.cgi?id=145359
1067
1068         Reviewed by Dan Bernstein.
1069
1070         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
1071         Add tests for removing script message handlers.
1072
1073 2015-05-23  Dan Bernstein  <mitz@apple.com>
1074
1075         Remove unused definitions of WEBKIT_VERSION_MIN_REQUIRED
1076         https://bugs.webkit.org/show_bug.cgi?id=145345
1077
1078         Reviewed by Sam Weinig.
1079
1080         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1081         * LayoutTestRelay/Configurations/Base.xcconfig:
1082         * TestWebKitAPI/Configurations/Base.xcconfig:
1083         * WebKitTestRunner/Configurations/Base.xcconfig:
1084
1085 2015-05-23  Yusuke Suzuki  <utatane.tea@gmail.com>
1086
1087         Introduce UniquedStringImpl and SymbolImpl to separate symbolic strings from AtomicStringImpl
1088         https://bugs.webkit.org/show_bug.cgi?id=144848
1089
1090         Reviewed by Darin Adler.
1091
1092         Use UniquedStringImpl, SymbolImpl and AtomicStringImpl.
1093
1094         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1095
1096 2015-05-22  Alexey Proskuryakov  <ap@apple.com>
1097
1098         Fix one more merge error in static analyzer support.
1099
1100         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotStaticAnalyzerQueueView.js:
1101         (BuildbotStaticAnalyzerQueueView):
1102
1103 2015-05-22  Dana Burkart  <dburkart@apple.com>
1104
1105         Fix internal dashboard breakage from recent commit.
1106         https://bugs.webkit.org/show_bug.cgi?id=144814
1107
1108         Unreviewed build fix.
1109
1110         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotStaticAnalyzerQueueView.js:
1111         (BuildbotStaticAnalyzerQueueView.prototype.update.appendStaticAnalyzerQueueStatus):
1112         (BuildbotStaticAnalyzerQueueView.prototype.update):
1113
1114 2015-05-22  Alexey Proskuryakov  <ap@apple.com>
1115
1116         REGRESSION (OS X 10.9.2): PageVisibilityStateWithWindowChanges.WebKit2 API test fails
1117         https://bugs.webkit.org/show_bug.cgi?id=130463
1118         rdar://problem/20461342
1119
1120         Reviewed by Tim Horton.
1121
1122         This was more of a timing related flakiness than an actual OS version specific bug,
1123         we weren't getting window visibility notifications.
1124         
1125         I will look into adding this function call to DumpRenderTree separately, layout tests
1126         might actually rely on the broken behavior.
1127
1128         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
1129         (TestWebKitAPI::TEST_F):
1130         * TestWebKitAPI/mac/mainMac.mm:
1131         (main):
1132
1133 2015-05-22  Dana Burkart  <dburkart@apple.com>
1134
1135         Add missing file from r184804 (mis-applied diff).
1136         https://bugs.webkit.org/show_bug.cgi?id=144814
1137
1138         Reviewed by Alexey Proskuryakov.
1139
1140         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotStaticAnalyzerQueueView.js: Added.
1141         (BuildbotStaticAnalyzerQueueView):
1142         (BuildbotStaticAnalyzerQueueView.prototype.update.appendStaticAnalyzerQueueStatus):
1143         (BuildbotStaticAnalyzerQueueView.prototype.update):
1144
1145 2015-05-22  Dana Burkart  <dburkart@apple.com>
1146
1147         Add support to the botwatchers dashboard for a static analyzer bot.
1148         https://bugs.webkit.org/show_bug.cgi?id=144814
1149
1150         Reviewed by Alexey Proskuryakov.
1151
1152         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1153         scan-build should be considered a productive step.
1154
1155         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1156         (BuildbotQueue):
1157         Adds support for the staticAnalyzer property
1158
1159         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
1160         (BuildbotTestResults.prototype._parseResults):
1161         Get bug count from the scan-build step output
1162
1163         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
1164         (documentReady):
1165         Rename the performance column 'Other', and merge the current 'Other' column with it.
1166
1167         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1168         (WebKitBuildbot):
1169         Now that performance bots are part of the 'Other' column, give them better headings.
1170
1171 2015-05-22  Tim Horton  <timothy_horton@apple.com>
1172
1173         Turn on autosaving of toolbar configuration in MiniBrowser
1174
1175         Rubber-stamped by Dan Bernstein.
1176
1177         * MiniBrowser/mac/BrowserWindow.xib:
1178
1179 2015-05-22  Alexey Proskuryakov  <ap@apple.com>
1180
1181         build.webkit.org/dashboard: Simplify BuildbotQueueView creation code
1182         https://bugs.webkit.org/show_bug.cgi?id=145297
1183
1184         Reviewed by Tim Horton.
1185
1186         This is a refactoring to simplify code, and to make it more logical.
1187
1188         It is up to the view to decide how to present the queues, and whether to split
1189         them into debug and release, or in some different way.
1190
1191         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
1192         (BuildbotBuilderQueueView.filterQueues):
1193         (BuildbotBuilderQueueView):
1194         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotLeaksQueueView.js:
1195         (BuildbotLeaksQueueView):
1196         (BuildbotLeaksQueueView.prototype.update):
1197         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotPerformanceQueueView.js:
1198         (BuildbotPerformanceQueueView):
1199         (BuildbotPerformanceQueueView.prototype.update):
1200         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1201         (BuildbotQueueView):
1202         (BuildbotQueueView.prototype._updateQueues):
1203         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1204         (BuildbotTesterQueueView):
1205         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
1206         (documentReady):
1207
1208 2015-05-22  Tim Horton  <timothy_horton@apple.com>
1209
1210         Remove action menu support
1211         https://bugs.webkit.org/show_bug.cgi?id=145305
1212         <rdar://problem/21070771>
1213
1214         Reviewed by Anders Carlsson.
1215
1216         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1217         * TestWebKitAPI/Tests/WebKit2/action-menu-target.pdf: Removed.
1218         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Removed.
1219         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm: Removed.
1220         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenusBundle.mm: Removed.
1221         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenusBundleSPI.h: Removed.
1222         Remove the tests.
1223
1224 2015-05-22  Dan Bernstein  <mitz@apple.com>
1225
1226         Removed the Use Shrink To Fit button from the toolbar’s default set.
1227
1228         Rubber-stamped by Tim Horton.
1229
1230         * MiniBrowser/mac/BrowserWindow.xib:
1231
1232 2015-05-21  Joanmarie Diggs  <jdiggs@igalia.com>
1233
1234         AX: [GTK] Implement computedRoleString in AccessibilityUIElement
1235         https://bugs.webkit.org/show_bug.cgi?id=128420
1236
1237         Reviewed by Chris Fleizach.
1238
1239         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1240         (WTR::AccessibilityUIElement::computedRoleString): Implemented.
1241
1242 2015-05-21  Csaba Osztrogonác  <ossy@webkit.org>
1243
1244         [EFL] Bump libsoup version to 2.50.0
1245         https://bugs.webkit.org/show_bug.cgi?id=145127
1246
1247         Reviewed by Gyuyoung Kim.
1248
1249         * efl/jhbuild.modules:
1250         * efl/patches/soup-clang-warning-fix1.patch: Removed.
1251         * efl/patches/soup-clang-warning-fix2.patch: Removed.
1252
1253 2015-05-20  Zan Dobersek  <zdobersek@igalia.com>
1254
1255         [GTK] Move MainThreadGtk, RunLoopGtk, WorkQueueGtk under Source/WTF/wtf/glib/
1256         https://bugs.webkit.org/show_bug.cgi?id=145117
1257
1258         Reviewed by Csaba Osztrogonác.
1259
1260         Rename the WorkQueueGtk.cpp file to WorkQueueGLib.cpp, and move it under
1261         Tools/TestWebKitAPI/Tests/WTF/glib/.
1262
1263         * TestWebKitAPI/PlatformGTK.cmake:
1264         * TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp: Renamed from Tools/TestWebKitAPI/Tests/WTF/gtk/WorkQueueGtk.cpp.
1265         (TestWebKitAPI::TEST):
1266
1267 2015-05-20  KwangHyuk Kim  <hyuki.kim@samsung.com>
1268
1269         [EFL] fix efreet error
1270         https://bugs.webkit.org/show_bug.cgi?id=143670
1271
1272         Reviewed by Gyuyoung Kim.
1273
1274         Fix efreet error by using external variable efreet_cache_update.
1275         As 0 value of efreet_cache_update prevents monitoring of icon and desktop cache,
1276         efreet error for efreet_cache does not occur.
1277
1278         * MiniBrowser/efl/main.c:
1279         (elm_main):
1280
1281 2015-05-20  Michael Saboff  <msaboff@apple.com>
1282
1283         Add option to run_jsc_stress_tests to disable JIT testing
1284         https://bugs.webkit.org/show_bug.cgi?id=145233
1285
1286         Reviewed by Mark Lam.
1287
1288         Added --no-jit option.
1289
1290         * Scripts/run-jsc-stress-tests:
1291
1292 2015-05-20  Alex Christensen  <achristensen@webkit.org>
1293
1294         Use correct String for StringView in WTF API tests
1295         https://bugs.webkit.org/show_bug.cgi?id=145226
1296         rdar://problem/20361786
1297
1298         Reviewed by Benjamin Poulain.
1299
1300         * TestWebKitAPI/Tests/WTF/StringView.cpp:
1301         (TestWebKitAPI::TEST):
1302         Use patternHolder for pattern.
1303
1304 2015-05-20  Alex Christensen  <achristensen@webkit.org>
1305
1306         [Content Extensions] Relax restrictions on triggers that match everything.
1307         https://bugs.webkit.org/show_bug.cgi?id=145069
1308
1309         Reviewed by Benjamin Poulain.
1310
1311         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1312         (TestWebKitAPI::TEST_F):
1313         Update and add tests for new possibilities with .*
1314
1315 2015-05-20  Rohit Kumar  <kumar.rohit@samsung.com>
1316
1317         [EFL][Minibrowser] Hide URL bar on fullscreen mode for HTML elements and browser window in WebKit EFL Minibrowser
1318         https://bugs.webkit.org/show_bug.cgi?id=144992
1319
1320         Reviewed by Gyuyoung Kim.
1321
1322         * MiniBrowser/efl/main.c:
1323         (toggle_window_fullscreen): Method to toggle between fullscreen and normal mode.
1324         (on_key_down):
1325         (on_fullscreen_enter):
1326         (on_fullscreen_exit):
1327         (window_create):
1328
1329 2015-05-19  Yusuke Suzuki  <utatane.tea@gmail.com>
1330
1331         Move AtomicStringImpl table related operations from AtomicString to AtomicStringImpl
1332         https://bugs.webkit.org/show_bug.cgi?id=145109
1333
1334         Reviewed by Darin Adler.
1335
1336         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1337         (TestWebKitAPI::TEST):
1338
1339 2015-05-19  Anders Carlsson  <andersca@apple.com>
1340
1341         Add alternate menu items for performing operations on the default data store
1342         https://bugs.webkit.org/show_bug.cgi?id=145184
1343
1344         Reviewed by Sam Weinig.
1345
1346         This makes it possible to test WKWebsiteDataStore code paths when there are no live web views
1347         associated with a data store.
1348
1349         * MiniBrowser/mac/AppDelegate.m:
1350         (-[BrowserAppDelegate fetchDefaultStoreWebsiteData:]):
1351         (-[BrowserAppDelegate fetchAndClearDefaultStoreWebsiteData:]):
1352         (-[BrowserAppDelegate clearDefaultStoreWebsiteData:]):
1353         * MiniBrowser/mac/MainMenu.xib:
1354
1355 2015-05-19  Csaba Osztrogonác  <ossy@webkit.org>
1356
1357         Fix tautological-compare warning in AtomicString.cpp
1358         https://bugs.webkit.org/show_bug.cgi?id=145120
1359
1360         Reviewed by Alexey Proskuryakov.
1361
1362         * TestWebKitAPI/Tests/WTF/AtomicString.cpp:
1363         (TestWebKitAPI::TEST): Removed always true assert.
1364
1365 2015-05-18  Csaba Osztrogonác  <ossy@webkit.org>
1366
1367         [EFL] Fix unsequenced warning in MiniBrowser's main.c
1368         https://bugs.webkit.org/show_bug.cgi?id=145123
1369
1370         Reviewed by Gyuyoung Kim.
1371
1372         * MiniBrowser/efl/main.c:
1373         (on_key_down):
1374
1375 2015-05-18  Daniel Bates  <dabates@apple.com>
1376
1377         prepare-ChangeLog reports function above deleted function as deleted; uninitialized value warning
1378         when staged non-empty file for commit
1379         https://bugs.webkit.org/show_bug.cgi?id=145082
1380
1381         Reviewed by Darin Adler.
1382
1383         Fixes two issues when running prepare-ChangeLog:
1384             1. The function above a deleted function is reported as changed.
1385             2. With a Git checkout of WebKit, a Perl uninitialized value warning is emitted when
1386             a new non-empty file is staged for commit (e.g. extractLineRangeBeforeAndAfterChange.pl,
1387             included in this patch).
1388
1389         Simplify code by using unified diff parsing logic for both SVN and Git support. Currently
1390         prepare-ChangeLog has logic to parse normal diff- and unified diff- chunk range lines as
1391         generated by `svn diff` and `git diff`, respectively. The logic for parsing these formats
1392         has correctness issues. We should make use of the VCSUtil::parseChunkRange() to parse
1393         chunk range lines of a unified diff as opposed to having specialized logic in prepare-ChangeLog.
1394         VCSUtil::parseChunkRange() has existing test coverage.
1395
1396         * Scripts/prepare-ChangeLog:
1397         (generateFunctionLists): Only add a line range to %line_ranges_before_changed, %line_ranges_after_changed
1398         when the beginning line number, ending line number >= 1. Modified for-loop condition to iterate over
1399         all the files represented by %line_ranges_before_changed and %line_ranges_after_changed so that we
1400         examine files that only have deletions. Currently this works as a side effect of the behavior of
1401         extractLineRangeAfterChange(), which always returns a well-formed (though nonsensical) line range for
1402         a change that represents a deletion (e.g. extractLineRangeAfterChange("@@ -166,6 +165,0 @@") => [165, 165]).
1403         (diffCommand): Generate a unified diff instead of a normal diff when using a SVN checkout of WebKit.
1404         (extractLineRangeAfterChange): Remove logic to parse a normal diff chunk range line and write
1405         the logic to parse a unified diff chunk range line in terms of VCSUtil::parseChunkRange().
1406         We return (-1, -1) when the change represents a deletion.
1407         (extractLineRangeBeforeChange): Remove logic to parse a normal diff chunk range line and write
1408         the logic to parse a unified diff chunk range line in terms of VCSUtil::parseChunkRange().
1409         We return (-1, -1) when the change represents an addition.
1410         * Scripts/webkitperl/prepare-ChangeLog_unittest/extractLineRangeBeforeAndAfterChange.pl: Added;
1411         unit tests.
1412
1413 2015-05-18  Anders Carlsson  <andersca@apple.com>
1414
1415         Add ATS keys to MiniBrowser
1416         https://bugs.webkit.org/show_bug.cgi?id=145141
1417
1418         Reviewed by Sam Weinig.
1419
1420         * MiniBrowser/mac/Info.plist:
1421
1422 2015-05-17  David Kilzer  <ddkilzer@apple.com>
1423
1424         bisect-builds: Add 'retry' option when prompting whether the bug reproduced
1425         <http://webkit.org/b/145100>
1426
1427         Reviewed by Darin Adler.
1428
1429         * Scripts/bisect-builds:
1430         - Add PROMPT_ANSWER_* constants for yes/no/retry/broken prompt.
1431         - Switch to using PROMPT_RESPONSE_* constants when testing the
1432           value of $didReproduceBug.
1433         - Add do { } while loops to implement 'retry' mode.
1434         (promptForTest):
1435         - Switch to returning PROMPT_RESPONSE_* constants.
1436         - Add support for 'retry' response.
1437
1438 2015-05-16  Tanay C  <tanay.c@samsung.com>
1439
1440         [EFL][WK2] Minibrowser : Add search icon to search bar
1441         https://bugs.webkit.org/show_bug.cgi?id=139773
1442
1443         Reviewed by Gyuyoung Kim.
1444
1445         * MiniBrowser/efl/main.c: 
1446         (search_icon_show): Added.
1447         (search_box_show): Modified.
1448
1449 2015-05-15  Ryosuke Niwa  <rniwa@webkit.org>
1450
1451         run_benchmark should have an option to specify the number of runs
1452         https://bugs.webkit.org/show_bug.cgi?id=145091
1453
1454         Reviewed by Stephanie Lewis.
1455
1456         Added --count option.
1457
1458         * Scripts/run-benchmark:
1459         (main):
1460         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
1461         (BenchmarkRunner.__init__):
1462
1463 2015-05-15  Timothy Horton  <timothy_horton@apple.com>
1464
1465         Temporarily disable failing API test.
1466
1467         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
1468         (TestWebKitAPI::TEST):
1469
1470 2015-05-15  Ravi Phaneendra Kasibhatla  <r.kasibhatla@samsung.com>
1471
1472         User interruption while running of run-webkit-tests should also generate results.html
1473         https://bugs.webkit.org/show_bug.cgi?id=122154
1474
1475         Reviewed by Csaba Osztrogonác.
1476
1477         Generation of results.html on execution of run-webkit-tests happens only
1478         on completion of entire layout tests run. It should be created even when
1479         the execution has been interrupted - either by user (by pressing Ctrl+C)
1480         or because of other interruptions (like exit-after-n-failures option).
1481
1482         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
1483         (LayoutTestRunner.run_tests):
1484         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1485         (Manager.run):
1486         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
1487         (TestRunResults.__init__):
1488         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1489         (main):
1490         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
1491         (RunTest.test_keyboard_interrupt):
1492         (MainTest.test_exception_handling):
1493
1494 2015-05-15  Csaba Osztrogonác  <ossy@webkit.org>
1495
1496         [buildbot] Fix the URL of the performance bots
1497         https://bugs.webkit.org/show_bug.cgi?id=145043
1498
1499         Reviewed by Ryosuke Niwa.
1500
1501         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
1502
1503 2015-05-14  Timothy Horton  <timothy_horton@apple.com>
1504
1505         Add a layout mode that scales down the view to try to fit the document
1506         https://bugs.webkit.org/show_bug.cgi?id=145022
1507         <rdar://problem/19790341>
1508
1509         Reviewed by Dean Jackson.
1510
1511         * MiniBrowser/mac/BrowserWindow.xib:
1512         * MiniBrowser/mac/BrowserWindowController.h:
1513         * MiniBrowser/mac/WK2BrowserWindowController.m:
1514         (-[WK2BrowserWindowController toggleShrinkToFit:]):
1515         (-[WK2BrowserWindowController toggleUseMinimumViewSize:]): Deleted.
1516         Switch to _WKLayoutModeDynamicSizeComputedFromMinimumDocumentSize.
1517
1518 2015-05-14  Michael Catanzaro  <mcatanzaro@igalia.com>
1519
1520         [CMake] Don't read the LOCATION property of targets
1521         https://bugs.webkit.org/show_bug.cgi?id=145018
1522
1523         Reviewed by Martin Robinson.
1524
1525         Use the TARGET_FILE_DIR generator expression to determine the location of the test injected
1526         bundle, rather than assuming that the LOCATION property of TestWebKitAPIInjectedBundle will
1527         be the same at configure-time as it is at generate-time.
1528
1529         * TestWebKitAPI/CMakeLists.txt:
1530
1531 2015-05-14  Myles C. Maxfield  <mmaxfield@apple.com>
1532
1533         Add String literal overloads to equalIgnoringASCIICase()
1534         https://bugs.webkit.org/show_bug.cgi?id=145008
1535
1536         Reviewed by Benjamin Poulain.
1537
1538         Test changes to WTF.
1539
1540         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1541         (WTF.StringImplEqualIgnoringASCIICaseBasic): Test const char*.
1542         (WTF.StringImplEqualIgnoringASCIICaseWithLatin1Characters): Ditto.
1543         * TestWebKitAPI/Tests/WTF/StringView.cpp:
1544         (WTF.StringViewEqualIgnoringASCIICaseBasic): Ditto.
1545         (WTF.StringViewEqualIgnoringASCIICaseWithLatin1Characters): Ditto.
1546
1547 2015-05-14  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1548
1549         SharedBuffer::createWithContentsOfFile should use map file routines
1550         https://bugs.webkit.org/show_bug.cgi?id=144192
1551
1552         Reviewed by Darin Adler.
1553
1554         Adding SharedBuffer and FileSystem Unit tests to Mac and GTK, not yet for EFL.
1555
1556         * TestWebKitAPI/PlatformGTK.cmake:
1557         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1558         * TestWebKitAPI/Tests/WebCore/FileSystem.cpp: Added.
1559         (TestWebKitAPI::FileSystemTest::tempFilePath):
1560         (TestWebKitAPI::FileSystemTest::tempEmptyFilePath):
1561         (TestWebKitAPI::TEST_F):
1562         * TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp: Added.
1563         (TestWebKitAPI::SharedBufferTest::tempFilePath):
1564         (TestWebKitAPI::SharedBufferTest::tempEmptyFilePath):
1565         (TestWebKitAPI::TEST_F):
1566
1567 2015-05-13  Alex Christensen  <achristensen@webkit.org>
1568
1569         [Content Extensions] Test interactions between multiple extensions and multiple domains.
1570         https://bugs.webkit.org/show_bug.cgi?id=144967
1571
1572         Reviewed by Benjamin Poulain.
1573
1574         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1575         Xcode wanted to fix an alphabetization issue.
1576         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1577         (TestWebKitAPI::TEST_F):
1578         Test interactions that worked but were not explicitly tested before.
1579
1580 2015-05-12  Ryosuke Niwa  <rniwa@webkit.org>
1581
1582         Unreviewed build fix.
1583
1584         Added the missing metric name and wrapped values in an array as done in SunSpider.patch.
1585
1586         * Scripts/webkitpy/benchmark_runner/data/patches/Kraken.patch:
1587
1588 2015-05-12  Ryosuke Niwa  <rniwa@webkit.org>
1589
1590         Fix the previous commit, which made both bubbles green.
1591
1592         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/StatusLineView.css:
1593         (.status-line.good .bubble):
1594         (.status-line.bad .bubble):
1595         (.status-line.good .message):
1596
1597 2015-05-12  Ryosuke Niwa  <rniwa@webkit.org>
1598
1599         People with Deuteranopia can't tell red and green apart on bot watcher's dashboard
1600         https://bugs.webkit.org/show_bug.cgi?id=144929
1601
1602         Reviewed by Eric Carlson.
1603
1604         Tweaked colors as I see fit.
1605
1606         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/StatusLineView.css:
1607         (.status-line.good .bubble):
1608         (.status-line.bad .bubble):
1609
1610 2015-05-11  Alexey Proskuryakov  <ap@apple.com>
1611
1612         [Mac] Share cookie storage between UI process and secondary processes
1613         https://bugs.webkit.org/show_bug.cgi?id=144820
1614         rdar://problem/20572830
1615
1616         Reviewed by Darin Adler.
1617
1618         * WebKitTestRunner/TestController.cpp: (WTR::TestController::initialize):
1619         Don't set cookie storage directory, as it's a no-op, we use an ephemeral session
1620         for testing.
1621
1622 2015-05-12  Jake Nielsen  <jacob_nielsen@apple.com>
1623
1624         Fix internal build configuration issues
1625         https://bugs.webkit.org/show_bug.cgi?id=144762
1626
1627         Reviewed by David Kilzer.
1628
1629         Modifies DumpRenderTree's xcconfig files to use SDK selectors.
1630
1631         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1632         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1633         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1634         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
1635         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig:
1636         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
1637         * DumpRenderTree/mac/Configurations/LayoutTestHelper.xcconfig:
1638         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig:
1639
1640 2015-05-12  David Kilzer  <ddkilzer@apple.com>
1641
1642         Switch to launching iOS Simulator using bundle ID
1643         <rdar://problem/20916096>
1644
1645         This is required to fix the layout tests on internal bots.
1646
1647         * Scripts/webkitdirs.pm:
1648         (relaunchIOSSimulator): Switch to use bundle ID to launch iOS
1649         Simulator.  Add FIXME.
1650         (quitIOSSimulator): Add FIXME.
1651         * Scripts/webkitpy/port/ios.py:
1652         (IOSSimulatorPort.setup_test_run): Switch to use bundle ID to
1653         launch iOS Simulator.  Add FIXME.
1654         (IOSSimulatorPort.check_sys_deps): Add FIXME.
1655
1656 2015-05-12  Per Arne Vollan  <peavo@outlook.com>
1657
1658         Fix run-javascriptcore-tests step on the WinCairo bot
1659         https://bugs.webkit.org/show_bug.cgi?id=144866
1660
1661         Reviewed by Csaba Osztrogonác.
1662
1663         Catch exception when failing to create soft link, so we can fall back to copy.
1664
1665         * Scripts/run-jsc-stress-tests:
1666
1667 2015-05-12  Joanmarie Diggs  <jdiggs@igalia.com>
1668
1669         [GTK][WK2] rowAtIndex is not implemented in DRT/WKTR
1670         https://bugs.webkit.org/show_bug.cgi?id=116971
1671
1672         Reviewed by Chris Fleizach.
1673
1674         Implement rowAtIndex for ATK.
1675
1676         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1677         (WTR::AccessibilityUIElement::rowAtIndex):
1678
1679 2015-05-11  Dan Bernstein  <mitz@apple.com>
1680
1681         Test for <rdar://problem/20878075> Trying to navigate to an invalid URL loads about:blank, but -[WKWebView URL] returns the invalid URL
1682
1683         Reviewed by Alexey Proskuryakov.
1684
1685         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1686         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadAlternateHTMLString.mm: Fixed copyright header.
1687         * TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLChange.mm: Added.
1688         (-[ProvisionalURLChangeController webView:didFinishNavigation:]):
1689
1690 2015-05-11  Jake Nielsen  <jacob_nielsen@apple.com>
1691
1692         Fix internal build configuration issues
1693         https://bugs.webkit.org/show_bug.cgi?id=144762
1694
1695         Reviewed by Darin Adler.
1696
1697         Modifies TestWebKitAPI and WebKitTestRunner's xcconfig files to use SDK selectors.
1698
1699         * TestWebKitAPI/Configurations/Base.xcconfig:
1700         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
1701         * TestWebKitAPI/Configurations/InjectedBundle.xcconfig:
1702         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
1703         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
1704         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
1705         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
1706
1707 2015-05-11  Brent Fulgham  <bfulgham@apple.com>
1708
1709         [Win] Move Windows build target to Windows 7 (or newer)
1710         https://bugs.webkit.org/show_bug.cgi?id=144890
1711         <rdar://problem/20707307>
1712
1713         Reviewed by Anders Carlsson.
1714
1715         Update linked SDK and minimal Windows level to be compatible with
1716         Windows 7 or newer.
1717
1718         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
1719         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
1720         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj:
1721         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj:
1722         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
1723         * DumpRenderTree/config.h:
1724         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
1725         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj:
1726         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
1727         * WinLauncher/stdafx.h:
1728
1729 2015-05-11  Commit Queue  <commit-queue@webkit.org>
1730
1731         Unreviewed, rolling out r184119.
1732         https://bugs.webkit.org/show_bug.cgi?id=144888
1733
1734         broke JSC tests on Apple Windows bots (Requested by kling on
1735         #webkit).
1736
1737         Reverted changeset:
1738
1739         "Fix run-javascriptcore-tests step on the WinCairo bot"
1740         https://bugs.webkit.org/show_bug.cgi?id=144866
1741         http://trac.webkit.org/changeset/184119
1742
1743 2015-05-11  Ryosuke Niwa  <rniwa@webkit.org>
1744
1745         run-benchmark should support Dromaeo
1746         https://bugs.webkit.org/show_bug.cgi?id=144849
1747
1748         Reviewed by Chris Dumez.
1749
1750         Added the benchmark plans for Dromaeo DOM tests. We only run these tests once since
1751         they can take as much as 15 minutes to run each.
1752
1753         * Scripts/webkitpy/benchmark_runner/data/patches/Dromaeo.patch: Added.
1754         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-cssquery.plan: Added.
1755         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-dom.plan: Added.
1756         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-jslib.plan: Added.
1757
1758 2015-05-11  Ryosuke Niwa  <rniwa@webkit.org>
1759
1760         Build fix. jetstream has a local copy, not remote archive.
1761
1762         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan:
1763
1764 2015-05-11  Ryosuke Niwa  <rniwa@webkit.org>
1765
1766         run-benchmark should support SunSpider, Kraken and Octane
1767         https://bugs.webkit.org/show_bug.cgi?id=144840
1768
1769         Reviewed by Darin Adler.
1770
1771         Added the support for SunSpider, Kraken, and Octane. Because of the licensing issues, we can't commit the
1772         Kraken source code into the WebKit repository as done for other benchmarks. Instead, we'll dynamically
1773         download it from the remote server using newly added RemoteZipBenchmarkBuilder. We do the same for Octane
1774         for simplicity. Use newly added --local-copy option to specify the location of a local copy if there is any.
1775
1776         Renamed "original_benchmark in the plan file to "local_copy" and added a new optional "remote_archive" to
1777         specify the URL to a remote ZIP file. This optional field is used by Kraken and Octane benchmark plans.
1778
1779         In addition, generalized the ability to run a "create script" in JetStreamBenchmarkBuilder since it's also
1780         needed for SunSpider and Kraken. This feature has now been folded into GenericBenchmarkBuilder.
1781
1782         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Added
1783         RemoteZipBenchmarkBuilder for Kraken and removed JetStreamBenchmarkBuilder since GenericBenchmarkBuilder
1784         now has the ability to run an arbitrary "create script".
1785
1786         * Scripts/run-benchmark:
1787         (main): Added an optional argument, --local-copy, to override the location of the benchmark's local copy.
1788         This also overrides the remote archive URL specified in the plan.
1789
1790         * Scripts/webkitpy/benchmark_runner/README.md: Updated the description.
1791
1792         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Deleted the entry for
1793         JetStreamBenchmarkBuilder.
1794
1795         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py: 
1796         (GenericBenchmarkBuilder.prepare): Call _fetchRemoteArchive if local_copy is not specified in the plan or
1797         by --local-copy option but remote_archive is specified. Also call self.clean() here instead of relying on
1798         _runCreateScript and _applyPatch to clean after themselves.
1799         (GenericBenchmarkBuilder._runCreateScript): Moved from JetStreamBenchmarkBuilder._runCreateScript since
1800         JetStream, SunSpider, Kraken all use this feature.
1801         (GenericBenchmarkBuilder._copyBenchmarkToTempDir): Use self.name as the destination location instead of
1802         the leaf directory name since the latter is not available when a remote ZIP file is used.
1803         (GenericBenchmarkBuilder._fetchRemoteArchive): Added.
1804         (GenericBenchmarkBuilder._applyPatch): Apply the patch inside destination directory to avoid hard coding
1805         the benchmark name in the patches.
1806
1807         * Scripts/webkitpy/benchmark_runner/benchmark_builder/jetstream_benchmark_builder.py: Removed.
1808
1809         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
1810         (BenchmarkRunner.__init__): Set self.planName. Also override 'local_copy' when --local-copy option is used.
1811         (BenchmarkRunner.execute): Exit early if neither local_copy nor remote_archive is specified. Prefix the URL
1812         the browser opens by planName as the plan file no longer contains that.
1813
1814         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Changed the path to be relative against
1815         the top directory of JetStream instead of its parent.
1816         * Scripts/webkitpy/benchmark_runner/data/patches/Kraken.patch: Added.
1817         * Scripts/webkitpy/benchmark_runner/data/patches/Octane.patch: Added.
1818         * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Changed the path to be relative against
1819         the top directory of JetStream instead of its parent.
1820         * Scripts/webkitpy/benchmark_runner/data/patches/SunSpider.patch: Added.
1821         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Uses GenericBenchmarkBuilder and specifies
1822         the script to run. The entry point was changed to the relative path from the top directory of JetStream as
1823         done in JetStream.patch.
1824         * Scripts/webkitpy/benchmark_runner/data/plans/kraken.plan: Added.
1825         * Scripts/webkitpy/benchmark_runner/data/plans/octane.plan: Added.
1826         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: The entry point was changed to the relative
1827         path from the top directory of JetStream as done in JetStream.patch.
1828         * Scripts/webkitpy/benchmark_runner/data/plans/sunspider.plan: Added.
1829
1830 2015-05-11  Csaba Osztrogonác  <ossy@webkit.org>
1831
1832         Fix run-javascriptcore-tests step on the WinCairo bot
1833         https://bugs.webkit.org/show_bug.cgi?id=144866
1834
1835         Reviewed by Darin Adler.
1836
1837         * Scripts/run-jsc-stress-tests:
1838
1839 2015-05-11  Alex Christensen  <achristensen@webkit.org>
1840
1841         [Content Extensions] Support domain-specific rules and exceptions.
1842         https://bugs.webkit.org/show_bug.cgi?id=144833
1843
1844         Reviewed by Darin Adler.
1845
1846         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1847         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
1848         (TestWebKitAPI::InMemoryCompiledContentExtension::create):
1849         (TestWebKitAPI::InMemoryCompiledContentExtension::InMemoryCompiledContentExtension):
1850         Moved CompiledContentExtensionData from ContentExtensionCompiler.h because it is only used for testing.
1851         (TestWebKitAPI::mainDocumentRequest):
1852         (TestWebKitAPI::subResourceRequest):
1853         (TestWebKitAPI::TEST_F):
1854         (TestWebKitAPI::checkCompilerError):
1855         Added tests for parsing and functionality of if-domain and unless-domain.
1856
1857 2015-05-11  Ryosuke Niwa  <rniwa@webkit.org>
1858
1859         run-benchmark should support Chrome Canary and Firefox Nightly
1860         https://bugs.webkit.org/show_bug.cgi?id=144850
1861
1862         Reviewed by Darin Adler.
1863
1864         Added the support for Chrome Canary, Firefox (release), and Firefox Nightly.
1865
1866         This patch also extracts OSXBrowserDriver to launch and terminate processes on OS X.
1867
1868         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_drivers.json:
1869         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py: Added.
1870         (OSXBrowserDriver):
1871         (OSXBrowserDriver.prepareEnv): Extracted from ChromeBrowserDriver.prepareEnv.
1872         (OSXBrowserDriver.closeBrowsers): Ditto.
1873         (OSXBrowserDriver.launchProcess): Ditto.
1874         (OSXBrowserDriver.terminateProcesses): Ditto.
1875         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
1876         (OSXChromeDriver): Removed the unused self.chromePreferences.
1877         (OSXChromeDriver.prepareEnv): Moved to OSXBrowserDriver.
1878         (OSXChromeDriver.closeBrowsers): Ditto.
1879         (OSXChromeDriver.launchUrl):
1880         (OSXChromeCanaryDriver): Added.
1881         (OSXChromeCanaryDriver.launchUrl):
1882         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py: Added.
1883         (OSXFirefoxDriver): Added.
1884         (OSXFirefoxDriver.launchUrl):
1885         (OSXFirefoxNightlyDriver): Added.
1886         (OSXFirefoxNightlyDriver.launchUrl):
1887         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
1888         (OSXSafariDriver):
1889         (OSXSafariDriver.closeBrowsers):
1890
1891 2015-05-11  Tim Horton  <timothy_horton@apple.com>
1892
1893         Page overlay action context override should indicate the source of the request
1894         https://bugs.webkit.org/show_bug.cgi?id=144832
1895         <rdar://problem/20562594>
1896
1897         Reviewed by Darin Adler.
1898
1899         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenusBundle.mm:
1900         (TestWebKitAPI::ActionMenuTest::actionContextForResultAtPoint):
1901
1902 2015-05-10  Martin Robinson  <mrobinson@igalia.com>
1903
1904         [GTK] fast/events/page-visibility-transition-test.html is timing out
1905         https://bugs.webkit.org/show_bug.cgi?id=114789
1906
1907         Reviewed by Darin Adler.
1908
1909         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
1910         (WTR::TestController::setHidden): Map and unmap the WebView when the harness
1911         requests visibility changes.
1912
1913 2015-05-10  Csaba Osztrogonác  <ossy@webkit.org>
1914
1915         [EFL] Fix install-dependencies on Ubuntu 14.10/15.04
1916         https://bugs.webkit.org/show_bug.cgi?id=144798
1917
1918         Reviewed by Darin Adler.
1919
1920         * efl/install-dependencies:
1921
1922 2015-05-09  Ryosuke Niwa  <rniwa@webkit.org>
1923
1924         Make arguments of run-benchmark more user friendly
1925         https://bugs.webkit.org/show_bug.cgi?id=144835
1926
1927         Reviewed by Darin Adler.
1928
1929         Made --build-directory optional since I don't expect a typical WebKit developer to have a local build
1930         of Chrome and Firefox. Also made --plan accept just a filename so that we can just say "speedometer"
1931         instead of "Tools/Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan". Finally, removed
1932         default values from --platform and --browser as they are required arguments.
1933
1934         * Scripts/run-benchmark:
1935         (main): Made --build-directory optional, and removed default values from --platform and --browser.
1936         Also added help text for --build-directory and --plan. In addition, the list of platforms and browsers
1937         are not dynamically obtained via BrowserDriverFactory.
1938         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
1939         (BenchmarkRunner.__init__): Raise when we can't find the plan file or the plan file is not a valid JSON
1940         file instead of suppressing the error here and blowing up later mysteriously since we won't be able to
1941         run any benchmark in that case.
1942         (BenchmarkRunner._findPlanFile): Added. Look for the plan in webkitpy/benchmark_runner/data/plans if
1943         the specified file isn't a valid relative or an absolute path.
1944         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
1945         (BrowserDriverFactory.available_platforms): Added. Used in main to provide the list of valid platforms
1946         and browsers.
1947         (BrowserDriverFactory.available_browsers): Ditto.
1948         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
1949         (OSXChromeDriver.launchUrl): browserBuildPath is never optional since BenchmarkRunner.execute always
1950         calls launchUrl with this argument so removed the default value. Also added a fallback path for when
1951         browserBuildPath was None.
1952         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
1953         (OSXSafariDriver.launchUrl): Ditto. We also fallback when the build directory doesn't contain Safari
1954         so that we can use locally built WebKit to launch Safari.
1955
1956 2015-05-09  Yoav Weiss  <yoav@yoav.ws>
1957
1958         Remove the PICTURE_SIZES build flag
1959         https://bugs.webkit.org/show_bug.cgi?id=144679
1960
1961         Reviewed by Benjamin Poulain.
1962
1963         Removed the PICTURE_SIZES build time flag.
1964
1965         * Scripts/webkitperl/FeatureList.pm:
1966
1967 2015-05-09  David Kilzer  <ddkilzer@apple.com>
1968
1969         Layout tests broke due to unexpected simctl output
1970
1971         * Scripts/webkitpy/xcode/simulator.py:
1972         (Simulator._parse_devices): Handle new Device Pairs header.
1973         * Scripts/webkitpy/xcode/simulator_unittest.py:
1974         (test_device_pairs): Add unit test for Device Pairs header.
1975
1976 2015-05-08  Myles C. Maxfield  <mmaxfield@apple.com>
1977
1978         Remove convenience constructors for TextRun
1979         https://bugs.webkit.org/show_bug.cgi?id=144752
1980
1981         Reviewed by Anders Carlsson.
1982
1983         Test the StringView which takes a StringImpl*.
1984
1985         * TestWebKitAPI/Tests/WTF/StringView.cpp:
1986         (StringView8Bit): Testing is8Bit() on StringView
1987
1988 2015-05-07  Sam Weinig  <sam@webkit.org>
1989
1990         [Content Extensions] Add simple tester that takes an extension and compiles it
1991         https://bugs.webkit.org/show_bug.cgi?id=144781
1992
1993         Reviewed by Dan Bates.
1994
1995         * ContentExtensionTester: Added.
1996         * ContentExtensionTester/Configurations: Added.
1997         * ContentExtensionTester/Configurations/Base.xcconfig: Copied from Source/bmalloc/Configurations/Base.xcconfig.
1998         * ContentExtensionTester/Configurations/ContentExtensionTester.xcconfig: Copied from Source/bmalloc/Configurations/bmalloc.xcconfig.
1999         * ContentExtensionTester/Configurations/DebugRelease.xcconfig: Copied from Source/bmalloc/Configurations/DebugRelease.xcconfig.
2000         * ContentExtensionTester/ContentExtensionTester.xcodeproj: Added.
2001         * ContentExtensionTester/ContentExtensionTester.xcodeproj/project.pbxproj: Added.
2002         * ContentExtensionTester/Makefile: Copied from Tools/TestWebKitAPI/Makefile.
2003         * ContentExtensionTester/main.m: Added.
2004         * Scripts/run-content-extension-tester: Copied from Tools/Scripts/run-webkit-tests.
2005
2006 2015-05-08  Alexey Proskuryakov  <ap@apple.com>
2007
2008         Build fix.
2009
2010         Reviewed by Dan Bernstein.
2011
2012         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h:
2013         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
2014         (-[DumpRenderTreeDraggingInfo springLoadingHighlight]):
2015         (-[DumpRenderTreeDraggingInfo resetSpringLoading]):
2016         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h:
2017         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm:
2018         (-[WebKitTestRunnerDraggingInfo springLoadingHighlight]):
2019         (-[WebKitTestRunnerDraggingInfo resetSpringLoading]):
2020
2021 2015-05-08  Martin Robinson  <mrobinson@igalia.com>
2022
2023         [GTK] Some tests fail because they do not assume the popup menu captures click events
2024         https://bugs.webkit.org/show_bug.cgi?id=40601
2025
2026         Reviewed by Carlos Garcia Campos.
2027
2028         Popdown all attached menus when moving between tests and between each new
2029         event sent to the WebView. This prevents context and popup menus from eating
2030         events.
2031
2032         * WebKitTestRunner/PlatformWebView.h: Added a helper method to do menu popdown.
2033         * WebKitTestRunner/TestController.cpp: Add a specialization of these methods for GTK+.
2034         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
2035         (WTR::dispatchEvent): Popdown all menus between dispatching events.
2036         (WTR::EventSenderProxy::replaySavedEvents): Pass the view when dispatching events.
2037         (WTR::EventSenderProxy::sendOrQueueEvent): Pass the view when dispatching events.
2038         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
2039         (WTR::PlatformWebView::hideAllPopupMenus): Added this helper.
2040         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
2041         (WTR::TestController::platformConfigureViewForTest): Added this stub, which is no
2042         longer in the platform-independent file.
2043         (WTR::TestController::platformResetPreferencesToConsistentValues): Popdown menus.
2044
2045 015-05-08  Michael Catanzaro  <mcatanzaro@igalia.com>, Martin Robinson <mrobinson@igalia.com>
2046
2047         [GTK] Checks for DEVELOPMENT_BUILD are all wrong
2048         https://bugs.webkit.org/show_bug.cgi?id=144746
2049
2050         Reviewed by Carlos Garcia Campos.
2051
2052         Use ENABLE_DEVELOPER_MODE rather than DEVELOPMENT_BUILD.
2053
2054         * MiniBrowser/gtk/main.c:
2055         (main):
2056
2057 2015-05-08  Commit Queue  <commit-queue@webkit.org>
2058
2059         Unreviewed, rolling out r183996.
2060         https://bugs.webkit.org/show_bug.cgi?id=144806
2061
2062         ASan detected use-after free (Requested by ap on #webkit).
2063
2064         Reverted changeset:
2065
2066         "Remove convenience constructors for TextRun"
2067         https://bugs.webkit.org/show_bug.cgi?id=144752
2068         http://trac.webkit.org/changeset/183996
2069
2070 2015-05-08  Myles C. Maxfield  <mmaxfield@apple.com>
2071
2072         Remove convenience constructors for TextRun
2073         https://bugs.webkit.org/show_bug.cgi?id=144752
2074
2075         Reviewed by Anders Carlsson.
2076
2077         Test the StringView which takes a StringImpl*.
2078
2079         * TestWebKitAPI/Tests/WTF/StringView.cpp:
2080         (StringView8Bit): Testing is8Bit() on StringView
2081
2082 2015-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2083
2084         [GTK] WTR doesn't correctly handle the Escape key
2085         https://bugs.webkit.org/show_bug.cgi?id=144788
2086
2087         Reviewed by Martin Robinson.
2088
2089         Correctly handle 0x001B character code in GTK+ event sender to be
2090         recognized as Escape key, because gdk_unicode_to_keyval() doesn't
2091         handle it. This fixes layout tests using keyDown(String.fromCharCode(0x001B), null);
2092         to dismiss popup menus.
2093
2094         Fixes editing/selection/5354455-1.html.
2095
2096         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
2097         (WTR::getGDKKeySymForKeyRef):
2098
2099 2015-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2100
2101         [GTK] Expose allowFileAccessFromFileURLs setting to WebKit2 GTK+ API
2102         https://bugs.webkit.org/show_bug.cgi?id=144748
2103
2104         Reviewed by Sergio Villar Senin.
2105
2106         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
2107         (testWebKitSettings): Check the new setting is correctly
2108         initialized and updated.
2109         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
2110         (testWebContextSecurityFileXHR): Check XHR to local files is
2111         allowed from file URLs after changing the setting.
2112         (beforeAll): Add new test.
2113
2114 2015-05-08  Commit Queue  <commit-queue@webkit.org>
2115
2116         Unreviewed, rolling out r183945.
2117         https://bugs.webkit.org/show_bug.cgi?id=144789
2118
2119         "It broke all the GTK+ tests" (Requested by KaL on #webkit).
2120
2121         Reverted changeset:
2122
2123         "[GTK] Checks for DEVELOPMENT_BUILD are all wrong"
2124         https://bugs.webkit.org/show_bug.cgi?id=144746
2125         http://trac.webkit.org/changeset/183945
2126
2127 2015-05-07  Anders Carlsson  <andersca@apple.com>
2128
2129         Build fixes.
2130
2131         * TestWebKitAPI/Tests/mac/HTMLCollectionNamedItem.mm:
2132         (TestWebKitAPI::TEST):
2133         * TestWebKitAPI/Tests/mac/HTMLFormCollectionNamedItem.mm:
2134         (TestWebKitAPI::TEST):
2135         Add casts.
2136
2137 2015-05-07  Filip Pizlo  <fpizlo@apple.com>
2138
2139         GC has trouble with pathologically large array allocations
2140         https://bugs.webkit.org/show_bug.cgi?id=144609
2141
2142         Reviewed by Geoffrey Garen.
2143         
2144         Add a --filter option that restricts the set of tests we run. I needed it to fix this bug
2145         and it's a frequently requested feature.
2146         
2147         Also add the ability to run a test pretending that your system has a particular RAM size.
2148         This is useful for GC tests, and the new GC test that I added uses this.
2149
2150         * Scripts/run-javascriptcore-tests:
2151         (runJSCStressTests):
2152         * Scripts/run-jsc-stress-tests:
2153
2154 2015-05-07  Csaba Osztrogonác  <ossy@webkit.org>
2155
2156         [EFL] Bump EFL version to 1.14.0
2157         https://bugs.webkit.org/show_bug.cgi?id=144743
2158
2159         Reviewed by Darin Adler.
2160
2161         Bump EFL and elementary version to 1.14.0 and removed
2162         md5sum, because it isn't used at all if hash is present.
2163
2164         * efl/jhbuild.modules:
2165
2166 2015-05-07  Saam Barati  <saambarati1@gmail.com>
2167
2168         exceptionFuzz tests should explicitly initialize the exceptionFuzz boolean in JavaScript code through a function in jsc.cpp
2169         https://bugs.webkit.org/show_bug.cgi?id=144753
2170
2171         Reviewed by Mark Lam.
2172
2173         * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
2174
2175 2015-05-07  Beth Dakin  <bdakin@apple.com>
2176
2177         New force-related DOM events should fire in WK1 views
2178         https://bugs.webkit.org/show_bug.cgi?id=144663
2179         -and corresponding-
2180         rdar://problem/20281886
2181
2182         Reviewed by Sam Weinig.
2183
2184         PlatformEventFactory::createPlatformMouseEvent() takes the last pressure event 
2185         now. Just send nil. 
2186         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
2187         (TestWebKitAPI::buildAndPerformTest):
2188
2189 2015-05-07  Michael Catanzaro  <mcatanzaro@igalia.com>
2190
2191         [GTK] Checks for DEVELOPMENT_BUILD are all wrong
2192         https://bugs.webkit.org/show_bug.cgi?id=144746
2193
2194         Reviewed by Martin Robinson.
2195
2196         Use DEVELOPER_MODE rather than DEVELOPMENT_BUILD.
2197
2198         * MiniBrowser/gtk/main.c:
2199         (main):
2200
2201 2015-05-05  Myles C. Maxfield  <mmaxfield@apple.com>
2202
2203         Revert "Introducing the Platform Abstraction Layer (PAL)"
2204         https://bugs.webkit.org/show_bug.cgi?id=144751
2205
2206         Unreviewed.
2207
2208         PAL should be a new target inside WebCore, rather than a top-level folder.
2209
2210         * Scripts/build-webkit: Add it to build-webkit.
2211
2212 2015-05-07  Ada Chan  <adachan@apple.com>
2213
2214         Add a test for WKPageCopySessionState() with filtering.
2215         https://bugs.webkit.org/show_bug.cgi?id=144666
2216
2217         Reviewed by Darin Adler.
2218
2219         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2220         * TestWebKitAPI/Tests/WebKit2/WKPageCopySessionStateWithFiltering.cpp: Added.
2221         (TestWebKitAPI::didFinishLoadForFrame):
2222         (TestWebKitAPI::setPageLoaderClient):
2223         (TestWebKitAPI::filterFirstItemCallback):
2224         (TestWebKitAPI::filterAllItemsCallback):
2225         (TestWebKitAPI::createSessionStates):
2226         (TestWebKitAPI::TEST):
2227
2228 2015-05-06  Alexey Proskuryakov  <ap@apple.com>
2229
2230         iOS build fix attempt
2231
2232         Link WebKitTestRunnerApp to WebKit, now that we don't have WebKit2.
2233
2234         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2235
2236 2015-05-06  Matt Baker  <mattbaker@apple.com>
2237
2238         Unreviewed, updated my list of email addresses.
2239
2240         * Scripts/webkitpy/common/config/contributors.json:
2241
2242 2015-05-06  Alexey Proskuryakov  <ap@apple.com>
2243
2244         Do not link tools to WebKit2.framework
2245         https://bugs.webkit.org/show_bug.cgi?id=144699
2246
2247         Unreviewed build fix.
2248
2249         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
2250         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
2251         These linked to WebKit2 in two ways, eliminating the other one.
2252
2253 2015-05-05  Myles C. Maxfield  <mmaxfield@apple.com>
2254
2255         Introducing the Platform Abstraction Layer (PAL)
2256         https://bugs.webkit.org/show_bug.cgi?id=143358
2257
2258         Reviewed by Simon Fraser.
2259
2260         * Scripts/build-webkit: Add it to build-webkit.
2261
2262 2015-05-06  Alex Christensen  <achristensen@webkit.org>
2263
2264         Fix api tests after r183877.
2265
2266         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2267         (TestWebKitAPI::TEST_F):
2268         Generate all DFAs before compiling them.
2269
2270 2015-05-06  Alexey Proskuryakov  <ap@apple.com>
2271
2272         Do not link tools to WebKit2.framework
2273         https://bugs.webkit.org/show_bug.cgi?id=144699
2274
2275         Reviewed by Tim Horton.
2276
2277         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
2278         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2279         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2280
2281 2015-05-06  Alex Christensen  <achristensen@webkit.org>
2282
2283         [Content Extensions] Test splitting NFAs by max NFA size.
2284         https://bugs.webkit.org/show_bug.cgi?id=144659
2285
2286         Reviewed by Darin Adler.
2287
2288         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2289         (TestWebKitAPI::createNFAs):
2290         (TestWebKitAPI::TEST_F):
2291         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
2292         (TestWebKitAPI::createNFAs):
2293
2294 2015-05-05  daegyu lee  <daegyu.lee@navercorp.com>
2295
2296         Remove the remaining vestiges of SVG feature define
2297         https://bugs.webkit.org/show_bug.cgi?id=144655
2298
2299         Reviewed by Alexey Proskuryakov.
2300
2301         * Scripts/webkitperl/FeatureList.pm:
2302
2303 2015-05-05  Timothy Horton  <timothy_horton@apple.com>
2304
2305         Add a layout mode for computing fixed layout size from a minimum size
2306         https://bugs.webkit.org/show_bug.cgi?id=144610
2307         <rdar://problem/19790341>
2308
2309         Reviewed by Simon Fraser.
2310
2311         * MiniBrowser/mac/BrowserWindow.xib:
2312         * MiniBrowser/mac/BrowserWindowController.h:
2313         * MiniBrowser/mac/WK1BrowserWindowController.m:
2314         (-[WK1BrowserWindowController toggleUseMinimumViewSize:]):
2315         * MiniBrowser/mac/WK2BrowserWindowController.m:
2316         (-[WK2BrowserWindowController toggleUseMinimumViewSize:]):
2317         Add a optional toolbar item to toggle a minimum view size of 1024x0.
2318
2319 2015-05-05  Alex Christensen  <achristensen@webkit.org>
2320
2321         [Content Extensions] Release input NSString when finished copying it.
2322         https://bugs.webkit.org/show_bug.cgi?id=144642
2323
2324         Reviewed by Brian Weinstein.
2325
2326         * WebKitTestRunner/mac/TestControllerMac.mm:
2327         (WTR::TestController::platformConfigureViewForTest):
2328         Use alloc and initWithContentsOfURL to prevent over-releasing an autoreleased object.
2329
2330 2015-05-05  Brent Fulgham  <bfulgham@apple.com>
2331
2332         Unreviewed test fix after r183798.
2333
2334         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2335         (convertToDRTLabel): Mimic behavior of Mac accessibility output
2336         so we can share results.
2337
2338 2015-05-05  Alex Christensen  <achristensen@webkit.org>
2339
2340         [Content Extensions] Use less memory to store the json input.
2341         https://bugs.webkit.org/show_bug.cgi?id=144604
2342
2343         Reviewed by Benjamin Poulain.
2344
2345         * MiniBrowser/mac/ExtensionManagerWindowController.m:
2346         (-[ExtensionManagerWindowController add:]):
2347         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2348         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
2349         * WebKitTestRunner/mac/TestControllerMac.mm:
2350         (WTR::TestController::platformConfigureViewForTest):
2351
2352 2015-05-05  Yusuke Suzuki  <utatane.tea@gmail.com>
2353
2354         Unreviewed. Make myself a WebKit reviewer.
2355
2356         * Scripts/webkitpy/common/config/contributors.json:
2357
2358 2015-05-05  Joanmarie Diggs  <jdiggs@igalia.com>
2359
2360         [GTK] r183783 breaks build
2361         https://bugs.webkit.org/show_bug.cgi?id=144632
2362
2363         Reviewed by Martin Robinson.
2364
2365         Return false rather than nullptr for unimplemented AccessibilityUIElement::setSelectedVisibleTextRange
2366
2367         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2368         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
2369
2370 2015-05-05  Alex Christensen  <achristensen@webkit.org>
2371
2372         [Content Extensions] Combine NFAs properly and free memory as we compile.
2373         https://bugs.webkit.org/show_bug.cgi?id=144485
2374
2375         Reviewed by Benjamin Poulain.
2376
2377         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2378         (TestWebKitAPI::TEST_F):
2379         Added tests for correctly splitting up NFAs with unquantified terms after quantified terms.
2380         Added tests for deep NFAs.
2381
2382 2015-05-04  Alex Christensen  <achristensen@webkit.org>
2383
2384         [Content Extensions] Use less memory when writing byte code to file
2385         https://bugs.webkit.org/show_bug.cgi?id=144602
2386
2387         Reviewed by Darin Adler.
2388
2389         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2390
2391 2015-05-05  Carlos Garcia Campos  <cgarcia@igalia.com>
2392
2393         [GTK] Async operations running in the WorkQueue thread should schedule their sources to the WorkQueue main lopp
2394         https://bugs.webkit.org/show_bug.cgi?id=144541
2395
2396         Reviewed by Žan Doberšek.
2397
2398         Add a test case to WorkQueue unit test, to check that sources of
2399         asynchronous IO operations running in the WorkQueue thread are
2400         dispatched by the WorkQueue main loop.
2401
2402         * TestWebKitAPI/PlatformGTK.cmake:
2403         * TestWebKitAPI/Tests/WTF/gtk/WorkQueueGtk.cpp: Added.
2404         (TestWebKitAPI::TEST):
2405
2406 2015-05-04  Brent Fulgham  <bfulgham@apple.com>
2407
2408         Correct '--show-webview' option for Tiled Drawing tests
2409         https://bugs.webkit.org/show_bug.cgi?id=144621
2410
2411         Reviewed by Simon Fraser.
2412
2413         The scrolling thread/tiled drawing tests recreate the standard test runner web view. My earlier patch did not make
2414         sure that the state of the '--show-webview' option was propagated to this additional view creation routine.
2415
2416         * WebKitTestRunner/mac/TestControllerMac.mm:
2417         (WTR::TestController::platformConfigureViewForTest): Include the value of the 'shouldShowWebView' state in the
2418         WKMutableDictionary passed to the 'ensureViewSupportsOptions' method.
2419
2420 2015-05-04  Filip Pizlo  <fpizlo@apple.com>
2421
2422         Large array shouldn't be slow
2423         https://bugs.webkit.org/show_bug.cgi?id=144617
2424
2425         Reviewed by Geoffrey Garen.
2426         
2427         Add the hash-map benchmark to LongSpider. LongSpider was already not a perfect match of
2428         SunSpider. It's not an official benchmark. It contains benchmarks that are relatively
2429         long-running. So, hash-map sort of belongs here.
2430
2431         * Scripts/run-jsc-benchmarks:
2432
2433 2015-05-04  Doug Russell  <d_russell@apple.com>
2434
2435         AX: setting focus via accessibility object needs to set isSynchronizing in resulting selection intent
2436         https://bugs.webkit.org/show_bug.cgi?id=144489
2437
2438         Reviewed by Chris Fleizach.
2439
2440         Resolves infinite looping when navigating rapidly between controls with the search API and then focusing
2441         on the returned control.
2442         Remove isSynchronizing flag from AXTextStateChangeIntent and put it on AXObjectCache.
2443         Move AXTextStateChangeIntent logic in AccessibilityRenderObject into a helper method.
2444         Call new AXTextStateChangeIntent helper from AccessibilityRenderObject::setFocus().
2445         Add support for setSelectedVisibleTextRange() in accessibility tests.
2446
2447         * DumpRenderTree/AccessibilityUIElement.cpp:
2448         (setSelectedVisibleTextRangeCallback):
2449         (AccessibilityUIElement::setSelectedVisibleTextRange):
2450         (AccessibilityUIElement::getJSClass):
2451         (AccessibilityUIElement::textMarkerForIndex): Deleted.
2452         * DumpRenderTree/AccessibilityUIElement.h:
2453         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2454         (AccessibilityUIElement::setSelectedVisibleTextRange):
2455         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2456         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
2457         (WTR::AccessibilityUIElement::setSelectedTextRange): Deleted.
2458         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2459         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2460         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2461         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
2462         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2463         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
2464         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2465         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange):
2466
2467 2015-05-04  Brent Fulgham  <bfulgham@apple.com>
2468
2469         [Win] Implement the "--show-webview" option for Windows
2470         https://bugs.webkit.org/show_bug.cgi?id=144589
2471
2472         Reviewed by Alex Christensen.
2473
2474         Add another runtime flag (--show-webview) that causes DumpRenderTree
2475         to draw its view on-screen, rather than the standard offscreen mode.
2476
2477         * DumpRenderTree/win/DumpRenderTree.cpp:
2478         (createWebViewAndOffscreenWindow): Honor the 'showWebView' flag.
2479         (initializeGlobalsFromCommandLineOptions): Recognize the new
2480         command-line argument, and set the global 'showWebView' state if
2481         appropriate.
2482
2483 2015-05-04  Csaba Osztrogonác  <ossy@webkit.org>
2484
2485         Remove dead code from TestInvocationCairo.cpp
2486         https://bugs.webkit.org/show_bug.cgi?id=144564
2487
2488         Reviewed by Gyuyoung Kim.
2489
2490         Only EFL and GTK port use TestInvocationCairo.cpp, there isn't other platform.
2491
2492         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
2493         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
2494
2495 2015-05-04  Joonghun Park  <jh718.park@samsung.com>
2496
2497         [GTK] Add libnotify in gtk install-dependencies
2498         https://bugs.webkit.org/show_bug.cgi?id=144379
2499
2500         Reviewed by Csaba Osztrogonác.
2501
2502         * gtk/install-dependencies:
2503
2504 2015-05-01  Dan Bernstein  <mitz@apple.com>
2505
2506         Test for <rdar://problem/8636045> Back/forward navigation to an error page in Safari breaks the back-forward list
2507         https://bugs.webkit.org/show_bug.cgi?id=144501
2508
2509         Reviewed by Darin Adler.
2510
2511         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2512         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadAlternateHTMLString.mm: Added.
2513         (-[LoadAlternateHTMLStringFromProvisionalLoadErrorController webView:didFailProvisionalNavigation:withError:]):
2514         (-[LoadAlternateHTMLStringFromProvisionalLoadErrorController webView:didFinishNavigation:]):
2515
2516 2015-05-01  Mario Sanchez Prada  <mario@endlessm.com>
2517
2518         check-webkit-style fails due to system pylint
2519         https://bugs.webkit.org/show_bug.cgi?id=144360
2520
2521         Reviewed by Darin Adler.
2522
2523         Make sure that the directory containing third party autoinstalled modules
2524         is at the beginning of the search path, to avoid conflicts with other
2525         versions of the same modules installed in the system (e.g. pylint).
2526
2527         * Scripts/webkitpy/thirdparty/__init__.py: Prepend the autoinstalled
2528         modules directory to sys.path, instead of appending it.
2529
2530 2015-05-01  Mario Sanchez Prada  <mario@endlessm.com>
2531
2532         Unreviewed, updated my list of email addresses.
2533
2534         * Scripts/webkitpy/common/config/contributors.json: Updated.
2535
2536 2015-05-01  Martin Robinson  <mrobinson@igalia.com>
2537
2538         USE(...) macro should expect unprefixed variables
2539         https://bugs.webkit.org/show_bug.cgi?id=144454
2540
2541         Reviewed by Daniel Bates.
2542
2543         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Replace all occurrences WTF_USE with USE.
2544         * DumpRenderTree/config.h: Ditto.
2545         * TestWebKitAPI/config.h: Ditto.
2546
2547 2015-05-01  Basile Clement  <basile_clement@apple.com>
2548
2549         Unreviewed. Add myself as a commiter in contributors.json.
2550
2551         * Scripts/webkitpy/common/config/contributors.json:
2552
2553 2015-05-01  Dewei Zhu  <dewei_zhu@apple.com>
2554
2555         Update speedometer patch to provide better UI, fix merge result bug and add "Score" metric to speedometer benchmark.
2556         https://bugs.webkit.org/show_bug.cgi?id=144487
2557
2558         Reviewed by Ryosuke Niwa.
2559
2560         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
2561         (BenchmarkRunner.merge): Fix bug.
2562         * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Update appearance and add "Score" metric.
2563
2564 2015-05-01  Brady Eidson  <beidson@apple.com>
2565
2566         Add API to disable meta refreshes.
2567         <rdar://problem/20333198> and https://bugs.webkit.org/show_bug.cgi?id=144269
2568
2569         Reviewed by Alexey Proskuryakov.
2570
2571         * DumpRenderTree/mac/DumpRenderTree.mm:
2572         (resetWebPreferencesToConsistentValues): Reset the meta refresh pref between tests.
2573
2574 2015-05-01  Brent Fulgham  <bfulgham@apple.com>
2575
2576         Provide a runtime flag to run-webkit-tests that shows the test view
2577         https://bugs.webkit.org/show_bug.cgi?id=144079.
2578
2579         Unreviewed correction to r183651.
2580
2581         * WebKitTestRunner/TestController.cpp:
2582         (WTR::TestController::initialize): Make sure the state of the '--show-webview'
2583         flag is included in the options dictionary passed to the PlatformWebView.
2584
2585 2015-05-01  Antti Koivisto  <antti@apple.com>
2586
2587         Remove network process load serialization code
2588         https://bugs.webkit.org/show_bug.cgi?id=144448
2589
2590         Reviewed by Alexey Proskuryakov.
2591
2592         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2593         (WTR::InjectedBundle::beginTesting):
2594         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2595         (WTR::TestRunner::setSerializeHTTPLoads):
2596         (WTR::TestRunner::dispatchPendingLoadRequests):
2597
2598 2015-05-01  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2599
2600         [GTK] Add libhyphen-dev to the build dependencies
2601         https://bugs.webkit.org/show_bug.cgi?id=144452
2602
2603         Reviewed by Martin Robinson.
2604
2605         * gtk/install-dependencies: Added hyphen as Fedora and Arch
2606         dependencies.
2607
2608 2015-04-30  Brent Fulgham  <bfulgham@apple.com>
2609
2610         Provide a runtime flag to run-webkit-tests that shows the test view
2611         https://bugs.webkit.org/show_bug.cgi?id=144079.
2612
2613         Reviewed by Dean Jackson.
2614
2615         Add a new flag (--show-webview) that causes DumpRenderTree and WebKitTestRunner to display
2616         their WebViews on-screen. This can be used when running tests via the "--additional-drt-flag"
2617         option:
2618         
2619         --additional-drt-flag="--show-webview"
2620
2621         * DumpRenderTree/mac/DumpRenderTree.mm:
2622         (createWebViewAndOffscreenWindow): Use an on-screen window rect if the user passed the
2623         '--show-webview' flag.
2624         (initializeGlobalsFromCommandLineOptions): Recognize the "--show-webview" option.
2625         * WebKitTestRunner/Options.cpp:
2626         (WTR::Options::Options):
2627         (WTR::handleOptionShowWebView):
2628         (WTR::OptionsHandler::OptionsHandler): Recognize the new "--show-webview" option.
2629         * WebKitTestRunner/Options.h:
2630         * WebKitTestRunner/TestController.cpp:
2631         (WTR::TestController::TestController):
2632         (WTR::TestController::initialize): Use value of 'shouldShowWebView' from the Options bundle.
2633         * WebKitTestRunner/TestController.h:
2634         (WTR::TestController::shouldShowWebView):
2635         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2636         (WTR::PlatformWebView::PlatformWebView): Retrieve the value of the 'ShouldShowWebView' key from the
2637         options dictionary. If it is true, display the web view while running the test.
2638
2639 2015-04-30  Alexey Proskuryakov  <ap@apple.com>
2640
2641         r183355 didn't trigger Mac tests
2642         https://bugs.webkit.org/show_bug.cgi?id=144464
2643
2644         Reviewed by Simon Fraser.
2645
2646         Update badly neglected filters and unit tests.
2647
2648         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
2649         (_should_file_trigger_build):
2650         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
2651         (ShouldBuildTest):
2652         (ShouldBuildTest.test_should_build):
2653
2654 2015-04-30  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2655
2656         [GTK] Add libhyphen-dev to the build dependencies
2657         https://bugs.webkit.org/show_bug.cgi?id=144452
2658
2659         Reviewed by Martin Robinson.
2660
2661         * gtk/install-dependencies: Added libhyphen-dev to the WebKitGTK+
2662         build dependencies.
2663
2664 2015-04-30  Martin Robinson  <mrobinson@igalia.com>
2665
2666         [GTK] Testing dictionaries are not installed automatically
2667         https://bugs.webkit.org/show_bug.cgi?id=144460
2668
2669         Reviewed by Carlos Garcia Campos.
2670
2671         * gtk/jhbuild.modules: Add the testing dictionaries to the main moduleset.
2672
2673 2015-04-30  Dewei Zhu  <dewei_zhu@apple.com>
2674
2675         Fix return code issue, check return code of safari process and dump results to log
2676         https://bugs.webkit.org/show_bug.cgi?id=144436
2677
2678         Reviewed by Ryosuke Niwa.
2679
2680         * Scripts/run-benchmark:
2681         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
2682         (BenchmarkRunner.dump): Correct typo.
2683         (BenchmarkRunner.wrap): Add results to console.
2684         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py: Check return code to detect Safari crashes.
2685         (OSXSafariDriver.prepareEnv):
2686         (OSXSafariDriver.launchUrl):
2687         (OSXSafariDriver.closeBrowsers):
2688
2689 2015-04-29  Joseph Pecoraro  <pecoraro@apple.com>
2690
2691         Should no longer need to worry about very old versions of Xcode
2692         https://bugs.webkit.org/show_bug.cgi?id=144437
2693
2694         Reviewed by Dan Bernstein.
2695
2696         * Scripts/check-for-exit-time-destructors:
2697         * Scripts/check-for-global-initializers:
2698         * Scripts/check-for-weak-vtables-and-externals:
2699
2700 2015-04-29  Joseph Pecoraro  <pecoraro@apple.com>
2701
2702         REGRESSION(183583): [Mac] make without SDKROOT has issues
2703         https://bugs.webkit.org/show_bug.cgi?id=144431
2704
2705         Reviewed by Dan Bernstein.
2706
2707         * Makefile:
2708         * WebKitTestRunner/Makefile:
2709         Assume an empty SDKROOT means an macosx variant, so only
2710         enable settings if the SDKROOT is not empty and does not
2711         contain "macosx".
2712
2713 2015-04-29  Brent Fulgham  <bfulgham@apple.com>
2714
2715         Expand test infrastructure to support scrolling tests
2716         https://bugs.webkit.org/show_bug.cgi?id=143684
2717         <rdar://problem/20375516>
2718
2719         Reviewed by Simon Fraser.
2720
2721         * DumpRenderTree/mac/DumpRenderTree.mm:
2722         (resetWebViewToConsistentStateBeforeTesting): Make sure the WheelEventTestTrigger state is
2723         reset before the next test run.
2724         * WebKitTestRunner/TestController.cpp:
2725         (WTR::TestController::resetStateToConsistentValues): Ditto."
2726
2727 2015-04-29  Alex Christensen  <achristensen@webkit.org>
2728
2729         Run javascriptcore tests on Windows without cygwin
2730         https://bugs.webkit.org/show_bug.cgi?id=144419
2731
2732         Reviewed by Brent Fulgham.
2733
2734         * Scripts/run-javascriptcore-tests:
2735         (runJSCStressTests):
2736         Just call ruby, not /usr/bin/env ruby.
2737
2738 2015-04-29  Yusuke Suzuki  <utatane.tea@gmail.com>
2739
2740         [GTK] Add --enable-shared option to LLVM to build mesa
2741         https://bugs.webkit.org/show_bug.cgi?id=144393
2742
2743         Reviewed by Martin Robinson.
2744
2745         The updated mesa requires the shared LLVM libraries.
2746         To build mesa with LLVM in FTL build, this patch added `--enable-shared` option
2747         to LLVM configure script. It will provide shared libraries in addition to static libraries.
2748
2749         * gtk/jhbuild-optional.modules:
2750
2751 2015-04-29  Martin Robinson  <mrobinson@igalia.com>
2752
2753         [GTK] Add support for automatic hyphenation
2754         https://bugs.webkit.org/show_bug.cgi?id=44478
2755
2756         Reviewed by Carlos Garcia Campos.
2757
2758         * gtk/jhbuild.modules: Add a module for testing dictionaries, so that
2759         all systems will use the same dictionaries for testing purposes.
2760
2761 2015-04-29  Jake Nielsen  <jacob_nielsen@apple.com>
2762
2763         Failure when building WebKit for appletvsimulator.
2764         https://bugs.webkit.org/show_bug.cgi?id=144356
2765
2766         Reviewed by Alexey Proskuryakov.
2767
2768         Changes Makefile logic to check for "not OS X" rather than "is iOS" to
2769         make TVOS and WatchOS behave correctly.
2770
2771         * Makefile:
2772         * WebKitTestRunner/Makefile:
2773
2774 2015-04-29  Alexey Proskuryakov  <ap@apple.com>
2775
2776         Use-after-free when invalidating WKPageForceRepaint callback
2777         https://bugs.webkit.org/show_bug.cgi?id=144401
2778         rdar://problem/20741111
2779
2780         Reviewed by Tim Horton.
2781
2782         * WebKitTestRunner/TestController.h: (WTR::TestController::isCurrentInvocation): Added.
2783
2784         * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::forceRepaintDoneCallback):
2785         Don't do anything on error, because the context may be a stale pointer now.
2786
2787 2015-04-29  David Kilzer  <ddkilzer@apple.com>
2788
2789         check-webkit-style: Don't complain about returning value from Objective-C method call in header
2790         <http://webkit.org/b/144395>
2791
2792         Reviewed by Andy Estes.
2793
2794         * Scripts/webkitpy/style/checkers/cpp.py:
2795         (check_spacing): Update regex so 'return' is ignored if it
2796         precedes the whitespace and bracket.  Change category name to
2797         'whitespace/brackets'.  Add period to error message.
2798         (CppChecker): Add 'whitespace/brackets' as a category.
2799         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2800         (ErrorCollector.__call__): Replace 'STYLE_CATEGORIES' with
2801         'CppChecker.categories' since that's where the list lives now.
2802         (CppStyleTest.test_spacing_before_brackets): Add tests for
2803         'whitespace/brackets' issues and non-issues.
2804
2805 2015-04-29  Alex Christensen  <achristensen@webkit.org>
2806
2807         Fix WinCairo bot.
2808
2809         * Scripts/webkitdirs.pm:
2810         (determinePassedConfiguration):
2811         WinCairo bot doesn't use cygwin, but it needs Release_WinCairo for its configuration.
2812
2813 2015-04-29  Myles C. Maxfield  <mmaxfield@apple.com>
2814
2815         [OS X] Use CTFontCreateForCSS instead of doing font search ourselves
2816         https://bugs.webkit.org/show_bug.cgi?id=132159
2817
2818         Reviewed by Darin Adler.
2819
2820         Make DumpRenderTree and WebKitTestRunner use the new font whitelist instead of
2821         swizzling NSFontManager methods. This is predicated on ENABLE(PLATFORM_FONT_LOOKUP).
2822
2823         * DumpRenderTree/mac/DumpRenderTree.mm:
2824         (fontWhitelist):
2825         (adjustFonts):
2826         (createWebViewAndOffscreenWindow):
2827         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
2828         (WTR::activateFonts):
2829         * WebKitTestRunner/mac/TestControllerMac.mm:
2830         (WTR::allowedFontFamilySet):
2831         (WTR::systemHiddenFontFamilySet):
2832         (WTR::generateWhitelist):
2833         (WTR::TestController::platformInitializeContext):
2834
2835 2015-04-29  Alexey Proskuryakov  <ap@apple.com>
2836
2837         fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
2838         https://bugs.webkit.org/show_bug.cgi?id=144155
2839
2840         Reviewed by Andreas Kling.
2841
2842         * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetStateToConsistentValues):
2843         Make sure that test window is "visible" before each test. While there is no concrete
2844         evidence that this is the problem indeed, the behavior is consistent with what would
2845         happen for an invisible window. Also, WKTR obviously needs to do this to protect
2846         against potential buggy tests that hide the window and don't show it.
2847
2848 2015-04-29  Carlos Garcia Campos  <cgarcia@igalia.com>
2849
2850         Unreviewed. Fix /webkit2/WebKitWebInspectorServer/test-open-debugging-session.
2851
2852         Latest changes in the inspector UI made this test fail. We were
2853         relying that the sidebar was always visible and the first 'li'
2854         element of the inspector was the one containing the title. This is
2855         no longer true, so better use document title that is not likely
2856         to change.
2857
2858         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
2859         (openRemoteDebuggingSession):
2860
2861 2015-04-29  Andres Gomez  <agomez@igalia.com>
2862
2863         Unreviewed. Re-sorted my contributor's mails to help bugzilla on showing the proper one.
2864
2865         * Scripts/webkitpy/common/config/contributors.json:
2866
2867 2015-04-29  Andres Gomez  <agomez@igalia.com>
2868
2869         Unreviewed. Created a new watchlist for changes in WebInspectorUI images and added myself to it.
2870
2871         * Scripts/webkitpy/common/config/watchlist:
2872
2873 2015-04-29  Hunseop Jeong  <hs85.jeong@samsung.com>
2874
2875         [EFL] Allow to run the tests on the native X display
2876         https://bugs.webkit.org/show_bug.cgi?id=144247
2877
2878         Reviewed by Gyuyoung Kim.
2879
2880         Added the USE_NATIVE_XDISPLAY option for the WTR.
2881         We can select the Xorg driver if environment variable is set up before running the tests.
2882
2883         * Scripts/webkitpy/port/efl.py:
2884         (EflPort._driver_class):
2885
2886 2015-04-29  Joonghun Park  <jh718.park@samsung.com>
2887
2888         [GTK] Add libnotify-dev in gtk install-dependencies
2889         https://bugs.webkit.org/show_bug.cgi?id=144379
2890
2891         Reviewed by Žan Doberšek.
2892
2893         * gtk/install-dependencies:
2894
2895 2015-04-28  Ryuan Choi  <ryuan.choi@navercorp.com>
2896
2897         [CoordinatedGraphics] Merge TILED_BACKING_STORE guard with COORDINATED_GRAPHICS
2898         https://bugs.webkit.org/show_bug.cgi?id=143001
2899
2900         Reviewed by Gyuyoung Kim.
2901
2902         * WebKitTestRunner/TestController.cpp:
2903         (WTR::shouldUseFixedLayout):
2904
2905 2015-04-28  Dewei Zhu  <dewei_zhu@apple.com>
2906
2907         Increase stablility of run-benchmark script
2908         https://bugs.webkit.org/show_bug.cgi?id=144361
2909
2910         Reviewed by Ryosuke Niwa.
2911
2912         * Scripts/run-benchmark:
2913         (main):
2914         * Scripts/webkitpy/benchmark_runner/README.md: Update readme due to changes.
2915         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
2916         (GenericBenchmarkBuilder.clean):
2917         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Improve error handling and remove an unnecessary loop.
2918         (BenchmarkRunner.__init__):
2919         (BenchmarkRunner.execute):
2920         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
2921         (OSXSafariDriver.prepareEnv): Remove saved sessions of Safari.
2922         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Upload 'results' rather than 'time'.
2923         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Update formate.
2924         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Update formate.
2925         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py: 
2926         (ServerControl.render_POST): Flush the buffer to make sure we can pass the result to stdout.
2927         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
2928         (HTTPServerDriver.fetchResult):
2929         (HTTPServerDriver):
2930         (HTTPServerDriver.killServer): Add kill server interface.
2931         (HTTPServerDriver.getReturnCode): Add get return code interface.
2932         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: Adjust to support new interfaces.
2933         (SimpleHTTPServerDriver.serve):
2934         (SimpleHTTPServerDriver.fetchResult):
2935         (SimpleHTTPServerDriver):
2936         (SimpleHTTPServerDriver.killServer):
2937         (SimpleHTTPServerDriver.getReturnCode):
2938         * Scripts/webkitpy/benchmark_runner/utils.py:
2939         (forceRemove): Provide python version of 'rm -rf'.
2940
2941 2015-04-28  Sam Weinig  <sam@webkit.org>
2942
2943         [Content Extensions] Process NFAs individually to avoid having all NFAs live at the same time
2944         https://bugs.webkit.org/show_bug.cgi?id=144363
2945
2946         Reviewed by Alex Christensen.
2947
2948         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2949         (TestWebKitAPI::createNFAs):
2950         (TestWebKitAPI::TEST_F):
2951         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
2952         (TestWebKitAPI::countLiveNodes):
2953         (TestWebKitAPI::createNFAs):
2954         (TestWebKitAPI::buildDFAFromPatterns):
2955         Update tests to use a hand rolled createNFAs function on top of CombinedURLFilters::processNFAs.
2956
2957 2015-04-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2958
2959         Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
2960         https://bugs.webkit.org/show_bug.cgi?id=144304
2961
2962         Reviewed by Geoffrey Garen.
2963
2964         * Scripts/build-jsc: Use ENABLE_JIT instead of ENABLE_LLINT_C_LOOP on Mac. Always explicitly
2965         set the value of ENABLE_JIT and ENABLE_FTL_JIT to avoid assumptions about the default value.
2966         * Scripts/webkitperl/FeatureList.pm: Add --jit option to build-webkit.
2967
2968 2015-04-28  Commit Queue  <commit-queue@webkit.org>
2969
2970         Unreviewed, rolling out r183514.
2971         https://bugs.webkit.org/show_bug.cgi?id=144359
2972
2973         It broke cloop test bots (Requested by mcatanzaro on #webkit).
2974
2975         Reverted changeset:
2976
2977         "Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT"
2978         https://bugs.webkit.org/show_bug.cgi?id=144304
2979         http://trac.webkit.org/changeset/183514
2980
2981 2015-04-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2982
2983         Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
2984         https://bugs.webkit.org/show_bug.cgi?id=144304
2985
2986         Reviewed by Geoffrey Garen.
2987
2988         * Scripts/build-jsc: Use ENABLE_JIT instead of ENABLE_LLINT_C_LOOP on Mac. Perform sanity-
2989         checking to ensure --cloop and --ftl-jit cannot be combined. Always explicitly set the value
2990         of ENABLE_JIT and ENABLE_FTL_JIT to avoid assumptions about the default value.
2991         * Scripts/webkitperl/FeatureList.pm: Add --jit option to build-webkit.
2992
2993 2015-04-28  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2994
2995         [CMake] Remove unnecessary include paths in TestWebKitAPI cmake files
2996         https://bugs.webkit.org/show_bug.cgi?id=144319
2997
2998         Reviewed by Csaba Osztrogonác.
2999
3000         * TestWebKitAPI/CMakeLists.txt:
3001         * TestWebKitAPI/PlatformEfl.cmake:
3002
3003 2015-04-28  Joseph Pecoraro  <pecoraro@apple.com>
3004
3005         Fix common typo "targetting" => "targeting"
3006         https://bugs.webkit.org/show_bug.cgi?id=144349
3007
3008         Reviewed by Daniel Bates.
3009
3010         * Scripts/webkitdirs.pm:
3011         (execMacWebKitAppForDebugging):
3012
3013 2015-04-28  Joanmarie Diggs  <jdiggs@igalia.com>
3014
3015         [GTK][jhbuild] Mesa build failure with llvm 3.6
3016         https://bugs.webkit.org/show_bug.cgi?id=144250
3017
3018         Reviewed by Žan Doberšek.
3019
3020         Bump the version of Mesa to 10.5.4
3021
3022         * gtk/jhbuild.modules:
3023
3024 2015-04-28  Alexey Proskuryakov  <ap@apple.com>
3025
3026         Disable App Nap in WebKitTestRunner UI process
3027         https://bugs.webkit.org/show_bug.cgi?id=144308
3028
3029         Reviewed by Daniel Bates.
3030
3031         * WebKitTestRunner/mac/main.mm:
3032         (disableAppNapInUIProcess):
3033         (main):
3034
3035 2015-04-28  Marcos Chavarría Teijeiro  <chavarria1991@gmail.com>
3036
3037         [GTK] Update JHBuild Mesa download directory
3038         https://bugs.webkit.org/show_bug.cgi?id=144318
3039
3040         Update the download directory of Mesa module since the previous one
3041         doesn't exist any more.
3042
3043         Reviewed by Žan Doberšek.
3044
3045         * gtk/jhbuild.modules:
3046
3047 2015-04-28  Commit Queue  <commit-queue@webkit.org>
3048
3049         Unreviewed, rolling out r183477.
3050         https://bugs.webkit.org/show_bug.cgi?id=144334
3051
3052         Roll back the Mesa dependency bump in fear of uncaught
3053         regressions while the testing bots are no-op. (Requested by
3054         zdobersek on #webkit).
3055
3056         Reverted changeset:
3057
3058         "[GTK][jhbuild] Mesa build failure with llvm 3.6"
3059         https://bugs.webkit.org/show_bug.cgi?id=144250
3060         http://trac.webkit.org/changeset/183477
3061
3062 2015-04-28  Joanmarie Diggs  <jdiggs@igalia.com>
3063
3064         [GTK][jhbuild] Mesa build failure with llvm 3.6
3065         https://bugs.webkit.org/show_bug.cgi?id=144250
3066
3067         Reviewed by Žan Doberšek.
3068
3069         Bump the version of Mesa to 10.5.4
3070
3071         * gtk/jhbuild.modules:
3072
3073 2015-04-27  Dewei Zhu  <dewei_zhu@apple.com>
3074
3075         Add '__init__.py' and fix known bug in benchmark runner.
3076         https://bugs.webkit.org/show_bug.cgi?id=144296
3077
3078         Reviewed by Ryosuke Niwa
3079
3080         * Scripts/webkitpy/benchmark_runner/__init__.py: Make python to recognize this module.
3081         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Make python to recognize this module.
3082         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
3083         (BenchmarkRunner.__init__):
3084         (BenchmarkRunner.execute): Fix logic bug that '--output-file' option doesn't work, and empty output file bug.
3085         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Make python to recognize this module.
3086         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Make python to recognize this module.
3087
3088 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
3089
3090         More build fix.
3091
3092         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
3093         (-[AccessibilityNotificationHandler _notificationReceived:]):
3094         Use -objectForKey:, not array subscript.
3095
3096 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
3097
3098         Catch unexpected exits in DumpRenderTree
3099         https://bugs.webkit.org/show_bug.cgi?id=144288
3100
3101         Reviewed by Tim Horton.
3102
3103         * DumpRenderTree/mac/DumpRenderTree.mm:
3104         (atexitFunction):
3105         (DumpRenderTreeMain):
3106
3107 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
3108
3109         Build fix
3110
3111         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
3112         (-[AccessibilityNotificationHandler _notificationReceived:]):
3113         Use -objectForKey:, not array subscript.
3114
3115 2015-04-27  Alexey Proskuryakov  <ap@apple.com>
3116
3117         fast/frames/flattening/iframe-flattening-resize-event-count.html times out on Yosemite WK2
3118         https://bugs.webkit.org/show_bug.cgi?id=144155
3119
3120         Reviewed by Tim Horton.
3121
3122         * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues):
3123         Disable App Nap. I don't have positive evidence that it's the culprit, but it could be,
3124         and we clearly don't want App Nap while testing.
3125
3126 2015-04-22  Martin Robinson  <mrobinson@igalia.com>
3127
3128         [CMake] Autogenerate cmakeconfig.h.cmake
3129         https://bugs.webkit.org/show_bug.cgi?id=143997
3130
3131         Reviewed by Csaba Osztrogonác.
3132
3133         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt: Add XP_UNIX to the command-line
3134         definitions since TestNetscapePlugIn does not use cmakeconfig.h.
3135
3136 2015-04-27  Brent Fulgham  <bfulgham@apple.com>
3137
3138         REGRESSION(r182879): Images and video can no longer be downloaded
3139         https://bugs.webkit.org/show_bug.cgi?id=144267
3140         <rdar://problem/20702844>
3141
3142         Reviewed by Simon Fraser.
3143
3144         Revise tests to check for proper download menu state.
3145         1. Downloading a loal image should be disabled.
3146         2. Downloading a local media file should be disabled.
3147         3. Downloading non-downloadable media should be disabled.
3148
3149         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
3150         (TestWebKitAPI::TEST):
3151
3152 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
3153
3154         Merge run-launcher into run-minibrowser
3155         https://bugs.webkit.org/show_bug.cgi?id=141928
3156
3157         Reviewed by Darin Adler.
3158
3159         * Scripts/run-iexploder-tests:
3160         (runSafariWithIExploder):
3161         * Scripts/run-launcher: Removed.
3162         * Scripts/run-minibrowser:
3163         * Scripts/webkitdirs.pm:
3164         (launcherPath):
3165         * Scripts/webkitpy/port/efl.py:
3166         (EflPort.show_results_html_file):
3167         * Scripts/webkitpy/port/efl_unittest.py:
3168         (EflPortTest.test_show_results_html_file):
3169         * Scripts/webkitpy/port/gtk.py:
3170         (GtkPort.print_leaks_summary):
3171         (GtkPort.show_results_html_file):
3172         (GtkPort): Deleted.
3173         * Scripts/webkitpy/port/gtk_unittest.py:
3174         (GtkPortTest.test_show_results_html_file):
3175
3176 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
3177
3178         [buildbot] Fix the output of perf-test buildstep on timeout
3179         https://bugs.webkit.org/show_bug.cgi?id=144097
3180
3181         Reviewed by Ryosuke Niwa.
3182
3183         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3184         (RunAndUploadPerfTests.getText2):
3185         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
3186         (RunAndUploadPerfTestsTest.test_buildbot_timeout):
3187         (RunAndUploadPerfTestsTest.test_build_bad_preparation): Deleted.
3188
3189 2015-04-27  Csaba Osztrogonác  <ossy@webkit.org>
3190
3191         [EFL] TestWebKitAPI's forwarding header generator should depend on WebKit2's generator
3192         https://bugs.webkit.org/show_bug.cgi?id=143874
3193
3194         Reviewed by Gyuyoung Kim.
3195
3196         * TestWebKitAPI/PlatformEfl.cmake: Add the new dependency.
3197
3198 2015-04-24  Philippe Normand  <pnormand@igalia.com>
3199
3200         [JHBuild] Move to upstream OpenWebRTC
3201         https://bugs.webkit.org/show_bug.cgi?id=144145
3202
3203         Reviewed by Carlos Garcia Campos.
3204
3205         * efl/jhbuild.modules: Switch to upstream OpenWebRTC repository
3206         and add a new simple patch to gst-plugins-base, required for
3207         OpenWebRTC build.
3208         * efl/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
3209         * gtk/jhbuild.modules: Ditto.
3210         * gtk/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Added.
3211
3212 2015-04-26  Yusuke Suzuki  <utatane.tea@gmail.com>
3213
3214         [ES6] Implement ES6 template literals
3215         https://bugs.webkit.org/show_bug.cgi?id=142691
3216
3217         Reviewed by Darin Adler.
3218
3219         Add ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX compile time flag.
3220
3221         * Scripts/webkitperl/FeatureList.pm:
3222
3223 2015-04-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3224
3225         [CMake][EFL] Remove unnecessary include, library path in WebKitTestRunner/PlatformEfl.cmake 
3226         https://bugs.webkit.org/show_bug.cgi?id=144217
3227
3228         Reviewed by Darin Adler.
3229
3230         * WebKitTestRunner/PlatformEfl.cmake:
3231
3232 2015-04-26  Doug Russell  <d_russell@apple.com>
3233
3234         AX: richer text change notifications (142719)
3235         https://bugs.webkit.org/show_bug.cgi?id=142719
3236
3237         Reviewed by Darin Adler.
3238
3239         Richer accessibility value change notifications. Introduce AXTextEditType,
3240         postTextStateChangeNotification and postTextReplacementNotification to give assistive
3241         tech apps more reliable context for responding to changes in web content. Also implement
3242         a mechanism to post value changes in password form fields in coalesced ticks to thwart
3243         analyzing the cadence of changes.
3244
3245         Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent,
3246         and an overload of postTextReplacementNotification to give assistive tech apps more
3247         reliable context for responding to changes in web content selection. Also block posting
3248         selection changes on password fields.
3249
3250         * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
3251         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
3252         (-[AccessibilityNotificationHandler stopObserving]):
3253         (-[AccessibilityNotificationHandler _notificationReceived:]):
3254         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3255         (AccessibilityUIElement::removeNotificationListener):
3256         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
3257         (-[AccessibilityNotificationHandler _notificationReceived:]):
3258         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3259         (WTR::AccessibilityUIElement::removeNotificationListener):
3260
3261 2015-04-25  Sungmann Cho  <sungmann.cho@navercorp.com>
3262
3263         Add myself to contributors.json
3264         https://bugs.webkit.org/show_bug.cgi?id=144204
3265
3266         Reviewed by Darin Adler.
3267
3268         * Scripts/webkitpy/common/config/contributors.json:
3269
3270 2015-04-25  Martin Robinson  <mrobinson@igalia.com>
3271
3272         Rename ENABLE_3D_RENDERING to ENABLE_3D_TRANSFORMS
3273         https://bugs.webkit.org/show_bug.cgi?id=144182
3274
3275         Reviewed by Simon Fraser.
3276
3277         * DumpRenderTree/win/DumpRenderTree.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS.
3278
3279 2015-04-25  Dewei Zhu  <dewei_zhu@apple.com>
3280
3281         https://bugs.webkit.org/show_bug.cgi?id=144038
3282
3283         Reviewed by Ryosuke Niwa
3284
3285         Add a script to run Speedometer and JetStream on a browser.
3286
3287         * Scripts/run-benchmark: Wrapper script to run benchmark.
3288         (main):
3289         * Scripts/webkitpy/benchmark_runner/README.md: Introduction of this script.
3290         * Scripts/webkitpy/benchmark_runner/__init__.py: Added.
3291         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Added.
3292         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builder_factory.py: Added.
3293         (BenchmarkBuilderFactory):
3294         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Added.
3295         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py: Added.
3296         (GenericBenchmarkBuilder):
3297         (GenericBenchmarkBuilder.prepare):
3298         (GenericBenchmarkBuilder._copyBenchmarkToTempDir):
3299         (GenericBenchmarkBuilder._applyPatch):
3300         (GenericBenchmarkBuilder.clean):
3301         * Scripts/webkitpy/benchmark_runner/benchmark_builder/jetstream_benchmark_builder.py: Added.
3302         (JetStreamBenchmarkBuilder):
3303         (JetStreamBenchmarkBuilder.prepare):
3304         (JetStreamBenchmarkBuilder._runCreateScript):
3305         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Main module that masters all the processes of benchmark running.
3306         (BenchmarkRunner):
3307         (BenchmarkRunner.__init__):
3308         (BenchmarkRunner.execute):
3309         (BenchmarkRunner.dump):
3310         (BenchmarkRunner.wrap):
3311         (BenchmarkRunner.merge):
3312         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Added.
3313         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py: Added.
3314         (BrowserDriver):
3315         (BrowserDriver.prepareEnv):
3316         (BrowserDriver.launchUrl):
3317         (BrowserDriver.closeBrowser):
3318         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py: Added.
3319         (BrowserDriverFactory):
3320         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_drivers.json: Added.
3321         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py: Added.
3322         (OSXChromeDriver):
3323         (OSXChromeDriver.prepareEnv):
3324         (OSXChromeDriver.launchUrl):
3325         (OSXChromeDriver.closeBrowsers):
3326         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py: Added.
3327         (OSXSafariDriver):
3328         (OSXSafariDriver.prepareEnv):
3329         (OSXSafariDriver.launchUrl):
3330         (OSXSafariDriver.closeBrowsers):
3331         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Patch that makes JetStream compatible with this script.
3332         * Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch: Patch that makes Speedometer compatible with this scritp.
3333         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Added.
3334         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Added.
3335         * Scripts/webkitpy/benchmark_runner/generic_factory.py: Factory for generic purpose.
3336         (GenericFactory):
3337         (GenericFactory.iterateGetItem):
3338         (GenericFactory.create):
3339         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Added.
3340         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py: Added.
3341         (ServerControl):
3342         (ServerControl.render_GET):
3343         (ServerControl.render_POST):
3344         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py: Added.
3345         (HTTPServerDriver):
3346         (HTTPServerDriver.serve):
3347         (HTTPServerDriver.fetchResult):
3348         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver_factory.py: Added.
3349         (HTTPServerDriverFactory):
3350         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_drivers.json: Added.
3351         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: Added.
3352         (SimpleHTTPServerDriver):
3353         (SimpleHTTPServerDriver.depends):
3354         (SimpleHTTPServerDriver.__init__):
3355         (SimpleHTTPServerDriver.serve):
3356         (SimpleHTTPServerDriver.baseUrl):
3357         (SimpleHTTPServerDriver.fetchResult):
3358         * Scripts/webkitpy/benchmark_runner/utils.py: Utility module.
3359         (ModuleNotFoundError):
3360         (loadModule):
3361         (getPathFromProjectRoot):
3362         (loadJSONFromFile):
3363         (TimeoutError):
3364         (timeout):
3365         (timeout.__init__):
3366         (timeout.handle_timeout):
3367         (timeout.__enter__):
3368         (timeout.__exit__):
3369
3370 2015-04-24  Commit Queue  <commit-queue@webkit.org>
3371
3372         Unreviewed, rolling out r183303.
3373         https://bugs.webkit.org/show_bug.cgi?id=144181
3374
3375         Change was incorrect, broke builds (Requested by smfr on
3376         #webkit).
3377
3378         Reverted changeset:
3379
3380         "Fix the build."
3381         http://trac.webkit.org/changeset/183303
3382
3383 2015-04-24  Simon Fraser  <simon.fraser@apple.com>
3384
3385         Fix the build.
3386
3387         * MiniBrowser/mac/WK2BrowserWindowController.m:
3388         (-[WK2BrowserWindowController initWithConfiguration:]):
3389
3390 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
3391
3392         Disable ActionMenusPDFTest due to timeout on test bot
3393
3394         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
3395         (TestWebKitAPI::TEST):
3396
3397 2015-04-24  Commit Queue  <commit-queue@webkit.org>
3398
3399         Unreviewed, rolling out r183266.
3400         https://bugs.webkit.org/show_bug.cgi?id=144164
3401
3402         Broke 32-bit build and a test. (Requested by ap on #webkit).
3403
3404         Reverted changeset:
3405
3406         "AX: richer text change notifications (142719)"
3407         https://bugs.webkit.org/show_bug.cgi?id=142719
3408         http://trac.webkit.org/changeset/183266
3409
3410 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
3411
3412         REGRESSION: WebKit2.ActionMenusTest API test fails
3413         https://bugs.webkit.org/show_bug.cgi?id=144149
3414         <rdar://problem/20677770>
3415
3416         Reviewed by Tim Horton.
3417
3418         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Revise to use the same test PDF
3419         as the 'ActionMenusPDFTest'.
3420         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
3421         (TestWebKitAPI::TEST): Unskip the PDF portion of ActionMenusTest, and revise its expected output
3422         to match the hit test on the 'action-menu-target.pdf' test file.
3423
3424 2015-04-24  Daniel Bates  <dabates@apple.com>
3425
3426         Cleanup: Use @memoized for property IOSSimulator.testing_device
3427         https://bugs.webkit.org/show_bug.cgi?id=141715
3428
3429         Reviewed by Darin Adler.
3430
3431         Simplify the caching of the result of IOSSimulator.testing_device
3432         and make the code more readable by making use of the @memoized declarator
3433         instead of explicitly managing a private instance variable,
3434         IOSSimulator._testing_device, for the cached result.
3435
3436         * Scripts/webkitpy/port/ios.py:
3437         (IOSPort.determine_full_port_name):
3438         (IOSSimulatorPort.__init__): Delete instance variable IOSSimulatorPort._testing_device.
3439         (IOSSimulatorPort):
3440         (IOSSimulatorPort.testing_device): No need to cache the created device object in
3441         IOSSimulatorPort._testing_device since we are marking this function @memoized.
3442         (IOSSimulatorPort.reset_preferences): Code style fix; inline self.testing_device.path instead
3443         of caching in local variable since we only make use of this value exactly once in this function.
3444         (IOSPort.__init__): Deleted; The instance variable IOSPort._testing_device has never
3445         been used since being added in r178622. So, we can remove this constructor since
3446         it's the trivial constructor once we remove the instance variable IOSPort._testing_device.
3447
3448 2015-04-24  Anders Carlsson  <andersca@apple.com>
3449
3450         Rename -[WKWebsiteDataStore isNonPersistent] to -[WKWebsiteDataStore isPersistent]
3451         https://bugs.webkit.org/show_bug.cgi?id=144158
3452
3453         Reviewed by Beth Dakin.
3454
3455         * MiniBrowser/mac/WK2BrowserWindowController.m:
3456         (-[WK2BrowserWindowController initWithConfiguration:]):
3457
3458 2015-04-24  Doug Russell  <d_russell@apple.com>
3459
3460         AX: richer text change notifications (142719)
3461         https://bugs.webkit.org/show_bug.cgi?id=142719
3462
3463         Reviewed by Darin Adler.
3464
3465         Richer accessibility value change notifications. Introduce AXTextEditType, postTextStateChangeNotification and postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content. Also implement a mechanism to post value changes in password form fields in coalesced ticks to thwart analyzing the cadence of changes.
3466
3467         Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent, and an overload of postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content selection. Also block posting selection changes on password fields.
3468
3469         * DumpRenderTree/mac/AccessibilityNotificationHandler.h:
3470         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
3471         (-[AccessibilityNotificationHandler stopObserving]):
3472         (-[AccessibilityNotificationHandler _notificationReceived:]):
3473         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3474         (AccessibilityUIElement::removeNotificationListener):
3475         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
3476         (-[AccessibilityNotificationHandler _notificationReceived:]):
3477         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3478         (WTR::AccessibilityUIElement::removeNotificationListener):
3479
3480 2015-04-24  Darin Adler  <darin@apple.com>
3481
3482         Convert OwnPtr and PassOwnPtr uses to std::unique_ptr
3483         https://bugs.webkit.org/show_bug.cgi?id=128007
3484
3485         Reviewed by Anders Carlsson.
3486
3487         * DumpRenderTree/win/HistoryDelegate.h: Removed unneeded include.
3488         * DumpRenderTree/win/UIDelegate.h: Ditto.
3489
3490         * TestWebKitAPI/Tests/WTF/HashMap.cpp: Removed OwnPtr-specific test cases.
3491         * TestWebKitAPI/Tests/WTF/HashSet.cpp: Ditto.
3492
3493         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp: Removed unneeded include.
3494
3495         * TestWebKitAPI/Tests/WebKit2/UserMessage.cpp: Use unique_ptr.
3496         (TestWebKitAPI::WebKit2UserMessageRoundTripTest::SetUp): Use make_unique.
3497         * TestWebKitAPI/Tests/WebKit2/WillLoad.cpp: Ditto.
3498         (TestWebKitAPI::WebKit2WillLoadTest::SetUp): Ditto.
3499         * TestWebKitAPI/Tests/WebKit2Gtk/DOMDOMWindowTest.cpp:
3500         (WebKitDOMDOMWindowTest::create): Ditto.
3501         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
3502         (documentLoadedCallback): Use a queue of DelayedSignal objects instead
3503         of smart pointers to DelayedSIgnal objects.
3504         (uriChangedCallback): Ditto.
3505
3506 2015-04-24  Brent Fulgham  <bfulgham@apple.com>
3507
3508         [Mac] Unreviewed test fix.
3509         https://bugs.webkit.org/show_bug.cgi?id=144149
3510
3511         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
3512         (TestWebKitAPI::TEST): Temporarily skip the PDF <embed>
3513         test.
3514
3515 2015-04-23  Darin Adler  <darin@apple.com>
3516
3517         Another round of removing use of OwnPtr, PassOwnPtr, and deleteOwnedPtr
3518         https://bugs.webkit.org/show_bug.cgi?id=144090
3519
3520         Reviewed by Anders Carlsson.
3521
3522         * DumpRenderTree/mac/DumpRenderTree.mm: Removed unneeded include.
3523
3524 2015-04-23  Michael Saboff  <msaboff@apple.com>
3525
3526         lldb macro btjs sometimes can't get a frame description
3527         https://bugs.webkit.org/show_bug.cgi?id=144130
3528
3529         Reviewed by Filip Pizlo.
3530
3531         We look to execute ExecState::describeFrame().  It appears that in some contexts the
3532         debugger can't find ExecState.  In those cases, CallFrame works as it is a typedef of
3533         ExecState.  Therefore we can fallback to using CallFrame::describeFrame().
3534
3535         * lldb/lldb_webkit.py:
3536         (btjs):
3537
3538 2015-04-23  Alex Christensen  <achristensen@webkit.org>
3539
3540         Use less memory when compiling content extensions.
3541         https://bugs.webkit.org/show_bug.cgi?id=144051
3542
3543         Reviewed by Darin Adler and Benjamin Poulain.
3544
3545         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3546         (TestWebKitAPI::TEST_F):
3547         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
3548         (TestWebKitAPI::countLiveNodes):
3549
3550 2015-04-22  Michael Catanzaro  <mcatanzaro@igalia.com>
3551
3552         [CMake] Clean up JSC JIT options
3553         https://bugs.webkit.org/show_bug.cgi?id=143998
3554
3555         Reviewed by Filip Pizlo.
3556
3557         * Scripts/build-jsc: Do not use -ENABLE_LLINT_C_LOOP on CMake ports.
3558         * Scripts/webkitperl/FeatureList.pm: Remove ENABLE_LLINT_C_LOOP.
3559
3560 2015-04-21  Brent Fulgham  <bfulgham@apple.com>
3561
3562         [Mac] Extend action menus to support PDF
3563         https://bugs.webkit.org/show_bug.cgi?id=143895
3564         <rdar://problem/19003333>
3565
3566         Reviewed by Tim Horton.
3567
3568         Reactivate the action menu tests, and add a new PDF-based test to make sure that selection
3569         of PDF content works.
3570
3571         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new 'test.pdf' resource to bundle.
3572         * TestWebKitAPI/Tests/WebKit2/action-menu-targets.html: Update with a new PDF pane.
3573         * TestWebKitAPI/Tests/WebKit2/test.pdf: Added.
3574         * TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:
3575         (-[ActionMenusTestWKView _actionMenuItemsForHitTestResult:withType:defaultActionMenuItems:userData:]):
3576         Update to support PDF tests.
3577         (TestWebKitAPI::windowPointForTarget): Add new target for PDF test.
3578         (TestWebKitAPI::waitForPDFToLoad): New helper function to avoid starting test before the PDF is available.
3579
3580 2015-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3581
3582         Unreviewed. Do not run GTK+ user media unit tests when ENABLE_MEDIA_STREAM is disabled.
3583
3584         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
3585         (beforeAll):
3586         (testWebViewAudioOnlyUserMediaPermissionRequests):
3587
3588 2015-04-22  Michael Catanzaro  <mcatanzaro@igalia.com>
3589
3590         Add myself to watchlist
3591         https://bugs.webkit.org/show_bug.cgi?id=144041
3592
3593         Reviewed by Alex Christensen.
3594
3595         Add myself watching CMake, GtkWebKit2PublicAPI, SoupNetwork, and WebKitGTKTranslations.
3596
3597         * Scripts/webkitpy/common/config/watchlist:
3598
3599 2015-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3600
3601         [GTK] MiniBrowser should use NetworkProcess by default
3602         https://bugs.webkit.org/show_bug.cgi?id=143948
3603
3604         Reviewed by Sergio Villar Senin.
3605
3606         Use WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES by default
3607         unless MINIBROWSER_SINGLEPROCESS environment variable is present.
3608
3609         * MiniBrowser/gtk/main.c:
3610         (main):
3611
3612 2015-04-21  Matthew Hanson  <matthew_hanson@apple.com>
3613
3614         Use grep instead of any in prepare-ChangeLog, to avoid Windows compatibility issues.
3615
3616         Unreviewed build fix.
3617
3618         * Scripts/prepare-ChangeLog:
3619         (get_function_line_ranges_for_cpp):
3620         Use grep instead of any to determine if a string is an element of an array.
3621
3622 2015-04-21  Anders Carlsson  <andersca@apple.com>
3623
3624         Fix block signatures
3625         https://bugs.webkit.org/show_bug.cgi?id=144002
3626
3627         Reviewed by Andreas Kling.
3628
3629         * MiniBrowser/mac/WK2BrowserWindowController.m:
3630         (-[WK2BrowserWindowController webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
3631
3632 2015-04-21  Philippe Normand  <pnormand@igalia.com>
3633
3634         [GTK] jhbuild should not use a branch for openwebrtc
3635         https://bugs.webkit.org/show_bug.cgi?id=143981
3636
3637         Reviewed by Carlos Garcia Campos.
3638
3639         * gtk/jhbuild.modules:
3640
3641 2015-04-20  Matthew Hanson  <matthew_hanson@apple.com>
3642
3643         Fix compilation error for prepare-ChangeLog running with Perl version < v5.18.2.
3644
3645         Unreviewed build fix.
3646
3647         The any function was added to List::Utils between Perl v5.16.2 and Perl v5.18.2.
3648         However, it has been exposed by List::MoreUtils since its inception. This patch uses
3649         the any function exposed by List::MoreUtils for greater compatibility.
3650
3651         * Scripts/prepare-ChangeLog:
3652         Use any from List::MoreUtils instead of List::Utils, as List::MoreUtils exposes
3653         the any function in all of versions of Perl used by our infrastructure.
3654
3655 2015-04-20  Alex Christensen  <achristensen@webkit.org>
3656
3657         Remove unnecessary logs when resetting tests.
3658
3659         * WebKitTestRunner/mac/TestControllerMac.mm:
3660         (WTR::TestController::platformResetPreferencesToConsistentValues):
3661         In r183020 I added some logs when compiling or removing content extensions fails.
3662         We often try to remove a content extension that does not exist, and that is not a problem.
3663
3664 2015-04-17  Matthew Hanson  <matthew_hanson@apple.com>
3665
3666         prepare-ChangeLog should ignore the preceeding function when processing the removal of a function.