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