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