Build fix.
[WebKit-https.git] / Tools / ChangeLog
1 2016-04-15  Alexey Proskuryakov  <ap@apple.com>
2
3         Build fix.
4
5         * LayoutTestRelay/LayoutTestRelay/main.m: Allow some deprecated methods.
6
7 2016-04-14  Alexey Proskuryakov  <ap@apple.com>
8
9         Some GuardMalloc bots are not happy when running many parallel processes
10         https://bugs.webkit.org/show_bug.cgi?id=156614
11         rdar://problem/24711525
12
13         Reviewed by David Kilzer.
14
15         * Scripts/webkitpy/port/mac.py: (MacPort.default_child_processes):
16
17 2016-04-14  Brent Fulgham  <bfulgham@apple.com>
18
19         Make <a download> a runtime enabled option
20         https://bugs.webkit.org/show_bug.cgi?id=156583
21         <rdar://problem/25733449>
22
23         Reviewed by Alex Christensen.
24
25         * DumpRenderTree/mac/DumpRenderTree.mm:
26         (resetWebPreferencesToConsistentValues):
27         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
28         (WTR::InjectedBundle::beginTesting):
29         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
30         (WTR::TestRunner::setDownloadAttributeEnabled):
31         * WebKitTestRunner/InjectedBundle/TestRunner.h:
32
33 2016-04-14  Anders Carlsson  <andersca@apple.com>
34
35         Another build fix attempt.
36
37         * MiniBrowser/mac/WK2BrowserWindowController.m:
38
39 2016-04-14  Anders Carlsson  <andersca@apple.com>
40
41         Fix build.
42
43         * MiniBrowser/mac/WK2BrowserWindowController.m:
44         (-[WK2BrowserWindowController webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
45
46 2016-04-14  Anders Carlsson  <andersca@apple.com>
47
48         [Mac] Add API for open panel handling to WKWebView
49         https://bugs.webkit.org/show_bug.cgi?id=137759
50         rdar://problem/23278623
51
52         Reviewed by Tim Horton.
53
54         Have MiniBrowser implement the new delegate method.
55
56         * MiniBrowser/mac/WK2BrowserWindowController.m:
57         (-[WK2BrowserWindowController webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
58
59 2016-04-14  Jiewen Tan  <jiewen_tan@apple.com>
60
61         Unreviewed, rolling out r199554.
62
63         The change breaks Yosemite Release/Debug build
64
65         Reverted changeset:
66
67         "[Mac] Add API for open panel handling to WKWebView"
68         https://bugs.webkit.org/show_bug.cgi?id=137759
69         http://trac.webkit.org/changeset/199554
70
71 2016-04-14  Anders Carlsson  <andersca@apple.com>
72
73         [Mac] Add API for open panel handling to WKWebView
74         https://bugs.webkit.org/show_bug.cgi?id=137759
75         rdar://problem/23278623
76
77         Reviewed by Tim Horton.
78
79         Have MiniBrowser implement the new delegate method.
80
81         * MiniBrowser/mac/WK2BrowserWindowController.m:
82         (-[WK2BrowserWindowController webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:]):
83
84 2016-04-14  Jon Lee  <jonlee@apple.com>
85
86         Update Animometer plan
87         https://bugs.webkit.org/show_bug.cgi?id=156569
88
89         Reviewed by Alex Christensen.
90
91         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to r199328. Includes update to screen
92         resolution, starting with complexity of 1, and fixing SVG, multiply, and text tests.
93
94 2016-04-13  Alex Christensen  <achristensen@webkit.org>
95
96         CMake MiniBrowser should be an app bundle
97         https://bugs.webkit.org/show_bug.cgi?id=156521
98
99         Reviewed by Brent Fulgham.
100
101         * MiniBrowser/mac/CMakeLists.txt:
102         Make an app bundle and compile nibs.
103         * MiniBrowser/mac/Info.plist:
104         CMake doesn't know what to do with :rfc1034identifier and there's no reason to keep it.  This is just MiniBrowser.
105
106 2016-04-13  Chris Dumez  <cdumez@apple.com>
107
108         We should not speculatively revalidate cached redirects
109         https://bugs.webkit.org/show_bug.cgi?id=156548
110         <rdar://problem/25583886>
111
112         Reviewed by Darin Adler.
113
114         Re-enable speculative loading in the context of layout tests. This was
115         turned off by mistake when speculative loading was turned into a
116         setting recently.
117
118         * WebKitTestRunner/TestController.cpp:
119         (WTR::TestController::generatePageConfiguration):
120
121 2016-04-12  Alexey Proskuryakov  <ap@apple.com>
122
123         Python test webkitpy.common.system.executive_unittest.ExecutiveTest.serial_test_kill_process is flaky
124         https://bugs.webkit.org/show_bug.cgi?id=155367
125
126         Reviewed by Darin Adler.
127
128         * Scripts/webkitpy/common/system/executive.py: (Executive.kill_process):
129         Don't flakily consume the return code with waitpid, callers need to do waitpid on
130         their own. Not sure if this line of code was even intentional.
131
132 2016-04-12  Myles C. Maxfield  <mmaxfield@apple.com>
133
134         [OS X] Flakey crash after ScrollAnimatorMac destruction
135         https://bugs.webkit.org/show_bug.cgi?id=156372
136
137         Reviewed by Darin Adler.
138
139         Implement the new <!-- webkit-test-runner --> flag.
140
141         * WebKitTestRunner/TestController.cpp:
142         (WTR::TestController::createWebViewWithOptions):
143         (WTR::TestController::ensureViewSupportsOptionsForTest):
144         (WTR::TestController::resetPreferencesToConsistentValues):
145         (WTR::TestController::resetStateToConsistentValues):
146         (WTR::updateTestOptionsFromTestHeader):
147         * WebKitTestRunner/TestController.h:
148         * WebKitTestRunner/TestInvocation.cpp:
149         (WTR::TestInvocation::invoke):
150         * WebKitTestRunner/TestOptions.h:
151         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
152         (WKR::PlatformWebView::viewSupportsOptions):
153
154 2016-04-12  Tomas Popela  <tpopela@redhat.com>
155
156         Modify the CXXFLAGS in webkitdirs.pm just on architectures where the flags are supported
157         https://bugs.webkit.org/show_bug.cgi?id=156338
158
159         Reviewed by Michael Catanzaro.
160
161         Add the "-march=pentium4 -msse2 -mfpmath=sse " into the CXXFLAGS just
162         for the i686 where it is supported and not for other architectures
163         (such as s390(x) and ppc(64)) where the build will fail with these
164         CXXFLAGS.
165
166         * Scripts/webkitdirs.pm:
167         (generateBuildSystemFromCMakeProject):
168
169 2016-04-11  Alex Christensen  <achristensen@webkit.org>
170
171         Build MiniBrowser with CMake on Mac
172         https://bugs.webkit.org/show_bug.cgi?id=156471
173
174         Reviewed by Daniel Bates.
175
176         * CMakeLists.txt:
177         * DumpRenderTree/CMakeLists.txt:
178         * DumpRenderTree/PlatformWin.cmake:
179         * MiniBrowser/mac/CMakeLists.txt: Added.
180
181 2016-04-11  Ryuan Choi  <ryuan.choi@navercorp.com>
182
183         [EFL] Do not pass context to EwkViewCreate
184         https://bugs.webkit.org/show_bug.cgi?id=156461
185
186         Reviewed by Darin Adler.
187
188         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
189         (TestWebKitAPI::TEST): Removed context argument from EwkViewCreate calls.
190         * TestWebKitAPI/efl/PlatformWebView.cpp:
191         (TestWebKitAPI::PlatformWebView::PlatformWebView): Ditto.
192         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
193         (WTR::PlatformWebView::PlatformWebView): Ditto.
194
195 2016-04-11  Fujii Hironori  <Hironori.Fujii@jp.sony.com>
196
197         [CMake] Make FOLDER property INHERITED
198         https://bugs.webkit.org/show_bug.cgi?id=156460
199
200         Reviewed by Brent Fulgham.
201
202         * CMakeLists.txt:
203         * DumpRenderTree/CMakeLists.txt:
204         * DumpRenderTree/PlatformWin.cmake:
205         * ImageDiff/CMakeLists.txt:
206         * MiniBrowser/efl/CMakeLists.txt:
207         * MiniBrowser/gtk/CMakeLists.txt:
208         * MiniBrowser/win/CMakeLists.txt:
209         Set FOLDER property as a directory property not a target property
210
211 2016-04-10  Caitlin Potter  <caitp@igalia.com>
212
213         [Tools] correctly check for braces in multiline branches in macro definition
214         https://bugs.webkit.org/show_bug.cgi?id=156441
215
216         Reviewed by Darin Adler.
217
218         Prevents emitting whitespace/braces warning for code like the
219         following:
220
221         ```
222         #define MACRO(x) \
223             if (x) { \
224                 doTheThing(); \
225                 continue; \
226             }
227         ```
228
229         * Scripts/webkitpy/style/checkers/cpp.py:
230         (check_braces):
231         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
232         (WebKitStyleTest.test_line_breaking):
233
234 2016-04-08  Youenn Fablet  <youenn.fablet@crf.canon.fr>
235
236         Testharness-based tests that time out should be able to produce a detailed output
237         https://bugs.webkit.org/show_bug.cgi?id=145313
238
239         Reviewed by Xabier Rodriguez-Calvar.
240
241         Adding timeout readonly accessor to TestRunner for both WK1 and WK2.
242
243         * DumpRenderTree/TestRunner.cpp:
244         (getTimeoutCallback): The js "timeout" property getter.
245         (TestRunner::staticValues): Adding "timeout" property to DumpRenderTree so that testRunner.timeout called from JS returns the timeout value.
246         * DumpRenderTree/TestRunner.h:
247         (TestRunner::timeout): Adding access to DRT m_timeout private value.
248         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Adding timeout readonly attribute so that testRunner.timeout can be called from JS.
249         * WebKitTestRunner/InjectedBundle/TestRunner.h: Adding DOM timeout getter to implement timeout IDL definition.
250         (WTR::TestRunner::timeout):
251
252 2016-04-07  Joseph Pecoraro  <pecoraro@apple.com>
253
254         stylebot should know about TestWebKitAPI FeatureDefines.xcconfig
255         https://bugs.webkit.org/show_bug.cgi?id=156387
256
257         Rubber-stamped by Dan Bernstein.
258
259         * Scripts/webkitpy/style/checkers/featuredefines.py:
260         (FeatureDefinesChecker.check):
261
262 2016-04-07  Joseph Pecoraro  <pecoraro@apple.com>
263
264         Remove ENABLE(ENABLE_ES6_CLASS_SYNTAX) guards
265         https://bugs.webkit.org/show_bug.cgi?id=156384
266
267         Reviewed by Ryosuke Niwa.
268
269         * Scripts/webkitperl/FeatureList.pm:
270         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
271
272 2016-04-06  Dean Jackson  <dino@apple.com>
273
274         Watchlist modifications:
275         - remove roger_fong
276         - add myself to a few areas
277         - remove graouts from WebInspectorAPI
278
279         * Scripts/webkitpy/common/config/watchlist:
280
281 2016-04-07  Simon Fraser  <simon.fraser@apple.com>
282
283         Make it possible to test effect of view exposed rect on tiled backing
284         https://bugs.webkit.org/show_bug.cgi?id=156365
285
286         Reviewed by Tim Horton.
287
288         Expose testRunner.setViewSize() and internals.setViewExposedRect() to enable
289         testing of tile coverage when setViewExposedRect() is passed a non-null rectangle.
290
291         testRunner.setViewSize() is used instead of using window.resizeTo(), since we
292         can't easily resize a window to larger than the screen being tested on.
293
294         * DumpRenderTree/TestRunner.cpp:
295         (setViewSizeCallback):
296         (TestRunner::staticFunctions):
297         * DumpRenderTree/TestRunner.h:
298         * DumpRenderTree/mac/TestRunnerMac.mm:
299         (TestRunner::setViewSize):
300         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
301         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
302         (WTR::InjectedBundle::postSetViewSize):
303         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
304         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
305         (WTR::TestRunner::setViewSize):
306         * WebKitTestRunner/InjectedBundle/TestRunner.h:
307         * WebKitTestRunner/TestInvocation.cpp:
308         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
309
310 2016-04-07  Jason Marcell  <jmarcell@apple.com>
311
312         Adding layout tests for the bot watcher's dashboard QUnit tests.
313         https://bugs.webkit.org/show_bug.cgi?id=155272
314
315         Reviewed by Daniel Bates.
316
317         Moved supporting resources into a resources folder and updated index.html accordingly
318         to point to the new locations. Added code to tests.js to dumpAsText when QUnit is done.
319
320         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index-expected.txt: Added.
321         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Updated to point to tests.js and Mock files in resources directory.
322         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js: Renamed from
323         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js.
324         (MockBuildbotQueue):
325         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueueView.js: Renamed from
326         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js.
327         (MockBuildbotQueueView):
328         (MockBuildbotQueueView.prototype._latestProductiveIteration):
329         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockTrac.js: Renamed from
330         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js.
331         (MockTrac):
332         (MockTrac.prototype.get oldestRecordedRevisionNumber):
333         (MockTrac.prototype.get latestRecordedRevisionNumber):
334         (MockTrac.prototype.loadMoreHistoricalData):
335         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-git-trac-rss.xml: Renamed from
336         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml.
337         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-fixture-trac-rss.xml: Renamed from
338         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml.
339         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js: Renamed from
340         Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js.
341         Updated the unit tests for Trac._loaded() to point to the XML files that are now located in the 'resources' directory.
342         (QUnit.done): Added. Removes machine-specific output from test results and calls testRunner.notifyDone to let the layout test harness know that all testing is done.
343         * Scripts/run-dashboard-tests: Added.
344
345 2016-04-06  ChangSeok Oh  <changseok@webkit.org>
346
347         Unreviewed, Update my primary email address and expertise.
348
349         * Scripts/webkitpy/common/config/contributors.json:
350
351 2016-04-06  Jon Lee  <jonlee@apple.com>
352
353         Update the Animometer patch and plan files
354         https://bugs.webkit.org/show_bug.cgi?id=156263
355
356         Reviewed by Ryosuke Niwa.
357
358         Measure the latest set of tests by updating the plan revision to r199134.
359
360         * Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch: Update to run the master suite only.
361         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to use the release page instead
362         of the developer page.
363
364 2016-04-06  Saam barati  <sbarati@apple.com>
365
366         jsc-layout-tests.yaml/js/script-tests/regress-141098.js failing on Yosemite Debug after r198989
367         https://bugs.webkit.org/show_bug.cgi?id=156187
368
369         Reviewed by Keith Miller.
370
371         * Scripts/run-jsc-stress-tests:
372
373 2016-04-06  Alex Christensen  <achristensen@webkit.org>
374
375         Compile WebKitTestRunner with CMake on Mac
376         https://bugs.webkit.org/show_bug.cgi?id=156310
377
378         Reviewed by Daniel Bates.
379
380         * CMakeLists.txt:
381         * WebKitTestRunner/CMakeLists.txt:
382         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
383         * WebKitTestRunner/PlatformEfl.cmake:
384         * WebKitTestRunner/PlatformGTK.cmake:
385         * WebKitTestRunner/PlatformMac.cmake: Added.
386
387 2016-04-05  Simon Fraser  <simon.fraser@apple.com>
388
389         Implement operator== and operator!= for Optional<>
390         https://bugs.webkit.org/show_bug.cgi?id=156266
391
392         Reviewed by Anders Carlsson.
393
394         * TestWebKitAPI/Tests/WTF/Optional.cpp:
395         (TestWebKitAPI::TEST):
396
397 2016-04-05  Alex Christensen  <achristensen@webkit.org>
398
399         Make CMake-generated binaries on Mac able to run
400         https://bugs.webkit.org/show_bug.cgi?id=156268
401
402         Reviewed by Daniel Bates.
403
404         * DumpRenderTree/CMakeLists.txt:
405         * DumpRenderTree/PlatformMac.cmake:
406         * DumpRenderTree/PlatformWin.cmake:
407         * TestWebKitAPI/PlatformMac.cmake:
408
409 2016-04-05  Youenn Fablet  <youenn.fablet@crf.canon.fr>
410
411         [Fetch API] Add a runtime flag to fetch API and related constructs
412         https://bugs.webkit.org/show_bug.cgi?id=156113
413  
414         Reviewed by Alex Christensen.
415
416         * DumpRenderTree/TestRunner.h:
417         * DumpRenderTree/mac/DumpRenderTree.mm:
418         (resetWebPreferencesToConsistentValues):
419         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
420         (WTR::InjectedBundle::beginTesting):
421         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
422         (WTR::TestRunner::setWebGL2Enabled):
423         (WTR::TestRunner::setFetchAPIEnabled):
424         (WTR::TestRunner::setAllowUniversalAccessFromFileURLs):
425         * WebKitTestRunner/InjectedBundle/TestRunner.h:
426
427 2016-04-05  Keith Miller  <keith_miller@apple.com>
428
429         Make Keith a reviewer!
430         https://bugs.webkit.org/show_bug.cgi?id=156246
431
432         Reviewed by Mark Lam.
433
434         * Scripts/webkitpy/common/config/contributors.json:
435
436 2016-04-05  Antoine Quint  <graouts@apple.com>
437
438         [WebGL2] Allow enabling WebGL2 with a runtime flag
439         https://bugs.webkit.org/show_bug.cgi?id=156166
440         <rdar://problem/25526929>
441
442         Always enable WebGL2 during testing.
443
444         Reviewed by Dean Jackson.
445
446         * DumpRenderTree/mac/DumpRenderTree.mm:
447         (resetWebPreferencesToConsistentValues):
448         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
449         (WTR::InjectedBundle::beginTesting):
450         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
451         (WTR::TestRunner::setWebGL2Enabled):
452         * WebKitTestRunner/InjectedBundle/TestRunner.h:
453
454 2016-04-04  Bill Ming  <mbbill@gmail.com>
455
456         [win] run-webkit-tests failed to launch DumpRenderTree
457         https://bugs.webkit.org/show_bug.cgi?id=156150
458
459         Reviewed by Alex Christensen.
460
461         * Tools/Scripts/webkitpy/port/base.py:
462
463 2016-04-04  Bill Ming  <mbbill@gmail.com>
464
465         prepare-ChangeLog set endl incorrectly.
466         https://bugs.webkit.org/show_bug.cgi?id=156151
467
468         Reviewed by Alex Christensen.
469
470         * Tools/Scripts/prepare-ChangeLog:
471
472 2016-04-03  Sam Weinig  <sam@webkit.org>
473
474         Add SPI to allow install script message handlers in isolated worlds
475         https://bugs.webkit.org/show_bug.cgi?id=156153
476
477         Reviewed by Anders Carlsson.
478
479         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
480         Add new test, WKUserContentController.ScriptMessageHandlerBasicPostIsolatedWorld
481
482 2016-04-04  Jiewen Tan  <jiewen_tan@apple.com>
483
484         Build fix for r198956.
485
486         Unreviewed.
487
488         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm:
489         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
490         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm:
491         (-[LoadInvalidURLWebFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
492
493 2016-04-04  Bill Ming  <mbbill@gmail.com>
494
495         [win] prepare-ChangeLog should treat windows path differently.
496         https://bugs.webkit.org/show_bug.cgi?id=156120
497
498         Reviewed by Brent Fulgham.
499
500         * Scripts/prepare-ChangeLog:
501
502 2016-04-04  Alejandro G. Castro  <alex@igalia.com>
503
504         REGRESSION(r198492): [GTK] The WEB_RTC flag was not correctly added in some situations
505         https://bugs.webkit.org/show_bug.cgi?id=156164
506
507         Reviewed by Philippe Normand.
508
509         Enable the new WEB_RTC option by default for Gtk+.
510
511         * Scripts/webkitperl/FeatureList.pm:
512
513 2016-04-03  Dan Bernstein  <mitz@apple.com>
514
515         Use the correct value for the first nightly build with frameworks built for OS X 10.11.
516
517         * Scripts/bisect-builds:
518         (makeNightlyList):
519
520 2016-04-03  Dan Bernstein  <mitz@apple.com>
521
522         Made bisect-builds work again.
523
524         Rubber-stamped by Sam Weinig.
525
526         * Scripts/bisect-builds:
527         Changed to use HTTPS to access nightly.webkit.org, and added a minimum revision for OS X 10.11.
528
529 2016-04-01  Jiewen Tan  <jiewen_tan@apple.com>
530
531         Build fix for r198956.
532
533         Unreviewed.
534
535         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
536         * TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLNotChange.mm: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLChange.mm.
537         (-[ProvisionalURLNotChangeController webView:didFinishNavigation:]):
538         (-[ProvisionalURLNotChangeController webView:didFailProvisionalNavigation:withError:]):
539         (TEST):
540         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
541         (-[LoadInvalidSchemeDelegate browsingContextController:didFailProvisionalLoadWithError:]):
542         (TestWebKitAPI::TEST):
543
544 2016-04-01  Jiewen Tan  <jiewen_tan@apple.com>
545
546         WebKit should dispatchDidFailProvisionalLoad while loading invalid URLs
547         https://bugs.webkit.org/show_bug.cgi?id=155995
548         <rdar://problem/14967004>
549
550         Reviewed by Andy Estes.
551
552         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
553         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadAlternateHTMLString.mm:
554         (-[LoadAlternateHTMLStringFromProvisionalLoadErrorController webView:didFailProvisionalNavigation:withError:]):
555         (-[LoadAlternateHTMLStringFromProvisionalLoadErrorController webView:didStartProvisionalNavigation:]):
556         (TEST):
557         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm: Added.
558         (literalURL):
559         (-[LoadInvalidURLNavigationActionDelegate webView:didCommitNavigation:]):
560         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
561         (TestWebKitAPI::TEST):
562         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.html: Added.
563         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm: Added.
564         (-[LoadInvalidURLWebFrameLoadDelegate webView:didCommitLoadForFrame:]):
565         (-[LoadInvalidURLWebFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
566         (TestWebKitAPI::TEST):
567
568 2016-04-01  Brent Fulgham  <bfulgham@apple.com>
569
570         Confirm <a download> satisfies specification criteria
571         https://bugs.webkit.org/show_bug.cgi?id=156057
572
573         Reviewed by Andy Estes.
574
575         Revise WebKitTestRunner:
576         (1) Provide a download client delegate.
577         (2) Teach WKTR to wait to finish a test until a download finishes.
578         (3) Allow WKTR to notify the current TestRunner that it can finish.
579
580         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
581         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
582         (WTR::InjectedBundle::didReceiveMessageToPage): Update to recognize a new
583         message "NotifyDownloadDone".
584         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
585         (WTR::InjectedBundlePage::decidePolicyForNavigationAction): Handle 'download'
586         attribute case.
587         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
588         (WTR::TestRunner::waitUntilDownload): Added.
589         * WebKitTestRunner/InjectedBundle/TestRunner.h:
590         (WTR::TestRunner::shouldFinishAfterDownload): Added.
591         * WebKitTestRunner/TestController.cpp:
592         (WTR::TestController::createWebViewWithOptions): Set up the download client.
593         (WTR::TestController::downloadDidStart): Added.
594         (WTR::TestController::decideDestinationWithSuggestedFilename): Added.
595         (WTR::TestController::downloadDidFinish): Added.
596         (WTR::TestController::downloadDidFail): Added.
597         (WTR::TestController::downloadDidCancel): Added.
598         * WebKitTestRunner/TestController.h:
599         * WebKitTestRunner/TestInvocation.cpp:
600         (WTR::TestInvocation::notifyDownloadDone): Added.
601         * WebKitTestRunner/TestInvocation.h:
602
603 2016-04-01  Alex Christensen  <achristensen@webkit.org>
604
605         Compile DumpRenderTree with CMake on Mac
606         https://bugs.webkit.org/show_bug.cgi?id=156088
607
608         Reviewed by Brent Fulgham.
609
610         * CMakeLists.txt:
611         * DumpRenderTree/CMakeLists.txt:
612         * DumpRenderTree/DefaultPolicyDelegate.m:
613         (-[DefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
614         * DumpRenderTree/DumpRenderTreeFileDraggingSource.m:
615         * DumpRenderTree/PlatformMac.cmake: Added.
616         * DumpRenderTree/PlatformWin.cmake:
617         * DumpRenderTree/mac/AppleScriptController.m:
618         (convertAEDescToObject):
619         * DumpRenderTree/mac/DumpRenderTreeMain.mm:
620         * DumpRenderTree/mac/LayoutTestHelper.m:
621
622 2016-03-31  Bill Ming  <mbbill@gmail.com>
623
624         https://bugs.webkit.org/show_bug.cgi?id=156094
625         [Win] TestWebCore target build sometimes fail.
626
627         Reviewed by Alex Christensen.
628
629         * Tools/TestWebKitAPI/PlatformWin.cmake:
630
631 2016-03-31  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
632
633         [EFL] Bump EFL version to 1.17.0
634         https://bugs.webkit.org/show_bug.cgi?id=153008
635
636         Reviewed by Michael Catanzaro.
637
638         Original author is Csaba Osztrogonác  <ossy@webkit.org>
639
640         * efl/jhbuild.modules:
641
642 2016-03-31  Daniel Bates  <dabates@apple.com>
643
644         run-webkit-tests fails to create user's cache directory when System Integrity Protection is enabled
645         https://bugs.webkit.org/show_bug.cgi?id=156071
646         <rdar://problem/25467827>
647
648         Reviewed by Brent Fulgham.
649
650         Fixes an issue where run-webkit-tests will fail to create the suffixed user's cache directory
651         on non-Apple Internal machines with System Integrity Protection enabled because the OS only
652         honors the suffix, specified by the environment variable DIRHELPER_USER_DIR_SUFFIX, in
653         privileged processes. And python(1) does not have sufficient privileges. As a workaround for
654         systems that have System Integrity Protection enabled we compute the path to the suffixed
655         user's cache directory by hand.
656
657         Additionally, fix an issue where the user's cache directory created by run-webkit-test was
658         never deleted on cessation of the test run.
659
660         * Scripts/webkitpy/port/driver.py:
661         (Driver._start): Actually store the path to the user's cache directory in self._driver_user_cache_directory
662         so that we can delete this directory on cessation of the test run.
663         * Scripts/webkitpy/port/mac.py:
664         (MacPort):
665         (MacPort._path_to_user_cache_directory): Unset the environment variable DIRHELPER_USER_DIR_SUFFIX (if set),
666         query the OS for the path to the user's cache directory and concatenate this path with the
667         specified suffix.
668
669 2016-03-31  Jiewen Tan  <jiewen_tan@apple.com>
670
671         WebKit should set Original URL of a download request correctly
672         https://bugs.webkit.org/show_bug.cgi?id=155914
673         <rdar://problem/10473811>
674
675         Reviewed by Anders Carlsson.
676
677         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
678         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
679         (-[DownloadRequestOriginalURLDelegate initWithExpectOriginalURL:]):
680         (-[DownloadRequestOriginalURLDelegate _downloadDidStart:]):
681         (-[DownloadRequestOriginalURLNavigationDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
682         (TEST):
683         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURL.html: Added.
684         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURL2.html: Added.
685         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestOriginalURLFrame.html: Added.
686
687 2016-03-30  Dewei Zhu  <dewei_zhu@apple.com>
688
689         Extend animometer timeout for slow CPUs.
690         https://bugs.webkit.org/show_bug.cgi?id=156047
691
692         Reviewed by Ryosuke Niwa.
693
694         Extend animometer timeout to 30 minutes for slow device.
695
696         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan:
697
698 2016-03-30  Daniel Bates  <dabates@apple.com>
699
700         run-webkit-tests must create parent directory of user's cache directory before running tests
701         https://bugs.webkit.org/show_bug.cgi?id=156009
702         <rdar://problem/25442682>
703
704         Reviewed by Alexey Proskuryakov.
705
706         The script run-webkit-tests must create the parent directory of the user's cache directory
707         before running tests because a WebKit2 child process expects that this directory exists
708         when it starts.
709
710         The script run-webkit-tests influences the path chosen by a WebKit2 child process for the
711         user's temporary directory and user's cache directory via the environment variable
712         DIRHELPER_USER_DIR_SUFFIX. For the user's temporary directory, run-webkit-tests creates it
713         as part of setting up the test environment. But run-webkit-tests does not create the user's
714         cache directory. Therefore there is race between the time AppKit creates it and when the
715         launched WebContent and Network processes query for the path to the user's cache directory
716         such that the OS may return the empty string to the WebContent and Network processes if
717         queried for this directory before AppKit creates it.
718
719         * Scripts/webkitpy/port/base.py:
720         (Port._path_to_user_cache_directory): Added. Base class implementation that returns the
721         empty string. We will override this method for the OS X port to return the path to the
722         user's cache directory with the specified suffix.
723         (Port.remove_cache_directory): Deleted.
724         * Scripts/webkitpy/port/driver.py:
725         (Driver.__init__): Initialize self._driver_user_directory_suffix and self._driver_user_cache_directory
726         to the suffix to use for the user's temporary and cache directories and the path to the
727         user's cache directory, respectively.
728         (Driver._setup_environ_for_driver): Modified to set the environment variable DIRHELPER_USER_DIR_SUFFIX
729         to self._driver_user_directory_suffix.
730         (Driver._start): Compute the user directory suffix and the path to the user's cache
731         directory. Create the user's cache directory (if applicable).
732         (Driver.stop): Modified to remove directory self._driver_user_cache_directory (if applicable).
733         * Scripts/webkitpy/port/mac.py:
734         (MacPort.user_cache_directory): Added. Overrides Port._path_to_user_cache_directory().
735         (MacPort.remove_cache_directory): Deleted.
736
737 2016-03-29  Benjamin Poulain  <bpoulain@apple.com>
738
739         [WTF] Removing a smart pointer from HashTable issues two stores to the same location
740         https://bugs.webkit.org/show_bug.cgi?id=155676
741
742         Reviewed by Darin Adler.
743
744         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
745         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
746
747 2016-03-29  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
748
749         Add machine-readable results for JSC stress tests
750         https://bugs.webkit.org/show_bug.cgi?id=155771
751
752         Reviewed by Darin Adler and Dean Johnson
753
754         Add an option to output JSC stress test results to a user-specified file in JSON format.
755
756         * Scripts/run-javascriptcore-tests:
757         (runJSCStressTests): Add JSON output support
758         (readAllLines): Remove trailing newline from the end of each item
759
760 2016-03-29  Alex Christensen  <achristensen@webkit.org>
761
762         Fix Windows build.
763
764         * TestWebKitAPI/PlatformWin.cmake:
765
766 2016-03-29  Timothy Hatcher  <timothy@apple.com>
767
768         Update WebKit nightly to have a red needle to better match Safari
769
770         https://bugs.webkit.org/show_bug.cgi?id=155983
771
772         Reviewed by Joseph Pecoraro.
773
774         * WebKitLauncher/webkit.icns:
775
776 2016-03-28  Joanmarie Diggs  <jdiggs@igalia.com>
777
778         Adding myself as a reviewer.
779
780         Unreviewed.
781
782         * Scripts/webkitpy/common/config/contributors.json:
783
784 2016-03-25  Dewei Zhu  <dewei_zhu@apple.com>
785
786         Dromaeo patch used by run-benchmark should not include an invalid address.
787         https://bugs.webkit.org/show_bug.cgi?id=155910
788
789         Reviewed by Ryosuke Niwa.
790
791         Should not use invalid 'http://127.0.0.1/Icons/w3c_home' in the patched version of test.
792         * Scripts/webkitpy/benchmark_runner/data/patches/Dromaeo.patch:
793
794 2016-03-25  Daniel Bates  <dabates@apple.com>
795
796         Add WebKitSystemInterface for iOS 9.3
797         https://bugs.webkit.org/show_bug.cgi?id=155893
798
799         Rubber-stamped by Alexey Proskuryakov.
800
801         * Scripts/copy-webkitlibraries-to-product-directory:
802
803 2016-03-25  Daniel Bates  <dabates@apple.com>
804
805         Use webkitdirs::determineXcodeSDK() instead of webkitdirs::willUseIOSDeviceSDK()
806         in copy-webkitlibraries-to-product-directory
807         https://bugs.webkit.org/show_bug.cgi?id=155869
808
809         Reviewed by Alexey Proskuryakov.
810
811         It is sufficient and more direct to call webkitdirs::determineXcodeSDK() instead of
812         webkitdirs::willUseIOSDeviceSDK() to process the --sdk/--device/--ios-simulator command
813         line argument.
814
815         * Scripts/copy-webkitlibraries-to-product-directory:
816
817 2016-03-25  Konstantin Tokarev  <annulen@yandex.ru>
818
819         Turned on ENABLE_REQUEST_ANIMATION_FRAME by default for any port.
820         https://bugs.webkit.org/show_bug.cgi?id=155882
821
822         Reviewed by Michael Catanzaro.
823
824         It was already enabled in all trunk ports, and is required for
825         WebInspectorUI to work.
826
827         * Scripts/webkitperl/FeatureList.pm:
828
829 2016-03-24  Jeremy Zerfas  <WebKit@JeremyZerfas.com>
830
831         Improve update-webkit-dependency script.
832         https://bugs.webkit.org/show_bug.cgi?id=155576
833
834         Reviewed by Brent Fulgham.
835
836         * Scripts/update-webkit-dependency:
837         -Updated script to also use ETags for helping to determine whether dependency is up to date.
838         -Updated script so it usually won't need to download the entire dependency each time it is
839          ran.
840         -Updated script to ensure zip file contains expected directories before trying to install.
841         -Added some more error checking and improved error messages.
842         (lastModifiedToUnixTime): Deleted.
843
844         * Scripts/update-webkit-wincairo-libs:
845         -Corrected comment about what script does.
846
847 2016-03-24 Bill Ming <mbbill@gmail.com>
848
849         Fix webkitpy tests after r198617
850         https://bugs.webkit.org/show_bug.cgi?id=155827
851
852         Reviewed by Alex Christensen.
853
854         * Scripts/webkitpy/tool/steps/confirmdiff.py:
855         (ConfirmDiff._show_pretty_diff):
856
857 2016-03-23  Bill Ming  <mbbill@gmail.com>
858
859         webkit-patch failed to open pretty diff on Windows
860         https://bugs.webkit.org/show_bug.cgi?id=155827
861
862         Reviewed by Alex Christensen.
863
864         * Scripts/webkitpy/tool/steps/confirmdiff.py:
865         (ConfirmDiff._show_pretty_diff):
866
867 2016-03-23  Jer Noble  <jer.noble@apple.com>
868
869         [ios-sim] RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback and RequiresUserActionForVideoButNotAudioPlayback failing
870         https://bugs.webkit.org/show_bug.cgi?id=155764
871
872         Reviewed by Eric Carlson.
873
874         Remove the requirement for media elements to have webkit-playsinline attributes on iOS.
875
876         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
877         (RequiresUserActionForPlaybackTest::SetUp):
878
879 2016-03-23  Anders Carlsson  <andersca@apple.com>
880
881         Crash when using KVO from within -[WebView initWithCoder:]
882         https://bugs.webkit.org/show_bug.cgi?id=155816
883         rdar://problem/17073265
884
885         Reviewed by Dan Bernstein.
886
887         Add test.
888
889         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
890         * TestWebKitAPI/Tests/mac/EarlyKVOCrash.mm: Added.
891         (-[EarlyKVOCrashResponder initWithWebView:]):
892         (-[EarlyKVOCrashResponder initWithCoder:]):
893         (-[EarlyKVOCrashResponder dealloc]):
894         (-[EarlyKVOCrashResponder encodeWithCoder:]):
895         (TestWebKitAPI::TEST):
896
897 2016-03-23  Lucas Forschler  <lforschler@apple.com>
898
899         Teach kill-old-processes about perl 5.18.
900         
901         Reviewed by Alexey Proskuryakov
902
903         * BuildSlaveSupport/kill-old-processes:
904         (main):
905
906 2016-03-22  Keith Rollin  <krollin@apple.com>
907
908         Unreviewed: add Keith Rollin to the committers list.
909
910         * Scripts/webkitpy/common/config/contributors.json:
911
912 2016-03-22  Per Arne Vollan  <peavo@outlook.com>
913
914         [Win] [64-bit] Remove MSVC 2013 FMA3 Bug Workaround
915         https://bugs.webkit.org/show_bug.cgi?id=141499
916
917         Reviewed by Brent Fulgham.
918
919         As we have moved on to VS2015, this workaround is no longer needed.
920
921         * DumpRenderTree/cg/ImageDiffCG.cpp:
922         (main):
923         * DumpRenderTree/win/DumpRenderTree.cpp:
924         (main):
925         * DumpRenderTree/win/ImageDiffCairo.cpp:
926         (main):
927         * MiniBrowser/win/Common.cpp:
928         (DllMain):
929         * TestWebKitAPI/win/main.cpp:
930         (main):
931         * win/DLLLauncher/DLLLauncherMain.cpp:
932         (wWinMain):
933
934 2016-03-22  Yusuke Suzuki  <utatane.tea@gmail.com>
935
936         [JSC] ASMBench cannot be run without JSBENCH_PATH
937         https://bugs.webkit.org/show_bug.cgi?id=155751
938
939         Reviewed by Saam Barati.
940
941         Check ASMBENCH_PATH instead of JSBENCH_PATH for ASMBench files.
942
943         * Scripts/run-jsc-benchmarks:
944
945 2016-03-21  Brent Fulgham  <bfulgham@apple.com>
946
947         [Win] SharedBuffer::copy() can cause a segmentation fault.
948         https://bugs.webkit.org/show_bug.cgi?id=155739
949
950         Reviewed by Ryosuke Niwa.
951
952         * TestWebKitAPI/PlatformWin.cmake: Build and run the
953         SharedBuffer tests.
954
955 2016-03-22  Csaba Osztrogonác  <ossy@webkit.org>
956
957         [buildbot] Move ARM Linux bots to JSCOnly port
958         https://bugs.webkit.org/show_bug.cgi?id=155655
959
960         Reviewed by Lucas Forschler.
961
962         * BuildSlaveSupport/build.webkit.org-config/config.json:
963         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
964         (ConfigureBuild.__init__):
965         (appendCustomBuildFlags):
966         (CompileJSCOnly):
967         (Factory.__init__):
968         (BuildAndRemoteJSCTestsFactory):
969         (BuildAndRemoteJSCTestsFactory.__init__):
970         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
971         * BuildSlaveSupport/clean-build:
972         (main):
973
974 2016-03-21  Brent Fulgham  <bfulgham@apple.com>
975
976         Improve SharedBuffer testing
977         https://bugs.webkit.org/show_bug.cgi?id=93078
978         <rdar://problem/25277829>
979
980         Reviewed by Ryosuke Niwa.
981
982         Based on a Blink patch by Huang Dongsung <luxtella@company100.net>.
983         <https://src.chromium.org/viewvc/blink?revision=153850&view=revision,
984         and a Blink patch by <tyoshino@chromium.org>
985         <https://src.chromium.org/viewvc/blink?view=rev&revision=151617>
986
987         Add three test cases from the Blink project that cover various append,
988         copy, and createArrayBuffer calls.
989
990         * TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp:
991         (TestWebKitAPI::TEST_F):
992
993 2016-03-21  Hyungwook Lee  <hyungwook.lee@navercorp.com>
994
995         [Win] Connect layoutTestController.findString() to support testing
996         https://bugs.webkit.org/show_bug.cgi?id=50234
997
998         Reviewed by Alex Christensen.
999
1000         Implement TestRunner::findString().
1001
1002         * DumpRenderTree/win/TestRunnerWin.cpp:
1003         (TestRunner::findString):
1004
1005 2016-03-20  Dan Bernstein  <mitz@apple.com>
1006
1007         [Mac] Determine TARGET_MAC_OS_X_VERSION_MAJOR from MACOSX_DEPLOYMENT_TARGET rather than from MAC_OS_X_VERSION_MAJOR
1008         https://bugs.webkit.org/show_bug.cgi?id=155707
1009         <rdar://problem/24980691>
1010
1011         Reviewed by Darin Adler.
1012
1013         * ContentExtensionTester/Configurations/Base.xcconfig: Set TARGET_MAC_OS_X_VERSION_MAJOR
1014           based on the last component of MACOSX_DEPLOYMENT_TARGET.
1015         * ContentExtensionTester/Configurations/DebugRelease.xcconfig: For engineering builds,
1016           preserve the behavior of TARGET_MAC_OS_X_VERSION_MAJOR being the host’s OS version.
1017
1018         Similarly for these projects:
1019
1020         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1021         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1022         * LayoutTestRelay/Configurations/Base.xcconfig:
1023         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
1024         * MiniBrowser/Configurations/Base.xcconfig:
1025         * MiniBrowser/Configurations/DebugRelease.xcconfig:
1026         * TestWebKitAPI/Configurations/Base.xcconfig:
1027         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
1028         * WebEditingTester/Configurations/Base.xcconfig:
1029         * WebEditingTester/Configurations/DebugRelease.xcconfig:
1030         * WebKitTestRunner/Configurations/Base.xcconfig:
1031         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
1032
1033 2016-03-20  Dan Bernstein  <mitz@apple.com>
1034
1035         Update build settings
1036
1037         Rubber-stamped by Andy Estes.
1038
1039         * ContentExtensionTester/Configurations/DebugRelease.xcconfig:
1040         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1041         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
1042         * MiniBrowser/Configurations/DebugRelease.xcconfig:
1043         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
1044         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Synced up to the ones in ../Source.
1045         * WebEditingTester/Configurations/DebugRelease.xcconfig:
1046         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
1047         * asan/asan.xcconfig:
1048
1049 2016-03-18  Sam Weinig  <sam@webkit.org>
1050
1051         Add test for HashMap::ensure that shows that moving into the lambda does not incure extra cost
1052         https://bugs.webkit.org/show_bug.cgi?id=155621
1053
1054         Reviewed by Alex Christensen.
1055
1056         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1057         (TestWebKitAPI::ObjectWithRefLogger::ObjectWithRefLogger):
1058         (TestWebKitAPI::testMovingUsingEnsure):
1059         (TestWebKitAPI::testMovingUsingAdd):
1060         Add tests ensuring that objects moved into a map using ensure don't
1061         have extra ref-churn.
1062
1063 2016-03-17  Tim Horton  <timothy_horton@apple.com>
1064
1065         Fix some deprecation warnings in WebEditingTester
1066         https://bugs.webkit.org/show_bug.cgi?id=155601
1067
1068         Reviewed by Simon Fraser.
1069
1070         * WebEditingTester/AppDelegate.m:
1071         (-[WebEditingAppDelegate showOperations:]):
1072         (-[WebEditingAppDelegate _updateNewWindowKeyEquivalents]):
1073
1074 2016-03-17  Tim Horton  <timothy_horton@apple.com>
1075
1076         Find-in-page indicator in Mail viewer is the wrong scale and cut off
1077         https://bugs.webkit.org/show_bug.cgi?id=155605
1078         <rdar://problem/23948165>
1079
1080         Reviewed by Simon Fraser.
1081
1082         * TestWebKitAPI/Tests/WebKit2Cocoa/FindInPage.mm:
1083         (TEST):
1084         Add a test that ensures that the find result image is correctly @2x.
1085         The NSImage size should be in points.
1086
1087 2016-03-16  Commit Queue  <commit-queue@webkit.org>
1088
1089         Unreviewed, rolling out r198187.
1090         https://bugs.webkit.org/show_bug.cgi?id=155564
1091
1092         Potentially break testing on iOS (Requested by Guest23 on
1093         #webkit).
1094
1095         Reverted changeset:
1096
1097         "Add twisted-15.5.0 module to
1098         webkitpy.thirdparty.autoinstalled."
1099         https://bugs.webkit.org/show_bug.cgi?id=154667
1100         http://trac.webkit.org/changeset/198187
1101
1102 2016-03-16  David Kilzer  <ddkilzer@apple.com>
1103
1104         check-webkit-style: should warn about blank lines after #include "config.h" in TestWebKitAPI
1105         <http://webkit.org/b/155445>
1106
1107         Reviewed by Darin Adler.
1108
1109         * Scripts/webkitpy/style/checker.py:
1110         (_PATH_RULES_SPECIFIER): Do not ignore "build/include*" checks
1111         on TestWebKitAPI since this project uses a config.h header as of
1112         r95188.  Also remove references to WebKitAPITest, which ceased
1113         to exist in r95944.
1114
1115         * Scripts/webkitpy/style/checker_unittest.py:
1116         (GlobalVariablesTest.test_path_rules_specifier): Add tests.
1117         Remove reference to WebKitAPITest project.
1118
1119 2016-03-16  Tim Horton  <timothy_horton@apple.com>
1120
1121         [mac] Printing test snapshots are upside-down after r198242
1122         https://bugs.webkit.org/show_bug.cgi?id=155543
1123
1124         Reviewed by Simon Fraser.
1125
1126         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1127         (createPagedBitmapContext):
1128         Flip printing snapshots in DRT so that everything is right-side-up.
1129
1130 2016-03-16  Alexey Proskuryakov  <ap@apple.com>
1131
1132         Update unit test for iOS debug queues.
1133
1134         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
1135
1136 2016-03-16  Jiewen Tan  <jiewen_tan@apple.com>
1137
1138         URL Parsing should signal failure for illegal IDN
1139         https://bugs.webkit.org/show_bug.cgi?id=154945
1140         <rdar://problem/8014795>
1141
1142         Reviewed by Brent Fulgham.
1143
1144         * MiniBrowser/mac/WK2BrowserWindowController.m:
1145         (-[WK2BrowserWindowController fetch:]):
1146         * TestWebKitAPI/Tests/Cocoa/URLExtras.mm:
1147         (TestWebKitAPI::TEST):
1148
1149 2016-03-15  Tim Horton  <timothy_horton@apple.com>
1150
1151         [iOS Simulator] Test result snapshots are upside down
1152         https://bugs.webkit.org/show_bug.cgi?id=154761
1153
1154         Reviewed by Simon Fraser.
1155
1156         * WebKitTestRunner/cg/TestInvocationCG.cpp:
1157         (WTR::createCGContextFromImage):
1158         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
1159         In r97104, Simon added code to take WindowServer snapshots, which came
1160         in flipped, and added code to flip them back. At this point, WindowServer
1161         snapshots got flipped, and software snapshots did not.
1162
1163         In r140067, Simon noticed that WindowServer ref test images were upside-down
1164         on Mac (not sure why this changed), so turned off the flipping code (but
1165         didn't delete it!). Now, WindowServer snapshots and software snapshots both
1166         are not flipped.
1167
1168         In r190304, Carlos added an enum for the source of the snapshot ("WebView"
1169         for window server snapshots, and "WebContent" for software snapshots),
1170         and - critically - changed the flipping logic to flip software snapshots!
1171
1172         We didn't notice this on Mac because at this point we've made it so that
1173         we *always* have WindowServer snapshots, but on iOS we still don't have
1174         WindowServer snapshots, so now they're flipped.
1175
1176         And that's how we got here.
1177
1178         To restore the behavior from r140067, and correctly unflip snapshots on
1179         iOS, just delete this code.
1180
1181 2016-03-15  Alexey Proskuryakov  <ap@apple.com>
1182
1183         run-api-tests doesn't print test name when the test crashes
1184         https://bugs.webkit.org/show_bug.cgi?id=155476
1185
1186         Reviewed by Daniel Bates.
1187
1188         * Scripts/run-api-tests: Print "UNEXPECTEDLY EXITED" with a test name when output
1189         doesn't contain the test name yet. Changed test name output to always be before raw
1190         stdout for clarity.
1191
1192 2016-03-15  Chris Dumez  <cdumez@apple.com>
1193
1194         Unreviewed, rolling out r198203.
1195
1196         Favorites view is no longer loading on iOS
1197
1198         Reverted changeset:
1199
1200         "URL Parsing should signal failure for illegal IDN"
1201         https://bugs.webkit.org/show_bug.cgi?id=154945
1202         http://trac.webkit.org/changeset/198203
1203
1204 2016-03-15  Jiewen Tan  <jiewen_tan@apple.com>
1205
1206         URL Parsing should signal failure for illegal IDN
1207         https://bugs.webkit.org/show_bug.cgi?id=154945
1208         <rdar://problem/8014795>
1209
1210         Reviewed by Brent Fulgham.
1211
1212         * MiniBrowser/mac/WK2BrowserWindowController.m:
1213         (-[WK2BrowserWindowController fetch:]):
1214         * TestWebKitAPI/Tests/Cocoa/URLExtras.mm:
1215         (TestWebKitAPI::TEST):
1216
1217 2016-03-14  Chris Dumez  <cdumez@apple.com>
1218
1219         Unreviewed, rolling out r197981.
1220
1221         Caused a massive PLT regression on Mac.
1222
1223         Reverted changeset:
1224
1225         "Font antialiasing (smoothing) changes when elements are
1226         rendered into compositing layers"
1227         https://bugs.webkit.org/show_bug.cgi?id=23364
1228         http://trac.webkit.org/changeset/197981
1229
1230 2016-03-14  Dewei Zhu  <dewei_zhu@apple.com>
1231
1232         Add twisted-15.5.0 module to webkitpy.thirdparty.autoinstalled.
1233         https://bugs.webkit.org/show_bug.cgi?id=154667
1234
1235         Reviewed by Ryosuke Niwa and Simon Fraser.
1236
1237         Add twisted-15.5.0 to webkitpy.thirdparty.autoinstalled.
1238         Minor fix for twsited_http_server used by run-benchmark that we should only stop http server while recieving 'GET /shutdown'.
1239
1240         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
1241         (ServerControl.render_POST): Deleted.
1242         * Scripts/webkitpy/thirdparty/__init__.py:
1243         (AutoinstallImportHook.find_module):
1244         (AutoinstallImportHook._install_twisted_15_5_0):
1245         * Scripts/webkitpy/thirdparty/__init___unittest.py:
1246         (ThirdpartyTest.test_imports):
1247
1248 2016-03-14  Mark Lam  <mark.lam@apple.com>
1249
1250         Need to distinguish between Symbol() and Symbol("").
1251         https://bugs.webkit.org/show_bug.cgi?id=155438
1252
1253         Reviewed by Saam Barati.
1254
1255         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1256         (TestWebKitAPI::TEST):
1257         - Test that the a symbol with an empty string is not equivalent to a null symbol. 
1258
1259 2016-03-14  David Kilzer  <ddkilzer@apple.com>
1260
1261         Remove blank lines after #include "config.h"
1262
1263         Follow-up fix from review comments on Bug 155394.
1264
1265         * TestWebKitAPI/PlatformUtilities.cpp:
1266         * TestWebKitAPI/Tests/WTF/RefLogger.cpp:
1267
1268 2016-03-14  Frederic Wang  <fred.wang@free.fr>
1269
1270         Unreviewed: Add my professional email address.
1271
1272         * Scripts/webkitpy/common/config/contributors.json:
1273
1274 2016-03-14  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1275
1276         Web platform test server should not try to launch servers on already bound sockets
1277         https://bugs.webkit.org/show_bug.cgi?id=141157
1278
1279         Reviewed by Darin Adler.
1280
1281         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1282         (wpt_config_json): Load WPT config from LayoutTests/imported/w3c/resources/config.json.
1283         (base_url): Refactored to use wpt_config_json routine.
1284         (WebPlatformTestServer.__init__): Fill port mappings according WPT config.
1285
1286 2016-03-13  Joseph Pecoraro  <pecoraro@apple.com>
1287
1288         Remove ENABLE(ES6_TEMPLATE_LITERAL_SYNTAX) guards
1289         https://bugs.webkit.org/show_bug.cgi?id=155417
1290
1291         Reviewed by Yusuke Suzuki.
1292
1293         * Scripts/webkitperl/FeatureList.pm:
1294         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1295
1296 2016-03-13  Dean Jackson  <dino@apple.com>
1297
1298         DRT should enable WebGL by default on Mac
1299         https://bugs.webkit.org/show_bug.cgi?id=155419
1300         <rdar://problem/25136981>
1301
1302         Reviewed by Sam Weinig.
1303
1304         For some reason, lost in time, WebGL was enabled
1305         by default on trunk, but disabled by default
1306         in DumpRenderTree when using WebKit 1. This
1307         was very annoying, because each test had
1308         an explicit command to enable it.
1309
1310         * DumpRenderTree/mac/DumpRenderTree.mm:
1311         (resetWebPreferencesToConsistentValues): Deleted WebGL line.
1312
1313 2016-03-13  Konstantin Tokarev  <annulen@yandex.ru>
1314
1315         Added new port JSCOnly.
1316         https://bugs.webkit.org/show_bug.cgi?id=154512
1317
1318         Reviewed by Michael Catanzaro.
1319
1320         This port allows to build JavaScriptCore engine with minimal
1321         dependencies.
1322
1323         * Scripts/build-jsc:
1324         * Scripts/webkitdirs.pm:
1325         (argumentsForConfiguration):
1326         (executableProductDir):
1327         (determinePortName):
1328         (isJSCOnly):
1329         (wrapperPrefixIfNeeded):
1330         (generateBuildSystemFromCMakeProject):
1331         (buildCMakeGeneratedProject):
1332
1333 2016-03-13  David Kilzer  <ddkilzer@apple.com>
1334
1335         TestWebKitAPI: fix linker warnings
1336         <http://webkit.org/b/155394>
1337
1338         Reviewed by Darin Adler.
1339
1340         * TestWebKitAPI/CMakeLists.txt:
1341         - Add RefLogger.cpp source file.
1342         - Add other missing cross-platform source files.
1343         - Add FIXMEs about RunLoop.cpp and about missing
1344           platform-specific source files.
1345         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1346         - Add RefLogger.cpp source file.
1347
1348         * TestWebKitAPI/Counters.cpp:
1349         (DeleterCounter<ConstructorDestructorCounter>::deleterCount):
1350         Move specific declaration here to fix linker warning.
1351         * TestWebKitAPI/Counters.h:
1352         (DeleterCounter<T>::deleterCount): Remove declaration of global
1353         template variable.
1354
1355         * TestWebKitAPI/Tests/WTF/RefLogger.cpp: Added.
1356         (TestWebKitAPI::log): Added.  Move inline definition in
1357         RefLogger.h to here to fix linker warning.
1358
1359         * TestWebKitAPI/Tests/WTF/RefLogger.h:
1360         (TestWebKitAPI::log): Replace inline function with declaration.
1361
1362 2016-03-12  David Kilzer  <ddkilzer@apple.com>
1363
1364         REGRESSION (r178615): Fix incorrect case in included header for WeakPtr.cpp
1365
1366         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp: Change "test.h" to
1367         "Test.h" to fix incorrect case.  This was discovered when adding
1368         WeakPtr.cpp to CMakeLists.txt for the patch on Bug 155394.
1369
1370 2016-03-12  David Kilzer  <ddkilzer@apple.com>
1371
1372         run-webkit-tests: handle Darwin framework/library environment variables more consistently
1373         <http://webkit.org/b/155392>
1374
1375         Reviewed by Daniel Bates.
1376
1377         These changes will make it possible to pass through environment
1378         variables from the run-webkit-tests command-line.
1379
1380         * Scripts/webkitpy/port/base.py:
1381         (Port.to.setup_environ_for_server): Add DYLD_FRAMEWORK_PATH,
1382         __XPC_DYLD_FRAMEWORK_PATH and __XPC_DYLD_LIBRARY_PATH to the
1383         list of variables to keep from the run-webkit-test environment.
1384
1385         * Scripts/webkitpy/port/driver.py:
1386         (Driver._append_environment_variable_path): Add method to append
1387         a path to an environment variable, or set the path if the
1388         variable doesn't exist.
1389         (Driver._setup_environ_for_driver): Extract build_root_path into
1390         a local variable.  Use Driver._append_environment_variable_path
1391         to extend DYLD_LIBRARY_PATH, __XPC_DYLD_LIBRARY_PATH,
1392         DYLD_FRAMEWORK_PATH and __XPC_DYLD_FRAMEWORK_PATH instead of
1393         overwriting them.
1394
1395         * Scripts/webkitpy/port/driver_unittest.py:
1396         (DriverTest.test__append_environment_variable_path): Add test
1397         method to test Driver._append_environment_variable_path.
1398
1399 2016-03-11  Alexey Proskuryakov  <ap@apple.com>
1400
1401         [ios-sim debug] API test WTF_Lock.ContendedShortSection and WTF_ParkingLot.UnparkOneFifty timing out
1402         https://bugs.webkit.org/show_bug.cgi?id=155276
1403
1404         [ios-sim] API test WTF_Condition.TenProducersTenConsumersOneSlot timing out
1405         https://bugs.webkit.org/show_bug.cgi?id=155345
1406
1407         [iOS Simulator] API test timeout: WTF_ParkingLot.UnparkOneFiftyThenFiftyAll
1408         https://bugs.webkit.org/show_bug.cgi?id=153997
1409         <rdar://problem/23580034>
1410
1411         <rdar://problem/23580018> TestWebKitAPI Timeout: WTF_ParkingLot.UnparkOneFifty
1412
1413         Rubber-stamped by Filip Pizlo.
1414
1415         * Scripts/run-api-tests: These tests are pretty slow. Increase API test timeout.
1416
1417         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp: Start running WTF_ParkingLot.UnparkOneFiftyThenFiftyAll
1418         on iOS again.
1419
1420 2016-03-11  Jer Noble  <jer.noble@apple.com>
1421
1422         [ios-sim debug] API tests RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback and RequiresUserActionForAudioButNotVideoPlayback asserting
1423         https://bugs.webkit.org/show_bug.cgi?id=155365
1424
1425         Reviewed by Darin Adler.
1426
1427         Allow tests running on iOS simulator to play video inline, avoiding this assert.
1428
1429         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
1430         (RequiresUserActionForPlaybackTest::SetUp):
1431
1432 2016-03-11  Frederic Wang  <fwang@igalia.com>
1433
1434         [jhbuild] Disable LLVM OCaml bindings.
1435         https://bugs.webkit.org/show_bug.cgi?id=153274
1436
1437         Reviewed by Michael Catanzaro.
1438
1439         * gtk/jhbuild.modules: disable all (actually only OCaml) bindings for LLVM.
1440
1441 2016-03-11  Commit Queue  <commit-queue@webkit.org>
1442
1443         Unreviewed, rolling out r197495.
1444         https://bugs.webkit.org/show_bug.cgi?id=155369
1445
1446         LLVM is needed to run update-webkitgtk-libs reliably
1447         (Requested by mcatanzaro on #webkit).
1448
1449         Reverted changeset:
1450
1451         "[jhbuild] Remove LLVM dependency."
1452         https://bugs.webkit.org/show_bug.cgi?id=153274
1453         http://trac.webkit.org/changeset/197495
1454
1455 2016-03-11  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1456
1457         WTF should have a similar function as equalLettersIgnoringASCIICase to match beginning of strings
1458         https://bugs.webkit.org/show_bug.cgi?id=153419
1459
1460         Reviewed by Darin Adler.
1461
1462         * TestWebKitAPI/Tests/WTF/StringOperators.cpp:
1463         (TestWebKitAPI::TEST): Adding test case for startsWithLettersIgnoringASCIICase.
1464
1465
1466 2016-03-10  Simon Fraser  <simon.fraser@apple.com>
1467
1468         Font antialiasing (smoothing) changes when elements are rendered into compositing layers
1469         https://bugs.webkit.org/show_bug.cgi?id=23364
1470
1471         Reviewed by Tim Horton.
1472
1473         Turn off smoothed layer text because it affects many layout test results.
1474
1475         * DumpRenderTree/mac/DumpRenderTree.mm:
1476         (resetWebViewToConsistentStateBeforeTesting):
1477         * WebKitTestRunner/TestController.cpp:
1478         (WTR::TestController::resetStateToConsistentValues):
1479
1480 2016-03-10  Jer Noble  <jer.noble@apple.com>
1481
1482         Partial roll-out of r197953; test fails because encode/decode support of those properties were never added.
1483
1484         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
1485         (TEST): Deleted.
1486
1487 2016-03-10  Myles C. Maxfield  <mmaxfield@apple.com>
1488
1489         [OS X] Main frame scrollbars should appear on the left on RTL systems
1490         https://bugs.webkit.org/show_bug.cgi?id=155149
1491
1492         Reviewed by Simon Fraser.
1493
1494         Setting the volatile default needs to be done early, so it is
1495         plumbed through the injected bundle's initialization routine.
1496
1497         Control of RTL scrollbars is handled by putting the string
1498         <!-- webkit-test-runner [ rtlScrollbars=true ] -->
1499         on the first line of a test.
1500
1501         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
1502         (WTR::shouldUseRTLScrollbars):
1503         (WTR::InjectedBundle::platformInitialize):
1504         * WebKitTestRunner/TestController.cpp:
1505         (WTR::TestController::generatePageConfiguration):
1506         (WTR::updateTestOptionsFromTestHeader):
1507         (WTR::TestController::getInjectedBundleInitializationUserData):
1508         * WebKitTestRunner/TestController.h:
1509         * WebKitTestRunner/TestOptions.h:
1510         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1511         (WTR::PlatformWebView::viewSupportsOptions):
1512
1513 2016-03-08  Jer Noble  <jer.noble@apple.com>
1514
1515         Add separate WK and WK2 preferences for requiring user gestures for video media, distinct from user gestures for media generally
1516         https://bugs.webkit.org/show_bug.cgi?id=155141
1517
1518         Reviewed by Beth Dakin.
1519
1520         Set the default values for media preferences unconditionally, not just on PLATFORM(IOS). Set "video requires user gesture"
1521         to sane defaults in addition to "audio requires user gesture" and (in the case of DumpREnderTree) instead of "media requires user gesture".
1522
1523         Add a new test of WK2 user gesture requirement preferences.
1524
1525         * DumpRenderTree/mac/DumpRenderTree.mm:
1526         (resetWebPreferencesToConsistentValues):
1527         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1528         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
1529         * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.html:
1530         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm: Added.
1531         (-[RequiresUserActionForPlaybackNavigationDelegate webView:didFinishNavigation:]):
1532         (-[RequiresUserActionForPlaybackMessageHandler userContentController:didReceiveScriptMessage:]):
1533         (RequiresUserActionForPlaybackTest::SetUp):
1534         (RequiresUserActionForPlaybackTest::createWebView):
1535         (RequiresUserActionForPlaybackTest::testVideoWithAudio):
1536         (RequiresUserActionForPlaybackTest::testVideoWithoutAudio):
1537         (RequiresUserActionForPlaybackTest::testAudioOnly):
1538         (TEST_F):
1539         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
1540         (TEST):
1541
1542 2016-03-10  Brian Burg  <bburg@apple.com>
1543
1544         Web Inspector: should be able to run protocol and input generator scripts from any directory
1545         https://bugs.webkit.org/show_bug.cgi?id=155307
1546
1547         Reviewed by Joseph Pecoraro.
1548
1549         * Scripts/webkitpy/inspector/main.py:
1550         (InspectorGeneratorTests.main):
1551         * Scripts/webkitpy/replay/main.py:
1552         (InputGeneratorTests.main):
1553         Compute the current SCM based on the location of the script being executed, not
1554         the $CWD which could be anything. There's rarely a good reason to use $CWD.
1555
1556 2016-03-10  David Kilzer  <ddkilzer@apple.com>
1557
1558         [iOS] DumpRenderTree crashes when accessing window.testRunner.inspectorTestStubURL
1559         <http://webkit.org/b/155295>
1560
1561         Reviewed by Brent Fulgham.
1562
1563         * DumpRenderTree/mac/TestRunnerMac.mm:
1564         (TestRunner::inspectorTestStubURL): Always return nullptr for
1565         PLATFORM(IOS).  This matches what we did in r192604 for
1566         WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm.
1567
1568 2016-03-10  Frederic Wang  <fwang@igalia.com>
1569
1570         [GTK] Add support for WOFF2
1571         https://bugs.webkit.org/show_bug.cgi?id=152616
1572
1573         Reviewed by Carlos Garcia Campos.
1574
1575         * Scripts/webkitpy/style/checker.py: Only verify basic style for third party modules brotli and woff2.
1576
1577 2016-03-09  Ryosuke Niwa  <rniwa@webkit.org>
1578
1579         Add runtime flags for shadow DOM and custom elements
1580         https://bugs.webkit.org/show_bug.cgi?id=155213
1581
1582         Reviewed by Dean Jackson.
1583
1584         Always enable shadow DOM and custom elements during testing.
1585
1586         * DumpRenderTree/mac/DumpRenderTree.mm:
1587         (resetWebPreferencesToConsistentValues):
1588         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1589         (WTR::InjectedBundle::beginTesting):
1590         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1591         (WTR::TestRunner::setShadowDOMEnabled): Added.
1592         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1593
1594 2016-03-09  Brent Fulgham  <bfulgham@apple.com>
1595
1596         Handling 'allowUniversalAccessFromFileURLs' on WKWebViewConfiguration causes test breakage
1597         https://bugs.webkit.org/show_bug.cgi?id=155265
1598         <rdar://problem/11101440>
1599
1600         Reviewed by Andy Estes.
1601
1602         WK2 localStorage tests need the 'AllowUniversalAccessFromFileURLs' preference set by default.
1603         Tests that confirm blocking localStorage manually set the flag to "False" in the test.
1604
1605         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1606         (WTR::initializeWebViewConfiguration): Set the default state to the correct value.
1607
1608 2016-03-09  David Kilzer  <ddkilzer@apple.com>
1609
1610         check-webkit-style: fix false-positive warnings about @try/@catch blocks in Objective-C++ source files
1611         <http://webkit.org/b/155273>
1612
1613         Reviewed by Andy Estes.
1614
1615         * Scripts/webkitpy/style/checkers/cpp.py:
1616         (check_spacing_for_function_call): Ignore @catch lines.
1617         (check_braces): Ditto.
1618         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1619         (CppStyleTest.test_brace_at_begin_of_line): Add test case.
1620
1621 2016-03-09  Jason Marcell  <jmarcell@apple.com>
1622
1623         Removing reference to Dashboard.Repository.Internal.trac from open source unit tests.
1624         https://bugs.webkit.org/show_bug.cgi?id=155274
1625
1626         Reviewed by Alexey Proskuryakov.
1627
1628         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js:
1629         (setup): Deleted. In bug 154180 we removed Dashboard.Repository.Internal which was causing an
1630         error in the unit tests.
1631
1632 2016-03-09  Aakash Jain  <aakash_jain@apple.com>
1633
1634         use ulimit command to check process limit in webkitpy
1635         https://bugs.webkit.org/show_bug.cgi?id=155260
1636
1637         Reviewed by Alexey Proskuryakov.
1638
1639         * Scripts/webkitpy/port/ios.py:
1640         (IOSSimulatorPort.default_child_processes): Use ulimit command output instead of 
1641         launchctl limit maxproc command.
1642
1643 2016-03-09  Alexey Proskuryakov  <ap@apple.com>
1644
1645         Stop building armv7 on iOS device builders
1646         https://bugs.webkit.org/show_bug.cgi?id=155246
1647
1648         Reviewed by David Kilzer.
1649
1650         * BuildSlaveSupport/build.webkit.org-config/config.json: Building both armv7 and
1651         armv7s makes the bots unnecessarily slow. We can catch super rare v7-only regressions
1652         elsewhere.
1653
1654         * Scripts/webkitpy/common/config/ews.json: Changed EWS to match, as we always want
1655         EWS configuration to be verified by buildbot queues.
1656
1657         * Scripts/webkitdirs.pm:
1658         * Scripts/webkitpy/port/ios.py:
1659         Changed default to arm64. I think that the default is probably not used in any
1660         practical scenarios, but it's nice to make it more sensible.
1661
1662 2016-03-09  Alexey Proskuryakov  <ap@apple.com>
1663
1664         Add iOS Simulator EWS to bot watcher's dashboard
1665         https://bugs.webkit.org/show_bug.cgi?id=155220
1666
1667         Reviewed by Lucas Forschler.
1668
1669         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
1670
1671 2016-03-09  Brent Fulgham  <bfulgham@apple.com>
1672
1673         Local HTML should be blocked from localStorage access unless "Disable Local File Restrictions" is checked
1674         https://bugs.webkit.org/show_bug.cgi?id=155185
1675         <rdar://problem/11101440>
1676
1677         Reviewed by Anders Carlsson.
1678
1679         * TestWebKitAPI/Tests/WebKit2/CloseFromWithinCreatePage.cpp:
1680         (TestWebKitAPI::TEST): Allow local file accesss to run test.
1681         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
1682         (TEST): Ditto.
1683         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
1684         (TEST): Ditto.
1685
1686 2016-03-09  Tim Horton  <timothy_horton@apple.com>
1687
1688         Removing and re-adding a script message handler with the same name results in an unusable message handler
1689         https://bugs.webkit.org/show_bug.cgi?id=155223
1690
1691         Reviewed by Sam Weinig.
1692
1693         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
1694         (TEST):
1695         Add a test ensuring that it is possible to remove and re-add a script message handler
1696         with the same name and still dispatch messages to it.
1697
1698 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
1699
1700         Fix iOS Simulator EWS.
1701
1702         Unreviewed build fix.
1703
1704         * Scripts/webkitpy/common/config/ports.py:
1705
1706 2016-03-08  Aakash Jain  <aakash_jain@apple.com>
1707
1708         Booting multiple iOS simulator parallely fails sometimes
1709         https://bugs.webkit.org/show_bug.cgi?id=155208
1710         <rdar://problem/25019651>
1711
1712         Reviewed by Darin Adler.
1713
1714         * Scripts/webkitpy/port/ios.py:
1715         (IOSSimulatorPort.setup_test_run): Increase the time delay between subsequent
1716         simulator boot.
1717
1718 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
1719
1720         Add iOS debug testers to flakiness dashboard
1721         https://bugs.webkit.org/show_bug.cgi?id=155206
1722
1723         Reviewed by Darin Adler.
1724
1725         * TestResultServer/static-dashboards/builders.jsonp:
1726
1727 2016-03-08  Oliver Hunt  <oliver@apple.com>
1728
1729         Start moving to separated writable and executable mappings in the JIT
1730         https://bugs.webkit.org/show_bug.cgi?id=155178
1731
1732         Reviewed by Fil Pizlo.
1733
1734         Making run-jsc-benchmarks slightly happier on my machine.
1735
1736         * Scripts/run-jsc-benchmarks:
1737
1738 2016-03-08  Anders Carlsson  <andersca@apple.com>
1739
1740         Use NSUInteger instead of NSWindowStyleMask.
1741
1742         * MiniBrowser/mac/MiniBrowser_Prefix.pch:
1743
1744 2016-03-08  Anders Carlsson  <andersca@apple.com>
1745
1746         Fix build.
1747
1748         We intentionally don't use AppKitCompatibilityDeclarations.h here, since we want
1749         MiniBrowser to build without WTF.
1750
1751         * MiniBrowser/mac/AppDelegate.m:
1752         (-[BrowserAppDelegate _updateNewWindowKeyEquivalents]):
1753         * MiniBrowser/mac/BrowserWindowController.m:
1754         (-[BrowserWindowController windowDidLoad]):
1755         * MiniBrowser/mac/MiniBrowser_Prefix.pch:
1756
1757 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
1758
1759         Add iOS simulator EWS that runs tests
1760         https://bugs.webkit.org/show_bug.cgi?id=155175
1761
1762         Reviewed by Lucas Forschler.
1763
1764         * QueueStatusServer/config/queues.py:
1765         * Scripts/webkitpy/common/config/ews.json:
1766         * Scripts/webkitpy/common/config/ports.py:
1767
1768 2016-03-08  Commit Queue  <commit-queue@webkit.org>
1769
1770         Unreviewed, rolling out r197793 and r197799.
1771         https://bugs.webkit.org/show_bug.cgi?id=155195
1772
1773         something weird happened while landing this and everything
1774         broke (Requested by olliej on #webkit).
1775
1776         Reverted changesets:
1777
1778         "Start moving to separated writable and executable mappings in
1779         the JIT"
1780         https://bugs.webkit.org/show_bug.cgi?id=155178
1781         http://trac.webkit.org/changeset/197793
1782
1783         "arm64 build fix after r197793."
1784         http://trac.webkit.org/changeset/197799
1785
1786 2016-03-08  Oliver Hunt  <oliver@apple.com>
1787
1788         Start moving to separated writable and executable mappings in the JIT
1789         https://bugs.webkit.org/show_bug.cgi?id=155178
1790
1791         Reviewed by Filip Pizlo.
1792
1793         Making run-jsc-benchmarks slightly happier on my machine.
1794
1795         * Scripts/run-jsc-benchmarks:
1796
1797 2016-03-08  Daniel Bates  <dabates@apple.com>
1798
1799         Support iterating over an OptionSet and checking if it is empty
1800         https://bugs.webkit.org/show_bug.cgi?id=154941
1801         <rdar://problem/24964187>
1802
1803         Reviewed by Darin Adler.
1804
1805         Add tests to ensure that we do not regression both iteration of an OptionSet and
1806         determining whether an OptionSet is empty.
1807
1808         * TestWebKitAPI/Test.h:
1809         (TestWebKitAPI::Util::assertStrongEnum): Helper function to assert two strong enum type for equality.
1810         * TestWebKitAPI/Tests/WTF/OptionSet.cpp:
1811         (TestWebKitAPI::TEST):
1812
1813 2016-03-08  Alexey Proskuryakov  <ap@apple.com>
1814
1815         Add debug iOS Simulator bots to the dashboard
1816         https://bugs.webkit.org/show_bug.cgi?id=155157
1817
1818         Reviewed by Darin Adler.
1819
1820         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1821
1822 2016-03-08  Alejandro G. Castro  <alex@igalia.com>
1823
1824         Unreviewed EFL build fix after r197752.
1825
1826         * Scripts/webkitperl/FeatureList.pm: Avoid MEDIA_STREAM
1827         compilation by default until EFL bumps gstreamer to 1.6.
1828
1829 2016-03-08  Alejandro G. Castro  <alex@igalia.com>
1830
1831         [GTK] [EFL] Avoid running mediastream tests by default until we compile by default
1832         https://bugs.webkit.org/show_bug.cgi?id=153540
1833
1834         Reviewed by Philippe Normand.
1835
1836         After bumping gstreamer to 1.6.3 in r196804 we can enable again
1837         compilation of mediastream and running the tests.
1838
1839         * Scripts/run-gtk-tests:
1840         (TestRunner): Enable again the UserMedia API test.
1841         * Scripts/webkitperl/FeatureList.pm: Enable the compilation of the
1842         mediastream by default.
1843         * gtk/jhbuild-webrtc.modules: Removed the specific jhbuild modules
1844         file.
1845         * gtk/jhbuild.modules: Bumped the openwebrtc version to the one we
1846         are currently using.
1847
1848 2016-03-07  Jon Lee  <jonlee@apple.com>
1849
1850         Update perf bot configuration for Animometer
1851         https://bugs.webkit.org/show_bug.cgi?id=155134
1852
1853         Reviewed by Ryosuke Niwa.
1854
1855         * Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch: Refactor the patch
1856         to work with the latest version of the harness.
1857         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Bump up the timeout,
1858         and use the latest version of the harness.
1859
1860 2016-03-07  Joanmarie Diggs  <jdiggs@igalia.com>
1861
1862         [GTK][jhbuild] OpenWebRTC build fails with GCC 6.0
1863         https://bugs.webkit.org/show_bug.cgi?id=154839
1864
1865         Reviewed by Michael Catanzaro.
1866
1867         Add '-Wno-error' to jhbuildrc; remove it from the module sets for macos.
1868
1869         * gtk/jhbuild-webrtc.modules:
1870         * gtk/jhbuild.modules:
1871         * gtk/jhbuildrc:
1872
1873 2016-03-07  Aakash Jain  <aakash_jain@apple.com>
1874
1875         webkitpy should verify timestamp from CrashLogs while collecting all crash logs
1876         https://bugs.webkit.org/show_bug.cgi?id=155000
1877         <rdar://problem/24860219>
1878
1879         Reviewed by Alexey Proskuryakov.
1880
1881         * Scripts/webkitpy/common/system/crashlogs.py:
1882         (CrashLogs._find_all_logs_darwin): Make sure that crash log timestamp is within expected 
1883         time range, because file modification time is not always accurate.
1884         (CrashLogs.get_timestamp_from_logs): Parse the timestamp from logs.
1885         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
1886         (CrashLogsTest.test_get_timestamp_from_logs_darwin): Testcase for above function.
1887
1888 2016-03-06  Alexey Proskuryakov  <ap@apple.com>
1889
1890         build-webkit prints an error on iOS simulator bots
1891         https://bugs.webkit.org/show_bug.cgi?id=155078
1892
1893         Reviewed by Dan Bernstein.
1894
1895         This happens when build-layouttestrelay sets $xcodeSDK to undefined, to use host SDK.
1896
1897         * Scripts/webkitdirs.pm: (buildXCodeProject): There is no need to pass -sdk, because
1898         XcodeOptions() already passes SDKROOT as appropriate.
1899
1900         * Scripts/build-layouttestrelay: Added a FIXME. Resetting $xcodeSDK doesn't reset
1901         any other configuration variables that were derived from its initial value, like $portName.
1902
1903 2016-03-05  Tim Horton  <timothy_horton@apple.com>
1904
1905         Create a DOMHTMLVideoElement when wrapping <video> elements
1906         https://bugs.webkit.org/show_bug.cgi?id=155084
1907         <rdar://problem/24997193>
1908
1909         Reviewed by Dan Bernstein.
1910
1911         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1912         * TestWebKitAPI/Tests/mac/DOMHTMLVideoElementWrapper.mm: Added.
1913         (-[VideoWrapperFrameLoadDelegate webView:didFinishLoadForFrame:]):
1914         (TestWebKitAPI::TEST):
1915         Add an API test for this behavior.
1916
1917 2016-03-05  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1918
1919         [GTK] Fix logging details after r197505 (Run the run-benchmark script on the performance bot.)
1920         https://bugs.webkit.org/show_bug.cgi?id=154595
1921
1922         Unreviewed.
1923
1924         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
1925         (start): Use logging.exception when a test fails in order to get the details about the error.
1926
1927 2016-03-04  Alexey Proskuryakov  <ap@apple.com>
1928
1929         Add iOS simulator debug bots
1930         https://bugs.webkit.org/show_bug.cgi?id=155053
1931
1932         Reviewed by Lucas Forschler.
1933
1934         * BuildSlaveSupport/build.webkit.org-config/config.json:
1935
1936 2016-03-04  Brent Fulgham  <bfulgham@apple.com>
1937
1938         [WK2] Gather resource load statistics
1939         https://bugs.webkit.org/show_bug.cgi?id=154278
1940         <rdar://problem/24702892>
1941
1942         Reviewed by Andy Estes.
1943
1944         * MiniBrowser/mac/AppDelegate.m:
1945         (defaultConfiguration): Retrieve state of the ResourceLoadStatisticsEnabled setting.
1946         * MiniBrowser/mac/SettingsController.m:
1947         (-[SettingsController _populateMenu]): Move setting from WK1-only to be
1948         universally applicable.
1949         * MiniBrowser/mac/WK2BrowserWindowController.m:
1950         (-[WK2BrowserWindowController didChangeSettings]): Recognize when the
1951         Resource Load Statistics flag has changed.
1952
1953 2016-03-04  Alex Christensen  <achristensen@webkit.org>
1954
1955         Remove vcxproj build system
1956         https://bugs.webkit.org/show_bug.cgi?id=154388
1957
1958         Rubber-stamped by Brent Fulgham.
1959
1960         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree: Removed.
1961         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree.sln: Removed.
1962         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj: Removed.
1963         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj.filters: Removed.
1964         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeApple.props: Removed.
1965         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeCommon.props: Removed.
1966         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeDebug.props: Removed.
1967         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeDebugWinCairo.props: Removed.
1968         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj: Removed.
1969         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherCommon.props: Removed.
1970         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherDebug.props: Removed.
1971         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherProduction.props: Removed.
1972         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncherRelease.props: Removed.
1973         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePostBuild.cmd: Removed.
1974         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreePreBuild.cmd: Removed.
1975         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeProduction.props: Removed.
1976         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeRelease.props: Removed.
1977         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeReleaseWinCairo.props: Removed.
1978         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff: Removed.
1979         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj: Removed.
1980         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffCommon.props: Removed.
1981         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffCommonWinCairo.props: Removed.
1982         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffDebug.props: Removed.
1983         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffDebugWinCairo.props: Removed.
1984         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj: Removed.
1985         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherCommon.props: Removed.
1986         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherDebug.props: Removed.
1987         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherProduction.props: Removed.
1988         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncherRelease.props: Removed.
1989         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffPostBuild.cmd: Removed.
1990         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffPreBuild.cmd: Removed.
1991         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffProduction.props: Removed.
1992         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffRelease.props: Removed.
1993         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffReleaseWinCairo.props: Removed.
1994         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj: Removed.
1995         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj.filters: Removed.
1996         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginCommon.props: Removed.
1997         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginDebug.props: Removed.
1998         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginPostBuild.cmd: Removed.
1999         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginPreBuild.cmd: Removed.
2000         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginProduction.props: Removed.
2001         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginRelease.props: Removed.
2002         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj: Removed.
2003         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj.filters: Removed.
2004         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCF.props: Removed.
2005         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCFLite.props: Removed.
2006         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCommon.props: Removed.
2007         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserDebug.props: Removed.
2008         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj: Removed.
2009         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj.filters: Removed.
2010         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibCommon.props: Removed.
2011         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibDebug.props: Removed.
2012         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPostBuild.cmd: Removed.
2013         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPreBuild.cmd: Removed.
2014         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibProduction.props: Removed.
2015         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibRelease.props: Removed.
2016         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPostBuild.cmd: Removed.
2017         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPreBuild.cmd: Removed.
2018         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserProduction.props: Removed.
2019         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserRelease.props: Removed.
2020         * TestWebKitAPI/TestWebKitAPI.vcxproj: Removed.
2021         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.sln: Removed.
2022         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj: Removed.
2023         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters: Removed.
2024         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommon.props: Removed.
2025         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommonWinCairo.props: Removed.
2026         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebug.props: Removed.
2027         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebugWinCairo.props: Removed.
2028         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPostBuild.cmd: Removed.
2029         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIPreBuild.cmd: Removed.
2030         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIProduction.props: Removed.
2031         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIRelease.props: Removed.
2032         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIReleaseWinCairo.props: Removed.
2033         * win/AssembleBuildLogs: Removed.
2034         * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj: Removed.
2035         * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj.filters: Removed.
2036         * win/AssembleBuildLogs/AssembleLogs.cmd: Removed.
2037         * win/AssembleBuildLogs/README: Removed.
2038
2039 2016-03-04  Myles C. Maxfield  <mmaxfield@apple.com>
2040
2041         Whitespace causes font-variant: all-small-caps to synthesize
2042         https://bugs.webkit.org/show_bug.cgi?id=155004
2043         <rdar://problem/24630796>
2044
2045         Reviewed by Darin Adler.
2046
2047         * DumpRenderTree/mac/DumpRenderTree.mm:
2048         (allowedFontFamilySet):
2049         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
2050         (WTR::allowedFontFamilySet):
2051         * WebKitTestRunner/mac/TestControllerMac.mm:
2052         (WTR::allowedFontFamilySet):
2053
2054 2016-03-04  Myles C. Maxfield  <mmaxfield@apple.com>
2055
2056         [iOS] Crash during font loading when injected bundle cancels load
2057         https://bugs.webkit.org/show_bug.cgi?id=155001
2058
2059         Reviewed by Tim Horton.
2060
2061         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2062         * TestWebKitAPI/Tests/WebKit2/Ahem.ttf: Added.
2063         * TestWebKitAPI/Tests/WebKit2/webfont.html: Added.
2064         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresource.mm: Added.
2065         (-[Myles webView:didFinishNavigation:]):
2066         (TEST):
2067         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresourcePlugIn.mm: Added.
2068         (-[CancelFontSubresourcePlugIn webProcessPlugIn:didCreateBrowserContextController:]):
2069         (-[CancelFontSubresourcePlugIn webProcessPlugInBrowserContextController:frame:willSendRequestForResource:request:redirectResponse:]):
2070
2071 2016-03-04  Konstantin Tokarev  <annulen@yandex.ru>
2072
2073         [check-webkit-style] Added checks for redundant virtual specifiers.
2074         https://bugs.webkit.org/show_bug.cgi?id=155017
2075
2076         Reviewed by Darin Adler.
2077
2078         Added 3 new checks related to virtual, override, and final specifiers:
2079
2080         1. When "override" is present, "virtual" is redundant.
2081         2. When "final" is present, "virtual" is redundant.
2082         3. When "final" is present, "override" is redundant.
2083
2084         * Scripts/webkitpy/style/checkers/cpp.py:
2085         (_FunctionState.begin):
2086         (_FunctionState.is_virtual):
2087         (_check_parameter_name_against_text):
2088         (_error_redundant_specifier):
2089         (check_function_definition):
2090         (CppChecker):
2091         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2092         (FunctionDetectionTest.perform_function_detection):
2093         (FunctionDetectionTest.test_basic_function_detection):
2094         (FunctionDetectionTest.test_function_declaration_detection):
2095         (FunctionDetectionTest.test_pure_function_detection):
2096         (FunctionDetectionTest.test_override_and_final_function_detection):
2097         (FunctionDetectionTest.test_non_functions):
2098         (FunctionDetectionTest.test_parameter_list):
2099
2100 2016-03-03  Darin Adler  <darin@apple.com>
2101
2102         Followup to:
2103         Remove "virtual" from all lines that have both "virtual" and "override".
2104         https://bugs.webkit.org/show_bug.cgi?id=155005
2105
2106         Reviewed by Geoffrey Garen.
2107
2108         * Scripts/do-webcore-rename: Added more regular expressions to make sure we always
2109         use either override or final, not both, and to remove virtual from all lines that
2110         have both virtual and final.
2111
2112 2016-03-03  Darin Adler  <darin@apple.com>
2113
2114         Remove "virtual" from all lines that have both "virtual" and "override".
2115         https://bugs.webkit.org/show_bug.cgi?id=155005
2116
2117         Reviewed by Geoffrey Garen.
2118
2119         * Scripts/do-webcore-rename: Added a regular expression to this script to do the job.
2120
2121 2016-03-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2122
2123         [GTK] Unreviewed fix after r197505 (Run the run-benchmark script on the performance bot.)
2124         https://bugs.webkit.org/show_bug.cgi?id=154595
2125
2126         Unreviewed fix after r197505.
2127
2128         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2129         (RunBenchmarkTests.start):
2130
2131 2016-03-03  Daniel Bates  <dabates@apple.com>
2132
2133         Add unit tests for WTF::OptionSet
2134         https://bugs.webkit.org/show_bug.cgi?id=154925
2135         <rdar://problem/24964211>
2136
2137         Reviewed by Darin Adler.
2138
2139         Add tests to ensure that we do not regress the behavior of WTF::OptionSet.
2140
2141         * TestWebKitAPI/CMakeLists.txt: Add file TestWebKitAPI/Tests/WTF/OptionSet.cpp.
2142         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
2143         * TestWebKitAPI/Tests/WTF/OptionSet.cpp: Added.
2144         (TestWebKitAPI::TEST):
2145
2146 2016-03-03  Commit Queue  <commit-queue@webkit.org>
2147
2148         Unreviewed, rolling out r197442.
2149         https://bugs.webkit.org/show_bug.cgi?id=154967
2150
2151         Broke tests, and also uses a wrong approach (Requested by ap
2152         on #webkit).
2153
2154         Reverted changeset:
2155
2156         "Disable FTL JIT testing on 32-bit JSC tester bots"
2157         https://bugs.webkit.org/show_bug.cgi?id=154858
2158         http://trac.webkit.org/changeset/197442
2159
2160 2016-03-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2161
2162         [GTK] Run the run-benchmark script on the performance bot.
2163         https://bugs.webkit.org/show_bug.cgi?id=154595
2164
2165         Reviewed by Carlos Garcia Campos.
2166
2167         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add new RunBenchmarkTests step on the perf bots (only for the GTK+ port at this moment).
2168         (RunBenchmarkTests):
2169         (RunBenchmarkTests.start):
2170         (RunBenchmarkTests.getText):
2171         (RunBenchmarkTests.getText2):
2172         (BuildAndPerfTestFactory.__init__):
2173         (DownloadAndPerfTestFactory.__init__):
2174         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Add new test for RunBenchmarkTests and update expected steps of GTK+ perf bot.
2175         (RunBenchmarkTest):
2176         (RunBenchmarkTest.assertResults):
2177         (RunBenchmarkTest.test_success):
2178         (RunBenchmarkTest.test_tests_failed):
2179         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: Log both the current iteration as also the total iterations for the current benchmark/plan.
2180         (BenchmarkRunner._run_benchmark):
2181         * Scripts/webkitpy/benchmark_runner/browser_driver/gtk_minibrowser_driver.py: Use python logging also for errors.
2182         (GTKMiniBrowserDriver.close_browsers):
2183         * Scripts/webkitpy/benchmark_runner/run_benchmark.py: Implement support for running all available benchmark plans.
2184         (parse_args):
2185         (start):
2186         (main):
2187
2188 2016-03-03  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2189
2190         [EFL] Remove u-szeged.hu SVN mirror in EFL perf bot
2191         https://bugs.webkit.org/show_bug.cgi?id=154960
2192
2193         Reviewed by Csaba Osztrogonác.
2194
2195         * BuildSlaveSupport/build.webkit.org-config/config.json: Remove szeged univ's svn mirror.
2196         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2197
2198 2016-03-03  Frederic Wang  <fwang@igalia.com>
2199
2200         [jhbuild] Remove LLVM dependency.
2201         https://bugs.webkit.org/show_bug.cgi?id=153274
2202
2203         Reviewed by Carlos Garcia Campos.
2204
2205         * gtk/jhbuild.modules:
2206
2207 2016-03-02  Alejandro G. Castro  <alex@igalia.com>
2208
2209         Unreviewed build fix for media-stream after r197114.
2210
2211         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
2212         (TestWebKitAPI::decidePolicyForUserMediaPermissionRequestCallBack):
2213
2214 2016-03-01  Csaba Osztrogonác  <ossy@webkit.org>
2215
2216         Disable FTL JIT testing on 32-bit JSC tester bots
2217         https://bugs.webkit.org/show_bug.cgi?id=154858
2218
2219         Reviewed by Saam Barati.
2220
2221         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2222         (Run32bitJSCTests):
2223
2224 2016-03-01  Dean Johnson  <dean_johnson@apple.com>
2225
2226         Fix iOS EWS.
2227         https://bugs.webkit.org/show_bug.cgi?id=154880
2228
2229         Reviewed by Alexey Proskuryakov.
2230
2231         * Scripts/copy-webkitlibraries-to-product-directory:
2232
2233 2016-02-29  Chris Dumez  <cdumez@apple.com>
2234
2235         Have parseHTMLInteger() / parseHTMLNonNegativeInteger() use WTF::Optional
2236         https://bugs.webkit.org/show_bug.cgi?id=154845
2237
2238         Reviewed by Ryosuke Niwa.
2239
2240         Update API tests accordingly.
2241
2242         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp:
2243         (TestWebKitAPI::testParseHTMLInteger):
2244         (TestWebKitAPI::parseHTMLIntegerFails):
2245         (TestWebKitAPI::testParseHTMLNonNegativeInteger):
2246         (TestWebKitAPI::parseHTMLNonNegativeIntegerFails):
2247         (TestWebKitAPI::TEST): Deleted.
2248
2249 2016-02-29  Simon Fraser  <simon.fraser@apple.com>
2250
2251         Remove the experimental feature of antialiased font dilation
2252         https://bugs.webkit.org/show_bug.cgi?id=154843
2253
2254         Reviewed by Zalan Bujtas.
2255
2256         Remove the "antialiased font dilation" code path, and related prefs.
2257
2258         * DumpRenderTree/mac/DumpRenderTree.mm:
2259         (resetWebPreferencesToConsistentValues): Deleted.
2260         * WebKitTestRunner/TestController.cpp:
2261         (WTR::TestController::resetPreferencesToConsistentValues): Deleted.
2262
2263 2016-02-29  Brady Eidson  <beidson@apple.com>
2264
2265         Fix timing flakiness in test I added in http://trac.webkit.org/changeset/197372
2266
2267         Unreviewed.
2268
2269         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-1.html:
2270         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-2.html:
2271         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
2272         (TEST): Sometimes a third message from the first html file was leaking through. The message is expected
2273           so we should always wait for it and make sure we got it.
2274
2275 2016-02-29  Brady Eidson  <beidson@apple.com>
2276
2277         Modern IDB: WebKit 2 IPC layer easily confused about multiple web processes being connected.
2278         https://bugs.webkit.org/show_bug.cgi?id=154837
2279
2280         Reviewed by Alex Christensen.
2281
2282         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2283         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-1.html: Added.
2284         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-2.html: Added.
2285         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm: Added.
2286
2287 2016-02-29  Joanmarie Diggs  <jdiggs@igalia.com>
2288
2289         [GTK][jhbuild] GLib build fails with GCC 6.0
2290         https://bugs.webkit.org/show_bug.cgi?id=154825
2291
2292         Use the upstream work-around. https://bugzilla.gnome.org/show_bug.cgi?id=761550
2293
2294         Reviewed by Csaba Osztrogonác.
2295
2296         * gtk/jhbuild.modules: Apply upstream path.
2297         * gtk/patches/gdate-suppress-string-format-literal-warning.patch: Added.
2298
2299 2016-02-29  Filip Pizlo  <fpizlo@apple.com>
2300
2301         We've been running Octane/regexp all wrong in run-jsc-benchmarks
2302         https://bugs.webkit.org/show_bug.cgi?id=154827
2303
2304         Reviewed by Andreas Kling.
2305
2306         Octane v.2 and JetStream v.1.1 run this benchmark with warmup. This script was running
2307         it without warmup. This patches fixes this by making this script run it with warmup.
2308
2309         This fix shows that my last patch, which added FTL support for regexp, was actually a 3%
2310         speed-up on Octane/regexp, not a slow-down as the ChangeLog claimed.
2311
2312         It discovered this bug because for each Octane test that I want to debug, I usually make
2313         a standalone .js file that contains the whole test along with a miniharness - usually
2314         a plain loop - that runs it almost like it would for real but with whatever hacks I'm
2315         using for debugging. When I wrote such a thing for regexp, I used a ~20 iteration warmup
2316         to match the one second of warmup that this benchmark gets in Octane. To my surprise,
2317         this quite faithful regexp runner did not see the regression that run-jsc-benchmarks
2318         saw. That's when I found out that run-jsc-benchmarks was running it wrong.
2319
2320         The reason for the no-warmup slow-down is that the FTL is actually fairly expensive to
2321         run on some of these very large functions in the regexp benchmark. I don't think we can
2322         do anything about that, and I'd argue that the speed-up we see after the compilation is
2323         done suggests that it was worth it.
2324
2325         * Scripts/run-jsc-benchmarks:
2326
2327 2016-02-29  Gavin Barraclough  <barraclough@apple.com>
2328
2329         RefCounter<T>::Event -> RefCounterEvent
2330         https://bugs.webkit.org/show_bug.cgi?id=154767
2331
2332         Reviewed by Darin Adler.
2333
2334         RefCounter<T>::Event is kinda verbose to use, and there is no need for this
2335         to be specific to a particular typeof RefCounter. Move the enum class up to
2336         the top level & rename to RefCounterEvent.
2337
2338         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
2339         (TestWebKitAPI::TEST):
2340
2341 2016-02-29  Csaba Osztrogonác  <ossy@webkit.org>
2342
2343         Remove more LLVM related cruft
2344         https://bugs.webkit.org/show_bug.cgi?id=154821
2345
2346         Reviewed by Darin Adler.
2347
2348         * Scripts/build-jsc:
2349         * Scripts/build-webkit:
2350         * Scripts/copy-webkitlibraries-to-product-directory:
2351         * Scripts/export-llvm-build: Removed.
2352         * Scripts/run-jsc-stress-tests:
2353
2354 2016-02-28  Sam Weinig  <sam@webkit.org>
2355
2356         Reimplement WKPageGroup in terms of WKUserContentController
2357         https://bugs.webkit.org/show_bug.cgi?id=154804
2358
2359         Reviewed by Dan Bernstein.
2360
2361         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2362         * TestWebKitAPI/Tests/WebKit2/PageGroup.cpp: Added.
2363
2364 2016-02-28  Sam Weinig  <sam@webkit.org>
2365
2366         Bind _WKUserStyleSheets to WKUserContentWorlds to allow for grouping of user content by associating to a world
2367         https://bugs.webkit.org/show_bug.cgi?id=154798
2368
2369         Reviewed by Dan Bernstein.
2370
2371         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
2372         Add tests for removing _WKUserStyleSheets and WKUserScripts
2373
2374 2016-02-27  Alexey Proskuryakov  <ap@apple.com>
2375
2376         Silence leaks under TextCodecICU::registerCodecs
2377         https://bugs.webkit.org/show_bug.cgi?id=154737
2378
2379         Reviewed by Darin Adler.
2380
2381         * Scripts/webkitpy/port/leakdetector.py:
2382         (LeakDetector._callstacks_to_exclude_from_leaks):
2383
2384 2016-02-26  Michael Catanzaro  <mcatanzaro@igalia.com>
2385
2386         [GTK] Fix incorrect cast
2387
2388         Unreviewed.
2389
2390         * MiniBrowser/gtk/main.c:
2391         (createBrowserWindow):
2392
2393 2016-02-26  Chris Dumez  <cdumez@apple.com>
2394
2395         Fix the behavior of reflecting IDL attributes of type unsigned long
2396         https://bugs.webkit.org/show_bug.cgi?id=154771
2397
2398         Reviewed by Ryosuke Niwa.
2399
2400         Update API tests to cover the fixes to the parseHTMLNonNegativeInteger()
2401         implementation:
2402         - "-0" is parsed as 0.
2403         - Range boundaries are now [0; 2147483647].
2404
2405         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp:
2406         (TestWebKitAPI::TEST):
2407
2408 2016-02-26  Brady Eidson  <beidson@apple.com>
2409
2410         Modern IDB: New database versions are never committed to SQLite.
2411         <rdar://problem/24860952> and https://bugs.webkit.org/show_bug.cgi?id=154741
2412         
2413         Modern IDB: If a database handle is not open, files are not actually deleted from disk
2414         https://bugs.webkit.org/show_bug.cgi?id=154756
2415
2416         Reviewed by Alex Christensen.
2417
2418         This also happens to test the previously untested fix for http://trac.webkit.org/changeset/197190
2419
2420         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2421         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-1.html: Added.
2422         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-2.html: Added.
2423         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm: Added.
2424         (-[IndexedDBNavigationDelegate webView:didFinishNavigation:]):
2425         (-[IndexedDBMessageHandler userContentController:didReceiveScriptMessage:]):
2426         (TEST):
2427
2428 2016-02-26  Commit Queue  <commit-queue@webkit.org>
2429
2430         Unreviewed, rolling out r197216.
2431         https://bugs.webkit.org/show_bug.cgi?id=154766
2432
2433         Test simply needs updated result (Requested by litherum on
2434         #webkit).
2435
2436         Reverted changeset:
2437
2438         "Unreviewed, rolling out r197158."
2439         https://bugs.webkit.org/show_bug.cgi?id=154758
2440         http://trac.webkit.org/changeset/197216
2441
2442 2016-02-26  Alexey Proskuryakov  <ap@apple.com>
2443
2444         [iOS Simulator] Reftests don't work
2445         https://bugs.webkit.org/show_bug.cgi?id=154764
2446
2447         Reviewed by Daniel Bates.
2448
2449         * Scripts/webkitpy/port/image_diff.py: (IOSSimulatorImageDiffer._start):
2450         Use simctl instead of sim.
2451
2452 2016-02-26  Chris Dumez  <cdumez@apple.com>
2453
2454         Add API test coverage for parseHTMLInteger / parseHTMLNonNegativeInteger
2455         https://bugs.webkit.org/show_bug.cgi?id=154714
2456
2457         Reviewed by Darin Adler.
2458
2459         Add API test coverage for parseHTMLInteger / parseHTMLNonNegativeInteger as per:
2460         - https://html.spec.whatwg.org/multipage/infrastructure.html#signed-integers
2461         - https://html.spec.whatwg.org/multipage/infrastructure.html#non-negative-integers
2462
2463         * TestWebKitAPI/PlatformEfl.cmake:
2464         * TestWebKitAPI/PlatformGTK.cmake:
2465         * TestWebKitAPI/PlatformWin.cmake:
2466         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
2467         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
2468         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2469         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp: Added.
2470         (TestWebKitAPI::testParseHTMLInteger):
2471         (TestWebKitAPI::parseHTMLIntegerFails):
2472         (TestWebKitAPI::TEST):
2473         (TestWebKitAPI::testParseHTMLNonNegativeInteger):
2474         (TestWebKitAPI::parseHTMLNonNegativeIntegerFails):
2475
2476 2016-02-26  Commit Queue  <commit-queue@webkit.org>
2477
2478         Unreviewed, rolling out r197158.
2479         https://bugs.webkit.org/show_bug.cgi?id=154758
2480
2481         This change did not fix the failing test (Requested by
2482         ryanhaddad on #webkit).
2483
2484         Reverted changeset:
2485
2486         "REGRESSION(r195795): [WK2] fast/text/crash-complex-text-
2487         surrogate.html is flakey"
2488         https://bugs.webkit.org/show_bug.cgi?id=154709
2489         http://trac.webkit.org/changeset/197158
2490
2491 2016-02-26  Anders Carlsson  <andersca@apple.com>
2492
2493         WKWebsiteDataStore/WKWebsiteDataRecord needs to provide size information about each type of data
2494         https://bugs.webkit.org/show_bug.cgi?id=154750
2495         rdar://problem/23861395
2496
2497         Reviewed by Tim Horton.
2498
2499         * MiniBrowser/mac/WK2BrowserWindowController.m:
2500         (-[WK2BrowserWindowController fetchWebsiteData:]):
2501         Use the new WKWebsiteDataStore SPI to compute data sizes.
2502
2503 2016-02-25  Gavin Barraclough  <barraclough@apple.com>
2504
2505         RefCounter value changed callback should be called on all changes (not just zero edge).
2506         https://bugs.webkit.org/show_bug.cgi?id=154699
2507
2508         Reviewed by Geoff Garen.
2509
2510         RefCounter currently only triggers a callback when the count goes from zero
2511         to non-zero and vice-versa. Change that, to be useful to more clients.
2512
2513         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
2514         (TestWebKitAPI::TEST):
2515             - Updated for change in RefCounter callback siganture & behaviour.
2516
2517 2016-02-25  Sam Weinig  <sam@webkit.org>
2518
2519         Allow WKUserScripts to be run in isolated worlds
2520         https://bugs.webkit.org/show_bug.cgi?id=154701
2521
2522         Reviewed by Anders Carlsson.
2523
2524         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2525         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorld.mm: Added.
2526         (-[SimpleDelegate webView:didFinishNavigation:]):
2527         (-[UserContentWorldRemoteObject didObserveNormalWorld]):
2528         (-[UserContentWorldRemoteObject didObserveWorldWithName:]):
2529         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorldPlugIn.mm: Added.
2530         (-[_WKUserContentWorldPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
2531         (-[_WKUserContentWorldPlugIn webProcessPlugInBrowserContextController:globalObjectIsAvailableForFrame:inScriptWorld:]):
2532         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorldProtocol.h: Added.
2533
2534 2016-02-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2535
2536         W3C test importer should have an option to clean the destination directory
2537         https://bugs.webkit.org/show_bug.cgi?id=152685
2538
2539         Reviewed by Darin Adler.
2540
2541         Adding --clean-dest-dir option to W3C test importer.
2542         When this option is set, all files in the destination directory will be deleted
2543         except for WebKit specific files (test expectations, .gitignore...) before new tests import.
2544         Dangling test expectations are removed after tests import.'
2545
2546         Adding unit test and minor refactoring for the other tests.
2547
2548         * Scripts/webkitpy/w3c/test_importer.py:
2549         (parse_args): Add '--clean-dest-dir' option.
2550         (TestImporter.do_import):
2551         (TestImporter._is_baseline): helper routine to capture -expected.txt files.
2552         (TestImporter):
2553         (TestImporter._should_not_keep_when_importing): helper routine to filter files that should not be cleaned before importing.
2554         (TestImporter.clean_destination_directory):
2555         (TestImporter.remove_dangling_expectations):
2556         * Scripts/webkitpy/w3c/test_importer_unittest.py:
2557         (TestImporterTest._parse_options):
2558         (TestImporterTest.test_import_dir_with_no_tests_and_no_hg):
2559         (TestImporterTest.test_import_dir_with_no_tests):
2560         (TestImporterTest.test_import_dir_with_empty_init_py):
2561         (test_clean_directory_option):
2562
2563 2016-02-25  Myles C. Maxfield  <mmaxfield@apple.com>
2564
2565         REGRESSION(r195795): [WK2] fast/text/crash-complex-text-surrogate.html is flakey
2566         https://bugs.webkit.org/show_bug.cgi?id=154709
2567         <rdar://problem/24483596>
2568
2569         Reviewed by Dan Bernstein.
2570
2571         Force auto-activation rules to a consistent state.
2572
2573         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
2574         (WTR::InjectedBundle::platformInitialize):
2575
2576 2016-02-25  Jiewen Tan  <jiewen_tan@apple.com>
2577
2578         Unreivewed build fix for r197150.
2579
2580         * TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.mm:
2581
2582 2016-02-25  Jiewen Tan  <jiewen_tan@apple.com>
2583
2584         Restrict information passed with navigation action which is triggered by untrusted event
2585         https://bugs.webkit.org/show_bug.cgi?id=154571
2586         <rdar://problem/15967937>
2587
2588         Reviewed by Andy Estes.
2589
2590         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2591         * TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.mm: Added.
2592         (-[WKNavigationActionDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
2593         (TestWebKitAPI::TEST):
2594         (-[NavigationActionDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2595         * TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.html: Added.
2596
2597 2016-02-25  Gavin Barraclough  <barraclough@apple.com>
2598
2599         Should template RefCounter instead of RefCounter::Token
2600         https://bugs.webkit.org/show_bug.cgi?id=154691
2601
2602         Reviewed by Anders Carlsson.
2603
2604         Mechanical update per RefCounter interface change.
2605
2606         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
2607         (TestWebKitAPI::TEST):
2608
2609 2016-02-25  Skachkov Aleksandr  <gskachkov@gmail.com>
2610
2611         Unreviewed: Add Aleksandr Skachkov as a commiter
2612
2613         * Scripts/webkitpy/common/config/contributors.json:
2614
2615 2016-02-25  Sam Weinig  <sam@webkit.org>
2616
2617         HashMap::ensure() should return an AddResult like all the other add-like functions
2618         https://bugs.webkit.org/show_bug.cgi?id=154680
2619
2620         Reviewed by Anders Carlsson.
2621
2622         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
2623         (TestWebKitAPI::TEST):
2624         Update tests to use/test the new AddResult result.
2625
2626 2016-02-25  Alexey Proskuryakov  <ap@apple.com>
2627
2628         Enable MallocScribble when detecting leaks
2629         https://bugs.webkit.org/show_bug.cgi?id=154679
2630
2631         Reviewed by Geoffrey Garen.
2632
2633         * Scripts/webkitpy/port/ios.py:
2634         (IOSSimulatorPort.setup_environ_for_server):
2635         * Scripts/webkitpy/port/mac.py:
2636         (MacPort.setup_environ_for_server):
2637         * Scripts/webkitpy/port/mac_unittest.py:
2638         (MacTest.test_setup_environ_for_server):
2639
2640 2016-02-25  Eric Carlson  <eric.carlson@apple.com>
2641
2642         Unreviewed, fix iOS builds after r197114.
2643
2644         * WebKitTestRunner/TestController.cpp:
2645         (WTR::createCanonicalUUIDString):
2646         (WTR::TestController::saltForOrigin):
2647
2648 2016-02-25  Eric Carlson  <eric.carlson@apple.com>
2649
2650         [MediaStream] MediaDeviceInfo deviceId and groupId must be unique to the page's origin
2651         https://bugs.webkit.org/show_bug.cgi?id=153163
2652         <rdar://problem/24334526>
2653
2654         Reviewed by Tim Horton.
2655
2656         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2657         (WTR::InjectedBundle::setUserMediaPermissionForOrigin): Take top level document origin.
2658         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2659
2660         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2661         (WTR::TestRunner::setUserMediaPermissionForOrigin): Ditto.
2662         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2663
2664         * WebKitTestRunner/TestController.cpp:
2665         (WTR::decidePolicyForUserMediaPermissionRequest): Pass through top level document origin.
2666         (WTR::checkUserMediaPermissionForOrigin): Ditto.
2667         (WTR::TestController::resetStateToConsistentValues): m_userMediaOriginPermissions -> m_cahcedUserMediaPermissions.
2668         (WTR::originUserVisibleName): Return a String.
2669         (WTR::userMediaOriginHash): Create a hash of the origin plus top level document origin.
2670         (WTR::TestController::saltForOrigin): Return salt for an origin.
2671         (WTR::TestController::setUserMediaPermissionForOrigin): Return permission for an origin.
2672         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin):
2673         (WTR::TestController::handleUserMediaPermissionRequest):
2674         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible):
2675         (WTR::OriginSettings::OriginSettings): New, class to cache settings for an origin.
2676         (WTR::OriginSettings::persistentPermission): Persistent permissions for origin.
2677         (WTR::OriginSettings::setPersistentPermission): Set permissions for origin.
2678         (WTR::OriginSettings::persistentSalt): Return the persistent salt for the origin, if any.
2679         (WTR::OriginSettings::setPersistentSalt): Set the persistent salt for the origin
2680         (WTR::OriginSettings::ephemeralSalts): Return hashmap used to store per-frame salts.
2681         * WebKitTestRunner/TestController.h:
2682
2683         * WebKitTestRunner/TestInvocation.cpp:
2684         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2685
2686 2016-02-24  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
2687
2688         [web-animations] Add AnimationTimeline, DocumentTimeline and add extensions to Document interface
2689         https://bugs.webkit.org/show_bug.cgi?id=151688
2690
2691         Reviewed by Dean Jackson.
2692
2693         Enables the WEB_ANIMATIONS compiler switch by default.
2694
2695         * Scripts/webkitperl/FeatureList.pm:
2696
2697 2016-02-24  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2698
2699         W3C importer should generate all web-platform-tests submodules descriptions
2700         https://bugs.webkit.org/show_bug.cgi?id=154587
2701
2702         Reviewed by Darin Adler.
2703
2704         Updated submodules description format (removing submodule name as it is the last string of the path really).
2705         Added git subroutines.
2706
2707         * Scripts/webkitpy/common/checkout/scm/git.py:
2708         (Git.origin_url):
2709         (Git):
2710         (Git.init_submodules):
2711         (Git.submodules_status):
2712         (Git.deinit_submodules):
2713         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2714         (WebPlatformTestServer._install_modules): Updated to submodule name removal.
2715         * Scripts/webkitpy/w3c/test_downloader.py:
2716         (TestDownloader._git_submodules_description): Updated to cope with recursive submodules (use of submodule init/deinit).
2717         * Scripts/webkitpy/w3c/test_importer_unittest.py:
2718         (TestImporterTest.test_submodules_generation): Reactivated partially this test.
2719
2720 2016-02-23  Dan Bernstein  <mitz@apple.com>
2721
2722         [Xcode] Linker errors display mangled names, but no longer should
2723         https://bugs.webkit.org/show_bug.cgi?id=154632
2724
2725         Reviewed by Sam Weinig.
2726
2727         * ContentExtensionTester/Configurations/Base.xcconfig: Stop setting LINKER_DISPLAYS_MANGLED_NAMES to YES.
2728         * DumpRenderTree/mac/Configurations/Base.xcconfig: Ditto.
2729         * LayoutTestRelay/Configurations/Base.xcconfig: Ditto.
2730         * MiniBrowser/Configurations/Base.xcconfig: Ditto.
2731         * TestWebKitAPI/Configurations/Base.xcconfig: Ditto.
2732         * WebEditingTester/Configurations/Base.xcconfig: Ditto.
2733         * WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
2734
2735 2016-02-23  Anders Carlsson  <andersca@apple.com>
2736
2737         WKWebView should implement NSCoding
2738         https://bugs.webkit.org/show_bug.cgi?id=137160
2739
2740         Reviewed by Dan Bernstein.
2741
2742         Add tests.
2743
2744         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
2745         (TEST):
2746
2747 2016-02-23  Anders Carlsson  <andersca@apple.com>
2748
2749         WKProcessPool should conform to NSCoding
2750         https://bugs.webkit.org/show_bug.cgi?id=154608
2751
2752         Reviewed by Sam Weinig.
2753
2754         Add tests.
2755
2756         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
2757         (TEST):
2758
2759 2016-02-23  Anders Carlsson  <andersca@apple.com>
2760
2761         WKWebsiteDataStore should conform to NSCoding
2762         https://bugs.webkit.org/show_bug.cgi?id=154605
2763
2764         Reviewed by Dan Bernstein.
2765
2766         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
2767         (TEST):
2768
2769 2016-02-23  Anders Carlsson  <andersca@apple.com>
2770
2771         WKWebViewConfiguration should conform to NSCoding
2772         https://bugs.webkit.org/show_bug.cgi?id=154602
2773
2774         Reviewed by Beth Dakin.
2775
2776         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
2777         (TEST):
2778
2779 2016-02-23  Anders Carlsson  <andersca@apple.com>
2780
2781         WKPreferences should conform to NSCoding
2782         https://bugs.webkit.org/show_bug.cgi?id=154597
2783
2784         Reviewed by Sam Weinig.
2785
2786         Test encoding and decoding WKPreferences.
2787
2788         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
2789         (encodeAndDecode):
2790         (TEST):
2791
2792 2016-02-23  Anders Carlsson  <andersca@apple.com>
2793
2794         Fix build.
2795
2796         * TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m:
2797         (-[SyntheticBackingScaleFactorWindow initWithContentRect:styleMask:backing:defer:]):
2798
2799 2016-02-23  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2800
2801         [GTK] Allow to run the WebKitGTK+ MiniBrowser with the run-benchmark script.
2802         https://bugs.webkit.org/show_bug.cgi?id=153993
2803
2804         Reviewed by Carlos Garcia Campos.
2805
2806         * MiniBrowser/gtk/main.c:
2807         (createBrowserWindow): Support --geometry argument for MiniBrowser.
2808         We use this on the gtk_minibrowser_driver script to start the MiniBrowser maximized.
2809         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Fix loading of subclasses:
2810         The base class has to be loaded first, otherwise any subclase referencing it will give import error.
2811         In OSX the ordering of os.listdir() causes the base class (browser_driver.py) to be first on the list, but not on Linux.
2812         By specifiying the name of the base class file, we ensure it is always loaded first on any system despite the ordering of listdir.
2813         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
2814         (BrowserDriverFactory.create):
2815         * Scripts/webkitpy/benchmark_runner/browser_driver/gtk_browser_driver.py: Added.
2816         (GTKBrowserDriver):
2817         (GTKBrowserDriver.prepare_env):
2818         (GTKBrowserDriver.restore_env):
2819         (GTKBrowserDriver.close_browsers):
2820         (GTKBrowserDriver._launch_process):
2821         (GTKBrowserDriver._terminate_processes):
2822         (GTKBrowserDriver._screen_size):
2823         * Scripts/webkitpy/benchmark_runner/browser_driver/gtk_minibrowser_driver.py: Added.
2824         (GTKMiniBrowserDriver):
2825         (GTKMiniBrowserDriver.prepare_env):
2826         (GTKMiniBrowserDriver.launch_url):
2827         (GTKMiniBrowserDriver.close_browsers):
2828         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Fix loading of subclasses. See description above.
2829         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
2830         (SimpleHTTPServerDriver):
2831         (SimpleHTTPServerDriver.kill_server): Check if the server is still running before trying to terminate it.
2832         Usually the server ends gracefully (no need to terminate it), so this was causing ugly errors on the log.
2833         * Scripts/webkitpy/benchmark_runner/utils.py: Fix loading of subclasses. See description above.
2834         (load_subclasses):
2835
2836 2016-02-23  Alejandro G. Castro  <alex@igalia.com>
2837
2838         [GTK] Missing configuration patch for openh264 compilation
2839         https://bugs.webkit.org/show_bug.cgi?id=154455
2840
2841         This patch is required for the openh264 compilation with the
2842         jhbuild-webrtc.modules. The code was implemented by Alessandro
2843         Decina.
2844
2845         Reviewed by Philippe Normand.
2846
2847         * gtk/patches/openh264-configure.patch: Added.
2848
2849 2016-02-20  Olivier Blin  <olivier.blin@softathome.com>
2850
2851         [cmake] Use ICU include dirs in WebKit2 and WebKitTestRunner
2852         https://bugs.webkit.org/show_bug.cgi?id=154479
2853
2854         Reviewed by Michael Catanzaro.
2855
2856         * WebKitTestRunner/CMakeLists.txt:
2857
2858 2016-02-19  Konstantin Tokarev  <annulen@yandex.ru>
2859
2860         [GTK] Fixed link error when G_DEFINE_AUTOPTR_CLEANUP_FUNC is not defined.
2861         https://bugs.webkit.org/show_bug.cgi?id=154467
2862
2863         Reviewed by Michael Catanzaro.
2864
2865         * TestWebKitAPI/Tests/WebKit2Gtk/TestAutocleanups.cpp:
2866         (beforeAll):
2867         (afterAll):
2868
2869 2016-02-19  Brady Eidson  <beidson@apple.com>
2870
2871         Add "databaseProcessDidCrash" to the WKContextClient; Adopt it in WKTR.
2872         https://bugs.webkit.org/show_bug.cgi?id=154428
2873
2874         Reviewed by Jer Noble.
2875
2876         * WebKitTestRunner/TestController.cpp:
2877         (WTR::TestController::generatePageConfiguration):
2878         (WTR::TestController::databaseProcessName):
2879         (WTR::TestController::databaseProcessDidCrash):
2880         * WebKitTestRunner/TestController.h:
2881
2882 2016-02-18  Philippe Normand  <pnormand@igalia.com>
2883
2884         [GStreamer] Bump internal jhbuild versions to 1.6.3
2885         https://bugs.webkit.org/show_bug.cgi?id=149594
2886
2887         Reviewed by Michael Catanzaro.
2888
2889         * gtk/jhbuild.modules: Bump to GStreamer 1.6.3.
2890         * gtk/patches/gst-plugins-bad-fix-faad2-version-check.patch: Removed.
2891         * gtk/patches/gst-plugins-bad-remove-gnustep-support.patch: Removed.
2892         * gtk/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Removed.
2893
2894 2016-02-18  Brent Fulgham  <bfulgham@apple.com>
2895
2896         Extend HashCountedSet with a method to efficiently set the count of an entry
2897         https://bugs.webkit.org/show_bug.cgi?id=154352
2898
2899         Reviewed by Geoffrey Garen.
2900
2901         * TestWebKitAPI/CMakeLists.txt: Add new HashCountedSet test files.
2902         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
2903         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp: Added.
2904
2905 2016-02-18  Commit Queue  <commit-queue@webkit.org>
2906
2907         Unreviewed, rolling out r196791.
2908         https://bugs.webkit.org/show_bug.cgi?id=154438
2909
2910         broke windows build (Requested by alexchristensen on #webkit).
2911
2912         Reverted changeset:
2913
2914         "Extend HashCountedSet with a method to efficiently set the
2915         count of an entry"
2916         https://bugs.webkit.org/show_bug.cgi?id=154352
2917         http://trac.webkit.org/changeset/196791
2918
2919 2016-02-18  Brent Fulgham  <bfulgham@apple.com>
2920
2921         Extend HashCountedSet with a method to efficiently set the count of an entry
2922         https://bugs.webkit.org/show_bug.cgi?id=154352
2923
2924         Reviewed by Geoffrey Garen.
2925
2926         * TestWebKitAPI/CMakeLists.txt: Add new HashCountedSet test files.
2927         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
2928         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp: Added.
2929
2930 2016-02-18  Anders Carlsson  <andersca@apple.com>
2931
2932         Get rid of the --target-web-process and --use-web-process-xpc-service options.
2933
2934         Rubber-stamped by Dan Bernstein.
2935
2936         We now always use XPC, and --target-web-process is no longer supported.
2937
2938         * Scripts/webkitdirs.pm:
2939         (execMacWebKitAppForDebugging):
2940         (shouldTargetWebProcess): Deleted.
2941         (determineShouldTargetWebProcess): Deleted.
2942         (shouldUseXPCServiceForWebProcess): Deleted.
2943         (determineShouldUseXPCServiceForWebProcess): Deleted.
2944         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded): Deleted.
2945         (argumentsForRunAndDebugMacWebKitApp): Deleted.
2946
2947 2016-02-18  Ryan Haddad  <ryanhaddad@apple.com>
2948
2949         Skip API test WTF_ParkingLot.UnparkOneFiftyThenFiftyAll on ios-simulator
2950         https://bugs.webkit.org/show_bug.cgi?id=153997
2951
2952         Reviewed by Filip Pizlo.
2953
2954         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp:
2955
2956 2016-02-18  Jer Noble  <jer.noble@apple.com>
2957
2958         run-webkit-httpd should use webkitpy to run httpd.
2959         https://bugs.webkit.org/show_bug.cgi?id=154271
2960
2961         Reviewed by Alexey Proskuryakov.
2962
2963         Update run-webkit-httpd to use webkitpy.port to launch httpd. Pass on http_port and http_all_interface
2964         options to match the current run-webkit-httpd (optional) behavior.
2965
2966         * Scripts/run-webkit-httpd:
2967         (parse_args):
2968         (main):
2969         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
2970         (LayoutTestApacheHttpd.__init__):
2971         * Scripts/webkitpy/layout_tests/servers/http_server.py:
2972         (Lighttpd._prepare_config):
2973         * Scripts/webkitpy/port/base.py:
2974         (Port.to.start_http_server):
2975
2976 2016-02-18  Filip Pizlo  <fpizlo@apple.com>
2977
2978         Remove remaining references to LLVM, and make sure comments refer to the backend as "B3" not "LLVM"
2979         https://bugs.webkit.org/show_bug.cgi?id=154383
2980
2981         Reviewed by Saam Barati.
2982
2983         * Scripts/run-jsc-stress-tests:
2984
2985 2016-02-17  Filip Pizlo  <fpizlo@apple.com>
2986
2987         Remove LLVM dependencies from WebKit
2988         https://bugs.webkit.org/show_bug.cgi?id=154323
2989
2990         Reviewed by Antti Koivisto and Benjamin Poulain.
2991
2992         * Scripts/copy-webkitlibraries-to-product-directory:
2993         (isContentOfFileEqualToString):
2994         (fileContains): Deleted.
2995         (buildLLVM): Deleted.
2996         (symlinkLLVMLibrariesIfNeeded): Deleted.
2997
2998 2016-02-16  Sam Weinig  <sam@webkit.org>
2999
3000         Add an ensure function on HashMap that takes a key and a function to make the lazy value initialization idiom easier
3001         https://bugs.webkit.org/show_bug.cgi?id=134857
3002
3003         Reviewed by Geoffrey Garen.
3004
3005         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
3006         Add tests for HashMap::ensure.
3007
3008 2016-02-17  Nan Wang  <n_wang@apple.com>
3009
3010         AX: Implement sentence related text marker functions using TextIterator
3011         https://bugs.webkit.org/show_bug.cgi?id=154312
3012
3013         Reviewed by Chris Fleizach.
3014
3015         * DumpRenderTree/AccessibilityUIElement.cpp:
3016         (nextParagraphEndTextMarkerForTextMarkerCallback):
3017         (sentenceTextMarkerRangeForTextMarkerCallback):
3018         (previousSentenceStartTextMarkerForTextMarkerCallback):
3019         (nextSentenceEndTextMarkerForTextMarkerCallback):
3020         (setSelectedVisibleTextRangeCallback):
3021         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3022         (AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
3023         (AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
3024         (AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
3025         (AccessibilityUIElement::getJSClass):
3026         * DumpRenderTree/AccessibilityUIElement.h:
3027         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3028         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3029         (AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
3030         (AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
3031         (AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
3032         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3033         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3034         (AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
3035         (AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
3036         (AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
3037         (AccessibilityUIElement::supportedActions):
3038         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3039         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
3040         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3041         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
3042         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
3043         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
3044         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
3045         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3046         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3047         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3048         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
3049         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
3050         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
3051         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
3052         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
3053         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3054         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3055         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
3056         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
3057         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
3058         (WTR::_convertMathMultiscriptPairsToString):
3059
3060 2016-02-15  Brent Fulgham  <bfulgham@apple.com>
3061
3062         [Mac] Gather some rudimentary statistics during resource load 
3063         https://bugs.webkit.org/show_bug.cgi?id=153575
3064         <rdar://problem/24075254>
3065
3066         Reviewed by Brady Eidson.
3067
3068         * MiniBrowser/mac/SettingsController.h:
3069         * MiniBrowser/mac/SettingsController.m:
3070         (-[SettingsController _populateMenu]): Add menu item for new debug flag.
3071         (-[SettingsController toggleResourceLoadStatisticsEnabled:]): Added.
3072         (-[SettingsController resourceLoadStatisticsEnabled]): Added.
3073         * MiniBrowser/mac/WK1BrowserWindowController.m:
3074         (-[WK1BrowserWindowController didChangeSettings]): React to changes in
3075         users's desire to track resource load statistics.
3076
3077 2016-02-15  Csaba Osztrogonác  <ossy@webkit.org>
3078
3079         [EFL] Update Tools/efl/install-dependencies
3080         https://bugs.webkit.org/show_bug.cgi?id=154239
3081
3082         Reviewed by Michael Catanzaro.
3083
3084         * efl/install-dependencies:
3085
3086 2016-02-15  Alex Christensen  <achristensen@webkit.org>
3087
3088         Fix internal Windows build of projects built after WebKit
3089         https://bugs.webkit.org/show_bug.cgi?id=154249
3090         rdar://problem/24644805
3091
3092         Reviewed by Chris Dumez.
3093
3094         * DumpRenderTree/PlatformWin.cmake:
3095         * MiniBrowser/win/CMakeLists.txt:
3096         Don't include DerivedSources/WebKit/Interfaces to make MiniBrowser and DumpRenderTree
3097         more like projects built internally after WebKit.  They should only need to use what
3098         is in ForwardingHeaders/WebKit.
3099
3100 2016-02-12  Nan Wang  <n_wang@apple.com>
3101
3102         AX: Implement paragraph related text marker functions using TextIterator
3103         https://bugs.webkit.org/show_bug.cgi?id=154098
3104         <rdar://problem/24269675>
3105
3106         Reviewed by Chris Fleizach.
3107
3108         * DumpRenderTree/AccessibilityUIElement.cpp:
3109         (nextWordEndTextMarkerForTextMarkerCallback):
3110         (paragraphTextMarkerRangeForTextMarkerCallback):
3111         (previousParagraphStartTextMarkerForTextMarkerCallback):
3112         (nextParagraphEndTextMarkerForTextMarkerCallback):
3113         (setSelectedVisibleTextRangeCallback):
3114         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3115         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
3116         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
3117         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3118         (AccessibilityUIElement::getJSClass):
3119         * DumpRenderTree/AccessibilityUIElement.h:
3120         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3121         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3122         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
3123         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
3124         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3125         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3126         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3127         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
3128         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
3129         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3130         (AccessibilityUIElement::supportedActions):
3131         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3132         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
3133         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
3134         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3135         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
3136         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3137         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
3138         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3139         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3140         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3141         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3142         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
3143         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3144         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
3145         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
3146         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3147         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3148         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
3149         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
3150         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3151         (WTR::_convertMathMultiscriptPairsToString):
3152
3153 2016-02-12  Jason Marcell  <jmarcell@apple.com>
3154
3155         Open source bot watcher's dashboard fails assertion in BuildbotQueue.prototype.compareIterationsByRevisions
3156         https://bugs.webkit.org/show_bug.cgi?id=154180
3157
3158         Reviewed by Alexey Proskuryakov.
3159
3160         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js: Remove reference to Internal
3161         repository.
3162
3163 2016-02-12  Jer Noble  <jer.noble@apple.com>
3164
3165         [Mac] Adopt MediaResourceLoader (instead of CachedResourceLoader) in WebCoreNSURLSession.
3166         https://bugs.webkit.org/show_bug.cgi?id=154136
3167
3168         Reviewed by Alex Christensen.
3169
3170         Use a MediaResourceLoader instead of a CachedResourceLoader for WebCoreNSURLSession.
3171
3172         Drive-by fix: generate USE and ENABLE macros for TestWebKitAPI by adding FEATURE_DEFINES
3173         to GCC_PREPROCESSOR_DEFINES.
3174
3175         * TestWebKitAPI/Configurations/Base.xcconfig:
3176         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
3177         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
3178         (TestWebKitAPI::WebCoreNSURLSessionTest::TearDown):
3179         (TestWebKitAPI::TEST_F):
3180
3181 2016-02-11  Dana Burkart  <dburkart@apple.com>
3182
3183         Large logs can bring down the webkit master
3184         https://bugs.webkit.org/show_bug.cgi?id=122112
3185
3186         Reviewed by Lucas Forschler.
3187
3188         Implement the suggested fix of throwing away stdout / stderr.
3189
3190         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3191         (RunWebKit1LeakTests):
3192
3193 2016-02-10  Jason Marcell  <jmarcell@apple.com>
3194
3195         Remove calls to parseInt in order to work with non-integer revisions
3196         https://bugs.webkit.org/show_bug.cgi?id=153820
3197
3198         Reviewed by Daniel Bates.
3199
3200         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3201         (BuildbotIteration.prototype.sourceStampChanges): Remove calls to parseInt in order to work with non-integer
3202         revisions.
3203         (BuildbotIteration.prototype._parseData): Ditto.
3204         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
3205         (BuildbotQueue.prototype.update): Ditto.
3206         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js:
3207         (MockBuildbotQueueView.prototype._latestProductiveIteration): Change integers to strings in test code.
3208         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
3209         (MockTrac.prototype.get oldestRecordedRevisionNumber): Ditto.
3210         (MockTrac.prototype.get latestRecordedRevisionNumber): Ditto.
3211         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Ditto.
3212
3213 2016-02-10  Jason Marcell  <jmarcell@apple.com>
3214
3215         Teach dashboard code to compare non-integer revisions
3216         https://bugs.webkit.org/show_bug.cgi?id=152345
3217
3218         Reviewed by Daniel Bates.
3219
3220         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
3221         (BuildbotQueue.prototype.compareIterationsByRevisions): Compare non-integer revisions.
3222         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
3223         (BuildbotQueueView.prototype._appendPendingRevisionCount): Use Trac.indexOfRevision in order to compare non-integer
3224         revisions. Also uses new Trac.commitsOnBranchLaterThanRevision method.
3225         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Ditto.
3226         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Use Trac.indexOfRevision in order to compare non-integer
3227         revisions. Also uses new Trac.nextRevision method to calculate a revision range.
3228         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
3229         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
3230         (Trac.prototype._commitsOnBranch): Renamed this to indicate that it should be a private method used by the latter two new
3231         methods.
3232         (Trac.prototype.commitsOnBranchLaterThanRevision): Finds revisions on a branch later than the specified revision.
3233         (Trac.prototype.commitsOnBranchInRevisionRange): Finds revisions on a branch within a specified range.
3234         (Trac.prototype.nextRevision): Finds the next revision after a given revision on a specific branch.
3235         (Trac.prototype.indexOfRevision): Finds the index of a given revision within the recordedCommits array.
3236         (Trac.prototype.commitsOnBranch): Deleted. Renamed to _commitsOnBranch.
3237         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests.
3238
3239 2016-02-09  Nan Wang  <n_wang@apple.com>
3240
3241         AX: Implement word related text marker functions using TextIterator
3242         https://bugs.webkit.org/show_bug.cgi?id=153939
3243         <rdar://problem/24269605>
3244
3245         Reviewed by Chris Fleizach.
3246
3247         * DumpRenderTree/AccessibilityUIElement.cpp:
3248         (endTextMarkerCallback):
3249         (leftWordTextMarkerRangeForTextMarkerCallback):
3250         (rightWordTextMarkerRangeForTextMarkerCallback):
3251         (previousWordStartTextMarkerForTextMarkerCallback):
3252         (nextWordEndTextMarkerForTextMarkerCallback):
3253         (setSelectedVisibleTextRangeCallback):
3254         (AccessibilityUIElement::setSelectedVisibleTextRange):
3255         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
3256         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
3257         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
3258         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3259         (AccessibilityUIElement::getJSClass):
3260         * DumpRenderTree/AccessibilityUIElement.h:
3261         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3262         (AccessibilityUIElement::setSelectedVisibleTextRange):
3263         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
3264         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
3265         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
3266         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3267         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3268         (AccessibilityUIElement::setSelectedVisibleTextRange):
3269         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
3270         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
3271         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
3272         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3273         (AccessibilityUIElement::supportedActions):
3274         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3275         (WTR::AccessibilityUIElement::setBoolAttributeValue):
3276         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
3277         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
3278         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
3279         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3280         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3281         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3282         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3283         (WTR::AccessibilityUIElement::endTextMarker):
3284         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
3285         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
3286         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
3287         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3288         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
3289         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3290         (WTR::AccessibilityUIElement::endTextMarker):
3291         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
3292         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
3293         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
3294         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3295         (WTR::_convertMathMultiscriptPairsToString):
3296
3297 2016-02-09  Csaba Osztrogonác  <ossy@webkit.org>
3298
3299         [EFL] Remove eail related cruft after r195725
3300         https://bugs.webkit.org/show_bug.cgi?id=154030
3301
3302         Reviewed by Alex Christensen.
3303
3304         * efl/jhbuildrc:
3305
3306 2016-02-09  Csaba Osztrogonác  <ossy@webkit.org>
3307
3308         [EFL] Remove LLVM related cruft after r196077
3309         https://bugs.webkit.org/show_bug.cgi?id=154031
3310
3311         Reviewed by Alex Christensen.
3312
3313         * efl/jhbuild.modules:
3314         * efl/patches/llvm-elf-add-stackmaps-arm64.patch: Removed.
3315         * efl/patches/llvm-elf-allow-fde-references-outside-the-2gb-range-arm64.patch: Removed.
3316         * efl/patches/llvm-version-arm64.patch: Removed.
3317
3318 2016-02-05  Aakash Jain  <aakash_jain@apple.com>
3319
3320         tests fail if display sleeps while run-webkit-tests is running
3321         https://bugs.webkit.org/show_bug.cgi?id=153919
3322
3323         Reviewed by Alexey Proskuryakov.
3324
3325         * DumpRenderTree/mac/LayoutTestHelper.m:
3326         (addDisplaySleepAssertion): Add the assertion so that the display doesn't turn off.
3327         (releaseDisplaySleepAssertion): Release the DisplaySleep Assertion.
3328         (simpleSignalHandler): Release the DisplaySleepAssertion in case of any iterrupt.
3329
3330 2016-02-05  Alex Christensen  <achristensen@webkit.org>
3331
3332         Fix iOS API tests after r196082
3333         https://bugs.webkit.org/show_bug.cgi?id=153900
3334
3335         Reviewed by Jer Noble.
3336
3337         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
3338         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
3339         [WebView initialize] doesn't call JSC::initializeThreading on iOS.
3340
3341 2016-02-04  Jason Marcell  <jmarcell@apple.com>
3342
3343         The status message for passing combined builder queues should say "all builds succeeded" when expanded.
3344         https://bugs.webkit.org/show_bug.cgi?id=153882
3345
3346         Reviewed by Alexey Proskuryakov.
3347
3348         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
3349         (BuildbotCombinedQueueView.prototype.update): Set status to "all builds succeeded" for combined builder queues
3350         when expanded.
3351
3352 2016-02-03  Filip Pizlo  <fpizlo@apple.com>
3353
3354         run-jsc-stress-tests should be better at telling you details about test failures
3355         https://bugs.webkit.org/show_bug.cgi?id=153845
3356
3357         Reviewed by Geoffrey Garen.
3358
3359         Here's an example of the contents of results/resultsByFamily, one of the new files that this
3360         generates, for some local testing I'm doing.  Notice how it groups families of tests together.
3361
3362         You won't see this unless you cat results/resultsByFamily.
3363
3364         regress.yaml/Regress/radar-24289839.js:
3365             regress.yaml/Regress/radar-24289839.js.default: PASS
3366             regress.yaml/Regress/radar-24289839.js.ftl: PASS
3367             regress.yaml/Regress/radar-24289839.js.ftl-no-cjit: FAIL
3368             regress.yaml/Regress/radar-24289839.js.ftl-eager-no-cjit: FAIL
3369         
3370         regress.yaml/Regress/radar-24290639.js:
3371             regress.yaml/Regress/radar-24290639.js.default: PASS
3372             regress.yaml/Regress/radar-24290639.js.ftl: PASS
3373             regress.yaml/Regress/radar-24290639.js.ftl-no-cjit: PASS
3374             regress.yaml/Regress/radar-24290639.js.ftl-eager-no-cjit: FAIL
3375         
3376         regress.yaml/Regress/radar-24290670.js: FAILED
3377         
3378         * Scripts/run-jsc-stress-tests:
3379
3380 2016-02-03  Carlos Garcia Campos  <cgarcia@igalia.com>
3381
3382         [WTR] Crash in EventSendingController::contextClick() when context menu event is not handled
3383         https://bugs.webkit.org/show_bug.cgi?id=153835
3384
3385         Reviewed by Martin Robinson.
3386
3387         WKBundlePageCopyContextMenuAtPointInWindow() returns nullptr when
3388         the context menu event is not handled, but we are using the
3389         returned value without null checking it.
3390
3391         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
3392         (WTR::EventSendingController::contextClick):
3393
3394 2016-02-03  Jason Marcell  <jmarcell@apple.com>
3395
3396         Format revisions for display according to repository type
3397         https://bugs.webkit.org/show_bug.cgi?id=153818
3398
3399         Reviewed by Alexey Proskuryakov.
3400
3401         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
3402         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Use new _formatRevisionForDisplay to display revisions according
3403         to repository type.
3404         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
3405         (BuildbotQueueView.prototype._formatRevisionForDisplay): Formats revisions for display according to repository type.
3406         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests to test new
3407         _formatRevisionForDisplay function.
3408
3409 2016-02-03  Aakash Jain  <aakash_jain@apple.com>
3410
3411         Logs/CoreSimulator filling up OS disk on WebKit testers
3412         https://bugs.webkit.org/show_bug.cgi?id=153853
3413         <rdar://problem/24496003>
3414
3415         Reviewed by Alexey Proskuryakov.
3416
3417         * Scripts/webkitpy/port/ios.py:
3418         (IOSSimulatorPort.clean_up_test_run): Delete Logs during cleanup.
3419
3420 2016-02-03  Brian Burg  <bburg@apple.com>
3421
3422         git-add-reviewer should work when run from a subdirectory within the repository
3423         https://bugs.webkit.org/show_bug.cgi?id=153842
3424
3425         Reviewed by David Kilzer.
3426
3427         There are two problems that needed to be fixed:
3428
3429          - We can't assume .git is in $PWD/.git
3430          - We can't specify absolute paths to `git commit`
3431
3432         Fix these problems using the helpers in VCSUtils that were added to
3433         fix this same issue for prepare-changeCogs.
3434
3435         * Scripts/VCSUtils.pm: Export gitDirectory()
3436         * Scripts/git-add-reviewer:
3437         (nonInteractive): Cache gitDirectory() result.
3438         (addReviewer):
3439         (commit):
3440         (changeLogsForCommit): Make paths relative.
3441
3442 2016-02-03  Jer Noble  <jer.noble@apple.com>
3443
3444         Yet another Yosemite build fix.
3445
3446         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
3447
3448 2016-02-03  Jer Noble  <jer.noble@apple.com>
3449
3450         iOS build fix after Yosemite build fix broke iOS build.
3451
3452         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
3453
3454 2016-02-03  Jer Noble  <jer.noble@apple.com>
3455
3456         Yosemite build fix; hide the entire WebCoreNSURLSessionDataTask class from Yosemite and prior.
3457
3458         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
3459
3460 2016-02-03  Joonghun Park  <jh718.park@samsung.com>
3461
3462         [Tools] Remove $additionalCMakeArgs variable because without this variable --cmakeargs options works well
3463         https://bugs.webkit.org/show_bug.cgi?id=153827
3464
3465         Reviewed by Michael Catanzaro.
3466
3467         When an array is passed to subroutines as argument in perl,
3468         a list containing its element is returned from the array.
3469         Currently @$ arguments are being passed, then it is going to be one list
3470         including all the elements not only from @ but also from $.
3471         As a result, --cmakeargs option's value is included in @cmakeArgs
3472         at generateBuildSystemFromCMakeProject subroutine,
3473         so $additionalCMakeArgs doesn't needed anymore.
3474
3475         * Scripts/webkitdirs.pm:
3476         (generateBuildSystemFromCMakeProject):
3477
3478 2016-02-03  Jer Noble  <jer.noble@apple.com>
3479
3480         [Mac] Wrap a resource and resource loader in a NSURLSession-like object for use by lower level frameworks
3481         https://bugs.webkit.org/show_bug.cgi?id=153669
3482
3483         Reviewed by Alex Christensen.
3484
3485         Add an API test for WebCoreNSURLSession, testing that it behaves like a regulare NSURLSession, including
3486         calling appropriate NSURLSessionDelegate callbacks.
3487
3488         Drive-by fix: Add a FeatureDefines.xcconfig to TestWebKitAPI.  Without this, the ENABLE macros in WebCore
3489         header files will not match the one used when compiling WebCore, leading to strange crashes and weird
3490         inconsistencies when calling, e.g., inline methods.
3491
3492         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Added.
3493         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
3494         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3495         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm: Added.
3496         (-[TestNSURLSessionLoaderDelegate webView:didCommitLoadForFrame:]):
3497         (-[TestNSURLSessionDataDelegate URLSession:task:didCompleteWithError:]):
3498         (-[TestNSURLSessionDataDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]):
3499         (-[TestNSURLSessionDataDelegate URLSession:dataTask:didReceiveData:]):
3500         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
3501         (TestWebKitAPI::WebCoreNSURLSessionTest::TearDown):
3502         (TestWebKitAPI::TEST_F):
3503
3504 2016-02-03  Konstantin Tokarev  <annulen@yandex.ru>
3505
3506         [webkitdirs] Clarify logic behind is{PortName} functions.
3507         https://bugs.webkit.org/show_bug.cgi?id=153554
3508
3509         Reviewed by Michael Catanzaro.
3510
3511         * Scripts/webkitdirs.pm:
3512         (prohibitUnknownPort): This function makes determinePortName()
3513         failure fatal.
3514         (determinePortName): Added new function which decides which port are
3515         we building based on command line switches and platform defaults.
3516         (portName): Added getter for determined $portName.
3517         (isEfl): Modified to use portName().
3518         (isGtk): Ditto.
3519         (isWinCairo): Ditto.
3520         (isAppleMacWebKit): Ditto.
3521         (isAppleWinWebKit): Ditto.
3522         (isIOSWebKit): Ditto.
3523         (cmakeBasedPortName): Return portName() with capitalized first letter.
3524         (determineIsEfl): Deleted.
3525         (determineIsGtk): Deleted.
3526         (determineIsWinCairo): Deleted.
3527
3528         * Scripts/build-jsc: Call prohibitUnknownPort().
3529         * Scripts/run-minibrowser: Ditto.
3530         * Scripts/webkitperl/FeatureList.pm: Ditto.
3531         * Scripts/update-webkit: Call determinePortName() instead of
3532         determineIsWinCairo().
3533
3534 2016-02-02  Dan Bernstein  <mitz@apple.com>
3535
3536         Better fix for Layout Test fast/parser/external-entities-in-xslt.xml is flaky on El Capitan (but fails most of the time)
3537         https://bugs.webkit.org/show_bug.cgi?id=153683
3538
3539         Reviewed by Darin Adler.
3540
3541         * Scripts/webkitpy/port/driver.py:
3542         (Driver._setup_environ_for_driver): Reverted change from r196013. DUMPRENDERTREE_TEMP is not
3543           used by any code in the Web Content process. If that ever changed, we should send it over
3544           as a bundle parameter.
3545
3546         * Scripts/webkitpy/port/ios.py:
3547         (IOSSimulatorPort.setup_environ_for_server): Reverted change from r196013.
3548
3549         * Scripts/webkitpy/port/mac.py:
3550         (MacPort.setup_environ_for_server): Ditto.
3551
3552         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
3553         (WTR::InjectedBundle::platformInitialize): Set XML_CATALOG_FILES in the Web Process
3554           environment. This is early enough that libxml2 has not been initialized yet.
3555
3556         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
3557         (WTR::InjectedBundle::platformInitialize): Ditto.
3558
3559 2016-02-02  Dan Bernstein  <mitz@apple.com>
3560
3561         Layout Test fast/parser/external-entities-in-xslt.xml is flaky on El Capitan (but fails most of the time)
3562         https://bugs.webkit.org/show_bug.cgi?id=153683
3563
3564         Reviewed by Alexey Proskuryakov.
3565
3566         Ensure that XML_CATALOG_FILES is set in the Web Content service’s environment as well.
3567
3568         * Scripts/webkitpy/port/driver.py:
3569         (Driver._setup_environ_for_driver): Also set __XPC_DUMPRENDERTREE_TEMP.
3570         * Scripts/webkitpy/port/ios.py:
3571         (IOSSimulatorPort.setup_environ_for_server): Set __XPC_XML_CATALOG_FILES.
3572         * Scripts/webkitpy/port/mac.py:
3573         (MacPort.setup_environ_for_server): Ditto.
3574
3575 2016-01-29 Grzegorz Czajkowski  <g.czajkowski@samsung.com>
3576
3577         [EFL] Virtual Keyboard overlaps MiniBrowser's WebView
3578         https://bugs.webkit.org/show_bug.cgi?id=153009
3579
3580         Reviewed by Gyuyoung Kim.
3581
3582         On mobile, virtual keyboard represented by ecore_imf module appears on
3583         the top of application layer usually covering bottom part of the screen.
3584         If the web page contains the editable content on the bottom of the page
3585         it will be overlapped by keyboard which prevents user from seeing the
3586         typed text.
3587
3588         Pack MiniBrowser layout into conformant widget to allow EFL to guess
3589         the space that will be required by the keyboard, finally resizing it
3590         to the desired size. As a result, webview gets resized and scrolled
3591         into focused elements which makes the editable elements visible while
3592         typing.
3593
3594         More details about elm_conformant widger can be found at:
3595         https://docs.enlightenment.org/elementary/1.15.0/group__Conformant.html
3596         https://docs.enlightenment.org/elementary/1.15.0/conformant_example.html
3597
3598         * MiniBrowser/efl/main.c:
3599         (window_create): pack a box into conformant widget.
3600
3601 2016-02-02  Alejandro G. Castro  <alex@igalia.com>
3602
3603         [GTK][EFL] Upgrade OpenWebRTC dependency
3604         https://bugs.webkit.org/show_bug.cgi?id=153489
3605
3606         Reviewed by Philippe Normand.
3607
3608         * Scripts/run-gtk-tests:
3609         (TestRunner): Avoid running the mediastream API test.
3610         * Scripts/webkitperl/FeatureList.pm: Stop compiling mediastream by
3611         default for gtk and efl.
3612         * gtk/jhbuild-webrtc.modules: Added modules files with
3613         dependencies required to compile and test the mediastream.
3614
3615 2016-02-01  Jason Marcell  <jmarcell@apple.com>
3616
3617         Add code to parse the git branches out of the Trac RSS feed
3618         https://bugs.webkit.org/show_bug.cgi?id=153624
3619
3620         Reviewed by Daniel Bates.
3621
3622         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
3623         (Trac.prototype.commitsOnBranch): Update filter to check for Git branches.
3624         (Trac.prototype._convertCommitInfoElementToObject): Parse Git branches from the Trac RSS feed. Also changed "branchName" to
3625         "branches" and updated the code to work with an array instead of a string.
3626         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
3627         (MockTrac): Refactored example commits out into a constant, MockTrac.EXAMPLE_TRAC_COMMITS.
3628         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml: Added. Test
3629         fixture that contains XML with a Git branch.
3630         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit test to test parsing Git
3631         branches from Trac RSS feed. Also updated code to work with the new MockTrac.EXAMPLE_TRAC_COMMITS constant.
3632
3633 2016-02-01  Brady Eidson  <beidson@apple.com>
3634
3635         Add command line flag to DRT to output the number of tests completed in server mode.
3636         https://bugs.webkit.org/show_bug.cgi?id=153750
3637
3638         Reviewed by Darin Adler.
3639
3640         * DumpRenderTree/mac/DumpRenderTree.mm:
3641         (initializeGlobalsFromCommandLineOptions):
3642         (runTestingServerLoop):
3643
3644 2016-02-01  Jason Marcell  <jmarcell@apple.com>
3645
3646         Improvements to botwatcher's dashboard unit tests.
3647         https://bugs.webkit.org/show_bug.cgi?id=153621
3648
3649         Reviewed by Darin Adler.
3650
3651         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/PopoverTracker.js:
3652         (PopoverTracker): Retain a reference to the PopoverTracker so that we can&nbs