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