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