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