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