33bfcf4c9b950a02b9e1d9afb112c82a3908daf8
[WebKit.git] / Tools / ChangeLog
1 2016-10-31  Ryosuke Niwa  <rniwa@webkit.org>
2
3         Enable custom elements by default everywhere
4         https://bugs.webkit.org/show_bug.cgi?id=164242
5
6         Reviewed by Antti Koivisto.
7
8         Enable custom elements API on every port by default.
9
10         * Scripts/webkitperl/FeatureList.pm:
11
12 2016-10-31  Nan Wang  <n_wang@apple.com>
13
14         AX: aria-sort is not exposed on iOS
15         https://bugs.webkit.org/show_bug.cgi?id=164245
16
17         Reviewed by Chris Fleizach.
18
19         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
20         (AccessibilityUIElement::stringAttributeValue):
21         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
22         (WTR::AccessibilityUIElement::stringAttributeValue):
23
24 2016-10-31  Simon Fraser  <simon.fraser@apple.com>
25
26         Implement IntersectionObserver
27         https://bugs.webkit.org/show_bug.cgi?id=159475
28
29         Reviewed by Ryosuke Niwa.
30         
31         Add ENABLE_INTERSECTION_OBSERVER, enabled by default.
32
33         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
34
35 2016-10-31  Ryan Haddad  <ryanhaddad@apple.com>
36
37         Unreviewed, rolling out r208154.
38
39         This change caused an assertion failure during API tests on
40         macOS.
41
42         Reverted changeset:
43
44         "NetworkSession: Network process crash when converting main
45         resource to download"
46         https://bugs.webkit.org/show_bug.cgi?id=164220
47         http://trac.webkit.org/changeset/208154
48
49 2016-10-31  Said Abou-Hallawa  <sabouhallawa@apple.com>
50
51         Unreviewed, change my status to be a WebKit reviewer
52
53         * Scripts/webkitpy/common/config/contributors.json:
54
55 2016-10-31  Carlos Garcia Campos  <cgarcia@igalia.com>
56
57         NetworkSession: Network process crash when converting main resource to download
58         https://bugs.webkit.org/show_bug.cgi?id=164220
59
60         Reviewed by Alex Christensen.
61
62         Split /webkit2/Downloads/policy-decision-download in two, one to test the full load when main resource is
63         converted to a download and another one to test the cancellation as the test was doing before. When doing the
64         full load, delay a bit the decide destination to ensure the load is aborted before the data task has became a
65         download.
66
67         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
68         (testPolicyResponseDownload):
69         (testPolicyResponseDownloadCancel):
70         (beforeAll):
71
72 2016-10-31  Keith Miller  <keith_miller@apple.com>
73
74         Unreviewed, fix watchlist regexp for wasm.
75
76         * Scripts/webkitpy/common/config/watchlist:
77
78 2016-10-31  Keith Miller  <keith_miller@apple.com>
79
80         autogenerated files from wasm.json should be in derived sources.
81         https://bugs.webkit.org/show_bug.cgi?id=164152
82
83         Reviewed by Filip Pizlo.
84
85         Add message to make sure that people keep the wasm.jsons up to date.
86
87         * Scripts/webkitpy/common/config/watchlist:
88
89 2016-10-31  Wenson Hsieh  <wenson_hsieh@apple.com>
90
91         Holding down a key to choose an accented character should fire "insertReplacementText" input events
92         https://bugs.webkit.org/show_bug.cgi?id=164209
93         <rdar://problem/29019305>
94
95         Reviewed by Darin Adler.
96
97         Adds test support for inserting replacement text on Mac. This is equivalent to holding down a vowel key (e.g.
98         'a') to bring up the menu containing accented version of the character, then selecting an accented character to
99         insert in place of the typed character. This is exposed via UIScriptController.insertText, which takes a string
100         and an insertion range.
101
102         * DumpRenderTree/mac/UIScriptControllerMac.mm:
103         (WTR::UIScriptController::insertText):
104         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
105
106         Note that there is no callback argument to insertText, since UIScriptController::insertText is synchronous in
107         the UI process. The tests end when corresponding input events fired as a result of insertText have been received
108         in the web process. Please see the new layout tests for more detail.
109
110         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
111         (WTR::UIScriptController::insertText):
112         * TestRunnerShared/UIScriptContext/UIScriptController.h:
113         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
114         (WTR::nsStringFromJSString):
115         (WTR::UIScriptController::insertText):
116
117 2016-10-30  Sam Weinig  <sam@webkit.org>
118
119         [WebIDL] Restructure IDLParser structs to better match modern WebIDL concepts
120         https://bugs.webkit.org/show_bug.cgi?id=164208
121
122         Reviewed by Darin Adler.
123
124         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm:
125         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
126         Update for new struct types.
127
128 2016-10-29  Darin Adler  <darin@apple.com>
129
130         Fix failing ExtendedColor tests.
131
132         * TestWebKitAPI/Tests/WebCore/ExtendedColor.cpp:
133         Changed the tests in two ways: First, use EXPECT_EQ instead of EXPECT_TRUE
134         for the string equality comparisons. This required including WTFStringUtilities.h.
135         Second, change expected results to match what the code is currently generating,
136         so alpha channels are "0.25" rather than "0.25 / 1". I'll let Dean fix both these
137         tests and the code if these results are incorrect.
138
139 2016-10-29  Wenson Hsieh  <wenson_hsieh@apple.com>
140
141         UIScriptControllerIOS.mm should not be soft-linking UIKit
142         https://bugs.webkit.org/show_bug.cgi?id=164171
143
144         Reviewed by Darin Adler.
145
146         Follow-up to r208090. Instead of soft-linking, we can simply grab UIKeyboardPredictionView by name instead.
147
148         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
149         (WTR::UIScriptController::waitForTextPredictionsViewAndSelectCandidateAtIndex):
150
151 2016-10-28  Darin Adler  <darin@apple.com>
152
153         Move all classes in the HTML directory from ExceptionCode to Exception
154         https://bugs.webkit.org/show_bug.cgi?id=163876
155
156         Reviewed by Sam Weinig.
157
158         * TestWebKitAPI/Tests/WebCore/TimeRanges.cpp:
159         (TestWebKitAPI::ToString): Updated for changes to the TimeRanges class.
160         (TestWebKitAPI::TEST): Ditto.
161
162 2016-10-28  Devin Rousso  <dcrousso+webkit@gmail.com>
163
164         Unreviewed, changed Devin Rousso's email and nick.
165
166         * Scripts/webkitpy/common/config/contributors.json:
167
168 2016-10-28  Wenson Hsieh  <wenson_hsieh@apple.com>
169
170         Unreviewed, fix the iOS build after r208090.
171
172         Use soft-linking as needed in UIScriptControllerIOS.mm.
173
174         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
175         (WTR::UIScriptController::waitForTextPredictionsViewAndSelectCandidateAtIndex):
176
177 2016-10-28  Wenson Hsieh  <wenson_hsieh@apple.com>
178
179         iOS autocorrection does not trigger an input event of inputType "insertReplacementText"
180         https://bugs.webkit.org/show_bug.cgi?id=164077
181         <rdar://problem/28987810>
182
183         Reviewed by Simon Fraser.
184
185         Adds test support for inserting text candidates on iOS in the form of
186         UIScriptController.selectTextCandidateAtIndex(index, callback), which selects the text candidate at a given
187         index (this needs to be a value between 0-2 on iOS) and fires the callback when done.
188
189         To implement this, we wait for the text prediction view to have predictions (we determine this by polling at a
190         given interval) and then tap the center of the text prediction view at the given index.
191
192         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
193         (WTR::UIScriptController::selectTextCandidateAtIndex):
194         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
195         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
196         (WTR::UIScriptController::selectTextCandidateAtIndex):
197         (WTR::UIScriptController::waitForTextPredictionsViewAndSelectCandidateAtIndex):
198         * TestRunnerShared/UIScriptContext/UIScriptController.h:
199         * WebKitTestRunner/ios/UIKitSPI.h:
200         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
201         (WTR::UIScriptController::selectTextCandidateAtIndex):
202         (WTR::UIScriptController::waitForTextPredictionsViewAndSelectCandidateAtIndex):
203
204 2016-10-28  Commit Queue  <commit-queue@webkit.org>
205
206         Unreviewed, rolling out r207700.
207         https://bugs.webkit.org/show_bug.cgi?id=164168
208
209         We are ready after r208086 (Requested by alexchristensen on
210         #webkit).
211
212         Reverted changeset:
213
214         "Unreviewed, rolling out r207582."
215         https://bugs.webkit.org/show_bug.cgi?id=163819
216         http://trac.webkit.org/changeset/207700
217
218 2016-10-28  Alex Christensen  <achristensen@webkit.org>
219
220         Partially revert 207805 after resolution in URL spec issue 87
221         https://bugs.webkit.org/show_bug.cgi?id=164142
222
223         Reviewed by Andy Estes.
224
225         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
226         (TestWebKitAPI::TEST_F):
227
228 2016-10-28  Alex Christensen  <achristensen@webkit.org>
229
230         URLParser should not try to interpret host of URLs with unrecognized schemes as IPv4 address
231         https://bugs.webkit.org/show_bug.cgi?id=164154
232
233         Reviewed by Andy Estes.
234
235         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
236         (TestWebKitAPI::TEST_F):
237
238 2016-10-28  Sam Weinig  <sam@webkit.org>
239
240         [WebIDL] Update parser and code generators to only access type information through the type property
241         https://bugs.webkit.org/show_bug.cgi?id=164141
242
243         Reviewed by Anders Carlsson.
244
245         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm:
246         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
247         Update to always access type information through type accessors. Remove use of removed
248         properties.
249
250 2016-10-28  Frederic Wang  <fwang@igalia.com>
251
252         [GTK] Upgrade HarfBuzz to version 1.3.3
253         https://bugs.webkit.org/show_bug.cgi?id=162719
254
255         Reviewed by Michael Catanzaro.
256
257         * gtk/jhbuild.modules:
258
259 2016-10-27  Chris Dumez  <cdumez@apple.com>
260
261         Regression(r203601): Caused crashes in iBooks
262         https://bugs.webkit.org/show_bug.cgi?id=164093
263         <rdar://problem/28745634>
264
265         Reviewed by Darin Adler.
266
267         Add API test coverage.
268
269         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
270         * TestWebKitAPI/Tests/mac/DOMNode.mm: Added.
271         (-[DOMNodeTest webView:didFinishLoadForFrame:]):
272         (TestWebKitAPI::TEST):
273
274 2016-10-27  Sam Weinig  <sam@webkit.org>
275
276         [WebIDL] Move code generators off of domSignature::type and onto domSignature::idlType
277         https://bugs.webkit.org/show_bug.cgi?id=164089
278
279         Reviewed by Alex Christensen.
280
281         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm:
282         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
283         Update for the removal of domSignature::type, and new signatures of helper predicates.
284
285 2016-10-27  Commit Queue  <commit-queue@webkit.org>
286
287         Unreviewed, rolling out r207992.
288         https://bugs.webkit.org/show_bug.cgi?id=164070
289
290         triggered aclocal version conflict (Requested by mcatanzaro on
291         #webkit).
292
293         Reverted changeset:
294
295         "[GTK] Bump glib to 2.50.1 (or find alternative solution to
296         Gtk+ CUPS build issue)"
297         https://bugs.webkit.org/show_bug.cgi?id=163689
298         http://trac.webkit.org/changeset/207992
299
300 2016-10-27  Joanmarie Diggs  <jdiggs@igalia.com>
301
302         [GTK] Bump glib to 2.50.1 (or find alternative solution to Gtk+ CUPS build issue)
303         https://bugs.webkit.org/show_bug.cgi?id=163689
304
305         Reviewed by Michael Catanzaro.
306
307         In order to fix bug #163591, we need to apply an upstream patch to GTK+.
308         But GTK+ won't build with that patch due to the following error:
309
310             m4_copy: won't overwrite defined macro: glib_DEFUN
311
312         There is an upstream GLib patch which solves that issue. We should apply
313         that patch as well, until we bump GLib to 2.50.1 or later.
314
315         * gtk/jhbuild.modules: Apply upstream GLib patch.
316         * gtk/patches/glib-deprecate-am-glib-gnu-gettext.patch: Added.
317
318 2016-10-27  Xabier Rodriguez Calvar  <calvaris@igalia.com>
319
320         Unreviewed fix of GTK and EFL test bots.
321
322         * Scripts/webkitperl/FeatureList.pm: Deactivated media-source and
323         legacy-encrypted-media by default for GTK and EFL.
324
325 2016-10-26  Yusuke Suzuki  <utatane.tea@gmail.com>
326
327         [GTK] JSC test wasm.yaml/wasm/js-api/test_basic_api.js.default-wasm and wasm.yaml/wasm/js-api/test_Module.js.default-wasm fail with Exception: ReferenceError: Can't find variable: WebAssembly
328         https://bugs.webkit.org/show_bug.cgi?id=163846
329
330         Reviewed by Michael Catanzaro.
331
332         WebAssembly is now developed for Darwin right now.
333         Disable WASM tests in the other platforms.
334
335         * Scripts/run-jsc-stress-tests:
336
337 2016-10-26  Enrique Ocaña González  <eocanha@igalia.com>
338
339         [cmake][GStreamer][MSE][EME] Build MSE and EME code after refactoring
340         https://bugs.webkit.org/show_bug.cgi?id=162928
341
342         Reviewed by Xabier Rodriguez-Calvar.
343
344         Explicitly enable MSE and EME on WebKitGTK+ buildbots.
345
346         This patch is co-authored with Philippe Normand <philn@igalia.com> (EME support).
347
348         * Scripts/webkitperl/FeatureList.pm:
349
350 2016-10-25  Antoine Quint  <graouts@apple.com>
351
352         [Modern Media Controls] Media Controller: skip back support
353         https://bugs.webkit.org/show_bug.cgi?id=163725
354         <rdar://problem/27989480>
355
356         Reviewed by Dean Jackson.
357
358         * Scripts/webkitpy/layout_tests/servers/aliases.json: Adding a new alias such that we may
359         access the modern-media-controls source files through the web server.
360
361 2016-10-19  Jer Noble  <jer.noble@apple.com>
362
363         Add WKWebView fullscreen delegate SPI
364         https://bugs.webkit.org/show_bug.cgi?id=163674
365
366         Reviewed by Anders Carlsson.
367
368         Add a new API test which verifies that the fullscreen delegate receives notifications.
369
370         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenDelegate.mm:
371         (-[FullscreenDelegateMessageHandler userContentController:didReceiveScriptMessage:]):
372         (-[FullscreenDelegateMessageHandler _webViewWillEnterFullscreen:]):
373         (-[FullscreenDelegateMessageHandler _webViewDidEnterFullscreen:]):
374         (-[FullscreenDelegateMessageHandler _webViewWillExitFullscreen:]):
375         (-[FullscreenDelegateMessageHandler _webViewDidExitFullscreen:]):
376         (TestWebKitAPI::TEST):
377
378 2016-10-24  Alex Christensen  <achristensen@webkit.org>
379
380         URLParser should match old URL::parse with %2E in path
381         https://bugs.webkit.org/show_bug.cgi?id=163929
382
383         Reviewed by Alexey Proskuryakov.
384
385         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
386         (TestWebKitAPI::TEST_F):
387
388 2016-10-24  Ryan Haddad  <ryanhaddad@apple.com>
389
390         Unreviewed, rolling out r207795.
391
392         Introduced API test failures on iOS and macOS.
393
394         Reverted changeset:
395
396         "URLParser should match old URL::parse with %2E in path"
397         https://bugs.webkit.org/show_bug.cgi?id=163929
398         http://trac.webkit.org/changeset/207795
399
400 2016-10-24  Alex Christensen  <achristensen@webkit.org>
401
402         URLParser should match old URL::parse with %2E in path
403         https://bugs.webkit.org/show_bug.cgi?id=163929
404
405         Reviewed by Alexey Proskuryakov.
406
407         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
408         (TestWebKitAPI::TEST_F):
409
410 2016-10-21  Alex Christensen  <achristensen@webkit.org>
411
412         URL::port should return Optional<uint16_t>
413         https://bugs.webkit.org/show_bug.cgi?id=163806
414
415         Reviewed by Darin Adler.
416
417         * TestWebKitAPI/Tests/WebCore/URL.cpp:
418         (TestWebKitAPI::TEST_F):
419         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
420         (TestWebKitAPI::checkURL):
421         (TestWebKitAPI::checkRelativeURL):
422         (TestWebKitAPI::checkURLDifferences):
423         (TestWebKitAPI::checkRelativeURLDifferences):
424         (TestWebKitAPI::TEST_F):
425
426 2016-10-24  Youenn Fablet  <youenn@apple.com>
427
428         Activate WEB_RTC compilation flags for Mac bots
429         https://bugs.webkit.org/show_bug.cgi?id=163886
430
431         Reviewed by Eric Carlson.
432
433         * Scripts/webkitperl/FeatureList.pm:
434         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
435
436 2016-10-24  Wenson Hsieh  <wenson_hsieh@apple.com>
437
438         Unreviewed, add myself as a WebKit reviewer
439
440         * Scripts/webkitpy/common/config/contributors.json:
441
442 2016-10-22  Dan Bernstein  <mitz@apple.com>
443
444         Improve MiniBrowser window titles for URLs without paths and with no title
445         <https://webkit.org/b/163843>
446
447         Reviewed by Darin Adler.
448
449         * MiniBrowser/mac/WK1BrowserWindowController.m:
450         (-[WK1BrowserWindowController fetch:]): While we’re here, deploy
451           +[NSURL _webkit_URLWithUserTypedString:] here to match the WK2BrowserWindowController
452           version of this method.
453         (-[WK1BrowserWindowController updateTitle:]): If the URL doesn’t have a lastPathComponent,
454           use the entire URL.
455         (-[WK1BrowserWindowController webView:didCommitLoadForFrame:]): Also while we’re here,
456           deploy +[NSURL _web_userVisibleString] here to match the WK2BrowserWindowController
457           behavior.
458
459         * MiniBrowser/mac/WK2BrowserWindowController.m:
460         (-[WK2BrowserWindowController updateTitle:]): If the URL doesn’t have a lastPathComponent,
461           use the entire URL.
462
463 2016-10-21  David Kilzer  <ddkilzer@apple.com>
464
465         Bug 163762: IntSize::area() should used checked arithmetic
466         <https://webkit.org/b/163762>
467
468         Reviewed by Darin Adler.
469
470         * TestWebKitAPI/Tests/WebCore/IntRect.cpp:
471         (TestWebKitAPI::TEST): Call unsafeGet().
472         * TestWebKitAPI/Tests/WebCore/IntSize.cpp:
473         (TestWebKitAPI::TEST): Ditto.
474
475 2016-10-21  James Craig  <jcraig@apple.com>
476
477         Unreviewed: Added Aaron Chu <aaron_chu@apple.com> to contributors list.
478
479         * Scripts/webkitpy/common/config/contributors.json:
480
481 2016-10-21  Commit Queue  <commit-queue@webkit.org>
482
483         Unreviewed, rolling out r207582.
484         https://bugs.webkit.org/show_bug.cgi?id=163819
485
486         Not quite ready rdar://problem/28897179 (Requested by
487         alexchristensen on #webkit).
488
489         Reverted changeset:
490
491         "Re-enable URLParser for non-Safari Cocoa apps after r207321"
492         https://bugs.webkit.org/show_bug.cgi?id=163690
493         http://trac.webkit.org/changeset/207582
494
495 2016-10-21  Jonathan Bedard  <jbedard@apple.com>
496
497         WebKitTestRunnerApp packages .idl file
498         https://bugs.webkit.org/show_bug.cgi?id=163788
499
500         Reviewed by Darin Adler.
501
502         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Removed .idl file from app package, removed bad reference to app icon.
503
504 2016-10-21  Csaba Osztrogonác  <ossy@webkit.org>
505
506         [EFL] REGRESSION(r207616): Build is broken due to missing libgeoclue-dev package
507         https://bugs.webkit.org/show_bug.cgi?id=163733
508
509         Reviewed by Gyuyoung Kim.
510
511         * efl/install-dependencies: Added geoclue-2.0 package.
512
513 2016-10-21  Commit Queue  <commit-queue@webkit.org>
514
515         Unreviewed, rolling out r207609.
516         https://bugs.webkit.org/show_bug.cgi?id=163776
517
518         As glib bump was rollout, we need to rollout this too
519         (Requested by rego on #webkit).
520
521         Reverted changeset:
522
523         "[GTK] Cannot build GTK+ with CUPS 2.* versions"
524         https://bugs.webkit.org/show_bug.cgi?id=163591
525         http://trac.webkit.org/changeset/207609
526
527 2016-10-20  Chris Dumez  <cdumez@apple.com>
528
529         "Download Linked File" context menu action should use 'download' attribute as suggested filename
530         https://bugs.webkit.org/show_bug.cgi?id=163742
531         <rdar://problem/28840734>
532
533         Reviewed by Darin Adler.
534
535         Add API test coverage.
536
537         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
538         * TestWebKitAPI/Tests/WebKit2/link-with-download-attribute.html: Added.
539         * TestWebKitAPI/Tests/WebKit2/mac/ContextMenuDownload.mm: Added.
540         (TestWebKitAPI::didFinishLoadForFrame):
541         (TestWebKitAPI::getContextMenuFromProposedMenu):
542         (TestWebKitAPI::decideDestinationWithSuggestedFilename):
543         (TestWebKitAPI::TEST):
544
545 2016-10-20  Commit Queue  <commit-queue@webkit.org>
546
547         Unreviewed, rolling out r207589.
548         https://bugs.webkit.org/show_bug.cgi?id=163765
549
550         Introduced 17 new layout test failures (Requested by
551         mcatanzaro on #webkit).
552
553         Reverted changeset:
554
555         "[GTK] Bump glib to 2.50.1"
556         https://bugs.webkit.org/show_bug.cgi?id=163689
557         http://trac.webkit.org/changeset/207589
558
559 2016-10-19  Myles C. Maxfield  <mmaxfield@apple.com>
560
561         [macOS] [iOS] Disable variation fonts on macOS El Capitan and iOS 9
562         https://bugs.webkit.org/show_bug.cgi?id=163374
563
564         Reviewed by Darin Adler.
565
566         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
567
568 2016-10-20  Sam Weinig  <sam@webkit.org>
569
570         Add convenience function that combines WTF::visit(...) with WTF::makeVisitor(...)
571         https://bugs.webkit.org/show_bug.cgi?id=163713
572
573         Reviewed by Dan Bernstein.
574
575         * TestWebKitAPI/Tests/WTF/Variant.cpp:
576         Add test for WTF::switchOn()
577
578 2016-10-20  Fujii Hironori  <Hironori.Fujii@sony.com>
579
580         [CMake] CMake does not support the dep files for implicit dependency
581         https://bugs.webkit.org/show_bug.cgi?id=161433
582
583         Reviewed by Brent Fulgham.
584
585         Created a Perl script to generate all IDL bindings for CMake.
586         This script can regenerate outdated bindings by based on the
587         supplemental dependency and dep files created by
588         '--write-dependencies' switch of generate-bindings.pl.
589
590         add_custom_target is used to invoke the script instead of
591         add_custom_command because Ninja deletes all output files before
592         executing the command in case of add_custom_command.
593
594         USES_TERMINAL option of add_custom_target has two effects:
595         1) Not buffering output of the command
596         2) Invoking the command in the special Ninja pool which inhibits parallel build
597         One needs to use CMake 3.2 or later to enable this feature.
598
599         * DumpRenderTree/CMakeLists.txt: Specified a target name for
600         GENERATE_BINDINGS. Added dependency for the target.
601         * WebKitTestRunner/CMakeLists.txt: Ditto.
602
603 2016-10-20  Manuel Rego Casasnovas  <rego@igalia.com>
604
605         [GTK] Cannot build GTK+ with CUPS 2.* versions
606         https://bugs.webkit.org/show_bug.cgi?id=163591
607
608         Reviewed by Michael Catanzaro.
609
610         GTK+ is wrongly checking about the available CUPS version,
611         so if you have CUPS 2.* the configure step fails.
612
613         This has been already fixed upstream and included in 2.30 series:
614         https://git.gnome.org/browse/gtk+/commit/?id=631f6b536485829a0bd00532f5826ad302b4951b
615
616         Added patch on JHBuild so we can now build GTK+ with CUPS 2.*.
617
618         * gtk/jhbuild.modules: Applied patch and avoid using "configure" script directly
619         as the patch modifies "configure.ac".
620         * gtk/patches/configure-fix-detecting-CUPS-2.x.patch: Added.
621
622 2016-10-20  Manuel Rego Casasnovas  <rego@igalia.com>
623
624         [GTK] Bump glib to 2.50.1
625         https://bugs.webkit.org/show_bug.cgi?id=163689
626
627         Reviewed by Michael Catanzaro.
628
629         This is need in order to fix GTK+ build with CUPS 2.* (bug #163591).
630
631         * gtk/jhbuild.modules: Bump glib version. Pass --disable-libmount to build properly.
632         Also we don't need the patches anymore.
633         * gtk/patches/gdate-suppress-string-format-literal-warning.patch: Removed.
634         * gtk/patches/glib-warning-fix.patch: Removed.
635
636 2016-10-19  Alex Christensen  <achristensen@webkit.org>
637
638         Re-enable URLParser for non-Safari Cocoa apps after r207321
639         https://bugs.webkit.org/show_bug.cgi?id=163690
640
641         Reviewed by Darin Adler.
642
643         * DumpRenderTree/mac/DumpRenderTree.mm:
644         (DumpRenderTreeMain):
645         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm:
646         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
647         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm:
648         (TestWebKitAPI::TEST):
649         * WebKitTestRunner/TestController.cpp:
650         (WTR::TestController::TestController):
651
652 2016-10-19  Ryan Haddad  <ryanhaddad@apple.com>
653
654         Unreviewed, rolling out r207557.
655
656         This change caused animations/font-variations tests to time
657         out on pre-Sierra Macs.
658
659         Reverted changeset:
660
661         "[macOS] [iOS] Disable variation fonts on macOS El Capitan and
662         iOS 9"
663         https://bugs.webkit.org/show_bug.cgi?id=163374
664         http://trac.webkit.org/changeset/207557
665
666 2016-10-19  Andy Estes  <aestes@apple.com>
667
668         Crash in ASCIICaseInsensitiveHash::hash() when a response has a null MIME type
669         https://bugs.webkit.org/show_bug.cgi?id=163476
670         <rdar://problem/26941395>
671
672         Reviewed by Andreas Kling.
673
674         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
675         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadDataWithNilMIMEType.mm: Added.
676         (TEST): Added an API test that passes a nil MIMEType to
677         -[WKWebView loadData:MIMEType:characterEncodingName:baseURL:].
678
679 2016-10-19  Jer Noble  <jer.noble@apple.com>
680
681         Modify testrunner to mute audio during tests
682         https://bugs.webkit.org/show_bug.cgi?id=162582
683
684         Reviewed by Alexey Proskuryakov.
685
686         * DumpRenderTree/mac/DumpRenderTree.mm:
687         (createWebViewAndOffscreenWindow):
688         * WebKitTestRunner/TestController.cpp:
689         (WTR::TestController::resetStateToConsistentValues):
690
691 2016-10-19  Joseph Pecoraro  <pecoraro@apple.com>
692
693         check-webkit-style: fix false-positive warnings about using #pragma once header guard
694         https://bugs.webkit.org/show_bug.cgi?id=163575
695
696         Reviewed by Brady Eidson.
697
698         There were some false positive warnings about header guards
699         for ObjC headers that don't need guards. This changes the
700         style checker to no longer warn if there is no #pragma once.
701         It only warns if there are #ifndef that should be #pragma once.
702
703         * Scripts/webkitpy/style/checkers/cpp.py:
704         (check_for_header_guard):
705         Change when we output an error.
706
707         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
708         (CppStyleTest.test_build_header_guard):
709         Update tests.
710
711 2016-10-19  Myles C. Maxfield  <mmaxfield@apple.com>
712
713         [macOS] [iOS] Disable variation fonts on macOS El Capitan and iOS 9
714         https://bugs.webkit.org/show_bug.cgi?id=163374
715
716         Reviewed by Darin Adler.
717
718         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
719
720 2016-10-18  Philippe Normand  <pnormand@igalia.com>
721
722         WebRTC: [GTK] Update jhbuild environment for OpenWebRTC
723         https://bugs.webkit.org/show_bug.cgi?id=163330
724
725         Reviewed by Michael Catanzaro.
726
727         Bring back the openwebrtc JHBuild moduleset in the time being. It
728         should be removed after the bump to GStreamer 1.10 is complete and
729         the libnice patches have been upstreamed. The GStreamer git
730         snapshots used in this patch are the ones configured in Ericsson's
731         GStreamer Cerbero fork.
732
733         * gtk/openwebrtc.modules: Added.
734         * gtk/patches/libnice-0001-TURN-allow-REALM-to-be-empty.patch: Added.
735         * gtk/patches/libnice-0001-agent-Remove-unnecessary-NULL-check.patch: Added.
736         * gtk/patches/libnice-0001-nicesrc-spin-the-agent-mainloop-in-a-separate-thread.patch: Added.
737         * gtk/patches/libnice-0002-Do-not-update-a-remote-candidate-s-type.patch: Added.
738         * gtk/patches/libnice-0002-TURN-handle-437-Allocation-Mismatch-responses.patch: Added.
739         * gtk/patches/libnice-0003-Do-not-compare-scope-for-IPv6-address-when-scope-is-.patch: Added.
740         * gtk/patches/libnice-0004-Removing-no-op-assignment.patch: Added.
741
742 2016-10-18  Sam Weinig  <sam@webkit.org>
743
744         Replace std::experimental::variant with WTF::Variant (or similar)
745         https://bugs.webkit.org/show_bug.cgi?id=163626
746
747         Reviewed by Chris Dumez.
748
749         Rename std::experimental::variant, Variant. Move helpers get/holds_alternative/etc.
750         into the WTF namespace.
751
752         * TestWebKitAPI/Tests/WTF/Variant.cpp:
753         (TestWebKitAPI::TEST):
754
755 2016-10-18  Simon Fraser  <simon.fraser@apple.com>
756
757         Add a MiniBrowser menu item to apply page scale in WK1 and WK2
758         https://bugs.webkit.org/show_bug.cgi?id=163627
759
760         Reviewed by Dean Jackson.
761
762         Rename setScale: to setViewScale: and add setPageScale:, hooking it up for WK1 (via exisiting SPI)
763         and WK2 (via new SPI).
764
765         * MiniBrowser/mac/BrowserWindowController.h:
766         * MiniBrowser/mac/BrowserWindowController.m:
767         (-[BrowserWindowController pageScaleForMenuItemTag:]):
768         (-[BrowserWindowController setPageScale:]):
769         (-[BrowserWindowController setViewScale:]):
770         (-[BrowserWindowController setScale:]): Deleted.
771         * MiniBrowser/mac/MainMenu.xib:
772         * MiniBrowser/mac/WK1BrowserWindowController.m:
773         (-[WK1BrowserWindowController setPageScale:]):
774         (-[WK1BrowserWindowController setViewScale:]):
775         (areEssentiallyEqual):
776         (-[WK1BrowserWindowController validateMenuItem:]):
777         (-[WK1BrowserWindowController setScale:]): Deleted.
778         * MiniBrowser/mac/WK2BrowserWindowController.m:
779         (-[WK2BrowserWindowController setPageScale:]):
780         (-[WK2BrowserWindowController viewScaleForMenuItemTag:]):
781         (-[WK2BrowserWindowController setViewScale:]):
782         (areEssentiallyEqual):
783         (-[WK2BrowserWindowController validateMenuItem:]):
784         (viewScaleForMenuItemTag): Deleted.
785         (-[WK2BrowserWindowController setScale:]): Deleted.
786
787 2016-10-18  Anders Carlsson  <andersca@apple.com>
788
789         Add an beforeunload alert to the WebKitLegacy MiniBrowser
790         https://bugs.webkit.org/show_bug.cgi?id=163634
791
792         Reviewed by Sam Weinig.
793
794         * MiniBrowser/mac/WK1BrowserWindowController.m:
795         (-[WK1BrowserWindowController webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
796
797 2016-10-18  Commit Queue  <commit-queue@webkit.org>
798
799         Unreviewed, rolling out r207443.
800         https://bugs.webkit.org/show_bug.cgi?id=163616
801
802         "Caused 5% PLT regression" (Requested by krollin on #webkit).
803
804         Reverted changeset:
805
806         "Crash in ASCIICaseInsensitiveHash::hash() when a response has
807         a null MIME type"
808         https://bugs.webkit.org/show_bug.cgi?id=163476
809         http://trac.webkit.org/changeset/207443
810
811 2016-10-18  Eric Carlson  <eric.carlson@apple.com>
812
813         [MediaStream] Resolve constraints and enumerate devices in the UI process
814         https://bugs.webkit.org/show_bug.cgi?id=162147
815         <rdar://problem/28803569>
816
817         Reviewed by Darin Adler.
818
819         * WebKitTestRunner/TestController.cpp:
820         (WTR::TestController::resetPreferencesToConsistentValues): Enable mock capture devices.
821         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Update for API changes.
822
823 2016-10-17  Megan Gardner  <megan_gardner@apple.com>
824
825         Add test and infrastructure for link popover
826         https://bugs.webkit.org/show_bug.cgi?id=163406
827
828         Reviewed by Simon Fraser.
829
830         Added functionality test for link popovers.
831         Can query for what URL is loaded, and that the popover has appeared or has
832         been dismissed.
833         Added a link popover test.
834
835         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
836         (WTR::UIScriptController::platformSetDidShowForcePressPreviewCallback):
837         (WTR::UIScriptController::platformSetDidDismissForcePressPreviewCallback):
838         (WTR::UIScriptController::platformSetDidEndFormControlInteractionCallback): Deleted.
839         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
840         * TestRunnerShared/UIScriptContext/UIScriptContext.h:
841         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
842         (WTR::UIScriptController::setDidShowForcePressPreviewCallback):
843         (WTR::UIScriptController::didShowForcePressPreviewCallback):
844         (WTR::UIScriptController::setDidDismissForcePressPreviewCallback):
845         (WTR::UIScriptController::didDismissForcePressPreviewCallback):
846         (WTR::UIScriptController::platformSetDidShowForcePressPreviewCallback):
847         (WTR::UIScriptController::platformSetDidDismissForcePressPreviewCallback):
848         (WTR::UIScriptController::didEndFormControlInteractionCallback): Deleted.
849         (WTR::UIScriptController::platformSetDidEndFormControlInteractionCallback): Deleted.
850         * TestRunnerShared/UIScriptContext/UIScriptController.h:
851         * WebKitTestRunner/cocoa/TestRunnerWKWebView.h:
852         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
853         (-[TestRunnerWKWebView dealloc]):
854         (-[TestRunnerWKWebView didShowForcePressPreview]):
855         (-[TestRunnerWKWebView didDismissForcePressPreview]):
856         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
857         (WTR::UIScriptController::platformSetDidShowForcePressPreviewCallback):
858         (WTR::UIScriptController::platformSetDidDismissForcePressPreviewCallback):
859         (WTR::UIScriptController::platformSetDidEndFormControlInteractionCallback): Deleted.
860
861 2016-10-17  Tim Horton  <timothy_horton@apple.com>
862
863         REGRESSION (r169805): WKWebView canGoBack returning YES when nothing is in the back-forward list after restoring session state
864         https://bugs.webkit.org/show_bug.cgi?id=163573
865         <rdar://problem/28744549>
866
867         Reviewed by Dan Bernstein.
868
869         * TestWebKitAPI/Tests/WebKit2/WKBackForwardList.mm:
870         (TEST):
871         Add a test ensuring that canGoBack returns NO after restoring session state without navigating.
872
873 2016-10-17  Andy Estes  <aestes@apple.com>
874
875         Crash in ASCIICaseInsensitiveHash::hash() when a response has a null MIME type
876         https://bugs.webkit.org/show_bug.cgi?id=163476
877         <rdar://problem/26941395>
878
879         Reviewed by Tim Horton.
880
881         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
882         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadDataWithNilMIMEType.mm: Added.
883         (TEST): Added an API test that passes a nil MIMEType to
884         -[WKWebView loadData:MIMEType:characterEncodingName:baseURL:].
885
886 2016-10-17  Dean Jackson  <dino@apple.com>
887
888         Allow creation of ExtendedColors and make Color immutable
889         https://bugs.webkit.org/show_bug.cgi?id=163557
890         <rdar://problem/28805360>
891
892         Reviewed by Darin Adler and Dave Hyatt.
893
894         API tests for ExtendedColor.
895
896         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
897         * TestWebKitAPI/Tests/WebCore/ExtendedColor.cpp: Added.
898         (TestWebKitAPI::TEST):
899         (TestWebKitAPI::makeColor):
900
901 2016-10-17  JF Bastien  <jfbastien@apple.com>
902
903         WebAssembly JS API: implement basic stub
904
905         Implement the global WebAssembly JavaScript object, and its constructor +
906         function properties as described in:
907           https://github.com/WebAssembly/design/blob/master/JS.md
908
909         These don't do anything at the moment, the parent bug will take care of adding
910         more functionality and associated tests.
911
912         WebAssembly JS API: implement basic stub
913         https://bugs.webkit.org/show_bug.cgi?id=163404
914
915         Reviewed by Keith Miller.
916
917         * Scripts/run-jsc-stress-tests: use the new JSC option which exposes the WebAssembly object.
918
919 2016-10-17  Fujii Hironori  <Hironori.Fujii@sony.com>
920
921         resolve-ChangeLogs: Specify --no-page to git diff
922         https://bugs.webkit.org/show_bug.cgi?id=163441
923
924         Reviewed by Darin Adler.
925
926         resolve-ChangeLogs shows the result after resolving by invoking
927         'git diff'. It runs a pager for every ChangeLog if it is under
928         TTY.
929
930         * Scripts/resolve-ChangeLogs:
931         (showStatus): Specify '--no-page' to git diff.
932
933 2016-10-17  Michael Catanzaro  <mcatanzaro@igalia.com>
934
935         Move user agent quirks to cross-platform location
936         https://bugs.webkit.org/show_bug.cgi?id=163508
937
938         Reviewed by Carlos Garcia Campos.
939
940         Move the test to a cross-platform location and improve it to better check the full list of
941         sites we have defined quirks for.
942
943         * TestWebKitAPI/PlatformGTK.cmake:
944         * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebCore/gtk/UserAgentQuirks.cpp.
945         (TestWebKitAPI::assertUserAgentForURLHasChromeBrowserQuirk):
946         (TestWebKitAPI::assertUserAgentForURLHasMacPlatformQuirk):
947         (TestWebKitAPI::TEST):
948
949 2016-10-17  Carlos Garcia Campos  <cgarcia@igalia.com>
950
951         [SOUP] Downloads should always sniff contents
952         https://bugs.webkit.org/show_bug.cgi?id=163538
953
954         Reviewed by Michael Catanzaro.
955
956         Add a test case to check that the MIME type is correctly guessed for downloads.
957
958         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
959         (writeNextChunk):
960         (serverCallback):
961         (testDownloadMIMEType):
962         (beforeAll):
963         (writeNextChunkIdle): Deleted.
964
965 2016-10-16  Daniel Bates  <dabates@apple.com>
966
967         Fix Perl warning about masked variable following <http://trac.webkit.org/changeset/207382>
968         (https://bugs.webkit.org/show_bug.cgi?id=163456)
969
970         * Scripts/prepare-ChangeLog:
971         (actuallyGenerateFunctionLists):
972
973 2016-10-16  Carlos Garcia Campos  <cgarcia@igalia.com>
974
975         Unreviewed. Fix GTK+ unit test /webkit2/WebKitWebContext/languages after r206949.
976
977         After r206949 navigator.language returns en-US instead of en-us. Language tags in Accept-Language header are
978         actually case-insensitive, so we should actually do case-insensitive comparisons, but we only have
979         g_assert_cmpstr for tests.
980
981         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
982         (testWebContextLanguages):
983
984 2016-10-16  Carlos Garcia Campos  <cgarcia@igalia.com>
985
986         [GTK] WebKitWebPage URI not updated after URI is modified by InjectedBundlePageResourceLoadClient::willSendRequestForFrame
987         https://bugs.webkit.org/show_bug.cgi?id=163389
988
989         Reviewed by Michael Catanzaro.
990
991         Update /webkit2/WebKitWebPage/get-uri test to check that web view and page uri always match even when request is
992         modified by WebKitWebPage::send-request signal.
993
994         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
995         (testWebPageURI):
996
997 2016-10-16  Carlos Garcia Campos  <cgarcia@igalia.com>
998
999         Document request not updated after willSendRequest is called for a redirect
1000         https://bugs.webkit.org/show_bug.cgi?id=163436
1001
1002         Reviewed by Michael Catanzaro.
1003
1004         Update /webkit2/WebKitWebView/active-uri test to check the active URI also when modified by
1005         WebKitPage::send-request signal in a web extension.
1006
1007         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
1008         (testWebViewActiveURI):
1009         (serverCallback):
1010         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
1011         (sendRequestCallback):
1012         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp:
1013         (loadChangedCallback):
1014
1015 2016-10-15  Dan Bernstein  <mitz@apple.com>
1016
1017         REGRESSION (r191699): Contextual menu in Mail compose view doesn’t include any of the standard submenus
1018         https://bugs.webkit.org/show_bug.cgi?id=163492
1019         <rdar://problem/28654799>
1020
1021         Reviewed by Darin Adler.
1022
1023         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1024         * TestWebKitAPI/Tests/mac/ContextMenuDefaultItemsHaveTags.mm: Added.
1025         (-[ContextMenuDefaultItemsHaveTagsDelegate webView:didFinishLoadForFrame:]):
1026         (TestWebKitAPI::TEST):
1027
1028 2016-10-15  Daniel Bates  <dabates@apple.com>
1029
1030         prepare-ChangeLog erroneously said that a python __init__ method was deleted
1031         https://bugs.webkit.org/show_bug.cgi?id=163456
1032
1033         Reviewed by Simon Fraser.
1034
1035         Fixes an issue where prepare-ChangeLog may list as deleted functions that are
1036         immediately above added code.
1037
1038         Currently prepare-ChangeLog makes use of the same overlap detection algorithm
1039         to compute the list of deleted functions as it does to compute added and modified
1040         functions. We consider a function deleted if its entire function body and signature
1041         are removed. It is sufficient to compare the list of functions before the patch
1042         is applied and the list of functions are the patch is applied to identify
1043         these functions.
1044
1045         * Scripts/prepare-ChangeLog: Fix some style nits, including using Camel Case for
1046         variable names.
1047         (actuallyGenerateFunctionLists): Modified to call computeModifiedFunctions(). Always
1048         compute the list of functions in the file after the patch regardless of whether the
1049         patch only contains deletions. We will compare this list against the list of functions
1050         before the patch was applied to determine the deleted functions.
1051         (computeModifiedFunctions): Renamed; formerly named generateFunctionListsByRanges.
1052         Removed out argument for the seen functions as we no longer make use of when computing
1053         the list of deleted functions.
1054         (diffCommand): Update comment.
1055         (generateFunctionListsByRanges): Deleted.
1056         * Scripts/webkitperl/prepare-ChangeLog_unittest/generateFunctionLists.pl: Added more unit tests.
1057
1058 2016-10-14  Simon Fraser  <simon.fraser@apple.com>
1059
1060         REGRESSION (r206973): Running "webkit-patch suggest-reviewers" throws an AttributeError: 'NoneType' object has no attribute 'full_name'
1061         https://bugs.webkit.org/show_bug.cgi?id=163478
1062
1063         Reviewed by Daniel Bates.
1064         
1065         Handle a None other in Contributor.__eq__.
1066
1067         * Scripts/webkitpy/common/config/committers.py:
1068         (Contributor.__eq__):
1069
1070 2016-10-14  JF Bastien  <jfbastien@apple.com>
1071
1072         Basic WebAssembly testing
1073
1074         Create a small DSL in JavaScript which can build WebAssembly binary modules based on the JSON description of the format as described in:
1075         https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md
1076
1077         This DSL can then be used to write small text description of valid and invalid WebAssembly binaries, making testing the JSC implementation much easier.
1078
1079         Details and example in README.md.
1080
1081         Basic WebAssembly testing
1082         https://bugs.webkit.org/show_bug.cgi?id=163267
1083
1084         Reviewed by Keith Miller.
1085
1086         * Scripts/run-javascriptcore-tests:
1087         (runJSCStressTests): run wasm.yaml tests
1088         * Scripts/run-jsc-stress-tests: add a WebAssembly-specific runner
1089
1090 2016-10-14  Simon Fraser  <simon.fraser@apple.com>
1091
1092         Annotate bots in contributors.json and don't show them on webkit.org/team
1093         https://bugs.webkit.org/show_bug.cgi?id=163317
1094
1095         Reviewed by Daniel Bates.
1096         
1097         Add "class" : "bot" for non-humans in contributors.json and round-trip it.
1098
1099         * Scripts/webkitpy/common/config/committers.py:
1100         (Contributor.__init__):
1101         (Contributor.as_dict):
1102         (Bot):
1103         (Bot.__init__):
1104         (CommitterList.load_json):
1105         * Scripts/webkitpy/common/config/contributors.json:
1106
1107 2016-10-14  Simon Fraser  <simon.fraser@apple.com>
1108
1109         Fix printing in WK2 MiniBrowser
1110         https://bugs.webkit.org/show_bug.cgi?id=163455
1111
1112         Reviewed by Tim Horton.
1113         
1114         Call the basic -_printOperationWithPrintInfo: which doens't require a frame argument.
1115
1116         * MiniBrowser/mac/WK2BrowserWindowController.m:
1117         (-[WK2BrowserWindowController printWebView:]):
1118
1119 2016-10-14  Commit Queue  <commit-queue@webkit.org>
1120
1121         Unreviewed, rolling out r207335.
1122         https://bugs.webkit.org/show_bug.cgi?id=163445
1123
1124         WebKit2.ProvisionalURLAfterWillSendRequestCallback is timing
1125         out on Mac bots (Requested by youenn on #webkit).
1126
1127         Reverted changeset:
1128
1129         "Add ProvisionalURLAfterWillSendRequestCallback.cpp and
1130         ProvisionalURLAfterWillSendRequestCallback_Bundle.cpp to Mac
1131         builds"
1132         https://bugs.webkit.org/show_bug.cgi?id=163440
1133         http://trac.webkit.org/changeset/207335
1134
1135 2016-10-14  Youenn Fablet  <youenn@apple.com>
1136
1137         Add ProvisionalURLAfterWillSendRequestCallback.cpp and ProvisionalURLAfterWillSendRequestCallback_Bundle.cpp to Mac builds
1138         https://bugs.webkit.org/show_bug.cgi?id=163440
1139
1140         Unreviewed.
1141
1142         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Adding new test files introduced in
1143         https://bugs.webkit.org/show_bug.cgi?id=146306 patch.
1144
1145 2016-10-13  Carlos Garcia Campos  <cgarcia@igalia.com>
1146
1147         Unreviewed. Removed myself from BindingsScripts watch list.
1148
1149         * Scripts/webkitpy/common/config/watchlist:
1150
1151 2016-10-13  Carlos Garcia Campos  <cgarcia@igalia.com>
1152
1153         WebView and WebPage URLs not updated after URL is modified by InjectedBundlePageResourceLoadClient::willSendRequestForFrame
1154         https://bugs.webkit.org/show_bug.cgi?id=146306
1155
1156         Reviewed by Darin Adler.
1157
1158         Add unit test to check that the committed URL is updated when changed in willSendRequest callback.
1159
1160         * TestWebKitAPI/CMakeLists.txt:
1161         * TestWebKitAPI/PlatformEfl.cmake:
1162         * TestWebKitAPI/PlatformGTK.cmake:
1163         * TestWebKitAPI/Tests/WebKit2/ProvisionalURLAfterWillSendRequestCallback.cpp: Added.
1164         (TestWebKitAPI::didCommitLoadForFrame):
1165         (TestWebKitAPI::TEST):
1166         * TestWebKitAPI/Tests/WebKit2/ProvisionalURLAfterWillSendRequestCallback_Bundle.cpp: Added.
1167         (TestWebKitAPI::ProvisionalURLAfterWillSendRequestCallbackTest::ProvisionalURLAfterWillSendRequestCallbackTest):
1168         (TestWebKitAPI::ProvisionalURLAfterWillSendRequestCallbackTest::willSendRequestForFrame):
1169         (TestWebKitAPI::ProvisionalURLAfterWillSendRequestCallbackTest::didCommitLoadForFrame):
1170
1171 2016-10-13  Alex Christensen  <achristensen@webkit.org>
1172
1173         Hosts of URLs with non-special schemes should be case-sensitive, and non-ASCII characters in such hosts should be punycode-encoded
1174         https://bugs.webkit.org/show_bug.cgi?id=163413
1175
1176         Reviewed by Tim Horton.
1177
1178         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1179         (TestWebKitAPI::TEST_F):
1180         Update parsing results.  There are now fewer differences between the new URLParser and the old URL::parse.
1181
1182 2016-10-13  Alex Christensen  <achristensen@webkit.org>
1183
1184         Rebase API tests after r207305.
1185
1186         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1187         Actually build Tests/mac/LoadInvalidURLRequest.mm so we are running the WebKit1.LoadInvalidURLRequest API test.
1188         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm:
1189         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
1190         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm:
1191         (-[LoadInvalidURLWebFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1192         Change results back to what they were before r207162, r207167, and r207184.
1193
1194 2016-10-13  Alex Christensen  <achristensen@webkit.org>
1195
1196         Disable URLParser for non-Safari iOS and Mac apps for now
1197         https://bugs.webkit.org/show_bug.cgi?id=163397
1198
1199         Reviewed by Tim Horton.
1200
1201         * DumpRenderTree/mac/DumpRenderTree.mm:
1202         (DumpRenderTreeMain):
1203         * WebKitTestRunner/TestController.cpp:
1204         Enable the URLParser for testing.
1205         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig:
1206         Link with WebCoreTestSupport so we can find setURLParserEnabled.
1207
1208 2016-10-13  Ryan Haddad  <ryanhaddad@apple.com>
1209
1210         Unreviewed, rolling out r207297.
1211
1212         This change broke the iOS build.
1213
1214         Reverted changeset:
1215
1216         "Disable URLParser for non-Safari iOS and Mac apps for now"
1217         https://bugs.webkit.org/show_bug.cgi?id=163397
1218         http://trac.webkit.org/changeset/207297
1219
1220 2016-10-13  Alex Christensen  <achristensen@webkit.org>
1221
1222         Disable URLParser for non-Safari iOS and Mac apps for now
1223         https://bugs.webkit.org/show_bug.cgi?id=163397
1224
1225         Reviewed by Tim Horton.
1226
1227         * DumpRenderTree/mac/DumpRenderTree.mm:
1228         (DumpRenderTreeMain):
1229         * WebKitTestRunner/ios/mainIOS.mm:
1230         (main):
1231         * WebKitTestRunner/mac/main.mm:
1232         (main):
1233
1234 2016-10-12  Alex Christensen  <achristensen@webkit.org>
1235
1236         Fix out-of-bounds reading in URLParser when parsing improperly percent-encoded values
1237         https://bugs.webkit.org/show_bug.cgi?id=163376
1238
1239         Reviewed by Saam Barati.
1240
1241         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1242         (TestWebKitAPI::TEST_F):
1243
1244 2016-10-11  Dean Jackson  <dino@apple.com>
1245
1246         Add preliminary support for extended colors to WebCore::Color
1247         https://bugs.webkit.org/show_bug.cgi?id=162878
1248         <rdar://problem/28596413>
1249
1250         Reviewed by Darin Adler.
1251
1252         A new API test for Colors.
1253
1254         * TestWebKitAPI/Tests/WebCore/Color.cpp:
1255         (TestWebKitAPI::TEST):
1256
1257 2016-10-12  Ryan Haddad  <ryanhaddad@apple.com>
1258
1259         Unreviewed, rolling out r207225.
1260
1261         This change causes debug tests to exit early with crashes.
1262
1263         Reverted changeset:
1264
1265         "Optional's move-constructor and move-assignment operator
1266         don't disengage the value being moved from"
1267         https://bugs.webkit.org/show_bug.cgi?id=163309
1268         http://trac.webkit.org/changeset/207225
1269
1270 2016-10-12  Alex Christensen  <achristensen@webkit.org>
1271
1272         Fix assertion after switching to URLParser
1273         https://bugs.webkit.org/show_bug.cgi?id=163350
1274         rdar://problem/28739938
1275
1276         Reviewed by Brady Eidson.
1277
1278         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
1279         (TEST):
1280
1281 2016-10-11  Sam Weinig  <sam@webkit.org>
1282
1283         Optional's move-constructor and move-assignment operator don't disengage the value being moved from
1284         https://bugs.webkit.org/show_bug.cgi?id=163309
1285
1286         Reviewed by Anders Carlsson.
1287
1288         * TestWebKitAPI/Tests/WTF/Optional.cpp:
1289         (TestWebKitAPI::TEST):
1290         Add tests for Optional's move-constructor and move-assignment operator.
1291
1292 2016-10-12  Wenson Hsieh  <wenson_hsieh@apple.com>
1293
1294         Now playing media sessions are always cleared for the active foreground tab
1295         https://bugs.webkit.org/show_bug.cgi?id=163310
1296         <rdar://problem/28573301>
1297
1298         Reviewed by Jer Noble.
1299
1300         Tweaks existing unit tests to verify that media session info persists when backgrounding and foregrounding, but
1301         that media session info is correctly cleared out if the media session itself is no longer eligible for Now
1302         Playing (not accounting for foreground/active state). Previously, these tests were verifying that we would
1303         always clear out the information, but this is incorrect, and is the source of the problem.
1304
1305         * TestWebKitAPI/Tests/WebKit2Cocoa/NowPlayingControlsTests.mm:
1306         (-[NowPlayingTestWebView waitForNowPlayingInfoToChange]):
1307         (TestWebKitAPI::TEST):
1308
1309 2016-10-12  Per Arne Vollan  <pvollan@apple.com>
1310
1311         [Win] Parallel DRTs are sharing preferences and cache.
1312         https://bugs.webkit.org/show_bug.cgi?id=163013
1313
1314         Reviewed by Brent Fulgham.
1315
1316         Use separate cache and preferences for each DRT instance.
1317
1318         * DumpRenderTree/win/DumpRenderTree.cpp:
1319         (applicationId):
1320         (setApplicationId):
1321         (setCacheFolder):
1322         (setDefaultsToConsistentValuesForTesting):
1323         * Scripts/webkitpy/port/win.py:
1324         (WinPort.setup_test_run):
1325
1326 2016-10-11  Alex Christensen  <achristensen@webkit.org>
1327
1328         Update API test expectation after r207162.
1329        ​https://bugs.webkit.org/show_bug.cgi?id=162660
1330
1331         * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm:
1332         (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
1333         Like r207167 but with a WebKit2 test.
1334         "https://www.example.com<>/" was an invalid URL with the old URL parser, is now valid with URLParser but not with NSURL's parser.
1335
1336 2016-10-11  Alex Christensen  <achristensen@webkit.org>
1337
1338         Update API test expectation after r207162.
1339         https://bugs.webkit.org/show_bug.cgi?id=162660
1340
1341         * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm:
1342         (-[LoadInvalidURLWebFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1343         "https://www.example.com<>/" was an invalid URL with the old URL parser.
1344         It is now a valid URL, but NSURL still considers it invalid.
1345         This will be looked into more with https://bugs.webkit.org/show_bug.cgi?id=163127
1346
1347 2016-10-11  Edward O'Connor  <eoconnor@apple.com>
1348
1349         Update my name in contributors.json
1350         https://bugs.webkit.org/show_bug.cgi?id=163251
1351
1352         Reviewed by Simon Fraser.
1353
1354         * Scripts/webkitpy/common/config/contributors.json:
1355
1356 2016-10-11  Said Abou-Hallawa  <sabouhallawa@apple.com>
1357
1358         Add SynchronizedFixedQueue class
1359         https://bugs.webkit.org/show_bug.cgi?id=162478
1360
1361         Reviewed by Geoffrey Garen.
1362
1363         Add a new test for SynchronizedFixedQueue. The test defines a new class
1364         called ToUpperConverter which converts strings from lower case to upper
1365         case. It creates two threads : (1) produce thread and (2) consume thread.
1366         Here is what each thread does:
1367
1368         1. Main threads: Enqueues lower case strings into m_lowerQueue.
1369         2. Produce thread: Dequeues lower case strings from m_lowerQueue and 
1370            enqueue their upper case strings in the m_upperQueue.
1371         3. Consume thread: Dequeues upper case strings from m_upperQueue.
1372
1373         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1374         * TestWebKitAPI/Tests/WTF/SynchronizedFixedQueue.cpp: Added.
1375         (TestWebKitAPI::textItem): A helper function which returns a lower case string given an index.
1376         (TestWebKitAPI::toUpper): A helper function which Returns the upper case of a string.
1377         (TestWebKitAPI::ToUpperConverter::ToUpperConverter):
1378         (TestWebKitAPI::ToUpperConverter::produceQueue): Returns a workQueue for the produce thread.
1379         (TestWebKitAPI::ToUpperConverter::consumeQueue): Returns a workQueue for the consume thread.
1380         (TestWebKitAPI::ToUpperConverter::startProducing): Creates a thread for the producer.
1381         (TestWebKitAPI::ToUpperConverter::startConsuming): Creates a thread for the consumer.
1382         (TestWebKitAPI::ToUpperConverter::start): Starts both the producer and the consumer threads.
1383         (TestWebKitAPI::ToUpperConverter::stopProducing): Terminates the producer thread.
1384         (TestWebKitAPI::ToUpperConverter::stopConsuming): Terminates the consumer thread.
1385         (TestWebKitAPI::ToUpperConverter::stop): Terminates both the producer and the consumer threads.
1386         (TestWebKitAPI::ToUpperConverter::enqueueLower): Adds a lower case string to the m_lowerQueue on the main thread.
1387         (TestWebKitAPI::ToUpperConverter::isProducing): Returns whether the producing thread is active.
1388         (TestWebKitAPI::ToUpperConverter::isConsuming): Returns whether the consuming thread is active.
1389         (TestWebKitAPI::ToUpperConverter::produceCount): Returns the number of produced elements.
1390         (TestWebKitAPI::ToUpperConverter::consumeCount): Returns the number of consumed elements.
1391         (TestWebKitAPI::TEST):
1392
1393 2016-10-11  Megan Gardner  <megan_gardner@apple.com>
1394
1395         Extend event stream to include interpolated events and add a force press test that uses that interpolation
1396         https://bugs.webkit.org/show_bug.cgi?id=163161
1397
1398         Reviewed by Simon Fraser.
1399
1400         Added functionality to the event stream to allow for interpolated events.
1401         Can now do long press, as well as a better way to do drag and other time-based
1402         events that require a large stream of descrete HID events.
1403         Added a basic force touch test to demostrate this interpolation.
1404         Also updated the script to allow for iPhone 7 specific tests, as force touch
1405         needs to be on a device that had force touch.
1406
1407         * Scripts/webkitpy/port/ios.py:
1408         (IOSSimulatorPort):
1409         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
1410         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1411         (linearInterpolation):
1412         (simpleCurveInterpolation):
1413         (calculateNextCurveLocation):
1414         (phaseFromString):
1415         (interpolationFromString):
1416         (-[HIDEventGenerator eventMaskFromEventInfo:]):
1417         (-[HIDEventGenerator _createIOHIDEventWithInfo:]):
1418         (-[HIDEventGenerator moveToPoints:touchCount:duration:]):
1419         (-[HIDEventGenerator interpolatedEvents:]):
1420         (-[HIDEventGenerator processEventsArray:withStartTime:]):
1421         (-[HIDEventGenerator eventDispatchThreadEntry:]):
1422         (simpleDragCurve): Deleted.
1423         (calculateNextLocation): Deleted.
1424
1425 2016-10-11  Alex Christensen  <achristensen@webkit.org>
1426
1427         URLParser should percent-encode non-ASCII and non-printable characters in fragment
1428         https://bugs.webkit.org/show_bug.cgi?id=163287
1429
1430         Reviewed by Brady Eidson.
1431
1432         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1433         (TestWebKitAPI::TEST_F):
1434
1435 2016-10-11  Alex Christensen  <achristensen@webkit.org>
1436
1437         Remove dead networking code
1438         https://bugs.webkit.org/show_bug.cgi?id=163263
1439
1440         Reviewed by Daniel Bates.
1441
1442         * DumpRenderTree/DumpRenderTree.h:
1443         * DumpRenderTree/config.h:
1444         * DumpRenderTree/win/DumpRenderTree.cpp:
1445         (main):
1446
1447 2016-10-11  John Wilander  <wilander@apple.com>
1448
1449         Modify check-webkit-style to prohibit sensitive phrases
1450         https://bugs.webkit.org/show_bug.cgi?id=163048
1451         <rdar://problem/28289755>
1452
1453         Terms considered or found to be too general to flag:
1454         ASSERT_WITH_SECURITY_IMPLICATION, bad cast, bug, bypass, crash,
1455         denial of service, dereference, disclosure, error, exploit,
1456         failure, heap, integer overflow, leak, null dereference,
1457         null pointer dereference, out of bounds, overflow,
1458         race condition, sensitive information, stack, type confusion.
1459
1460         Reviewed by Brent Fulgham.
1461
1462         * Scripts/webkitpy/style/checkers/changelog.py:
1463         (ChangeLogChecker.check_entry):
1464             Now calls ChangeLogChecker.check_for_unwanted_security_terms().
1465         (ChangeLogChecker):
1466         (ChangeLogChecker.check_for_unwanted_security_terms):
1467             New function to check for sensitive terms.
1468         (ChangeLogChecker.check_for_unwanted_security_terms.FoundUnwantedSecurityTerm):
1469         (ChangeLogChecker.check_for_unwanted_security_terms.FoundUnwantedSecurityTerm.__init__):
1470             Convenience class.
1471         * Scripts/webkitpy/style/checkers/changelog_unittest.py:
1472         (ChangeLogCheckerTest.test_unwanted_security_terms):
1473
1474 2016-10-11  Ryan Haddad  <ryanhaddad@apple.com>
1475
1476         Unreviewed, rolling out r207067.
1477
1478         This change caused webkitpy test failures.
1479
1480         Reverted changeset:
1481
1482         "[Win] Parallel DRTs are sharing preferences and cache."
1483         https://bugs.webkit.org/show_bug.cgi?id=163013
1484         http://trac.webkit.org/changeset/207067
1485
1486 2016-10-11  Per Arne Vollan  <pvollan@apple.com>
1487
1488         [Win] Parallel DRTs are sharing preferences and cache.
1489         https://bugs.webkit.org/show_bug.cgi?id=163013
1490
1491         Reviewed by Brent Fulgham.
1492
1493         Use separate cache and preferences for each DRT instance.
1494
1495         * DumpRenderTree/win/DumpRenderTree.cpp:
1496         (applicationId):
1497         (setApplicationId):
1498         (setCacheFolder):
1499         (setDefaultsToConsistentValuesForTesting):
1500         * Scripts/webkitpy/port/win.py:
1501         (WinPort.setup_test_run):
1502
1503 2016-10-10  Zan Dobersek  <zdobersek@igalia.com>
1504
1505         Add ENABLE_ENCRYPTED_MEDIA configuration option
1506         https://bugs.webkit.org/show_bug.cgi?id=163219
1507
1508         Reviewed by Darin Adler.
1509
1510         * Scripts/webkitperl/FeatureList.pm:
1511         Make the ENABLE_ENCRYPTED_MEDIA option overridable via build-webkit.
1512         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1513         Add the ENABLE_ENCRYPTED_MEDIA configuration option. It will be used
1514         to enable or disable the new EME implementation at build-time.
1515
1516 2016-10-10  Commit Queue  <commit-queue@webkit.org>
1517
1518         Unreviewed, rolling out r206972.
1519         https://bugs.webkit.org/show_bug.cgi?id=163227
1520
1521         Making EWS flaky (Requested by bfulgham_ on #webkit).
1522
1523         Reverted changeset:
1524
1525         "[CMake] CMake does not support the dep files for implicit
1526         dependency"
1527         https://bugs.webkit.org/show_bug.cgi?id=161433
1528         http://trac.webkit.org/changeset/206972
1529
1530 2016-10-10  Youenn Fablet  <youenn@apple.com>
1531
1532         W3C test downloader should be able to import specific files/sub-directories in a skipped directory
1533         https://bugs.webkit.org/show_bug.cgi?id=161789
1534
1535         Reviewed by Ryosuke Niwa.
1536
1537         Removed tests_directory option and corresponding test.
1538         This option was allowing to import a sub-directory from a test repository.
1539         We can readd it if necessary.
1540
1541         Adding support for finer-grained import rules.
1542         Previously skipped directories were fully removed.
1543         Now, directories may be skipped but sub directories of them may be imported.
1544         This currently happens in web-platform-tests repo.
1545
1546         * Scripts/webkitpy/w3c/test_downloader.py:
1547         (TestDownloader._add_test_suite_paths): Removing tests_directory option.
1548         (TestDownloader.copy_tests): Refactoring file copy by generating the list of all directories for which direct files should be imported.
1549         (TestDownloader.copy_tests.should_copy_dir):
1550         (TestDownloader.copy_tests.should_copy_file):
1551         * Scripts/webkitpy/w3c/test_importer_unittest.py:
1552         (TestImporterTest.test_tests_directory): Deleted.
1553         (TestImporterTest.test_skip_test_import): Added.
1554
1555 2016-10-09  Simon Fraser  <simon.fraser@apple.com>
1556
1557         Make validate-committer-lists show inactive reviewers
1558         https://bugs.webkit.org/show_bug.cgi?id=163193
1559
1560         Reviewed by Sam Weinig.
1561         
1562         In preparation for updating contributors.json with the WebKit policy of retiring
1563         inactive reviewers, make validate-committer-lists show the list of reviewers who
1564         have not reviewed in the past year.
1565         
1566         This list is computed by grepping the output of 'git log --since=1.year" for
1567         the reviewer line, and looking up reviewers via Contributor.mentioned_in_text(),
1568         which looks for full names, aliases, irc nicks and email addresses.
1569         
1570         Support for aliases is added to Contributor. Aliases are alternates
1571         or misspellings of the reviewer's name. Some common aliases were added to
1572         contributors.json by manual examination of "Reviewed by" lines.
1573
1574         * Scripts/validate-committer-lists:
1575         (CommitterListFromGit.possibly_expired_committers):
1576         (CommitterListFromGit):
1577         (CommitterListFromGit.possibly_inactive_reviewers):
1578         (CommitterListFromGit.print_possibly_expired_committers):
1579         (CommitterListFromGit.print_possibly_inactive_reviewers):
1580         * Scripts/webkitpy/common/config/committers.py:
1581         (Contributor.__init__):
1582         (Contributor.contains_string):
1583         (Contributor.mentioned_in_text):
1584         (Contributor.as_dict):
1585         (Committer.__init__):
1586         (Reviewer.__init__):
1587         (CommitterList.load_json):
1588         * Scripts/webkitpy/common/config/contributors.json:
1589
1590 2016-10-09  Simon Fraser  <simon.fraser@apple.com>
1591
1592         Convert contributors.json to a flat list
1593         https://bugs.webkit.org/show_bug.cgi?id=163183
1594
1595         Reviewed by Darin Adler.
1596         
1597         Make contributors.json easier to maintain by eliminating the big groupings ("Committers", "Reviewers" etc)
1598         and moving that data to a "status" property on each contributor.
1599
1600         * Scripts/webkitpy/common/config/committers.py:
1601         (Contributor.__eq__): Implement this to fix unit tests, now that load_json() is not @memoized.
1602         (Contributor.as_dict): Include status in the dict.
1603         (CommitterList.__init__): Clean up to make the testing code path more explicit.
1604         (CommitterList.load_json):
1605         (CommitterList.load_test_data):
1606         (CommitterList.as_json):
1607         (Contributor.__unicode__): Deleted.
1608         * Scripts/webkitpy/common/config/contributors.json:
1609         * Scripts/webkitpy/tool/bot/irc_command_unittest.py:
1610         (IRCCommandTest.test_whois): The ordering here is now alphabetical.
1611
1612 2016-10-09  Fujii Hironori  <Hironori.Fujii@sony.com>
1613
1614         [CMake] CMake does not support the dep files for implicit dependency
1615         https://bugs.webkit.org/show_bug.cgi?id=161433
1616
1617         Reviewed by Brent Fulgham.
1618
1619         Created a Perl script to generate all IDL bindings for CMake.
1620         This script can regenerate outdated bindings by based on the
1621         supplemental dependency and dep files created by
1622         '--write-dependencies' switch of generate-bindings.pl.
1623
1624         add_custom_target is used to invoke the script instead of
1625         add_custom_command because Ninja deletes all output files before
1626         executing the command in case of add_custom_command.
1627
1628         USES_TERMINAL option of add_custom_target has two effects:
1629         1) Not buffering output of the command
1630         2) Invoking the command in the special Ninja pool which inhibits parallel build
1631         One needs to use CMake 3.2 or later to enable this feature.
1632
1633         * DumpRenderTree/CMakeLists.txt: Specified a target name for
1634         GENERATE_BINDINGS. Added dependency for the target.
1635         * WebKitTestRunner/CMakeLists.txt: Ditto.
1636
1637 2016-10-09  Simon Fraser  <simon.fraser@apple.com>
1638
1639         Add support for canonicalizing contributors.json, and have check-webkit-style check the format.
1640         https://bugs.webkit.org/show_bug.cgi?id=163177
1641
1642         Follow-up fix.
1643         
1644         For unknown reasons, overriding Commiter.__dict__() caused mysterious test failures.
1645         Rename it to as_dict().
1646
1647         * Scripts/webkitpy/common/config/committers.py:
1648         (Contributor.as_dict):
1649         (CommitterList._contributor_list_to_dict):
1650         (Contributor.__dict__): Deleted.
1651
1652 2016-10-08  Simon Fraser  <simon.fraser@apple.com>
1653
1654         Add support for canonicalizing contributors.json, and have check-webkit-style check the format.
1655         https://bugs.webkit.org/show_bug.cgi?id=163177
1656
1657         Reviewed by Ryosuke Niwa.
1658         
1659         Make it possible to round-trip contributors.json through CommitterList, so we can
1660         support writing out contributors.json in canonical format. This requires saving
1661         the case-preserved email and expertise in Contributor. CommitterList also needs
1662         to be able to generate the "exclusive" lists, since it currently uses lists
1663         that are the union of, say, committers and reviewers.
1664         
1665         If contributors.json is malformed (invalid JSON), catch the Exception, report it
1666         and exit rather than allowing the exception to propagate. With an invalid file,
1667         an exception would be thrown before the JSON style checker reached this file, so
1668         the error was not correctly reported.
1669         
1670         Add style/checker/committer.py for checking that committers.json has the canonical format.
1671         
1672         Add support to validate-committer-lists to dump out the canonical json (-d) or update
1673         the file in-place (-c).
1674
1675         * Scripts/validate-committer-lists:
1676         (CommitterListFromGit._print_three_column_row):
1677         (CommitterListFromGit.possibly_expired_committers):
1678         (CommitterListFromGit):
1679         (CommitterListFromGit.print_possibly_expired_committers):
1680         (main):
1681         * Scripts/webkitpy/common/config/committers.py:
1682         (Contributor.__init__):
1683         (Contributor.__dict__):
1684         (Committer.__init__):
1685         (Reviewer.__init__):
1686         (CommitterList.load_json):
1687         (CommitterList):
1688         (CommitterList._contributor_list_to_dict):
1689         (CommitterList.as_json):
1690         (CommitterList.reformat_in_place):
1691         (CommitterList._exclusive_contributors):
1692         (CommitterList._exclusive_committers):
1693         (Contributor.matches_glob): Deleted.
1694         (CommitterList.contributors): Deleted.
1695         * Scripts/webkitpy/common/config/contributors.json:
1696         * Scripts/webkitpy/style/checker.py:
1697         (CheckerDispatcher._create_checker):
1698         * Scripts/webkitpy/style/checkers/contributors.py: Added.
1699         (ContributorsChecker):
1700         (ContributorsChecker.__init__):
1701         (ContributorsChecker.check):
1702         (ContributorsChecker._unidiff_output):
1703
1704 2016-10-06  Darin Adler  <darin@apple.com>
1705
1706         Next step on moving to modern way to return DOM exceptions
1707         https://bugs.webkit.org/show_bug.cgi?id=163016
1708
1709         Reviewed by Ryosuke Niwa.
1710
1711         * Scripts/do-webcore-rename: Add proposed name change of setDOMException
1712         to propagateException, since this function is primarily used to take an
1713         exception already effectively "thrown" by setting an ExceptionCode out
1714         argument and propagate it into the JavaScript engine's exception machinery.
1715
1716 2016-10-07  Alex Christensen  <achristensen@webkit.org>
1717
1718         Non-special URL fragments should percent-encode non-ASCII characters
1719         https://bugs.webkit.org/show_bug.cgi?id=163153
1720
1721         Reviewed by Tim Horton.
1722
1723         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1724         (TestWebKitAPI::TEST_F):
1725
1726 2016-10-07  Jonathan Bedard  <jbedard@apple.com>
1727
1728         Build fix for “Move functionality common to Darwin ports into a base class”
1729         https://bugs.webkit.org/show_bug.cgi?id=160709
1730
1731         Unreviewed build fix.
1732
1733         * Scripts/webkitpy/port/ios.py:
1734         (IOSSimulatorPort._get_crash_log): Added iOS implementation.
1735         * Scripts/webkitpy/port/mac.py:
1736         (MacPort._get_crash_log): Added Mac implementation.
1737
1738 2016-10-07  Chelsea Pugh  <cpugh@apple.com>
1739
1740         Unreviewed. Added myself to the list of committers.
1741
1742         * Scripts/webkitpy/common/config/contributors.json:
1743
1744 2016-10-07  Jonathan Bedard  <jbedard@apple.com>
1745
1746         Move functionality common to Darwin ports into a base class
1747         https://bugs.webkit.org/show_bug.cgi?id=160709
1748
1749         Reviewed by Darin Adler.
1750
1751         * Scripts/webkitpy/port/apple.py:
1752         (ApplePort.determine_full_port_name): Specific iOS port check.
1753         (ApplePort.__init__): Move leak detector to DarwinPort.
1754         (ApplePort._make_leak_detector): Moved to DarwinPort.
1755         (ApplePort.supports_per_test_timeout): Moved to Port.
1756         (ApplePort.check_for_leaks): Moved to DarwinPort.
1757         (ApplePort.print_leaks_summary): Moved to DarwinPort.
1758         (ApplePort._path_to_webcore_library): Moved to DarwinPort.
1759         (ApplePort.show_results_html_file): Moved to DarwinPort.
1760         (ApplePort._merge_crash_logs): Moved to DarwinPort.
1761         (ApplePort._look_for_all_crash_logs_in_log_dir): Moved to DarwinPort.
1762         (ApplePort._get_crash_log): Moved to DarwinPort.
1763         (ApplePort.look_for_new_crash_logs): Moved to DarwinPort.
1764         (ApplePort.sample_process): Moved to DarwinPort.
1765         (ApplePort.sample_file_path): Moved to DarwinPort.
1766         (ApplePort.look_for_new_samples): Moved to DarwinPort.
1767         * Scripts/webkitpy/port/base.py:
1768         (Port.supports_per_test_timeout): Return true for all ports.
1769         * Scripts/webkitpy/port/darwin.py: Added.
1770         (DarwinPort): Shared iOS and Mac functions.
1771         * Scripts/webkitpy/port/darwin_testcase.py: Added.
1772         (DarwinTest): Shared iOS and Mac testing.
1773         * Scripts/webkitpy/port/efl.py:
1774         (EflPort):
1775         (EflPort.supports_per_test_timeout): Moved to Port.
1776         * Scripts/webkitpy/port/gtk.py:
1777         (GtkPort._driver_class):
1778         (GtkPort):
1779         (GtkPort.supports_per_test_timeout): Moved to Port.
1780         * Scripts/webkitpy/port/ios.py:
1781         (IOSPort):
1782         (IOSPort.operating_system):
1783         (IOSSimulatorPort):
1784         (IOSSimulatorPort.__init__): Inherits from DarwinPort.
1785         (IOSSimulatorPort._port_specific_expectations_files): Moved to DarwinPort.
1786         (IOSSimulatorPort._get_crash_log): Deleted.
1787         (IOSSimulatorPort.xcrun_find): Deleted.
1788         * Scripts/webkitpy/port/ios_unittest.py: Added.
1789         (iosTest): Unit tests for the iOS port.
1790         * Scripts/webkitpy/port/mac.py:
1791         (MacPort):
1792         (MacPort.__init__): Inherits from DarwinPort.
1793         (MacPort._port_specific_expectations_files): Moved to DarwinPort.
1794         (MacPort.make_command): Moved to DarwinPort.
1795         (MacPort._get_crash_log): Moved to DarwinPort.
1796         (MacPort.nm_command): Moved to DarwinPort.
1797         * Scripts/webkitpy/port/mac_unittest.py:
1798         (MacTest):
1799         (MacTest.test_sdk_name): Added test.
1800         (MacTest.test_xcrun): Added test.
1801         (MacTest.assert_skipped_file_search_paths): Moved to DarwinTest.
1802         (MacTest.test_default_timeout_ms): Moved to DarwinTest.
1803         (MacTest.assert_name): Moved to DarwinTest.
1804         (MacTest.test_helper_starts): Moved to DarwinTest.
1805         (MacTest.test_helper_fails_to_start): Moved to DarwinTest.
1806         (MacTest.test_helper_fails_to_stop): Moved to DarwinTest.
1807         (MacTest.test_spindump): Moved to DarwinTest.
1808         (MacTest.test_sample_process): Moved to DarwinTest.
1809         (MacTest.test_sample_process_exception): Moved to DarwinTest.
1810         * Scripts/webkitpy/port/port_testcase.py:
1811         (PortTestCase):
1812         (PortTestCase.test_diff_image): Added is_simulator flag.
1813         (PortTestCase.test_diff_image): Skip test if on a simulator.
1814         (PortTestCase.test_diff_image_crashed): Skip test if on a simulator.
1815         * Scripts/webkitpy/port/win.py:
1816         (WinPort):
1817         (WinPort.look_for_new_samples): Used default, ApplePort no longer implements.
1818         (WinPort.sample_process): Ditto.
1819         (WinPort._make_leak_detector): Ditto.
1820         (WinPort.check_for_leaks): Ditto.
1821         (WinPort.print_leaks_summary): Ditto.
1822         (WinPort._path_to_webcore_library): Ditto.
1823
1824 2016-10-07  Anders Carlsson  <andersca@apple.com>
1825
1826         Get rid of WKPageSetSession
1827         https://bugs.webkit.org/show_bug.cgi?id=163129
1828
1829         Reviewed by Tim Horton.
1830
1831         Rewrite this test to use WKPageConfigurationRef and WKWebsiteDataStoreRef.
1832
1833         * TestWebKitAPI/Tests/WebKit2/EphemeralSessionPushStateNoHistoryCallback.cpp:
1834         (TestWebKitAPI::TEST):
1835
1836 2016-10-07  Andreas Kling  <akling@apple.com>
1837
1838         [WK2] didRemoveFrameFromHierarchy callback doesn't fire for subframes when evicting from PageCache.
1839         <https://webkit.org/b/163098>
1840         <rdar://problem/28663488>
1841
1842         Reviewed by Antti Koivisto.
1843
1844         Add an API test that puts a 10-subframe page into the page cache, then loads other pages
1845         until the first page gets kicked out. The test succeeds if we receive didRemoveFrameFromHierarchy
1846         callbacks for all the subframes.
1847
1848         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1849         * TestWebKitAPI/Tests/WebKit2/DidRemoveFrameFromHiearchyInPageCache.cpp: Added.
1850         (TestWebKitAPI::didFinishLoadForFrame):
1851         (TestWebKitAPI::setPageLoaderClient):
1852         (TestWebKitAPI::didReceivePageMessageFromInjectedBundle):
1853         (TestWebKitAPI::setInjectedBundleClient):
1854         (TestWebKitAPI::TEST):
1855         * TestWebKitAPI/Tests/WebKit2/DidRemoveFrameFromHiearchyInPageCache_Bundle.cpp: Added.
1856         (TestWebKitAPI::didRemoveFrameFromHierarchyCallback):
1857         (TestWebKitAPI::DidRemoveFrameFromHiearchyInPageCacheTest::DidRemoveFrameFromHiearchyInPageCacheTest):
1858         (TestWebKitAPI::DidRemoveFrameFromHiearchyInPageCacheTest::didCreatePage):
1859         * TestWebKitAPI/Tests/WebKit2/many-iframes.html: Added.
1860
1861 2016-10-07  Emanuele Aina  <emanuele.aina@collabora.com>
1862
1863         Replace bug URL placeholders independently of the short desc one
1864         https://bugs.webkit.org/show_bug.cgi?id=161684
1865
1866         Reviewed by Darin Adler.
1867
1868         Instead of adding the bug URL when replacing the short description
1869         placeholder and then ignoring the bug URL placeholder, use the former
1870         to set the short description and the latter for the bug URL.
1871         This means that developers can fully prepare the changelog with short
1872         and long description before submission leaving the bug placeholder in
1873         place, and the changelog machinery will make sure to replace the
1874         latter with the URL of the newly created bug while submitting.
1875
1876         Note that this also means that the short description placeholder alone
1877         no longer causes the bug URL to be added.
1878
1879         * Scripts/webkitpy/common/checkout/changelog.py:
1880         (ChangeLog.set_short_description_and_bug_url):
1881         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
1882         (test_set_short_description_and_bug_url):
1883
1884 2016-10-07  Jonathan Bedard  <jbedard@apple.com>
1885
1886         Style Checking Error when Objective C Blocks passed as Argument
1887         https://bugs.webkit.org/show_bug.cgi?id=162463
1888
1889         Reviewed by Darin Adler.
1890
1891         * Scripts/webkitpy/style/checkers/cpp.py:
1892         (regex_for_lambdas_and_blocks): Consider case where block is passed as a function argument.
1893         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1894         (CppStyleTest.test_objective_c_block_as_argument): Test case where block is passed as a function argument. 
1895
1896 2016-10-07  Philippe Normand  <pnormand@igalia.com>
1897
1898         [GTK] Docs build failure
1899         https://bugs.webkit.org/show_bug.cgi?id=163102
1900
1901         Reviewed by Carlos Garcia Campos.
1902
1903         * gtk/jhbuild.modules: Bump to gtk-doc 1.25 to fix build errors on Debian Testing.
1904
1905 2016-10-06  Joseph Pecoraro  <pecoraro@apple.com>
1906
1907         check-webkit-style: Enable the legal/copyright rule for cpp/h files
1908         https://bugs.webkit.org/show_bug.cgi?id=162707
1909
1910         Reviewed by Darin Adler.
1911
1912         * Scripts/webkitpy/style/checker.py:
1913         Enable this rule by default.
1914
1915 2016-10-06  Joseph Pecoraro  <pecoraro@apple.com>
1916
1917         Header guard style should be updated to be "#pragma once"
1918         https://bugs.webkit.org/show_bug.cgi?id=159785
1919
1920         Reviewed by Darin Adler.
1921
1922         * Scripts/webkitpy/style/checkers/cpp.py:
1923         (check_for_header_guard):
1924         (_process_lines):
1925         Simplify header_guard check to warn for a missing #pragma once
1926         in header files. For legacy files that contain an #ifndef only
1927         warn if the #ifndef line itself is changing.
1928
1929         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1930         (CppStyleTestBase.perform_header_guard_check):
1931         (CppStyleTestBase.assert_header_guard):
1932         Helpers for enabling just this warning.
1933
1934         (CppStyleTest.test_build_header_guard):
1935         Test different header guard cases.
1936
1937         * Scripts/webkitpy/style/error_handlers.py:
1938         (DefaultStyleErrorHandler.should_line_be_checked):
1939         Always allow warnings that output for "line 0" which won't be in
1940         the list of modified lines that are 1-based.
1941
1942 2016-10-06  Commit Queue  <commit-queue@webkit.org>
1943
1944         Unreviewed, rolling out r206713.
1945         https://bugs.webkit.org/show_bug.cgi?id=163097
1946
1947         triggers apparent codegen bug on ARM 32-bit (Requested by smfr
1948         on #webkit).
1949
1950         Reverted changeset:
1951
1952         "Support transitions/animations of background-position with
1953         right/bottom-relative values"
1954         https://bugs.webkit.org/show_bug.cgi?id=162048
1955         http://trac.webkit.org/changeset/206713
1956
1957 2016-10-06  Alex Christensen  <achristensen@webkit.org>
1958
1959         URLParser: Non-ASCII characters in Non-UTF-8 encoded queries of relative URLs with ws, wss, or nonspecial schemes should be UTF-8 encoded
1960         https://bugs.webkit.org/show_bug.cgi?id=163089
1961
1962         Reviewed by Tim Horton.
1963
1964         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1965         (TestWebKitAPI::checkURL):
1966         (TestWebKitAPI::TEST_F):
1967
1968 2016-10-06  Alex Christensen  <achristensen@webkit.org>
1969
1970         Skip tabs and newlines between end of query and beginning of fragment in non-UTF-8-encoded URLs
1971         https://bugs.webkit.org/show_bug.cgi?id=163071
1972
1973         Reviewed by Tim Horton.
1974
1975         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1976         (TestWebKitAPI::TEST_F):
1977
1978 2016-10-06  Alex Christensen  <achristensen@webkit.org>
1979
1980         URLParser should parse file URLs with ports consistently
1981         https://bugs.webkit.org/show_bug.cgi?id=163075
1982
1983         Reviewed by Brady Eidson.
1984
1985         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1986         (TestWebKitAPI::TEST_F):
1987
1988 2016-10-06  John Wilander  <wilander@apple.com>
1989
1990         Update Resource Load Statistics
1991         https://bugs.webkit.org/show_bug.cgi?id=162811
1992
1993         Reviewed by Alex Christensen.
1994
1995         * TestWebKitAPI/Tests/mac/PublicSuffix.mm:
1996             Change from USE(PUBLIC_SUFFIX_LIST) to ENABLE(PUBLIC_SUFFIX_LIST)
1997
1998 2016-10-05  Philippe Normand  <pnormand@igalia.com>
1999
2000         [GStreamer][OWR] GL rendering support
2001         https://bugs.webkit.org/show_bug.cgi?id=162972
2002
2003         Reviewed by Žan Doberšek.
2004
2005         When GStreamer-GL is enabled the GL context needs to be properly passed
2006         to the GStreamer pipeline running within the OpenWebRTC video renderer.
2007         This is now supported using a new OpenWebRTC API that allows the
2008         renderer to request the context from the application using a callback
2009         registered within the renderer.
2010
2011         * gtk/jhbuild.modules: Bump to latest OpenWebRTC for the new
2012         owr_video_renderer_set_request_context_callback API added
2013         recently.
2014
2015 2016-10-05  Youenn Fablet  <youenn@apple.com>
2016
2017         Reuse CodeGenerator::UpdateFile in Tools CodeGenerator
2018         https://bugs.webkit.org/show_bug.cgi?id=162960
2019
2020         Reviewed by Alex Christensen.
2021
2022         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm:
2023         (WriteData): Using CodeGenerator::UpdateFile to do lazy generated file update when it is made feasible.
2024         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
2025         (WriteData): Ditto.
2026
2027 2016-10-05  Alex Christensen  <achristensen@webkit.org>
2028
2029         URLParser should parse IPv4 addresses as the last two pieces of an IPv6 address
2030         https://bugs.webkit.org/show_bug.cgi?id=162991
2031
2032         Reviewed by Saam Barati.
2033
2034         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2035         (TestWebKitAPI::TEST_F):
2036
2037 2016-10-05  Tim Horton  <timothy_horton@apple.com>
2038
2039         Avoid automatically re-taking snapshots for back-forward items that were never loaded into the view
2040         https://bugs.webkit.org/show_bug.cgi?id=162955
2041         <rdar://problem/27659173>
2042
2043         Reviewed by Simon Fraser.
2044
2045         * TestWebKitAPI/Tests/WebKit2Cocoa/SnapshotStore.mm:
2046         (-[SnapshotTestWKWebView init]):
2047         (forceRepaintCallback):
2048         (-[SnapshotTestWKWebView synchronouslyForceRepaint]):
2049         (-[SnapshotTestWKWebView synchronouslyLoadTestPageAndForceRepaint:]):
2050         (TEST):
2051         (makeRedSquareView):
2052         Add a test that restoring session state into a web view without navigating,
2053         then explicitly snapshotting and navigating away, leaves the original snapshot alone.
2054
2055         Adjust the existing test, as well, to ensure that it will reliably fail
2056         if the feature is broken. Use an explicitly added and removed red square
2057         instead of scrolling, because we can't scroll in the restore-without-navigating case.
2058
2059         Stop trying to override the window scale, because it's not working (we're getting partial snapshots)
2060         and isn't necessary; instead just multiply the expected value by the page scale.
2061
2062         (-[SnapshotTestWKWebView loadPageNamed:]): Deleted.
2063         * TestWebKitAPI/mac/TestWKWebViewMac.h:
2064         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
2065         (-[TestWKWebView synchronouslyLoadTestPageNamed:]):
2066         Reorganize to reduce duplication.
2067
2068 2016-10-05  Tim Horton  <timothy_horton@apple.com>
2069
2070         Make it possible to test ViewSnapshotStore behaviors
2071         https://bugs.webkit.org/show_bug.cgi?id=162983
2072
2073         Reviewed by Simon Fraser.
2074
2075         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2076         * TestWebKitAPI/Tests/WebKit2Cocoa/SnapshotStore.mm: Added.
2077         (-[SnapshotTestWKWebView init]):
2078         (-[SnapshotTestWKWebView loadPageNamed:]):
2079         (imagesAreEqual):
2080         Add tests for existing basic snapshotting behavior:
2081
2082         - a back-forward item shouldn't have a snapshot
2083           until it is navigated away from
2084
2085         - causing a back-forward item to fall out of the
2086           back-forward list should remove the snapshot
2087
2088         - calling the explicit snapshotting SPI, then navigating away from the page,
2089           should result in the snapshot being retaken
2090
2091 2016-10-05  Chris Dumez  <cdumez@apple.com>
2092
2093         KeyboardEvent.getModifierState() should support "CapsLock" modifier
2094         https://bugs.webkit.org/show_bug.cgi?id=162861
2095
2096         Reviewed by Darin Adler.
2097
2098         Add support for 'capsLockKey' modifier for EventSender.keyDown() so
2099         that we can test this new modifier support for layout tests.
2100
2101         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
2102         (TestWebKitAPI::modifierFlagsForWKModifiers):
2103         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2104         (WTR::parseModifier):
2105         * WebKitTestRunner/mac/EventSenderProxy.mm:
2106         (WTR::buildModifierFlags):
2107
2108 2016-10-05  Jeremy Jones  <jeremyj@apple.com>
2109
2110         Add MobileMiniBrowser tests for control center and looping fullscreen.
2111         https://bugs.webkit.org/show_bug.cgi?id=162748
2112
2113         Reviewed by Jer Noble.
2114
2115         Refactor existing MobileMiniBrowserTests and add new tests for 
2116         - fullscreen rotation
2117         - fullscreen looping (failing)
2118         - control center interruption (failing)
2119
2120         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
2121         * MobileMiniBrowser/MobileMiniBrowserFramework/Resources/looping2s.html: Added.
2122         * MobileMiniBrowser/MobileMiniBrowserFramework/test2s.mp4: Added.
2123         * MobileMiniBrowser/MobileMiniBrowserUITests/MobileMiniBrowserUITests.m:
2124         (-[MobileMiniBrowserUITests setUp]):
2125         (-[MobileMiniBrowserUITests waitToTapButtonNamed:forApp:]):
2126         (-[MobileMiniBrowserUITests loadURL:]):
2127         (-[MobileMiniBrowserUITests requireMinFPS:sampleDurationSeconds:message:]):
2128         (-[MobileMiniBrowserUITests ensureFullscreenControls]):
2129         (-[MobileMiniBrowserUITests timeForTimeString:]):
2130         (-[MobileMiniBrowserUITests testBasicVideoPlayback]):
2131         (-[MobileMiniBrowserUITests testBasicVideoFullscreen]):
2132         (-[MobileMiniBrowserUITests testVideoFullscreenAndRotationAnimation]):
2133         (-[MobileMiniBrowserUITests testVideoFullscreenControlCenter]):
2134         (-[MobileMiniBrowserUITests testLoopingFullscreenLockup]):
2135
2136 2016-10-05  Alex Christensen  <achristensen@webkit.org>
2137
2138         URLParser should correctly strip unnecessary 0's in IPv6 addresses
2139         https://bugs.webkit.org/show_bug.cgi?id=162979
2140
2141         Reviewed by Brady Eidson.
2142
2143         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2144         (TestWebKitAPI::TEST_F):
2145
2146 2016-10-05  Alex Christensen  <achristensen@webkit.org>
2147
2148         UTF-8 encode queries of nonspecial and websocket schemes
2149         https://bugs.webkit.org/show_bug.cgi?id=162956
2150
2151         Reviewed by Geoffrey Garen and Brady Eidson.
2152
2153         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2154         (TestWebKitAPI::TEST_F):
2155
2156 2016-10-05  Alex Christensen  <achristensen@webkit.org>
2157
2158         Prepare to enable URLParser
2159         https://bugs.webkit.org/show_bug.cgi?id=162974
2160
2161         Reviewed by Brady Eidson.
2162
2163         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2164         (TestWebKitAPI::TEST_F):
2165         Added some tests that are unrelated to the code change, but these are
2166         reflected in changed LayoutTest results when enabling the URLParser,
2167         and they weren't in the URLParser tests yet.  They should be.
2168
2169 2016-10-05  Zan Dobersek  <zdobersek@igalia.com>
2170
2171         Rename ENABLE_ENCRYPTED_MEDIA_V2 to ENABLE_LEGACY_ENCRYPTED_MEDIA
2172         https://bugs.webkit.org/show_bug.cgi?id=162903
2173
2174         Reviewed by Alex Christensen.
2175
2176         Rename build guards for the remaining implementation of the legacy EME API
2177         to ENABLE_LEGACY_ENCRYPTED_MEDIA. This will allow for the future implementation
2178         of the near-finished API to be guarded with the simple ENABLE_ENCRYPTED_MEDIA guards.
2179
2180         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Also remove the
2181         ENABLE_IOS_TEXT_AUTOSIZING feature define that was renamed in r206395 and was
2182         throwing up style checker errors.
2183
2184 2016-10-04  Andy Estes  <aestes@apple.com>
2185
2186         [iOS] Crash in WebResourceLoaderQuickLookDelegate when the client cancels the navigation to a QuickLook resource
2187         https://bugs.webkit.org/show_bug.cgi?id=162950
2188         <rdar://problem/23759114>
2189
2190         Reviewed by Brady Eidson.
2191
2192         Added a new API test.
2193
2194         * TestWebKitAPI/Tests/WebKit2Cocoa/QuickLook.mm: Sorted imports and removed redundant
2195         initialization of static bools.
2196         (runTest): Factored out the common test logic between QuickLook.NavigationDelegate and
2197         QuickLook.CancelNavigationAfterResponse.
2198         (TEST): Added QuickLook.CancelNavigationAfterResponse.
2199         (-[QuickLookDecidePolicyDelegate
2200         webView:decidePolicyForNavigationResponse:decisionHandler:]): Canceled the navigation.
2201         (-[QuickLookDecidePolicyDelegate webView:didFailProvisionalNavigation:withError:]): Set
2202         isDone to true.
2203
2204 2016-10-04  Ryosuke Niwa  <rniwa@webkit.org>
2205
2206         Add the support for running ES6SampleBench to run-benchmark
2207         https://bugs.webkit.org/show_bug.cgi?id=162890
2208
2209         Reviewed by Saam Barati.
2210
2211         Added the support for running ES6SampleBench as "es6bench".
2212         e.g. ./Tools/Scripts/run-benchmark --platform osx --plan es6bench --browser safari
2213
2214         Instead of the default 10 iterations, run the test 4 iterations using 5 instances of browser
2215         for the total of 20 iterations.
2216
2217         * Scripts/webkitpy/benchmark_runner/data/patches/ES6SampleBench.patch: Added.
2218         * Scripts/webkitpy/benchmark_runner/data/plans/es6bench.plan: Added.
2219         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
2220         (start): Fixed the bug that the linter will complain about the presence of "debugOutput" by
2221         removing it if it's present.
2222
2223 2016-10-04  Simon Fraser  <simon.fraser@apple.com>
2224
2225         [iOS WK2] Make it possible for a test to describe a user gesture as a stream of events in JSON format
2226         https://bugs.webkit.org/show_bug.cgi?id=162934
2227
2228         Reviewed by Dean Jackson.
2229
2230         With this change, a test can describe a user gesture in an "event stream", which is
2231         some JSON describing an array of events with their underlying touches. The added
2232         test describes a single tap.
2233         
2234         The implementation fires up an NSThread, and sleeps the thread between events to dispatch
2235         them at close to real time.
2236         
2237         In future, HIDEventGenerator could use this internally for all of the "compound" interactions.
2238
2239         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
2240         (WTR::UIScriptController::sendEventStream):
2241         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
2242         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
2243         (WTR::UIScriptController::sendEventStream):
2244         * TestRunnerShared/UIScriptContext/UIScriptController.h:
2245         * WebKitTestRunner/ios/HIDEventGenerator.h:
2246         * WebKitTestRunner/ios/HIDEventGenerator.mm:
2247         (transducerTypeFromString):
2248         (phaseFromString):
2249         (-[HIDEventGenerator eventMaskFromEventInfo:]):
2250         (-[HIDEventGenerator touchFromEventInfo:]):
2251         (-[HIDEventGenerator _createIOHIDEventWithInfo:]):
2252         (-[HIDEventGenerator dispatchEventWithInfo:]):
2253         (-[HIDEventGenerator eventDispatchThreadEntry:]):
2254         (-[HIDEventGenerator sendEventStream:completionBlock:]):
2255         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2256         (WTR::UIScriptController::sendEventStream):
2257
2258 2016-10-04  Megan Gardner  <megan_gardner@apple.com>
2259
2260         Add Megan to contributor's list
2261         https://bugs.webkit.org/show_bug.cgi?id=162944
2262
2263         Reviewed by Tim Horton.
2264
2265         Add Megan to the contributor's lists so that her e-mail autocompletes for CC
2266
2267         * Scripts/webkitpy/common/config/contributors.json:
2268
2269 2016-10-04  Alex Christensen  <achristensen@webkit.org>
2270
2271         Add tests verifying non-special URL hosts are parsed according to spec
2272         https://bugs.webkit.org/show_bug.cgi?id=162885
2273
2274         Reviewed by Sam Weinig.
2275
2276         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2277         (TestWebKitAPI::TEST_F):
2278
2279 2016-10-04  Anders Carlsson  <andersca@apple.com>
2280
2281         Properly kill web processes in the launching state
2282         https://bugs.webkit.org/show_bug.cgi?id=162938
2283
2284         Reviewed by Tim Horton.
2285
2286         * TestWebKitAPI/Tests/WebKit2/TerminateTwice.cpp:
2287         Enable this test again.
2288
2289 2016-10-04  Alex Christensen  <achristensen@webkit.org>
2290
2291         URLParser: query-only URLs relative to file URLs should just add a query
2292         https://bugs.webkit.org/show_bug.cgi?id=162888
2293
2294         Reviewed by Tim Horton.
2295
2296         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2297         (TestWebKitAPI::TEST_F):
2298
2299 2016-10-04  Alex Christensen  <achristensen@webkit.org>
2300
2301         URLParser should match URL::parse and other browsers when parsing a URL containing only scheme://
2302         https://bugs.webkit.org/show_bug.cgi?id=162909
2303
2304         Reviewed by Tim Horton.
2305
2306         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2307         (TestWebKitAPI::TEST_F):
2308
2309 2016-10-04  Yusuke Suzuki  <utatane.tea@gmail.com>
2310
2311         [DOMJIT] Introduce DOMJIT::GetterSetter to tell JIT information
2312         https://bugs.webkit.org/show_bug.cgi?id=162916
2313
2314         Reviewed by Filip Pizlo.
2315
2316         * DumpRenderTree/CMakeLists.txt:
2317
2318 2016-10-04  Wenson Hsieh  <wenson_hsieh@apple.com>
2319
2320         Media controls are displayed in the incorrect state momentarily after switching between tabs playing media
2321         https://bugs.webkit.org/show_bug.cgi?id=162766
2322         <rdar://problem/28533523>
2323
2324         Reviewed by Jer Noble.
2325
2326         Adds new tests and tweaks existing tests to verify last updated Now Playing information.
2327
2328         * TestWebKitAPI/Tests/WebKit2Cocoa/NowPlayingControlsTests.mm:
2329         (-[NowPlayingTestWebView _handleActiveNowPlayingSessionInfoResponse:title:duration:elapsedTime:]):
2330         (TestWebKitAPI::TEST):
2331         (-[NowPlayingTestWebView _handleActiveNowPlayingSessionInfoResponse:]): Deleted.
2332         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-test-now-playing.html:
2333
2334 2016-10-03  Alex Christensen  <achristensen@webkit.org>
2335
2336         URLParser should ignore tabs at all locations
2337         https://bugs.webkit.org/show_bug.cgi?id=162836
2338
2339         Reviewed by Geoffrey Garen.
2340
2341         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2342         (TestWebKitAPI::checkURL):
2343         (TestWebKitAPI::checkRelativeURL):
2344         (TestWebKitAPI::checkURLDifferences):
2345         (TestWebKitAPI::checkRelativeURLDifferences):
2346         (TestWebKitAPI::TEST_F):
2347
2348 2016-10-03  Alex Christensen  <achristensen@webkit.org>
2349
2350         URLParser: fragment-only URLs relative to file URLs should just add a fragment
2351         https://bugs.webkit.org/show_bug.cgi?id=162871
2352
2353         Reviewed by Geoffrey Garen.
2354
2355         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2356         (TestWebKitAPI::TEST_F):
2357
2358 2016-10-03  Per Arne Vollan  <pvollan@apple.com>
2359
2360         [Win] DRT temp folder is not used.
2361         https://bugs.webkit.org/show_bug.cgi?id=162863
2362
2363         Reviewed by Alex Christensen.
2364
2365         Convert DRT temp folder to DOS path, which DRT can use.
2366
2367         * Scripts/webkitpy/port/driver.py:
2368         (Driver._setup_environ_for_driver):
2369
2370 2016-10-03  Alex Christensen  <achristensen@webkit.org>
2371
2372         URLParser: empty relative URLs should not copy fragment from the base URL
2373         https://bugs.webkit.org/show_bug.cgi?id=162864
2374
2375         Reviewed by Chris Dumez.
2376
2377         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2378         (TestWebKitAPI::TEST_F):
2379
2380 2016-10-03  Carlos Garcia Campos  <cgarcia@igalia.com>
2381
2382         [SOUP] Cleanup persistent credential storage code
2383         https://bugs.webkit.org/show_bug.cgi?id=162777
2384
2385         Reviewed by Alex Christensen.
2386
2387         Use USE(LIBSECRET) instead of ENABLE(CREDENTIAL_STORAGE).
2388
2389         * TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp:
2390         (testWebViewAuthenticationStorage):
2391
2392 2016-10-02  Darin Adler  <darin@apple.com>
2393
2394         Rename ExceptionCode-based exception handling to "legacy"
2395         https://bugs.webkit.org/show_bug.cgi?id=162859
2396
2397         Reviewed by Chris Dumez.
2398
2399         * Scripts/do-webcore-rename: Updated script to do this round of renames.
2400
2401 2016-10-02  Wenson Hsieh  <wenson_hsieh@apple.com>
2402
2403         Media controls for Soundcloud easily falls out of sync with what's actually playing
2404         https://bugs.webkit.org/show_bug.cgi?id=162843
2405         <rdar://problem/28176874>
2406
2407         Reviewed by Beth Dakin.
2408
2409         Adds two new tests simulating audio playback behavior on soundcloud. Also tweaks some of the WKWebView test
2410         message handling logic to support having multiple message-handler mappings.
2411
2412         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2413         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
2414         (TestWebKitAPI::TEST):
2415         * TestWebKitAPI/Tests/WebKit2Cocoa/play-audio-on-click.html: Added.
2416         * TestWebKitAPI/mac/TestWKWebViewMac.h:
2417         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
2418         (-[TestMessageHandler addMessage:withHandler:]):
2419         (-[TestMessageHandler userContentController:didReceiveScriptMessage:]):
2420         (-[TestWKWebView performAfterReceivingMessage:action:]):
2421         (-[TestWKWebView performAfterLoading:]):
2422         (-[TestMessageHandler initWithMessage:handler:]): Deleted.
2423
2424 2016-09-30  Alex Christensen  <achristensen@webkit.org>
2425
2426         Fix off-by-one error in URLParser::parseIPv4Host
2427         https://bugs.webkit.org/show_bug.cgi?id=162789
2428
2429         Reviewed by Tim Horton.
2430
2431         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2432         (TestWebKitAPI::TEST_F):
2433
2434 2016-09-30  Alex Christensen  <achristensen@webkit.org>
2435
2436         URLParser: parsing a URL with an empty host and a colon should fail
2437         https://bugs.webkit.org/show_bug.cgi?id=162795
2438
2439         Reviewed by Tim Horton.
2440
2441         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2442         (TestWebKitAPI::TEST_F):
2443
2444 2016-09-30  Alex Christensen  <achristensen@webkit.org>
2445
2446         URLParser: handle syntax violations in non-UTF-8 encoded queries
2447         https://bugs.webkit.org/show_bug.cgi?id=162770
2448
2449         Reviewed by Tim Horton.
2450
2451         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2452         (TestWebKitAPI::checkURL):
2453         (TestWebKitAPI::TEST_F):
2454         Tests with emoji change behavior when we insert a tab between the surrogates, so don't do the
2455         insert-tab-at-each-location verification that syntax violations are handled correctly.
2456
2457 2016-09-30  Megan Gardner  <megan_gardner@apple.com>
2458
2459         Make it possible to test web-related user-interface features
2460         https://bugs.webkit.org/show_bug.cgi?id=162657
2461
2462         Reviewed by Simon Fraser.
2463
2464         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
2465         (WTR::UIScriptController::contentsOfUserInterfaceItem):
2466         (WTR::UIScriptController::selectFormAccessoryPickerRow): Deleted.
2467         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
2468         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
2469         (WTR::UIScriptController::contentsOfUserInterfaceItem):
2470         (WTR::UIScriptController::selectFormAccessoryPickerRow): Deleted.
2471         * TestRunnerShared/UIScriptContext/UIScriptController.h:
2472         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2473         (WTR::UIScriptController::contentsOfUserInterfaceItem):
2474         (WTR::UIScriptController::selectFormAccessoryPickerRow): Deleted.
2475
2476 2016-09-29  Jiewen Tan  <jiewen_tan@apple.com>
2477
2478         Expose CryptoKey to web workers
2479         https://bugs.webkit.org/show_bug.cgi?id=162640
2480         <rdar://problem/28182204>
2481
2482         Reviewed by Brent Fulgham.
2483
2484         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2485         * TestWebKitAPI/Tests/WebCore/SerializedCryptoKeyWrap.mm: Added.
2486         (TestWebKitAPI::TEST_F):
2487         Add API tests for SerializedCryptoKeyWrap APIs.
2488
2489 2016-09-29  Alex Christensen  <achristensen@webkit.org>
2490
2491         Fix syntax violation handling in IPv4 address parsing
2492         https://bugs.webkit.org/show_bug.cgi?id=162756
2493
2494         Reviewed by Tim Horton.
2495
2496         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2497         (TestWebKitAPI::TEST_F):
2498
2499 2016-09-29  Alex Christensen  <achristensen@webkit.org>
2500
2501         URLParser should correctly parse ports with leading 0's
2502         https://bugs.webkit.org/show_bug.cgi?id=162752
2503
2504         Reviewed by Tim Horton.
2505
2506         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2507         (TestWebKitAPI::TEST_F):
2508
2509 2016-09-29  Alex Christensen  <achristensen@webkit.org>
2510
2511         URLParser: make parsing invalid IPv4 addresses more robust and correct
2512         https://bugs.webkit.org/show_bug.cgi?id=162746
2513
2514         Reviewed by Tim Horton.
2515
2516         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2517         (TestWebKitAPI::TEST_F):
2518
2519 2016-09-29  Alex Christensen  <achristensen@webkit.org>
2520
2521         URLParser: IPv6 addresses followed by a colon are invalid
2522         https://bugs.webkit.org/show_bug.cgi?id=162747
2523
2524         Reviewed by Tim Horton.
2525
2526         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2527         (TestWebKitAPI::TEST_F):
2528
2529 2016-09-29  Alexey Proskuryakov  <ap@apple.com>
2530
2531         Make WKTR short timeout dynamic
2532         https://bugs.webkit.org/show_bug.cgi?id=162733
2533
2534         Reviewed by Alex Christensen.
2535
2536         WebKitTestRunner has a hardcoded value for how long to wait for IPC responses,
2537         which is 5 seconds, or 10 seconds under ASan. But some of the operations can be
2538         fairly time consuming - e.g. launching Networking process on demand.
2539         These may take longer under load, especially with GuardMalloc.
2540
2541         * WebKitTestRunner/TestController.cpp:
2542         (WTR::TestController::resetStateToConsistentValues):
2543         (WTR::TestController::reattachPageToWebProcess):
2544         * WebKitTestRunner/TestController.h:
2545         * WebKitTestRunner/TestInvocation.cpp:
2546         (WTR::TestInvocation::shortTimeout):
2547         (WTR::TestInvocation::invoke):
2548         (WTR::TestInvocation::dumpResults):
2549
2550         * WebKitTestRunner/TestInvocation.h:
2551         (WTR::TestInvocation::customTimeout): Deleted, this function was unused.
2552
2553 2016-09-29  Alex Christensen  <achristensen@webkit.org>
2554
2555         URLParser should fail to parse unclosed IPv6 addresses
2556         https://bugs.webkit.org/show_bug.cgi?id=162715
2557
2558         Reviewed by Tim Horton.
2559
2560         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2561         (TestWebKitAPI::TEST_F):
2562
2563 2016-09-29  Alex Christensen  <achristensen@webkit.org>
2564
2565         URLParser should ignore tabs at all possible locations
2566         https://bugs.webkit.org/show_bug.cgi?id=162711
2567
2568         Reviewed by Tim Horton.
2569
2570         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2571         (TestWebKitAPI::ExpectedParts::isInvalid):
2572         (TestWebKitAPI::checkURL):
2573         (TestWebKitAPI::TEST_F):
2574
2575 2016-09-29  Gyuyoung Kim  <gyuyoung.kim@navercorp.com>
2576
2577         [EFL] Add search button to url bar in MiniBrowser
2578         https://bugs.webkit.org/show_bug.cgi?id=162716
2579
2580         Reviewed by Michael Catanzaro.
2581
2582         As a bug title, it would be good to add a search button to URL bar.
2583         Additionally this patch changes color of button to recognize the buttons.
2584
2585         * MiniBrowser/efl/main.c:
2586         (_search_button_clicked_cb):
2587         (_create_toolbar_button):
2588         (window_create):
2589         (create_toolbar_button): Deleted.
2590
2591 2016-09-28  Tim Horton  <timothy_horton@apple.com>
2592
2593         API test WebKit2.AutoLayoutIntegration is a flaky timeout
2594         https://bugs.webkit.org/show_bug.cgi?id=160284
2595
2596         Reviewed by Dan Bernstein.
2597
2598         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
2599         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:resettingWidth:]):
2600         (-[AutoLayoutWKWebView beginLayoutAtMinimumWidth:andExpectContentSizeChange:]):
2601         (-[AutoLayoutWKWebView waitForContentSizeChangeResettingWidth:]):
2602         (-[AutoLayoutWKWebView layoutAtMinimumWidth:andExpectContentSizeChange:resettingWidth:]):
2603         (-[AutoLayoutWKWebView invalidateIntrinsicContentSize]):
2604         (TEST):
2605         Make the autolayout tests a bit more flexible regarding the ordering of
2606         invalidateIntrinsicContentSize, to avoid a race between the load
2607         completing and the invalidation.
2608
2609         Also, move the newly added test to use its own WKWebView, since once in a
2610         while we get a first layout notification from the previous page, causing the test to fail.
2611
2612         Un-disable the tests, which now run without any flakes for me with quite a few iterations.
2613
2614 2016-09-28  Alex Christensen  <achristensen@webkit.org>
2615
2616         URLParser should properly handle unexpected periods and overflows in IPv4 addresses
2617         https://bugs.webkit.org/show_bug.cgi?id=162655
2618
2619         Reviewed by Geoffrey Garen.
2620
2621         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2622         (TestWebKitAPI::TEST_F):
2623
2624 2016-09-28  Ryan Haddad  <ryanhaddad@apple.com>
2625
2626         Disable flaky API test WebKit2.AutoLayoutIntegration.
2627         https://bugs.webkit.org/show_bug.cgi?id=160284
2628
2629         Unreviewed test gardening.
2630
2631         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
2632         (TEST):
2633
2634 2016-09-28  Alex Christensen  <achristensen@webkit.org>
2635
2636         URLParser should ignore tabs in authority
2637         https://bugs.webkit.org/show_bug.cgi?id=162694
2638
2639         Reviewed by Geoffrey Garen.
2640
2641         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2642         (TestWebKitAPI::TEST_F):
2643
2644 2016-09-28  Alex Christensen  <achristensen@webkit.org>
2645
2646         URLParser should ignore extra slashes after scheme:// and handle a missing slash after the port
2647         https://bugs.webkit.org/show_bug.cgi?id=162690
2648
2649         Reviewed by Geoffrey Garen.
2650
2651         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2652         (TestWebKitAPI::TEST_F):
2653
2654 2016-09-28  Alex Christensen  <achristensen@webkit.org>
2655
2656         URLParser should correctly canonicalize uppercase IPv6 addresses
2657         https://bugs.webkit.org/show_bug.cgi?id=162680
2658
2659         Reviewed by Tim Horton.
2660
2661         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2662         (TestWebKitAPI::TEST_F):
2663
2664 2016-09-27  Wenson Hsieh  <wenson_hsieh@apple.com>
2665
2666         Adopt MediaRemote SPI to achieve desired Now Playing behavior
2667         https://bugs.webkit.org/show_bug.cgi?id=162658
2668         <rdar://problem/28499358>
2669
2670         Reviewed by Jer Noble.
2671
2672         Introduces 2 unit tests in the new NowPlayingControlsTests test suite. Also provides some basic support for
2673         mocking key window status for TestWKWebViews.
2674
2675         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2676         * TestWebKitAPI/Tests/WebKit2Cocoa/NowPlayingControlsTests.mm: Added.
2677         (-[NowPlayingTestWebView hasActiveNowPlayingSession]):
2678         (-[NowPlayingTestWebView expectHasActiveNowPlayingSession:]):
2679         (-[NowPlayingTestWebView _handleActiveNowPlayingSessionInfoResponse:]):
2680         (TestWebKitAPI::TEST):
2681         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-test-now-playing.html: Added.
2682         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
2683         (-[TestWKWebViewHostWindow isKeyWindow]):
2684         (-[TestWKWebViewHostWindow makeKeyWindow]):
2685         (-[TestWKWebViewHostWindow resignKeyWindow]):
2686
2687 2016-09-28  Per Arne Vollan  <pvollan@apple.com>
2688
2689         [Win] Compile fix.
2690         https://bugs.webkit.org/show_bug.cgi?id=162670
2691
2692         Reviewed by Brent Fulgham.
2693
2694         Make sure we include JavaScriptCore files from the forwarding headers folder.
2695         Otherwise we might get multiple definitions if a JSC file is included both
2696         from the forwarding headers folder and the JSC source folder, since
2697         #pragma once is used in the header files.
2698
2699         * DumpRenderTree/TestRunner.cpp:
2700
2701 2016-09-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2702
2703         [GTK] Add Chrome UA quirk
2704         https://bugs.webkit.org/show_bug.cgi?id=162617
2705
2706         Reviewed by Carlos Garcia Campos.
2707
2708         Update test. This portion of the commit was actually unreviewed.
2709
2710         * TestWebKitAPI/Tests/WebCore/gtk/UserAgentQuirks.cpp:
2711         (TestWebKitAPI::TEST):
2712
2713 2016-09-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2714
2715         [GTK] Adjust OS X UA quirks list
2716         https://bugs.webkit.org/show_bug.cgi?id=162616
2717
2718         "Reviewed" by Carlos Garcia Campos.
2719
2720         Update test. This portion of the commit was actually unreviewed.
2721
2722         * TestWebKitAPI/Tests/WebCore/gtk/UserAgentQuirks.cpp:
2723         (TestWebKitAPI::TEST):
2724
2725 2016-09-28  Carlos Garcia Campos  <cgarcia@igalia.com>
2726
2727         [GTK] Switch to use GMenu internally in the context menu implementation
2728         https://bugs.webkit.org/show_bug.cgi?id=162603
2729
2730         Reviewed by Michael Catanzaro.
2731
2732         Remove smart separators test, since that's now done automatically by GTK+.
2733
2734         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
2735         (beforeAll):
2736         (testContextMenuWebExtensionMenu): Deleted.
2737
2738 2016-09-27  Alex Christensen  <achristensen@webkit.org>
2739
2740         Correctly parse URLs with the first tab in the fragment
2741         https://bugs.webkit.org/show_bug.cgi?id=162650
2742
2743         Reviewed by Saam Barati.
2744
2745         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2746         (TestWebKitAPI::TEST_F):
2747
2748 2016-09-27  Alex Christensen  <achristensen@webkit.org>
2749
2750         URLParser: Handle windows drive letters after two slashes in relative URLs according to spec
2751         https://bugs.webkit.org/show_bug.cgi?id=162646
2752
2753         Reviewed by Saam Barati.
2754
2755         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2756         (TestWebKitAPI::TEST_F):
2757
2758 2016-09-27  Alex Christensen  <achristensen@webkit.org>
2759
2760         URLs with @ in the user should only search for the last @ until the end of the authority and host
2761         https://bugs.webkit.org/show_bug.cgi?id=162635
2762
2763         Reviewed by Geoffrey Garen.
2764
2765         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2766         (TestWebKitAPI::TEST_F):
2767
2768 2016-09-27  JF Bastien  <jfbastien@apple.com>
2769
2770         Speed up Heap::isMarkedConcurrently
2771         https://bugs.webkit.org/show_bug.cgi?id=162095
2772
2773         Reviewed by Filip Pizlo.
2774
2775         * TestWebKitAPI/CMakeLists.txt:
2776         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2777         * TestWebKitAPI/Tests/WTF/Consume.cpp: Added.
2778         (testConsume):
2779         (TestWebKitAPI::TEST):
2780
2781 2016-09-26  Alex Christensen  <achristensen@webkit.org>
2782
2783         Implement URLParser::syntaxViolation
2784         https://bugs.webkit.org/show_bug.cgi?id=162593
2785
2786         Reviewed by Geoffrey Garen.
2787
2788         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2789         (TestWebKitAPI::TEST_F):
2790
2791 2016-09-27  Anders Carlsson  <andersca@apple.com>
2792
2793         Turns out OptionSet.cpp wasn't added to the right target. Add it and fix the build for real.
2794
2795         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2796         * TestWebKitAPI/Tests/WTF/OptionSet.cpp:
2797         (TestWebKitAPI::TEST):
2798
2799 2016-09-27  Anders Carlsson  <andersca@apple.com>
2800
2801         Try to fix the GTK+ build.
2802
2803         * TestWebKitAPI/Tests/WTF/OptionSet.cpp:
2804         (TestWebKitAPI::TEST):
2805
2806 2016-09-27  Dan Bernstein  <mitz@apple.com>
2807
2808         [iOS] REGRESSION (r182126): Selection highlight and handles aren’t visible with WKSelectionGranularityCharacter
2809         https://bugs.webkit.org/show_bug.cgi?id=162577
2810         <rdar://problem/28481984>
2811
2812         Reviewed by Simon Fraser.
2813
2814         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
2815         (WTR::UIScriptController::selectionRangeViewRects): Returns null.
2816
2817         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: Declared new
2818           selectionRangeViewRects attribute.
2819
2820         * TestRunnerShared/UIScriptContext/UIScriptContext.h:
2821         (WTR::UIScriptContext::jsContext): Added this public accessor.
2822
2823         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
2824         (WTR::selectionRangeViewRects): Generic implementation that returns null.
2825         * TestRunnerShared/UIScriptContext/UIScriptController.h:
2826
2827         * WebKitTestRunner/TestController.cpp:
2828         (WTR::updateTestOptionsFromTestHeader): Parse the new useCharacterSelectionGranularity
2829           option.
2830
2831         * WebKitTestRunner/TestOptions.h: Added new useCharacterSelectionGranularity option.
2832
2833         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2834         (WTR::TestController::platformCreateWebView): Set the configuration’s selectionGranularity
2835           property based on the new option.
2836
2837         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2838         (WTR::PlatformWebView::viewSupportsOptions): Compare selection granularity option values.
2839
2840         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2841         (WTR::UIScriptController::selectionRangeViewRects): iOS-specific implementation that calls
2842           the new -[WKWebView _uiTextSelectionRectViews] and returns an array of view frame
2843           dictionaries.
2844
2845 2016-09-27  Daniel Bates  <dabates@apple.com>
2846
2847         Cannot run dump-class-layout; dies with "global name 'lldb' is not defined"
2848         https://bugs.webkit.org/show_bug.cgi?id=162585
2849
2850         Reviewed by Simon Fraser.
2851
2852         Import the lldb module into the global namespace.
2853
2854         Currently dump-class-layout imports the lldb Python module using the import statement
2855         from the helper function import_lldb. The import statement imports the names of the
2856         specified module into the scope of import_lldb(); => the names imported from this
2857         module cannot be accessed outside the scope of import_lldb(). Other functions in
2858         this script assume that the lldb module was imported into the global scope. We should
2859         import the module lldb into the global scope, if it exists, so that these functions
2860         can find it. Otherwise, we should emit a human readable error message that explains
2861         that we failed to import the lldb module.
2862
2863         Also remove some unnecessary semicolon characters.
2864
2865         * Scripts/dump-class-layout:
2866         (import_lldb):
2867
2868 2016-09-27  Jer Noble  <jer.noble@apple.com>
2869
2870         Remove deprecated ENCRYPTED_MEDIA implementation.
2871         https://bugs.webkit.org/show_bug.cgi?id=161010
2872
2873         Reviewed by Eric Carlson.
2874
2875         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2876
2877 2016-09-27  Chris Dumez  <cdumez@apple.com>
2878
2879         [WK2] Navigating to a Blob URL does not trigger a download
2880         https://bugs.webkit.org/show_bug.cgi?id=162574
2881
2882         Reviewed by Darin Adler.
2883
2884         Add API that tests navigating to a Blob URL and checks that that the load
2885         properly gets converted into a download.
2886
2887         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2888         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
2889         (-[BlobDownloadDelegate _downloadDidStart:]):
2890         (-[BlobDownloadDelegate _download:didReceiveResponse:]):
2891         (-[BlobDownloadDelegate _download:didReceiveData:]):
2892         (-[BlobDownloadDelegate _download:decideDestinationWithSuggestedFilename:allowOverwrite:]):
2893         (-[BlobDownloadDelegate _downloadDidFinish:]):
2894         (-[DownloadBlobURLNavigationDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
2895         (TEST):
2896         * TestWebKitAPI/Tests/WebKit2Cocoa/DownloadRequestBlobURL.html: Added.
2897
2898 2016-09-27  Michael Catanzaro  <mcatanzaro@igalia.com>
2899
2900         [GTK] Install binaries to pkglibexecdir rather than bindir
2901         https://bugs.webkit.org/show_bug.cgi?id=162602
2902
2903         Reviewed by Carlos Garcia Campos.
2904
2905         Install MiniBrowser to LIBEXEC_INSTALL_DIR rather than EXEC_INSTALL_DIR.
2906
2907         * MiniBrowser/gtk/CMakeLists.txt:
2908
2909 2016-09-27  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2910
2911         [EFL] Locate color picker popup to center of window
2912         https://bugs.webkit.org/show_bug.cgi?id=162540
2913
2914         Reviewed by Michael Catanzaro.
2915
2916         Color picker popup hasn't located in a center of main window, because
2917         elm_win_center() function doesn't work correctly. It looks a bug.
2918
2919         To fix the problem, this patch uses evas_object_geometry_set() instead.
2920
2921         * MiniBrowser/efl/main.c:
2922         (_color_picker_request_cb):
2923
2924 2016-09-27  Michael Catanzaro  <mcatanzaro@igalia.com>
2925
2926         [GTK] Disable ACCELERATED_2D_CANVAS when using build-webkit
2927         https://bugs.webkit.org/show_bug.cgi?id=162600
2928
2929         Reviewed by Carlos Garcia Campos.
2930
2931         * Scripts/webkitperl/FeatureList.pm:
2932
2933 2016-09-27  Michael Catanzaro  <mcatanzaro@igalia.com>
2934
2935         PyGIWarnings printed by webkit-patch
2936         https://bugs.webkit.org/show_bug.cgi?id=152470
2937
2938         Reviewed by Carlos Garcia Campos.
2939
2940         Update to a newer version of the keyring module, since this bug has been fixed upstream for
2941         a while. But be careful not to update to the latest version, since it has some compatibility
2942         breaks and requires the SecretService python module on Linux, but I couldn't figure out how
2943         to autoinstall it successfully.
2944
2945         * Scripts/webkitpy/thirdparty/__init__.py:
2946         (AutoinstallImportHook._install_keyring):
2947
2948 2016-09-26  Ryan Haddad  <ryanhaddad@apple.com>
2949
2950         Add Sierra to the flakiness dashboard.
2951         https://bugs.webkit.org/show_bug.cgi?id=162509
2952
2953         Reviewed by Alexey Proskuryakov.
2954
2955         * TestResultServer/static-dashboards/builders.jsonp:
2956
2957 2016-09-26  Daniel Bates  <dabates@apple.com>
2958
2959         Rename IOS_TEXT_AUTOSIZING to TEXT_AUTOSIZING
2960         https://bugs.webkit.org/show_bug.cgi?id=162365
2961
2962         Reviewed by Simon Fraser.
2963
2964         * DumpRenderTree/TestRunner.h:
2965         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2966
2967 2016-09-26  Tomas Popela  <tpopela@redhat.com>
2968
2969         [GTK] TestContextMenu is failing
2970         https://bugs.webkit.org/show_bug.cgi?id=162569
2971
2972         We cannot use the MP3 file in the TestContextMenu, as it will not work
2973         by default on most distributions (that don't have an MP3 codecs
2974         installed). Change the test to use OGG file instead.
2975
2976         Reviewed by Michael Catanzaro.
2977
2978         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
2979         (testContextMenuDefaultMenu):
2980
2981 2016-09-26  Yusuke Suzuki  <utatane.tea@gmail.com>
2982
2983         Using char16_t instead of wchar_t in TestWebKitAPI URLParser tests
2984         https://bugs.webkit.org/show_bug.cgi?id=162537
2985
2986         Reviewed by Alex Christensen.
2987
2988         Some build bot (Linux ARM GTK port) fails since we cannot select
2989         the specific StringBuilder::append method for wchar_t.
2990
2991         wchar_t implementation highly depends on platforms. sizeof(wchar_t) == 2
2992         in Windows, while sizeof(wchar_t) == 4 in Linux and OS X. So, ICU
2993         uses wchar_t for UChar (UTF-16) in Windows while it doesn't in other
2994         platforms.
2995
2996         StringBuilder::append is overloaded for UChar. In Windows, we can pass
2997         wchar_t since UChar is wchar_t. However, we cannot do that in other platforms.
2998
2999         Instead of using wchar_t, we use more platform portable UTF-16 literal for
3000         testing. Use char16_t and C++11 UTF-16 literal.
3001
3002         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3003         (TestWebKitAPI::utf16String):
3004         (TestWebKitAPI::TEST_F):
3005         (TestWebKitAPI::wideString): Deleted.
3006
3007 2016-09-25  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3008
3009         [EFL] Adjust EFL indentation to EFL MiniBrowser
3010         https://bugs.webkit.org/show_bug.cgi?id=162542
3011
3012         Unreviewed, EFL simple coding style fix.
3013
3014         Some functions wasn't applied EFL coding style in prefix fix.
3015
3016         * MiniBrowser/efl/main.c:
3017         (_key_down_cb):
3018         (view_focus_set):
3019         (_mouse_down_cb):
3020         (title_set):
3021         (_title_changed_cb):
3022         (_url_changed_cb):
3023         (_back_forward_list_changed_cb):
3024         (_progress_cb):
3025         (_error_cb):
3026         (_download_request_cb):
3027         (close_file_picker):
3028         (_filepicker_parent_deletion_cb):
3029         (_filepicker_deletion_cb):
3030         (_fileselector_done_cb):
3031         (_file_chooser_request_cb):
3032         (_download_finished_cb):
3033         (_download_failed_cb):
3034         (_color_changed_cb):
3035         (_color_item_selected_cb):
3036         (_color_picker_ok_clicked_cb):
3037         (_color_picker_cancel_clicked_cb):
3038         (_color_picker_dismiss_cb):
3039         (_color_picker_request_cb):
3040         (quit):
3041         (has_scheme):
3042         (url_from_user_input):
3043         (url_load_from_user_input):
3044         (_url_bar_activated_cb):
3045         (_url_bar_clicked_cb):
3046         (_search_field_aborted_cb):
3047         (_search_field_activated_cb):
3048         (_search_field_clicked_cb):
3049         (_back_button_clicked_cb):
3050         (_forward_button_clicked_cb):
3051         (_search_backward_button_clicked_cb):
3052         (_search_forward_button_clicked_cb):
3053         (_search_case_option_changed):
3054         (_search_word_start_option_changed_cb):
3055         (_search_close_button_clicked_cb):
3056         (_refresh_button_clicked_cb):
3057         (_stop_button_clicked_cb):
3058         (list_item_label_get):
3059         (_list_item_select_cb):
3060         (navigation_button_longpress_process):
3061         (_forward_button_longpress_cb):
3062         (_back_button_longpress_cb):
3063         (quit_event_loop):
3064         (_ok_clicked_cb):
3065         (_file_entry_dialog_show):
3066
3067 2016-09-24  Chris Dumez  <cdumez@apple.com>
3068
3069         [WK2] anchor.download attribute value is ignored by NETWORK_SESSION code path
3070         https://bugs.webkit.org/show_bug.cgi?id=162531
3071
3072         Reviewed by Darin Adler.
3073
3074         Update decideDestinationWithSuggestedFilename() to return a actual file path
3075         instead of nullptr. The NETWORK_SESSION code path cancels the download when
3076         decideDestinationWithSuggestedFilename() returns an empty file path, unlike
3077         the !NETWORK_SESSION code path that just continue downloading without
3078         explicitely setting a destination path. This lead to different test results
3079         for NETWORK_SESSION and !NETWORK_SESSION code paths. Returns a valid
3080         destination path makes more sense and leads to consistent results.
3081
3082         * WebKitTestRunner/TestController.cpp:
3083         (WTR::TestController::decideDestinationWithSuggestedFilename):
3084
3085 2016-09-23  Wenson Hsieh  <wenson_hsieh@apple.com>
3086
3087         [mac-sierra] 2 WKWebViewCandidateTests API test failures
3088         https://bugs.webkit.org/show_bug.cgi?id=162470
3089
3090         Reviewed by Tim Horton.
3091
3092         VideoControlsManager, WKWebViewCandidateTests and CandidateTests should not be running on 10.12.0. Guard these
3093         tests with an SDK check to prevent 10.12.0 bots from building them.
3094
3095         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
3096         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm:
3097         * TestWebKitAPI/Tests/mac/CandidateTests.mm:
3098
3099 2016-09-23  Alex Christensen  <achristensen@webkit.org>
3100
3101         Refactor URLParser
3102         https://bugs.webkit.org/show_bug.cgi?id=162516
3103
3104         Reviewed by Brady Eidson.
3105
3106         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3107         (TestWebKitAPI::TEST_F):
3108
3109 2016-09-23  Caitlin Potter  <caitp@igalia.com>
3110
3111         [JSC] Implement parsing of Async Functions
3112         https://bugs.webkit.org/show_bug.cgi?id=161409
3113
3114         Reviewed by Yusuke Suzuki.
3115
3116         * Scripts/build-jsc:
3117         (cMakeArgsFromFeatures):
3118         * Scripts/webkitperl/FeatureList.pm:
3119         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3120
3121 2016-09-23  Alex Christensen  <achristensen@webkit.org>
3122
3123         Refactor URLParser
3124         https://bugs.webkit.org/show_bug.cgi?id=162511
3125
3126         Reviewed by Brady Eidson.
3127
3128         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3129         (TestWebKitAPI::TEST_F):
3130         (TestWebKitAPI::checkURL):
3131
3132 2016-09-23  Alexey Proskuryakov  <ap@apple.com>
3133
3134         iOS playback user action tests fail on some machines
3135         https://bugs.webkit.org/show_bug.cgi?id=162504
3136         rdar://problem/28013994
3137
3138         Reviewed by Jer Noble.
3139
3140         Avoid the need to have a timeout.
3141
3142         * TestWebKitAPI/Tests/WebKit/ios/audio-only.html:
3143         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
3144         * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.html:
3145         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-without-audio.html:
3146
3147 2016-09-23  Carlos Garcia Campos  <cgarcia@igalia.com>
3148
3149         REGRESSION(r204163): [GTK] API test /webkit2/WebKitSecurityManager/file-xhr is failing
3150         https://bugs.webkit.org/show_bug.cgi?id=161607
3151
3152         Reviewed by Michael Catanzaro.
3153
3154         Since r204163, in case of cross origin error when loading the XHR, the load fails and an error message is shown
3155         in the console, but there isn't any js expcetion, which is what we were checking. Now, we check that there
3156         aren't exceptions, and that the error message is sent to the console.
3157
3158         * Scripts/run-gtk-tests:
3159         (TestRunner):
3160         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
3161         (consoleMessageReceivedCallback):
3162         (testWebContextSecurityFileXHR):
3163
3164 2016-09-23  Ryan Haddad  <ryanhaddad@apple.com>
3165
3166         Use correct hardware for Sierra Debug WK2 testers.
3167         https://bugs.webkit.org/show_bug.cgi?id=162474
3168
3169         Reviewed by Alexey Proskuryakov.
3170
3171         * BuildSlaveSupport/build.webkit.org-config/config.json:
3172
3173 2016-09-23  Carlos Garcia Campos  <cgarcia@igalia.com>
3174
3175         [GTK] Make all WebView tests have a WebKitUserContentManager
3176         https://bugs.webkit.org/show_bug.cgi?id=162487
3177
3178         Reviewed by Michael Catanzaro.
3179
3180         It simplifies tests using the user content manager, and allows to use it without having to subclass WebViewTest.
3181
3182         * TestWebKitAPI/Tests/WebKit2Gtk/TestConsoleMessage.cpp:
3183         (ConsoleMessageTest::ConsoleMessageTest):
3184         (ConsoleMessageTest::~ConsoleMessageTest):
3185         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
3186         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
3187         (testUserContentManagerInjectedStyleSheet):
3188         (testUserContentManagerInjectedScript):
3189         (UserScriptMessageTest::UserScriptMessageTest):
3190         (beforeAll):
3191         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3192         (testWebViewIsPlayingAudio):
3193         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
3194         (WebViewTest::WebViewTest):
3195         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
3196
3197 2016-09-23  Antoine Quint  <graouts@apple.com>
3198
3199         Add a new runtime flag for work on modern media controls (off by default)
3200         https://bugs.webkit.org/show_bug.cgi?id=162420
3201         <rdar://problem/27989489>
3202
3203         Reviewed by Eric Carlson.
3204
3205         * DumpRenderTree/mac/DumpRenderTree.mm:
3206         (resetWebPreferencesToConsistentValues):
3207         * DumpRenderTree/win/DumpRenderTree.cpp:
3208         (resetWebPreferencesToConsistentValues):
3209         * Scripts/webkitperl/FeatureList.pm:
3210         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3211         (WTR::InjectedBundle::beginTesting):
3212         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3213         (WTR::TestRunner::setModernMediaControlsEnabled):
3214         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3215
3216 2016-09-23  Carlos Garcia Campos  <cgarcia@igalia.com>
3217
3218         REGRESSION(r194387): Crash on github.com in IntlDateTimeFormat::resolvedOptions in C locale
3219         https://bugs.webkit.org/show_bug.cgi?id=162139
3220
3221         Reviewed by Michael Catanzaro.
3222
3223         Add test cases to check the behavior when using the C locale and an invalid locale.
3224
3225         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
3226         (testWebContextLanguages):
3227
3228 2016-09-22  Hunseop Jeong  <hs85.jeong@samsung.com>
3229
3230         [EFL] alert box is not displayed 
3231         https://bugs.webkit.org/show_bug.cgi?id=156395
3232
3233         Reviewed by Gyuyoung Kim.
3234
3235         Some popup objects(alert, confirm, prompt, file entry dialog) used the ecore_main_loop_begin() to make
3236         the modal popup but ecore_main_loop_begin() was not executed inside an exisiting main loop. So we have
3237         to use the ecore_main_loop_iterate() instead of the ecore_main_loop_begin().
3238
3239         * MiniBrowser/efl/main.c:
3240         (_ok_clicked_cb):
3241         (_file_entry_dialog_show):
3242         (_javascript_alert_cb):
3243         (_javascript_confirm_cb):
3244         (_javascript_prompt_cb):
3245         (quit_event_loop): Deleted.
3246
3247 2016-09-22  Matthew Hanson  <matthew_hanson@apple.com>
3248
3249         Add an API for getting the branch identifier from a Git or SVN checkout.
3250         https://bugs.webkit.org/show_bug.cgi?id=151570
3251         rdar://problem/17959831
3252
3253         Reviewed by David Kilzer.
3254
3255         This patch adds a function called svnIdentifierForPath. This function returns either "trunk",
3256         the name of the tag, or the name of the branch, as appropriate. This function is necessary for
3257         a VCSUtils client that is not checked in to the WebKit project.
3258
3259         This patch also breaks up pathRelativeToSVNRepositoryRootForPath into four functions:
3260         - pathRelativeToSVNRepositoryRootForPath
3261         - svnInfoForPath
3262         - svnURLForPath
3263         - svnRepositoryRootForPath
3264
3265         This allows us to reuse logic from pathRelativeToSVNRepositoryRootForPath in svnIdentifierForPath and
3266         allows clients of VCSUtils to extract what arbitrary information from the `svn info` command regardless
3267         of SCM.
3268
3269         * Scripts/VCSUtils.pm:
3270         (svnInfoForPath):
3271         Copied logic that previously lived in pathRelativeToSVNRepositoryRootForPath.
3272         Make code safe to use for a path, and not just for the CWD.
3273
3274         (svnURLForPath):
3275         Calls svnInfoForPath and extracts the URL.
3276
3277         (svnRepositoryRootForPath):
3278         Calls svnInfoForPath and extracts the Repository Root.
3279
3280         (svnIdentifierForPath):
3281         Calls pathRelativeToSVNRepositoryRootForPath and extracts the repository identifier.
3282
3283         (pathRelativeToSVNRepositoryRootForPath):
3284         Now uses svnURLForPath and svnRepositoryRootForPath instead of being responsible for
3285         determining both values.
3286
3287 2016-09-22  Megan Gardner  <megan_gardner@apple.com>
3288
3289         Add long press selection test
3290         https://bugs.webkit.org/show_bug.cgi?id=162367
3291
3292         Reviewed by Simon Fraser.
3293
3294         Add support to UIScriptController to synthesize long press events on iOS.
3295         This required adding long-press functionality to HIDEventGenerator.
3296
3297         HIDEventGenerator sends the touchDown, but must then send the touchUp with
3298         a dispatch_after (rather than sleeping, as we do for other events) in order
3299         for the gesture recognizers to correctly detect a long press.
3300
3301         Use the long press synthesis in a test that detects whether a long press
3302         gesture triggers text selection.
3303
3304         Fixed incorrect constants. NSTimeInterval is in seconds, original numbers
3305         were nanoseconds and typedefed to long without regard to the type
3306         differences. Redid constants to be the right value, and converted upon use.
3307
3308         Cleaned up unused enum types.
3309
3310         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
3311         (WTR::UIScriptController::longPressAtPoint):
3312         (WTR::UIScriptController::forcePressAtPoint):
3313         (WTR::UIScriptController::dragFromPointToPoint): Deleted.
3314         * Scripts/webkitpy/common/config/contributors.json:
3315         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
3316         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
3317         (WTR::UIScriptController::longPressAtPoint):
3318         (WTR::UIScriptController::forcePressAtPoint):
3319         (WTR::UIScriptController::dragFromPointToPoint): Deleted.
3320         * TestRunnerShared/UIScriptContext/UIScriptController.h:
3321         * WebKitTestRunner/ios/HIDEventGenerator.h:
3322         * WebKitTestRunner/ios/HIDEventGenerator.mm:
3323         (-[HIDEventGenerator _createIOHIDEventType:]):
3324         (-[HIDEventGenerator sendTaps:location:withNumberOfTouches:completionBlock:]):
3325         (-[HIDEventGenerator clearTap:]):
3326         (-[HIDEventGenerator longPressTimerCall:]):
3327         (-[HIDEventGenerator longPressFinish:completionBlock:]):
3328         (-[HIDEventGenerator longPress:completionBlock:]):
3329         (-[HIDEventGenerator forcePress:completionBlock:]):
3330         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3331         (WTR::UIScriptController::longPressAtPoint):
3332         (WTR::UIScriptController::forcePressAtPoint):
3333         (WTR::UIScriptController::dragFromPointToPoint): Deleted.
3334
3335 2016-09-22  Jonathan Bedard  <jbedard@apple.com>
3336
3337         Automatic Text Replacement Testing in WebKit2
3338         https://bugs.webkit.org/show_bug.cgi?id=161919
3339
3340         Reviewed by Ryosuke Niwa.
3341
3342         Implemented test hooks for text replacement for WebKit2.
3343         Note that spell checking has not been implemented, so most tests which use text replacement still fail.
3344
3345         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Removed setAutomaticLinkDetectionEnabled from TestRunner, moved to Internals.
3346         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: Ditto.
3347         (WTR::InjectedBundle::beginTesting): Ditto.
3348         * WebKitTestRunner/InjectedBundle/TestRunner.cpp: Ditto.
3349         * WebKitTestRunner/InjectedBundle/TestRunner.h: Ditto.
3350         * WebKitTestRunner/TestController.cpp:
3351         (WTR::TestController::runTest): Place TextChecker into testing mode.
3352
3353 2016-09-21  Dan Bernstein  <mitz@apple.com>
3354
3355         [macOS] Upon layout, _webView:renderingProgressDidChange: fires before the intrinsic content size is updated
3356         https://bugs.webkit.org/show_bug.cgi?id=162359
3357         <rdar://problem/27776454>
3358
3359         Reviewed by Tim Horton.
3360
3361         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
3362         (TEST):
3363
3364 2016-09-21  Keith Miller  <keith_miller@apple.com>
3365
3366         Fix build for future versions of Clang.
3367         https://bugs.webkit.org/show_bug.cgi?id=162346
3368
3369         Reviewed by Filip Pizlo.
3370
3371         * TestWebKitAPI/Counters.cpp:
3372         * TestWebKitAPI/Counters.h:
3373         (DeleterCounter::deleterCount):
3374         (DeleterCounter::TestingScope::TestingScope):
3375         (DeleterCounter::operator()):
3376         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp:
3377         (TestWebKitAPI::TEST):
3378         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
3379         (TestWebKitAPI::TEST):
3380
3381 2016-09-21  Commit Queue  <commit-queue@webkit.org>
3382
3383         Unreviewed, rolling out r206222 and r206227.
3384         https://bugs.webkit.org/show_bug.cgi?id=162361
3385
3386         "broke the windows build" (Requested by keith_mi_ on #webkit).
3387
3388         Reverted changesets:
3389
3390         "Fix build for future versions of Clang."
3391         https://bugs.webkit.org/show_bug.cgi?id=162346
3392         http://trac.webkit.org/changeset/206222
3393
3394         "Attempt to fix windows build after r206222."
3395         http://trac.webkit.org/changeset/206227
3396
3397 2016-09-21  Alex Christensen  <achristensen@webkit.org>
3398
3399         URLParser should match URL::parse when parsing data urls with slashes in them
3400         https://bugs.webkit.org/show_bug.cgi?id=162352
3401
3402         Reviewed by Darin Adler.
3403
3404         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3405         (TestWebKitAPI::TEST_F):
3406
3407 2016-09-21  Alex Christensen  <achristensen@webkit.org>
3408
3409         URLParser should fail when parsing invalid relative URLs with no schemes
3410         https://bugs.webkit.org/show_bug.cgi?id=162355
3411
3412         Reviewed by Tim Horton.
3413
3414         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3415         (TestWebKitAPI::TEST_F):
3416
3417 2016-09-21  Keith Miller  <keith_miller@apple.com>
3418
3419         Fix build for future versions of Clang.
3420         https://bugs.webkit.org/show_bug.cgi?id=162346
3421
3422         Reviewed by Filip Pizlo.
3423
3424         * TestWebKitAPI/Counters.cpp:
3425         * TestWebKitAPI/Counters.h:
3426         (DeleterCounter::deleterCount):
3427         (DeleterCounter::TestingScope::TestingScope):
3428         (DeleterCounter::operator()):
3429         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp:
3430         (TestWebKitAPI::TEST):
3431         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
3432         (TestWebKitAPI::TEST):
3433
3434 2016-09-21  Alex Christensen  <achristensen@webkit.org>
3435
3436         Prepare API tests for enabling URLParser by default
3437         https://bugs.webkit.org/show_bug.cgi?id=162341
3438
3439         Reviewed by Tim Horton.
3440
3441         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3442         (TestWebKitAPI::checkURL):
3443         (TestWebKitAPI::checkRelativeURL):
3444         (TestWebKitAPI::checkURLDifferences):
3445         (TestWebKitAPI::checkRelativeURLDifferences):
3446         (TestWebKitAPI::shouldFail):
3447
3448 2016-09-21  Alex Christensen  <achristensen@webkit.org>
3449
3450         URLParser: Correctly parse URLs that are just nonspecialscheme:/
3451         https://bugs.webkit.org/show_bug.cgi?id=162340
3452
3453         Reviewed by Tim Horton.
3454
3455         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3456         (TestWebKitAPI::TEST_F):
3457
3458 2016-09-21  Alex Christensen  <achristensen@webkit.org>
3459
3460         URLParser: correctly parse relative URLs that are just one character
3461         https://bugs.webkit.org/show_bug.cgi?id=162344
3462
3463         Reviewed by Tim Horton.
3464
3465         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3466         (TestWebKitAPI::TEST_F):
3467
3468 2016-09-20  Alex Christensen  <achristensen@webkit.org>
3469
3470         Optimize URLParser
3471         https://bugs.webkit.org/show_bug.cgi?id=162105
3472
3473         Reviewed by Geoffrey Garen.
3474
3475         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3476         (TestWebKitAPI::TEST_F):
3477
3478 2016-09-20  Aakash Jain  <aakash_jain@apple.com>
3479
3480         enable remote_api (for debugging) in flakiness dashboard app
3481         https://bugs.webkit.org/show_bug.cgi?id=162325
3482
3483         Reviewed by Alexey Proskuryakov.
3484
3485         * TestResultServer/app.yaml: enabled remote_api and datastore_admin.
3486
3487 2016-09-20  Ryan Haddad  <ryanhaddad@apple.com>
3488
3489         Unreviewed, rolling out r206180.
3490
3491         Roll r206178 back in as the necessary changes have been made
3492         on the build master.
3493
3494         Reverted changeset:
3495
3496         "Unreviewed, rolling out r206178."
3497         https://bugs.webkit.org/show_bug.cgi?id=162249
3498         http://trac.webkit.org/changeset/206180
3499
3500 2016-09-20  Alexey Proskuryakov  <ap@apple.com>
3501
3502         Use a hardcoded patch for sRGB color profile
3503         https://bugs.webkit.org/show_bug.cgi?id=162320
3504         rdar://problem/28387318
3505
3506         Reviewed by Simon Fraser.
3507
3508         This is a workaround for rdar://problem/28392768
3509
3510         * DumpRenderTree/mac/LayoutTestHelper.m:
3511         (installLayoutTestColorProfile):
3512
3513 2016-09-20  Ryan Haddad  <ryanhaddad@apple.com>
3514
3515         Unreviewed, rolling out r206178.
3516
3517         This change caused buildbot config issues.
3518
3519         Reverted changeset:
3520
3521         "Add Sierra bots to buildbot and dashboard."
3522         https://bugs.webkit.org/show_bug.cgi?id=162249
3523         http://trac.webkit.org/changeset/206178
3524
3525 2016-09-20  Dean Johnson  <dean_johnson@apple.com>
3526
3527         Add Sierra bots to buildbot and dashboard.
3528         https://bugs.webkit.org/show_bug.cgi?id=162249
3529
3530         Reviewed by Alexey Proskuryakov.
3531
3532         * BuildSlaveSupport/build.webkit.org-config/config.json:
3533         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
3534         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
3535         (WebKitBuildbot):
3536
3537 2016-09-20  Alex Christensen  <achristensen@webkit.org>
3538
3539         Reduce allocations in URLParser
3540         https://bugs.webkit.org/show_bug.cgi?id=162241
3541
3542         Reviewed by Chris Dumez.
3543
3544         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3545         (TestWebKitAPI::TEST_F):
3546         (TestWebKitAPI::checkURL):
3547
3548 2016-09-20  Alex Christensen  <achristensen@webkit.org>
3549
3550         Align URLParser with web platform tests when parsing non-special relative URLs ending in AuthorityOrHost state
3551         https://bugs.webkit.org/show_bug.cgi?id=162251
3552
3553         Reviewed by Tim Horton.
3554
3555         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3556         (TestWebKitAPI::checkURL):
3557         (TestWebKitAPI::TEST_F):
3558         (TestWebKitAPI::checkRelativeURL):
3559         (TestWebKitAPI::checkURLDifferences):
3560         (TestWebKitAPI::checkRelativeURLDifferences):
3561
3562 2016-09-20  Alex Christensen  <achristensen@webkit.org>
3563
3564         URLParser should allow '@' in user
3565         https://bugs.webkit.org/show_bug.cgi?id=162272
3566
3567         Reviewed by Tim Horton.
3568
3569         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3570         (TestWebKitAPI::TEST_F):
3571
3572 2016-09-20  Alex Christensen  <achristensen@webkit.org>
3573
3574         URLParser: Fix parsing relative URLs with one slash after the scheme:
3575         https://bugs.webkit.org/show_bug.cgi?id=162294
3576
3577         Reviewed by Tim Horton.
3578
3579         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3580         (TestWebKitAPI::TEST_F):
3581
3582 2016-09-20  Alex Christensen  <achristensen@webkit.org>
3583
3584         Fix Windows file URL quirks in URLParser
3585         https://bugs.webkit.org/show_bug.cgi?id=162303
3586
3587         Reviewed by Tim Horton.
3588
3589         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3590         (TestWebKitAPI::TEST_F):
3591
3592 2016-09-20  Filip Pizlo  <fpizlo@apple.com>
3593
3594         Make MarkedBlock state tracking support overlapped allocation and marking state
3595         https://bugs.webkit.org/show_bug.cgi?id=161581
3596
3597         Reviewed by Geoffrey Garen.
3598         
3599         Remove the always-trigger-copy-phase configuration.
3600
3601         * Scripts/run-jsc-stress-tests:
3602
3603 2016-09-20  Don Olmstead  <don.olmstead@am.sony.com>
3604
3605         [WinCairo] Use find_package cairo in build
3606         https://bugs.webkit.org/show_bug.cgi?id=162239
3607
3608         Reviewed by Alex Christensen.
3609
3610         * DumpRenderTree/PlatformWin.cmake:
3611         * TestWebKitAPI/PlatformWin.cmake:
3612
3613 2016-09-20  Wenson Hsieh  <wenson_hsieh@apple.com>
3614
3615         Unreviewed build fix on 10.10 bots.
3616
3617         * TestWebKitAPI/mac/TestWKWebViewMac.h:
3618
3619 2016-09-20  Wenson Hsieh  <wenson_hsieh@apple.com>
3620
3621         VideoControlsManager.VideoControlsManagerSingleLargeVideo fails intermittently on the Mac WK2 bot
3622         https://bugs.webkit.org/show_bug.cgi?id=162255
3623
3624         Reviewed by Jer Noble.
3625
3626         This is reproducible by running the test repeatedly in a for loop (locally, I observed that running the test
3627         back-to-back would result in the second one failing). This suggests that even on the runloop after the video
3628         starts playing, the state of the playback controls manager may not be up to date in the UI process. Instead, we
3629         can just spin the runloop until the playback controls are shown, which makes back-to-back tests to succeed and
3630         will probably address flakiness on the bots for this test.
3631
3632         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
3633         (TestWebKitAPI::TEST):
3634         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html:
3635
3636 2016-09-20  Per Arne Vollan  <pvollan@apple.com>
3637
3638         [Win] Run layout tests in parallel.
3639         https://bugs.webkit.org/show_bug.cgi?id=162145
3640
3641         Reviewed by Brent Fulgham.
3642
3643         To speed up layout tests, try running them in parallel.
3644
3645         * Scripts/webkitpy/port/win.py:
3646         (WinPort.default_child_processes): Deleted.
3647
3648 2016-09-19  Wenson Hsieh  <wenson_hsieh@apple.com>
3649
3650         Unreviewed build fix after r206135
3651
3652         NSEventMaskLeftMouseDown and friends are only available on 10.12.
3653
3654         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
3655         (__simulated_forceClickAssociatedEventsMask):
3656
3657 2016-09-19  Wenson Hsieh  <wenson_hsieh@apple.com>
3658
3659         Add a unit test covering <https://trac.webkit.org/changeset/205983>
3660         https://bugs.webkit.org/show_bug.cgi?id=162112
3661
3662         Reviewed by Beth Dakin.
3663
3664         Adds a new unit test covering the changes in r205983 along with the infrastructure needed to support it. Also
3665         further refactors the TestWKWebView used by VideoControlsManager and WKWebViewCandidateTests so that in both
3666         cases, we add the WKWebView to a visible key window, and when sending a mouse down event, we propagate the event
3667         at the window level rather than the view level, allowing greater flexibility to simulate behaviors such as
3668         pressure-sensitive events that are needed for the new test.
3669
3670         Also rewrites currently disabled unit tests in CandidateTests as WebKit2 unit tests in WKWebViewCandidateTests,
3671         checking whether or not to should be requesting candidates in password and non-password fields.
3672
3673         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3674         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
3675         (TestWebKitAPI::setUpWebViewForTestingVideoControlsManager):
3676         (TestWebKitAPI::TEST):
3677         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm:
3678         (-[CandidateTestWebView typeString:inputMessage:]):
3679         (+[CandidateTestWebView setUpWithFrame:testPage:]):
3680         * TestWebKitAPI/Tests/WebKit2Cocoa/large-input-field-focus-onload.html: Added.
3681         * TestWebKitAPI/Tests/WebKit2Cocoa/text-and-password-inputs.html: Added.
3682         * TestWebKitAPI/mac/TestWKWebViewMac.h:
3683         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
3684         (__simulated_forceClickAssociatedEventsMask):
3685         (-[TestWKWebViewHostWindow _mouseDownAtPoint:simulatePressure:]):
3686         (-[TestWKWebView initWithFrame:]):
3687         (-[TestWKWebView initWithFrame:configuration:]):
3688         (-[TestWKWebView _setUpTestWindow:]):
3689         (-[TestWKWebView mouseDownAtPoint:simulatePressure:]):
3690         (-[TestWKWebView typeCharacter:]):
3691         (-[TestWKWebView mouseDownAtPoint:]): Deleted.
3692
3693 2016-09-19  Alex Christensen  <achristensen@webkit.org>
3694
3695         URLParser can read memory out of bounds
3696         https://bugs.webkit.org/show_bug.cgi?id=162206
3697
3698         Reviewed by Geoff Garen.
3699
3700         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3701         (TestWebKitAPI::TEST_F):
3702
3703 2016-09-19  Daniel Bates  <dabates@apple.com>
3704
3705         Remove ENABLE(TEXT_AUTOSIZING) automatic text size adjustment code
3706         https://bugs.webkit.org/show_bug.cgi?id=162167
3707
3708         Reviewed by Simon Fraser.
3709
3710         * Scripts/webkitperl/FeatureList.pm:
3711         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3712
3713 2016-09-19  Nan Wang  <n_wang@apple.com>
3714
3715         AX: Add accessibility support for details element on iOS
3716         https://bugs.webkit.org/show_bug.cgi?id=162041
3717
3718         Reviewed by Chris Fleizach.
3719
3720         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3721         (AccessibilityUIElement::isExpanded):
3722         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3723         (WTR::AccessibilityUIElement::isExpanded):
3724
3725 2016-09-18  Gyuyoung Kim  <gyuyoung.kim@navercorp.com>
3726
3727         [EFL] Bump efl library to 1.18.1
3728         https://bugs.webkit.org/show_bug.cgi?id=162120
3729
3730         Reviewed by Michael Catanzaro.
3731
3732         * efl/jhbuild.modules: Use efl-1.18.1 instead of 1.18.
3733
3734 2016-09-18  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3735
3736         [EFL] Adjust EFL coding style to EFL MiniBrowser
3737         https://bugs.webkit.org/show_bug.cgi?id=162119
3738
3739         Reviewed by Michael Catanzaro.
3740
3741         Apply EFL coding style to main.c for MiniBrowser.
3742           - Use _foo_cb instead of on_foo for callback function
3743           - Use 3 spaces and use 2 spaces in keywords.
3744
3745         - EFL coding style.
3746           https://phab.enlightenment.org/w/coding_convention/
3747
3748         Additionally this patch adds an exception rule that style checker doesn't
3749         check indentation rule in EFL MiniBrowser.
3750
3751         * MiniBrowser/efl/main.c:
3752         (miniBrowserViewSmartClass):
3753         (window_find_with_ewk_view):
3754         (_tooltip_show):
3755         (window_tooltip_hide):
3756         (window_tooltip_update):
3757         (_mouse_in_cb):
3758         (_mouse_move_cb):
3759         (_mouse_out_cb):
3760         (_mouse_wheel_cb):
3761         (_window_resize_cb):
3762         (update_view_favicon):
3763         (_icon_changed_cb):
3764         (window_free):
3765         (window_close):
3766         (search_icon_show):
3767         (search_box_show):
3768         (search_box_hide):
3769         (history_list_hide):
3770         (save_page_contents_callback):
3771         (script_execute_callback):
3772         (toggle_window_fullscreen):
3773         (_key_down_cb):
3774         (_mouse_down_cb):
3775         (_title_changed_cb):
3776         (_url_changed_cb):
3777         (_back_forward_list_changed_cb):
3778         (_progress_cb):
3779         (_error_cb):
3780         (_download_request_cb):
3781         (close_file_picker):
3782         (_filepicker_parent_deletion_cb):
3783         (_filepicker_deletion_cb):
3784         (_fileselector_done_cb):
3785         (_file_chooser_request_cb):
3786         (_download_finished_cb):
3787         (_download_failed_cb):
3788         (_color_changed_cb):
3789         (_color_item_selected_cb):
3790         (_color_picker_ok_clicked_cb):
3791         (_color_picker_cancel_clicked_cb):
3792         (_color_picker_dismiss_cb):
3793         (_color_picker_request_cb):
3794         (_url_bar_activated_cb):
3795         (_url_bar_clicked_cb):
3796         (_search_field_aborted_cb):
3797         (_search_field_activated_cb):
3798         (_search_field_clicked_cb):
3799         (_back_button_clicked_cb):
3800         (_forward_button_clicked_cb):
3801         (_search_backward_button_clicked_cb):
3802         (_search_forward_button_clicked_cb):
3803         (_search_case_option_changed):
3804         (_search_word_start_option_changed_cb):
3805         (_search_close_button_clicked_cb):
3806         (_refresh_button_clicked_cb):
3807         (_stop_button_clicked_cb):
3808         (_list_item_select_cb):
3809         (navigation_button_longpress_process):
3810         (_forward_button_longpress_cb):
3811         (_back_button_longpress_cb):
3812         (_ok_clicked_cb):
3813         (_file_entry_dialog_show):
3814         (_javascript_alert_cb):
3815         (_javascript_confirm_cb):
3816         (_javascript_prompt_cb):
3817         (_javascript_before_unload_confirm_cb):
3818         (_popup_menu_item_clicked_cb):
3819         (popup_menu_populate):
3820         (_popup_menu_show):
3821         (_popup_menu_hide):
3822         (_window_geometry_get):
3823         (_window_geometry_set):
3824         (_fullscreen_accept_cb):
3825         (_fullscreen_deny_cb):
3826         (_fullscreen_enter_cb):
3827         (_fullscreen_exit_cb):
3828         (_window_create_cb):
3829         (_window_close_cb):
3830         (_context_menu_item_selected_cb):
3831         (context_menu_populate):
3832         (_context_menu_show):
3833         (_context_menu_hide):
3834         (auth_popup_close):
3835         (_auth_cancel_cb):
3836         (_auth_ok_cb):
3837         (_authentication_request_cb):
3838         (_search_text_found_cb):
3839         (_tooltip_text_set):
3840         (_tooltip_text_unset):
3841         (_navigation_policy_decision_cb):
3842         (_home_button_clicked_cb):
3843         (_window_deletion_cb):
3844         (create_toolbar_button):
3845         (window_create):
3846         (configuration):
3847         (parse_cookies_policy):
3848         (parse_window_size):
3849         (elm_main):
3850         (on_tooltip_show): Deleted.
3851         (on_mouse_in): Deleted.
3852         (on_mouse_move): Deleted.
3853         (on_mouse_out): Deleted.
3854         (on_mouse_wheel): Deleted.
3855         (on_window_resize): Deleted.
3856         (on_icon_changed_cb): Deleted.
3857         (on_key_down): Deleted.
3858         (on_mouse_down): Deleted.
3859         (on_title_changed): Deleted.
3860         (on_url_changed): Deleted.
3861         (on_back_forward_list_changed): Deleted.
3862         (on_progress): Deleted.
3863         (on_error): Deleted.
3864         (on_download_request): Deleted.
3865         (on_filepicker_parent_deletion): Deleted.
3866         (on_filepicker_deletion): Deleted.
3867         (on_fileselector_done): Deleted.
3868         (on_file_chooser_request): Deleted.
3869         (on_download_finished): Deleted.
3870         (on_download_failed): Deleted.
3871         (on_color_changed): Deleted.
3872         (on_color_item_selected): Deleted.
3873         (on_color_picker_ok_clicked): Deleted.
3874         (on_color_picker_cancel_clicked): Deleted.
3875         (on_color_picker_dismiss): Deleted.
3876         (on_color_picker_request): Deleted.
3877         (on_url_bar_activated): Deleted.
3878         (on_url_bar_clicked): Deleted.
3879         (on_search_field_aborted): Deleted.
3880         (on_search_field_activated): Deleted.
3881         (on_search_field_clicked): Deleted.
3882         (on_back_button_clicked): Deleted.
3883         (on_forward_button_clicked): Deleted.
3884         (on_search_backward_button_clicked): Deleted.
3885         (on_search_forward_button_clicked): Deleted.
3886         (on_search_case_option_changed): Deleted.
3887         (on_search_word_start_option_changed): Deleted.
3888         (on_search_close_button_clicked): Deleted.
3889         (on_refresh_button_clicked): Deleted.
3890         (on_stop_button_clicked): Deleted.
3891         (on_list_item_select): Deleted.
3892         (on_forward_button_longpress): Deleted.
3893         (on_back_button_longpress): Deleted.
3894         (on_ok_clicked): Deleted.
3895         (show_file_entry_dialog): Deleted.
3896         (on_javascript_alert): Deleted.
3897         (on_javascript_confirm): Deleted.
3898         (on_javascript_prompt): Deleted.
3899         (on_javascript_before_unload_confirm): Deleted.
3900         (on_popup_menu_item_clicked): Deleted.
3901         (on_popup_menu_show): Deleted.
3902         (on_popup_menu_hide): Deleted.
3903         (on_window_geometry_get): Deleted.
3904         (on_window_geometry_set): Deleted.
3905         (on_fullscreen_accept): Deleted.
3906         (on_fullscreen_deny): Deleted.
3907         (on_fullscreen_enter): Deleted.
3908         (on_fullscreen_exit): Deleted.
3909         (on_window_create): Deleted.
3910         (on_window_close): Deleted.
3911         (context_menu_item_selected_cb): Deleted.
3912         (on_context_menu_show): Deleted.
3913         (on_context_menu_hide): Deleted.
3914         (on_auth_cancel): Deleted.
3915         (on_auth_ok): Deleted.
3916         (on_authentication_request): Deleted.
3917         (on_search_text_found): Deleted.
3918         (on_tooltip_text_set): Deleted.
3919         (on_tooltip_text_unset): Deleted.
3920         (on_navigation_policy_decision): Deleted.
3921         (on_home_button_clicked): Deleted.
3922         (on_window_deletion): Deleted.
3923         * Scripts/webkitpy/style/checker.py:
3924
3925 2016-09-16  Dave Hyatt  <hyatt@apple.com>
3926
3927         [CSS Parser] Get CSSPropertyParserHelpers.cpp compiling
3928         https://bugs.webkit.org/show_bug.cgi?id=162078
3929
3930         Reviewed by Dean Jackson.
3931
3932         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
3933         (TestWebKitAPI::createTestValue):
3934         Convert to ValueRange.
3935
3936 2016-09-16  Alex Christensen  <achristensen@webkit.org>
3937
3938         Fix API tests after r206036
3939         https://bugs.webkit.org/show_bug.cgi?id=162049
3940
3941         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3942         (TestWebKitAPI::TEST_F):
3943         An emoji had been UTF-8 encoded in the patch that was applied.
3944         The test needed to check the encoding of the emoji, not the UTF-8 encoding of the emoji.
3945         Everything was correct except applying the patch before committing.
3946
3947 2016-09-16  Wenson Hsieh  <wenson_hsieh@apple.com>
3948
3949         RequiresUserActionForPlayback TestWebKitAPI tests are broken after r206033.
3950         https://bugs.webkit.org/show_bug.cgi?id=162080
3951
3952         Reviewed by Jer Noble.
3953
3954         I renamed "playingHandler" to the more generalized "testHandler", but did not realize that the
3955         RequiresUserActionForPlayback tests also used "playingHandler". Renames the handler to account for this change.
3956
3957         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
3958         (RequiresUserActionForPlaybackTest::SetUp):
3959
3960 2016-09-16  Alex Christensen  <achristensen@webkit.org>
3961
3962         URLParser should percent encode the user and password according to spec
3963         https://bugs.webkit.org/show_bug.cgi?id=162049
3964
3965         Reviewed by Tim Horton.
3966
3967         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3968         (TestWebKitAPI::TEST_F):
3969
3970 2016-09-16  Alex Christensen  <achristensen@webkit.org>
3971
3972         Fix more edge cases in URLParser
3973         https://bugs.webkit.org/show_bug.cgi?id=162051
3974
3975         Reviewed by Tim Horton.
3976
3977         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3978         (TestWebKitAPI::TEST_F):
3979
3980 2016-09-16  Wenson Hsieh  <wenson_hsieh@apple.com>
3981
3982         Inserting a space after inserting an accepted candidate scrolls the document and causes a flicker
3983         https://bugs.webkit.org/show_bug.cgi?id=162009
3984         <rdar://problem/28086237>
3985
3986         Reviewed by Tim Horton.
3987
3988         Adds 3 new text editing API tests covering candidate insertion, as well as support for testing candidates in
3989         WKWebViews. Refactors common WKWebView helpers across both VideoControlsManager tests and the new
3990         WKWebViewCandidateTests into a new utility class, TestWKWebView in TestWKWebView.mm, which is capable of
3991         simulating mouse and keyboard events as well as waiting for JavaScript messages sent from the web process and
3992         performing actions in response.
3993
3994         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3995         * TestWebKitAPI/Tests/WebKit/ios/audio-only.html:
3996         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
3997         * TestWebKitAPI/Tests/WebKit/ios/video-without-audio.html:
3998         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
3999         (TestWebKitAPI::TEST):
4000         (-[MessageHandler initWithMessage:handler:]): Deleted.
4001         (-[MessageHandler userContentController:didReceiveScriptMessage:]): Deleted.
4002         (-[VideoControlsManagerTestWebView mouseDownAtPoint:]): Deleted.
4003         (-[VideoControlsManagerTestWebView performAfterLoading:]): Deleted.
4004         (-[VideoControlsManagerTestWebView callJavascriptFunction:]): Deleted.
4005         (-[VideoControlsManagerTestWebView loadTestPageNamed:]): Deleted.
4006         (-[VideoControlsManagerTestWebView performAfterReceivingMessage:action:]): Deleted.
4007         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm: Added.
4008         (-[TestCandidate initWithReplacementString:inRange:]):
4009         (-[TestCandidate replacementString]):
4010         (-[TestCandidate resultType]):
4011         (-[TestCandidate range]):
4012         (-[CandidateTestWebView insertCandidatesAndWaitForResponse:range:]):
4013         (-[CandidateTestWebView _didHandleAcceptedCandidate]):
4014         (-[CandidateTestWebView expectCandidateListVisibilityUpdates:whenPerformingActions:]):
4015         (-[CandidateTestWebView _didUpdateCandidateListVisibility:]):
4016         (TEST):
4017         * TestWebKitAPI/Tests/WebKit2Cocoa/autoplaying-video-with-audio.html:
4018         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-click.html:
4019         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-end.html:
4020         * TestWebKitAPI/Tests/WebKit2Cocoa/full-size-autoplaying-video-with-audio.html:
4021         * TestWebKitAPI/Tests/WebKit2Cocoa/input-field-in-scrollable-document.html: Added.
4022         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-hides-controls-after-seek-to-end.html:
4023         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-mutes-onplaying.html:
4024         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-offscreen.html:
4025         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-playing-scroll-away.html:
4026         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-after-ending.html:
4027         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-to-beginning-and-play-after-ending.html:
4028         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html:
4029         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-without-audio.html:
4030         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-click-to-pause.html:
4031         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-autoplaying-scroll-to-video.html:
4032         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-paused-video-hides-controls.html:
4033         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-muted-video-hides-controls.html:
4034         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-playing-video-keeps-controls.html:
4035         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio-autoplay.html:
4036         * TestWebKitAPI/Tests/WebKit2Cocoa/skinny-autoplaying-video-with-audio.html:
4037         * TestWebKitAPI/Tests/WebKit2Cocoa/wide-autoplaying-video-with-audio.html:
4038         * TestWebKitAPI/mac/TestWKWebViewMac.h: Added.
4039         * TestWebKitAPI/mac/TestWKWebViewMac.mm: Added.
4040         (-[TestMessageHandler initWithMessage:handler:]):
4041         (-[TestMessageHandler userContentController:didReceiveScriptMessage:]):
4042         (-[TestWKWebView mouseDownAtPoint:]):
4043         (-[TestWKWebView performAfterReceivingMessage:action:]):
4044         (-[TestWKWebView loadTestPageNamed:]):
4045         (-[TestWKWebView typeCharacter:]):
4046         (-[TestWKWebView stringByEvaluatingJavaScript:]):
4047         (-[TestWKWebView waitForMessage:]):
4048         (-[TestWKWebView performAfterLoading:]):
4049
4050 2016-09-14  Jer Noble  <jer.noble@apple.com>
4051
4052         [media-source] fix imported/w3c/web-platform-tests/media-source/mediasource-duration.html
4053         https://bugs.webkit.org/show_bug.cgi?id=161999
4054
4055         Reviewed by Eric Carlson.
4056
4057         * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
4058         (TestWebKitAPI::TEST):
4059
4060 2016-09-16  Anders Carlsson  <andersca@apple.com>
4061
4062         Fix isValidEnum to work with older versions of GCC
4063         https://bugs.webkit.org/show_bug.cgi?id=162065
4064
4065         Reviewed by Michael Catanzaro.
4066
4067         Add EnumTraits.cpp to the CMake build.
4068
4069         * TestWebKitAPI/CMakeLists.txt:
4070
4071 2016-09-16  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
4072
4073         Unreviewed: Change my primary address for auto-complete in bugzilla.
4074
4075         * Scripts/webkitpy/common/config/contributors.json:
4076
4077 2016-09-15  Alex Christensen  <achristensen@webkit.org>
4078
4079         URLParser: Check for invalid characters in the host
4080         https://bugs.webkit.org/show_bug.cgi?id=162023
4081
4082         Reviewed by Tim Horton.
4083
4084         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4085         (TestWebKitAPI::TEST_F):
4086
4087 2016-09-15  Fujii Hironori  <Hironori.Fujii@sony.com>
4088
4089         [CMake] Refactor GENERATE_BINDINGS
4090         https://bugs.webkit.org/show_bug.cgi?id=161854
4091
4092         Reviewed by Gyuyoung Kim.
4093
4094         * DumpRenderTree/CMakeLists.txt: Changed the arguments of
4095         GENERATE_BINDINGS to new style.
4096         * WebKitTestRunner/CMakeLists.txt: Ditto.
4097
4098 2016-09-15  Ryan Haddad  <ryanhaddad@apple.com>
4099
4100         Disable failing API WebKit2.DataDetectionReferenceDate until it can be investigated.
4101         https://bugs.webkit.org/show_bug.cgi?id=161967
4102
4103         Unreviewed test gardening.
4104
4105         * TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:
4106         (TEST):
4107
4108 2016-09-15  Per Arne Vollan  <pvollan@apple.com>
4109
4110         [Win] run-api-tests is failing.
4111         https://bugs.webkit.org/show_bug.cgi?id=162015
4112
4113         Reviewed by Brent Fulgham.
4114
4115         MSVC is not interpreting C++ string literals with unicode characters correctly when the source file
4116         doesn't contain encoding information. Save the file with utf8 encoding with signature.
4117
4118         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4119
4120 2016-09-15  Jonathan Bedard  <jbedard@apple.com>
4121
4122         Move --no-sample-on-timeout to config.json for each bot
4123         https://bugs.webkit.org/show_bug.cgi?id=161964
4124
4125         Reviewed by Daniel Bates.
4126
4127         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.
4128
4129         * BuildSlaveSupport/build.webkit.org-config/config.json: Each bot now independently defines if it will be running sample on timeout.
4130         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
4131         (RunWebKitTests.start): Rolled out changes from 205573.
4132
4133 2016-09-15  Csaba Osztrogonác  <ossy@webkit.org>
4134
4135         js/stringimpl-to-jsstring-on-large-strings tests consume huge memory
4136         https://bugs.webkit.org/show_bug.cgi?id=159807
4137
4138         Reviewed by Saam Barati.
4139
4140         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
4141         (RunRemoteJavaScriptCoreTests.start): JSCOnly bots are memory limited devices, tests should run with --memory-limited option.
4142         * Scripts/run-javascriptcore-tests:
4143         (runJSCStressTests): Pass through --memory-limited option to run-jsc-stress-tests.
4144         * Scripts/run-jsc-stress-tests: Typo fix.
4145
4146 2016-09-14  Wenson Hsieh  <wenson_hsieh@apple.com>
4147
4148         Media controls behave strangely when changing media sources
4149         https://bugs.webkit.org/show_bug.cgi?id=161914
4150         <rdar://problem/28227805>
4151
4152         Reviewed by Tim Horton.
4153
4154         Adds three new unit tests verifying that media controls remain stable during common `src` change scenarios. Also
4155         tweaks an existing test to account for new `ended` behavior.
4156
4157         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
4158         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
4159         (-[VideoControlsManagerTestWebView waitForMediaControlsToShow]):
4160         (-[VideoControlsManagerTestWebView waitForMediaControlsToHide]):
4161         (TestWebKitAPI::TEST):
4162         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-click.html: Added.
4163         * TestWebKitAPI/Tests/WebKit2Cocoa/change-video-source-on-end.html: Added.
4164         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-offscreen.html: Added.
4165
4166 2016-09-14  Jonathan Bedard  <jbedard@apple.com>
4167
4168         Fix mastercfg_unittest
4169         https://bugs.webkit.org/show_bug.cgi?id=161816
4170
4171         Reviewed by Daniel Bates.
4172
4173         (RunWebKitTests.start):
4174         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Fixed broken unit tests.
4175
4176 2016-09-13  Alexey Proskuryakov  <ap@apple.com>
4177
4178         Landing optimized .png files, forgot to do it initially.
4179
4180         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10.png:
4181         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10@2x.png:
4182         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator.png:
4183         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice.png:
4184         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice@2x.png:
4185
4186 2016-09-13  Alexey Proskuryakov  <ap@apple.com>
4187
4188         Switch build.webkit.org to iOS 10
4189         https://bugs.webkit.org/show_bug.cgi?id=161930
4190
4191         Reviewed by Daniel Bates.
4192
4193         * BuildSlaveSupport/build.webkit.org-config/config.json:
4194         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
4195         (RunWebKitTests.start):
4196         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
4197         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10.png: Added.
4198         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10@2x.png: Added.
4199         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator.png: Added.
4200         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS10Simulator@2x.png: Added.
4201         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice.png:
4202         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSDevice@2x.png:
4203         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSSimulator.png: Added.
4204         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOSSimulator@2x.png: Added.
4205         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
4206         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
4207         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
4208         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
4209         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
4210         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
4211         * Scripts/webkitpy/port/ios.py:
4212         * TestResultServer/static-dashboards/builders.jsonp:
4213
4214 2016-09-13  Tim Horton  <timothy_horton@apple.com>
4215
4216         Provide a mechanism to specify the maximum width of WKThumbnailView snapshots
4217         https://bugs.webkit.org/show_bug.cgi?id=161896
4218         <rdar://problem/28229827>
4219
4220         Reviewed by Simon Fraser.
4221
4222         * TestWebKitAPI/Tests/WebKit2/WKThumbnailView.mm:
4223         (TestWebKitAPI::TEST):
4224         Add a test for the new property.
4225         Also fix the old new test to run on arbitrary scale displays without failing.
4226
4227 2016-09-12  Brent Fulgham  <bfulgham@apple.com>
4228
4229         [Win][Direct2D] Provide Direct2D-based geometry and transform cast operations
4230         https://bugs.webkit.org/show_bug.cgi?id=161818
4231
4232         Reviewed by Dean Jackson.
4233
4234         Add several new test suites for the various geometric primitives in WebCore.
4235
4236         * TestWebKitAPI/PlatformWin.cmake: Add new files for test cases.
4237         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
4238         * TestWebKitAPI/Tests/WebCore/AffineTransform.cpp: Added.
4239         * TestWebKitAPI/Tests/WebCore/FloatPoint.cpp: Added.
4240         * TestWebKitAPI/Tests/WebCore/FloatRect.cpp: Added.
4241         * TestWebKitAPI/Tests/WebCore/FloatSize.cpp: Added.
4242         * TestWebKitAPI/Tests/WebCore/IntPoint.cpp: Added.
4243         * TestWebKitAPI/Tests/WebCore/IntRect.cpp: Added.
4244         * TestWebKitAPI/Tests/WebCore/IntSize.cpp: Added.
4245         * TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp: Add some new
4246         Windows-focused test cases.
4247
4248 2016-09-12  Chris Dumez  <cdumez@apple.com>
4249
4250         Fix post-landing review comments after r205787
4251         https://bugs.webkit.org/show_bug.cgi?id=161885
4252
4253         Reviewed by Darin Adler.
4254
4255         Leverage new StringBuilder::append(CFStringRef) overload.
4256
4257         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
4258         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
4259
4260 2016-09-12  Alex Christensen  <achristensen@webkit.org>
4261
4262         URLParser: Correctly ignore spaces before relative URLs with no scheme
4263         https://bugs.webkit.org/show_bug.cgi?id=161889
4264
4265         Reviewed by Daniel Bates.
4266
4267         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4268         (TestWebKitAPI::TEST_F):
4269
4270 2016-09-12  Alex Christensen  <achristensen@webkit.org>
4271
4272         URLParser: Fix relative URLs containing only fragments
4273         https://bugs.webkit.org/show_bug.cgi?id=161882
4274
4275         Reviewed by Brady Eidson.
4276
4277         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4278         (TestWebKitAPI::TEST_F):
4279
4280 2016-09-12  Alex Christensen  <achristensen@webkit.org>
4281
4282         URLParser: Correctly handle relative URLs that are just a scheme and a colon
4283         https://bugs.webkit.org/show_bug.cgi?id=161876
4284
4285         Reviewed by Brady Eidson.
4286
4287         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4288         (TestWebKitAPI::TEST_F):
4289
4290 2016-09-12  DAN SAUNDERS  <dasau@microsoft.com>
4291
4292         AX: WKWebView for macOS does not allow configuration of tabsToLinks
4293         https://bugs.webkit.org/show_bug.cgi?id=161394
4294
4295         Reviewed by Anders Carlsson.
4296
4297         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
4298         (TEST):
4299
4300 2016-09-12  Alex Christensen  <achristensen@webkit.org>
4301
4302         Remove trailing control characters and spaces before parsing a URL
4303         https://bugs.webkit.org/show_bug.cgi?id=161870
4304
4305         Reviewed by Tim Horton.
4306
4307         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4308         (TestWebKitAPI::TEST_F):
4309
4310 2016-09-12  Alex Christensen  <achristensen@webkit.org>
4311
4312         Fix more URLParser quirks
4313         https://bugs.webkit.org/show_bug.cgi?id=161834
4314
4315         Reviewed by Brady Eidson.
4316
4317         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4318         (TestWebKitAPI::TEST_F):
4319
4320 2016-09-10  Alex Christensen  <achristensen@webkit.org>
4321
4322         Optimize URLParser performance
4323         https://bugs.webkit.org/show_bug.cgi?id=161837
4324
4325         Reviewed by Brady Eidson.
4326
4327         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4328         (TestWebKitAPI::TEST_F):
4329         Added a test to verify the case insensitivity of the default port checks.
4330
4331 2016-09-10  Chris Dumez  <cdumez@apple.com>
4332
4333         parseHTMLInteger() should take a StringView in parameter
4334         https://bugs.webkit.org/show_bug.cgi?id=161669
4335
4336         Reviewed by Ryosuke Niwa.
4337
4338         Explicitly construct a String from the CFStringRef in order to call
4339         StringBuilder::append(). This is needed now that there is an append()
4340         overload taking an AtomicString in parameter.
4341
4342         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
4343         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
4344
4345 2016-09-10  Wenson Hsieh  <wenson_hsieh@apple.com>
4346
4347         Apple.com keynote does not display media controls
4348         https://bugs.webkit.org/show_bug.cgi?id=161833
4349         <rdar://problem/28230123>
4350
4351         Reviewed by Tim Horton.
4352
4353         New unit test verifying that wide videos (~2 aspect ratio) still get media controls.
4354
4355         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
4356         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
4357         (TestWebKitAPI::TEST):
4358         * TestWebKitAPI/Tests/WebKit2Cocoa/wide-autoplaying-video-with-audio.html: Added.
4359
4360 2016-09-09  Tim Horton  <timothy_horton@apple.com>
4361
4362         WKThumbnailView should expose a mode where it can be reparented without resnapshotting
4363         https://bugs.webkit.org/show_bug.cgi?id=161828
4364         <rdar://problem/28229756>
4365
4366         Reviewed by Alex Christensen.
4367
4368         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
4369         * TestWebKitAPI/Tests/WebKit2/WKThumbnailView.mm: Added.
4370         (-[SnapshotSizeObserver observeValueForKeyPath:ofObject:change:context:]):
4371         (TestWebKitAPI::didFinishLoadForFrame):
4372         (TestWebKitAPI::setPageLoaderClient):
4373         (TestWebKitAPI::TEST):
4374         Add a test ensuring that this behaves correctly.
4375
4376 2016-09-09  Alex Christensen  <achristensen@webkit.org>
4377
4378         URLParser: Keep track of cannot-be-a-base-url according to spec
4379         https://bugs.webkit.org/show_bug.cgi?id=161830
4380
4381         Reviewed by Tim Horton.
4382
4383         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4384         (TestWebKitAPI::TEST_F):
4385
4386 2016-09-09  Alex Christensen  <achristensen@webkit.org>
4387
4388         Fix API tests after r205774.
4389         https://bugs.webkit.org/show_bug.cgi?id=161820
4390
4391         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4392         (TestWebKitAPI::TEST_F):
4393         I had committed the wrong expected path in one case. The functionality is correct.
4394
4395 2016-09-09  Michael Saboff  <msaboff@apple.com>
4396
4397         Unreviewed, rolling r205759 back in with a fix.
4398
4399         An expectation file, JSTests/ChakraCore/test/Lib/tostring.baseline-jsc,
4400         should be named "toString.baseline-jsc".  For systems with case-insensitive
4401         filesystems, the wrong name isn't an issue.  That rename is part of this
4402         fix.
4403
4404         * Scripts/run-javascriptcore-tests:
4405         (runJSCStressTests):
4406
4407 2016-09-09  Johan K. Jensen  <johan_jensen@apple.com>
4408
4409         Unreviewed. Added myself to the list of committers.
4410
4411         * Scripts/webkitpy/common/config/contributors.json:
4412
4413 2016-09-09  Alex Christensen  <achristensen@webkit.org>
4414
4415         URLParser should convert ASCII hosts to lowercase
4416         https://bugs.webkit.org/show_bug.cgi?id=161820
4417
4418         Reviewed by Geoffrey Garen.
4419
4420         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4421         (TestWebKitAPI::TEST_F):
4422
4423 2016-09-09  Ryan Haddad  <ryanhaddad@apple.com>
4424
4425         Unreviewed, rolling out r205759.
4426
4427         This change broke all JSC tests
4428
4429         Reverted changeset:
4430
4431         "Add ChakraCore tests to run-javascriptcore-tests"
4432         https://bugs.webkit.org/show_bug.cgi?id=161808
4433         http://trac.webkit.org/changeset/205759
4434
4435 2016-09-09  Ryan Haddad  <ryanhaddad@apple.com>
4436
4437         Revert r205770 because Ricky is already a committer.
4438
4439         Unreviewed.
4440
4441         * Scripts/webkitpy/common/config/contributors.json:
4442
4443 2016-09-09  Ricky Mondello  <rmondello@apple.com>
4444
4445         Unreviewed. Added myself to the list of committers.
4446
4447         * Scripts/webkitpy/common/config/contributors.json:
4448
4449 2016-09-09  Alex Christensen  <achristensen@webkit.org>
4450
4451         URLParser: Fix and optimize parsing file URLs ending with a host but no slash
4452         https://bugs.webkit.org/show_bug.cgi?id=161815
4453
4454         Reviewed by Geoffrey Garen.
4455
4456         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4457         (TestWebKitAPI::TEST_F):
4458
4459 2016-09-08  Dean Jackson  <dino@apple.com>
4460
4461         Expose Apple Pencil data to Touch events
4462         https://bugs.webkit.org/show_bug.cgi?id=161783
4463         <rdar://problem/28218898>
4464
4465         Reviewed by Beth Dakin.
4466
4467         The values that IOHID expects are different from their
4468         documentation, and from what UITouch interprets. Tweak
4469         incoming data so it will produce the output we expect.
4470
4471        &nb