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