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