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