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