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