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