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