[GTK] Fix incorrect cast
[WebKit-https.git] / Tools / ChangeLog
1 2016-02-26  Michael Catanzaro  <mcatanzaro@igalia.com>
2
3         [GTK] Fix incorrect cast
4
5         Unreviewed.
6
7         * MiniBrowser/gtk/main.c:
8         (createBrowserWindow):
9
10 2016-02-26  Chris Dumez  <cdumez@apple.com>
11
12         Fix the behavior of reflecting IDL attributes of type unsigned long
13         https://bugs.webkit.org/show_bug.cgi?id=154771
14
15         Reviewed by Ryosuke Niwa.
16
17         Update API tests to cover the fixes to the parseHTMLNonNegativeInteger()
18         implementation:
19         - "-0" is parsed as 0.
20         - Range boundaries are now [0; 2147483647].
21
22         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp:
23         (TestWebKitAPI::TEST):
24
25 2016-02-26  Brady Eidson  <beidson@apple.com>
26
27         Modern IDB: New database versions are never committed to SQLite.
28         <rdar://problem/24860952> and https://bugs.webkit.org/show_bug.cgi?id=154741
29         
30         Modern IDB: If a database handle is not open, files are not actually deleted from disk
31         https://bugs.webkit.org/show_bug.cgi?id=154756
32
33         Reviewed by Alex Christensen.
34
35         This also happens to test the previously untested fix for http://trac.webkit.org/changeset/197190
36
37         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
38         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-1.html: Added.
39         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence-2.html: Added.
40         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm: Added.
41         (-[IndexedDBNavigationDelegate webView:didFinishNavigation:]):
42         (-[IndexedDBMessageHandler userContentController:didReceiveScriptMessage:]):
43         (TEST):
44
45 2016-02-26  Commit Queue  <commit-queue@webkit.org>
46
47         Unreviewed, rolling out r197216.
48         https://bugs.webkit.org/show_bug.cgi?id=154766
49
50         Test simply needs updated result (Requested by litherum on
51         #webkit).
52
53         Reverted changeset:
54
55         "Unreviewed, rolling out r197158."
56         https://bugs.webkit.org/show_bug.cgi?id=154758
57         http://trac.webkit.org/changeset/197216
58
59 2016-02-26  Alexey Proskuryakov  <ap@apple.com>
60
61         [iOS Simulator] Reftests don't work
62         https://bugs.webkit.org/show_bug.cgi?id=154764
63
64         Reviewed by Daniel Bates.
65
66         * Scripts/webkitpy/port/image_diff.py: (IOSSimulatorImageDiffer._start):
67         Use simctl instead of sim.
68
69 2016-02-26  Chris Dumez  <cdumez@apple.com>
70
71         Add API test coverage for parseHTMLInteger / parseHTMLNonNegativeInteger
72         https://bugs.webkit.org/show_bug.cgi?id=154714
73
74         Reviewed by Darin Adler.
75
76         Add API test coverage for parseHTMLInteger / parseHTMLNonNegativeInteger as per:
77         - https://html.spec.whatwg.org/multipage/infrastructure.html#signed-integers
78         - https://html.spec.whatwg.org/multipage/infrastructure.html#non-negative-integers
79
80         * TestWebKitAPI/PlatformEfl.cmake:
81         * TestWebKitAPI/PlatformGTK.cmake:
82         * TestWebKitAPI/PlatformWin.cmake:
83         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
84         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
85         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
86         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp: Added.
87         (TestWebKitAPI::testParseHTMLInteger):
88         (TestWebKitAPI::parseHTMLIntegerFails):
89         (TestWebKitAPI::TEST):
90         (TestWebKitAPI::testParseHTMLNonNegativeInteger):
91         (TestWebKitAPI::parseHTMLNonNegativeIntegerFails):
92
93 2016-02-26  Commit Queue  <commit-queue@webkit.org>
94
95         Unreviewed, rolling out r197158.
96         https://bugs.webkit.org/show_bug.cgi?id=154758
97
98         This change did not fix the failing test (Requested by
99         ryanhaddad on #webkit).
100
101         Reverted changeset:
102
103         "REGRESSION(r195795): [WK2] fast/text/crash-complex-text-
104         surrogate.html is flakey"
105         https://bugs.webkit.org/show_bug.cgi?id=154709
106         http://trac.webkit.org/changeset/197158
107
108 2016-02-26  Anders Carlsson  <andersca@apple.com>
109
110         WKWebsiteDataStore/WKWebsiteDataRecord needs to provide size information about each type of data
111         https://bugs.webkit.org/show_bug.cgi?id=154750
112         rdar://problem/23861395
113
114         Reviewed by Tim Horton.
115
116         * MiniBrowser/mac/WK2BrowserWindowController.m:
117         (-[WK2BrowserWindowController fetchWebsiteData:]):
118         Use the new WKWebsiteDataStore SPI to compute data sizes.
119
120 2016-02-25  Gavin Barraclough  <barraclough@apple.com>
121
122         RefCounter value changed callback should be called on all changes (not just zero edge).
123         https://bugs.webkit.org/show_bug.cgi?id=154699
124
125         Reviewed by Geoff Garen.
126
127         RefCounter currently only triggers a callback when the count goes from zero
128         to non-zero and vice-versa. Change that, to be useful to more clients.
129
130         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
131         (TestWebKitAPI::TEST):
132             - Updated for change in RefCounter callback siganture & behaviour.
133
134 2016-02-25  Sam Weinig  <sam@webkit.org>
135
136         Allow WKUserScripts to be run in isolated worlds
137         https://bugs.webkit.org/show_bug.cgi?id=154701
138
139         Reviewed by Anders Carlsson.
140
141         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
142         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorld.mm: Added.
143         (-[SimpleDelegate webView:didFinishNavigation:]):
144         (-[UserContentWorldRemoteObject didObserveNormalWorld]):
145         (-[UserContentWorldRemoteObject didObserveWorldWithName:]):
146         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorldPlugIn.mm: Added.
147         (-[_WKUserContentWorldPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
148         (-[_WKUserContentWorldPlugIn webProcessPlugInBrowserContextController:globalObjectIsAvailableForFrame:inScriptWorld:]):
149         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentWorldProtocol.h: Added.
150
151 2016-02-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
152
153         W3C test importer should have an option to clean the destination directory
154         https://bugs.webkit.org/show_bug.cgi?id=152685
155
156         Reviewed by Darin Adler.
157
158         Adding --clean-dest-dir option to W3C test importer.
159         When this option is set, all files in the destination directory will be deleted
160         except for WebKit specific files (test expectations, .gitignore...) before new tests import.
161         Dangling test expectations are removed after tests import.'
162
163         Adding unit test and minor refactoring for the other tests.
164
165         * Scripts/webkitpy/w3c/test_importer.py:
166         (parse_args): Add '--clean-dest-dir' option.
167         (TestImporter.do_import):
168         (TestImporter._is_baseline): helper routine to capture -expected.txt files.
169         (TestImporter):
170         (TestImporter._should_not_keep_when_importing): helper routine to filter files that should not be cleaned before importing.
171         (TestImporter.clean_destination_directory):
172         (TestImporter.remove_dangling_expectations):
173         * Scripts/webkitpy/w3c/test_importer_unittest.py:
174         (TestImporterTest._parse_options):
175         (TestImporterTest.test_import_dir_with_no_tests_and_no_hg):
176         (TestImporterTest.test_import_dir_with_no_tests):
177         (TestImporterTest.test_import_dir_with_empty_init_py):
178         (test_clean_directory_option):
179
180 2016-02-25  Myles C. Maxfield  <mmaxfield@apple.com>
181
182         REGRESSION(r195795): [WK2] fast/text/crash-complex-text-surrogate.html is flakey
183         https://bugs.webkit.org/show_bug.cgi?id=154709
184         <rdar://problem/24483596>
185
186         Reviewed by Dan Bernstein.
187
188         Force auto-activation rules to a consistent state.
189
190         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
191         (WTR::InjectedBundle::platformInitialize):
192
193 2016-02-25  Jiewen Tan  <jiewen_tan@apple.com>
194
195         Unreivewed build fix for r197150.
196
197         * TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.mm:
198
199 2016-02-25  Jiewen Tan  <jiewen_tan@apple.com>
200
201         Restrict information passed with navigation action which is triggered by untrusted event
202         https://bugs.webkit.org/show_bug.cgi?id=154571
203         <rdar://problem/15967937>
204
205         Reviewed by Andy Estes.
206
207         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
208         * TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.mm: Added.
209         (-[WKNavigationActionDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
210         (TestWebKitAPI::TEST):
211         (-[NavigationActionDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
212         * TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.html: Added.
213
214 2016-02-25  Gavin Barraclough  <barraclough@apple.com>
215
216         Should template RefCounter instead of RefCounter::Token
217         https://bugs.webkit.org/show_bug.cgi?id=154691
218
219         Reviewed by Anders Carlsson.
220
221         Mechanical update per RefCounter interface change.
222
223         * TestWebKitAPI/Tests/WTF/RefCounter.cpp:
224         (TestWebKitAPI::TEST):
225
226 2016-02-25  Skachkov Aleksandr  <gskachkov@gmail.com>
227
228         Unreviewed: Add Aleksandr Skachkov as a commiter
229
230         * Scripts/webkitpy/common/config/contributors.json:
231
232 2016-02-25  Sam Weinig  <sam@webkit.org>
233
234         HashMap::ensure() should return an AddResult like all the other add-like functions
235         https://bugs.webkit.org/show_bug.cgi?id=154680
236
237         Reviewed by Anders Carlsson.
238
239         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
240         (TestWebKitAPI::TEST):
241         Update tests to use/test the new AddResult result.
242
243 2016-02-25  Alexey Proskuryakov  <ap@apple.com>
244
245         Enable MallocScribble when detecting leaks
246         https://bugs.webkit.org/show_bug.cgi?id=154679
247
248         Reviewed by Geoffrey Garen.
249
250         * Scripts/webkitpy/port/ios.py:
251         (IOSSimulatorPort.setup_environ_for_server):
252         * Scripts/webkitpy/port/mac.py:
253         (MacPort.setup_environ_for_server):
254         * Scripts/webkitpy/port/mac_unittest.py:
255         (MacTest.test_setup_environ_for_server):
256
257 2016-02-25  Eric Carlson  <eric.carlson@apple.com>
258
259         Unreviewed, fix iOS builds after r197114.
260
261         * WebKitTestRunner/TestController.cpp:
262         (WTR::createCanonicalUUIDString):
263         (WTR::TestController::saltForOrigin):
264
265 2016-02-25  Eric Carlson  <eric.carlson@apple.com>
266
267         [MediaStream] MediaDeviceInfo deviceId and groupId must be unique to the page's origin
268         https://bugs.webkit.org/show_bug.cgi?id=153163
269         <rdar://problem/24334526>
270
271         Reviewed by Tim Horton.
272
273         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
274         (WTR::InjectedBundle::setUserMediaPermissionForOrigin): Take top level document origin.
275         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
276
277         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
278         (WTR::TestRunner::setUserMediaPermissionForOrigin): Ditto.
279         * WebKitTestRunner/InjectedBundle/TestRunner.h:
280
281         * WebKitTestRunner/TestController.cpp:
282         (WTR::decidePolicyForUserMediaPermissionRequest): Pass through top level document origin.
283         (WTR::checkUserMediaPermissionForOrigin): Ditto.
284         (WTR::TestController::resetStateToConsistentValues): m_userMediaOriginPermissions -> m_cahcedUserMediaPermissions.
285         (WTR::originUserVisibleName): Return a String.
286         (WTR::userMediaOriginHash): Create a hash of the origin plus top level document origin.
287         (WTR::TestController::saltForOrigin): Return salt for an origin.
288         (WTR::TestController::setUserMediaPermissionForOrigin): Return permission for an origin.
289         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin):
290         (WTR::TestController::handleUserMediaPermissionRequest):
291         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible):
292         (WTR::OriginSettings::OriginSettings): New, class to cache settings for an origin.
293         (WTR::OriginSettings::persistentPermission): Persistent permissions for origin.
294         (WTR::OriginSettings::setPersistentPermission): Set permissions for origin.
295         (WTR::OriginSettings::persistentSalt): Return the persistent salt for the origin, if any.
296         (WTR::OriginSettings::setPersistentSalt): Set the persistent salt for the origin
297         (WTR::OriginSettings::ephemeralSalts): Return hashmap used to store per-frame salts.
298         * WebKitTestRunner/TestController.h:
299
300         * WebKitTestRunner/TestInvocation.cpp:
301         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
302
303 2016-02-24  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
304
305         [web-animations] Add AnimationTimeline, DocumentTimeline and add extensions to Document interface
306         https://bugs.webkit.org/show_bug.cgi?id=151688
307
308         Reviewed by Dean Jackson.
309
310         Enables the WEB_ANIMATIONS compiler switch by default.
311
312         * Scripts/webkitperl/FeatureList.pm:
313
314 2016-02-24  Youenn Fablet  <youenn.fablet@crf.canon.fr>
315
316         W3C importer should generate all web-platform-tests submodules descriptions
317         https://bugs.webkit.org/show_bug.cgi?id=154587
318
319         Reviewed by Darin Adler.
320
321         Updated submodules description format (removing submodule name as it is the last string of the path really).
322         Added git subroutines.
323
324         * Scripts/webkitpy/common/checkout/scm/git.py:
325         (Git.origin_url):
326         (Git):
327         (Git.init_submodules):
328         (Git.submodules_status):
329         (Git.deinit_submodules):
330         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
331         (WebPlatformTestServer._install_modules): Updated to submodule name removal.
332         * Scripts/webkitpy/w3c/test_downloader.py:
333         (TestDownloader._git_submodules_description): Updated to cope with recursive submodules (use of submodule init/deinit).
334         * Scripts/webkitpy/w3c/test_importer_unittest.py:
335         (TestImporterTest.test_submodules_generation): Reactivated partially this test.
336
337 2016-02-23  Dan Bernstein  <mitz@apple.com>
338
339         [Xcode] Linker errors display mangled names, but no longer should
340         https://bugs.webkit.org/show_bug.cgi?id=154632
341
342         Reviewed by Sam Weinig.
343
344         * ContentExtensionTester/Configurations/Base.xcconfig: Stop setting LINKER_DISPLAYS_MANGLED_NAMES to YES.
345         * DumpRenderTree/mac/Configurations/Base.xcconfig: Ditto.
346         * LayoutTestRelay/Configurations/Base.xcconfig: Ditto.
347         * MiniBrowser/Configurations/Base.xcconfig: Ditto.
348         * TestWebKitAPI/Configurations/Base.xcconfig: Ditto.
349         * WebEditingTester/Configurations/Base.xcconfig: Ditto.
350         * WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
351
352 2016-02-23  Anders Carlsson  <andersca@apple.com>
353
354         WKWebView should implement NSCoding
355         https://bugs.webkit.org/show_bug.cgi?id=137160
356
357         Reviewed by Dan Bernstein.
358
359         Add tests.
360
361         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
362         (TEST):
363
364 2016-02-23  Anders Carlsson  <andersca@apple.com>
365
366         WKProcessPool should conform to NSCoding
367         https://bugs.webkit.org/show_bug.cgi?id=154608
368
369         Reviewed by Sam Weinig.
370
371         Add tests.
372
373         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
374         (TEST):
375
376 2016-02-23  Anders Carlsson  <andersca@apple.com>
377
378         WKWebsiteDataStore should conform to NSCoding
379         https://bugs.webkit.org/show_bug.cgi?id=154605
380
381         Reviewed by Dan Bernstein.
382
383         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
384         (TEST):
385
386 2016-02-23  Anders Carlsson  <andersca@apple.com>
387
388         WKWebViewConfiguration should conform to NSCoding
389         https://bugs.webkit.org/show_bug.cgi?id=154602
390
391         Reviewed by Beth Dakin.
392
393         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
394         (TEST):
395
396 2016-02-23  Anders Carlsson  <andersca@apple.com>
397
398         WKPreferences should conform to NSCoding
399         https://bugs.webkit.org/show_bug.cgi?id=154597
400
401         Reviewed by Sam Weinig.
402
403         Test encoding and decoding WKPreferences.
404
405         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
406         (encodeAndDecode):
407         (TEST):
408
409 2016-02-23  Anders Carlsson  <andersca@apple.com>
410
411         Fix build.
412
413         * TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m:
414         (-[SyntheticBackingScaleFactorWindow initWithContentRect:styleMask:backing:defer:]):
415
416 2016-02-23  Carlos Alberto Lopez Perez  <clopez@igalia.com>
417
418         [GTK] Allow to run the WebKitGTK+ MiniBrowser with the run-benchmark script.
419         https://bugs.webkit.org/show_bug.cgi?id=153993
420
421         Reviewed by Carlos Garcia Campos.
422
423         * MiniBrowser/gtk/main.c:
424         (createBrowserWindow): Support --geometry argument for MiniBrowser.
425         We use this on the gtk_minibrowser_driver script to start the MiniBrowser maximized.
426         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py: Fix loading of subclasses:
427         The base class has to be loaded first, otherwise any subclase referencing it will give import error.
428         In OSX the ordering of os.listdir() causes the base class (browser_driver.py) to be first on the list, but not on Linux.
429         By specifiying the name of the base class file, we ensure it is always loaded first on any system despite the ordering of listdir.
430         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
431         (BrowserDriverFactory.create):
432         * Scripts/webkitpy/benchmark_runner/browser_driver/gtk_browser_driver.py: Added.
433         (GTKBrowserDriver):
434         (GTKBrowserDriver.prepare_env):
435         (GTKBrowserDriver.restore_env):
436         (GTKBrowserDriver.close_browsers):
437         (GTKBrowserDriver._launch_process):
438         (GTKBrowserDriver._terminate_processes):
439         (GTKBrowserDriver._screen_size):
440         * Scripts/webkitpy/benchmark_runner/browser_driver/gtk_minibrowser_driver.py: Added.
441         (GTKMiniBrowserDriver):
442         (GTKMiniBrowserDriver.prepare_env):
443         (GTKMiniBrowserDriver.launch_url):
444         (GTKMiniBrowserDriver.close_browsers):
445         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py: Fix loading of subclasses. See description above.
446         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
447         (SimpleHTTPServerDriver):
448         (SimpleHTTPServerDriver.kill_server): Check if the server is still running before trying to terminate it.
449         Usually the server ends gracefully (no need to terminate it), so this was causing ugly errors on the log.
450         * Scripts/webkitpy/benchmark_runner/utils.py: Fix loading of subclasses. See description above.
451         (load_subclasses):
452
453 2016-02-23  Alejandro G. Castro  <alex@igalia.com>
454
455         [GTK] Missing configuration patch for openh264 compilation
456         https://bugs.webkit.org/show_bug.cgi?id=154455
457
458         This patch is required for the openh264 compilation with the
459         jhbuild-webrtc.modules. The code was implemented by Alessandro
460         Decina.
461
462         Reviewed by Philippe Normand.
463
464         * gtk/patches/openh264-configure.patch: Added.
465
466 2016-02-20  Olivier Blin  <olivier.blin@softathome.com>
467
468         [cmake] Use ICU include dirs in WebKit2 and WebKitTestRunner
469         https://bugs.webkit.org/show_bug.cgi?id=154479
470
471         Reviewed by Michael Catanzaro.
472
473         * WebKitTestRunner/CMakeLists.txt:
474
475 2016-02-19  Konstantin Tokarev  <annulen@yandex.ru>
476
477         [GTK] Fixed link error when G_DEFINE_AUTOPTR_CLEANUP_FUNC is not defined.
478         https://bugs.webkit.org/show_bug.cgi?id=154467
479
480         Reviewed by Michael Catanzaro.
481
482         * TestWebKitAPI/Tests/WebKit2Gtk/TestAutocleanups.cpp:
483         (beforeAll):
484         (afterAll):
485
486 2016-02-19  Brady Eidson  <beidson@apple.com>
487
488         Add "databaseProcessDidCrash" to the WKContextClient; Adopt it in WKTR.
489         https://bugs.webkit.org/show_bug.cgi?id=154428
490
491         Reviewed by Jer Noble.
492
493         * WebKitTestRunner/TestController.cpp:
494         (WTR::TestController::generatePageConfiguration):
495         (WTR::TestController::databaseProcessName):
496         (WTR::TestController::databaseProcessDidCrash):
497         * WebKitTestRunner/TestController.h:
498
499 2016-02-18  Philippe Normand  <pnormand@igalia.com>
500
501         [GStreamer] Bump internal jhbuild versions to 1.6.3
502         https://bugs.webkit.org/show_bug.cgi?id=149594
503
504         Reviewed by Michael Catanzaro.
505
506         * gtk/jhbuild.modules: Bump to GStreamer 1.6.3.
507         * gtk/patches/gst-plugins-bad-fix-faad2-version-check.patch: Removed.
508         * gtk/patches/gst-plugins-bad-remove-gnustep-support.patch: Removed.
509         * gtk/patches/gst-plugins-base-rtp-rtcpbuffer-fix-typo-in-enum.patch: Removed.
510
511 2016-02-18  Brent Fulgham  <bfulgham@apple.com>
512
513         Extend HashCountedSet with a method to efficiently set the count of an entry
514         https://bugs.webkit.org/show_bug.cgi?id=154352
515
516         Reviewed by Geoffrey Garen.
517
518         * TestWebKitAPI/CMakeLists.txt: Add new HashCountedSet test files.
519         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
520         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp: Added.
521
522 2016-02-18  Commit Queue  <commit-queue@webkit.org>
523
524         Unreviewed, rolling out r196791.
525         https://bugs.webkit.org/show_bug.cgi?id=154438
526
527         broke windows build (Requested by alexchristensen on #webkit).
528
529         Reverted changeset:
530
531         "Extend HashCountedSet with a method to efficiently set the
532         count of an entry"
533         https://bugs.webkit.org/show_bug.cgi?id=154352
534         http://trac.webkit.org/changeset/196791
535
536 2016-02-18  Brent Fulgham  <bfulgham@apple.com>
537
538         Extend HashCountedSet with a method to efficiently set the count of an entry
539         https://bugs.webkit.org/show_bug.cgi?id=154352
540
541         Reviewed by Geoffrey Garen.
542
543         * TestWebKitAPI/CMakeLists.txt: Add new HashCountedSet test files.
544         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
545         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp: Added.
546
547 2016-02-18  Anders Carlsson  <andersca@apple.com>
548
549         Get rid of the --target-web-process and --use-web-process-xpc-service options.
550
551         Rubber-stamped by Dan Bernstein.
552
553         We now always use XPC, and --target-web-process is no longer supported.
554
555         * Scripts/webkitdirs.pm:
556         (execMacWebKitAppForDebugging):
557         (shouldTargetWebProcess): Deleted.
558         (determineShouldTargetWebProcess): Deleted.
559         (shouldUseXPCServiceForWebProcess): Deleted.
560         (determineShouldUseXPCServiceForWebProcess): Deleted.
561         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded): Deleted.
562         (argumentsForRunAndDebugMacWebKitApp): Deleted.
563
564 2016-02-18  Ryan Haddad  <ryanhaddad@apple.com>
565
566         Skip API test WTF_ParkingLot.UnparkOneFiftyThenFiftyAll on ios-simulator
567         https://bugs.webkit.org/show_bug.cgi?id=153997
568
569         Reviewed by Filip Pizlo.
570
571         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp:
572
573 2016-02-18  Jer Noble  <jer.noble@apple.com>
574
575         run-webkit-httpd should use webkitpy to run httpd.
576         https://bugs.webkit.org/show_bug.cgi?id=154271
577
578         Reviewed by Alexey Proskuryakov.
579
580         Update run-webkit-httpd to use webkitpy.port to launch httpd. Pass on http_port and http_all_interface
581         options to match the current run-webkit-httpd (optional) behavior.
582
583         * Scripts/run-webkit-httpd:
584         (parse_args):
585         (main):
586         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
587         (LayoutTestApacheHttpd.__init__):
588         * Scripts/webkitpy/layout_tests/servers/http_server.py:
589         (Lighttpd._prepare_config):
590         * Scripts/webkitpy/port/base.py:
591         (Port.to.start_http_server):
592
593 2016-02-18  Filip Pizlo  <fpizlo@apple.com>
594
595         Remove remaining references to LLVM, and make sure comments refer to the backend as "B3" not "LLVM"
596         https://bugs.webkit.org/show_bug.cgi?id=154383
597
598         Reviewed by Saam Barati.
599
600         * Scripts/run-jsc-stress-tests:
601
602 2016-02-17  Filip Pizlo  <fpizlo@apple.com>
603
604         Remove LLVM dependencies from WebKit
605         https://bugs.webkit.org/show_bug.cgi?id=154323
606
607         Reviewed by Antti Koivisto and Benjamin Poulain.
608
609         * Scripts/copy-webkitlibraries-to-product-directory:
610         (isContentOfFileEqualToString):
611         (fileContains): Deleted.
612         (buildLLVM): Deleted.
613         (symlinkLLVMLibrariesIfNeeded): Deleted.
614
615 2016-02-16  Sam Weinig  <sam@webkit.org>
616
617         Add an ensure function on HashMap that takes a key and a function to make the lazy value initialization idiom easier
618         https://bugs.webkit.org/show_bug.cgi?id=134857
619
620         Reviewed by Geoffrey Garen.
621
622         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
623         Add tests for HashMap::ensure.
624
625 2016-02-17  Nan Wang  <n_wang@apple.com>
626
627         AX: Implement sentence related text marker functions using TextIterator
628         https://bugs.webkit.org/show_bug.cgi?id=154312
629
630         Reviewed by Chris Fleizach.
631
632         * DumpRenderTree/AccessibilityUIElement.cpp:
633         (nextParagraphEndTextMarkerForTextMarkerCallback):
634         (sentenceTextMarkerRangeForTextMarkerCallback):
635         (previousSentenceStartTextMarkerForTextMarkerCallback):
636         (nextSentenceEndTextMarkerForTextMarkerCallback):
637         (setSelectedVisibleTextRangeCallback):
638         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
639         (AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
640         (AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
641         (AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
642         (AccessibilityUIElement::getJSClass):
643         * DumpRenderTree/AccessibilityUIElement.h:
644         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
645         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
646         (AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
647         (AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
648         (AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
649         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
650         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
651         (AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
652         (AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
653         (AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
654         (AccessibilityUIElement::supportedActions):
655         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
656         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
657         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
658         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
659         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
660         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
661         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
662         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
663         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
664         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
665         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
666         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
667         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
668         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
669         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
670         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
671         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
672         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
673         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
674         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
675         (WTR::_convertMathMultiscriptPairsToString):
676
677 2016-02-15  Brent Fulgham  <bfulgham@apple.com>
678
679         [Mac] Gather some rudimentary statistics during resource load 
680         https://bugs.webkit.org/show_bug.cgi?id=153575
681         <rdar://problem/24075254>
682
683         Reviewed by Brady Eidson.
684
685         * MiniBrowser/mac/SettingsController.h:
686         * MiniBrowser/mac/SettingsController.m:
687         (-[SettingsController _populateMenu]): Add menu item for new debug flag.
688         (-[SettingsController toggleResourceLoadStatisticsEnabled:]): Added.
689         (-[SettingsController resourceLoadStatisticsEnabled]): Added.
690         * MiniBrowser/mac/WK1BrowserWindowController.m:
691         (-[WK1BrowserWindowController didChangeSettings]): React to changes in
692         users's desire to track resource load statistics.
693
694 2016-02-15  Csaba Osztrogonác  <ossy@webkit.org>
695
696         [EFL] Update Tools/efl/install-dependencies
697         https://bugs.webkit.org/show_bug.cgi?id=154239
698
699         Reviewed by Michael Catanzaro.
700
701         * efl/install-dependencies:
702
703 2016-02-15  Alex Christensen  <achristensen@webkit.org>
704
705         Fix internal Windows build of projects built after WebKit
706         https://bugs.webkit.org/show_bug.cgi?id=154249
707         rdar://problem/24644805
708
709         Reviewed by Chris Dumez.
710
711         * DumpRenderTree/PlatformWin.cmake:
712         * MiniBrowser/win/CMakeLists.txt:
713         Don't include DerivedSources/WebKit/Interfaces to make MiniBrowser and DumpRenderTree
714         more like projects built internally after WebKit.  They should only need to use what
715         is in ForwardingHeaders/WebKit.
716
717 2016-02-12  Nan Wang  <n_wang@apple.com>
718
719         AX: Implement paragraph related text marker functions using TextIterator
720         https://bugs.webkit.org/show_bug.cgi?id=154098
721         <rdar://problem/24269675>
722
723         Reviewed by Chris Fleizach.
724
725         * DumpRenderTree/AccessibilityUIElement.cpp:
726         (nextWordEndTextMarkerForTextMarkerCallback):
727         (paragraphTextMarkerRangeForTextMarkerCallback):
728         (previousParagraphStartTextMarkerForTextMarkerCallback):
729         (nextParagraphEndTextMarkerForTextMarkerCallback):
730         (setSelectedVisibleTextRangeCallback):
731         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
732         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
733         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
734         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
735         (AccessibilityUIElement::getJSClass):
736         * DumpRenderTree/AccessibilityUIElement.h:
737         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
738         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
739         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
740         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
741         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
742         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
743         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
744         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
745         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
746         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
747         (AccessibilityUIElement::supportedActions):
748         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
749         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
750         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
751         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
752         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
753         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
754         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
755         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
756         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
757         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
758         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
759         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
760         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
761         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
762         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
763         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
764         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
765         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
766         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
767         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
768         (WTR::_convertMathMultiscriptPairsToString):
769
770 2016-02-12  Jason Marcell  <jmarcell@apple.com>
771
772         Open source bot watcher's dashboard fails assertion in BuildbotQueue.prototype.compareIterationsByRevisions
773         https://bugs.webkit.org/show_bug.cgi?id=154180
774
775         Reviewed by Alexey Proskuryakov.
776
777         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js: Remove reference to Internal
778         repository.
779
780 2016-02-12  Jer Noble  <jer.noble@apple.com>
781
782         [Mac] Adopt MediaResourceLoader (instead of CachedResourceLoader) in WebCoreNSURLSession.
783         https://bugs.webkit.org/show_bug.cgi?id=154136
784
785         Reviewed by Alex Christensen.
786
787         Use a MediaResourceLoader instead of a CachedResourceLoader for WebCoreNSURLSession.
788
789         Drive-by fix: generate USE and ENABLE macros for TestWebKitAPI by adding FEATURE_DEFINES
790         to GCC_PREPROCESSOR_DEFINES.
791
792         * TestWebKitAPI/Configurations/Base.xcconfig:
793         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
794         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
795         (TestWebKitAPI::WebCoreNSURLSessionTest::TearDown):
796         (TestWebKitAPI::TEST_F):
797
798 2016-02-11  Dana Burkart  <dburkart@apple.com>
799
800         Large logs can bring down the webkit master
801         https://bugs.webkit.org/show_bug.cgi?id=122112
802
803         Reviewed by Lucas Forschler.
804
805         Implement the suggested fix of throwing away stdout / stderr.
806
807         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
808         (RunWebKit1LeakTests):
809
810 2016-02-10  Jason Marcell  <jmarcell@apple.com>
811
812         Remove calls to parseInt in order to work with non-integer revisions
813         https://bugs.webkit.org/show_bug.cgi?id=153820
814
815         Reviewed by Daniel Bates.
816
817         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
818         (BuildbotIteration.prototype.sourceStampChanges): Remove calls to parseInt in order to work with non-integer
819         revisions.
820         (BuildbotIteration.prototype._parseData): Ditto.
821         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
822         (BuildbotQueue.prototype.update): Ditto.
823         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js:
824         (MockBuildbotQueueView.prototype._latestProductiveIteration): Change integers to strings in test code.
825         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
826         (MockTrac.prototype.get oldestRecordedRevisionNumber): Ditto.
827         (MockTrac.prototype.get latestRecordedRevisionNumber): Ditto.
828         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Ditto.
829
830 2016-02-10  Jason Marcell  <jmarcell@apple.com>
831
832         Teach dashboard code to compare non-integer revisions
833         https://bugs.webkit.org/show_bug.cgi?id=152345
834
835         Reviewed by Daniel Bates.
836
837         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
838         (BuildbotQueue.prototype.compareIterationsByRevisions): Compare non-integer revisions.
839         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
840         (BuildbotQueueView.prototype._appendPendingRevisionCount): Use Trac.indexOfRevision in order to compare non-integer
841         revisions. Also uses new Trac.commitsOnBranchLaterThanRevision method.
842         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Ditto.
843         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Use Trac.indexOfRevision in order to compare non-integer
844         revisions. Also uses new Trac.nextRevision method to calculate a revision range.
845         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
846         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
847         (Trac.prototype._commitsOnBranch): Renamed this to indicate that it should be a private method used by the latter two new
848         methods.
849         (Trac.prototype.commitsOnBranchLaterThanRevision): Finds revisions on a branch later than the specified revision.
850         (Trac.prototype.commitsOnBranchInRevisionRange): Finds revisions on a branch within a specified range.
851         (Trac.prototype.nextRevision): Finds the next revision after a given revision on a specific branch.
852         (Trac.prototype.indexOfRevision): Finds the index of a given revision within the recordedCommits array.
853         (Trac.prototype.commitsOnBranch): Deleted. Renamed to _commitsOnBranch.
854         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests.
855
856 2016-02-09  Nan Wang  <n_wang@apple.com>
857
858         AX: Implement word related text marker functions using TextIterator
859         https://bugs.webkit.org/show_bug.cgi?id=153939
860         <rdar://problem/24269605>
861
862         Reviewed by Chris Fleizach.
863
864         * DumpRenderTree/AccessibilityUIElement.cpp:
865         (endTextMarkerCallback):
866         (leftWordTextMarkerRangeForTextMarkerCallback):
867         (rightWordTextMarkerRangeForTextMarkerCallback):
868         (previousWordStartTextMarkerForTextMarkerCallback):
869         (nextWordEndTextMarkerForTextMarkerCallback):
870         (setSelectedVisibleTextRangeCallback):
871         (AccessibilityUIElement::setSelectedVisibleTextRange):
872         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
873         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
874         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
875         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
876         (AccessibilityUIElement::getJSClass):
877         * DumpRenderTree/AccessibilityUIElement.h:
878         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
879         (AccessibilityUIElement::setSelectedVisibleTextRange):
880         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
881         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
882         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
883         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
884         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
885         (AccessibilityUIElement::setSelectedVisibleTextRange):
886         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
887         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
888         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
889         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
890         (AccessibilityUIElement::supportedActions):
891         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
892         (WTR::AccessibilityUIElement::setBoolAttributeValue):
893         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
894         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
895         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
896         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
897         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
898         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
899         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
900         (WTR::AccessibilityUIElement::endTextMarker):
901         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
902         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
903         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
904         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
905         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
906         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
907         (WTR::AccessibilityUIElement::endTextMarker):
908         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
909         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
910         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
911         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
912         (WTR::_convertMathMultiscriptPairsToString):
913
914 2016-02-09  Csaba Osztrogonác  <ossy@webkit.org>
915
916         [EFL] Remove eail related cruft after r195725
917         https://bugs.webkit.org/show_bug.cgi?id=154030
918
919         Reviewed by Alex Christensen.
920
921         * efl/jhbuildrc:
922
923 2016-02-09  Csaba Osztrogonác  <ossy@webkit.org>
924
925         [EFL] Remove LLVM related cruft after r196077
926         https://bugs.webkit.org/show_bug.cgi?id=154031
927
928         Reviewed by Alex Christensen.
929
930         * efl/jhbuild.modules:
931         * efl/patches/llvm-elf-add-stackmaps-arm64.patch: Removed.
932         * efl/patches/llvm-elf-allow-fde-references-outside-the-2gb-range-arm64.patch: Removed.
933         * efl/patches/llvm-version-arm64.patch: Removed.
934
935 2016-02-05  Aakash Jain  <aakash_jain@apple.com>
936
937         tests fail if display sleeps while run-webkit-tests is running
938         https://bugs.webkit.org/show_bug.cgi?id=153919
939
940         Reviewed by Alexey Proskuryakov.
941
942         * DumpRenderTree/mac/LayoutTestHelper.m:
943         (addDisplaySleepAssertion): Add the assertion so that the display doesn't turn off.
944         (releaseDisplaySleepAssertion): Release the DisplaySleep Assertion.
945         (simpleSignalHandler): Release the DisplaySleepAssertion in case of any iterrupt.
946
947 2016-02-05  Alex Christensen  <achristensen@webkit.org>
948
949         Fix iOS API tests after r196082
950         https://bugs.webkit.org/show_bug.cgi?id=153900
951
952         Reviewed by Jer Noble.
953
954         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
955         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
956         [WebView initialize] doesn't call JSC::initializeThreading on iOS.
957
958 2016-02-04  Jason Marcell  <jmarcell@apple.com>
959
960         The status message for passing combined builder queues should say "all builds succeeded" when expanded.
961         https://bugs.webkit.org/show_bug.cgi?id=153882
962
963         Reviewed by Alexey Proskuryakov.
964
965         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
966         (BuildbotCombinedQueueView.prototype.update): Set status to "all builds succeeded" for combined builder queues
967         when expanded.
968
969 2016-02-03  Filip Pizlo  <fpizlo@apple.com>
970
971         run-jsc-stress-tests should be better at telling you details about test failures
972         https://bugs.webkit.org/show_bug.cgi?id=153845
973
974         Reviewed by Geoffrey Garen.
975
976         Here's an example of the contents of results/resultsByFamily, one of the new files that this
977         generates, for some local testing I'm doing.  Notice how it groups families of tests together.
978
979         You won't see this unless you cat results/resultsByFamily.
980
981         regress.yaml/Regress/radar-24289839.js:
982             regress.yaml/Regress/radar-24289839.js.default: PASS
983             regress.yaml/Regress/radar-24289839.js.ftl: PASS
984             regress.yaml/Regress/radar-24289839.js.ftl-no-cjit: FAIL
985             regress.yaml/Regress/radar-24289839.js.ftl-eager-no-cjit: FAIL
986         
987         regress.yaml/Regress/radar-24290639.js:
988             regress.yaml/Regress/radar-24290639.js.default: PASS
989             regress.yaml/Regress/radar-24290639.js.ftl: PASS
990             regress.yaml/Regress/radar-24290639.js.ftl-no-cjit: PASS
991             regress.yaml/Regress/radar-24290639.js.ftl-eager-no-cjit: FAIL
992         
993         regress.yaml/Regress/radar-24290670.js: FAILED
994         
995         * Scripts/run-jsc-stress-tests:
996
997 2016-02-03  Carlos Garcia Campos  <cgarcia@igalia.com>
998
999         [WTR] Crash in EventSendingController::contextClick() when context menu event is not handled
1000         https://bugs.webkit.org/show_bug.cgi?id=153835
1001
1002         Reviewed by Martin Robinson.
1003
1004         WKBundlePageCopyContextMenuAtPointInWindow() returns nullptr when
1005         the context menu event is not handled, but we are using the
1006         returned value without null checking it.
1007
1008         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
1009         (WTR::EventSendingController::contextClick):
1010
1011 2016-02-03  Jason Marcell  <jmarcell@apple.com>
1012
1013         Format revisions for display according to repository type
1014         https://bugs.webkit.org/show_bug.cgi?id=153818
1015
1016         Reviewed by Alexey Proskuryakov.
1017
1018         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1019         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Use new _formatRevisionForDisplay to display revisions according
1020         to repository type.
1021         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
1022         (BuildbotQueueView.prototype._formatRevisionForDisplay): Formats revisions for display according to repository type.
1023         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests to test new
1024         _formatRevisionForDisplay function.
1025
1026 2016-02-03  Aakash Jain  <aakash_jain@apple.com>
1027
1028         Logs/CoreSimulator filling up OS disk on WebKit testers
1029         https://bugs.webkit.org/show_bug.cgi?id=153853
1030         <rdar://problem/24496003>
1031
1032         Reviewed by Alexey Proskuryakov.
1033
1034         * Scripts/webkitpy/port/ios.py:
1035         (IOSSimulatorPort.clean_up_test_run): Delete Logs during cleanup.
1036
1037 2016-02-03  Brian Burg  <bburg@apple.com>
1038
1039         git-add-reviewer should work when run from a subdirectory within the repository
1040         https://bugs.webkit.org/show_bug.cgi?id=153842
1041
1042         Reviewed by David Kilzer.
1043
1044         There are two problems that needed to be fixed:
1045
1046          - We can't assume .git is in $PWD/.git
1047          - We can't specify absolute paths to `git commit`
1048
1049         Fix these problems using the helpers in VCSUtils that were added to
1050         fix this same issue for prepare-changeCogs.
1051
1052         * Scripts/VCSUtils.pm: Export gitDirectory()
1053         * Scripts/git-add-reviewer:
1054         (nonInteractive): Cache gitDirectory() result.
1055         (addReviewer):
1056         (commit):
1057         (changeLogsForCommit): Make paths relative.
1058
1059 2016-02-03  Jer Noble  <jer.noble@apple.com>
1060
1061         Yet another Yosemite build fix.
1062
1063         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
1064
1065 2016-02-03  Jer Noble  <jer.noble@apple.com>
1066
1067         iOS build fix after Yosemite build fix broke iOS build.
1068
1069         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
1070
1071 2016-02-03  Jer Noble  <jer.noble@apple.com>
1072
1073         Yosemite build fix; hide the entire WebCoreNSURLSessionDataTask class from Yosemite and prior.
1074
1075         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
1076
1077 2016-02-03  Joonghun Park  <jh718.park@samsung.com>
1078
1079         [Tools] Remove $additionalCMakeArgs variable because without this variable --cmakeargs options works well
1080         https://bugs.webkit.org/show_bug.cgi?id=153827
1081
1082         Reviewed by Michael Catanzaro.
1083
1084         When an array is passed to subroutines as argument in perl,
1085         a list containing its element is returned from the array.
1086         Currently @$ arguments are being passed, then it is going to be one list
1087         including all the elements not only from @ but also from $.
1088         As a result, --cmakeargs option's value is included in @cmakeArgs
1089         at generateBuildSystemFromCMakeProject subroutine,
1090         so $additionalCMakeArgs doesn't needed anymore.
1091
1092         * Scripts/webkitdirs.pm:
1093         (generateBuildSystemFromCMakeProject):
1094
1095 2016-02-03  Jer Noble  <jer.noble@apple.com>
1096
1097         [Mac] Wrap a resource and resource loader in a NSURLSession-like object for use by lower level frameworks
1098         https://bugs.webkit.org/show_bug.cgi?id=153669
1099
1100         Reviewed by Alex Christensen.
1101
1102         Add an API test for WebCoreNSURLSession, testing that it behaves like a regulare NSURLSession, including
1103         calling appropriate NSURLSessionDelegate callbacks.
1104
1105         Drive-by fix: Add a FeatureDefines.xcconfig to TestWebKitAPI.  Without this, the ENABLE macros in WebCore
1106         header files will not match the one used when compiling WebCore, leading to strange crashes and weird
1107         inconsistencies when calling, e.g., inline methods.
1108
1109         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Added.
1110         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
1111         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1112         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm: Added.
1113         (-[TestNSURLSessionLoaderDelegate webView:didCommitLoadForFrame:]):
1114         (-[TestNSURLSessionDataDelegate URLSession:task:didCompleteWithError:]):
1115         (-[TestNSURLSessionDataDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]):
1116         (-[TestNSURLSessionDataDelegate URLSession:dataTask:didReceiveData:]):
1117         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
1118         (TestWebKitAPI::WebCoreNSURLSessionTest::TearDown):
1119         (TestWebKitAPI::TEST_F):
1120
1121 2016-02-03  Konstantin Tokarev  <annulen@yandex.ru>
1122
1123         [webkitdirs] Clarify logic behind is{PortName} functions.
1124         https://bugs.webkit.org/show_bug.cgi?id=153554
1125
1126         Reviewed by Michael Catanzaro.
1127
1128         * Scripts/webkitdirs.pm:
1129         (prohibitUnknownPort): This function makes determinePortName()
1130         failure fatal.
1131         (determinePortName): Added new function which decides which port are
1132         we building based on command line switches and platform defaults.
1133         (portName): Added getter for determined $portName.
1134         (isEfl): Modified to use portName().
1135         (isGtk): Ditto.
1136         (isWinCairo): Ditto.
1137         (isAppleMacWebKit): Ditto.
1138         (isAppleWinWebKit): Ditto.
1139         (isIOSWebKit): Ditto.
1140         (cmakeBasedPortName): Return portName() with capitalized first letter.
1141         (determineIsEfl): Deleted.
1142         (determineIsGtk): Deleted.
1143         (determineIsWinCairo): Deleted.
1144
1145         * Scripts/build-jsc: Call prohibitUnknownPort().
1146         * Scripts/run-minibrowser: Ditto.
1147         * Scripts/webkitperl/FeatureList.pm: Ditto.
1148         * Scripts/update-webkit: Call determinePortName() instead of
1149         determineIsWinCairo().
1150
1151 2016-02-02  Dan Bernstein  <mitz@apple.com>
1152
1153         Better fix for Layout Test fast/parser/external-entities-in-xslt.xml is flaky on El Capitan (but fails most of the time)
1154         https://bugs.webkit.org/show_bug.cgi?id=153683
1155
1156         Reviewed by Darin Adler.
1157
1158         * Scripts/webkitpy/port/driver.py:
1159         (Driver._setup_environ_for_driver): Reverted change from r196013. DUMPRENDERTREE_TEMP is not
1160           used by any code in the Web Content process. If that ever changed, we should send it over
1161           as a bundle parameter.
1162
1163         * Scripts/webkitpy/port/ios.py:
1164         (IOSSimulatorPort.setup_environ_for_server): Reverted change from r196013.
1165
1166         * Scripts/webkitpy/port/mac.py:
1167         (MacPort.setup_environ_for_server): Ditto.
1168
1169         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
1170         (WTR::InjectedBundle::platformInitialize): Set XML_CATALOG_FILES in the Web Process
1171           environment. This is early enough that libxml2 has not been initialized yet.
1172
1173         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
1174         (WTR::InjectedBundle::platformInitialize): Ditto.
1175
1176 2016-02-02  Dan Bernstein  <mitz@apple.com>
1177
1178         Layout Test fast/parser/external-entities-in-xslt.xml is flaky on El Capitan (but fails most of the time)
1179         https://bugs.webkit.org/show_bug.cgi?id=153683
1180
1181         Reviewed by Alexey Proskuryakov.
1182
1183         Ensure that XML_CATALOG_FILES is set in the Web Content service’s environment as well.
1184
1185         * Scripts/webkitpy/port/driver.py:
1186         (Driver._setup_environ_for_driver): Also set __XPC_DUMPRENDERTREE_TEMP.
1187         * Scripts/webkitpy/port/ios.py:
1188         (IOSSimulatorPort.setup_environ_for_server): Set __XPC_XML_CATALOG_FILES.
1189         * Scripts/webkitpy/port/mac.py:
1190         (MacPort.setup_environ_for_server): Ditto.
1191
1192 2016-01-29 Grzegorz Czajkowski  <g.czajkowski@samsung.com>
1193
1194         [EFL] Virtual Keyboard overlaps MiniBrowser's WebView
1195         https://bugs.webkit.org/show_bug.cgi?id=153009
1196
1197         Reviewed by Gyuyoung Kim.
1198
1199         On mobile, virtual keyboard represented by ecore_imf module appears on
1200         the top of application layer usually covering bottom part of the screen.
1201         If the web page contains the editable content on the bottom of the page
1202         it will be overlapped by keyboard which prevents user from seeing the
1203         typed text.
1204
1205         Pack MiniBrowser layout into conformant widget to allow EFL to guess
1206         the space that will be required by the keyboard, finally resizing it
1207         to the desired size. As a result, webview gets resized and scrolled
1208         into focused elements which makes the editable elements visible while
1209         typing.
1210
1211         More details about elm_conformant widger can be found at:
1212         https://docs.enlightenment.org/elementary/1.15.0/group__Conformant.html
1213         https://docs.enlightenment.org/elementary/1.15.0/conformant_example.html
1214
1215         * MiniBrowser/efl/main.c:
1216         (window_create): pack a box into conformant widget.
1217
1218 2016-02-02  Alejandro G. Castro  <alex@igalia.com>
1219
1220         [GTK][EFL] Upgrade OpenWebRTC dependency
1221         https://bugs.webkit.org/show_bug.cgi?id=153489
1222
1223         Reviewed by Philippe Normand.
1224
1225         * Scripts/run-gtk-tests:
1226         (TestRunner): Avoid running the mediastream API test.
1227         * Scripts/webkitperl/FeatureList.pm: Stop compiling mediastream by
1228         default for gtk and efl.
1229         * gtk/jhbuild-webrtc.modules: Added modules files with
1230         dependencies required to compile and test the mediastream.
1231
1232 2016-02-01  Jason Marcell  <jmarcell@apple.com>
1233
1234         Add code to parse the git branches out of the Trac RSS feed
1235         https://bugs.webkit.org/show_bug.cgi?id=153624
1236
1237         Reviewed by Daniel Bates.
1238
1239         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
1240         (Trac.prototype.commitsOnBranch): Update filter to check for Git branches.
1241         (Trac.prototype._convertCommitInfoElementToObject): Parse Git branches from the Trac RSS feed. Also changed "branchName" to
1242         "branches" and updated the code to work with an array instead of a string.
1243         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
1244         (MockTrac): Refactored example commits out into a constant, MockTrac.EXAMPLE_TRAC_COMMITS.
1245         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml: Added. Test
1246         fixture that contains XML with a Git branch.
1247         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit test to test parsing Git
1248         branches from Trac RSS feed. Also updated code to work with the new MockTrac.EXAMPLE_TRAC_COMMITS constant.
1249
1250 2016-02-01  Brady Eidson  <beidson@apple.com>
1251
1252         Add command line flag to DRT to output the number of tests completed in server mode.
1253         https://bugs.webkit.org/show_bug.cgi?id=153750
1254
1255         Reviewed by Darin Adler.
1256
1257         * DumpRenderTree/mac/DumpRenderTree.mm:
1258         (initializeGlobalsFromCommandLineOptions):
1259         (runTestingServerLoop):
1260
1261 2016-02-01  Jason Marcell  <jmarcell@apple.com>
1262
1263         Improvements to botwatcher's dashboard unit tests.
1264         https://bugs.webkit.org/show_bug.cgi?id=153621
1265
1266         Reviewed by Darin Adler.
1267
1268         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/PopoverTracker.js:
1269         (PopoverTracker): Retain a reference to the PopoverTracker so that we can make assertions about it in the unit tests.
1270         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
1271         (MockTrac): Changing revision 33019 to be on a different branch so that _appendPendingRevisionCount and
1272         _popoverLinesForCommitRange have to traverse commits from different branches.
1273         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Changing equal to strictEqual
1274         in unit test for _appendPendingRevisionCount. Also added assertions for Popover in test for
1275         _revisionContentWithPopoverForIteration.
1276
1277 2016-02-01  Jason Marcell  <jmarcell@apple.com>
1278
1279         Refactor to add event listeners and start periodic updates for all trac instances.
1280         https://bugs.webkit.org/show_bug.cgi?id=153609
1281
1282         Reviewed by Darin Adler.
1283
1284         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1285         (BuildbotQueueView): Adding event listeners for all trac instances.
1286         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Starting periodic updates
1287         for all trac instances.
1288
1289 2016-01-31  Darin Adler  <darin@apple.com>
1290
1291         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
1292         https://bugs.webkit.org/show_bug.cgi?id=153639
1293
1294         Reviewed by Filip Pizlo.
1295
1296         * Scripts/do-webcore-rename: Use script to do this rename.
1297
1298 2016-01-30  Commit Queue  <commit-queue@webkit.org>
1299
1300         Unreviewed, rolling out r195911.
1301         https://bugs.webkit.org/show_bug.cgi?id=153723
1302
1303         Caused frequent assertion failures on bots (Requested by ap on
1304         #webkit).
1305
1306         Reverted changeset:
1307
1308         "Replace CaseFoldingHash with ASCIICaseInsensitiveHash"
1309         https://bugs.webkit.org/show_bug.cgi?id=153639
1310         http://trac.webkit.org/changeset/195911
1311
1312 2016-01-30  Darin Adler  <darin@apple.com>
1313
1314         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
1315         https://bugs.webkit.org/show_bug.cgi?id=153639
1316
1317         Reviewed by Filip Pizlo.
1318
1319         * Scripts/do-webcore-rename: Use script to do this rename.
1320
1321 2016-01-30  Ryosuke Niwa  <rniwa@webkit.org>
1322
1323         TouchList should be retargeted
1324         https://bugs.webkit.org/show_bug.cgi?id=149592
1325
1326         Reviewed by Antti Koivisto.
1327
1328         Added touchDownAtPoint and liftUpAtPoint to UIScriptController so that we can test touch events with
1329         multiple touch targets on iOS. fast/shadow-dom/touch-event-ios.html uses this new testing feature.
1330
1331         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
1332         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
1333         (WTR::UIScriptController::touchDownAtPoint): Added.
1334         (WTR::UIScriptController::liftUpAtPoint): Added.
1335         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
1336         * WebKitTestRunner/ios/HIDEventGenerator.h:
1337         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1338         (-[HIDEventGenerator touchDown:touchCount:completionBlock:]): Added. Sends touch down and waits.
1339         (-[HIDEventGenerator liftUp:touchCount:completionBlock:]): Ditto for lift up.
1340         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1341         (WTR::UIScriptController::touchDownAtPoint): Added.
1342         (WTR::UIScriptController::liftUpAtPoint): Added.
1343
1344 2016-01-30  Yusuke Suzuki  <utatane.tea@gmail.com>
1345
1346         Enable SamplingProfiler on POSIX environment
1347         https://bugs.webkit.org/show_bug.cgi?id=153584
1348
1349         Reviewed by Michael Saboff.
1350
1351         * Scripts/run-jsc-stress-tests:
1352
1353 2016-01-29  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
1354
1355         update-webkit-dependency fails to fetch updates through firewall on Windows
1356         https://bugs.webkit.org/show_bug.cgi?id=153619
1357
1358         Reviewed by Myles C. Maxfield.
1359
1360         On Windows, when a firewall is present we need to read proxy settings
1361         from environment variables.
1362
1363         This patch relies on the following environment variables being set:
1364         HTTP_PROXY
1365         HTTPS_PROXY
1366
1367         * Scripts/update-webkit-dependency:
1368
1369 2016-01-28  Dan Bernstein  <mitz@apple.com>
1370
1371         [Cocoa] Use the non-Development variants of XPC services for development
1372         https://bugs.webkit.org/show_bug.cgi?id=152545
1373
1374         Reviewed by Darin Adler.
1375
1376         * Scripts/webkitdirs.pm:
1377         (setUpGuardMallocIfNeeded): Ensure that libgmalloc is loaded into XPC services as well.
1378
1379         * Scripts/webkitpy/port/driver.py:
1380         (Driver._setup_environ_for_driver): Ensure that the DYLD_LIBRARY_PATH and ASAN_OPTIONS are
1381           set in the XPC services as well.
1382
1383         * Scripts/webkitpy/port/ios.py:
1384         (IOSSimulatorPort.setup_environ_for_server): Ensure that malloc stack logging for leaks and
1385           Guard Malloc are enabled in XPC services as well.
1386
1387         * Scripts/webkitpy/port/mac.py:
1388         (MacPort.setup_environ_for_server): Ditto.
1389
1390 2016-01-28  Csaba Osztrogonác  <ossy@webkit.org>
1391
1392         Unreviewed buildfix after r195743.
1393
1394         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1395         (WTR::AccessibilityUIElement::isPressActionSupported):
1396
1397 2016-01-12  Jer Noble  <jer.noble@apple.com>
1398
1399         Custom protocol loading through AVFoundation does not support byte-range requests.
1400         https://bugs.webkit.org/show_bug.cgi?id=152919
1401         <rdar://problem/23664657>
1402
1403         Reviewed by Alex Christensen.
1404
1405         Add tests for new ParsedContntRange class.
1406
1407         * TestWebKitAPI/PlatformWin.cmake:
1408         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
1409         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
1410         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1411         * TestWebKitAPI/Tests/WebCore/ParsedContentRange.cpp: Added.
1412         (TestWebKitAPI::TEST):
1413
1414 2016-01-28  Konstantin Tokarev  <annulen@yandex.ru>
1415
1416         Use isAnyWindows() instead of isCygwin() || isWindows() in Perl scripts.
1417         https://bugs.webkit.org/show_bug.cgi?id=153594
1418
1419         Reviewed by Alex Christensen.
1420
1421         * Scripts/webkitdirs.pm:
1422         (determineNumberOfCPUs):
1423         (jscPath):
1424         (checkFrameworks):
1425         (setupCygwinEnv):
1426         (wrapperPrefixIfNeeded):
1427         (cmakeGeneratedBuildfile):
1428         (generateBuildSystemFromCMakeProject):
1429         * Scripts/webkitperl/features.pm:
1430         (libraryContainsSymbol):
1431
1432 2016-01-28  Chris Dumez  <cdumez@apple.com>
1433
1434         Unreviewed, rolling out r195742.
1435
1436         Broke EWS
1437
1438         Reverted changeset:
1439
1440         "[webkitdirs] Clarify logic behind is{PortName} functions."
1441         https://bugs.webkit.org/show_bug.cgi?id=153554
1442         http://trac.webkit.org/changeset/195742
1443
1444 2016-01-28  Darin Adler  <darin@apple.com>
1445
1446         Remove equalIgnoringCase since all callers really wanted equalIgnoringASCIICase
1447         https://bugs.webkit.org/show_bug.cgi?id=153411
1448
1449         Reviewed by Ryosuke Niwa.
1450
1451         * Scripts/do-webcore-rename: Removed rename of equalIgnoringCase since we
1452         have removed the function instead.
1453
1454         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1455         (TestWebKitAPI::TEST): Updated test since nullptr is now ambiguous since we
1456         added overloads for const char*.
1457
1458         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1459         (WTR::AccessibilityUIElement::isPressActionSupported): Use equalLettersIgnoringASCIICase.
1460         (WTR::AccessibilityUIElement::hasPopup): Ditto.
1461         * WebKitTestRunner/cocoa/CrashReporterInfo.mm:
1462         (WTR::testPathFromURL): Ditto.
1463
1464 2016-01-28  Konstantin Tokarev  <annulen@yandex.ru>
1465
1466         [webkitdirs] Clarify logic behind is{PortName} functions.
1467         https://bugs.webkit.org/show_bug.cgi?id=153554
1468
1469         Reviewed by Darin Adler.
1470
1471         * Scripts/webkitdirs.pm:
1472         (determinePortName): Added new function which decides which port are
1473         we building based on command line switches and platform defaults.
1474         (portName): Added getter for determined $portName.
1475         (isEfl): Modified to use portName().
1476         (isGtk): Ditto.
1477         (isWinCairo): Ditto.
1478         (isAppleMacWebKit): Ditto.
1479         (isAppleWinWebKit): Ditto.
1480         (isIOSWebKit): Ditto.
1481         (cmakeBasedPortName): Code replaced with portName() call.
1482         (determineIsEfl): Deleted.
1483         (determineIsGtk): Deleted.
1484         (determineIsWinCairo): Deleted.
1485
1486 2016-01-28  Konstantin Tokarev  <annulen@yandex.ru>
1487
1488         [webkitdirs] Don't pass cmakeBasedPortName around.
1489         https://bugs.webkit.org/show_bug.cgi?id=153589
1490
1491         Reviewed by Darin Adler.
1492
1493         It should be local function of webkitdirs.pm instead.
1494
1495         * Scripts/build-jsc: Don't pass cmakeBasedPortName to
1496         buildCMakeProjectOrExit().
1497         * Scripts/build-webkit: Don't pass cmakeBasedPortName to
1498         buildCMakeProjectOrExit() and generateBuildSystemFromCMakeProject().
1499         * Scripts/run-efl-tests: Don't pass cmakeBasedPortName to
1500         generateBuildSystemFromCMakeProject().
1501         * Scripts/webkitdirs.pm: Don't export cmakeBasedPortName.
1502         (generateBuildSystemFromCMakeProject): Removed $port argument as we
1503         can get it from cmakeBasedPortName().
1504         (buildCMakeProjectOrExit): Ditto.
1505
1506 2016-01-28  Gwang Yoon Hwang  <yoon@igalia.com>
1507
1508         [GStreamer] Clean up includes and headers related with GStreamerGL
1509         https://bugs.webkit.org/show_bug.cgi?id=153590
1510
1511         Reviewed by Philippe Normand.
1512
1513         * Scripts/webkitpy/style/checker.py: Skips
1514         include_order check for MediaPlayerPrivateGStreamerBase.cpp
1515         Removes VideoSinkGStreamer1.cpp which doesn't exist anymore.
1516
1517 2016-01-27  Krzysztof Czech  <k.czech@samsung.com>
1518
1519         [EFL] Remove unused accessibility related code
1520         https://bugs.webkit.org/show_bug.cgi?id=153543
1521
1522         Reviewed by Darin Adler.
1523
1524         Removed reference to EAIL library.
1525         It not going to be support anymore. There have been changes in
1526         EFL/Elementary in terms of the accessibility and we should
1527         follow those.
1528
1529         * efl/jhbuild-optional.modules:
1530
1531 2016-01-27  Daniel Bates  <dabates@apple.com>
1532
1533         Remove WebKitSystemInterface for iOS SDK < 9
1534         https://bugs.webkit.org/show_bug.cgi?id=153570
1535
1536         Reviewed by Andy Estes.
1537
1538         * Scripts/copy-webkitlibraries-to-product-directory:
1539
1540 2016-01-27  Jason Marcell  <jmarcell@apple.com>
1541
1542         Fix bugs caused by incorrect usage of "branch" vs. "branchName".
1543         https://bugs.webkit.org/show_bug.cgi?id=153330
1544
1545         Reviewed by Daniel Bates.
1546
1547         In an earlier patch we started using the name "branch" to indicate a branch object, whereas
1548         "branchName" implies that the variable or property in question is simply a string. We fixed some
1549         inconsistencies regarding this issue in 152982 but further bugs and inconsistencies were recently
1550         spotted in BuildbotQueueView.js.
1551
1552         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1553         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Change branchName to branch in method signature.
1554         Changed branchName to branch.name in call to commitsOnBranch.
1555         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Change branch.name to branch in call to
1556         _popoverLinesForCommitRange.
1557         (BuildbotQueueView.prototype._presentPopoverForRevisionRange): Changed context.branchName to context.branch.name.
1558         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Changed branch.name to branch.
1559         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added tests to verify
1560         fix.
1561
1562 2016-01-27  Ryosuke Niwa  <rniwa@webkit.org>
1563
1564         Add API to access closed shadowRoot in InjectedBundle
1565         https://bugs.webkit.org/show_bug.cgi?id=153533
1566
1567         Reviewed by Antti Koivisto.
1568
1569         Added WebKit2 API test for WKBundleScriptWorldMakeAllShadowRootsOpen.
1570
1571         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1572         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakeAllShadowRootsOpen.cpp: Added.
1573         (TestWebKitAPI::runJavaScriptAlert):
1574         (TestWebKitAPI::TEST):
1575         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakrAllShadowRootOpen_Bundle.cpp: Added.
1576         (TestWebKitAPI::InjectedBundleMakrAllShadowRootOpenTest::InjectedBundleMakrAllShadowRootOpenTest):
1577         (TestWebKitAPI::InjectedBundleMakrAllShadowRootOpenTest::initialize):
1578
1579 2016-01-27  Jason Marcell  <jmarcell@apple.com>
1580
1581         Refactor logic for parsing Trac revisions into its own function and add logic for parsing git hashes.
1582         https://bugs.webkit.org/show_bug.cgi?id=153332
1583
1584         Reviewed by Alexey Proskuryakov.
1585
1586         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
1587         (Trac.prototype._xmlTimelineURL): Uses new function.
1588         (Trac.prototype._parseRevisionFromURL): Added. Pulled out logic for parsing revisions from a URL. Also added
1589         logic for parsing git hashes.
1590         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added tests for
1591         Trac._parseRevisionFromURL.
1592
1593 2016-01-27  Alexey Proskuryakov  <ap@apple.com>
1594
1595         Remove Mavericks from the flakiness dashboard
1596         https://bugs.webkit.org/show_bug.cgi?id=153521
1597
1598         Reviewed by Dan Bernstein.
1599
1600         * TestResultServer/static-dashboards/builders.jsonp:
1601         * TestResultServer/static-dashboards/flakiness_dashboard.js:
1602
1603 2016-01-27  Alexey Proskuryakov  <ap@apple.com>
1604
1605         Remove ENABLE_CURRENTSRC
1606         https://bugs.webkit.org/show_bug.cgi?id=153545
1607
1608         Reviewed by Simon Fraser.
1609
1610         * Scripts/webkitperl/FeatureList.pm:
1611
1612 2016-01-26  Jason Marcell  <jmarcell@apple.com>
1613
1614         Sort incoming commits via date instead of revision number.
1615         https://bugs.webkit.org/show_bug.cgi?id=153467
1616
1617         Reviewed by Alexey Proskuryakov.
1618
1619         Future Trac instances may use Git or other revision control systems where we cannnot rely on the revision number
1620         for sorting revisions. Instead we use the commit date to sort revisions chronologically.
1621
1622         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
1623         (Trac.prototype._loaded): Sort via date instead of revision number.
1624         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
1625         (MockTrac): Fix up the mock data to look more like real-world data.
1626         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml: Added.
1627         Fake RSS feed that adds three more commits.
1628         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests to test
1629         Trac._loaded().
1630
1631 2016-01-26  I-Ting Liu  <iting_liu@apple.com>
1632
1633         Add a test for WebKit::stringMatchesWildcardString.
1634         https://bugs.webkit.org/show_bug.cgi?id=153090
1635
1636         Reviewed by Darin Adler.
1637
1638         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1639         Add the file to the project.
1640
1641         * TestWebKitAPI/Tests/WebKit2/mac/StringUtilities.mm: Added.
1642         (TestWebKitAPI::TEST):
1643         Test that a string matches another string that may contain wildcard characters.
1644
1645 2016-01-26  Konstantin Tokarev  <annulen@yandex.ru>
1646
1647         [webkitdirs] Removed check for bison, gperf, and flex.
1648         https://bugs.webkit.org/show_bug.cgi?id=153496
1649
1650         Reviewed by Alex Christensen.
1651
1652         This prerequisites are checked in WebKitCommon.cmake and don't
1653         have to be in $PATH.
1654
1655         * Scripts/webkitdirs.pm:
1656         (checkRequiredSystemConfig):
1657
1658 2016-01-26  Konstantin Tokarev  <annulen@yandex.ru>
1659
1660         [webkitdirs] isCMakeBuild should be true by default
1661         https://bugs.webkit.org/show_bug.cgi?id=153497
1662
1663         Reviewed by Michael Catanzaro.
1664
1665         * Scripts/webkitdirs.pm:
1666         (isCMakeBuild):
1667
1668 2016-01-26  Daniel Bates  <dabates@apple.com>
1669
1670         Add WebKitSystemInterface for iOS 9.2
1671         https://bugs.webkit.org/show_bug.cgi?id=153355
1672
1673         Rubber-stamped by David Kilzer.
1674
1675         * Scripts/copy-webkitlibraries-to-product-directory:
1676
1677 2016-01-26  Daniel Bates  <dabates@apple.com>
1678
1679         WebKitTestRunner: Credential cache is not cleared between tests
1680         https://bugs.webkit.org/show_bug.cgi?id=153407
1681         <rdar://problem/24280834>
1682
1683         Reviewed by Alexey Proskuryakov.
1684
1685         * WebKitTestRunner/TestController.cpp:
1686         (WTR::TestController::resetStateToConsistentValues): Call WKContextClearCachedCredentials()
1687         to clear cached credentials.
1688
1689 2016-01-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1690
1691         kill-old-processes: allow to specify on the environment of the bot a list of process that should be killed.
1692         https://bugs.webkit.org/show_bug.cgi?id=153483
1693
1694         Reviewed by Csaba Osztrogonác.
1695
1696         * BuildSlaveSupport/kill-old-processes:
1697         (main): Allow to specify extra tasks to kill via the environment variable WEBKITBOT_TASKSTOKILL
1698
1699 2016-01-25  Simon Fraser  <simon.fraser@apple.com>
1700
1701         Give the layout test results file a <title> showing the date and time the tests were run
1702         https://bugs.webkit.org/show_bug.cgi?id=153187
1703
1704         Reviewed by Darin Adler.
1705         
1706         Include a 'date' property in the JSON with the date and time the tests completed.
1707
1708         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
1709         (summarize_results):
1710
1711 2016-01-25  Commit Queue  <commit-queue@webkit.org>
1712
1713         Unreviewed, rolling out r195543.
1714         https://bugs.webkit.org/show_bug.cgi?id=153451
1715
1716         regressed performance of test bots by ~6% (Requested by dydz
1717         on #webkit).
1718
1719         Reverted changeset:
1720
1721         "WebKitTestRunner: Credential cache is not cleared between
1722         tests"
1723         https://bugs.webkit.org/show_bug.cgi?id=153407
1724         http://trac.webkit.org/changeset/195543
1725
1726 2016-01-25  Aakash Jain  <aakash_jain@apple.com>
1727
1728         Failing to upload to flakiness dashboard should not be a hard error
1729         https://bugs.webkit.org/show_bug.cgi?id=153444
1730         <rdar://problem/22146294>
1731
1732         Reviewed by Alexey Proskuryakov.
1733
1734         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1735         (Manager._upload_json_files): If JSON file is not generated, do not try to upload it.
1736
1737 2016-01-25  Daniel Bates  <dabates@apple.com>
1738
1739         WebKitTestRunner: Credential cache is not cleared between tests
1740         https://bugs.webkit.org/show_bug.cgi?id=153407
1741         <rdar://problem/24280834>
1742
1743         Reviewed by Brady Eidson.
1744
1745         * WebKitTestRunner/TestController.cpp:
1746         (WTR::TestController::resetStateToConsistentValues): Reset testing network session
1747         to clear cached credentials.
1748
1749 2016-01-24  Dan Bernstein  <mitz@apple.com>
1750
1751         Added project.xcworkspace and xcuserdata to this project’s svn:ignore.
1752
1753         * LayoutTestRelay/LayoutTestRelay.xcodeproj: Added property svn:ignore.
1754
1755 2016-01-22  Enrica Casucci  <enrica@apple.com>
1756
1757         Unreviewed build fix after http://trac.webkit.org/changeset/195474.
1758
1759         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1760         (WTR::TestController::platformCreateWebView):
1761
1762 2016-01-22  Tim Horton  <timothy_horton@apple.com>
1763
1764         Add a test for iOS arrow-key repeat
1765         https://bugs.webkit.org/show_bug.cgi?id=152857
1766         <rdar://problem/24017380>
1767
1768         Reviewed by Darin Adler.
1769
1770         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
1771         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
1772         (WTR::UIScriptController::keyUpUsingHardwareKeyboard):
1773         (WTR::UIScriptController::keyDownUsingHardwareKeyboard):
1774         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
1775         * WebKitTestRunner/ios/HIDEventGenerator.h:
1776         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1777         (-[HIDEventGenerator keyPress:completionBlock:]):
1778         (-[HIDEventGenerator keyDown:completionBlock:]):
1779         (-[HIDEventGenerator keyUp:completionBlock:]):
1780         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1781         (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
1782         (WTR::UIScriptController::keyDownUsingHardwareKeyboard):
1783         (WTR::UIScriptController::keyUpUsingHardwareKeyboard):
1784         Make it possible to independently send keyUp/keyDown, instead of just paired.
1785
1786 2016-01-22  Tim Horton  <timothy_horton@apple.com>
1787
1788         Reproducible "Unhanded web process message 'WebUserContentController:AddUserScripts'" and friends
1789         https://bugs.webkit.org/show_bug.cgi?id=153193
1790         <rdar://problem/24222034>
1791
1792         Reviewed by Darin Adler.
1793
1794         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
1795         (webViewForScriptMessageHandlerMultipleHandlerRemovalTest):
1796         (TEST):
1797         Add a test that exhibits the problems we're fixing here.
1798         Before, it would both log and assert in debug, and crash in release.
1799         Now it runs happily to completion.
1800
1801 2016-01-22  Enrica Casucci  <enrica@apple.com>
1802
1803         Add support for testing data detection.
1804         https://bugs.webkit.org/show_bug.cgi?id=153360
1805
1806         Reviewed by Tim Horton.
1807
1808         Adding a new testing option (useDataDetection) to turn on
1809         data detection when running the a test.
1810
1811         * WebKitTestRunner/TestController.cpp:
1812         (WTR::updateTestOptionsFromTestHeader):
1813         * WebKitTestRunner/TestOptions.h:
1814         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1815         (WTR::TestController::platformCreateWebView):
1816
1817 2016-01-21  Simon Fraser  <simon.fraser@apple.com>
1818
1819         Fix the lldb WebCoreLayoutUnitProvider to not dynamically look up the LayoutUnit denominator
1820         https://bugs.webkit.org/show_bug.cgi?id=153334
1821
1822         Reviewed by Zalan Bujtas.
1823         
1824         Evaluating expressions in the LayoutUnit summary provider seems to cause
1825         re-entrancy problems in lldb python bindings, so just hardcode the LayoutUnit
1826         denominator to 64.
1827
1828         * lldb/lldb_webkit.py:
1829         (WebCoreLayoutUnitProvider.to_string):
1830
1831 2016-01-21  Filip Pizlo  <fpizlo@apple.com>
1832
1833         display-profiler-output should be able to display code blocks sorted by machine counts
1834         https://bugs.webkit.org/show_bug.cgi?id=153298
1835
1836         Reviewed by Oliver Hunt.
1837
1838         * Scripts/display-profiler-output:
1839
1840 2016-01-21  Julien Isorce  <j.isorce@samsung.com>
1841
1842         Ensure to use compatible liborc version with wanted gstreamer version
1843         https://bugs.webkit.org/show_bug.cgi?id=153276
1844
1845         For example gst-plugins-base-1.4.4 fails to build with liborc-0.4.24.
1846         The user may have a very recent liborc installed on his system.
1847
1848         Reviewed by Philippe Normand.
1849
1850         * efl/jhbuild.modules: add liborc-0.4.17 and make it a gst dependency.
1851         * gtk/jhbuild.modules: add liborc-0.4.17 and make it a gst depencendy.
1852
1853 2016-01-21  Nan Wang  <n_wang@apple.com>
1854
1855         AX: [IOS] Implement next/previous text marker functions using TextIterator
1856         https://bugs.webkit.org/show_bug.cgi?id=153292
1857         <rdar://problem/24268243>
1858
1859         Reviewed by Chris Fleizach.
1860
1861         Made text marker tests available on iOS.
1862
1863         * DumpRenderTree/AccessibilityTextMarker.h:
1864         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1865         * DumpRenderTree/ios/AccessibilityTextMarkerIOS.mm: Added.
1866         (AccessibilityTextMarker::AccessibilityTextMarker):
1867         (AccessibilityTextMarker::~AccessibilityTextMarker):
1868         (AccessibilityTextMarker::isEqual):
1869         (AccessibilityTextMarker::platformTextMarker):
1870         (AccessibilityTextMarkerRange::AccessibilityTextMarkerRange):
1871         (AccessibilityTextMarkerRange::~AccessibilityTextMarkerRange):
1872         (AccessibilityTextMarkerRange::isEqual):
1873         (AccessibilityTextMarkerRange::platformTextMarkerRange):
1874         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1875         (AccessibilityUIElement::pathDescription):
1876         (AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
1877         (AccessibilityUIElement::textMarkerRangeForElement):
1878         (AccessibilityUIElement::selectedTextMarkerRange):
1879         (AccessibilityUIElement::resetSelectedTextMarkerRange):
1880         (AccessibilityUIElement::textMarkerRangeLength):
1881         (AccessibilityUIElement::textMarkerRangeForMarkers):
1882         (AccessibilityUIElement::startTextMarkerForTextMarkerRange):
1883         (AccessibilityUIElement::endTextMarkerForTextMarkerRange):
1884         (AccessibilityUIElement::accessibilityElementForTextMarker):
1885         (AccessibilityUIElement::endTextMarkerForBounds):
1886         (AccessibilityUIElement::startTextMarkerForBounds):
1887         (AccessibilityUIElement::textMarkerForPoint):
1888         (AccessibilityUIElement::previousTextMarker):
1889         (AccessibilityUIElement::nextTextMarker):
1890         (AccessibilityUIElement::stringForTextMarkerRange):
1891         (AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
1892         (AccessibilityUIElement::indexForTextMarker):
1893         (AccessibilityUIElement::isTextMarkerValid):
1894         (AccessibilityUIElement::textMarkerForIndex):
1895         (AccessibilityUIElement::startTextMarker):
1896         (AccessibilityUIElement::endTextMarker):
1897         (AccessibilityUIElement::setSelectedVisibleTextRange):
1898         (AccessibilityUIElement::getLinkedUIElements):
1899         * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
1900         (AccessibilityTextMarkerRange::platformTextMarkerRange):
1901         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1902         (AccessibilityUIElement::removeSelection):
1903         (AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
1904         (AccessibilityUIElement::setSelectedVisibleTextRange):
1905         (AccessibilityUIElement::supportedActions):
1906         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1907         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
1908         (WTR::AccessibilityUIElement::textMarkerRangeLength):
1909         (WTR::AccessibilityUIElement::previousTextMarker):
1910         (WTR::AccessibilityUIElement::nextTextMarker):
1911         (WTR::AccessibilityUIElement::stringForTextMarkerRange):
1912         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers):
1913         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange):
1914         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange):
1915         (WTR::AccessibilityUIElement::endTextMarkerForBounds):
1916         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
1917         (WTR::AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
1918
1919 2016-01-20  Filip Pizlo  <fpizlo@apple.com>
1920
1921         Unreviewed, revert accidental unreviewed commit.
1922
1923         * Scripts/display-profiler-output:
1924
1925 2016-01-20  Jason Marcell  <jmarcell@apple.com>
1926
1927         Refactor compareIterations to remove duplicate code.
1928         https://bugs.webkit.org/show_bug.cgi?id=152913
1929
1930         Reviewed by Daniel Bates.
1931
1932         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1933         (BuildbotQueue.prototype.compareIterations): Refactored to remove duplicate code.
1934         (BuildbotQueue.prototype.sortIterations): Add binding to call to compareIterations.
1935         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added tests in order to ensure
1936         the same behavior before and after refactor.
1937
1938 2016-01-20  Dana Burkart  <dburkart@apple.com>
1939
1940         Botwatcher's dashboard should show an 'X' when the build is broken
1941         https://bugs.webkit.org/show_bug.cgi?id=152507
1942
1943         Reviewed by David Kilzer.
1944
1945         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotStaticAnalyzerQueueView.js:
1946         (BuildbotStaticAnalyzerQueueView.prototype.appendStaticAnalyzerQueueStatus):
1947         (BuildbotStaticAnalyzerQueueView.prototype.update):
1948
1949 2016-01-19  Jason Marcell  <jmarcell@apple.com>
1950
1951         Remove assertion from revisionContentForIteration that is causing errors on the dashboard.
1952         https://bugs.webkit.org/show_bug.cgi?id=153262
1953
1954         Reviewed by Alexey Proskuryakov.
1955
1956         Occasionaly some buildbot iterations will not have their "got_revisions" property populated. In
1957         such cases this revisionContentForIteration method does not have any content to return, thus the
1958         assertion fails.
1959
1960         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1961         (BuildbotQueueView.prototype.revisionContentForIteration): Removed assertion that was causing errors.
1962
1963 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
1964
1965         [GTK] Runtime critical warnings when loading a URL after a session restore
1966         https://bugs.webkit.org/show_bug.cgi?id=153233
1967
1968         Reviewed by Michael Catanzaro.
1969
1970         Add new test case.
1971
1972         * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp:
1973         (viewLoadChanged):
1974         (testWebKitWebViewNavigationAfterSessionRestore):
1975         (beforeAll):
1976
1977 2016-01-19  Michael Catanzaro  <mcatanzaro@igalia.com>
1978
1979         [GTK] Remove jhbuild-optional.modules
1980         https://bugs.webkit.org/show_bug.cgi?id=152964
1981
1982         Reviewed by Alex Christensen.
1983
1984         * gtk/jhbuild-optional.modules: Removed.
1985         * gtk/jhbuild.modules:
1986
1987 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
1988
1989         [GTK] Add support to load/save session in MiniBrowser
1990         https://bugs.webkit.org/show_bug.cgi?id=153201
1991
1992         Reviewed by Michael Catanzaro.
1993
1994         It makes it easier to test the new WebView session API.
1995
1996         * MiniBrowser/gtk/BrowserWindow.c:
1997         (browserWindowFinalize): Free the session file path.
1998         (browserWindowSaveSession): Save the current WebView session if
1999         there's a session file path.
2000         (browserWindowDeleteEvent): Call browserWindowSaveSession().
2001         (browser_window_load_session): Try to load the session from the
2002         given file path, otherwise fall back to homepage and keep the
2003         session file to save the session on window close.
2004         * MiniBrowser/gtk/BrowserWindow.h:
2005         * MiniBrowser/gtk/main.c:
2006         (createBrowserWindow): Pass the given session file path when
2007         shouldLoadSession is TRUE.
2008         (main): Only allow to restore/save session when MiniBrowser is
2009         launched without URL arguments.
2010
2011 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
2012
2013         Unreviewed. Fix GTK+ test /webkit2/WebKitWebView/geolocation-permission-requests after r195075.
2014
2015         Geolocation is no longer allowed for unique origins after r195075.
2016
2017         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
2018         (testWebViewGeolocationPermissionRequests):
2019
2020 2016-01-18  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2021
2022         [GTK][EFL] Layout tests abort with PulseAudioSanitizer instance has no attribute '_pa_module_index' when the build is not ready.
2023         https://bugs.webkit.org/show_bug.cgi?id=153216
2024
2025         Reviewed by Michael Catanzaro.
2026
2027         * Scripts/webkitpy/port/pulseaudio_sanitizer.py:
2028         (PulseAudioSanitizer.__init__): initialize _pa_module_index in the constructor.
2029
2030 2016-01-18  Nan Wang  <n_wang@apple.com>
2031
2032         AX: [Mac] Implement next/previous text marker functions using TextIterator
2033         https://bugs.webkit.org/show_bug.cgi?id=152728
2034
2035         Reviewed by Chris Fleizach.
2036
2037         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2038         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
2039
2040 2016-01-18  Csaba Osztrogonác  <ossy@webkit.org>
2041
2042         [cmake] Add testair to the build system
2043         https://bugs.webkit.org/show_bug.cgi?id=153126
2044
2045         Reviewed by Michael Catanzaro.
2046
2047         * Scripts/build-jsc:
2048
2049 2016-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
2050
2051         Remove TextRun::allowsRoundingHacks()
2052         https://bugs.webkit.org/show_bug.cgi?id=153185
2053
2054         Reviewed by Simon Fraser.
2055
2056         * DumpRenderTree/mac/DumpRenderTree.mm:
2057         (resetWebViewToConsistentStateBeforeTesting): Deleted.
2058
2059 2016-01-15  Konstantin Tokarev  <annulen@yandex.ru>
2060
2061         [webkitdirs] Avoid list form of open because it broke WinCairo
2062         https://bugs.webkit.org/show_bug.cgi?id=153106
2063
2064         Reviewed by Alex Christensen.
2065
2066         * Scripts/webkitdirs.pm:
2067         (determineArchitecture):
2068
2069 2016-01-15  Simon Fraser  <simon.fraser@apple.com>
2070
2071         Add kdebug_trace signposts for a few WebCore operations
2072         https://bugs.webkit.org/show_bug.cgi?id=153136
2073         rdar://problem/24208487
2074
2075         Reviewed by Sam Weinig.
2076         
2077         Plist used by kdebug_trace() viewing tools.
2078
2079         * Tracing/SystemTracePoints.plist: Added.
2080
2081 2016-01-14  Konstantin Tokarev  <annulen@yandex.ru>
2082
2083         [webkitdirs] Replaced grep invocation with perl code
2084         https://bugs.webkit.org/show_bug.cgi?id=153106
2085
2086         Reviewed by Alex Christensen.
2087
2088         * Scripts/webkitdirs.pm:
2089         (determineArchitecture):
2090
2091 2016-01-14  Brian Burg  <bburg@apple.com>
2092
2093         prepare-changelog does not read paths containing spaces properly
2094         https://bugs.webkit.org/show_bug.cgi?id=137982
2095
2096         Reviewed by Joseph Pecoraro.
2097
2098         Escape whitespace in filenames before passing the file path to other functions.
2099
2100         * Scripts/prepare-ChangeLog:
2101         (generateFunctionLists): Use the more explicit 3-argument form of 'open'.
2102
2103 2016-01-14  Jason Marcell  <jmarcell@apple.com>
2104
2105         Standardize the usage of "branch" vs. "branchName".
2106         https://bugs.webkit.org/show_bug.cgi?id=152982
2107
2108         Reviewed by Daniel Bates.
2109
2110         In an earlier patch we started using the name "branch" to indicate a branch object, whereas
2111         "branchName" implies that the variable or property in question is simply a string.
2112
2113         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2114         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Change branch to branchName.
2115         (BuildbotQueueView.prototype._presentPopoverForRevisionRange): Change branch to branch.name.
2116         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Change branch to branchName.
2117         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
2118         (Trac.prototype.commitsOnBranch): Change branch to branchName.
2119         (Trac.prototype._convertCommitInfoElementToObject): Ditto.
2120         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
2121         (MockTrac): Ditto.
2122
2123 2016-01-14  Jason Marcell  <jmarcell@apple.com>
2124
2125         Add a unit test to test BuildbotQueueView._appendPendingRevisionCount.
2126         https://bugs.webkit.org/show_bug.cgi?id=152910
2127
2128         Reviewed by Daniel Bates.
2129
2130         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js: Added.
2131         (MockBuildbotQueue): Added. Mock BuildbotQueue object that doesn't need to talk to an actual Buildbot server.
2132         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js: Added.
2133         (MockBuildbotQueueView): Added. Mock BuildbotQueueView object that returns a pre-specified _latestProductiveIteration without
2134         the need to talk to a real Buildbot server.
2135         (MockBuildbotQueueView.prototype._latestProductiveIteration): Added. Returns a pre-specified _latestProductiveIteration
2136         without the need to talk to a real Buildbot server.
2137         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js: Added.
2138         (MockTrac): Added. Mock Trac constructor that has pre-populated "recordedCommits" and does not need to talk to a real Trac
2139         server.
2140         (MockTrac.prototype.get oldestRecordedRevisionNumber): Added. Returns a pre-specified revision.
2141         (MockTrac.prototype.get latestRecordedRevisionNumber): Ditto.
2142         (MockTrac.prototype.loadMoreHistoricalData): Added. Overrides the real loadMoreHistoricalData so that we don't waste time
2143         trying to talk to Trac.
2144         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Added. Web page container for
2145         QUnit unit tests.
2146         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added. QUnit unit tests.
2147
2148 2016-01-14  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
2149
2150         [CMake][GTK] CMake Error: Could not create named generator Eclipse CDT4 - Ninja
2151         https://bugs.webkit.org/show_bug.cgi?id=132599
2152
2153         Reviewed by Michael Catanzaro.
2154
2155         Check if cmake Ninja generators are installed.
2156
2157         * Scripts/webkitdirs.pm:
2158         (canUseNinjaGenerator):
2159         (canUseEclipseNinjaGenerator):
2160         (generateBuildSystemFromCMakeProject):
2161         (canUseEclipse): Deleted.
2162
2163 2016-01-13  Myles C. Maxfield  <mmaxfield@apple.com>
2164
2165         [Cocoa] Testing with font family name "System Font" is unused
2166         https://bugs.webkit.org/show_bug.cgi?id=153073
2167         <rdar://problem/24091683>
2168
2169         Reviewed by Brent Fulgham.
2170
2171         * DumpRenderTree/mac/DumpRenderTree.mm:
2172         (allowedFontFamilySet): Deleted.
2173         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
2174         (WTR::allowedFontFamilySet): Deleted.
2175         * WebKitTestRunner/mac/TestControllerMac.mm:
2176         (WTR::allowedFontFamilySet): Deleted.
2177
2178 2016-01-13  Daniel Bates  <dabates@apple.com>
2179
2180         [XSS Auditor] Add test when XSS payload is in the path portion of the URL
2181         https://bugs.webkit.org/show_bug.cgi?id=152871
2182
2183         Reviewed by Brent Fulgham.
2184
2185         Merged from Blink (patch by Tom Sepez <tsepez@chromium.org>):
2186         <https://src.chromium.org/viewvc/blink?revision=164746&view=revision>
2187
2188         * Scripts/webkitpy/layout_tests/servers/lighttpd.conf:
2189
2190 2016-01-08  Andy Estes  <aestes@apple.com>
2191
2192         [Content Filtering] Lazily load platform frameworks
2193         https://bugs.webkit.org/show_bug.cgi?id=152881
2194         rdar://problem/23270886
2195
2196         Reviewed by Brady Eidson.
2197
2198         Added an API test that verifies that the Parental Controls and Network Extension frameworks are loaded at the
2199         expected times. The test verifies that they are not loaded after creating a WKWebView, loading an HTML string,
2200         loading NSData, loading a file, or loading from a custom protocol. It verifies that Network Extension on Mac/iOS
2201         and Parental Controls on iOS are loaded after an HTTP request. It finally verifies that Parental Controls on Mac
2202         is loaded after an HTTPS request.
2203
2204         To accomplish this, TestProtocol was generalized to allow tests to specify the scheme they wish to use.
2205         Other tests that used TestProtocol were updated to account for this change. TestProtocol was removed from
2206         WebKit2.PreventImageLoadWithAutoResizingTest, which didn't actually need to use it. ContentFiltering tests were
2207         also re-enabled on iOS after mistakenly being disabled by r188892.
2208
2209         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2210         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
2211         (TestWebKitAPI::TEST):
2212         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.h: Added.
2213         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.html: Added.
2214         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
2215         (TEST):
2216         (downloadTest):
2217         (-[LazilyLoadPlatformFrameworksController init]):
2218         (-[LazilyLoadPlatformFrameworksController webView]):
2219         (-[LazilyLoadPlatformFrameworksController expectParentalControlsLoaded:networkExtensionLoaded:]):
2220         (-[LazilyLoadPlatformFrameworksController webView:didFinishNavigation:]):
2221         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm:
2222         (-[ContentFilteringPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
2223         (-[ContentFilteringPlugIn observeValueForKeyPath:ofObject:change:context:]):
2224         (-[ContentFilteringPlugIn checkIfPlatformFrameworksAreLoaded:]):
2225         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
2226         (TestWebKitAPI::TEST):
2227         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
2228         (TestWebKitAPI::TEST): Deleted.
2229         * TestWebKitAPI/cocoa/TestProtocol.h:
2230         * TestWebKitAPI/cocoa/TestProtocol.mm:
2231         (+[TestProtocol registerWithScheme:]):
2232         (+[TestProtocol unregister]):
2233
2234 2016-01-12  Dewei Zhu  <dewei_zhu@apple.com>
2235
2236         Fix the Sunpider converage in slow device.
2237         https://bugs.webkit.org/show_bug.cgi?id=152938
2238         <rdar://problem/22511411>
2239
2240         Reviewed by Ryosuke Niwa.
2241
2242         Updated the patch for RunBenchmark to resume sunspider coverage by removing unused subresources in sub-tests.
2243
2244         * Scripts/webkitpy/benchmark_runner/data/patches/SunSpider.patch:
2245
2246 2016-01-12  Ryosuke Niwa  <rniwa@webkit.org>
2247
2248         Add a build flag for custom element
2249         https://bugs.webkit.org/show_bug.cgi?id=153005
2250
2251         Reviewed by Alex Christensen.
2252
2253         Added --custom-elements option to enable custom elements support.
2254
2255         * Scripts/webkitperl/FeatureList.pm:
2256
2257 2016-01-12  Benjamin Poulain  <bpoulain@apple.com>
2258
2259         [JSC] Add a help message when run-jsc-stress-tests fails
2260         https://bugs.webkit.org/show_bug.cgi?id=153014
2261
2262         Reviewed by Csaba Osztrogonác.
2263
2264         * Scripts/run-jsc-stress-tests:
2265
2266 2016-01-11  Saam barati  <sbarati@apple.com>
2267
2268         run-jsc-stress-tests should try to figure out a JSC path
2269         https://bugs.webkit.org/show_bug.cgi?id=152971
2270
2271         Reviewed by Yusuke Suzuki.
2272
2273         This patch now allows run-jsc-stress-tests to be run
2274         without a "--jsc <jsc-path>" argument. It tries
2275         to take its best guess at a <jsc-path> automagically.
2276         
2277         This makes it much easier to just run run-jsc-stress-tests
2278         with a directory or a yaml file as an argument.
2279         You now just do this:
2280         `run-jsc-stress-tests <path-to-yaml>`
2281         or
2282         `run-jsc-stress-tests <path-to-directory-of-js-files>`
2283         
2284         I wrote this patch because I'd often find myself hacking the 
2285         run-javascriptcore-tests file just to run a particular subset of tests.
2286         Because I always forget the arguments to run-jsc-stress-tests (which means
2287         I always forgot to provide a --jsc argument), I always found it easier to 
2288         just hack on that file instead of calling run-jsc-stress-tests directly.
2289         No longer is this true!
2290
2291         * Scripts/run-jsc-stress-tests:
2292
2293 2016-01-09  Andy Estes  <aestes@apple.com>
2294
2295         [Cocoa] Add SPI to opt out a URL scheme from the memory cache
2296         https://bugs.webkit.org/show_bug.cgi?id=152950
2297         rdar://problem/24066652
2298
2299         Reviewed by Tim Horton.
2300
2301         Added an API test.
2302
2303         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2304         * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm: Added.
2305         (+[AlwaysRevalidatedURLSchemeProtocol canInitWithRequest:]):
2306         (+[AlwaysRevalidatedURLSchemeProtocol canonicalRequestForRequest:]):
2307         (+[AlwaysRevalidatedURLSchemeProtocol requestIsCacheEquivalent:toRequest:]):
2308         (-[AlwaysRevalidatedURLSchemeProtocol startLoading]):
2309         (-[AlwaysRevalidatedURLSchemeProtocol stopLoading]):
2310         (-[AlwaysRevalidatedURLSchemesDelegate webView:didFinishNavigation:]):
2311         (TEST):
2312
2313 2016-01-11  Commit Queue  <commit-queue@webkit.org>
2314
2315         Unreviewed, rolling out r194866.
2316         https://bugs.webkit.org/show_bug.cgi?id=152986
2317
2318         This change broke the mac build (Requested by ryanhaddad on
2319         #webkit).
2320
2321         Reverted changeset:
2322
2323         "[Cocoa] Add SPI to opt out a URL scheme from the memory
2324         cache"
2325         https://bugs.webkit.org/show_bug.cgi?id=152950
2326         http://trac.webkit.org/changeset/194866
2327
2328 2016-01-11  Andy Estes  <aestes@apple.com>
2329
2330         [Cocoa] Add SPI to opt out a URL scheme from the memory cache
2331         https://bugs.webkit.org/show_bug.cgi?id=152950
2332         rdar://problem/24066652
2333
2334         Reviewed by Tim Horton.
2335
2336         Added an API test.
2337
2338         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2339         * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm: Added.
2340         (+[AlwaysRevalidatedURLSchemeProtocol canInitWithRequest:]):
2341         (+[AlwaysRevalidatedURLSchemeProtocol canonicalRequestForRequest:]):
2342         (+[AlwaysRevalidatedURLSchemeProtocol requestIsCacheEquivalent:toRequest:]):
2343         (-[AlwaysRevalidatedURLSchemeProtocol startLoading]):
2344         (-[AlwaysRevalidatedURLSchemeProtocol stopLoading]):
2345         (-[AlwaysRevalidatedURLSchemesDelegate webView:didFinishNavigation:]):
2346         (TEST):
2347
2348 2016-01-11  Konstantin Tokarev  <annulen@yandex.ru>
2349
2350         [webkitdirs] Use CMake to determine architecture on isCMakeBuild()
2351         https://bugs.webkit.org/show_bug.cgi?id=152959
2352
2353         Reviewed by Brent Fulgham.
2354
2355         * Scripts/webkitdirs.pm:
2356         (determineArchitecture):
2357
2358 2016-01-11  Michael Catanzaro  <mcatanzaro@igalia.com>
2359
2360         [GTK] W3C CSS2.1 anonymous table tests are failing
2361         https://bugs.webkit.org/show_bug.cgi?id=152455
2362
2363         Reviewed by Mario Sanchez Prada.
2364
2365         Add shared-mime-info to the jhbuild environment, since it affects the results of layout
2366         tests. Add upstream patches to fix detection of XHTML files.
2367
2368         * gtk/jhbuild.modules:
2369         * gtk/patches/shared-mime-info-xht-glob.patch: Added.
2370         * gtk/patches/shared-mime-info-xhtml-magic.patch: Added.
2371
2372 2016-01-10  Saam barati  <sbarati@apple.com>
2373
2374         Implement a sampling profiler
2375         https://bugs.webkit.org/show_bug.cgi?id=151713
2376
2377         Reviewed by Filip Pizlo.
2378
2379         * Scripts/run-jsc-stress-tests:
2380
2381 2016-01-10  Konstantin Tokarev  <annulen@yandex.ru>
2382
2383         [webkitdirs] Try arch and uname commands on non-windows OS
2384         https://bugs.webkit.org/show_bug.cgi?id=152958
2385
2386         Reviewed by Michael Catanzaro.
2387
2388         Right now, determineArchitecture()  uses `arch` and `uname -m`
2389         commands to determine architecture in case of condition (isGtk() ||
2390         isAppleMacWebKit() || isEfl()) is true. This should be !anyWindows()
2391         instead, because this code is applicable to any non-windows OS WebKit
2392         supports (even Haiku which once was supported is moderately
2393         POSIX-compliant and has uname command).
2394
2395         * Scripts/webkitdirs.pm:
2396         (determineArchitecture):
2397
2398 2016-01-08  Aakash Jain  <aakash_jain@apple.com>
2399
2400         run-webkit-tests mis-counts totals when there are other crashes
2401         https://bugs.webkit.org/show_bug.cgi?id=152894
2402         <rdar://problem/24098697>
2403
2404         Reviewed by Alexey Proskuryakov.
2405
2406         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
2407         (TestRunResults.add): Do not update result counters for other crashes.
2408
2409 2016-01-08  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2410
2411         webkit-patch build-and-test should have an option to iterate over new tests
2412         https://bugs.webkit.org/show_bug.cgi?id=143093
2413
2414         Reviewed by Michael Catanzaro.
2415
2416         This patch introduces the --iterate-on-new-tests option to webkit-patch build-and-test.
2417         It allows running run-webkit-tests on modified or new paths in LayoutTests.
2418         Computation of new or modified tests is done by LayoutTestFinder.find_touched_tests
2419         It implements the translation of -expected.* paths to their related tests.
2420         It also implements the removal of skipped tests.
2421
2422         * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py:
2423         (LayoutTestFinder.find_touched_tests):
2424         * Scripts/webkitpy/layout_tests/controllers/layout_test_finder_unittest.py: Added.
2425         (MockPort):
2426         (MockPort.__init__):
2427         (MockPort.tests):
2428         (LayoutTestFinderTests):
2429         (LayoutTestFinderTests.touched_files):
2430         (LayoutTestFinderTests.test_touched_test):
2431         (LayoutTestFinderTests.test_expected_touched_test):
2432         (LayoutTestFinderTests.test_platform_expected_touched_test):
2433         (LayoutTestFinderTests.test_platform_duplicate_touched_test):
2434         (LayoutTestFinderTests.test_touched_but_skipped_test):
2435         * Scripts/webkitpy/port/base.py:
2436         (Port.potential_test_names_from_expected_file):
2437         * Scripts/webkitpy/tool/commands/download_unittest.py:
2438         (DownloadCommandsTest._default_options):
2439         * Scripts/webkitpy/tool/steps/options.py:
2440         (Options):
2441         * Scripts/webkitpy/tool/steps/runtests.py:
2442         (RunTests.options):
2443         (RunTests.run):
2444         (RunTests):
2445         (RunTests._new_or_modified_tests):
2446         (RunTests._run_webkit_tests):
2447         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
2448         (RunTestsTest.test_webkit_run_unit_tests):
2449         * Scripts/webkitpy/tool/steps/steps_unittest.py:
2450         (StepsTest._step_options):
2451
2452 2016-01-07  Joseph Pecoraro  <pecoraro@apple.com>
2453
2454         prepare-ChangeLog should include radar number
2455         https://bugs.webkit.org/show_bug.cgi?id=152839
2456         <rdar://problem/24093563>
2457
2458         Reviewed by Daniel Bates.
2459
2460         When running `prepare-ChangeLog -b ###`, check for a bugzilla comment that
2461         starts with a "<rdar://problem/####>" URL. If found, include that radar URL
2462         in the ChangeLog description after the bug URL.
2463
2464         * Scripts/prepare-ChangeLog:
2465         (main): Update signatures.
2466         (fetchBugXMLData): XML Data is now used for multiple reasons. Extract this to just get the data.
2467         (fetchBugDescriptionFromBugXMLData): Search data for <short_desc>.
2468         (fetchRadarURLFromBugXMLData): Search comment text for radar URL.
2469         (generateNewChangeLogs): Include radar URL if we found one.
2470
2471         * Scripts/webkitperl/prepare-ChangeLog_unittest/fetchRadarURLFromBugXMLData.pl: Added.
2472         Tests for the radar URL extraction.
2473
2474 2016-01-07  Alexey Proskuryakov  <ap@apple.com>
2475
2476         testRunner.runUIScript crashes while running multiple tests in a row that invokes the same UIScript
2477         https://bugs.webkit.org/show_bug.cgi?id=152390
2478         <rdar://problem/23948321>
2479
2480         Reviewed by Simon Fraser.
2481
2482         Fix two use-after-frees.
2483
2484         1. WKPageCallAfterNextPresentationUpdate's callback has a pointer to TestInvocation,
2485         but we may have already progressed to another test by the time the callback fires,
2486         having destroyed the TestInvocation.
2487         2. UIScriptController is a RefCounted object, but it has a raw pointer to
2488         UIScriptContext which has the same lifetime as a TestInvocation.
2489         As a result, completion blocks of UIScriptController actions would use a destroyed
2490         TestInvocation.
2491
2492         * WebKitTestRunner/TestInvocation.cpp:
2493         (WTR::TestInvocation::~TestInvocation):
2494         (WTR::TestInvocation::url):
2495         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2496         (WTR::TestInvocation::runUISideScriptAfterUpdateCallback):
2497         (WTR::TestInvocation::runUISideScript):
2498         * WebKitTestRunner/TestInvocation.h:
2499         * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp:
2500         (UIScriptContext::UIScriptContext):
2501         (UIScriptContext::~UIScriptContext):
2502         (UIScriptContext::runUIScript):
2503         * WebKitTestRunner/UIScriptContext/UIScriptContext.h:
2504         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
2505         (WTR::UIScriptController::UIScriptController):
2506         (WTR::UIScriptController::contextDestroyed):
2507         (WTR::UIScriptController::makeWindowObject):
2508         (WTR::UIScriptController::setWillBeginZoomingCallback):
2509         (WTR::UIScriptController::willBeginZoomingCallback):
2510         (WTR::UIScriptController::setDidEndZoomingCallback):
2511         (WTR::UIScriptController::didEndZoomingCallback):
2512         (WTR::UIScriptController::setDidEndScrollingCallback):
2513         (WTR::UIScriptController::didEndScrollingCallback):
2514         (WTR::UIScriptController::setDidShowKeyboardCallback):
2515         (WTR::UIScriptController::didShowKeyboardCallback):
2516         (WTR::UIScriptController::setDidHideKeyboardCallback):
2517         (WTR::UIScriptController::didHideKeyboardCallback):
2518         (WTR::UIScriptController::uiScriptComplete):
2519         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
2520         (WTR::UIScriptController::create):
2521         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2522         (WTR::UIScriptController::doAsyncTask):
2523         (WTR::UIScriptController::zoomToScale):
2524         (WTR::UIScriptController::singleTapAtPoint):
2525         (WTR::UIScriptController::doubleTapAtPoint):
2526         (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
2527         (WTR::UIScriptController::contentVisibleRect):
2528         (WTR::UIScriptController::platformSetWillBeginZoomingCallback):
2529         (WTR::UIScriptController::platformSetDidEndZoomingCallback):
2530         (WTR::UIScriptController::platformSetDidShowKeyboardCallback):
2531         (WTR::UIScriptController::platformSetDidHideKeyboardCallback):
2532         (WTR::UIScriptController::platformSetDidEndScrollingCallback):
2533         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
2534         (WTR::UIScriptController::doAsyncTask):
2535
2536 2016-01-07  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2537
2538         [buildbot] clean-build script should remove untracked files and revert local changes too
2539         https://bugs.webkit.org/show_bug.cgi?id=142400
2540
2541         Reviewed by Ryosuke Niwa.
2542
2543         This patch cleans the WebKit folder by reverting tracked files changes and deleting SCM untracked files, including SCM ignored files.
2544         A helper routine SCM.discard_untracked_files is added for that purpose.
2545
2546         * BuildSlaveSupport/clean-build:
2547         (main): Making call to Scripts/clean-webkit
2548         * Scripts/clean-webkit: Added.
2549         (main): Revert changes and delete untracked files.
2550         * Scripts/webkitpy/common/checkout/scm/scm.py:
2551         (SCM.discard_untracked_files): Helper function to discard untracked files or folders found by SCM.
2552         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2553         (SCMTest._shared_test_discard_untracked_files):
2554         (test_discard_untracked_files): Tests that untracked file and untracked folder get discarded correctly.
2555
2556 2016-01-06  Simon Fraser  <simon.fraser@apple.com>
2557
2558         Add a setting and preferences to enable display-list drawing. Does nothing yet.
2559         https://bugs.webkit.org/show_bug.cgi?id=152807
2560
2561         Reviewed by Zalan Bujtas.
2562         
2563         Add an item to the Settings menu to toggle display-list drawing.
2564
2565         * MiniBrowser/mac/SettingsController.h:
2566         * MiniBrowser/mac/SettingsController.m:
2567         (-[SettingsController _populateMenu]):
2568         (-[SettingsController validateMenuItem:]):
2569         (-[SettingsController toggleDisplayListDrawingEnabled:]):
2570         (-[SettingsController displayListDrawingEnabled]):
2571         * MiniBrowser/mac/WK2BrowserWindowController.m:
2572         (-[WK2BrowserWindowController didChangeSettings]):
2573
2574 2016-01-06  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2575
2576         Python SCM should be able to retrieve untracked files - Add GIT support
2577         https://bugs.webkit.org/show_bug.cgi?id=143135
2578
2579         Reviewed by Michael Catanzaro.
2580
2581         * Scripts/webkitpy/common/checkout/scm/git.py:
2582         (Git.untracked_files): Adding support for git.
2583         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2584         (GitTest.setUp):
2585         (GitTest.test_untracked_files): Adding test.
2586
2587 2016-01-05  Mark Lam  <mark.lam@apple.com>
2588
2589         Rename badly named JSC_timeout env var to JSCTEST_timeout.
2590         https://bugs.webkit.org/show_bug.cgi?id=152748
2591
2592         Reviewed by Geoffrey Garen.
2593
2594         Now that we validate JSC options, the badly named JSC_timeout env var causes the
2595         bots to have a bad time.
2596
2597         * Scripts/run-javascriptcore-tests:
2598         * Scripts/run-jsc-stress-tests:
2599
2600 2016-01-04  Carlos Garcia Campos  <cgarcia@igalia.com>
2601
2602         [GTK] Allow to save and restore session
2603         https://bugs.webkit.org/show_bug.cgi?id=115600
2604
2605         Reviewed by Michael Catanzaro.
2606
2607         Add test case to check the new session API.
2608
2609         * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp:
2610         (testWebKitWebViewSessionState):
2611         (testWebKitWebViewSessionStateWithFormData):
2612         (beforeAll):
2613
2614 2016-01-04  Csaba Osztrogonác  <ossy@webkit.org>
2615
2616         [EFL] Bump EFL version to 1.16.1
2617         https://bugs.webkit.org/show_bug.cgi?id=152688
2618
2619         Reviewed by Gyuyoung Kim.
2620
2621         * efl/jhbuild.modules:
2622
2623 2016-01-04  Aakash Jain  <aakash_jain@apple.com>
2624
2625         error running layout tests on iOS simulator on latest build
2626         https://bugs.webkit.org/show_bug.cgi?id=152719
2627         <rdar://problem/24009549>
2628
2629         Reviewed by Alexey Proskuryakov.
2630
2631         * Scripts/webkitpy/xcode/simulator.py:
2632         (Simulator.wait_until_device_is_booted): Ensure that simulator device is in booted state
2633           before running simctl spawn command.
2634
2635 2016-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
2636
2637         Unreviewed, move Frédéric Wang to committers list
2638
2639         He seems to be on the contributors list by accident. He has been landing his own commits for
2640         about two years now.
2641
2642         * Scripts/webkitpy/common/config/contributors.json:
2643
2644 2016-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
2645
2646         Unreviewed, move Sebastian Dröge to committers list harder
2647
2648         He accidentally added himself to the reviewers list because the file is confusing. Then I
2649         accidentially moved him to the contributors list because the file is confusing, even though
2650         I knew the contributors list existed in this file and was attempting to add him to the
2651         committers list. Really move him to the committers list now.
2652
2653         * Scripts/webkitpy/common/config/contributors.json:
2654
2655 2016-01-02  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2656
2657         Python SCM should be able to retrieve untracked files - Add SVN support
2658         https://bugs.webkit.org/show_bug.cgi?id=152546
2659
2660         Reviewed by Michael Catanzaro.
2661
2662         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2663         (test_untracked_files): Activating test for SVN.
2664         * Scripts/webkitpy/common/checkout/scm/svn.py:
2665         (SVN.untracked_files): Implementing untracked files retrieval for SVN.
2666
2667 2015-12-31  Andy Estes  <aestes@apple.com>
2668
2669         Replace WTF::move with WTFMove
2670         https://bugs.webkit.org/show_bug.cgi?id=152601
2671
2672         Reviewed by Brady Eidson.
2673
2674         * DumpRenderTree/TestRunner.h:
2675         (TestRunner::setAllowedHosts):
2676         * DumpRenderTree/win/DRTDataObject.cpp:
2677         (DRTDataObject::SetData):
2678         * TestWebKitAPI/Tests/WTF/Deque.cpp:
2679         (TestWebKitAPI::TEST):
2680         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
2681         (TestWebKitAPI::TEST):
2682         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
2683         (TestWebKitAPI::TEST):
2684         * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
2685         (TestWebKitAPI::TEST):
2686         * TestWebKitAPI/Tests/WTF/Ref.cpp:
2687         (TestWebKitAPI::passWithRef):
2688         (TestWebKitAPI::TEST):
2689         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
2690         (TestWebKitAPI::TEST):
2691         * TestWebKitAPI/Tests/WTF/Vector.cpp:
2692         (TestWebKitAPI::TEST):
2693         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
2694         (TestWebKitAPI::TEST):
2695         * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm:
2696         (TestWebKitAPI::TEST):
2697         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
2698         (TestWebKitAPI::createTestValue):
2699         (TestWebKitAPI::TEST):
2700         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2701         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
2702         (TestWebKitAPI::InMemoryCompiledContentExtension::create):
2703         (TestWebKitAPI::InMemoryCompiledContentExtension::InMemoryCompiledContentExtension):
2704         (TestWebKitAPI::createNFAs):
2705         (TestWebKitAPI::TEST_F):
2706         * TestWebKitAPI/Tests/WebCore/DFACombiner.cpp:
2707         (TestWebKitAPI::combine):
2708         * TestWebKitAPI/Tests/WebCore/DFAHelpers.h:
2709         (TestWebKitAPI::createNFAs):
2710         * TestWebKitAPI/Tests/WebKit2/cocoa/WeakObjCPtr.mm:
2711         (TEST):
2712         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
2713         (WebProcessTest::add):
2714
2715 2016-01-01  Michael Catanzaro  <mcatanzaro@igalia.com>
2716
2717         [SOUP] REGRESSION(r192761): Broke resource URIs for applications that use g_resource_load in a web extension
2718         https://bugs.webkit.org/show_bug.cgi?id=152634
2719
2720         Reviewed by Carlos Garcia Campos.
2721
2722         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
2723         (testLoadFromGResource): Added test.
2724         (beforeAll):
2725         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2726         (registerGResource): Added.
2727         (webkit_web_extension_initialize_with_user_data): Load the test gresource.
2728         * TestWebKitAPI/Tests/WebKit2Gtk/resources/boring.html: Added.
2729         * TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml: Add an HTML file.
2730
2731 2015-12-31  David Kilzer  <ddkilzer@apple.com>
2732
2733         REGRESSION (r194470): Fix warnings uncovered by migrating to WTF_MOVE
2734         <https://bugs.webkit.org/show_bug.cgi?id=152601>
2735
2736         Ignore unknown pragmas on older clangs.  Fixes the following
2737         build failure:
2738
2739             Tools/TestWebKitAPI/Tests/WTF/NakedPtr.cpp:184:34: error: unknown warning group '-Wself-move', ignored [-Werror,-Wunknown-pragmas]
2740             #pragma clang diagnostic ignored "-Wself-move"
2741                                              ^
2742             1 error generated.
2743
2744         * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
2745         (TestWebKitAPI::TEST):
2746         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
2747         (TestWebKitAPI::TEST):
2748
2749 2015-12-31  Andy Estes  <aestes@apple.com>
2750
2751         Update the style checker to advise using WTFMove() instead of WTF::move()
2752         https://bugs.webkit.org/show_bug.cgi?id=152601
2753
2754         Reviewed by Daniel Bates.
2755
2756         * Scripts/webkitpy/style/checkers/cpp.py:
2757         (check_wtf_move):
2758         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2759         (WebKitStyleTest.test_wtf_move):
2760
2761 2015-12-31  Andy Estes  <aestes@apple.com>
2762
2763         Fix warnings uncovered by migrating to WTF_MOVE
2764         https://bugs.webkit.org/show_bug.cgi?id=152601
2765
2766         Reviewed by Daniel Bates.
2767
2768         Ignored -Wself-move warnings in these two API tests. It's useful to test that these classes properly handle
2769         self-move, even if doing so would trigger a warning.
2770
2771         * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
2772         (TestWebKitAPI::TEST):
2773         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
2774         (TestWebKitAPI::TEST):
2775
2776 2015-12-31  Martin Robinson  <mrobinson@igalia.com>
2777
2778         [GTK] The install-dependencies script has a syntax error
2779         https://bugs.webkit.org/show_bug.cgi?id=152613
2780
2781         Reviewed by Michael Catanzaro.
2782
2783         * gtk/install-dependencies: Add the missing 'then.'
2784
2785 2015-12-30  Philippe Normand  <pnormand@igalia.com>
2786
2787         [Mac][GTK] Jhbuild support for OSX
2788         https://bugs.webkit.org/show_bug.cgi?id=150799
2789
2790         Reviewed by Michael Catanzaro.
2791
2792         * gtk/install-dependencies: Install dependencies on OSX with Homebrew.
2793         * gtk/jhbuild.modules: Moved platform-specific build settings in condition tags.
2794         * gtk/patches/foxbntconfig-fix-osx-cache.diff: Added.
2795         * gtk/jhbuildrc: GTK+ makeargs clean-up, the 3.0.12 hack is no longer needed.
2796
2797 2015-12-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2798
2799         Unreviewed, move Sebastian Dröge to committers list
2800
2801         He accidentally added himself to the reviewers list because the file is confusing.
2802
2803         * Scripts/webkitpy/common/config/contributors.json:
2804
2805 2015-12-24  Simon Fraser  <simon.fraser@apple.com>
2806
2807         Remove the unused #define _USE_MATH_DEFINES
2808         https://bugs.webkit.org/show_bug.cgi?id=152034
2809
2810         Reviewed by Tim Horton.
2811         
2812         Update this test to use piDouble from MathExtras.h, and
2813         std::numeric_limits<>.
2814
2815         * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
2816
2817 2015-12-24  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2818
2819         Python SCM should be able to retrieve untracked files - Generic changes
2820         https://bugs.webkit.org/show_bug.cgi?id=152536
2821
2822         Reviewed by Brent Fulgham.
2823
2824         This patch introduces SCM.untracked_files to retrieve a list of untracked files.
2825         No support is yet added to GIT and SVN specific implementations.
2826
2827         * Scripts/webkitpy/common/checkout/scm/scm.py:
2828         (SCM.untracked_files):
2829         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2830         (SCMTest._shared_test_untracked_files):
2831
2832 2015-12-23  Dewei Zhu  <dewei_zhu@apple.com>
2833
2834         SVN checkout used by RunBenchmark should be non-interactive
2835         https://bugs.webkit.org/show_bug.cgi?id=152542
2836
2837         Reviewed by Ryosuke Niwa.
2838
2839         RunBenchmark should not require user interaction while running.
2840
2841         * Scripts/webkitpy/benchmark_runner/benchmark_builder.py:
2842         (BenchmarkBuilder._checkout_with_subversion):
2843
2844 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
2845
2846         Web Inspector: add support for running protocol-test.js tests on Windows
2847         https://bugs.webkit.org/show_bug.cgi?id=148037
2848         <rdar://problem/22292237>
2849
2850         Reviewed by Simon Fraser.
2851
2852         * DumpRenderTree/win/TestRunnerWin.cpp:
2853         (TestRunner::inspectorTestStubURL): Provide implementation.
2854
2855 2015-12-23  Eric Carlson  <eric.carlson@apple.com>
2856
2857         [MediaStream] MediaDeviceInfo.label must be empty in some situations
2858         https://bugs.webkit.org/show_bug.cgi?id=152000
2859
2860         Reviewed by Brent Fulgham.
2861
2862         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2863         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2864         (WTR::InjectedBundle::setUserMediaPermission):
2865         (WTR::InjectedBundle::setUserMediaPermissionForOrigin): New.
2866         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2867
2868         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2869         (WTR::TestRunner::setUserMediaPermissionForOrigin): New.
2870         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2871
2872         * WebKitTestRunner/TestController.cpp:
2873         (WTR::TestController::setUserMediaPermissionForOrigin):
2874         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin): Add NULL check.
2875         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Don't add 
2876           persistent permission for origin, that can be done from script now.
2877         * WebKitTestRunner/TestController.h:
2878
2879         * WebKitTestRunner/TestInvocation.cpp:
2880         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Add support for
2881           SetUserMediaPermissionForOrigin.
2882
2883 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
2884
2885         [Win] Unreviewed build fix: Recognize Windows 10 variants.
2886
2887         * Scripts/webkitpy/common/system/platforminfo.py:
2888         (PlatformInfo._determine_win_version):
2889
2890 2015-12-23  Chris Aljoudi <chris@chrismatic.io> and Alex Christensen <achristensen@webkit.org>
2891
2892         Content blockers should be able to promote http to https
2893         https://bugs.webkit.org/show_bug.cgi?id=148966
2894
2895         Reviewed by Benjamin Poulain.
2896
2897         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2898         (WebCore::ContentExtensions::operator<<):
2899         (TestWebKitAPI::TEST_F):
2900
2901 2015-12-22  Hunseop Jeong  <hs85.jeong@samsung.com>
2902
2903         [EFL] MiniBrowser should be able to choose the offline-web-application-cache option
2904         https://bugs.webkit.org/show_bug.cgi?id=152516
2905
2906         Reviewed by Gyuyoung Kim.
2907
2908         * MiniBrowser/efl/main.c:
2909
2910 2015-12-22  Brent Fulgham  <bfulgham@apple.com>
2911
2912         Unreviewed: Add John Wilander as a contributor.
2913
2914         * Scripts/webkitpy/common/config/contributors.json:
2915
2916 2015-12-22  Chris Fleizach  <cfleizach@apple.com>
2917
2918         [WK2] Looping in testcase: fast/dom/Window/property-access-on-cached-window-after-frame-removed.html
2919         https://bugs.webkit.org/show_bug.cgi?id=152482
2920
2921         Reviewed by Brent Fulgham.
2922
2923         vertical/horizontalScrollbar returns an accessibility element. That element can also be queried
2924         for the same property. On WK2, the element returned will not be valid, but is still present and
2925         that can lead to looping.
2926
2927         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2928         (AccessibilityUIElement::horizontalScrollbar):
2929         (AccessibilityUIElement::verticalScrollbar):
2930         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2931         (WTR::AccessibilityUIElement::horizontalScrollbar):
2932         (WTR::AccessibilityUIElement::verticalScrollbar):
2933
2934 2015-12-22  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2935
2936         Unreviewed.
2937
2938         * Scripts/webkitpy/common/config/contributors.json: Marking myself as reviewer.
2939
2940 2015-12-21  Hunseop Jeong  <hs85.jeong@samsung.com>
2941
2942         [EFL] test_ewk2_context failed after r192808
2943         https://bugs.webkit.org/show_bug.cgi?id=151846
2944
2945         Reviewed by Gyuyoung Kim.
2946
2947         Used the added ewk_context_web_process_count_limit_set api
2948         instead of the deprecated ewk_context_process_model_set.
2949
2950         * MiniBrowser/efl/main.c:
2951         (elm_main):
2952
2953 2015-12-21  Michael Catanzaro  <mcatanzaro@igalia.com>
2954
2955         Unreviewed, move myself to reviewer list.
2956
2957         * Scripts/webkitpy/common/config/contributors.json:
2958
2959 2015-12-21  Aakash Jain  <aakash_jain@apple.com>
2960
2961         Unreviewed, add myself to the committers list.
2962
2963         * Scripts/webkitpy/common/config/contributors.json:
2964
2965 2015-12-21  Michael Catanzaro  <mcatanzaro@igalia.com>
2966
2967         [GTK] jquery.min.js violates DFSG
2968         https://bugs.webkit.org/show_bug.cgi?id=152428
2969
2970         Reviewed by Joseph Pecoraro.
2971
2972         Stop distributing Source/WebInspectorUI/Tools. It is not needed in tarballs. This brings us
2973         into compliance with DFSG by removing a bundled, minified copy of jQuery from our tarball.
2974
2975         * gtk/manifest.txt.in:
2976
2977 2015-12-19  Dan Bernstein  <mitz@apple.com>
2978
2979         [Mac] WebKit contains dead source code for OS X Mavericks and earlier
2980         https://bugs.webkit.org/show_bug.cgi?id=152462
2981
2982         Reviewed by Alexey Proskuryakov.
2983
2984         - Removed definitions of MACOSX_DEPLOYMENT_TARGET and WEBKIT_SYSTEM_INTERFACE_LIBRARY for
2985           OS X 10.9:
2986
2987         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2988         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
2989         * MiniBrowser/Configurations/DebugRelease.xcconfig:
2990         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
2991         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2992
2993         - Simplified expressions involving __MAC_OS_X_VERSION_MIN_REQUIRED and removed code that was
2994           never getting compiled:
2995
2996         * DumpRenderTree/mac/TextInputController.m:
2997         * MiniBrowser/mac/BrowserWindowController.m:
2998         * TestWebKitAPI/Tests/mac/AttributedString.mm:
2999         * WebKitTestRunner/mac/EventSenderProxy.mm:
3000
3001 2015-12-18  Michael Catanzaro  <mcatanzaro@igalia.com>
3002
3003         Unreviewed, add WebKitGTK+ Bugzilla email to committers list
3004
3005         This is to make it easy to CC it on Bugzilla.
3006
3007         * Scripts/webkitpy/common/config/contributors.json:
3008
3009 2015-12-18  Aakash Jain  <aakash_jain@apple.com>
3010
3011         Pasteboard get messed up after running kill-old-processes
3012         https://bugs.webkit.org/show_bug.cgi?id=152426
3013
3014         Reviewed by Alexey Proskuryakov.
3015
3016         * BuildSlaveSupport/kill-old-processes:
3017         (main): Do not kill pasteboard anymore.
3018
3019 2015-12-17  Aakash Jain  <aakash_jain@apple.com>
3020
3021         run-webkit-tests shouldn't start multiple iOS simulators while only running one test
3022         https://bugs.webkit.org/show_bug.cgi?id=152157
3023         <rdar://problem/23851817>
3024
3025         Reviewed by Alexey Proskuryakov.
3026
3027         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
3028         (LayoutTestRunner.get_worker_count): Calculate required number of workers.
3029         * Scripts/webkitpy/layout_tests/controllers/manager.py:
3030         (Manager._get_test_inputs): Common method to calculate test_inputs.
3031         (Manager._update_worker_count): Calculate and update required number of workers.
3032
3033 2015-12-16  Aakash Jain  <aakash_jain@apple.com>
3034
3035         run-webkit-tests fails to delete Simulator device during cleanup
3036         https://bugs.webkit.org/show_bug.cgi?id=152363
3037
3038         Reviewed by Alexey Proskuryakov.
3039
3040         * Scripts/webkitpy/xcode/simulator.py:
3041         (Simulator.delete_device): Ensure that device is Shutdown before deleting it.
3042
3043 2015-12-16  Tim Horton  <timothy_horton@apple.com>
3044
3045         [mac-wk2] fast/events force click tests crashing
3046         https://bugs.webkit.org/show_bug.cgi?id=152339
3047
3048         Reviewed by Beth Dakin.
3049
3050         * WebKitTestRunner/mac/EventSenderProxy.mm:
3051         (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]):
3052         Set the NSEvent's _type member in addition to overriding -type,
3053         because there are assertions in touch event handling code that depend on it.
3054
3055 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3056
3057         Enforce temporarily bots to sync WebKit and WPT testharness.js
3058         https://bugs.webkit.org/show_bug.cgi?id=152334
3059
3060         Reviewed by Darin Adler.
3061
3062         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3063         (WebPlatformTestServer._copy_webkit_test_files): Temporarily overwrite wpt testharness.js with WebKit testharness.js.
3064
3065 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3066
3067         [Fetch API] Add fetch API compile time flag
3068         https://bugs.webkit.org/show_bug.cgi?id=152254
3069
3070         Reviewed by Darin Adler.
3071
3072         * Scripts/webkitperl/FeatureList.pm:
3073
3074 2015-12-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
3075
3076         Unreviewed.
3077
3078         Added files that have impact in building Streams API to the watchlist.
3079
3080         * Scripts/webkitpy/common/config/watchlist:
3081
3082 2015-12-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
3083
3084         Unreviewed.
3085
3086         Added imported tests to Streams API watchlist.
3087
3088         * Scripts/webkitpy/common/config/watchlist:
3089
3090 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3091
3092         Remove default copy of wpt testharness.js when launching wpt server
3093         https://bugs.webkit.org/show_bug.cgi?id=152298
3094
3095         Reviewed by Darin Adler.
3096
3097         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3098         (WebPlatformTestServer._copy_webkit_test_files): Deleted default copy of WebKit testharness.js to WPT.
3099
3100 2015-12-15  David Kilzer  <ddkilzer@apple.com>
3101
3102         REGRESSION (r192375): DumpRenderTree.app exits immediately with no error
3103         <http://webkit.org/b/152314>
3104
3105         Reviewed by Daniel Bates.
3106
3107         The change to DumpRenderTreeMain.mm in r192375 caused the iOS
3108         code path to exit immediately when calling main().
3109         Unfortunately, DumpRenderTreeMain.mm was used for both
3110         DumpRenderTree command-line binary and DumpRenderTree.app, which
3111         meant that the app would exit immediately with no error code
3112         when run!
3113
3114         The workaround is to introduce a separate source file called
3115         DumpRenderTreeAppMain.mm, similar to what WebKitTestRunner
3116         already does.
3117
3118         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Add
3119         DumpRenderTreeAppMain.mm to the project.  Make it the only
3120         compiled source for the DumpRenderTree.app target.
3121         * DumpRenderTree/ios/DumpRenderTreeAppMain.mm: Copied from Tools/DumpRenderTree/mac/DumpRenderTreeMain.mm.
3122         (main): Call DumpRenderTreeMain() on iOS.  Assert on OS X in
3123         case someone tries mistakenly to use the app.
3124         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
3125         Link to JavaScriptCore.framework on iOS for the assert.
3126         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
3127         Link to JavaScriptCore.framework on OS X for the assert.  Remove
3128         unneeded EXCLUDED_SOURCE_FILE_NAMES setting.
3129         * DumpRenderTree/mac/DumpRenderTreeMain.mm:
3130         (main): Add assert for iOS so that a crash occurs if someone
3131         tries to run the wrong command.
3132
3133 2015-12-14  Tim Horton  <timothy_horton@apple.com>
3134
3135         Frequent crash under -[WKPDFView web_setMinimumSize:]_block_invoke
3136         https://bugs.webkit.org/show_bug.cgi?id=152266
3137         <rdar://problem/22092676>
3138
3139         Reviewed by Simon Fraser.
3140
3141         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3142         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewResizeCrash.mm: Added.
3143         Add a test that crashed before this change, and doesn't crash after.
3144
3145 2015-12-14  Chris Fleizach  <cfleizach@apple.com>
3146
3147         AX: iOS: Text field variations do not have the correct traits
3148         https://bugs.webkit.org/show_bug.cgi?id=152237
3149
3150         Reviewed by Mario Sanchez Prada.
3151
3152         Add iOS calls for determing if an object is a search field or a text area.
3153
3154         * DumpRenderTree/AccessibilityUIElement.cpp:
3155         (getIsSearchFieldCallback):
3156         (getIsTextAreaCallback):
3157         (stringForSelectionCallback):
3158         (AccessibilityUIElement::getJSClass):
3159         * DumpRenderTree/AccessibilityUIElement.h:
3160         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3161         (AccessibilityUIElement::identifier):
3162         (AccessibilityUIElement::isTextArea):
3163         (AccessibilityUIElement::isSearchField):
3164         (AccessibilityUIElement::traits):
3165         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3166         (WTR::AccessibilityUIElement::scrollPageRight):
3167         (WTR::AccessibilityUIElement::hasContainedByFieldsetTrait):
3168         (WTR::AccessibilityUIElement::fieldsetAncestorElement):
3169         (WTR::AccessibilityUIElement::isSearchField):
3170         (WTR::AccessibilityUIElement::isTextArea):
3171         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3172         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3173         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3174         (WTR::AccessibilityUIElement::fieldsetAncestorElement):
3175         (WTR::AccessibilityUIElement::isTextArea):
3176         (WTR::AccessibilityUIElement::isSearchField):
3177         (WTR::AccessibilityUIElement::rowCount):
3178
3179 2015-12-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3180
3181         [GTK] [JHBuild] package libtool-bin is now required on Debian systems.
3182         https://bugs.webkit.org/show_bug.cgi?id=152252
3183
3184         Reviewed by Sergio Villar Senin.
3185
3186         * gtk/install-dependencies: Add libtool-bin to the list of packages required
3187         for building the JHBuild on Debian systems.
3188
3189 2015-12-11  Joseph Pecoraro  <pecoraro@apple.com>
3190
3191         check-for-inappropriate-objc-class-names should check all class names, not just externally visible ones
3192         https://bugs.webkit.org/show_bug.cgi?id=152156
3193
3194         Reviewed by Dan Bernstein.
3195
3196         Our frameworks should appropriately prefix all ObjC classes,
3197         not just external symbols.
3198
3199         * Scripts/check-for-inappropriate-objc-class-names:
3200         Remove the -g switch to check all ObjC class names.
3201
3202 2015-12-10  Eric Carlson  <eric.carlson@apple.com>
3203
3204         [MediaStream] Expose media capture devices persistent permissions to WebCore
3205         https://bugs.webkit.org/show_bug.cgi?id=152087
3206
3207         Add support for the new user media permission checker page UI client method.
3208
3209         Reviewed by Chris Dumez.
3210
3211         * WebKitTestRunner/TestController.cpp:
3212         (WTR::decidePolicyForUserMediaPermissionRequest):
3213         (WTR::checkUserMediaPermissionForOrigin):
3214         (WTR::TestController::createOtherPage): Add checkUserMediaPermissionForOrigin.
3215         (WTR::TestController::createWebViewWithOptions): Ditto.
3216         (WTR::TestController::resetStateToConsistentValues): Clear m_userMediaOriginPermissions.
3217         (WTR::originUserVisibleName): New, create a string for the origin.
3218         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin): Set the WKUserMediaPermissionCheckRef
3219           according to the state of the origin permission map.
3220         (WTR::TestController::handleUserMediaPermissionRequest): Remember both the origin and the
3221           request so we can update the origin permission map in decidePolicyForUserMediaPermissionRequestIfPossible.
3222         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Update the
3223           origin permission map.
3224         * WebKitTestRunner/TestController.h:
3225
3226 2015-12-10  Alex Christensen  <achristensen@webkit.org>
3227
3228         REGRESSION (r192796) WKBundlePageResourceLoadClient should be able to setHTTPBody in willSendRequestForFrame
3229         https://bugs.webkit.org/show_bug.cgi?id=152022
3230         rdar://problem/23763584
3231
3232         Reviewed by Darin Adler.
3233
3234         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3235         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3236         (WTR::InjectedBundlePage::willSendRequestForFrame):
3237         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3238         (WTR::TestRunner::setWillSendRequestReturnsNull):
3239         (WTR::TestRunner::willSendRequestReturnsNullOnRedirect):
3240         (WTR::TestRunner::setWillSendRequestReturnsNullOnRedirect):
3241         (WTR::TestRunner::setWillSendRequestAddsHTTPBody):
3242         (WTR::TestRunner::willSendRequestHTTPBody):
3243         Added setWillSendRequestAddsHTTPBody that uses new SPI for testing.
3244
3245 2015-12-10  Aakash Jain  <aakash_jain@apple.com>
3246
3247         Remove additional simulator checks before running layout-tests
3248         https://bugs.webkit.org/show_bug.cgi?id=152146
3249
3250         Reviewed by Darin Adler.
3251
3252         * Scripts/webkitpy/port/ios.py:
3253         (IOSSimulatorPort.check_sys_deps): Removed additional simulators verifications.
3254         * Scripts/webkitpy/xcode/simulator.py:
3255         (Simulator._boot_and_shutdown_simulator_device): Deleted.
3256         (Simulator.check_simulator_device_and_erase_if_needed): Deleted.
3257
3258 2015-12-09  Aakash Jain  <aakash_jain@apple.com>
3259
3260         Run atleast one simulator even if max process limit is low
3261         https://bugs.webkit.org/show_bug.cgi?id=152081
3262         <rdar://problem/23819694>
3263
3264         Reviewed by Alexey Proskuryakov.
3265
3266 2015-12-09  Mario Sanchez Prada  <mario@endlessm.com>
3267
3268         [GTK] Crash in WebProcess when loading large content with custom URI schemes
3269         https://bugs.webkit.org/show_bug.cgi?id=144262
3270
3271         Reviewed by Carlos Garcia Campos.
3272
3273         Added new unit test to check the additional scenarios we now
3274         handle for custom URI schemes.
3275
3276         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
3277         (generateHTMLContent): New helper function to generate big enough content.
3278         (testWebContextURIScheme): New unit test.
3279
3280 2015-12-09  Ryuan Choi  <ryuan.choi@navercorp.com>
3281
3282         [EFL] Fix unhandled web process message when launching MiniBrowser
3283         https://bugs.webkit.org/show_bug.cgi?id=152048
3284
3285         Reviewed by Gyuyoung Kim.
3286
3287         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
3288         (TestWebKitAPI::TEST):
3289
3290 2015-12-09  Carlos Garcia Campos  <cgarcia@igalia.com>
3291
3292         [GTK] Add API to handle beforeunload events
3293         https://bugs.webkit.org/show_bug.cgi?id=139090
3294
3295         Reviewed by Gustavo Noronha Silva.
3296
3297         * MiniBrowser/gtk/BrowserWindow.c:
3298         (browserWindowConstructed):
3299         (browserWindowDeleteEvent):
3300         (browser_window_class_init):
3301         Handle delete-event to prevent the window from being closed when
3302         the page has beforeunload handlers. Use
3303         webkit_web_view_try_close() when the window is requested to be
3304         closed.
3305         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
3306         (testWebViewJavaScriptDialogs):
3307         Add a test case for the WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM
3308         script dialog type.
3309
3310 2015-12-09  Mario Sanchez Prada  <mario@endlessm.com>
3311
3312         Refactored initialization code in LoadTrackingTest.
3313
3314         Rubber-stamped by Carlos Garcia Campos.
3315
3316         Small refactoring to make sure that the state of a LoadTrackingTest
3317         gets properly reset before loading new web content.
3318
3319         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h:
3320         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp:
3321         (LoadTrackingTest::reset): New, refactored code from *load*() and go*()
3322         functions and reset the remaining local variables.
3323         (LoadTrackingTest::loadURI): Call reset();
3324         (LoadTrackingTest::loadHtml): Ditto.
3325         (LoadTrackingTest::loadPlainText): Ditto.
3326         (LoadTrackingTest::loadBytes): Ditto.
3327         (LoadTrackingTest::loadRequest): Ditto.
3328         (LoadTrackingTest::reload): Ditto.
3329         (LoadTrackingTest::goBack): Ditto.
3330         (LoadTrackingTest::goForward): Ditto.
3331
3332 2015-12-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3333
3334         [EFL] REGRESSION(r193616): WKPreferences test has been failed since r193616
3335         https://bugs.webkit.org/show_bug.cgi?id=151942
3336
3337         Reviewed by Darin Adler.
3338
3339         * MiniBrowser/efl/main.c:
3340         (window_create): Enable offline web application cache feature on MiniBrowser.
3341         (elm_main):
3342
3343 2015-12-08  Aakash Jain  <aakash_jain@apple.com>
3344
3345         https://bugs.webkit.org/show_bug.cgi?id=151243
3346         <rdar://problem/22955197>
3347
3348         Reviewed by Alexey Proskuryakov.
3349
3350         * LayoutTestRelay/LayoutTestRelay/main.m:
3351         (getTestingSimDevice): Use separate testing device for each worker.
3352         * Scripts/webkitpy/layout_tests/controllers/manager.py:
3353         (Manager.run): Perform cleanup even if setup fails.
3354         * Scripts/webkitpy/port/ios.py:
3355         (IOSSimulatorPort.default_child_processes): Calculate number of simulators to use.
3356         (IOSSimulatorPort.child_processes): Gets the number of simulators from options variable.
3357         (IOSSimulatorPort.setup_test_run): Handle mulitple simulators.
3358         (IOSSimulatorPort._quit_ios_simulator): Same
3359         (IOSSimulatorPort.clean_up_test_run): Same
3360         (IOSSimulatorPort.check_sys_deps): Same
3361         (IOSSimulatorPort.testing_device): Same
3362         (IOSSimulatorPort.reset_preferences): Same
3363         (IOSSimulatorPort.get_simulator_path): Return simulator path.
3364         (IOSSimulatorPort._createSimulatorApp): Create the copy of simulator app.
3365         * Scripts/webkitpy/xcode/simulator.py:
3366         (Device.delete): Delete the simulator device.
3367         (Simulator.delete_device): Same
3368         (Simulator.wait_until_device_is_booted): Wait for device booting.
3369
3370 2015-12-08  Ryuan Choi  <ryuan.choi@navercorp.com>
3371
3372         [EFL] Add API to provide preferences before creating ewk_view
3373         https://bugs.webkit.org/show_bug.cgi?id=151587
3374
3375         Reviewed by Gyuyoung Kim.
3376
3377         * MiniBrowser/efl/main.c:
3378         (on_key_down):
3379         (quit):
3380         (window_create):
3381         Moved settings related code to configuration() not to update settings
3382         whenever ewk_view is created.
3383         (configuration):
3384         (elm_main):
3385
3386 2015-12-08  Carlos Garcia Campos  <cgarcia@igalia.com>
3387
3388         Unreviewed. Fix GTK+ API tests after r193639.
3389
3390         The new jhbuild version needs some more variables ot be present in
3391         the builtin dict, even if they are set to None.
3392
3393         * jhbuild/jhbuildutils.py:
3394         (enter_jhbuild_environment_if_available):
3395
3396 2015-12-07  Gustavo Noronha Silva  <gns@gnome.org>
3397
3398         [GTK] Notify WebCore when notification is clicked
3399         https://bugs.webkit.org/show_bug.cgi?id=151951
3400
3401         Reviewed by Carlos Garcia Campos.
3402
3403         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3404         (testWebViewNotification): test the new API.
3405
3406 2015-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
3407
3408         'jhbuild build' should fail immediately when building any module fails
3409         https://bugs.webkit.org/show_bug.cgi?id=145697
3410
3411         Reviewed by Carlos Garcia Campos.
3412
3413         * efl/jhbuildrc: Update jhbuildrc to account for the removal of the use_lib64 option.
3414         * gtk/jhbuildrc: Update jhbuildrc to account for the removal of the use_lib64 option.
3415         Everything is placed under lib instead of lib64 now.
3416         * jhbuild/jhbuild-wrapper: Update jhbuild to the latest upstream commit, and pass
3417         --exit-on-error when running 'jhbuild build'.
3418         * jhbuild/jhbuildrc_common.py:
3419         (init): Don't override PKG_CONFIG_PATH, CMAKE_PREFIX_PATH, or CMAKE_LIBRARY_PATH. Modern
3420         jhbuild should be able to handle these for us without breaking things....
3421
3422 2015-12-07  Xabier Rodriguez Calvar  <calvaris@igalia.com>
3423
3424         Add support to import w3c tests from a repository with a different root that the main repo dir
3425         https://bugs.webkit.org/show_bug.cgi?id=151751
3426
3427         Reviewed by Ryosuke Niwa and Youenn Fablet.
3428
3429         We should be able to import tests from repositories that are not pure test repositories and where tests are kept
3430         in a different directory than the repository root.
3431
3432         This patch introduces a new parameter tests_directory that we will use as root directory to search for
3433         tests. All paths will be flattened when copying tests to have a less complicated directory structure. This
3434         requires having the copy_path lists including tuples of origin and destination directories.
3435
3436         * Scripts/webkitpy/w3c/test_downloader.py:
3437         (TestDownloader._add_test_suite_paths): Adds the paths as a tuple of origin and destination directory.
3438         (TestDownloader.copy_tests): Uses the origin and destination tuple for the paths to copy when copying files.
3439         * Scripts/webkitpy/w3c/test_importer_unittest.py:
3440         (TestImporterTest.test_tests_directory): Test.
3441
3442 2015-12-07  Xabier Rodriguez Calvar  <calvaris@igalia.com>
3443
3444         Mock TestRepositories in W3C importer tests
3445         https://bugs.webkit.org/show_bug.cgi?id=151938
3446
3447         Reviewed by Youenn Fablet.
3448
3449         The test importer tests should use a fake repository instead of using the real one. The reason why this happened
3450         is because the test repository method reading the file was using the filesystem directly instead of taking the
3451         host one. This patch changes that.
3452
3453         * Scripts/webkitpy/w3c/test_downloader.py:
3454         (TestDownloader.load_test_repositories): Take a filesystem and use it. If we get no filesystem, we use the
3455         default one.
3456         (TestDownloader.__init__): When loading the repositories, pass the host filesystem.
3457         * Scripts/webkitpy/w3c/test_importer_unittest.py:
3458         (TestImporterTest.test_harnesslinks_conversion):
3459         (TestImporterTest.test_submodules_generation): Use a fake test repository file.
3460
3461 2015-12-07  David Kilzer  <ddkilzer@apple.com>
3462
3463         TestNetscapePlugIn: Address review comment on 193607
3464         <http://webkit.org/b/151881>
3465
3466         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
3467         (testSetStatus): Initializing std::unique_ptr<char[]> with
3468         nullptr is redundant.
3469
3470 2015-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
3471
3472         [GTK] Add webkit_uri_request_get_http_method
3473         https://bugs.webkit.org/show_bug.cgi?id=151601
3474
3475         Reviewed by Martin Robinson.
3476
3477         Add test case to check HTTP method of WebKitURIRequest.
3478
3479         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
3480         (testURIRequestHTTPMethod):
3481         (serverCallback):
3482         (beforeAll):
3483         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
3484         (sendRequestCallback):
3485
3486 2015-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
3487
3488         [GTK] Add WebKitWebPage::console-message-sent signal to Web Extensions API
3489         https://bugs.webkit.org/show_bug.cgi?id=79918
3490
3491         Reviewed by Gustavo Noronha Silva.
3492
3493         Add unit tests to check the different console messages.
3494
3495         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
3496         * TestWebKitAPI/Tests/WebKit2Gtk/TestConsoleMessage.cpp: Added.
3497         (ConsoleMessageTest::ConsoleMessage::operator==):
3498         (ConsoleMessageTest::consoleMessageReceivedCallback):
3499         (ConsoleMessageTest::ConsoleMessageTest):
3500         (ConsoleMessageTest::~ConsoleMessageTest):
3501         (ConsoleMessageTest::waitUntilConsoleMessageReceived):
3502         (testWebKitConsoleMessageConsoleAPI):
3503         (testWebKitConsoleMessageJavaScriptException):
3504         (testWebKitConsoleMessageNetworkError):
3505         (testWebKitConsoleMessageSecurityError):
3506         (beforeAll):
3507         (afterAll):
3508         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
3509         (consoleMessageSentCallback):
3510         (pageCreatedCallback):
3511
3512 2015-12-07  Ryuan Choi  <ryuan.choi@navercorp.com>
3513
3514         [EFL] MiniBrowser doesn't exit when called ewk_view_try_close()
3515         https://bugs.webkit.org/show_bug.cgi?id=151934
3516
3517         Reviewed by Csaba Osztrogonác.
3518
3519         * MiniBrowser/efl/main.c:
3520         (on_window_deletion): Revert the changes of r192767.
3521
3522 2015-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
3523
3524         [GTK] update-webkitgtk-libs cannot build mesa
3525         https://bugs.webkit.org/show_bug.cgi?id=151535
3526
3527         Reviewed by Martin Robinson.
3528
3529         Upgrade to newer mesa in order to build successfully against LLVM 3.7. Add missing
3530         dependency of mesa on LLVM, to ensure LLVM is built first. Build LLVM unconditionally, even
3531         on architectures where FTL is not supported, to ensure mesa is always buildable, since LLVM
3532         does not have a stable API and we cannot expect mesa to be buildable unless we control the
3533         LLVM version. Build mesa with --disable-egl since --enable-egl conflicts with
3534         --enable-xlib-glx. This fixes update-webkitgtk-libs on distros with LLVM 3.7.
3535
3536         * gtk/jhbuild.modules:
3537
3538 2015-12-07  Philippe Normand  <pnormand@igalia.com>
3539
3540         [GTK][Mac] libWebExtensionTest link error
3541         https://bugs.webkit.org/show_bug.cgi?id=150802
3542
3543         Reviewed by Carlos Garcia Campos.
3544
3545         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: add dependencies to the webextension library.
3546
3547 2015-12-06  David Kilzer  <ddkilzer@apple.com>
3548
3549         TestNetscapePlugIn: Fix leaks found by static analyzer
3550         <http://webkit.org/b/151881>
3551
3552         Reviewed by Darin Adler.
3553
3554         Fixes the following leaks found by the static analyzer:
3555             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'path'
3556                     return false;
3557                            ^~~~~
3558             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'target'
3559                     return false;
3560                            ^~~~~
3561             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'url'
3562                     return false;
3563                            ^~~~~
3564
3565         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
3566         (toCString): Switch to returning std::unique_ptr<char[]>.  Add
3567         early return if allocation fails.
3568         (testPostURLFile): Switch to using std::unique_ptr<char[]>.
3569         Make sure to call fclose() on filehandle, even for an early
3570         return.
3571         (testSetStatus): Switch to using std::unique_ptr<char[]>.
3572
3573 2015-12-05  David Kilzer  <ddkilzer@apple.com>
3574
3575         prepare-ChangeLog: Fix some warning messages when using svn
3576         <http://webkit.org/b/151914>
3577
3578         Reviewed by Daniel Bates.
3579
3580         * Scripts/prepare-ChangeLog:
3581         (generateFunctionLists): Simplify logic so that we never call
3582         normalizePath() with an undefined value.
3583         (attributeCommand): Quote $subPath for the shell so that we
3584         don't try to run "svn propget" on invalid paths.
3585
3586 2015-12-04  David Kilzer  <ddkilzer@apple.com>
3587
3588         TestNetscapePlugIn: Fix remaining static analyzer warnings
3589         <http://webkit.org/b/151888>
3590
3591         Reviewed by Alexey Proskuryakov.
3592
3593         Fixes the following static analyzer warnings:
3594             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:101:9: warning: Called function pointer is null (null dereference)
3595                     CRASH();
3596                     ^~~~~~~
3597             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:46:5: note: expanded from macro 'CRASH'
3598                 ((void(*)())0)(); /* More reliable, but doesn't say BBADBEEF */ \
3599                 ^~~~~~~~~~~~~~~~
3600             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:375:12: warning: Access to field 'pluginTest' results in a dereference of a null pointer (loaded from variable 'obj')
3601                 return obj->pluginTest->NPP_SetWindow(window);
3602                        ^~~~~~~~~~~~~~~
3603             2 warnings generated.
3604
3605         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
3606         (CRASH): Use __builtin_trap() for gcc/clang.
3607         (NPP_SetWindow): Add early return if obj is nullptr.
3608
3609 2015-12-03  Carlos Garcia Campos  <cgarcia@igalia.com>
3610
3611         [GTK] Test /webkit2/WebKitWebResource/get-data is flaky
3612         https://bugs.webkit.org/show_bug.cgi?id=151797
3613
3614         Reviewed by Martin Robinson.
3615
3616         Since we switched to use the network process to run the unit tests
3617         the test /webkit2/WebKitWebResource/get-data sometimes fails and
3618         sometimes passes. We are now also getting the notification for the
3619         css image. Since we wait for 3 resources, sometimes the css image
3620         is loaded before and then checkResourceData is called for it, but
3621         not handled. When the css image is the last one loaded the test
3622         passes. So, we just need to wait for the 4 resources.
3623
3624         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
3625         (testWebResourceGetData):
3626
3627 2015-12-03  David Kilzer  <ddkilzer@apple.com>
3628
3629         DumpRenderTree: Use-after-free in createBitmapContext() in PixelDumpSupportMac.mm
3630         <http://webkit.org/b/151845>