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