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