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