Update Resource Load Statistics
[WebKit-https.git] / Tools / ChangeLog
1 2016-10-06  John Wilander  <wilander@apple.com>
2
3         Update Resource Load Statistics
4         https://bugs.webkit.org/show_bug.cgi?id=162811
5
6         Reviewed by Alex Christensen.
7
8         * TestWebKitAPI/Tests/mac/PublicSuffix.mm:
9             Change from USE(PUBLIC_SUFFIX_LIST) to ENABLE(PUBLIC_SUFFIX_LIST)
10
11 2016-10-05  Philippe Normand  <pnormand@igalia.com>
12
13         [GStreamer][OWR] GL rendering support
14         https://bugs.webkit.org/show_bug.cgi?id=162972
15
16         Reviewed by Žan Doberšek.
17
18         When GStreamer-GL is enabled the GL context needs to be properly passed
19         to the GStreamer pipeline running within the OpenWebRTC video renderer.
20         This is now supported using a new OpenWebRTC API that allows the
21         renderer to request the context from the application using a callback
22         registered within the renderer.
23
24         * gtk/jhbuild.modules: Bump to latest OpenWebRTC for the new
25         owr_video_renderer_set_request_context_callback API added
26         recently.
27
28 2016-10-05  Youenn Fablet  <youenn@apple.com>
29
30         Reuse CodeGenerator::UpdateFile in Tools CodeGenerator
31         https://bugs.webkit.org/show_bug.cgi?id=162960
32
33         Reviewed by Alex Christensen.
34
35         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm:
36         (WriteData): Using CodeGenerator::UpdateFile to do lazy generated file update when it is made feasible.
37         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
38         (WriteData): Ditto.
39
40 2016-10-05  Alex Christensen  <achristensen@webkit.org>
41
42         URLParser should parse IPv4 addresses as the last two pieces of an IPv6 address
43         https://bugs.webkit.org/show_bug.cgi?id=162991
44
45         Reviewed by Saam Barati.
46
47         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
48         (TestWebKitAPI::TEST_F):
49
50 2016-10-05  Tim Horton  <timothy_horton@apple.com>
51
52         Avoid automatically re-taking snapshots for back-forward items that were never loaded into the view
53         https://bugs.webkit.org/show_bug.cgi?id=162955
54         <rdar://problem/27659173>
55
56         Reviewed by Simon Fraser.
57
58         * TestWebKitAPI/Tests/WebKit2Cocoa/SnapshotStore.mm:
59         (-[SnapshotTestWKWebView init]):
60         (forceRepaintCallback):
61         (-[SnapshotTestWKWebView synchronouslyForceRepaint]):
62         (-[SnapshotTestWKWebView synchronouslyLoadTestPageAndForceRepaint:]):
63         (TEST):
64         (makeRedSquareView):
65         Add a test that restoring session state into a web view without navigating,
66         then explicitly snapshotting and navigating away, leaves the original snapshot alone.
67
68         Adjust the existing test, as well, to ensure that it will reliably fail
69         if the feature is broken. Use an explicitly added and removed red square
70         instead of scrolling, because we can't scroll in the restore-without-navigating case.
71
72         Stop trying to override the window scale, because it's not working (we're getting partial snapshots)
73         and isn't necessary; instead just multiply the expected value by the page scale.
74
75         (-[SnapshotTestWKWebView loadPageNamed:]): Deleted.
76         * TestWebKitAPI/mac/TestWKWebViewMac.h:
77         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
78         (-[TestWKWebView synchronouslyLoadTestPageNamed:]):
79         Reorganize to reduce duplication.
80
81 2016-10-05  Tim Horton  <timothy_horton@apple.com>
82
83         Make it possible to test ViewSnapshotStore behaviors
84         https://bugs.webkit.org/show_bug.cgi?id=162983
85
86         Reviewed by Simon Fraser.
87
88         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
89         * TestWebKitAPI/Tests/WebKit2Cocoa/SnapshotStore.mm: Added.
90         (-[SnapshotTestWKWebView init]):
91         (-[SnapshotTestWKWebView loadPageNamed:]):
92         (imagesAreEqual):
93         Add tests for existing basic snapshotting behavior:
94
95         - a back-forward item shouldn't have a snapshot
96           until it is navigated away from
97
98         - causing a back-forward item to fall out of the
99           back-forward list should remove the snapshot
100
101         - calling the explicit snapshotting SPI, then navigating away from the page,
102           should result in the snapshot being retaken
103
104 2016-10-05  Chris Dumez  <cdumez@apple.com>
105
106         KeyboardEvent.getModifierState() should support "CapsLock" modifier
107         https://bugs.webkit.org/show_bug.cgi?id=162861
108
109         Reviewed by Darin Adler.
110
111         Add support for 'capsLockKey' modifier for EventSender.keyDown() so
112         that we can test this new modifier support for layout tests.
113
114         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
115         (TestWebKitAPI::modifierFlagsForWKModifiers):
116         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
117         (WTR::parseModifier):
118         * WebKitTestRunner/mac/EventSenderProxy.mm:
119         (WTR::buildModifierFlags):
120
121 2016-10-05  Jeremy Jones  <jeremyj@apple.com>
122
123         Add MobileMiniBrowser tests for control center and looping fullscreen.
124         https://bugs.webkit.org/show_bug.cgi?id=162748
125
126         Reviewed by Jer Noble.
127
128         Refactor existing MobileMiniBrowserTests and add new tests for 
129         - fullscreen rotation
130         - fullscreen looping (failing)
131         - control center interruption (failing)
132
133         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
134         * MobileMiniBrowser/MobileMiniBrowserFramework/Resources/looping2s.html: Added.
135         * MobileMiniBrowser/MobileMiniBrowserFramework/test2s.mp4: Added.
136         * MobileMiniBrowser/MobileMiniBrowserUITests/MobileMiniBrowserUITests.m:
137         (-[MobileMiniBrowserUITests setUp]):
138         (-[MobileMiniBrowserUITests waitToTapButtonNamed:forApp:]):
139         (-[MobileMiniBrowserUITests loadURL:]):
140         (-[MobileMiniBrowserUITests requireMinFPS:sampleDurationSeconds:message:]):
141         (-[MobileMiniBrowserUITests ensureFullscreenControls]):
142         (-[MobileMiniBrowserUITests timeForTimeString:]):
143         (-[MobileMiniBrowserUITests testBasicVideoPlayback]):
144         (-[MobileMiniBrowserUITests testBasicVideoFullscreen]):
145         (-[MobileMiniBrowserUITests testVideoFullscreenAndRotationAnimation]):
146         (-[MobileMiniBrowserUITests testVideoFullscreenControlCenter]):
147         (-[MobileMiniBrowserUITests testLoopingFullscreenLockup]):
148
149 2016-10-05  Alex Christensen  <achristensen@webkit.org>
150
151         URLParser should correctly strip unnecessary 0's in IPv6 addresses
152         https://bugs.webkit.org/show_bug.cgi?id=162979
153
154         Reviewed by Brady Eidson.
155
156         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
157         (TestWebKitAPI::TEST_F):
158
159 2016-10-05  Alex Christensen  <achristensen@webkit.org>
160
161         UTF-8 encode queries of nonspecial and websocket schemes
162         https://bugs.webkit.org/show_bug.cgi?id=162956
163
164         Reviewed by Geoffrey Garen and Brady Eidson.
165
166         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
167         (TestWebKitAPI::TEST_F):
168
169 2016-10-05  Alex Christensen  <achristensen@webkit.org>
170
171         Prepare to enable URLParser
172         https://bugs.webkit.org/show_bug.cgi?id=162974
173
174         Reviewed by Brady Eidson.
175
176         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
177         (TestWebKitAPI::TEST_F):
178         Added some tests that are unrelated to the code change, but these are
179         reflected in changed LayoutTest results when enabling the URLParser,
180         and they weren't in the URLParser tests yet.  They should be.
181
182 2016-10-05  Zan Dobersek  <zdobersek@igalia.com>
183
184         Rename ENABLE_ENCRYPTED_MEDIA_V2 to ENABLE_LEGACY_ENCRYPTED_MEDIA
185         https://bugs.webkit.org/show_bug.cgi?id=162903
186
187         Reviewed by Alex Christensen.
188
189         Rename build guards for the remaining implementation of the legacy EME API
190         to ENABLE_LEGACY_ENCRYPTED_MEDIA. This will allow for the future implementation
191         of the near-finished API to be guarded with the simple ENABLE_ENCRYPTED_MEDIA guards.
192
193         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Also remove the
194         ENABLE_IOS_TEXT_AUTOSIZING feature define that was renamed in r206395 and was
195         throwing up style checker errors.
196
197 2016-10-04  Andy Estes  <aestes@apple.com>
198
199         [iOS] Crash in WebResourceLoaderQuickLookDelegate when the client cancels the navigation to a QuickLook resource
200         https://bugs.webkit.org/show_bug.cgi?id=162950
201         <rdar://problem/23759114>
202
203         Reviewed by Brady Eidson.
204
205         Added a new API test.
206
207         * TestWebKitAPI/Tests/WebKit2Cocoa/QuickLook.mm: Sorted imports and removed redundant
208         initialization of static bools.
209         (runTest): Factored out the common test logic between QuickLook.NavigationDelegate and
210         QuickLook.CancelNavigationAfterResponse.
211         (TEST): Added QuickLook.CancelNavigationAfterResponse.
212         (-[QuickLookDecidePolicyDelegate
213         webView:decidePolicyForNavigationResponse:decisionHandler:]): Canceled the navigation.
214         (-[QuickLookDecidePolicyDelegate webView:didFailProvisionalNavigation:withError:]): Set
215         isDone to true.
216
217 2016-10-04  Ryosuke Niwa  <rniwa@webkit.org>
218
219         Add the support for running ES6SampleBench to run-benchmark
220         https://bugs.webkit.org/show_bug.cgi?id=162890
221
222         Reviewed by Saam Barati.
223
224         Added the support for running ES6SampleBench as "es6bench".
225         e.g. ./Tools/Scripts/run-benchmark --platform osx --plan es6bench --browser safari
226
227         Instead of the default 10 iterations, run the test 4 iterations using 5 instances of browser
228         for the total of 20 iterations.
229
230         * Scripts/webkitpy/benchmark_runner/data/patches/ES6SampleBench.patch: Added.
231         * Scripts/webkitpy/benchmark_runner/data/plans/es6bench.plan: Added.
232         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
233         (start): Fixed the bug that the linter will complain about the presence of "debugOutput" by
234         removing it if it's present.
235
236 2016-10-04  Simon Fraser  <simon.fraser@apple.com>
237
238         [iOS WK2] Make it possible for a test to describe a user gesture as a stream of events in JSON format
239         https://bugs.webkit.org/show_bug.cgi?id=162934
240
241         Reviewed by Dean Jackson.
242
243         With this change, a test can describe a user gesture in an "event stream", which is
244         some JSON describing an array of events with their underlying touches. The added
245         test describes a single tap.
246         
247         The implementation fires up an NSThread, and sleeps the thread between events to dispatch
248         them at close to real time.
249         
250         In future, HIDEventGenerator could use this internally for all of the "compound" interactions.
251
252         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
253         (WTR::UIScriptController::sendEventStream):
254         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
255         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
256         (WTR::UIScriptController::sendEventStream):
257         * TestRunnerShared/UIScriptContext/UIScriptController.h:
258         * WebKitTestRunner/ios/HIDEventGenerator.h:
259         * WebKitTestRunner/ios/HIDEventGenerator.mm:
260         (transducerTypeFromString):
261         (phaseFromString):
262         (-[HIDEventGenerator eventMaskFromEventInfo:]):
263         (-[HIDEventGenerator touchFromEventInfo:]):
264         (-[HIDEventGenerator _createIOHIDEventWithInfo:]):
265         (-[HIDEventGenerator dispatchEventWithInfo:]):
266         (-[HIDEventGenerator eventDispatchThreadEntry:]):
267         (-[HIDEventGenerator sendEventStream:completionBlock:]):
268         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
269         (WTR::UIScriptController::sendEventStream):
270
271 2016-10-04  Megan Gardner  <megan_gardner@apple.com>
272
273         Add Megan to contributor's list
274         https://bugs.webkit.org/show_bug.cgi?id=162944
275
276         Reviewed by Tim Horton.
277
278         Add Megan to the contributor's lists so that her e-mail autocompletes for CC
279
280         * Scripts/webkitpy/common/config/contributors.json:
281
282 2016-10-04  Alex Christensen  <achristensen@webkit.org>
283
284         Add tests verifying non-special URL hosts are parsed according to spec
285         https://bugs.webkit.org/show_bug.cgi?id=162885
286
287         Reviewed by Sam Weinig.
288
289         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
290         (TestWebKitAPI::TEST_F):
291
292 2016-10-04  Anders Carlsson  <andersca@apple.com>
293
294         Properly kill web processes in the launching state
295         https://bugs.webkit.org/show_bug.cgi?id=162938
296
297         Reviewed by Tim Horton.
298
299         * TestWebKitAPI/Tests/WebKit2/TerminateTwice.cpp:
300         Enable this test again.
301
302 2016-10-04  Alex Christensen  <achristensen@webkit.org>
303
304         URLParser: query-only URLs relative to file URLs should just add a query
305         https://bugs.webkit.org/show_bug.cgi?id=162888
306
307         Reviewed by Tim Horton.
308
309         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
310         (TestWebKitAPI::TEST_F):
311
312 2016-10-04  Alex Christensen  <achristensen@webkit.org>
313
314         URLParser should match URL::parse and other browsers when parsing a URL containing only scheme://
315         https://bugs.webkit.org/show_bug.cgi?id=162909
316
317         Reviewed by Tim Horton.
318
319         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
320         (TestWebKitAPI::TEST_F):
321
322 2016-10-04  Yusuke Suzuki  <utatane.tea@gmail.com>
323
324         [DOMJIT] Introduce DOMJIT::GetterSetter to tell JIT information
325         https://bugs.webkit.org/show_bug.cgi?id=162916
326
327         Reviewed by Filip Pizlo.
328
329         * DumpRenderTree/CMakeLists.txt:
330
331 2016-10-04  Wenson Hsieh  <wenson_hsieh@apple.com>
332
333         Media controls are displayed in the incorrect state momentarily after switching between tabs playing media
334         https://bugs.webkit.org/show_bug.cgi?id=162766
335         <rdar://problem/28533523>
336
337         Reviewed by Jer Noble.
338
339         Adds new tests and tweaks existing tests to verify last updated Now Playing information.
340
341         * TestWebKitAPI/Tests/WebKit2Cocoa/NowPlayingControlsTests.mm:
342         (-[NowPlayingTestWebView _handleActiveNowPlayingSessionInfoResponse:title:duration:elapsedTime:]):
343         (TestWebKitAPI::TEST):
344         (-[NowPlayingTestWebView _handleActiveNowPlayingSessionInfoResponse:]): Deleted.
345         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-test-now-playing.html:
346
347 2016-10-03  Alex Christensen  <achristensen@webkit.org>
348
349         URLParser should ignore tabs at all locations
350         https://bugs.webkit.org/show_bug.cgi?id=162836
351
352         Reviewed by Geoffrey Garen.
353
354         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
355         (TestWebKitAPI::checkURL):
356         (TestWebKitAPI::checkRelativeURL):
357         (TestWebKitAPI::checkURLDifferences):
358         (TestWebKitAPI::checkRelativeURLDifferences):
359         (TestWebKitAPI::TEST_F):
360
361 2016-10-03  Alex Christensen  <achristensen@webkit.org>
362
363         URLParser: fragment-only URLs relative to file URLs should just add a fragment
364         https://bugs.webkit.org/show_bug.cgi?id=162871
365
366         Reviewed by Geoffrey Garen.
367
368         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
369         (TestWebKitAPI::TEST_F):
370
371 2016-10-03  Per Arne Vollan  <pvollan@apple.com>
372
373         [Win] DRT temp folder is not used.
374         https://bugs.webkit.org/show_bug.cgi?id=162863
375
376         Reviewed by Alex Christensen.
377
378         Convert DRT temp folder to DOS path, which DRT can use.
379
380         * Scripts/webkitpy/port/driver.py:
381         (Driver._setup_environ_for_driver):
382
383 2016-10-03  Alex Christensen  <achristensen@webkit.org>
384
385         URLParser: empty relative URLs should not copy fragment from the base URL
386         https://bugs.webkit.org/show_bug.cgi?id=162864
387
388         Reviewed by Chris Dumez.
389
390         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
391         (TestWebKitAPI::TEST_F):
392
393 2016-10-03  Carlos Garcia Campos  <cgarcia@igalia.com>
394
395         [SOUP] Cleanup persistent credential storage code
396         https://bugs.webkit.org/show_bug.cgi?id=162777
397
398         Reviewed by Alex Christensen.
399
400         Use USE(LIBSECRET) instead of ENABLE(CREDENTIAL_STORAGE).
401
402         * TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp:
403         (testWebViewAuthenticationStorage):
404
405 2016-10-02  Darin Adler  <darin@apple.com>
406
407         Rename ExceptionCode-based exception handling to "legacy"
408         https://bugs.webkit.org/show_bug.cgi?id=162859
409
410         Reviewed by Chris Dumez.
411
412         * Scripts/do-webcore-rename: Updated script to do this round of renames.
413
414 2016-10-02  Wenson Hsieh  <wenson_hsieh@apple.com>
415
416         Media controls for Soundcloud easily falls out of sync with what's actually playing
417         https://bugs.webkit.org/show_bug.cgi?id=162843
418         <rdar://problem/28176874>
419
420         Reviewed by Beth Dakin.
421
422         Adds two new tests simulating audio playback behavior on soundcloud. Also tweaks some of the WKWebView test
423         message handling logic to support having multiple message-handler mappings.
424
425         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
426         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
427         (TestWebKitAPI::TEST):
428         * TestWebKitAPI/Tests/WebKit2Cocoa/play-audio-on-click.html: Added.
429         * TestWebKitAPI/mac/TestWKWebViewMac.h:
430         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
431         (-[TestMessageHandler addMessage:withHandler:]):
432         (-[TestMessageHandler userContentController:didReceiveScriptMessage:]):
433         (-[TestWKWebView performAfterReceivingMessage:action:]):
434         (-[TestWKWebView performAfterLoading:]):
435         (-[TestMessageHandler initWithMessage:handler:]): Deleted.
436
437 2016-09-30  Alex Christensen  <achristensen@webkit.org>
438
439         Fix off-by-one error in URLParser::parseIPv4Host
440         https://bugs.webkit.org/show_bug.cgi?id=162789
441
442         Reviewed by Tim Horton.
443
444         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
445         (TestWebKitAPI::TEST_F):
446
447 2016-09-30  Alex Christensen  <achristensen@webkit.org>
448
449         URLParser: parsing a URL with an empty host and a colon should fail
450         https://bugs.webkit.org/show_bug.cgi?id=162795
451
452         Reviewed by Tim Horton.
453
454         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
455         (TestWebKitAPI::TEST_F):
456
457 2016-09-30  Alex Christensen  <achristensen@webkit.org>
458
459         URLParser: handle syntax violations in non-UTF-8 encoded queries
460         https://bugs.webkit.org/show_bug.cgi?id=162770
461
462         Reviewed by Tim Horton.
463
464         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
465         (TestWebKitAPI::checkURL):
466         (TestWebKitAPI::TEST_F):
467         Tests with emoji change behavior when we insert a tab between the surrogates, so don't do the
468         insert-tab-at-each-location verification that syntax violations are handled correctly.
469
470 2016-09-30  Megan Gardner  <megan_gardner@apple.com>
471
472         Make it possible to test web-related user-interface features
473         https://bugs.webkit.org/show_bug.cgi?id=162657
474
475         Reviewed by Simon Fraser.
476
477         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
478         (WTR::UIScriptController::contentsOfUserInterfaceItem):
479         (WTR::UIScriptController::selectFormAccessoryPickerRow): Deleted.
480         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
481         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
482         (WTR::UIScriptController::contentsOfUserInterfaceItem):
483         (WTR::UIScriptController::selectFormAccessoryPickerRow): Deleted.
484         * TestRunnerShared/UIScriptContext/UIScriptController.h:
485         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
486         (WTR::UIScriptController::contentsOfUserInterfaceItem):
487         (WTR::UIScriptController::selectFormAccessoryPickerRow): Deleted.
488
489 2016-09-29  Jiewen Tan  <jiewen_tan@apple.com>
490
491         Expose CryptoKey to web workers
492         https://bugs.webkit.org/show_bug.cgi?id=162640
493         <rdar://problem/28182204>
494
495         Reviewed by Brent Fulgham.
496
497         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
498         * TestWebKitAPI/Tests/WebCore/SerializedCryptoKeyWrap.mm: Added.
499         (TestWebKitAPI::TEST_F):
500         Add API tests for SerializedCryptoKeyWrap APIs.
501
502 2016-09-29  Alex Christensen  <achristensen@webkit.org>
503
504         Fix syntax violation handling in IPv4 address parsing
505         https://bugs.webkit.org/show_bug.cgi?id=162756
506
507         Reviewed by Tim Horton.
508
509         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
510         (TestWebKitAPI::TEST_F):
511
512 2016-09-29  Alex Christensen  <achristensen@webkit.org>
513
514         URLParser should correctly parse ports with leading 0's
515         https://bugs.webkit.org/show_bug.cgi?id=162752
516
517         Reviewed by Tim Horton.
518
519         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
520         (TestWebKitAPI::TEST_F):
521
522 2016-09-29  Alex Christensen  <achristensen@webkit.org>
523
524         URLParser: make parsing invalid IPv4 addresses more robust and correct
525         https://bugs.webkit.org/show_bug.cgi?id=162746
526
527         Reviewed by Tim Horton.
528
529         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
530         (TestWebKitAPI::TEST_F):
531
532 2016-09-29  Alex Christensen  <achristensen@webkit.org>
533
534         URLParser: IPv6 addresses followed by a colon are invalid
535         https://bugs.webkit.org/show_bug.cgi?id=162747
536
537         Reviewed by Tim Horton.
538
539         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
540         (TestWebKitAPI::TEST_F):
541
542 2016-09-29  Alexey Proskuryakov  <ap@apple.com>
543
544         Make WKTR short timeout dynamic
545         https://bugs.webkit.org/show_bug.cgi?id=162733
546
547         Reviewed by Alex Christensen.
548
549         WebKitTestRunner has a hardcoded value for how long to wait for IPC responses,
550         which is 5 seconds, or 10 seconds under ASan. But some of the operations can be
551         fairly time consuming - e.g. launching Networking process on demand.
552         These may take longer under load, especially with GuardMalloc.
553
554         * WebKitTestRunner/TestController.cpp:
555         (WTR::TestController::resetStateToConsistentValues):
556         (WTR::TestController::reattachPageToWebProcess):
557         * WebKitTestRunner/TestController.h:
558         * WebKitTestRunner/TestInvocation.cpp:
559         (WTR::TestInvocation::shortTimeout):
560         (WTR::TestInvocation::invoke):
561         (WTR::TestInvocation::dumpResults):
562
563         * WebKitTestRunner/TestInvocation.h:
564         (WTR::TestInvocation::customTimeout): Deleted, this function was unused.
565
566 2016-09-29  Alex Christensen  <achristensen@webkit.org>
567
568         URLParser should fail to parse unclosed IPv6 addresses
569         https://bugs.webkit.org/show_bug.cgi?id=162715
570
571         Reviewed by Tim Horton.
572
573         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
574         (TestWebKitAPI::TEST_F):
575
576 2016-09-29  Alex Christensen  <achristensen@webkit.org>
577
578         URLParser should ignore tabs at all possible locations
579         https://bugs.webkit.org/show_bug.cgi?id=162711
580
581         Reviewed by Tim Horton.
582
583         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
584         (TestWebKitAPI::ExpectedParts::isInvalid):
585         (TestWebKitAPI::checkURL):
586         (TestWebKitAPI::TEST_F):
587
588 2016-09-29  Gyuyoung Kim  <gyuyoung.kim@navercorp.com>
589
590         [EFL] Add search button to url bar in MiniBrowser
591         https://bugs.webkit.org/show_bug.cgi?id=162716
592
593         Reviewed by Michael Catanzaro.
594
595         As a bug title, it would be good to add a search button to URL bar.
596         Additionally this patch changes color of button to recognize the buttons.
597
598         * MiniBrowser/efl/main.c:
599         (_search_button_clicked_cb):
600         (_create_toolbar_button):
601         (window_create):
602         (create_toolbar_button): Deleted.
603
604 2016-09-28  Tim Horton  <timothy_horton@apple.com>
605
606         API test WebKit2.AutoLayoutIntegration is a flaky timeout
607         https://bugs.webkit.org/show_bug.cgi?id=160284
608
609         Reviewed by Dan Bernstein.
610
611         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
612         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:resettingWidth:]):
613         (-[AutoLayoutWKWebView beginLayoutAtMinimumWidth:andExpectContentSizeChange:]):
614         (-[AutoLayoutWKWebView waitForContentSizeChangeResettingWidth:]):
615         (-[AutoLayoutWKWebView layoutAtMinimumWidth:andExpectContentSizeChange:resettingWidth:]):
616         (-[AutoLayoutWKWebView invalidateIntrinsicContentSize]):
617         (TEST):
618         Make the autolayout tests a bit more flexible regarding the ordering of
619         invalidateIntrinsicContentSize, to avoid a race between the load
620         completing and the invalidation.
621
622         Also, move the newly added test to use its own WKWebView, since once in a
623         while we get a first layout notification from the previous page, causing the test to fail.
624
625         Un-disable the tests, which now run without any flakes for me with quite a few iterations.
626
627 2016-09-28  Alex Christensen  <achristensen@webkit.org>
628
629         URLParser should properly handle unexpected periods and overflows in IPv4 addresses
630         https://bugs.webkit.org/show_bug.cgi?id=162655
631
632         Reviewed by Geoffrey Garen.
633
634         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
635         (TestWebKitAPI::TEST_F):
636
637 2016-09-28  Ryan Haddad  <ryanhaddad@apple.com>
638
639         Disable flaky API test WebKit2.AutoLayoutIntegration.
640         https://bugs.webkit.org/show_bug.cgi?id=160284
641
642         Unreviewed test gardening.
643
644         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
645         (TEST):
646
647 2016-09-28  Alex Christensen  <achristensen@webkit.org>
648
649         URLParser should ignore tabs in authority
650         https://bugs.webkit.org/show_bug.cgi?id=162694
651
652         Reviewed by Geoffrey Garen.
653
654         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
655         (TestWebKitAPI::TEST_F):
656
657 2016-09-28  Alex Christensen  <achristensen@webkit.org>
658
659         URLParser should ignore extra slashes after scheme:// and handle a missing slash after the port
660         https://bugs.webkit.org/show_bug.cgi?id=162690
661
662         Reviewed by Geoffrey Garen.
663
664         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
665         (TestWebKitAPI::TEST_F):
666
667 2016-09-28  Alex Christensen  <achristensen@webkit.org>
668
669         URLParser should correctly canonicalize uppercase IPv6 addresses
670         https://bugs.webkit.org/show_bug.cgi?id=162680
671
672         Reviewed by Tim Horton.
673
674         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
675         (TestWebKitAPI::TEST_F):
676
677 2016-09-27  Wenson Hsieh  <wenson_hsieh@apple.com>
678
679         Adopt MediaRemote SPI to achieve desired Now Playing behavior
680         https://bugs.webkit.org/show_bug.cgi?id=162658
681         <rdar://problem/28499358>
682
683         Reviewed by Jer Noble.
684
685         Introduces 2 unit tests in the new NowPlayingControlsTests test suite. Also provides some basic support for
686         mocking key window status for TestWKWebViews.
687
688         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
689         * TestWebKitAPI/Tests/WebKit2Cocoa/NowPlayingControlsTests.mm: Added.
690         (-[NowPlayingTestWebView hasActiveNowPlayingSession]):
691         (-[NowPlayingTestWebView expectHasActiveNowPlayingSession:]):
692         (-[NowPlayingTestWebView _handleActiveNowPlayingSessionInfoResponse:]):
693         (TestWebKitAPI::TEST):
694         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-test-now-playing.html: Added.
695         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
696         (-[TestWKWebViewHostWindow isKeyWindow]):
697         (-[TestWKWebViewHostWindow makeKeyWindow]):
698         (-[TestWKWebViewHostWindow resignKeyWindow]):
699
700 2016-09-28  Per Arne Vollan  <pvollan@apple.com>
701
702         [Win] Compile fix.
703         https://bugs.webkit.org/show_bug.cgi?id=162670
704
705         Reviewed by Brent Fulgham.
706
707         Make sure we include JavaScriptCore files from the forwarding headers folder.
708         Otherwise we might get multiple definitions if a JSC file is included both
709         from the forwarding headers folder and the JSC source folder, since
710         #pragma once is used in the header files.
711
712         * DumpRenderTree/TestRunner.cpp:
713
714 2016-09-28  Michael Catanzaro  <mcatanzaro@igalia.com>
715
716         [GTK] Add Chrome UA quirk
717         https://bugs.webkit.org/show_bug.cgi?id=162617
718
719         Reviewed by Carlos Garcia Campos.
720
721         Update test. This portion of the commit was actually unreviewed.
722
723         * TestWebKitAPI/Tests/WebCore/gtk/UserAgentQuirks.cpp:
724         (TestWebKitAPI::TEST):
725
726 2016-09-28  Michael Catanzaro  <mcatanzaro@igalia.com>
727
728         [GTK] Adjust OS X UA quirks list
729         https://bugs.webkit.org/show_bug.cgi?id=162616
730
731         "Reviewed" by Carlos Garcia Campos.
732
733         Update test. This portion of the commit was actually unreviewed.
734
735         * TestWebKitAPI/Tests/WebCore/gtk/UserAgentQuirks.cpp:
736         (TestWebKitAPI::TEST):
737
738 2016-09-28  Carlos Garcia Campos  <cgarcia@igalia.com>
739
740         [GTK] Switch to use GMenu internally in the context menu implementation
741         https://bugs.webkit.org/show_bug.cgi?id=162603
742
743         Reviewed by Michael Catanzaro.
744
745         Remove smart separators test, since that's now done automatically by GTK+.
746
747         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
748         (beforeAll):
749         (testContextMenuWebExtensionMenu): Deleted.
750
751 2016-09-27  Alex Christensen  <achristensen@webkit.org>
752
753         Correctly parse URLs with the first tab in the fragment
754         https://bugs.webkit.org/show_bug.cgi?id=162650
755
756         Reviewed by Saam Barati.
757
758         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
759         (TestWebKitAPI::TEST_F):
760
761 2016-09-27  Alex Christensen  <achristensen@webkit.org>
762
763         URLParser: Handle windows drive letters after two slashes in relative URLs according to spec
764         https://bugs.webkit.org/show_bug.cgi?id=162646
765
766         Reviewed by Saam Barati.
767
768         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
769         (TestWebKitAPI::TEST_F):
770
771 2016-09-27  Alex Christensen  <achristensen@webkit.org>
772
773         URLs with @ in the user should only search for the last @ until the end of the authority and host
774         https://bugs.webkit.org/show_bug.cgi?id=162635
775
776         Reviewed by Geoffrey Garen.
777
778         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
779         (TestWebKitAPI::TEST_F):
780
781 2016-09-27  JF Bastien  <jfbastien@apple.com>
782
783         Speed up Heap::isMarkedConcurrently
784         https://bugs.webkit.org/show_bug.cgi?id=162095
785
786         Reviewed by Filip Pizlo.
787
788         * TestWebKitAPI/CMakeLists.txt:
789         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
790         * TestWebKitAPI/Tests/WTF/Consume.cpp: Added.
791         (testConsume):
792         (TestWebKitAPI::TEST):
793
794 2016-09-26  Alex Christensen  <achristensen@webkit.org>
795
796         Implement URLParser::syntaxViolation
797         https://bugs.webkit.org/show_bug.cgi?id=162593
798
799         Reviewed by Geoffrey Garen.
800
801         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
802         (TestWebKitAPI::TEST_F):
803
804 2016-09-27  Anders Carlsson  <andersca@apple.com>
805
806         Turns out OptionSet.cpp wasn't added to the right target. Add it and fix the build for real.
807
808         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
809         * TestWebKitAPI/Tests/WTF/OptionSet.cpp:
810         (TestWebKitAPI::TEST):
811
812 2016-09-27  Anders Carlsson  <andersca@apple.com>
813
814         Try to fix the GTK+ build.
815
816         * TestWebKitAPI/Tests/WTF/OptionSet.cpp:
817         (TestWebKitAPI::TEST):
818
819 2016-09-27  Dan Bernstein  <mitz@apple.com>
820
821         [iOS] REGRESSION (r182126): Selection highlight and handles aren’t visible with WKSelectionGranularityCharacter
822         https://bugs.webkit.org/show_bug.cgi?id=162577
823         <rdar://problem/28481984>
824
825         Reviewed by Simon Fraser.
826
827         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
828         (WTR::UIScriptController::selectionRangeViewRects): Returns null.
829
830         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: Declared new
831           selectionRangeViewRects attribute.
832
833         * TestRunnerShared/UIScriptContext/UIScriptContext.h:
834         (WTR::UIScriptContext::jsContext): Added this public accessor.
835
836         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
837         (WTR::selectionRangeViewRects): Generic implementation that returns null.
838         * TestRunnerShared/UIScriptContext/UIScriptController.h:
839
840         * WebKitTestRunner/TestController.cpp:
841         (WTR::updateTestOptionsFromTestHeader): Parse the new useCharacterSelectionGranularity
842           option.
843
844         * WebKitTestRunner/TestOptions.h: Added new useCharacterSelectionGranularity option.
845
846         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
847         (WTR::TestController::platformCreateWebView): Set the configuration’s selectionGranularity
848           property based on the new option.
849
850         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
851         (WTR::PlatformWebView::viewSupportsOptions): Compare selection granularity option values.
852
853         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
854         (WTR::UIScriptController::selectionRangeViewRects): iOS-specific implementation that calls
855           the new -[WKWebView _uiTextSelectionRectViews] and returns an array of view frame
856           dictionaries.
857
858 2016-09-27  Daniel Bates  <dabates@apple.com>
859
860         Cannot run dump-class-layout; dies with "global name 'lldb' is not defined"
861         https://bugs.webkit.org/show_bug.cgi?id=162585
862
863         Reviewed by Simon Fraser.
864
865         Import the lldb module into the global namespace.
866
867         Currently dump-class-layout imports the lldb Python module using the import statement
868         from the helper function import_lldb. The import statement imports the names of the
869         specified module into the scope of import_lldb(); => the names imported from this
870         module cannot be accessed outside the scope of import_lldb(). Other functions in
871         this script assume that the lldb module was imported into the global scope. We should
872         import the module lldb into the global scope, if it exists, so that these functions
873         can find it. Otherwise, we should emit a human readable error message that explains
874         that we failed to import the lldb module.
875
876         Also remove some unnecessary semicolon characters.
877
878         * Scripts/dump-class-layout:
879         (import_lldb):
880
881 2016-09-27  Jer Noble  <jer.noble@apple.com>
882
883         Remove deprecated ENCRYPTED_MEDIA implementation.
884         https://bugs.webkit.org/show_bug.cgi?id=161010
885
886         Reviewed by Eric Carlson.
887
888         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
889
890 2016-09-27  Chris Dumez  <cdumez@apple.com>
891
892         [WK2] Navigating to a Blob URL does not trigger a download
893         https://bugs.webkit.org/show_bug.cgi?id=162574
894
895         Reviewed by Darin Adler.
896
897         Add API that tests navigating to a Blob URL and checks that that the load
898         properly gets converted into a download.
899
900         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
901         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
902         (-[BlobDownloadDelegate _downloadDidStart:]):
903         (-[BlobDownloadDelegate _download:didReceiveResponse:]):
904         (-[BlobDownloadDelegate _download:didReceiveData:]):
905         (-[BlobDownloadDelegate _download:decideDestinationWithSuggestedFilename:allowOverwrite:]):
906         (-[BlobDownloadDelegate _downloadDidFinish:]):
907         (-[DownloadBlobURLNavigationDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
908         (TEST):
909         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestBlobURL.html: Added.
910
911 2016-09-27  Michael Catanzaro  <mcatanzaro@igalia.com>
912
913         [GTK] Install binaries to pkglibexecdir rather than bindir
914         https://bugs.webkit.org/show_bug.cgi?id=162602
915
916         Reviewed by Carlos Garcia Campos.
917
918         Install MiniBrowser to LIBEXEC_INSTALL_DIR rather than EXEC_INSTALL_DIR.
919
920         * MiniBrowser/gtk/CMakeLists.txt:
921
922 2016-09-27  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
923
924         [EFL] Locate color picker popup to center of window
925         https://bugs.webkit.org/show_bug.cgi?id=162540
926
927         Reviewed by Michael Catanzaro.
928
929         Color picker popup hasn't located in a center of main window, because
930         elm_win_center() function doesn't work correctly. It looks a bug.
931
932         To fix the problem, this patch uses evas_object_geometry_set() instead.
933
934         * MiniBrowser/efl/main.c:
935         (_color_picker_request_cb):
936
937 2016-09-27  Michael Catanzaro  <mcatanzaro@igalia.com>
938
939         [GTK] Disable ACCELERATED_2D_CANVAS when using build-webkit
940         https://bugs.webkit.org/show_bug.cgi?id=162600
941
942         Reviewed by Carlos Garcia Campos.
943
944         * Scripts/webkitperl/FeatureList.pm:
945
946 2016-09-27  Michael Catanzaro  <mcatanzaro@igalia.com>
947
948         PyGIWarnings printed by webkit-patch
949         https://bugs.webkit.org/show_bug.cgi?id=152470
950
951         Reviewed by Carlos Garcia Campos.
952
953         Update to a newer version of the keyring module, since this bug has been fixed upstream for
954         a while. But be careful not to update to the latest version, since it has some compatibility
955         breaks and requires the SecretService python module on Linux, but I couldn't figure out how
956         to autoinstall it successfully.
957
958         * Scripts/webkitpy/thirdparty/__init__.py:
959         (AutoinstallImportHook._install_keyring):
960
961 2016-09-26  Ryan Haddad  <ryanhaddad@apple.com>
962
963         Add Sierra to the flakiness dashboard.
964         https://bugs.webkit.org/show_bug.cgi?id=162509
965
966         Reviewed by Alexey Proskuryakov.
967
968         * TestResultServer/static-dashboards/builders.jsonp:
969
970 2016-09-26  Daniel Bates  <dabates@apple.com>
971
972         Rename IOS_TEXT_AUTOSIZING to TEXT_AUTOSIZING
973         https://bugs.webkit.org/show_bug.cgi?id=162365
974
975         Reviewed by Simon Fraser.
976
977         * DumpRenderTree/TestRunner.h:
978         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
979
980 2016-09-26  Tomas Popela  <tpopela@redhat.com>
981
982         [GTK] TestContextMenu is failing
983         https://bugs.webkit.org/show_bug.cgi?id=162569
984
985         We cannot use the MP3 file in the TestContextMenu, as it will not work
986         by default on most distributions (that don't have an MP3 codecs
987         installed). Change the test to use OGG file instead.
988
989         Reviewed by Michael Catanzaro.
990
991         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
992         (testContextMenuDefaultMenu):
993
994 2016-09-26  Yusuke Suzuki  <utatane.tea@gmail.com>
995
996         Using char16_t instead of wchar_t in TestWebKitAPI URLParser tests
997         https://bugs.webkit.org/show_bug.cgi?id=162537
998
999         Reviewed by Alex Christensen.
1000
1001         Some build bot (Linux ARM GTK port) fails since we cannot select
1002         the specific StringBuilder::append method for wchar_t.
1003
1004         wchar_t implementation highly depends on platforms. sizeof(wchar_t) == 2
1005         in Windows, while sizeof(wchar_t) == 4 in Linux and OS X. So, ICU
1006         uses wchar_t for UChar (UTF-16) in Windows while it doesn't in other
1007         platforms.
1008
1009         StringBuilder::append is overloaded for UChar. In Windows, we can pass
1010         wchar_t since UChar is wchar_t. However, we cannot do that in other platforms.
1011
1012         Instead of using wchar_t, we use more platform portable UTF-16 literal for
1013         testing. Use char16_t and C++11 UTF-16 literal.
1014
1015         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1016         (TestWebKitAPI::utf16String):
1017         (TestWebKitAPI::TEST_F):
1018         (TestWebKitAPI::wideString): Deleted.
1019
1020 2016-09-25  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1021
1022         [EFL] Adjust EFL indentation to EFL MiniBrowser
1023         https://bugs.webkit.org/show_bug.cgi?id=162542
1024
1025         Unreviewed, EFL simple coding style fix.
1026
1027         Some functions wasn't applied EFL coding style in prefix fix.
1028
1029         * MiniBrowser/efl/main.c:
1030         (_key_down_cb):
1031         (view_focus_set):
1032         (_mouse_down_cb):
1033         (title_set):
1034         (_title_changed_cb):
1035         (_url_changed_cb):
1036         (_back_forward_list_changed_cb):
1037         (_progress_cb):
1038         (_error_cb):
1039         (_download_request_cb):
1040         (close_file_picker):
1041         (_filepicker_parent_deletion_cb):
1042         (_filepicker_deletion_cb):
1043         (_fileselector_done_cb):
1044         (_file_chooser_request_cb):
1045         (_download_finished_cb):
1046         (_download_failed_cb):
1047         (_color_changed_cb):
1048         (_color_item_selected_cb):
1049         (_color_picker_ok_clicked_cb):
1050         (_color_picker_cancel_clicked_cb):
1051         (_color_picker_dismiss_cb):
1052         (_color_picker_request_cb):
1053         (quit):
1054         (has_scheme):
1055         (url_from_user_input):
1056         (url_load_from_user_input):
1057         (_url_bar_activated_cb):
1058         (_url_bar_clicked_cb):
1059         (_search_field_aborted_cb):
1060         (_search_field_activated_cb):
1061         (_search_field_clicked_cb):
1062         (_back_button_clicked_cb):
1063         (_forward_button_clicked_cb):
1064         (_search_backward_button_clicked_cb):
1065         (_search_forward_button_clicked_cb):
1066         (_search_case_option_changed):
1067         (_search_word_start_option_changed_cb):
1068         (_search_close_button_clicked_cb):
1069         (_refresh_button_clicked_cb):
1070         (_stop_button_clicked_cb):
1071         (list_item_label_get):
1072         (_list_item_select_cb):
1073         (navigation_button_longpress_process):
1074         (_forward_button_longpress_cb):
1075         (_back_button_longpress_cb):
1076         (quit_event_loop):
1077         (_ok_clicked_cb):
1078         (_file_entry_dialog_show):
1079
1080 2016-09-24  Chris Dumez  <cdumez@apple.com>
1081
1082         [WK2] anchor.download attribute value is ignored by NETWORK_SESSION code path
1083         https://bugs.webkit.org/show_bug.cgi?id=162531
1084
1085         Reviewed by Darin Adler.
1086
1087         Update decideDestinationWithSuggestedFilename() to return a actual file path
1088         instead of nullptr. The NETWORK_SESSION code path cancels the download when
1089         decideDestinationWithSuggestedFilename() returns an empty file path, unlike
1090         the !NETWORK_SESSION code path that just continue downloading without
1091         explicitely setting a destination path. This lead to different test results
1092         for NETWORK_SESSION and !NETWORK_SESSION code paths. Returns a valid
1093         destination path makes more sense and leads to consistent results.
1094
1095         * WebKitTestRunner/TestController.cpp:
1096         (WTR::TestController::decideDestinationWithSuggestedFilename):
1097
1098 2016-09-23  Wenson Hsieh  <wenson_hsieh@apple.com>
1099
1100         [mac-sierra] 2 WKWebViewCandidateTests API test failures
1101         https://bugs.webkit.org/show_bug.cgi?id=162470
1102
1103         Reviewed by Tim Horton.
1104
1105         VideoControlsManager, WKWebViewCandidateTests and CandidateTests should not be running on 10.12.0. Guard these
1106         tests with an SDK check to prevent 10.12.0 bots from building them.
1107
1108         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
1109         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm:
1110         * TestWebKitAPI/Tests/mac/CandidateTests.mm:
1111
1112 2016-09-23  Alex Christensen  <achristensen@webkit.org>
1113
1114         Refactor URLParser
1115         https://bugs.webkit.org/show_bug.cgi?id=162516
1116
1117         Reviewed by Brady Eidson.
1118
1119         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1120         (TestWebKitAPI::TEST_F):
1121
1122 2016-09-23  Caitlin Potter  <caitp@igalia.com>
1123
1124         [JSC] Implement parsing of Async Functions
1125         https://bugs.webkit.org/show_bug.cgi?id=161409
1126
1127         Reviewed by Yusuke Suzuki.
1128
1129         * Scripts/build-jsc:
1130         (cMakeArgsFromFeatures):
1131         * Scripts/webkitperl/FeatureList.pm:
1132         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1133
1134 2016-09-23  Alex Christensen  <achristensen@webkit.org>
1135
1136         Refactor URLParser
1137         https://bugs.webkit.org/show_bug.cgi?id=162511
1138
1139         Reviewed by Brady Eidson.
1140
1141         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1142         (TestWebKitAPI::TEST_F):
1143         (TestWebKitAPI::checkURL):
1144
1145 2016-09-23  Alexey Proskuryakov  <ap@apple.com>
1146
1147         iOS playback user action tests fail on some machines
1148         https://bugs.webkit.org/show_bug.cgi?id=162504
1149         rdar://problem/28013994
1150
1151         Reviewed by Jer Noble.
1152
1153         Avoid the need to have a timeout.
1154
1155         * TestWebKitAPI/Tests/WebKit/ios/audio-only.html:
1156         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
1157         * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.html:
1158         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-without-audio.html:
1159
1160 2016-09-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1161
1162         REGRESSION(r204163): [GTK] API test /webkit2/WebKitSecurityManager/file-xhr is failing
1163         https://bugs.webkit.org/show_bug.cgi?id=161607
1164
1165         Reviewed by Michael Catanzaro.
1166
1167         Since r204163, in case of cross origin error when loading the XHR, the load fails and an error message is shown
1168         in the console, but there isn't any js expcetion, which is what we were checking. Now, we check that there
1169         aren't exceptions, and that the error message is sent to the console.
1170
1171         * Scripts/run-gtk-tests:
1172         (TestRunner):
1173         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
1174         (consoleMessageReceivedCallback):
1175         (testWebContextSecurityFileXHR):
1176
1177 2016-09-23  Ryan Haddad  <ryanhaddad@apple.com>
1178
1179         Use correct hardware for Sierra Debug WK2 testers.
1180         https://bugs.webkit.org/show_bug.cgi?id=162474
1181
1182         Reviewed by Alexey Proskuryakov.
1183
1184         * BuildSlaveSupport/build.webkit.org-config/config.json:
1185
1186 2016-09-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1187
1188         [GTK] Make all WebView tests have a WebKitUserContentManager
1189         https://bugs.webkit.org/show_bug.cgi?id=162487
1190
1191         Reviewed by Michael Catanzaro.
1192
1193         It simplifies tests using the user content manager, and allows to use it without having to subclass WebViewTest.
1194
1195         * TestWebKitAPI/Tests/WebKit2Gtk/TestConsoleMessage.cpp:
1196         (ConsoleMessageTest::ConsoleMessageTest):
1197         (ConsoleMessageTest::~ConsoleMessageTest):
1198         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
1199         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
1200         (testUserContentManagerInjectedStyleSheet):
1201         (testUserContentManagerInjectedScript):
1202         (UserScriptMessageTest::UserScriptMessageTest):
1203         (beforeAll):
1204         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1205         (testWebViewIsPlayingAudio):
1206         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
1207         (WebViewTest::WebViewTest):
1208         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
1209
1210 2016-09-23  Antoine Quint  <graouts@apple.com>
1211
1212         Add a new runtime flag for work on modern media controls (off by default)
1213         https://bugs.webkit.org/show_bug.cgi?id=162420
1214         <rdar://problem/27989489>
1215
1216         Reviewed by Eric Carlson.
1217
1218         * DumpRenderTree/mac/DumpRenderTree.mm:
1219         (resetWebPreferencesToConsistentValues):
1220         * DumpRenderTree/win/DumpRenderTree.cpp:
1221         (resetWebPreferencesToConsistentValues):
1222         * Scripts/webkitperl/FeatureList.pm:
1223         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1224         (WTR::InjectedBundle::beginTesting):
1225         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1226         (WTR::TestRunner::setModernMediaControlsEnabled):
1227         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1228
1229 2016-09-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1230
1231         REGRESSION(r194387): Crash on github.com in IntlDateTimeFormat::resolvedOptions in C locale
1232         https://bugs.webkit.org/show_bug.cgi?id=162139
1233
1234         Reviewed by Michael Catanzaro.
1235
1236         Add test cases to check the behavior when using the C locale and an invalid locale.
1237
1238         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
1239         (testWebContextLanguages):
1240
1241 2016-09-22  Hunseop Jeong  <hs85.jeong@samsung.com>
1242
1243         [EFL] alert box is not displayed 
1244         https://bugs.webkit.org/show_bug.cgi?id=156395
1245
1246         Reviewed by Gyuyoung Kim.
1247
1248         Some popup objects(alert, confirm, prompt, file entry dialog) used the ecore_main_loop_begin() to make
1249         the modal popup but ecore_main_loop_begin() was not executed inside an exisiting main loop. So we have
1250         to use the ecore_main_loop_iterate() instead of the ecore_main_loop_begin().
1251
1252         * MiniBrowser/efl/main.c:
1253         (_ok_clicked_cb):
1254         (_file_entry_dialog_show):
1255         (_javascript_alert_cb):
1256         (_javascript_confirm_cb):
1257         (_javascript_prompt_cb):
1258         (quit_event_loop): Deleted.
1259
1260 2016-09-22  Matthew Hanson  <matthew_hanson@apple.com>
1261
1262         Add an API for getting the branch identifier from a Git or SVN checkout.
1263         https://bugs.webkit.org/show_bug.cgi?id=151570
1264         rdar://problem/17959831
1265
1266         Reviewed by David Kilzer.
1267
1268         This patch adds a function called svnIdentifierForPath. This function returns either "trunk",
1269         the name of the tag, or the name of the branch, as appropriate. This function is necessary for
1270         a VCSUtils client that is not checked in to the WebKit project.
1271
1272         This patch also breaks up pathRelativeToSVNRepositoryRootForPath into four functions:
1273         - pathRelativeToSVNRepositoryRootForPath
1274         - svnInfoForPath
1275         - svnURLForPath
1276         - svnRepositoryRootForPath
1277
1278         This allows us to reuse logic from pathRelativeToSVNRepositoryRootForPath in svnIdentifierForPath and
1279         allows clients of VCSUtils to extract what arbitrary information from the `svn info` command regardless
1280         of SCM.
1281
1282         * Scripts/VCSUtils.pm:
1283         (svnInfoForPath):
1284         Copied logic that previously lived in pathRelativeToSVNRepositoryRootForPath.
1285         Make code safe to use for a path, and not just for the CWD.
1286
1287         (svnURLForPath):
1288         Calls svnInfoForPath and extracts the URL.
1289
1290         (svnRepositoryRootForPath):
1291         Calls svnInfoForPath and extracts the Repository Root.
1292
1293         (svnIdentifierForPath):
1294         Calls pathRelativeToSVNRepositoryRootForPath and extracts the repository identifier.
1295
1296         (pathRelativeToSVNRepositoryRootForPath):
1297         Now uses svnURLForPath and svnRepositoryRootForPath instead of being responsible for
1298         determining both values.
1299
1300 2016-09-22  Megan Gardner  <megan_gardner@apple.com>
1301
1302         Add long press selection test
1303         https://bugs.webkit.org/show_bug.cgi?id=162367
1304
1305         Reviewed by Simon Fraser.
1306
1307         Add support to UIScriptController to synthesize long press events on iOS.
1308         This required adding long-press functionality to HIDEventGenerator.
1309
1310         HIDEventGenerator sends the touchDown, but must then send the touchUp with
1311         a dispatch_after (rather than sleeping, as we do for other events) in order
1312         for the gesture recognizers to correctly detect a long press.
1313
1314         Use the long press synthesis in a test that detects whether a long press
1315         gesture triggers text selection.
1316
1317         Fixed incorrect constants. NSTimeInterval is in seconds, original numbers
1318         were nanoseconds and typedefed to long without regard to the type
1319         differences. Redid constants to be the right value, and converted upon use.
1320
1321         Cleaned up unused enum types.
1322
1323         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
1324         (WTR::UIScriptController::longPressAtPoint):
1325         (WTR::UIScriptController::forcePressAtPoint):
1326         (WTR::UIScriptController::dragFromPointToPoint): Deleted.
1327         * Scripts/webkitpy/common/config/contributors.json:
1328         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
1329         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
1330         (WTR::UIScriptController::longPressAtPoint):
1331         (WTR::UIScriptController::forcePressAtPoint):
1332         (WTR::UIScriptController::dragFromPointToPoint): Deleted.
1333         * TestRunnerShared/UIScriptContext/UIScriptController.h:
1334         * WebKitTestRunner/ios/HIDEventGenerator.h:
1335         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1336         (-[HIDEventGenerator _createIOHIDEventType:]):
1337         (-[HIDEventGenerator sendTaps:location:withNumberOfTouches:completionBlock:]):
1338         (-[HIDEventGenerator clearTap:]):
1339         (-[HIDEventGenerator longPressTimerCall:]):
1340         (-[HIDEventGenerator longPressFinish:completionBlock:]):
1341         (-[HIDEventGenerator longPress:completionBlock:]):
1342         (-[HIDEventGenerator forcePress:completionBlock:]):
1343         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1344         (WTR::UIScriptController::longPressAtPoint):
1345         (WTR::UIScriptController::forcePressAtPoint):
1346         (WTR::UIScriptController::dragFromPointToPoint): Deleted.
1347
1348 2016-09-22  Jonathan Bedard  <jbedard@apple.com>
1349
1350         Automatic Text Replacement Testing in WebKit2
1351         https://bugs.webkit.org/show_bug.cgi?id=161919
1352
1353         Reviewed by Ryosuke Niwa.
1354
1355         Implemented test hooks for text replacement for WebKit2.
1356         Note that spell checking has not been implemented, so most tests which use text replacement still fail.
1357
1358         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Removed setAutomaticLinkDetectionEnabled from TestRunner, moved to Internals.
1359         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: Ditto.
1360         (WTR::InjectedBundle::beginTesting): Ditto.
1361         * WebKitTestRunner/InjectedBundle/TestRunner.cpp: Ditto.
1362         * WebKitTestRunner/InjectedBundle/TestRunner.h: Ditto.
1363         * WebKitTestRunner/TestController.cpp:
1364         (WTR::TestController::runTest): Place TextChecker into testing mode.
1365
1366 2016-09-21  Dan Bernstein  <mitz@apple.com>
1367
1368         [macOS] Upon layout, _webView:renderingProgressDidChange: fires before the intrinsic content size is updated
1369         https://bugs.webkit.org/show_bug.cgi?id=162359
1370         <rdar://problem/27776454>
1371
1372         Reviewed by Tim Horton.
1373
1374         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
1375         (TEST):
1376
1377 2016-09-21  Keith Miller  <keith_miller@apple.com>
1378
1379         Fix build for future versions of Clang.
1380         https://bugs.webkit.org/show_bug.cgi?id=162346
1381
1382         Reviewed by Filip Pizlo.
1383
1384         * TestWebKitAPI/Counters.cpp:
1385         * TestWebKitAPI/Counters.h:
1386         (DeleterCounter::deleterCount):
1387         (DeleterCounter::TestingScope::TestingScope):
1388         (DeleterCounter::operator()):
1389         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp:
1390         (TestWebKitAPI::TEST):
1391         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1392         (TestWebKitAPI::TEST):
1393
1394 2016-09-21  Commit Queue  <commit-queue@webkit.org>
1395
1396         Unreviewed, rolling out r206222 and r206227.
1397         https://bugs.webkit.org/show_bug.cgi?id=162361
1398
1399         "broke the windows build" (Requested by keith_mi_ on #webkit).
1400
1401         Reverted changesets:
1402
1403         "Fix build for future versions of Clang."
1404         https://bugs.webkit.org/show_bug.cgi?id=162346
1405         http://trac.webkit.org/changeset/206222
1406
1407         "Attempt to fix windows build after r206222."
1408         http://trac.webkit.org/changeset/206227
1409
1410 2016-09-21  Alex Christensen  <achristensen@webkit.org>
1411
1412         URLParser should match URL::parse when parsing data urls with slashes in them
1413         https://bugs.webkit.org/show_bug.cgi?id=162352
1414
1415         Reviewed by Darin Adler.
1416
1417         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1418         (TestWebKitAPI::TEST_F):
1419
1420 2016-09-21  Alex Christensen  <achristensen@webkit.org>
1421
1422         URLParser should fail when parsing invalid relative URLs with no schemes
1423         https://bugs.webkit.org/show_bug.cgi?id=162355
1424
1425         Reviewed by Tim Horton.
1426
1427         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1428         (TestWebKitAPI::TEST_F):
1429
1430 2016-09-21  Keith Miller  <keith_miller@apple.com>
1431
1432         Fix build for future versions of Clang.
1433         https://bugs.webkit.org/show_bug.cgi?id=162346
1434
1435         Reviewed by Filip Pizlo.
1436
1437         * TestWebKitAPI/Counters.cpp:
1438         * TestWebKitAPI/Counters.h:
1439         (DeleterCounter::deleterCount):
1440         (DeleterCounter::TestingScope::TestingScope):
1441         (DeleterCounter::operator()):
1442         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp:
1443         (TestWebKitAPI::TEST):
1444         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1445         (TestWebKitAPI::TEST):
1446
1447 2016-09-21  Alex Christensen  <achristensen@webkit.org>
1448
1449         Prepare API tests for enabling URLParser by default
1450         https://bugs.webkit.org/show_bug.cgi?id=162341
1451
1452         Reviewed by Tim Horton.
1453
1454         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1455         (TestWebKitAPI::checkURL):
1456         (TestWebKitAPI::checkRelativeURL):
1457         (TestWebKitAPI::checkURLDifferences):
1458         (TestWebKitAPI::checkRelativeURLDifferences):
1459         (TestWebKitAPI::shouldFail):
1460
1461 2016-09-21  Alex Christensen  <achristensen@webkit.org>
1462
1463         URLParser: Correctly parse URLs that are just nonspecialscheme:/
1464         https://bugs.webkit.org/show_bug.cgi?id=162340
1465
1466         Reviewed by Tim Horton.
1467
1468         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1469         (TestWebKitAPI::TEST_F):
1470
1471 2016-09-21  Alex Christensen  <achristensen@webkit.org>
1472
1473         URLParser: correctly parse relative URLs that are just one character
1474         https://bugs.webkit.org/show_bug.cgi?id=162344
1475
1476         Reviewed by Tim Horton.
1477
1478         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1479         (TestWebKitAPI::TEST_F):
1480
1481 2016-09-20  Alex Christensen  <achristensen@webkit.org>
1482
1483         Optimize URLParser
1484         https://bugs.webkit.org/show_bug.cgi?id=162105
1485
1486         Reviewed by Geoffrey Garen.
1487
1488         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1489         (TestWebKitAPI::TEST_F):
1490
1491 2016-09-20  Aakash Jain  <aakash_jain@apple.com>
1492
1493         enable remote_api (for debugging) in flakiness dashboard app
1494         https://bugs.webkit.org/show_bug.cgi?id=162325
1495
1496         Reviewed by Alexey Proskuryakov.
1497
1498         * TestResultServer/app.yaml: enabled remote_api and datastore_admin.
1499
1500 2016-09-20  Ryan Haddad  <ryanhaddad@apple.com>
1501
1502         Unreviewed, rolling out r206180.
1503
1504         Roll r206178 back in as the necessary changes have been made
1505         on the build master.
1506
1507         Reverted changeset:
1508
1509         "Unreviewed, rolling out r206178."
1510         https://bugs.webkit.org/show_bug.cgi?id=162249
1511         http://trac.webkit.org/changeset/206180
1512
1513 2016-09-20  Alexey Proskuryakov  <ap@apple.com>
1514
1515         Use a hardcoded patch for sRGB color profile
1516         https://bugs.webkit.org/show_bug.cgi?id=162320
1517         rdar://problem/28387318
1518
1519         Reviewed by Simon Fraser.
1520
1521         This is a workaround for rdar://problem/28392768
1522
1523         * DumpRenderTree/mac/LayoutTestHelper.m:
1524         (installLayoutTestColorProfile):
1525
1526 2016-09-20  Ryan Haddad  <ryanhaddad@apple.com>
1527
1528         Unreviewed, rolling out r206178.
1529
1530         This change caused buildbot config issues.
1531
1532         Reverted changeset:
1533
1534         "Add Sierra bots to buildbot and dashboard."
1535         https://bugs.webkit.org/show_bug.cgi?id=162249
1536         http://trac.webkit.org/changeset/206178
1537
1538 2016-09-20  Dean Johnson  <dean_johnson@apple.com>
1539
1540         Add Sierra bots to buildbot and dashboard.
1541         https://bugs.webkit.org/show_bug.cgi?id=162249
1542
1543         Reviewed by Alexey Proskuryakov.
1544
1545         * BuildSlaveSupport/build.webkit.org-config/config.json:
1546         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
1547         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1548         (WebKitBuildbot):
1549
1550 2016-09-20  Alex Christensen  <achristensen@webkit.org>
1551
1552         Reduce allocations in URLParser
1553         https://bugs.webkit.org/show_bug.cgi?id=162241
1554
1555         Reviewed by Chris Dumez.
1556
1557         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1558         (TestWebKitAPI::TEST_F):
1559         (TestWebKitAPI::checkURL):
1560
1561 2016-09-20  Alex Christensen  <achristensen@webkit.org>
1562
1563         Align URLParser with web platform tests when parsing non-special relative URLs ending in AuthorityOrHost state
1564         https://bugs.webkit.org/show_bug.cgi?id=162251
1565
1566         Reviewed by Tim Horton.
1567
1568         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1569         (TestWebKitAPI::checkURL):
1570         (TestWebKitAPI::TEST_F):
1571         (TestWebKitAPI::checkRelativeURL):
1572         (TestWebKitAPI::checkURLDifferences):
1573         (TestWebKitAPI::checkRelativeURLDifferences):
1574
1575 2016-09-20  Alex Christensen  <achristensen@webkit.org>
1576
1577         URLParser should allow '@' in user
1578         https://bugs.webkit.org/show_bug.cgi?id=162272
1579
1580         Reviewed by Tim Horton.
1581
1582         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1583         (TestWebKitAPI::TEST_F):
1584
1585 2016-09-20  Alex Christensen  <achristensen@webkit.org>
1586
1587         URLParser: Fix parsing relative URLs with one slash after the scheme:
1588         https://bugs.webkit.org/show_bug.cgi?id=162294
1589
1590         Reviewed by Tim Horton.
1591
1592         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1593         (TestWebKitAPI::TEST_F):
1594
1595 2016-09-20  Alex Christensen  <achristensen@webkit.org>
1596
1597         Fix Windows file URL quirks in URLParser
1598         https://bugs.webkit.org/show_bug.cgi?id=162303
1599
1600         Reviewed by Tim Horton.
1601
1602         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1603         (TestWebKitAPI::TEST_F):
1604
1605 2016-09-20  Filip Pizlo  <fpizlo@apple.com>
1606
1607         Make MarkedBlock state tracking support overlapped allocation and marking state
1608         https://bugs.webkit.org/show_bug.cgi?id=161581
1609
1610         Reviewed by Geoffrey Garen.
1611         
1612         Remove the always-trigger-copy-phase configuration.
1613
1614         * Scripts/run-jsc-stress-tests:
1615
1616 2016-09-20  Don Olmstead  <don.olmstead@am.sony.com>
1617
1618         [WinCairo] Use find_package cairo in build
1619         https://bugs.webkit.org/show_bug.cgi?id=162239
1620
1621         Reviewed by Alex Christensen.
1622
1623         * DumpRenderTree/PlatformWin.cmake:
1624         * TestWebKitAPI/PlatformWin.cmake:
1625
1626 2016-09-20  Wenson Hsieh  <wenson_hsieh@apple.com>
1627
1628         Unreviewed build fix on 10.10 bots.
1629
1630         * TestWebKitAPI/mac/TestWKWebViewMac.h:
1631
1632 2016-09-20  Wenson Hsieh  <wenson_hsieh@apple.com>
1633
1634         VideoControlsManager.VideoControlsManagerSingleLargeVideo fails intermittently on the Mac WK2 bot
1635         https://bugs.webkit.org/show_bug.cgi?id=162255
1636
1637         Reviewed by Jer Noble.
1638
1639         This is reproducible by running the test repeatedly in a for loop (locally, I observed that running the test
1640         back-to-back would result in the second one failing). This suggests that even on the runloop after the video
1641         starts playing, the state of the playback controls manager may not be up to date in the UI process. Instead, we
1642         can just spin the runloop until the playback controls are shown, which makes back-to-back tests to succeed and
1643         will probably address flakiness on the bots for this test.
1644
1645         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
1646         (TestWebKitAPI::TEST):
1647         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html:
1648
1649 2016-09-20  Per Arne Vollan  <pvollan@apple.com>
1650
1651         [Win] Run layout tests in parallel.
1652         https://bugs.webkit.org/show_bug.cgi?id=162145
1653
1654         Reviewed by Brent Fulgham.
1655
1656         To speed up layout tests, try running them in parallel.
1657
1658         * Scripts/webkitpy/port/win.py:
1659         (WinPort.default_child_processes): Deleted.
1660
1661 2016-09-19  Wenson Hsieh  <wenson_hsieh@apple.com>
1662
1663         Unreviewed build fix after r206135
1664
1665         NSEventMaskLeftMouseDown and friends are only available on 10.12.
1666
1667         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
1668         (__simulated_forceClickAssociatedEventsMask):
1669
1670 2016-09-19  Wenson Hsieh  <wenson_hsieh@apple.com>
1671
1672         Add a unit test covering <https://trac.webkit.org/changeset/205983>
1673         https://bugs.webkit.org/show_bug.cgi?id=162112
1674
1675         Reviewed by Beth Dakin.
1676
1677         Adds a new unit test covering the changes in r205983 along with the infrastructure needed to support it. Also
1678         further refactors the TestWKWebView used by VideoControlsManager and WKWebViewCandidateTests so that in both
1679         cases, we add the WKWebView to a visible key window, and when sending a mouse down event, we propagate the event
1680         at the window level rather than the view level, allowing greater flexibility to simulate behaviors such as
1681         pressure-sensitive events that are needed for the new test.
1682
1683         Also rewrites currently disabled unit tests in CandidateTests as WebKit2 unit tests in WKWebViewCandidateTests,
1684         checking whether or not to should be requesting candidates in password and non-password fields.
1685
1686         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1687         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
1688         (TestWebKitAPI::setUpWebViewForTestingVideoControlsManager):
1689         (TestWebKitAPI::TEST):
1690         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm:
1691         (-[CandidateTestWebView typeString:inputMessage:]):
1692         (+[CandidateTestWebView setUpWithFrame:testPage:]):
1693         * TestWebKitAPI/Tests/WebKit2Cocoa/large-input-field-focus-onload.html: Added.
1694         * TestWebKitAPI/Tests/WebKit2Cocoa/text-and-password-inputs.html: Added.
1695         * TestWebKitAPI/mac/TestWKWebViewMac.h:
1696         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
1697         (__simulated_forceClickAssociatedEventsMask):
1698         (-[TestWKWebViewHostWindow _mouseDownAtPoint:simulatePressure:]):
1699         (-[TestWKWebView initWithFrame:]):
1700         (-[TestWKWebView initWithFrame:configuration:]):
1701         (-[TestWKWebView _setUpTestWindow:]):
1702         (-[TestWKWebView mouseDownAtPoint:simulatePressure:]):
1703         (-[TestWKWebView typeCharacter:]):
1704         (-[TestWKWebView mouseDownAtPoint:]): Deleted.
1705
1706 2016-09-19  Alex Christensen  <achristensen@webkit.org>
1707
1708         URLParser can read memory out of bounds
1709         https://bugs.webkit.org/show_bug.cgi?id=162206
1710
1711         Reviewed by Geoff Garen.
1712
1713         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1714         (TestWebKitAPI::TEST_F):
1715
1716 2016-09-19  Daniel Bates  <dabates@apple.com>
1717
1718         Remove ENABLE(TEXT_AUTOSIZING) automatic text size adjustment code
1719         https://bugs.webkit.org/show_bug.cgi?id=162167
1720
1721         Reviewed by Simon Fraser.
1722
1723         * Scripts/webkitperl/FeatureList.pm:
1724         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1725
1726 2016-09-19  Nan Wang  <n_wang@apple.com>
1727
1728         AX: Add accessibility support for details element on iOS
1729         https://bugs.webkit.org/show_bug.cgi?id=162041
1730
1731         Reviewed by Chris Fleizach.
1732
1733         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1734         (AccessibilityUIElement::isExpanded):
1735         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1736         (WTR::AccessibilityUIElement::isExpanded):
1737
1738 2016-09-18  Gyuyoung Kim  <gyuyoung.kim@navercorp.com>
1739
1740         [EFL] Bump efl library to 1.18.1
1741         https://bugs.webkit.org/show_bug.cgi?id=162120
1742
1743         Reviewed by Michael Catanzaro.
1744
1745         * efl/jhbuild.modules: Use efl-1.18.1 instead of 1.18.
1746
1747 2016-09-18  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1748
1749         [EFL] Adjust EFL coding style to EFL MiniBrowser
1750         https://bugs.webkit.org/show_bug.cgi?id=162119
1751
1752         Reviewed by Michael Catanzaro.
1753
1754         Apply EFL coding style to main.c for MiniBrowser.
1755           - Use _foo_cb instead of on_foo for callback function
1756           - Use 3 spaces and use 2 spaces in keywords.
1757
1758         - EFL coding style.
1759           https://phab.enlightenment.org/w/coding_convention/
1760
1761         Additionally this patch adds an exception rule that style checker doesn't
1762         check indentation rule in EFL MiniBrowser.
1763
1764         * MiniBrowser/efl/main.c:
1765         (miniBrowserViewSmartClass):
1766         (window_find_with_ewk_view):
1767         (_tooltip_show):
1768         (window_tooltip_hide):
1769         (window_tooltip_update):
1770         (_mouse_in_cb):
1771         (_mouse_move_cb):
1772         (_mouse_out_cb):
1773         (_mouse_wheel_cb):
1774         (_window_resize_cb):
1775         (update_view_favicon):
1776         (_icon_changed_cb):
1777         (window_free):
1778         (window_close):
1779         (search_icon_show):
1780         (search_box_show):
1781         (search_box_hide):
1782         (history_list_hide):
1783         (save_page_contents_callback):
1784         (script_execute_callback):
1785         (toggle_window_fullscreen):
1786         (_key_down_cb):
1787         (_mouse_down_cb):
1788         (_title_changed_cb):
1789         (_url_changed_cb):
1790         (_back_forward_list_changed_cb):
1791         (_progress_cb):
1792         (_error_cb):
1793         (_download_request_cb):
1794         (close_file_picker):
1795         (_filepicker_parent_deletion_cb):
1796         (_filepicker_deletion_cb):
1797         (_fileselector_done_cb):
1798         (_file_chooser_request_cb):
1799         (_download_finished_cb):
1800         (_download_failed_cb):
1801         (_color_changed_cb):
1802         (_color_item_selected_cb):
1803         (_color_picker_ok_clicked_cb):
1804         (_color_picker_cancel_clicked_cb):
1805         (_color_picker_dismiss_cb):
1806         (_color_picker_request_cb):
1807         (_url_bar_activated_cb):
1808         (_url_bar_clicked_cb):
1809         (_search_field_aborted_cb):
1810         (_search_field_activated_cb):
1811         (_search_field_clicked_cb):
1812         (_back_button_clicked_cb):
1813         (_forward_button_clicked_cb):
1814         (_search_backward_button_clicked_cb):
1815         (_search_forward_button_clicked_cb):
1816         (_search_case_option_changed):
1817         (_search_word_start_option_changed_cb):
1818         (_search_close_button_clicked_cb):
1819         (_refresh_button_clicked_cb):
1820         (_stop_button_clicked_cb):
1821         (_list_item_select_cb):
1822         (navigation_button_longpress_process):
1823         (_forward_button_longpress_cb):
1824         (_back_button_longpress_cb):
1825         (_ok_clicked_cb):
1826         (_file_entry_dialog_show):
1827         (_javascript_alert_cb):
1828         (_javascript_confirm_cb):
1829         (_javascript_prompt_cb):
1830         (_javascript_before_unload_confirm_cb):
1831         (_popup_menu_item_clicked_cb):
1832         (popup_menu_populate):
1833         (_popup_menu_show):
1834         (_popup_menu_hide):
1835         (_window_geometry_get):
1836         (_window_geometry_set):
1837         (_fullscreen_accept_cb):
1838         (_fullscreen_deny_cb):
1839         (_fullscreen_enter_cb):
1840         (_fullscreen_exit_cb):
1841         (_window_create_cb):
1842         (_window_close_cb):
1843         (_context_menu_item_selected_cb):
1844         (context_menu_populate):
1845         (_context_menu_show):
1846         (_context_menu_hide):
1847         (auth_popup_close):
1848         (_auth_cancel_cb):
1849         (_auth_ok_cb):
1850         (_authentication_request_cb):
1851         (_search_text_found_cb):
1852         (_tooltip_text_set):
1853         (_tooltip_text_unset):
1854         (_navigation_policy_decision_cb):
1855         (_home_button_clicked_cb):
1856         (_window_deletion_cb):
1857         (create_toolbar_button):
1858         (window_create):
1859         (configuration):
1860         (parse_cookies_policy):
1861         (parse_window_size):
1862         (elm_main):
1863         (on_tooltip_show): Deleted.
1864         (on_mouse_in): Deleted.
1865         (on_mouse_move): Deleted.
1866         (on_mouse_out): Deleted.
1867         (on_mouse_wheel): Deleted.
1868         (on_window_resize): Deleted.
1869         (on_icon_changed_cb): Deleted.
1870         (on_key_down): Deleted.
1871         (on_mouse_down): Deleted.
1872         (on_title_changed): Deleted.
1873         (on_url_changed): Deleted.
1874         (on_back_forward_list_changed): Deleted.
1875         (on_progress): Deleted.
1876         (on_error): Deleted.
1877         (on_download_request): Deleted.
1878         (on_filepicker_parent_deletion): Deleted.
1879         (on_filepicker_deletion): Deleted.
1880         (on_fileselector_done): Deleted.
1881         (on_file_chooser_request): Deleted.
1882         (on_download_finished): Deleted.
1883         (on_download_failed): Deleted.
1884         (on_color_changed): Deleted.
1885         (on_color_item_selected): Deleted.
1886         (on_color_picker_ok_clicked): Deleted.
1887         (on_color_picker_cancel_clicked): Deleted.
1888         (on_color_picker_dismiss): Deleted.
1889         (on_color_picker_request): Deleted.
1890         (on_url_bar_activated): Deleted.
1891         (on_url_bar_clicked): Deleted.
1892         (on_search_field_aborted): Deleted.
1893         (on_search_field_activated): Deleted.
1894         (on_search_field_clicked): Deleted.
1895         (on_back_button_clicked): Deleted.
1896         (on_forward_button_clicked): Deleted.
1897         (on_search_backward_button_clicked): Deleted.
1898         (on_search_forward_button_clicked): Deleted.
1899         (on_search_case_option_changed): Deleted.
1900         (on_search_word_start_option_changed): Deleted.
1901         (on_search_close_button_clicked): Deleted.
1902         (on_refresh_button_clicked): Deleted.
1903         (on_stop_button_clicked): Deleted.
1904         (on_list_item_select): Deleted.
1905         (on_forward_button_longpress): Deleted.
1906         (on_back_button_longpress): Deleted.
1907         (on_ok_clicked): Deleted.
1908         (show_file_entry_dialog): Deleted.
1909         (on_javascript_alert): Deleted.
1910         (on_javascript_confirm): Deleted.
1911         (on_javascript_prompt): Deleted.
1912         (on_javascript_before_unload_confirm): Deleted.
1913         (on_popup_menu_item_clicked): Deleted.
1914         (on_popup_menu_show): Deleted.
1915         (on_popup_menu_hide): Deleted.
1916         (on_window_geometry_get): Deleted.
1917         (on_window_geometry_set): Deleted.
1918         (on_fullscreen_accept): Deleted.
1919         (on_fullscreen_deny): Deleted.
1920         (on_fullscreen_enter): Deleted.
1921         (on_fullscreen_exit): Deleted.
1922         (on_window_create): Deleted.
1923         (on_window_close): Deleted.
1924         (context_menu_item_selected_cb): Deleted.
1925         (on_context_menu_show): Deleted.
1926         (on_context_menu_hide): Deleted.
1927         (on_auth_cancel): Deleted.
1928         (on_auth_ok): Deleted.
1929         (on_authentication_request): Deleted.
1930         (on_search_text_found): Deleted.
1931         (on_tooltip_text_set): Deleted.
1932         (on_tooltip_text_unset): Deleted.
1933         (on_navigation_policy_decision): Deleted.
1934         (on_home_button_clicked): Deleted.
1935         (on_window_deletion): Deleted.
1936         * Scripts/webkitpy/style/checker.py:
1937
1938 2016-09-16  Dave Hyatt  <hyatt@apple.com>
1939
1940         [CSS Parser] Get CSSPropertyParserHelpers.cpp compiling
1941         https://bugs.webkit.org/show_bug.cgi?id=162078
1942
1943         Reviewed by Dean Jackson.
1944
1945         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
1946         (TestWebKitAPI::createTestValue):
1947         Convert to ValueRange.
1948
1949 2016-09-16  Alex Christensen  <achristensen@webkit.org>
1950
1951         Fix API tests after r206036
1952         https://bugs.webkit.org/show_bug.cgi?id=162049
1953
1954         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1955         (TestWebKitAPI::TEST_F):
1956         An emoji had been UTF-8 encoded in the patch that was applied.
1957         The test needed to check the encoding of the emoji, not the UTF-8 encoding of the emoji.
1958         Everything was correct except applying the patch before committing.
1959
1960 2016-09-16  Wenson Hsieh  <wenson_hsieh@apple.com>
1961
1962         RequiresUserActionForPlayback TestWebKitAPI tests are broken after r206033.
1963         https://bugs.webkit.org/show_bug.cgi?id=162080
1964
1965         Reviewed by Jer Noble.
1966
1967         I renamed "playingHandler" to the more generalized "testHandler", but did not realize that the
1968         RequiresUserActionForPlayback tests also used "playingHandler". Renames the handler to account for this change.
1969
1970         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
1971         (RequiresUserActionForPlaybackTest::SetUp):
1972
1973 2016-09-16  Alex Christensen  <achristensen@webkit.org>
1974
1975         URLParser should percent encode the user and password according to spec
1976         https://bugs.webkit.org/show_bug.cgi?id=162049
1977
1978         Reviewed by Tim Horton.
1979
1980         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1981         (TestWebKitAPI::TEST_F):
1982
1983 2016-09-16  Alex Christensen  <achristensen@webkit.org>
1984
1985         Fix more edge cases in URLParser
1986         https://bugs.webkit.org/show_bug.cgi?id=162051
1987
1988         Reviewed by Tim Horton.
1989
1990         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1991         (TestWebKitAPI::TEST_F):
1992
1993 2016-09-16  Wenson Hsieh  <wenson_hsieh@apple.com>
1994
1995         Inserting a space after inserting an accepted candidate scrolls the document and causes a flicker
1996         https://bugs.webkit.org/show_bug.cgi?id=162009
1997         <rdar://problem/28086237>
1998
1999         Reviewed by Tim Horton.
2000
2001         Adds 3 new text editing API tests covering candidate insertion, as well as support for testing candidates in
2002         WKWebViews. Refactors common WKWebView helpers across both VideoControlsManager tests and the new
2003         WKWebViewCandidateTests into a new utility class, TestWKWebView in TestWKWebView.mm, which is capable of
2004         simulating mouse and keyboard events as well as waiting for JavaScript messages sent from the web process and
2005         performing actions in response.
2006
2007         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2008         * TestWebKitAPI/Tests/WebKit/ios/audio-only.html:
2009         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
2010         * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.html:
2011         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
2012         (TestWebKitAPI::TEST):
2013         (-[MessageHandler initWithMessage:handler:]): Deleted.
2014         (-[MessageHandler userContentController:didReceiveScriptMessage:]): Deleted.
2015         (-[VideoControlsManagerTestWebView mouseDownAtPoint:]): Deleted.
2016         (-[VideoControlsManagerTestWebView performAfterLoading:]): Deleted.
2017         (-[VideoControlsManagerTestWebView callJavascriptFunction:]): Deleted.
2018         (-[VideoControlsManagerTestWebView loadTestPageNamed:]): Deleted.
2019         (-[VideoControlsManagerTestWebView performAfterReceivingMessage:action:]): Deleted.
2020         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm: Added.
2021         (-[TestCandidate initWithReplacementString:inRange:]):
2022         (-[TestCandidate replacementString]):
2023         (-[TestCandidate resultType]):
2024         (-[TestCandidate range]):
2025         (-[CandidateTestWebView insertCandidatesAndWaitForResponse:range:]):
2026         (-[CandidateTestWebView _didHandleAcceptedCandidate]):
2027         (-[CandidateTestWebView expectCandidateListVisibilityUpdates:whenPerformingActions:]):
2028         (-[CandidateTestWebView _didUpdateCandidateListVisibility:]):
2029         (TEST):
2030         * TestWebKitAPI/Tests/WebKit2Cocoa/autoplaying-video-with-audio.html:
2031         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-click.html:
2032         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-end.html:
2033         * TestWebKitAPI/Tests/WebKit2Cocoa/full-size-autoplaying-video-with-audio.html:
2034         * TestWebKitAPI/Tests/WebKit2Cocoa/input-field-in-scrollable-document.html: Added.
2035         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-hides-controls-after-seek-to-end.html:
2036         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-mutes-onplaying.html:
2037         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-offscreen.html:
2038         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-playing-scroll-away.html:
2039         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-after-ending.html:
2040         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-to-beginning-and-play-after-ending.html:
2041         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html:
2042         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-without-audio.html:
2043         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-click-to-pause.html:
2044         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-scroll-to-video.html:
2045         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-paused-video-hides-controls.html:
2046         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-muted-video-hides-controls.html:
2047         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-video-keeps-controls.html:
2048         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio-autoplay.html:
2049         * TestWebKitAPI/Tests/WebKit2Cocoa/skinny-autoplaying-video-with-audio.html:
2050         * TestWebKitAPI/Tests/WebKit2Cocoa/wide-autoplaying-video-with-audio.html:
2051         * TestWebKitAPI/mac/TestWKWebViewMac.h: Added.
2052         * TestWebKitAPI/mac/TestWKWebViewMac.mm: Added.
2053         (-[TestMessageHandler initWithMessage:handler:]):
2054         (-[TestMessageHandler userContentController:didReceiveScriptMessage:]):
2055         (-[TestWKWebView mouseDownAtPoint:]):
2056         (-[TestWKWebView performAfterReceivingMessage:action:]):
2057         (-[TestWKWebView loadTestPageNamed:]):
2058         (-[TestWKWebView typeCharacter:]):
2059         (-[TestWKWebView stringByEvaluatingJavaScript:]):
2060         (-[TestWKWebView waitForMessage:]):
2061         (-[TestWKWebView performAfterLoading:]):
2062
2063 2016-09-14  Jer Noble  <jer.noble@apple.com>
2064
2065         [media-source] fix imported/w3c/web-platform-tests/media-source/mediasource-duration.html
2066         https://bugs.webkit.org/show_bug.cgi?id=161999
2067
2068         Reviewed by Eric Carlson.
2069
2070         * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
2071         (TestWebKitAPI::TEST):
2072
2073 2016-09-16  Anders Carlsson  <andersca@apple.com>
2074
2075         Fix isValidEnum to work with older versions of GCC
2076         https://bugs.webkit.org/show_bug.cgi?id=162065
2077
2078         Reviewed by Michael Catanzaro.
2079
2080         Add EnumTraits.cpp to the CMake build.
2081
2082         * TestWebKitAPI/CMakeLists.txt:
2083
2084 2016-09-16  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
2085
2086         Unreviewed: Change my primary address for auto-complete in bugzilla.
2087
2088         * Scripts/webkitpy/common/config/contributors.json:
2089
2090 2016-09-15  Alex Christensen  <achristensen@webkit.org>
2091
2092         URLParser: Check for invalid characters in the host
2093         https://bugs.webkit.org/show_bug.cgi?id=162023
2094
2095         Reviewed by Tim Horton.
2096
2097         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2098         (TestWebKitAPI::TEST_F):
2099
2100 2016-09-15  Fujii Hironori  <Hironori.Fujii@sony.com>
2101
2102         [CMake] Refactor GENERATE_BINDINGS
2103         https://bugs.webkit.org/show_bug.cgi?id=161854
2104
2105         Reviewed by Gyuyoung Kim.
2106
2107         * DumpRenderTree/CMakeLists.txt: Changed the arguments of
2108         GENERATE_BINDINGS to new style.
2109         * WebKitTestRunner/CMakeLists.txt: Ditto.
2110
2111 2016-09-15  Ryan Haddad  <ryanhaddad@apple.com>
2112
2113         Disable failing API WebKit2.DataDetectionReferenceDate until it can be investigated.
2114         https://bugs.webkit.org/show_bug.cgi?id=161967
2115
2116         Unreviewed test gardening.
2117
2118         * TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:
2119         (TEST):
2120
2121 2016-09-15  Per Arne Vollan  <pvollan@apple.com>
2122
2123         [Win] run-api-tests is failing.
2124         https://bugs.webkit.org/show_bug.cgi?id=162015
2125
2126         Reviewed by Brent Fulgham.
2127
2128         MSVC is not interpreting C++ string literals with unicode characters correctly when the source file
2129         doesn't contain encoding information. Save the file with utf8 encoding with signature.
2130
2131         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2132
2133 2016-09-15  Jonathan Bedard  <jbedard@apple.com>
2134
2135         Move --no-sample-on-timeout to config.json for each bot
2136         https://bugs.webkit.org/show_bug.cgi?id=161964
2137
2138         Reviewed by Daniel Bates.
2139
2140         Roll out changes from 205573 and move them into config.json.  At this time, only macOS and iOS simulator sample a process on timeout, —no-sample-on-timeout is unneeded for GTK, EFL and Windows.
2141
2142         * BuildSlaveSupport/build.webkit.org-config/config.json: Each bot now independently defines if it will be running sample on timeout.
2143         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2144         (RunWebKitTests.start): Rolled out changes from 205573.
2145
2146 2016-09-15  Csaba Osztrogonác  <ossy@webkit.org>
2147
2148         js/stringimpl-to-jsstring-on-large-strings tests consume huge memory
2149         https://bugs.webkit.org/show_bug.cgi?id=159807
2150
2151         Reviewed by Saam Barati.
2152
2153         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2154         (RunRemoteJavaScriptCoreTests.start): JSCOnly bots are memory limited devices, tests should run with --memory-limited option.
2155         * Scripts/run-javascriptcore-tests:
2156         (runJSCStressTests): Pass through --memory-limited option to run-jsc-stress-tests.
2157         * Scripts/run-jsc-stress-tests: Typo fix.
2158
2159 2016-09-14  Wenson Hsieh  <wenson_hsieh@apple.com>
2160
2161         Media controls behave strangely when changing media sources
2162         https://bugs.webkit.org/show_bug.cgi?id=161914
2163         <rdar://problem/28227805>
2164
2165         Reviewed by Tim Horton.
2166
2167         Adds three new unit tests verifying that media controls remain stable during common `src` change scenarios. Also
2168         tweaks an existing test to account for new `ended` behavior.
2169
2170         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2171         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
2172         (-[VideoControlsManagerTestWebView waitForMediaControlsToShow]):
2173         (-[VideoControlsManagerTestWebView waitForMediaControlsToHide]):
2174         (TestWebKitAPI::TEST):
2175         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-click.html: Added.
2176         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-end.html: Added.
2177         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-offscreen.html: Added.
2178
2179 2016-09-14  Jonathan Bedard  <jbedard@apple.com>
2180
2181         Fix mastercfg_unittest
2182         https://bugs.webkit.org/show_bug.cgi?id=161816
2183
2184         Reviewed by Daniel Bates.
2185
2186         (RunWebKitTests.start):
2187         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Fixed broken unit tests.
2188
2189 2016-09-13  Alexey Proskuryakov  <ap@apple.com>
2190
2191         Landing optimized .png files, forgot to do it initially.
2192
2193         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10.png:
2194         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10@2x.png:
2195         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator.png:
2196         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice.png:
2197         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice@2x.png:
2198
2199 2016-09-13  Alexey Proskuryakov  <ap@apple.com>
2200
2201         Switch build.webkit.org to iOS 10
2202         https://bugs.webkit.org/show_bug.cgi?id=161930
2203
2204         Reviewed by Daniel Bates.
2205
2206         * BuildSlaveSupport/build.webkit.org-config/config.json:
2207         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2208         (RunWebKitTests.start):
2209         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
2210         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10.png: Added.
2211         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10@2x.png: Added.
2212         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator.png: Added.
2213         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator@2x.png: Added.
2214         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice.png:
2215         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice@2x.png:
2216         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSSimulator.png: Added.
2217         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSSimulator@2x.png: Added.
2218         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
2219         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
2220         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2221         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2222         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
2223         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
2224         * Scripts/webkitpy/port/ios.py:
2225         * TestResultServer/static-dashboards/builders.jsonp:
2226
2227 2016-09-13  Tim Horton  <timothy_horton@apple.com>
2228
2229         Provide a mechanism to specify the maximum width of WKThumbnailView snapshots
2230         https://bugs.webkit.org/show_bug.cgi?id=161896
2231         <rdar://problem/28229827>
2232
2233         Reviewed by Simon Fraser.
2234
2235         * TestWebKitAPI/Tests/WebKit2/WKThumbnailView.mm:
2236         (TestWebKitAPI::TEST):
2237         Add a test for the new property.
2238         Also fix the old new test to run on arbitrary scale displays without failing.
2239
2240 2016-09-12  Brent Fulgham  <bfulgham@apple.com>
2241
2242         [Win][Direct2D] Provide Direct2D-based geometry and transform cast operations
2243         https://bugs.webkit.org/show_bug.cgi?id=161818
2244
2245         Reviewed by Dean Jackson.
2246
2247         Add several new test suites for the various geometric primitives in WebCore.
2248
2249         * TestWebKitAPI/PlatformWin.cmake: Add new files for test cases.
2250         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
2251         * TestWebKitAPI/Tests/WebCore/AffineTransform.cpp: Added.
2252         * TestWebKitAPI/Tests/WebCore/FloatPoint.cpp: Added.
2253         * TestWebKitAPI/Tests/WebCore/FloatRect.cpp: Added.
2254         * TestWebKitAPI/Tests/WebCore/FloatSize.cpp: Added.
2255         * TestWebKitAPI/Tests/WebCore/IntPoint.cpp: Added.
2256         * TestWebKitAPI/Tests/WebCore/IntRect.cpp: Added.
2257         * TestWebKitAPI/Tests/WebCore/IntSize.cpp: Added.
2258         * TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp: Add some new
2259         Windows-focused test cases.
2260
2261 2016-09-12  Chris Dumez  <cdumez@apple.com>
2262
2263         Fix post-landing review comments after r205787
2264         https://bugs.webkit.org/show_bug.cgi?id=161885
2265
2266         Reviewed by Darin Adler.
2267
2268         Leverage new StringBuilder::append(CFStringRef) overload.
2269
2270         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2271         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
2272
2273 2016-09-12  Alex Christensen  <achristensen@webkit.org>
2274
2275         URLParser: Correctly ignore spaces before relative URLs with no scheme
2276         https://bugs.webkit.org/show_bug.cgi?id=161889
2277
2278         Reviewed by Daniel Bates.
2279
2280         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2281         (TestWebKitAPI::TEST_F):
2282
2283 2016-09-12  Alex Christensen  <achristensen@webkit.org>
2284
2285         URLParser: Fix relative URLs containing only fragments
2286         https://bugs.webkit.org/show_bug.cgi?id=161882
2287
2288         Reviewed by Brady Eidson.
2289
2290         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2291         (TestWebKitAPI::TEST_F):
2292
2293 2016-09-12  Alex Christensen  <achristensen@webkit.org>
2294
2295         URLParser: Correctly handle relative URLs that are just a scheme and a colon
2296         https://bugs.webkit.org/show_bug.cgi?id=161876
2297
2298         Reviewed by Brady Eidson.
2299
2300         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2301         (TestWebKitAPI::TEST_F):
2302
2303 2016-09-12  DAN SAUNDERS  <dasau@microsoft.com>
2304
2305         AX: WKWebView for macOS does not allow configuration of tabsToLinks
2306         https://bugs.webkit.org/show_bug.cgi?id=161394
2307
2308         Reviewed by Anders Carlsson.
2309
2310         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
2311         (TEST):
2312
2313 2016-09-12  Alex Christensen  <achristensen@webkit.org>
2314
2315         Remove trailing control characters and spaces before parsing a URL
2316         https://bugs.webkit.org/show_bug.cgi?id=161870
2317
2318         Reviewed by Tim Horton.
2319
2320         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2321         (TestWebKitAPI::TEST_F):
2322
2323 2016-09-12  Alex Christensen  <achristensen@webkit.org>
2324
2325         Fix more URLParser quirks
2326         https://bugs.webkit.org/show_bug.cgi?id=161834
2327
2328         Reviewed by Brady Eidson.
2329
2330         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2331         (TestWebKitAPI::TEST_F):
2332
2333 2016-09-10  Alex Christensen  <achristensen@webkit.org>
2334
2335         Optimize URLParser performance
2336         https://bugs.webkit.org/show_bug.cgi?id=161837
2337
2338         Reviewed by Brady Eidson.
2339
2340         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2341         (TestWebKitAPI::TEST_F):
2342         Added a test to verify the case insensitivity of the default port checks.
2343
2344 2016-09-10  Chris Dumez  <cdumez@apple.com>
2345
2346         parseHTMLInteger() should take a StringView in parameter
2347         https://bugs.webkit.org/show_bug.cgi?id=161669
2348
2349         Reviewed by Ryosuke Niwa.
2350
2351         Explicitly construct a String from the CFStringRef in order to call
2352         StringBuilder::append(). This is needed now that there is an append()
2353         overload taking an AtomicString in parameter.
2354
2355         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2356         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
2357
2358 2016-09-10  Wenson Hsieh  <wenson_hsieh@apple.com>
2359
2360         Apple.com keynote does not display media controls
2361         https://bugs.webkit.org/show_bug.cgi?id=161833
2362         <rdar://problem/28230123>
2363
2364         Reviewed by Tim Horton.
2365
2366         New unit test verifying that wide videos (~2 aspect ratio) still get media controls.
2367
2368         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2369         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
2370         (TestWebKitAPI::TEST):
2371         * TestWebKitAPI/Tests/WebKit2Cocoa/wide-autoplaying-video-with-audio.html: Added.
2372
2373 2016-09-09  Tim Horton  <timothy_horton@apple.com>
2374
2375         WKThumbnailView should expose a mode where it can be reparented without resnapshotting
2376         https://bugs.webkit.org/show_bug.cgi?id=161828
2377         <rdar://problem/28229756>
2378
2379         Reviewed by Alex Christensen.
2380
2381         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2382         * TestWebKitAPI/Tests/WebKit2/WKThumbnailView.mm: Added.
2383         (-[SnapshotSizeObserver observeValueForKeyPath:ofObject:change:context:]):
2384         (TestWebKitAPI::didFinishLoadForFrame):
2385         (TestWebKitAPI::setPageLoaderClient):
2386         (TestWebKitAPI::TEST):
2387         Add a test ensuring that this behaves correctly.
2388
2389 2016-09-09  Alex Christensen  <achristensen@webkit.org>
2390
2391         URLParser: Keep track of cannot-be-a-base-url according to spec
2392         https://bugs.webkit.org/show_bug.cgi?id=161830
2393
2394         Reviewed by Tim Horton.
2395
2396         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2397         (TestWebKitAPI::TEST_F):
2398
2399 2016-09-09  Alex Christensen  <achristensen@webkit.org>
2400
2401         Fix API tests after r205774.
2402         https://bugs.webkit.org/show_bug.cgi?id=161820
2403
2404         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2405         (TestWebKitAPI::TEST_F):
2406         I had committed the wrong expected path in one case. The functionality is correct.
2407
2408 2016-09-09  Michael Saboff  <msaboff@apple.com>
2409
2410         Unreviewed, rolling r205759 back in with a fix.
2411
2412         An expectation file, JSTests/ChakraCore/test/Lib/tostring.baseline-jsc,
2413         should be named "toString.baseline-jsc".  For systems with case-insensitive
2414         filesystems, the wrong name isn't an issue.  That rename is part of this
2415         fix.
2416
2417         * Scripts/run-javascriptcore-tests:
2418         (runJSCStressTests):
2419
2420 2016-09-09  Johan K. Jensen  <johan_jensen@apple.com>
2421
2422         Unreviewed. Added myself to the list of committers.
2423
2424         * Scripts/webkitpy/common/config/contributors.json:
2425
2426 2016-09-09  Alex Christensen  <achristensen@webkit.org>
2427
2428         URLParser should convert ASCII hosts to lowercase
2429         https://bugs.webkit.org/show_bug.cgi?id=161820
2430
2431         Reviewed by Geoffrey Garen.
2432
2433         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2434         (TestWebKitAPI::TEST_F):
2435
2436 2016-09-09  Ryan Haddad  <ryanhaddad@apple.com>
2437
2438         Unreviewed, rolling out r205759.
2439
2440         This change broke all JSC tests
2441
2442         Reverted changeset:
2443
2444         "Add ChakraCore tests to run-javascriptcore-tests"
2445         https://bugs.webkit.org/show_bug.cgi?id=161808
2446         http://trac.webkit.org/changeset/205759
2447
2448 2016-09-09  Ryan Haddad  <ryanhaddad@apple.com>
2449
2450         Revert r205770 because Ricky is already a committer.
2451
2452         Unreviewed.
2453
2454         * Scripts/webkitpy/common/config/contributors.json:
2455
2456 2016-09-09  Ricky Mondello  <rmondello@apple.com>
2457
2458         Unreviewed. Added myself to the list of committers.
2459
2460         * Scripts/webkitpy/common/config/contributors.json:
2461
2462 2016-09-09  Alex Christensen  <achristensen@webkit.org>
2463
2464         URLParser: Fix and optimize parsing file URLs ending with a host but no slash
2465         https://bugs.webkit.org/show_bug.cgi?id=161815
2466
2467         Reviewed by Geoffrey Garen.
2468
2469         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2470         (TestWebKitAPI::TEST_F):
2471
2472 2016-09-08  Dean Jackson  <dino@apple.com>
2473
2474         Expose Apple Pencil data to Touch events
2475         https://bugs.webkit.org/show_bug.cgi?id=161783
2476         <rdar://problem/28218898>
2477
2478         Reviewed by Beth Dakin.
2479
2480         The values that IOHID expects are different from their
2481         documentation, and from what UITouch interprets. Tweak
2482         incoming data so it will produce the output we expect.
2483
2484         * WebKitTestRunner/ios/HIDEventGenerator.mm:
2485         (-[HIDEventGenerator stylusDownAtPoint:azimuthAngle:altitudeAngle:pressure:]):
2486         (-[HIDEventGenerator stylusMoveToPoint:azimuthAngle:altitudeAngle:pressure:]):
2487
2488 2016-09-09  JF Bastien  <jfbastien@apple.com>
2489
2490         Unreviewed. Added myself to the list of committers.
2491
2492         * Scripts/webkitpy/common/config/contributors.json:
2493
2494 2016-09-09  Michael Saboff  <msaboff@apple.com>
2495
2496         Add ChakraCore tests to run-javascriptcore-tests
2497         https://bugs.webkit.org/show_bug.cgi?id=161808
2498
2499         Reviewed by Saam Barati.
2500
2501         Added ChakraCore tests to the default list of tests to run.
2502
2503         * Scripts/run-javascriptcore-tests:
2504         (runJSCStressTests):
2505
2506 2016-09-09  Alex Christensen  <achristensen@webkit.org>
2507
2508         URLParser: Handle \ in path according to spec
2509         https://bugs.webkit.org/show_bug.cgi?id=161805
2510
2511         Reviewed by Andy Estes.
2512
2513         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2514         (TestWebKitAPI::TEST_F):
2515
2516 2016-09-09  Alex Christensen  <achristensen@webkit.org>
2517
2518         URLParser should parse URLs with non-special schemes
2519         https://bugs.webkit.org/show_bug.cgi?id=161786
2520
2521         Reviewed by Andy Estes.
2522
2523         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2524         (TestWebKitAPI::TEST_F):
2525
2526 2016-09-08  Yusuke Suzuki  <utatane.tea@gmail.com>
2527
2528         [WTF] HashTable's rehash is not compatible to Ref<T> and ASan
2529         https://bugs.webkit.org/show_bug.cgi?id=161763
2530
2531         Reviewed by Mark Lam.
2532
2533         Add tests that inserts many Ref<>s. It incurs HashTable::rehash, and we can ensure
2534         that ASan crash does not occur with this patch.
2535
2536         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
2537         (TestWebKitAPI::TEST):
2538         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
2539         (TestWebKitAPI::TEST):
2540
2541 2016-09-08  Alex Christensen  <achristensen@webkit.org>
2542
2543         URLParser: Handle \ in paths of special URLs according to spec
2544         https://bugs.webkit.org/show_bug.cgi?id=161781
2545
2546         Reviewed by Tim Horton.
2547
2548         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2549         (TestWebKitAPI::TEST_F):
2550
2551 2016-09-08  Simon Fraser  <simon.fraser@apple.com>
2552
2553         Update the content-animation.plan file to run css-accelerated-animation.html
2554         and pull SVN revision r205680.
2555
2556         * Scripts/webkitpy/benchmark_runner/data/plans/content-animation.plan:
2557
2558 2016-09-08  Simon Fraser  <simon.fraser@apple.com>
2559
2560         Add a content-animation test with accelerated CSS animations
2561         https://bugs.webkit.org/show_bug.cgi?id=161776
2562
2563         Reviewed by Dean Jackson.
2564
2565         * Scripts/webkitpy/benchmark_runner/data/patches/ContentAnimation.patch:
2566
2567 2016-09-08  Alex Christensen  <achristensen@webkit.org>
2568
2569         URLParser: Parsing empty URLs with a base URL should return the base URL
2570         https://bugs.webkit.org/show_bug.cgi?id=161777
2571
2572         Reviewed by Tim Horton.
2573
2574         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2575         (TestWebKitAPI::TEST_F):
2576
2577 2016-09-08  Alex Christensen  <achristensen@webkit.org>
2578
2579         URLParser failures should preserve the original input string
2580         https://bugs.webkit.org/show_bug.cgi?id=161769
2581
2582         Reviewed by Tim Horton.
2583
2584         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2585         (TestWebKitAPI::TEST_F):
2586         (TestWebKitAPI::shouldFail):
2587
2588 2016-09-08  Alex Christensen  <achristensen@webkit.org>
2589
2590         URLParser should parse URLs with a user but no password
2591         https://bugs.webkit.org/show_bug.cgi?id=161773
2592
2593         Reviewed by Brady Eidson.
2594
2595         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2596         (TestWebKitAPI::TEST_F):
2597
2598 2016-09-08  Alex Christensen  <achristensen@webkit.org>
2599
2600         URLParser should parse ports after IPv4 and IPv6 hosts
2601         https://bugs.webkit.org/show_bug.cgi?id=161731
2602
2603         Reviewed by Brady Eidson.
2604
2605         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2606         (TestWebKitAPI::TEST_F):
2607
2608 2016-09-08  Alex Christensen  <achristensen@webkit.org>
2609
2610         URLParser should correctly handle \ in path
2611         https://bugs.webkit.org/show_bug.cgi?id=161762
2612
2613         Reviewed by Brady Eidson.
2614
2615         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2616         (TestWebKitAPI::TEST_F):
2617
2618 2016-09-08  Alex Christensen  <achristensen@webkit.org>
2619
2620         URLParser should handle URLs with empty authority
2621         https://bugs.webkit.org/show_bug.cgi?id=161711
2622
2623         Reviewed by Brady Eidson.
2624
2625         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2626         (TestWebKitAPI::TEST_F):
2627
2628 2016-09-08  Alex Christensen  <achristensen@webkit.org>
2629
2630         Re-land r205580 after r205649 fixed the test failures
2631         https://bugs.webkit.org/show_bug.cgi?id=161668
2632
2633         Re-landing changesets:
2634
2635         "Punycode encode non-ascii hosts in URLParser"
2636         https://bugs.webkit.org/show_bug.cgi?id=161655
2637         http://trac.webkit.org/changeset/205521
2638
2639         "Fix query-only and fragment-only relative URLs when using
2640         URLParser"
2641         https://bugs.webkit.org/show_bug.cgi?id=161657
2642         http://trac.webkit.org/changeset/205526
2643
2644         "URLParser should parse / as a relative URL"
2645         https://bugs.webkit.org/show_bug.cgi?id=161667
2646         http://trac.webkit.org/changeset/205532
2647
2648 2016-09-08  Dean Jackson  <dino@apple.com>
2649
2650         Expose Apple Pencil input to testing system
2651         https://bugs.webkit.org/show_bug.cgi?id=161670
2652         <rdar://problem/28183327>
2653
2654         I fixed the internal builds, now try to fix the public builds.
2655
2656         * WebKitTestRunner/ios/IOKitSPI.h: Add new enum values.
2657
2658 2016-09-07  Dean Jackson  <dino@apple.com>
2659
2660         Expose Apple Pencil input to testing system
2661         https://bugs.webkit.org/show_bug.cgi?id=161670
2662         <rdar://problem/28183327>
2663
2664         Attempt to fix iOS 9 builds.
2665
2666         * WebKitTestRunner/ios/HIDEventGenerator.mm:
2667         (-[HIDEventGenerator _createIOHIDEventType:]):
2668
2669 2016-09-07  Alex Christensen  <achristensen@webkit.org>
2670
2671         Roll out r205580 and r205582.
2672         https://bugs.webkit.org/show_bug.cgi?id=161668
2673
2674         I need to figure out why this is failing on the bots before landing any more URLParser progress.
2675
2676 2016-09-07  Alex Christensen  <achristensen@webkit.org>
2677
2678         Unreviewed, revert r205533.
2679         https://bugs.webkit.org/show_bug.cgi?id=161668
2680
2681         Re-landing changesets:
2682
2683         "Punycode encode non-ascii hosts in URLParser"
2684         https://bugs.webkit.org/show_bug.cgi?id=161655
2685         http://trac.webkit.org/changeset/205521
2686
2687         "Fix query-only and fragment-only relative URLs when using
2688         URLParser"
2689         https://bugs.webkit.org/show_bug.cgi?id=161657
2690         http://trac.webkit.org/changeset/205526
2691
2692         "URLParser should parse / as a relative URL"
2693         https://bugs.webkit.org/show_bug.cgi?id=161667
2694         http://trac.webkit.org/changeset/205532
2695
2696 2016-09-07  Simon Fraser  <simon.fraser@apple.com>
2697
2698         Enable the <meter> element on iOS
2699         https://bugs.webkit.org/show_bug.cgi?id=161714
2700         rdar://problem/8978410
2701
2702         Reviewed by Tim Horton.
2703
2704         Define ENABLE_METER_ELEMENT unconditionally now.
2705
2706         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2707
2708 2016-09-07  Jonathan Bedard  <jbedard@apple.com>
2709
2710         Run spindumps on timeout on iOS 9 Simulator Release WK2 (Tests)
2711         https://bugs.webkit.org/show_bug.cgi?id=161699
2712
2713         Reviewed by Alexey Proskuryakov.
2714
2715         This change does not have testing associated with it because the testing infrastructure does not exists, we cannot currently mock build-bot variables.
2716
2717         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2718         (RunWebKitTests): Enable sample on timeout for everything.
2719         (RunWebKitTests.start): Disable sample on timeout for everything except iOS 9 WK2 release simulators.
2720
2721 2016-09-06  Dean Jackson  <dino@apple.com>
2722
2723         Expose Apple Pencil input to testing system
2724         https://bugs.webkit.org/show_bug.cgi?id=161670
2725         <rdar://problem/28183327>
2726
2727         Reviewed by Simon Fraser.
2728
2729         Add API to UIScriptController that allows a test to emulate
2730         stylus input, such as from the Apple Pencil.
2731
2732         The code is only implemented for WebKitTestRunner.
2733
2734         There are also four new tests that ensure an Apple Pencil
2735         operates similarly to a regular touch. The main difference
2736         is that you can't have multiple touches when using an Apple Pencil.
2737
2738         * DumpRenderTree/ios/UIScriptControllerIOS.mm: New methods. Empty implementations.
2739         (WTR::UIScriptController::stylusDownAtPoint):
2740         (WTR::UIScriptController::stylusMoveToPoint):
2741         (WTR::UIScriptController::stylusUpAtPoint):
2742         (WTR::UIScriptController::stylusTapAtPoint):
2743         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: New methods.
2744         * TestRunnerShared/UIScriptContext/UIScriptController.cpp: Empty implementations.
2745         (WTR::UIScriptController::stylusDownAtPoint):
2746         (WTR::UIScriptController::stylusMoveToPoint):
2747         (WTR::UIScriptController::stylusUpAtPoint):
2748         (WTR::UIScriptController::stylusTapAtPoint):
2749         * TestRunnerShared/UIScriptContext/UIScriptController.h:
2750
2751         * WebKitTestRunner/ios/HIDEventGenerator.h:
2752         * WebKitTestRunner/ios/HIDEventGenerator.mm: New StylusEvent types. Add some properties
2753         to SyntheticEventDigitizerInfo.
2754         (-[HIDEventGenerator _createIOHIDEventType:]): Add support for StylusEvent types.
2755         (-[HIDEventGenerator touchDownAtPoints:touchCount:]): Clear any old stylus info.
2756         (-[HIDEventGenerator stylusDownAtPoint:azimuthAngle:altitudeAngle:pressure:]):
2757         (-[HIDEventGenerator stylusMoveToPoint:azimuthAngle:altitudeAngle:pressure:]):
2758         (-[HIDEventGenerator stylusUpAtPoint:]):
2759         (-[HIDEventGenerator stylusDownAtPoint:azimuthAngle:altitudeAngle:pressure:completionBlock:]):
2760         (-[HIDEventGenerator stylusMoveToPoint:azimuthAngle:altitudeAngle:pressure:completionBlock:]):
2761         (-[HIDEventGenerator stylusUpAtPoint:completionBlock:]):
2762         (-[HIDEventGenerator stylusTapAtPoint:azimuthAngle:altitudeAngle:pressure:completionBlock:]):
2763         * WebKitTestRunner/ios/IOKitSPI.h: Add new include, and new SPI.
2764         * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Calls into the HIDEventGenerator for the new API.
2765         (WTR::UIScriptController::stylusDownAtPoint):
2766         (WTR::UIScriptController::stylusMoveToPoint):
2767         (WTR::UIScriptController::stylusUpAtPoint):
2768         (WTR::UIScriptController::stylusTapAtPoint):
2769
2770 2016-09-07  Daniel Bates  <dabates@apple.com>
2771
2772         Update WebKitSystemInterface
2773
2774         Rubber-stamped by Dean Jackson.
2775
2776         Copy WebKitSystemInterface for iOS 10 to the built products directory.
2777
2778         * Scripts/copy-webkitlibraries-to-product-directory:
2779
2780 2016-09-07  Youenn Fablet  <youenn@apple.com>
2781
2782         [Streams API] Separate compile flag for ReadableStream and WritableStream
2783         https://bugs.webkit.org/show_bug.cgi?id=161044
2784
2785         Reviewed by Alex Christensen.
2786
2787         Moving from STREAMS_API to READABLE_STREAM_API and WRITABLE_STREAM_API compilation flags.
2788
2789         * Scripts/webkitperl/FeatureList.pm:
2790         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2791
2792 2016-09-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2793
2794         [GTK] Move some GObject DOM unstable API to stable
2795         https://bugs.webkit.org/show_bug.cgi?id=161681
2796
2797         Reviewed by Žan Doberšek.
2798
2799         Do not use user message handler unstable API in the tests, since we have stable convenient API for that.
2800
2801         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
2802         (testUserContentManagerScriptMessageFromDOMBindings):
2803         (serverCallback): Deleted.
2804         (beforeAll): Deleted.
2805         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2806         (documentLoadedCallback):
2807         (emitURIChanged): Deleted.
2808
2809 2016-09-07  Youenn Fablet  <youenn@apple.com>
2810
2811         Using tests-options.json to compute whether tests are slow
2812         https://bugs.webkit.org/show_bug.cgi?id=161626
2813
2814         Reviewed by Darin Adler.
2815
2816         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py: Updated first test to use a MockHost.
2817         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2818         (Manager.__init__): Loading tests-options.json
2819         (Manager._test_is_slow): Computing timeout value based on tests-options.json.
2820
2821 2016-09-07  Hunseop Jeong  <hs85.jeong@samsung.com>
2822
2823         [EFL] Need the libosmesa to support the software backend drawing.
2824         https://bugs.webkit.org/show_bug.cgi?id=147065
2825
2826         Reviewed by Gyuyoung Kim.
2827
2828         Added the libosmesa to support the software backend drawing.
2829
2830         * efl/install-dependencies:
2831
2832 2016-09-06  Commit Queue  <commit-queue@webkit.org>
2833
2834         Unreviewed, rolling out r205521, r205526, and r205532.
2835         https://bugs.webkit.org/show_bug.cgi?id=161668
2836
2837         broke API tests (Requested by alexchristensen on #webkit).
2838
2839         Reverted changesets:
2840
2841         "Punycode encode non-ascii hosts in URLParser"
2842         https://bugs.webkit.org/show_bug.cgi?id=161655
2843         http://trac.webkit.org/changeset/205521
2844
2845         "Fix query-only and fragment-only relative URLs when using
2846         URLParser"
2847         https://bugs.webkit.org/show_bug.cgi?id=161657
2848         http://trac.webkit.org/changeset/205526
2849
2850         "URLParser should parse / as a relative URL"
2851         https://bugs.webkit.org/show_bug.cgi?id=161667
2852         http://trac.webkit.org/changeset/205532
2853
2854 2016-09-06  Alex Christensen  <achristensen@webkit.org>
2855
2856         URLParser should parse / as a relative URL
2857         https://bugs.webkit.org/show_bug.cgi?id=161667
2858
2859         Reviewed by Tim Horton.
2860
2861         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2862         (TestWebKitAPI::TEST_F):
2863
2864 2016-09-06  Daniel Bates  <dabates@apple.com>
2865
2866         [iOS] DumpRenderTree and WebKitTestRunner fail to build - "Ad Hoc code signing is not allowed with SDK 'Simulator - iOS 10.0'"
2867         https://bugs.webkit.org/show_bug.cgi?id=161661
2868
2869         Reviewed by Darin Adler.
2870
2871         Allow ad-hoc code signing when building the dummy DumpRenderTree and WebKitTestRunner
2872         command line tools for simulator with the iOS 10 beta SDK.
2873
2874         * DumpRenderTree/mac/Configurations/Base.xcconfig:
2875         * WebKitTestRunner/Configurations/Base.xcconfig:
2876
2877 2016-09-06  Alex Christensen  <achristensen@webkit.org>
2878
2879         Fix query-only and fragment-only relative URLs when using URLParser
2880         https://bugs.webkit.org/show_bug.cgi?id=161657
2881
2882         Reviewed by Tim Horton.
2883
2884         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2885         (TestWebKitAPI::TEST_F):
2886
2887 2016-09-06  Alex Christensen  <achristensen@webkit.org>
2888
2889         Punycode encode non-ascii hosts in URLParser
2890         https://bugs.webkit.org/show_bug.cgi?id=161655
2891
2892         Reviewed by Tim Horton.
2893
2894         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2895         (TestWebKitAPI::wideString):
2896         (TestWebKitAPI::TEST_F):
2897
2898 2016-09-05  Alex Christensen  <achristensen@webkit.org>
2899
2900         Implement relative file urls and begin implementing character encoding in URLParser
2901         https://bugs.webkit.org/show_bug.cgi?id=161618
2902
2903         Reviewed by Tim Horton.
2904
2905         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2906         (TestWebKitAPI::TEST_F):
2907
2908 2016-09-06  Commit Queue  <commit-queue@webkit.org>
2909
2910         Unreviewed, rolling out r205480.
2911         https://bugs.webkit.org/show_bug.cgi?id=161630
2912
2913         tests-options.json is not known from knockout filesystem
2914         (Requested by youenn on #webkit).
2915
2916         Reverted changeset:
2917
2918         "Using tests-options.json to compute whether tests are slow"
2919         https://bugs.webkit.org/show_bug.cgi?id=161626
2920         http://trac.webkit.org/changeset/205480
2921
2922 2016-09-06  Michael Catanzaro  <mcatanzaro@igalia.com>
2923
2924         "Redundant argument in sprintf" warning spam from prepare-ChangeLog
2925         https://bugs.webkit.org/show_bug.cgi?id=161606
2926
2927         Reviewed by Darin Adler.
2928
2929         Avoid extra arguments in call to sprintf, hopefully without introducing new warnings this
2930         time.
2931
2932         * Scripts/prepare-ChangeLog:
2933         (statusDescription):
2934
2935 2016-09-06  Youenn Fablet  <youenn@apple.com>
2936
2937         Using tests-options.json to compute whether tests are slow
2938         https://bugs.webkit.org/show_bug.cgi?id=161626
2939
2940         Reviewed by Darin Adler.
2941
2942         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2943         (Manager.__init__): Loading tests-options.json
2944         (Manager._test_is_slow): Computing timeout value based on tests-options.json.
2945
2946 2016-09-06  Commit Queue  <commit-queue@webkit.org>
2947
2948         Unreviewed, rolling out r205461.
2949         https://bugs.webkit.org/show_bug.cgi?id=161628
2950
2951         Introduced "Use of uninitialized value $original in sprintf"
2952         warning (Requested by mcatanzaro on #webkit).
2953
2954         Reverted changeset:
2955
2956         ""Redundant argument in sprintf" warning spam from prepare-
2957         ChangeLog"
2958         https://bugs.webkit.org/show_bug.cgi?id=161606
2959         http://trac.webkit.org/changeset/205461
2960
2961 2016-09-06  Youenn Fablet  <youenn@apple.com>
2962
2963         W3C test importer should be able to identify slow test
2964         https://bugs.webkit.org/show_bug.cgi?id=161601
2965
2966         Reviewed by Darin Adler.
2967
2968         Test parser is now identifying slow tests based on "meta element name=timeout content=long" elements.
2969         Test importer is updating test-options.json file according that information.
2970
2971         In case of clean import, the test-options.json is cleaned from 'slow' options for all W3C tests.
2972
2973         * Scripts/webkitpy/w3c/test_importer.py:
2974         (TestImporter.__init__):
2975         (TestImporter.find_importable_tests):
2976         (TestImporter.import_tests):
2977         (TestImporter.update_test_options):
2978         (TestImporter):
2979         (TestImporter.remove_slow_from_w3c_test_options):
2980         * Scripts/webkitpy/w3c/test_parser.py:
2981         (TestParser.analyze_test):
2982         (TestParser.is_slow_test):
2983         (TestParser.potential_ref_filename):
2984
2985 2016-09-06  Per Arne Vollan  <pvollan@apple.com>
2986
2987         [Win] Crash logs have incorrect symbols.
2988         https://bugs.webkit.org/show_bug.cgi?id=161603
2989
2990         Reviewed by Darin Adler.
2991
2992         Add build path to _NT_SYMBOL_PATH environment variable.
2993
2994         * Scripts/webkitpy/port/win.py:
2995         (WinPort.setup_crash_log_saving):
2996
2997 2016-08-31  Filip Pizlo  <fpizlo@apple.com>
2998
2999         Butterflies should be allocated in Auxiliary MarkedSpace instead of CopiedSpace and we should rewrite as much of the GC as needed to make this not a regression
3000         https://bugs.webkit.org/show_bug.cgi?id=160125
3001
3002         Reviewed by Geoffrey Garen and Keith Miller.
3003
3004         * DumpRenderTree/TestRunner.cpp:
3005         * DumpRenderTree/mac/DumpRenderTree.mm:
3006         (DumpRenderTreeMain):
3007         * Scripts/run-jsc-stress-tests:
3008         * TestWebKitAPI/Tests/WTF/Vector.cpp:
3009         (TestWebKitAPI::TEST):
3010
3011 2016-09-05  Michael Catanzaro  <mcatanzaro@igalia.com>
3012
3013         "Redundant argument in sprintf" warning spam from prepare-ChangeLog
3014         https://bugs.webkit.org/show_bug.cgi?id=161606
3015
3016         Reviewed by Darin Adler.
3017
3018         Avoid extra arguments in call to sprintf.
3019
3020         * Scripts/prepare-ChangeLog:
3021         (statusDescription):
3022
3023 2016-09-05  Michael Catanzaro  <mcatanzaro@igalia.com>
3024
3025         [GTK] Skip several failing API tests
3026
3027         Unfortunately we don't have any form of test expectations for API tests, so we'll just skip
3028         them after bugs are filed.
3029
3030         * Scripts/run-gtk-tests:
3031         (TestRunner):
3032
3033 2016-09-05  Youenn Fablet  <youenn@apple.com>
3034
3035         Fix W3C test importer unit tests after r205447
3036         https://bugs.webkit.org/show_bug.cgi?id=161604
3037
3038         Unreviewed.
3039
3040         * Scripts/webkitpy/w3c/test_importer.py:
3041         (TestImporter.__init__): Skip cleaning test_resource_files files if resource-files.json cannot be read.
3042
3043 2016-09-05  Philippe Normand  <pnormand@igalia.com>
3044
3045         WebRTC: Several media stream tests crashing
3046         https://bugs.webkit.org/show_bug.cgi?id=161582
3047
3048         Reviewed by Alejandro G. Castro.
3049
3050         * gtk/jhbuild.modules: Bump to latest OpenWebRTC master fixing the crash on missing
3051         glvideoflip GStreamer element.
3052
3053 2016-09-05  Youenn Fablet  <youenn@apple.com>
3054
3055         W3C test importer should generate the list of resource files
3056         https://bugs.webkit.org/show_bug.cgi?id=161578
3057
3058         Reviewed by Ryosuke Niwa.
3059
3060         Generating LayoutTests/imported/w3c/resources/resource-files.json when importing tests.
3061
3062         * Scripts/webkitpy/w3c/test_importer.py:
3063         (TestImporter.__init__): Reading test resource files configuration file.
3064         (TestImporter.find_importable_tests):
3065         (TestImporter.import_tests): Update the test resource files based on test parsed files.
3066         (TestImporter):
3067         (TestImporter._already_identified_as_resource_file): Helper routine to know whether a file is already set as a resource file.
3068         (TestImporter._is_in_resources_directory: Helper routine to know whether a file is in a resources directory.
3069
3070 2016-09-03  Wenson Hsieh  <wenson_hsieh@apple.com>
3071
3072         Media controls behave strangely when videos mute from within a playing handler
3073         https://bugs.webkit.org/show_bug.cgi?id=161559
3074         <rdar://problem/28018438>
3075
3076         Reviewed by Darin Adler.
3077
3078         Accounts for changes when determining whether or not to show media controls for autoplaying videos that have not
3079         begun playing yet. Rather than check for a controlled media element upon page load, we force tests to wait until
3080         all autoplaying videos have actually begun playing. This extends to tests that involve interaction, such as
3081         clicking or scrolling.
3082
3083         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
3084         (-[VideoControlsManagerTestWebView callJavascriptFunction:]):
3085         (-[VideoControlsManagerTestWebView expectControlsManager:afterReceivingMessage:]):
3086         (-[VideoControlsManagerTestWebView performAfterReceivingMessage:action:]):
3087         (-[VideoControlsManagerTestWebView waitForPageToLoadWithAutoplayingVideos:]):
3088         (TestWebKitAPI::TEST):
3089         (-[VideoControlsManagerTestWebView loadTestPageNamed:andExpectControlsManager:afterReceivingMessage:]): Deleted.
3090         * TestWebKitAPI/Tests/WebKit2Cocoa/autoplaying-video-with-audio.html:
3091         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-hides-controls-after-seek-to-end.html:
3092         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-playing-scroll-away.html:
3093         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-click-to-pause.html:
3094         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-scroll-to-video.html:
3095         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-paused-video-hides-controls.html:
3096         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-muted-video-hides-controls.html:
3097         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-video-keeps-controls.html:
3098         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio-autoplay.html:
3099
3100 2016-09-03  Wenson Hsieh  <wenson_hsieh@apple.com>
3101
3102         Refactor the heuristic for showing media controls to take all media sessions into account
3103         https://bugs.webkit.org/show_bug.cgi?id=161503
3104         <rdar://problem/28033783>
3105
3106         Reviewed by Darin Adler.
3107
3108         Adds new unit tests verifying the behavior of media playback controls when scrolling another video into view.
3109         Please see the WebCore ChangeLog for more details about this change. Also refactors existing
3110         VideoControlsManager tests by folding duplicated setup and testing logic into helper methods to make the unit
3111         tests more readable.
3112
3113         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3114         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
3115         (-[MessageHandler initWithMessage:handler:]):
3116         (-[MessageHandler userContentController:didReceiveScriptMessage:]):
3117         (-[VideoControlsManagerTestWebView performAfterLoading:]):
3118         (-[VideoControlsManagerTestWebView loadTestPageNamed:]):
3119         (-[VideoControlsManagerTestWebView loadTestPageNamed:andExpectControlsManager:afterReceivingMessage:]):
3120         (-[VideoControlsManagerTestWebView performAfterReceivingMessage:action:]):
3121         (-[VideoControlsManagerTestWebView controlledElementID]):
3122         (-[VideoControlsManagerTestWebView _handleControlledElementIDResponse:]):
3123         (TestWebKitAPI::setUpWebViewForTestingVideoControlsManager):
3124         (TestWebKitAPI::TEST):
3125         (-[MediaPlaybackMessageHandler initWithWKWebView:finalMessageString:]): Deleted.
3126         (-[MediaPlaybackMessageHandler userContentController:didReceiveScriptMessage:]): Deleted.
3127         (-[OnLoadMessageHandler initWithWKWebView:handler:]): Deleted.
3128         (-[OnLoadMessageHandler userContentController:didReceiveScriptMessage:]): Deleted.
3129         (-[WKWebView performAfterLoading:]): Deleted.
3130         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-playing-scroll-away.html: Added.
3131         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-click-to-pause.html: Added.
3132         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-scroll-to-video.html: Added.
3133         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-paused-video-hides-controls.html: Added.
3134         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-muted-video-hides-controls.html: Added.
3135         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-video-keeps-controls.html: Added.
3136
3137 2016-09-03  Youenn Fablet  <youenn@apple.com>
3138
3139         run-webkit-tests should detect w3c test resource files
3140         https://bugs.webkit.org/show_bug.cgi?id=161307
3141
3142         Reviewed by Ryosuke Niwa.
3143
3144         * Scripts/webkitpy/port/base.py:
3145         (Port.__init__): Adding self._w3c_resource_files to store the list of resource files.
3146         (Port.potential_test_names_from_expected_file):
3147         (Port._real_tests):
3148         (Port.is_w3c_resource_file): Computing whether a file is a resource file based on imported/w3c/resources/resource-files.json.
3149         (Port._is_test_file): Updated to call Port.is_w3c_resource_file. _is_test_file is no longer static.
3150         (Port): Deleted.
3151         * Scripts/webkitpy/port/base_unittest.py:
3152         (PortTest.test_additional_platform_directory):
3153         (PortTest.test_find_no_paths_specified):
3154         (PortTest.test_is_test_file): Updated to use non-static version of _is_test_file.
3155         (PortTest.test_is_w3c_resource_file): Adding tests.
3156
3157 2016-09-02  Carlos Garcia Campos  <cgarcia@igalia.com>
3158
3159         Unreviewed. Fix archive-built-product step in GTK+ bots after r205280.
3160
3161         * BuildSlaveSupport/built-product-archive:
3162         (archiveBuiltProduct): Do not copy to the archive the files needed to run GObject DOM bindings API breaks tests
3163         that no longer exist.
3164
3165 2016-09-02  Alex Christensen  <achristensen@webkit.org>
3166
3167         URLParser should parse file URLs
3168         https://bugs.webkit.org/show_bug.cgi?id=161556
3169
3170         Reviewed by Tim Horton.
3171
3172         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3173         (TestWebKitAPI::TEST_F):
3174         (TestWebKitAPI::checkURLDifferences):
3175
3176 2016-09-01  Michael Saboff  <msaboff@apple.com>
3177
3178         Import Chakra tests to JSC
3179         https://bugs.webkit.org/show_bug.cgi?id=154697
3180
3181         Reviewed by Saam Barati.
3182
3183         Added "runChakra" and "chakraPassFailErrorHandler" to support the running of
3184         Chakra tests.
3185
3186         * Scripts/run-jsc-stress-tests:
3187
3188 2016-09-02  Jonathan Bedard  <jbedard@apple.com>
3189
3190         WebKitTestRunner needs layoutTestController.setDashboardCompatibilityMode
3191         https://bugs.webkit.org/show_bug.cgi?id=42547
3192  
3193         Reviewed by Darin Adler.
3194
3195         Added JavaScript bindings and C++ implementation of setUseDashboardCompatibilityMode for the WebKit2 sTestRunner.
3196         Note: this bug mistakenly called this function setDashboardCompatibilityMode, it is actually setUseDashboardCompatibilityMode.
3197
3198         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Added dashboard compatiblity mode setter.
3199         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3200         (WTR::InjectedBundle::beginTesting): Reset dashboard compatibility mode.
3201         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3202         (WTR::TestRunner::setJavaScriptCanAccessClipboard): Code style changes.
3203         (WTR::TestRunner::setPrivateBrowsingEnabled): Code style changes.
3204         (WTR::TestRunner::setUseDashboardCompatibilityMode): Added dashboard compatiblity mode setter.
3205         (WTR::TestRunner::setPopupBlockingEnabled): Code style changes.
3206         (WTR::TestRunner::setAuthorAndUserStylesEnabled): Code style changes.
3207         (WTR::TestRunner::addOriginAccessWhitelistEntry): Code style changes.
3208         * WebKitTestRunner/InjectedBundle/TestRunner.h: Added dashboard compatiblity mode setter.
3209
3210 2016-09-02  Jer Noble  <jer.noble@apple.com>
3211
3212         Unreviewed build fix: restore storyboard files to Xcode 7-compatability.
3213
3214         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard:
3215         * MobileMiniBrowser/MobileMiniBrowserFramework/Base.lproj/Main.storyboard:
3216
3217 2016-09-02  Tim Horton  <timothy_horton@apple.com>
3218
3219         REGRESSION (r205329): Two API tests time out on iOS Simulator
3220         https://bugs.webkit.org/show_bug.cgi?id=161542
3221
3222         Reviewed by Brady Eidson.
3223
3224         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm:
3225         (createAnimatedResizeWebView):
3226         (createFirstVisuallyNonEmptyWatchingNavigationDelegate):
3227         (TEST):
3228         (animatedResizeWebView): Deleted.
3229         The navigation delegate was being stored in a local and went out of scope
3230         before the test was over. Keep it around, instead.
3231
3232 2016-08-31  Jer Noble  <jer.noble@apple.com>
3233
3234         Refactor MobileMiniBrowser into an application framework to allow external XCTesting
3235         https://bugs.webkit.org/show_bug.cgi?id=161462
3236
3237         Reviewed by Eric Carlson.
3238
3239         XCTest targets need to be in the same project as the application which they're testing. To facilitate
3240         having external projects with XCTest targets, move the application's implementation into a framework
3241         that can be included with a bare-bones application shell for testing.
3242
3243         Simultaneously, add the ability to load files from within the new framework's bundle by using a
3244         'bundle:/' URL scheme. Update the tests to use this new bundle URL and remove the dependency on
3245         an external server for testing.
3246
3247         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
3248         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard:
3249         * MobileMiniBrowser/MobileMiniBrowser/Info.plist:
3250         * MobileMiniBrowser/MobileMiniBrowser/main.m:
3251         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
3252         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.m.
3253         (-[AppDelegate application:didFinishLaunchingWithOptions:]): Manually instantiate the main view
3254             controller from the framework's bundle.
3255         * MobileMiniBrowser/MobileMiniBrowserFramework/Assets.xcassets/AppIcon.appiconset/Contents.json: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json.
3256         * MobileMiniBrowser/MobileMiniBrowserFramework/Base.lproj/Main.storyboard: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Base.lproj/Main.storyboard.
3257         * MobileMiniBrowser/MobileMiniBrowserFramework/Info.plist: Added.
3258         * MobileMiniBrowser/MobileMiniBrowserFramework/MobileMiniBrowser.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
3259         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.h.
3260         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.m.
3261         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.h.
3262         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.m.
3263         (+[NSURL __bundleURLForFileURL:bundle:]): Add utility method.
3264         (+[NSURL __fileURLForBundleURL:bundle:]): Ditto.
3265         (-[WebViewController navigateTo:]): Support loading "bundle:/" URLs which are really just "file:" URLs
3266             pointing to the framework's resources directory.
3267         (-[WebViewController observeValueForKeyPath:ofObject:change:context:]): Ditto.
3268         * MobileMiniBrowser/MobileMiniBrowserUITests/MobileMiniBrowserUITests.m:
3269         (-[MobileMiniBrowserUITests testBasicVideoPlayback]):
3270
3271 2016-09-02  Jonathan Bedard  <jbedard@apple.com>
3272
3273         Fix --no-sample-on-timeout command line argument
3274         https://bugs.webkit.org/show_bug.cgi?id=161507
3275
3276         Reviewed by Alexey Proskuryakov.
3277
3278         This patch fixes the —no-sample-on-timeout flag and correctly names spindumps as spindump.txt.
3279
3280         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3281         (parse_args): Fixed —-no-sample-on-timeout.
3282         * Scripts/webkitpy/port/apple.py:
3283         (ApplePort.sample_process): Use correct file name.
3284         (ApplePort.spindump_file_path): Spindump and sample file names are different.
3285         * Scripts/webkitpy/port/driver.py:
3286         (Driver._check_for_driver_timeout): Check “sample_on_timeout” flag.
3287         * Scripts/webkitpy/port/mac_unittest.py:
3288         (MacTest.test_spindump): Modified for correct filename.
3289
3290 2016-09-02  Jonathan Bedard  <jbedard@apple.com>
3291
3292         Unreviewed: moved myself to the reviewers list.
3293
3294         * Scripts/webkitpy/common/config/contributors.json:
3295
3296 2016-09-02  Tomas Popela  <tpopela@redhat.com>
3297
3298         [GTK] Fix compiler warning in MiniBrowser
3299         https://bugs.webkit.org/show_bug.cgi?id=161529
3300
3301         We were missing a return statement in decidePermissionRequest() and
3302         also there was unused variable in browserWindowConstructed().
3303
3304         Reviewed by Carlos Garcia Campos.
3305
3306         * MiniBrowser/gtk/BrowserTab.c:
3307         (decidePermissionRequest):
3308         * MiniBrowser/gtk/BrowserWindow.c:
3309         (browserWindowConstructed):
3310
3311 2016-09-01  Dan Bernstein  <mitz@apple.com>
3312
3313         Build fix.
3314
3315         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3316
3317 2016-09-01  Tim Horton  <timothy_horton@apple.com>
3318
3319         Provide a TestWebKitAPI-wide WKNavigationDelegate to simplify tests
3320         https://bugs.webkit.org/show_bug.cgi?id=161413
3321
3322         Reviewed by Simon Fraser.
3323
3324         Add TestNavigationDelegate, which provides block properties to make
3325         writing tests feel a little more natural (the callbacks can be inline),
3326         and also add WKWebView _test_waitForDidFinishNavigation, so that many
3327         tests don't even need to manually allocate a navigation delegate at all.
3328
3329         Adopt in some of the simpler tests; there are a few navigation delegates
3330         left behind, which we can move to the new model in the future.
3331
3332         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3333         * TestWebKitAPI/Tests/WebKit2/WKBackForwardList.mm:
3334         (TEST):
3335         (-[WKBackForwardListTestNavigationDelegate webView:didFinishNavigation:]): Deleted.
3336         * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm:
3337         (TEST):
3338         (-[AlwaysRevalidatedURLSchemesDelegate webView:didFinishNavigation:]): Deleted.
3339         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm:
3340         (animatedResizeWebView):
3341         (-[AnimatedResizeNavigationDelegate _webView:renderingProgressDidChange:]): Deleted.
3342         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
3343         (-[AutoLayoutWKWebView initWithFrame:configuration:]):
3344         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:resettingWidth:]):
3345         (TEST):
3346         (-[AutoLayoutNavigationDelegate webView:didFinishNavigation:]): Deleted.
3347         * TestWebKitAPI/Tests/WebKit2Cocoa/CancelFontSubresource.mm:
3348         (TEST):
3349         (-[CancelFontSubresourceNavigationDelegate webView:didFinishNavigation:]): Deleted.
3350         * TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm:
3351         (WebKit2_CommandBackForwardTestWKWebView::SetUp):
3352         (WebKit2_CommandBackForwardTestWKWebView::loadFiles):
3353         (TEST_F):
3354         (-[CommandBackForwardNavigationDelegate webView:didFinishNavigation:]): Deleted.
3355         * TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:
3356         (expectLinkCount):
3357         (TEST):
3358         (-[DataDetectionNavigationDelegate webView:didFinishNavigation:]): Deleted.
3359         * TestWebKitAPI/Tests/WebKit2Cocoa/FindInPage.mm:
3360         (TEST):
3361         (-[FindInPageNavigationDelegate webView:didFinishNavigation:]): Deleted.
3362         * TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:
3363         (TEST):
3364         (-[FixedLayoutSizeNavigationDelegate webView:didFinishNavigation:]): Deleted.
3365         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm:
3366         (TEST):
3367         (-[DatabaseProcessKillNavigationDelegate webView:didFinishNavigation:]): Deleted.
3368         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
3369         (-[IndexedDBNavigationDelegate webView:didFinishNavigation:]): Deleted.
3370         * TestWebKitAPI/Tests/WebKit2Cocoa/ProvisionalURLNotChange.mm:
3371         (TEST):
3372         (-[ProvisionalURLNotChangeController webView:didFinishNavigation:]): Deleted.
3373         (-[ProvisionalURLNotChangeController webView:didFailProvisionalNavigation:withError:]): Deleted.
3374         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
3375         (RequiresUserActionForPlaybackTest::createWebView):
3376         (RequiresUserActionForPlaybackTest::testVideoWithAudio):
3377         (RequiresUserActionForPlaybackTest::testVideoWithoutAudio):
3378         (RequiresUserActionForPlaybackTest::testAudioOnly):
3379         (-[RequiresUserActionForPlaybackNavigationDelegate webView:didFinishNavigation:]): Deleted.
3380         * TestWebKitAPI/Tests/WebKit2Cocoa/ShrinkToFit.mm:
3381         (TEST):
3382         (-[ShrinkToFitNavigationDelegate webView:didFinishNavigation:]): Deleted.
3383         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
3384         (TEST):
3385         (webViewForScriptMessageHandlerMultipleHandlerRemovalTest):
3386         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentWorld.mm:
3387         (TEST):
3388         (-[SimpleDelegate webView:didFinishNavigation:]): Deleted.
3389         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewResizeCrash.mm:
3390         (TEST):
3391         (-[WKPDFViewResizeNavigationDelegate webView:didFinishNavigation:]): Deleted.
3392         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm:
3393         (TEST):
3394         (-[EvaluateJavaScriptNavigationDelegate webView:didFinishNavigation:]): Deleted.
3395         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewTextInput.mm:
3396         (TEST):
3397         (-[DummyNavigationDelegate webView:didFinishNavigation:]): Deleted.
3398         * TestWebKitAPI/cocoa/TestNavigationDelegate.h: Added.
3399         * TestWebKitAPI/cocoa/TestNavigationDelegate.mm: Added.
3400         (-[TestNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
3401         (-[TestNavigationDelegate webView:didFinishNavigation:]):
3402         (-[TestNavigationDelegate _webView:renderingProgressDidChange:]):
3403         (-[TestNavigationDelegate waitForDidFinishNavigation]):
3404         (-[WKWebView _test_waitForDidFinishNavigation]):
3405
3406 2016-09-01  Ricky Mondello  <rmondello@apple.com>
3407
3408         YouTube Flash plug-in replacement facility should not insert showinfo=0 into iframe URLs
3409         https://bugs.webkit.org/show_bug.cgi?id=161478
3410         <rdar://problem/28050847>
3411
3412         Reviewed by Eric Carlson.
3413
3414         * TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp:
3415         (TestWebKitAPI::TEST_F): Update expected results.
3416
3417 2016-09-01  Anders Carlsson  <andersca@apple.com>
3418
3419         add BlockPtr::fromCallable
3420         https://bugs.webkit.org/show_bug.cgi?id=161504
3421
3422         Reviewed by Tim Horton.
3423
3424         Add a test.
3425
3426         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3427         * TestWebKitAPI/Tests/WTF/BlockPtr.mm: Added.
3428         (TestWebKitAPI::TEST):
3429
3430 2016-09-01  Alex Christensen  <achristensen@webkit.org>
3431
3432         URLParser should handle . and .. in URL paths
3433         https://bugs.webkit.org/show_bug.cgi?id=161443
3434
3435         Reviewed by Brady Eidson.
3436
3437         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3438         (TestWebKitAPI::eq):
3439         (TestWebKitAPI::TEST_F):
3440
3441 2016-09-01  Commit Queue  <commit-queue@webkit.org>
3442
3443         Unreviewed, rolling out r205295 and r205303.
3444         https://bugs.webkit.org/show_bug.cgi?id=161505
3445
3446         Broke the iOS build (Requested by ryanhaddad on #webkit).
3447
3448         Reverted changesets:
3449
3450         "Refactor MobileMiniBrowser into an application framework to
3451         allow external XCTesting"
3452         https://bugs.webkit.org/show_bug.cgi?id=161462
3453         http://trac.webkit.org/changeset/205295
3454
3455         "Unreviewed build-fix; don't specify an explicit deployment
3456         target."
3457         http://trac.webkit.org/changeset/205303
3458
3459 2016-09-01  Ricky Mondello  <rmondello@apple.com>
3460
3461         YouTube Flash plug-in replacement facility should more gracefully handle malformed queries
3462         https://bugs.webkit.org/show_bug.cgi?id=161476
3463         <rdar://problem/28050847>
3464
3465         Reviewed by Eric Carlson.
3466
3467         * TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp:
3468         (TestWebKitAPI::TEST_F): New tests. The first two and second-to-last test cases cover the "malformed" query
3469             logic. A few other tests are added, too.
3470
3471 2016-09-01  Jer Noble  <jer.noble@apple.com>
3472
3473         Unreviewed build-fix; don't specify an explicit deployment target.
3474
3475         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
3476
3477 2016-08-31  Jer Noble  <jer.noble@apple.com>
3478
3479         Refactor MobileMiniBrowser into an application framework to allow external XCTesting
3480         https://bugs.webkit.org/show_bug.cgi?id=161462
3481
3482         Reviewed by Eric Carlson.
3483
3484         XCTest targets need to be in the same project as the application which they're testing. To facilitate
3485         having external projects with XCTest targets, move the application's implementation into a framework
3486         that can be included with a bare-bones application shell for testing.
3487
3488         Simultaneously, add the ability to load files from within the new framework's bundle by using a
3489         'bundle:/' URL scheme. Update the tests to use this new bundle URL and remove the dependency on
3490         an external server for testing.
3491
3492         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
3493         * MobileMiniBrowser/MobileMiniBrowser/Base.lproj/LaunchScreen.storyboard:
3494         * MobileMiniBrowser/MobileMiniBrowser/Info.plist:
3495         * MobileMiniBrowser/MobileMiniBrowser/main.m:
3496         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
3497         * MobileMiniBrowser/MobileMiniBrowserFramework/AppDelegate.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.m.
3498         (-[AppDelegate application:didFinishLaunchingWithOptions:]): Manually instantiate the main view
3499             controller from the framework's bundle.
3500         * MobileMiniBrowser/MobileMiniBrowserFramework/Assets.xcassets/AppIcon.appiconset/Contents.json: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json.
3501         * MobileMiniBrowser/MobileMiniBrowserFramework/Base.lproj/Main.storyboard: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/Base.lproj/Main.storyboard.
3502         * MobileMiniBrowser/MobileMiniBrowserFramework/Info.plist: Added.
3503         * MobileMiniBrowser/MobileMiniBrowserFramework/MobileMiniBrowser.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/AppDelegate.h.
3504         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.h.
3505         * MobileMiniBrowser/MobileMiniBrowserFramework/TabViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/TabViewController.m.
3506         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.h: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.h.
3507         * MobileMiniBrowser/MobileMiniBrowserFramework/WebViewController.m: Renamed from Tools/MobileMiniBrowser/MobileMiniBrowser/WebViewController.m.
3508         (+[NSURL __bundleURLForFileURL:bundle:]): Add utility method.
3509         (+[NSURL __fileURLForBundleURL:bundle:]): Ditto.
3510         (-[WebViewController navigateTo:]): Support loading "bundle:/" URLs which are really just "file:" URLs
3511             pointing to the framework's resources directory.
3512         (-[WebViewController observeValueForKeyPath:ofObject:change:context:]): Ditto.
3513         * MobileMiniBrowser/MobileMiniBrowserUITests/MobileMiniBrowserUITests.m:
3514         (-[MobileMiniBrowserUITests testBasicVideoPlayback]):
3515
3516 2016-09-01  Carlos Garcia Campos  <cgarcia@igalia.com>
3517
3518         Unreviewed. Fix webkitpy unit tests after r205280.
3519
3520         * Scripts/webkitpy/style/checker_unittest.py:
3521         (GlobalVariablesTest.test_path_rules_specifier):
3522
3523 2016-08-31  Carlos Garcia Campos  <cgarcia@igalia.com>
3524
3525         [GTK] Move GObject DOM bindings to WebKit2 layer and stop auto generating them
3526         https://bugs.webkit.org/show_bug.cgi?id=161438
3527
3528         Reviewed by Michael Catanzaro.
3529
3530         Remove scripts related to the GObject DOM bindings auto-generation.
3531
3532         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3533         (RunGtkAPITests.getText2):
3534         (TestFactory.__init__):
3535         (RunWebKit1Tests): Deleted.
3536         (RunWebKit1Tests.start): Deleted.
3537         (RunWebKit1LeakTests): Deleted.
3538         (RunWebKit1LeakTests.start): Deleted.
3539         (RunAndUploadPerfTests): Deleted.
3540         (RunAndUploadPerfTests.start): Deleted.
3541         (BuildAndRemoteJSCTestsFactory.__init__): Deleted.
3542         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
3543         (BuildStepsTest.test_unnecessary_expected_results):
3544         (RunAndUploadPerfTestsTest): Deleted.
3545         (RunAndUploadPerfTestsTest.assertResults): Deleted.
3546         (RunAndUploadPerfTestsTest.test_success): Deleted.
3547         (RunAndUploadPerfTestsTest.test_tests_failed): Deleted.
3548         (RunAndUploadPerfTestsTest.test_build_bad_build): Deleted.
3549         (RunAndUploadPerfTestsTest.test_build_bad_source_json): Deleted.
3550         (RunAndUploadPerfTestsTest.test_build_bad_marge): Deleted.
3551         (RunAndUploadPerfTestsTest.test_build_bad_failed_uploading): Deleted.
3552         (RunAndUploadPerfTestsTest.test_build_bad_preparation): Deleted.
3553         (RunAndUploadPerfTestsTest.test_buildbot_timeout): Deleted.
3554         (RunBenchmarkTest): Deleted.
3555         (RunBenchmarkTest.assertResults): Deleted.
3556         (RunBenchmarkTest.test_success): Deleted.
3557         * Scripts/run-bindings-tests:
3558         (main):
3559         * Scripts/webkitpy/style/checker.py:
3560         * gtk/check-for-webkitdom-api-breaks: Removed.
3561         * gtk/generate-gtkdoc:
3562         * gtk/webkitdom.py: Removed.
3563
3564 2016-08-31  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3565
3566         [EFL] Small clean up in MiniBrowser
3567         https://bugs.webkit.org/show_bug.cgi?id=161428
3568
3569         Reviewed by Yusuke Suzuki.
3570
3571         This patch resizes MiniBrowser, add *char* constants for scheme,
3572         does line breaking, and remove unnecessary spaces.
3573
3574         * MiniBrowser/efl/main.c:
3575         (on_mouse_wheel):
3576         (history_list_hide):
3577         (script_execute_callback):
3578         (on_key_down):
3579         (on_url_changed):
3580         (on_error):
3581         (on_color_picker_request):
3582         (url_from_user_input):
3583         (url_load_from_user_input):
3584         (on_back_button_clicked):
3585         (on_search_case_option_changed):
3586         (on_search_word_start_option_changed):
3587         (on_list_item_select):
3588         (navigation_button_longpress_process):
3589         (on_navigation_policy_decision):
3590         (window_create):
3591         (parse_cookies_policy):
3592
3593 2016-08-31  Alex Christensen  <achristensen@webkit.org>
3594
3595         Implement IPv6 parsing in URLParser
3596         https://bugs.webkit.org/show_bug.cgi?id=161390
3597
3598         Reviewed by Darin Adler.
3599
3600         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3601         (TestWebKitAPI::TEST_F):
3602         (TestWebKitAPI::checkURLDifferences):
3603
3604 2016-08-31  Brady Eidson  <beidson@apple.com>
3605
3606         WK2 Gamepad provider on iOS.
3607         https://bugs.webkit.org/show_bug.cgi?id=161412
3608
3609         Reviewed by Tim Horton.
3610
3611         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3612
3613 2016-08-30  Ricky Mondello  <rmondello@apple.com>
3614
3615         YouTubePluginReplacementTest's URL transformation logic should have tests
3616         https://bugs.webkit.org/show_bug.cgi?id=161406
3617         <rdar://problem/28050847>
3618
3619         Reviewed by Eric Carlson.
3620
3621         Add some very basic tests. Future patches should expand on these to find and fix bugs.
3622
3623         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add YouTubePluginReplacement.cpp.
3624         * TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp: Added.
3625         (TestWebKitAPI::test): Added.
3626         (TestWebKitAPI::TEST_F): Added.
3627
3628 2016-08-30  Brady Eidson  <beidson@apple.com>
3629
3630         GameController.framework backend for gamepad API.
3631         https://bugs.webkit.org/show_bug.cgi?id=161086
3632
3633         Reviewed by Alex Christensen.
3634
3635         * MiniBrowser/mac/AppDelegate.m:
3636         (-[BrowserAppDelegate awakeFromNib]):
3637
3638         * MiniBrowser/mac/SettingsController.h:
3639         * MiniBrowser/mac/SettingsController.m:
3640         (-[SettingsController _populateMenu]):
3641         (-[SettingsController validateMenuItem:]):
3642         (-[SettingsController usesGameControllerFramework]):
3643         (-[SettingsController toggleUsesGameControllerFramework:]):
3644
3645 2016-08-30  Brent Fulgham  <bfulgham@apple.com>
3646
3647         Use of uninitialised memory in TransformationMatrx::blend4()
3648         https://bugs.webkit.org/show_bug.cgi?id=134621
3649         <rdar://problem/27337539>
3650
3651         Reviewed by Dean Jackson.
3652
3653         Change is based on the Blink change (patch by <alancutter@chromium.org>):
3654         <https://src.chromium.org/viewvc/blink?revision=177453&view=revision>
3655
3656         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3657         * TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp: Added.
3658         (TestWebKitAPI::TEST):
3659
3660 2016-08-30  Alex Christensen  <achristensen@webkit.org>
3661
3662         URLParser should handle relative URLs that start with //
3663         https://bugs.webkit.org/show_bug.cgi?id=161364
3664
3665         Reviewed by Darin Adler.
3666
3667         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3668         (TestWebKitAPI::checkRelativeURL):
3669         (TestWebKitAPI::TEST_F):
3670
3671 2016-08-29  Aakash Jain  <aakash_jain@apple.com>
3672
3673         EWS patch status page should indicate bot corresponding to each status message
3674         https://bugs.webkit.org/show_bug.cgi?id=161280
3675
3676         Reviewed by Alexey Proskuryakov.
3677
3678         * QueueStatusServer/templates/patch.html: Formatting changes.
3679
3680 2016-08-29  Aakash Jain  <aakash_jain@apple.com>
3681
3682         EWS should indicate which bot processed the patch
3683         https://bugs.webkit.org/show_bug.cgi?id=161222
3684