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