Undefined subroutine in svn-create-patch
[WebKit-https.git] / Tools / ChangeLog
1 2017-02-02  Jonathan Bedard  <jbedard@apple.com>
2
3         Undefined subroutine in svn-create-patch
4         https://bugs.webkit.org/show_bug.cgi?id=167742
5
6         Unreviewed build-fix after r211543.
7
8         * Scripts/VCSUtils.pm: fixSVNPatchForAdditionWithHistory was not exported.
9
10 2017-02-02  Xabier Rodriguez Calvar  <calvaris@igalia.com>
11
12         Unreviewed. Fix jhbuild dependencies build.
13
14         * gtk/patches/gst-plugins-good-0004-qtdemux-add-context-for-a-preferred-protection.patch:
15         Patch updated.
16
17 2017-02-02  Xabier Rodriguez Calvar  <calvaris@igalia.com>
18
19         [EME][GStreamer] Fixed decryptor selection
20         https://bugs.webkit.org/show_bug.cgi?id=167588
21
22         Reviewed by Žan Doberšek.
23
24         This patches are pending at https://bugzilla.gnome.org/show_bug.cgi?id=770107
25
26         * gtk/jhbuild.modules: Added patches to gstreamer and
27         gst-plugins-good packages.
28         * gtk/patches/gst-plugins-good-0004-qtdemux-add-context-for-a-preferred-protection.patch: Added.
29         * gtk/patches/gstreamer-0001-protection-added-function-to-filter-system-ids.patch: Added.
30
31 2017-02-01  Dewei Zhu  <dewei_zhu@apple.com>
32
33         Make run-benchmark script supports 'config' key in test plan.
34         https://bugs.webkit.org/show_bug.cgi?id=167715
35
36         Reviewed by Ryosuke Niwa.
37
38         Add support for 'config' key in test paln.
39         'config' key is a dictionary that specifies environment configurations while test is running.
40         Specifies orientation to be portrait in MotionMark benchmark.
41
42         * Scripts/webkitpy/benchmark_runner/README.md:
43         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
44         (BenchmarkRunner.__init__):
45         (BenchmarkRunner._run_benchmark):
46         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
47         (BrowserDriver.prepare_env):
48         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_browser_driver.py:
49         (LinuxBrowserDriver.prepare_env):
50         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
51         (OSXBrowserDriver.prepare_env):
52         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
53         (OSXSafariDriver.prepare_env):
54         * Scripts/webkitpy/benchmark_runner/data/plans/motionmark.plan:
55
56 2017-02-01  Daniel Bates  <dabates@apple.com>
57
58         REGRESSION (r210820): svn-create-patch does not emit property change only diff
59         https://bugs.webkit.org/show_bug.cgi?id=167169
60
61         Reviewed by David Kilzer.
62
63         More directly handle the SVN 1.9 or newer syntax change for a diff of a copied or moved file
64         - a SVN diff header and an empty body. In particular, remove a duplicate leading SVN diff
65         header from the output of "svn diff" on a file that was copied or moved.
66
67         Following r210820 svn-create-patch emits to standard output a diff only if it has at least one
68         chunk range line (e.g. @@ -0,0 +1,7 @@) as a means to workaround a syntax change in the diff
69         output of a copied or moved file in SVN version 1.9 or newer. In SVN 1.9 or newer "svn diff"
70         of a copied or moved file always emits to standard output a leading SVN diff header (an "Index:"
71         line followed by a separator line) with an empty body; => no chunk range lines. However a diff
72         of a file with only a property change also does not contain any chunk range lines. Therefore
73         svn-create-patch no longer emitted to standard output such a diff. Instead of indirectly detecting
74         a SVN diff header with an empty body by counting the number of chunk range lines in the diff
75         we should directly test for the presence of a leading SVN diff header with an empty body and
76         remove such lines from the diff.
77
78         * Scripts/VCSUtils.pm:
79         (fixSVNPatchForAdditionWithHistory): Added.
80         * Scripts/svn-create-patch:
81         (generateDiff): Pass the output from "svn diff" to fixSVNPatchForAdditionWithHistory() when
82         we have a non empty patch for an added file with history (i.e. a copied or moved file).
83         * Scripts/webkitperl/VCSUtils_unittest/fixSVNPatchForAdditionWithHistory.pl: Added.
84
85 2017-02-01  Eric Carlson  <eric.carlson@apple.com>
86
87         [Mac] Update CARingBuffer class
88         https://bugs.webkit.org/show_bug.cgi?id=167656
89
90         Reviewed by Jer Noble.
91
92         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
93         * TestWebKitAPI/Tests/WebCore/CARingBuffer.cpp: Added.
94         (TestWebKitAPI::CARingBufferTest::SetUp):
95         (TestWebKitAPI::CARingBufferTest::setup):
96         (TestWebKitAPI::CARingBufferTest::setListDataBuffer):
97         (TestWebKitAPI::CARingBufferTest::description):
98         (TestWebKitAPI::CARingBufferTest::bufferList):
99         (TestWebKitAPI::CARingBufferTest::ringBuffer):
100         (TestWebKitAPI::CARingBufferTest::capacity):
101         (TestWebKitAPI::CARingBufferTest::audioBufferListSizeForStream):
102         (TestWebKitAPI::CARingBufferTest::configureBufferListForStream):
103         (TestWebKitAPI::TEST_F):
104         (TestWebKitAPI::MixingTest::run):
105
106 2017-02-01  Alexey Proskuryakov  <ap@apple.com>
107
108         [Mac] TestWebKitAPI includes system frameworks incorrectly
109         https://bugs.webkit.org/show_bug.cgi?id=167703
110         rdar://problem/30301498
111
112         Reviewed by Ryosuke Niwa.
113
114         FRAMEWORK_SEARCH_PATH results in frameworks being treated as user ones, not system.
115         Make TestWebKitAPI use -iframework instead, like the rest of WebKit does.
116
117         Also, reduced the number of subframework search paths, looks like we only need one now.
118
119         * TestWebKitAPI/Configurations/Base.xcconfig:
120
121 2017-02-01  Brent Fulgham  <bfulgham@apple.com>
122
123         Correct "filesHaveSameVolume" predicate
124         https://bugs.webkit.org/show_bug.cgi?id=167696
125         <rdar://problem/30298722>
126
127         Reviewed by David Kilzer.
128
129         Add new tests that confirm that the 'filesHaveSamePath' predicate properly handles
130         percent-escaped path inputs.
131
132         * TestWebKitAPI/Tests/WebCore/FileSystem.cpp:
133         (TestWebKitAPI::FileSystemTest::spaceContainingFilePath):
134         (TestWebKitAPI::FileSystemTest::bangContainingFilePath):
135         (TestWebKitAPI::FileSystemTest::quoteContainingFilePath):
136         (TestWebKitAPI::TEST_F):
137
138 2017-02-01  Tomas Popela  <tpopela@redhat.com>
139
140         Unreviewed. Fix coding style in MiniBrowser
141
142         * MiniBrowser/gtk/BrowserWindow.c:
143         (editingCommandCallback):
144         (insertImageCommandCallback):
145         (insertLinkCommandCallback):
146
147 2017-02-01  Tomas Popela  <tpopela@redhat.com>
148
149         [GTK] Add an API to add a custom tab into the print dialog
150         https://bugs.webkit.org/show_bug.cgi?id=151998
151
152         Reviewed by Carlos Garcia Campos.
153
154         Add a new WebKitPrintOperation/custom-widget test in TestPrinting
155         that is testing a newly added API.
156
157         * TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
158         (testPrintCustomWidget):
159         (beforeAll):
160
161 2017-02-01  Enrique Ocaña González  <eocanha@igalia.com>
162
163         [GStreamer][MSE] qtdemux: Update the tfdt patch to the version finally accepted upstream
164         https://bugs.webkit.org/show_bug.cgi?id=166529
165
166         Reviewed by Xabier Rodriguez-Calvar.
167
168         * gtk/patches/gst-plugins-good-use-the-tfdt-decode-time.patch:
169         New patch version accepted in GStreamer upstream.
170
171 2017-02-01  Xabier Rodriguez Calvar  <calvaris@igalia.com>
172
173         [GTK] Install either libxfont1-dev or libxfont-dev as dependency
174         https://bugs.webkit.org/show_bug.cgi?id=167498
175
176         Reviewed by Carlos Garcia Campos.
177
178         Depending on the distro version you can need either libxfont1-dev
179         or libfont-dev to build with jhbuild.
180
181         * gtk/install-dependencies:
182
183 2017-01-31  Ryan Haddad  <ryanhaddad@apple.com>
184
185         Disable API test WebKit2.WKWebProcessPlugInRangeHandle
186         https://bugs.webkit.org/show_bug.cgi?id=167594
187
188         Unreviewed test gardening.
189
190         Disabling this test while we investigate the cause of a timeout on ios-simulator.
191
192         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleRangeHandle.mm:
193         (TEST):
194
195 2017-01-31  Filip Pizlo  <fpizlo@apple.com>
196
197         Move slow-running microbenchmarks out of JSTests/microbenchmarks
198         https://bugs.webkit.org/show_bug.cgi?id=167676
199
200         Reviewed by Saam Barati.
201
202         * Scripts/run-javascriptcore-tests:
203         (runJSCStressTests): Add slowMicrobenchmarks.yaml.
204
205 2017-01-31  Megan Gardner  <megan_gardner@apple.com>
206
207         Make Dump Render Tree not crash
208         https://bugs.webkit.org/show_bug.cgi?id=167667
209
210         DumpRenderTree is crashing when running WK2 tests that it's not supposed to be running. 
211         DumpRenderTree uses RunLoop::main.dispatch(), but that crashes because it's not set up on iOS.
212         So we're making use of RunWebThread, which is the correct thing to do on iOS, and it doesn't crash.
213         This does not fix any tests, it just fixes the crash.
214         
215         Reviewed by Simon Fraser.
216
217         * DumpRenderTree/TestRunner.cpp:
218         (TestRunner::callUIScriptCallback):
219
220 2017-01-31  Jonathan Bedard  <jbedard@apple.com>
221
222         Workaround for simctl install failing to report install failure
223         https://bugs.webkit.org/show_bug.cgi?id=167654
224
225         Reviewed by Daniel Bates.
226
227         simctl install will sometimes report success even though install has failed.
228         To workaround this bug, we attempt an app launch after install to ensure
229         install has succeeded.
230
231         * Scripts/webkitpy/xcode/simulator.py:
232         (Device.install_app): Attempt app launch after install, retry install if launch fails.
233         (Device.launch_app): Correct comment.
234
235 2017-01-31  Jonathan Bedard  <jbedard@apple.com>
236
237         Unreviewed webkitpy fix after r211405.
238
239         * Scripts/webkitpy/xcode/simulator.py:
240         (Device.launch_app): Remove @staticmethod on _log_debug_error.
241
242 2017-01-31  Carlos Garcia Campos  <cgarcia@igalia.com>
243
244         Unreviewed. Do not include libwebrtc and qunit in GTK+ tarballs.
245
246         * gtk/manifest.txt.in:
247
248 2017-01-31  Chris Fleizach  <cfleizach@apple.com>
249
250         AX: enable search predication for iOS
251         https://bugs.webkit.org/show_bug.cgi?id=167558
252         <rdar://problem/30251367>
253
254         Reviewed by Joanmarie Diggs.
255
256         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
257         (AccessibilityUIElement::uiElementForSearchPredicate):
258         * DumpRenderTree/mac/AccessibilityCommonMac.h:
259         * DumpRenderTree/mac/AccessibilityCommonMac.mm:
260         (searchPredicateParameterizedAttributeForSearchCriteria):
261         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
262         (searchPredicateParameterizedAttributeForSearchCriteria): Deleted.
263         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
264         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate):
265         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
266         * WebKitTestRunner/InjectedBundle/mac/AccessibilityCommonMac.h:
267         * WebKitTestRunner/InjectedBundle/mac/AccessibilityCommonMac.mm:
268         (WTR::searchPredicateParameterizedAttributeForSearchCriteria):
269         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
270         (WTR::searchPredicateParameterizedAttributeForSearchCriteria): Deleted.
271         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
272
273 2017-01-30  Jonathan Bedard  <jbedard@apple.com>
274
275         Workaround for simctl launch bug
276         https://bugs.webkit.org/show_bug.cgi?id=167613
277
278         Reviewed by Daniel Bates.
279
280         simctl launch will sometimes fail because of a race condition when many
281         simulators are being run simultaneously. These failures will always have
282         an exit code of 1. This change attempts to launch an app multiple times
283         before reporting a failure to workaround this bug.
284
285         * Scripts/webkitpy/xcode/simulator.py:
286         (Device.launch_app): Execute multiple launch attempts, better logging of failures.
287
288 2017-01-30  Alexey Proskuryakov  <ap@apple.com>
289
290         Commit queue fails to look at real name aliases for the reviewer
291         https://bugs.webkit.org/show_bug.cgi?id=167422
292
293         Reviewed by Joseph Pecoraro.
294
295         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
296         (test_has_valid_reviewer): Added tests.
297
298         * Scripts/webkitpy/common/config/committers.py:
299         (CommitterList._name_to_contributor_map):
300         Made _name_to_contributor_map include alias names.
301
302         * Scripts/webkitpy/common/config/committers_unittest.py:
303         (CommittersTest.test_contributors_by_fuzzy_match):
304         Removed subtests that are now obsolete, as these matches are strict. It is not
305         obvious if distance based fuzzy matching for names is useful at all, but we can
306         look into that some other time.
307
308 2017-01-30  Aakash Jain  <aakash_jain@apple.com>
309
310         QueueStatusServer should have an explicit timeout for _fetch_url
311         https://bugs.webkit.org/show_bug.cgi?id=167467
312
313         Reviewed by Alexey Proskuryakov.
314
315         * Scripts/webkitpy/common/net/statusserver.py:
316         (StatusServer._fetch_url): Add an explicit timeout of 300s.
317
318 2017-01-30  Kocsen Chung  <kocsen_chung@apple.com>
319
320         Add support for Trac instances that host multiple projects.
321         https://bugs.webkit.org/show_bug.cgi?id=167524
322
323         Reviewed by Alexey Proskuryakov.
324
325         When multiple projects are hosted on a single Trac instance, the current
326         behavior will retrieve changesets from all tracked projects.
327         This patch teaches Trac.js to get project-specific changesets from Trac.
328         We do this by replacing the parameter `changeset=on` to `repo-projectname=on`
329         when querying the Trac timeline.
330
331         To tell Trac to be aware of multi-project instances we leverage the 
332         `options` parameter when creating a new instance: 
333
334             new Trac("https://mytrac.com/", { projectIdentifier: "tracProjectName" });
335
336         If this option is not provided, the original behaviour will prevail.
337         Additionally, add corresponding tests.
338
339         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
340         (Trac): Reason about new optional parameter 'projectIdentifier'.
341         (Trac.prototype.revisionURL): Given a projectIdentifier, append it to the end of the URL.
342         (Trac.prototype._xmlTimelineURL): Given a projectIdentifier,
343         replace default parameter `changeset=on` with `repo-projectname=on`.
344         (Trac.prototype._convertCommitInfoElementToObject): Fix missing ';'.
345         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockTrac.js:
346         (MockTrac): Add support for instantiating Trac with a projectIdentifier.
347         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js:
348         (setup): Provide a multiple-project MockTrac instance to all test cases for testing.
349         Add the following tests:
350             test("revisionURL")
351             test("revisionURL with Trac Identifier")
352             test("_xmlTimelineURL")
353             test("_xmlTimelineURL with Trac Identifier")
354         (this.view._latestProductiveIteration): Fix missing ';'.
355
356 2017-01-30  Myles C. Maxfield  <mmaxfield@apple.com>
357
358         Correct spacing regression on inter-element complex path shaping on some fonts
359         https://bugs.webkit.org/show_bug.cgi?id=166013
360
361         Reviewed by Simon Fraser.
362
363         Unskip existing tests and make some new tests:
364         - Testing complex text with no origins
365         - Testing initial expansions
366         - Testing the sign of vertical advances
367
368         * TestWebKitAPI/Tests/WebCore/ComplexTextController.cpp:
369         (TestWebKitAPI::TEST_F):
370
371 2017-01-30  Carlos Alberto Lopez Perez  <clopez@igalia.com>
372
373         [GTK][EFL] Avoid using a thin directory to create the built product on the archive-built-product step.
374         https://bugs.webkit.org/show_bug.cgi?id=167596
375
376         Reviewed by Daniel Bates.
377
378         We avoid needing a thin directory by invoking the zip program with
379         the list of directories from the build directory to be zipped,
380         and by using the zip feature to exclude files matching a pattern.
381
382         * BuildSlaveSupport/built-product-archive:
383         (copyBuildFiles):
384         (createZipFromList):
385         (archiveBuiltProduct):
386
387 2017-01-30  Jonathan Bedard  <jbedard@apple.com>
388
389         Use simctl instead of LayoutTestRelay
390         https://bugs.webkit.org/show_bug.cgi?id=165927
391
392         Reviewed by Daniel Bates.
393
394         Part 1
395
396         LayoutTestRelay uses SPI, since recent versions of the iOS SDK allow for installing apps on
397         simulators through simctl (iOS 10 and later), use this functionality instead.
398
399         * Scripts/webkitpy/port/base.py:
400         (Port.__init__): Added _test_runner_process_constructor.
401         * Scripts/webkitpy/port/darwin.py:
402         (DarwinPort.app_identifier_from_bundle): Added function to extract bundle ID from plist.
403         * Scripts/webkitpy/port/driver.py:
404         (Driver._start): Pass worker_number to server_process so we can look up the correct simulator device to use.
405         (IOSSimulatorDriver): Deleted.
406         * Scripts/webkitpy/port/driver_unittest.py:
407         (DriverTest.test_stop_cleans_up_properly): Set _test_runner_process_constructor for testing.
408         (DriverTest.test_two_starts_cleans_up_properly): Ditto.
409         (DriverTest.test_start_actually_starts): Ditto.
410         * Scripts/webkitpy/port/ios.py:
411         (IOSSimulatorPort): Remove relay_name.
412         (IOSSimulatorPort.__init__): Set _test_runner_process_constructor to SimulatorProcess for IOSSimulatorPort.
413         (IOSSimulatorPort._create_simulators): Formatting change.
414         (IOSSimulatorPort.relay_path): Deleted.
415         (IOSSimulatorPort._check_relay): Deleted.
416         (IOSSimulatorPort._check_port_build): Deleted. Use base class implementation
417         (IOSSimulatorPort._build_relay): Deleted.
418         (IOSSimulatorPort._build_driver): Deleted. Use base class implementation
419         (IOSSimulatorPort._driver_class): Deleted. Use base class implementation
420         * Scripts/webkitpy/port/ios_unittest.py:
421         (iosTest.test_32bit): Update test.
422         (iosTest.test_64bit): Update test.
423         * Scripts/webkitpy/port/server_process.py:
424         (ServerProcess.__init__): Added argument worker_number. This class does not make use of it. We will make use of this argument in SimulatorProcess to lookup the associated simulator device.
425         (ServerProcess._set_file_nonblocking): Added to share common code.
426         * Scripts/webkitpy/port/server_process_mock.py:
427         (MockServerProcess.__init__): Added argument worker_number.
428         * Scripts/webkitpy/port/simulator_process.py: Added.
429         (SimulatorProcess): Added.
430         (SimulatorProcess.Popen): Added.
431         (SimulatorProcess.Popen.__init__): Added. Initialize Popen structure with stdin, stdout, stderr and pid.
432         (SimulatorProcess.Popen.poll): Added. Check if the process is running.
433         (SimulatorProcess.Popen.wait): Added. Wait for process to close.
434         (SimulatorProcess.__init__): Added. Install app to device specified through port and worker_number.
435         (SimulatorProcess._reset): Added. Unlink fifos.
436         (SimulatorProcess._start): Added. Launch app on simulator, link fifos.
437         (SimulatorProcess._kill): Added. Shutdown app on simulator.
438         * Scripts/webkitpy/xcode/simulator.py:
439         (Device.__init__): Accept host to run install/launch/terminate.
440         (Device.install_app): Install app to target Device.
441         (Device.launch_app): Launch app on target Device.
442         (Device.terminate_app): Shutdown app on target Device.
443         (Simulator._parse_devices): Pass host to Device.
444
445 2017-01-30  Carlos Alberto Lopez Perez  <clopez@igalia.com>
446
447         [GTK] pixman fails to compile on Raspberry Pi (GCC crash)
448         https://bugs.webkit.org/show_bug.cgi?id=167411
449
450         Reviewed by Michael Catanzaro.
451
452         Disable the ARM iwMMXt fast path for pixman, because it triggers
453         a GCC bug on the RPi with Raspbian/PIXEL causing a build failure.
454
455         * gtk/jhbuild.modules:
456
457 2017-01-30  Carlos Garcia Campos  <cgarcia@igalia.com>
458
459         [GTK] Add API to handle the accelerated compositing policy
460         https://bugs.webkit.org/show_bug.cgi?id=167509
461
462         Reviewed by Michael Catanzaro.
463
464         Handle new setting in MiniBrowser. The settings dialog doesn't support enum settings so it needs to be handled
465         as a special case. Also add test cases to the get/set API.
466
467         * MiniBrowser/gtk/BrowserSettingsDialog.c:
468         (hardwareAccelerationPolicyToString):
469         (stringToHardwareAccelerationPolicy):
470         (cellRendererChanged):
471         (browserSettingsDialogConstructed):
472         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
473         (testWebKitSettings):
474
475 2017-01-29  Andy Estes  <aestes@apple.com>
476
477         [QuickLook] Add a WebPreference to enable saving QuickLook documents in WebKitLegacy
478         https://bugs.webkit.org/show_bug.cgi?id=167563
479         <rdar://problem/30253207>
480
481         Reviewed by Andreas Kling.
482
483         * TestWebKitAPI/Tests/WebKit2Cocoa/QuickLook.mm:
484         (-[QuickLookNavigationDelegate _webView:didStartLoadForQuickLookDocumentInMainFrameWithFileName:uti:]):
485         (-[QuickLookNavigationDelegate _webView:didFinishLoadForQuickLookDocumentInMainFrame:]):
486         (runTest):
487         (-[QuickLookFrameLoadDelegate webView:didFinishLoadForFrame:]):
488         (TEST):
489
490 2017-01-29  Dan Bernstein  <mitz@apple.com>
491
492         [iOS] Expose WebCore::DataDetection::detectContentInRange WKWebProcessPlugInRangeHandle
493         https://bugs.webkit.org/show_bug.cgi?id=167565
494
495         Reviewed by Sam Weinig.
496
497         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
498         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleRangeHandle.mm: Added.
499         (-[BundleRangeHandleRemoteObject textFromBodyRange:]):
500         (-[BundleRangeHandleRemoteObject bodyInnerHTMLAfterDetectingData:]):
501         (TEST):
502         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleRangeHandlePlugIn.mm: Added.
503         (-[BundleRangeHandlePlugIn webProcessPlugIn:didCreateBrowserContextController:]):
504         (-[BundleRangeHandlePlugIn webProcessPlugInBrowserContextController:didFinishDocumentLoadForFrame:]):
505         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleRangeHandleProtocol.h: Added.
506
507 2017-01-28  Yoav Weiss  <yoav@yoav.ws>
508
509         Add Link Preload as an off-by-default experimental feature menu item.
510         https://bugs.webkit.org/show_bug.cgi?id=167201
511
512         Reviewed by Ryosuke Niwa.
513
514         * DumpRenderTree/mac/DumpRenderTree.mm:
515         (resetWebPreferencesToConsistentValues):
516         * DumpRenderTree/win/DumpRenderTree.cpp:
517         (resetWebPreferencesToConsistentValues):
518
519 2017-01-28  Joseph Pecoraro  <pecoraro@apple.com>
520
521         Add User Timing Experimental Feature
522         https://bugs.webkit.org/show_bug.cgi?id=167542
523         <rdar://problem/22746307>
524
525         Reviewed by Ryosuke Niwa.
526
527         * DumpRenderTree/mac/DumpRenderTree.mm:
528         (enableExperimentalFeatures):
529         (resetWebPreferencesToConsistentValues):
530         * DumpRenderTree/win/DumpRenderTree.cpp:
531         (enableExperimentalFeatures):
532
533 2017-01-28  Joseph Pecoraro  <pecoraro@apple.com>
534
535         Patch Review: EWS Bubbles wrap to multiple lines but can fit on one line
536         https://bugs.webkit.org/show_bug.cgi?id=167519
537
538         Reviewed by Ryosuke Niwa.
539
540         * QueueStatusServer/templates/statusbubble.html:
541         To measure the bubbleContainer's width, it must not be wrapping based
542         on its parent container. So when measuring the width temporarily set
543         the parent to a very large width so as to not artificially wrap us.
544         Restore the parent's width after measuring.
545
546 2017-01-27  Andy Estes  <aestes@apple.com>
547
548         [iOS] Add a test for _WKNSFileManagerExtras
549         https://bugs.webkit.org/show_bug.cgi?id=167478
550
551         Reviewed by Andreas Kling.
552
553         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
554         * TestWebKitAPI/Tests/WebKit2Cocoa/NSFileManagerExtras.mm: Added.
555         (expectAttributes):
556         (TEST):
557
558 2017-01-27  Keith Miller  <keith_miller@apple.com>
559
560         run-benchmarks should make sure it passes the test url to the right application
561         https://bugs.webkit.org/show_bug.cgi?id=167533
562
563         Reviewed by Joseph Pecoraro.
564
565         This fixes an issue when trying to run-benchmark script with the
566         system default browser set to STP. Previously, it would run
567         the test in STP rather than the provided build. Now, it should run
568         in the provided build.
569
570         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
571         (OSXSafariDriver.launch_url):
572
573 2017-01-27  Myles C. Maxfield  <mmaxfield@apple.com>
574
575         [Cocoa] Prepare ComplexTextController for unit testing
576         https://bugs.webkit.org/show_bug.cgi?id=167493
577
578         Reviewed by Simon Fraser.
579
580         Addressing post-review comments from Simon Fraser.
581
582         * TestWebKitAPI/Tests/WebCore/ComplexTextController.cpp:
583         (TestWebKitAPI::TEST_F):
584
585 2017-01-27  Myles C. Maxfield  <mmaxfield@apple.com>
586
587         [Cocoa] Prepare ComplexTextController for unit testing
588         https://bugs.webkit.org/show_bug.cgi?id=167493
589
590         Reviewed by Dean Jackson.
591
592         Create four unit tests.
593
594         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
595         * TestWebKitAPI/Tests/WebCore/ComplexTextController.cpp: Added.
596         (TestWebKitAPI::ComplexTextControllerTest::SetUp):
597         (TestWebKitAPI::TEST_F):
598
599 2017-01-26  Chris Dumez  <cdumez@apple.com>
600
601         Crash when navigating back to a page in PacheCache when one of its frames has been removed
602         https://bugs.webkit.org/show_bug.cgi?id=167421
603         <rdar://problem/30188490>
604
605         Reviewed by Darin Adler.
606
607         Add a new setting allowing layout tests to enable PageCache in a window
608         that has an opener, for convenience.
609
610         * DumpRenderTree/mac/DumpRenderTree.mm:
611         (resetWebPreferencesToConsistentValues):
612         * DumpRenderTree/win/DumpRenderTree.cpp:
613         (resetWebPreferencesToConsistentValues):
614         * WebKitTestRunner/TestController.cpp:
615         (WTR::TestController::resetPreferencesToConsistentValues):
616
617 2017-01-26  Keith Miller  <keith_miller@apple.com>
618
619         classInfo should take a VM so it is not materialized from the object on each call
620         https://bugs.webkit.org/show_bug.cgi?id=167424
621
622         Rubber Stamped by Michael Saboff.
623
624         Previously, classInfo() would get the VM from the target's
625         MarkedBlock.  Most callers already have a VM on hand, so it is
626         wasteful to compute the VM from the marked block every time. This
627         patch refactors some of the most common callers of classInfo(),
628         jsDynamicCast and inherits to take a VM as well.
629
630         * DumpRenderTree/TestRunner.cpp:
631         (setAudioResultCallback):
632
633 2017-01-26  Jer Noble  <jer.noble@apple.com>
634
635         Autoplay muted videos stop playback of any streaming app in the background
636         https://bugs.webkit.org/show_bug.cgi?id=163993
637         <rdar://problem/29020431>
638
639         Reviewed by Eric Carlson.
640
641         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
642         * TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm:
643         (TestWebKitAPI::TEST):
644         * TestWebKitAPI/Tests/WebKit/ios/video-with-muted-audio-and-webaudio.html: Added.
645
646 2017-01-26  Ryan Haddad  <ryanhaddad@apple.com>
647
648         Disable API test WebKit2.WebsitePoliciesPlayAfterPreventedAutoplay.
649         https://bugs.webkit.org/show_bug.cgi?id=167466
650
651         Unreviewed test gardening.
652
653         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
654         (TEST):
655
656 2017-01-26  Matt Rajca  <mrajca@apple.com>
657
658         Notify clients when the user plays media otherwise prevented from autoplaying
659         https://bugs.webkit.org/show_bug.cgi?id=167390
660
661         Reviewed by Alex Christensen.
662
663         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
664         * TestWebKitAPI/Tests/WebKit2/autoplay-with-controls.html: Added.
665         * TestWebKitAPI/Tests/WebKit2/js-play-with-controls.html: Added.
666         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
667         (didPlayMediaPreventedFromPlayingWithoutUserGesture):
668         (TEST):
669         * TestWebKitAPI/cocoa/TestWKWebView.h:
670         * TestWebKitAPI/cocoa/TestWKWebView.mm:
671         (-[TestWKWebViewHostWindow _mouseUpAtPoint:]):
672         (-[TestWKWebView waitForLoad]):
673         (-[TestWKWebView mouseUpAtPoint:]):
674         * WebKitTestRunner/TestController.cpp:
675         (WTR::TestController::createOtherPage):
676         (WTR::TestController::createWebViewWithOptions):
677
678 2017-01-26  Per Arne Vollan  <pvollan@apple.com>
679
680         Crash when setting custom scale factor.
681         https://bugs.webkit.org/show_bug.cgi?id=167369
682
683         Reviewed by Sam Weinig.
684
685         Added API test.
686
687         * TestWebKitAPI/PlatformWin.cmake:
688         * TestWebKitAPI/Tests/WebKit/win/ScaleWebView.cpp: Added.
689         (TestWebKitAPI::WebKitCreateInstance):
690         (TestWebKitAPI::ScaleWebView::SetUp):
691         (TestWebKitAPI::ScaleWebView::TearDown):
692         (TestWebKitAPI::TEST_F):
693
694 2017-01-25  Ryosuke Niwa  <rniwa@webkit.org>
695
696         run-benchmark nests MotionMark results by the suite name twice
697         https://bugs.webkit.org/show_bug.cgi?id=164948
698
699         Reviewed by Said Abou-Hallawa.
700
701         Use a single level MotionMark now that this is the name of the benchmark,
702         and we no longer have tests that aren't part of the MotionMark suite.
703
704         * Scripts/webkitpy/benchmark_runner/data/patches/MotionMark.patch:
705
706 2017-01-25  Ryan Haddad  <ryanhaddad@apple.com>
707
708         Unreviewed, rolling out r211193.
709
710         This change broke internal builds.
711
712         Reverted changeset:
713
714         "Notify clients when the user plays media otherwise prevented
715         from autoplaying"
716         https://bugs.webkit.org/show_bug.cgi?id=167390
717         http://trac.webkit.org/changeset/211193
718
719 2017-01-25  Matt Rajca  <mrajca@apple.com>
720
721         Notify clients when the user plays media otherwise prevented from autoplaying
722         https://bugs.webkit.org/show_bug.cgi?id=167390
723
724         Reviewed by Alex Christensen.
725
726         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
727         * TestWebKitAPI/Tests/WebKit2/autoplay-with-controls.html: Added.
728         * TestWebKitAPI/Tests/WebKit2/js-play-with-controls.html: Added.
729         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
730         (didPlayMediaPreventedFromPlayingWithoutUserGesture):
731         (TEST):
732         * TestWebKitAPI/cocoa/TestWKWebView.h:
733         * TestWebKitAPI/cocoa/TestWKWebView.mm:
734         (-[TestWKWebViewHostWindow _mouseUpAtPoint:]):
735         (-[TestWKWebView waitForLoad]):
736         (-[TestWKWebView mouseUpAtPoint:]):
737         * WebKitTestRunner/TestController.cpp:
738         (WTR::TestController::createOtherPage):
739         (WTR::TestController::createWebViewWithOptions):
740
741 2017-01-25  Matt Rajca  <mrajca@apple.com>
742
743         [ios-simulator] API test WebKit2.WebsitePoliciesAutoplayEnabled timing out
744         https://bugs.webkit.org/show_bug.cgi?id=167385
745
746         Reviewed by Alex Christensen.
747
748         * TestWebKitAPI/Tests/WebKit2/autoplay-check.html: Avoid arbitrary timeouts in favor of promises.
749         * TestWebKitAPI/Tests/WebKit2/autoplay-no-audio-check.html:
750         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
751         (TEST): Allow inline (rather than full screen) media playback on iOS.
752
753 2017-01-25  Carlos Garcia Campos  <cgarcia@igalia.com>
754
755         [GTK] Icon Database should be in private browsing mode for ephemeral web views
756         https://bugs.webkit.org/show_bug.cgi?id=167414
757
758         Reviewed by Michael Catanzaro.
759
760         Add a test case to check ephemeral web views don't write favicons to the database.
761
762         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp:
763         (ephemeralViewLoadChanged):
764         (testPrivateBrowsing):
765         (testFaviconDatabase):
766
767 2017-01-25  Carlos Garcia Campos  <cgarcia@igalia.com>
768
769         [GTK] Add a private browsing mode to MiniBrowser
770         https://bugs.webkit.org/show_bug.cgi?id=167413
771
772         Reviewed by Michael Catanzaro.
773
774         Add -p/--private command line option to create a private instance. Also add CTRL+SHIFT+P shortcut to create
775         private windows, even on non-private instances.
776
777         * MiniBrowser/gtk/BrowserWindow.c:
778         (webViewTitleChanged): Add [Private] to title window for private windows.
779         (webViewCreate): Pass web context to browser_window_new.
780         (openPrivateWindow): Create a new ephemeral web view and add it to a new window.
781         (browserWindowFinalize): Disconnect web context signal handlers.
782         (browser_window_init): Add shortcut for opening private window.
783         (browser_window_new): It now receives the context and connect to download-started here.
784         (browser_window_get_web_context): Return the context.
785         * MiniBrowser/gtk/BrowserWindow.h:
786         * MiniBrowser/gtk/main.c:
787         (createBrowserTab): Create the web view for the window web context.
788         (aboutDataScriptMessageReceivedCallback): Do not use the default web context, but the window one.
789         (aboutDataHandleRequest): Ditto.
790         (aboutURISchemeRequestCallback): Ditto.
791         (main): Create ephemeral web context if private command line option is used.
792
793 2017-01-25  Ryosuke Niwa  <rniwa@webkit.org>
794
795         collectMatchingElementsInFlatTree should not find elements inside an user agent shadow tree
796         https://bugs.webkit.org/show_bug.cgi?id=167409
797
798         Reviewed by Antti Koivisto.
799
800         Added a test case for collectMatchingElementsInFlatTree not finding elements inside an user agent shadow tree
801         as well as tests for the newly added matchingElementInFlatTree.
802
803         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakeAllShadowRootsOpen.cpp:
804         (TestWebKitAPI::runJavaScriptAlert):
805         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakeAllShadowRootsOpen_Bundle.cpp:
806         (TestWebKitAPI::InjectedBundleMakeAllShadowRootOpenTest::initialize):
807         * TestWebKitAPI/Tests/WebKit2/closed-shadow-tree-test.html:
808
809 2017-01-24  Carlos Garcia Campos  <cgarcia@igalia.com>
810
811         [GTK] Add API to create ephemeral web views and deprecate the private browsing setting
812         https://bugs.webkit.org/show_bug.cgi?id=167370
813
814         Reviewed by Michael Catanzaro.
815
816         Add several test cases of ephemeral web views.
817
818         * TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp:
819         (testWebViewAuthenticationStorage):
820         * TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp:
821         (ephemeralViewloadChanged):
822         (testCookieManagerEphemeral):
823         (beforeAll):
824         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp:
825         (testWebKitSettings):
826         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
827         (testWebContextEphemeral):
828         (ephemeralViewloadChanged):
829         (testWebContextProxySettings):
830         (beforeAll):
831         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
832         (ephemeralViewloadChanged):
833         (testWebViewEphemeral):
834         (beforeAll):
835         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebsiteData.cpp:
836         (ephemeralViewloadChanged):
837         (testWebsiteDataEphemeral):
838         (beforeAll):
839
840 2017-01-24  Alex Christensen  <achristensen@webkit.org>
841
842         REGRESSION (r208902): URLWithUserTypedString returns nil with file URLs
843         https://bugs.webkit.org/show_bug.cgi?id=167402
844
845         Reviewed by Ryosuke Niwa.
846
847         * TestWebKitAPI/Tests/WebCore/cocoa/URLExtras.mm:
848         (TestWebKitAPI::TEST):
849
850 2017-01-24  Zalan Bujtas  <zalan@apple.com>
851
852         Add simple line layout toggle to MiniBrowser
853         https://bugs.webkit.org/show_bug.cgi?id=167405
854
855         Reviewed by Andreas Kling.
856
857         * MiniBrowser/mac/SettingsController.h:
858         * MiniBrowser/mac/SettingsController.m:
859         (-[SettingsController _populateMenu]):
860         (-[SettingsController validateMenuItem:]):
861         (-[SettingsController toggleSimpleLineLayoutEnabled:]):
862         (-[SettingsController simpleLineLayoutEnabled]):
863         * MiniBrowser/mac/WK1BrowserWindowController.m:
864         (-[WK1BrowserWindowController didChangeSettings]):
865         * MiniBrowser/mac/WK2BrowserWindowController.m:
866         (-[WK2BrowserWindowController didChangeSettings]):
867
868 2017-01-24  Joseph Pecoraro  <pecoraro@apple.com>
869
870         WKR does not include my nick when commit-queue lands my patch
871         https://bugs.webkit.org/show_bug.cgi?id=167388
872
873         Reviewed by Ryosuke Niwa.
874
875         * Scripts/webkitpy/tool/commands/newcommitbot.py:
876         (NewCommitBot._summarize_commit_log):
877         * Scripts/webkitpy/tool/commands/newcommitbot_unittest.py:
878         Perform nickname insertion before grabbing "Patch by" details.
879         This way we can include the nickname with the full name.
880
881 2017-01-24  Joseph Pecoraro  <pecoraro@apple.com>
882
883         Fold USER_TIMING into WEB_TIMING and make it a RuntimeEnabledFeature
884         https://bugs.webkit.org/show_bug.cgi?id=167394
885
886         Reviewed by Ryosuke Niwa.
887
888         * Scripts/webkitperl/FeatureList.pm:
889         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
890
891 2017-01-24  Youenn Fablet  <youenn@apple.com>
892
893         [WebRTC] Use HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE for libwebrtc
894         https://bugs.webkit.org/show_bug.cgi?id=167353
895
896         Reviewed by Alex Christensen.
897
898         * Scripts/webkitpy/libwebrtc/generate_cmake.py:
899         (CMakeGenerator.initialize_targets):
900
901 2017-01-24  Michael Catanzaro  <mcatanzaro@igalia.com>
902
903         WKR should not confuse Miguel Gomez with Andres Gomez
904         https://bugs.webkit.org/show_bug.cgi?id=167389
905
906         Reviewed by Lucas Forschler.
907
908         Andres's email is a substring of Miguel's, causing WKR to credit Miguel's commits to
909         "mAndres Gomez". Fix this.
910
911         * Scripts/webkitpy/tool/commands/newcommitbot.py:
912         (NewCommitBot._summarize_commit_log): Be stricter about matching emails. SVN logs include a
913         space on each side of the email address, so expect both spaces to be there before
914         considering the email for replacement.
915         * Scripts/webkitpy/tool/commands/newcommitbot_unittest.py: Add a test.
916
917 2017-01-24  Matt Rajca  <mrajca@apple.com>
918
919         Pass down website autoplay policies to media elements
920         https://bugs.webkit.org/show_bug.cgi?id=167355
921
922         Reviewed by Alex Christensen.
923
924         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
925         * TestWebKitAPI/Tests/WebKit2/autoplay-check.html: Renamed from Tools/TestWebKitAPI/Tests/WebKit2/autoplayCheck.html to match our naming conventions.
926         * TestWebKitAPI/Tests/WebKit2/autoplay-no-audio-check.html: Added.
927         * TestWebKitAPI/Tests/WebKit2/test-without-audio-track.mp4: Added.
928         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
929         (-[AutoplayPoliciesDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
930         (TEST):
931
932 2017-01-24  Nan Wang  <n_wang@apple.com>
933
934         AX: Speak Selection does not work in an iframe
935         https://bugs.webkit.org/show_bug.cgi?id=166794
936         <rdar://problem/29913013>
937
938         Reviewed by Chris Fleizach.
939
940         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
941         (WTR::UIScriptController::retrieveSpeakSelectionContent):
942         (WTR::UIScriptController::accessibilitySpeakSelectionContent):
943         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
944         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
945         (WTR::UIScriptController::retrieveSpeakSelectionContent):
946         (WTR::UIScriptController::accessibilitySpeakSelectionContent):
947         * TestRunnerShared/UIScriptContext/UIScriptController.h:
948         * WebKitTestRunner/cocoa/TestRunnerWKWebView.h:
949         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
950         (-[TestRunnerWKWebView dealloc]):
951         (-[TestRunnerWKWebView _accessibilityDidGetSpeakSelectionContent:]):
952         (-[TestRunnerWKWebView accessibilityRetrieveSpeakSelectionContentWithCompletionHandler:]):
953         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
954         (WTR::UIScriptController::retrieveSpeakSelectionContent):
955         (WTR::UIScriptController::accessibilitySpeakSelectionContent):
956
957 2017-01-24  Daniel Bates  <dabates@apple.com>
958
959         StringView.split() should use an iterator design pattern instead of allocating a Vector
960         https://bugs.webkit.org/show_bug.cgi?id=163225
961
962         Reviewed by Darin Adler.
963
964         Add unit tests for StringView.split().
965
966         * TestWebKitAPI/Tests/WTF/StringView.cpp:
967         (TestWebKitAPI::stringViewFromLiteral): Moved to the top of the file so that it can be
968         used in the StringView.split() unit tests.
969         (TestWebKitAPI::stringViewFromUTF8): Ditto.
970         (TestWebKitAPI::vectorFromSplitResult): Convenience function to convert a StringView::SplitResult
971         object to a Vector of String objects.
972         (TestWebKitAPI::TEST): Added the following tests:
973             - WTF.StringViewSplitEmptyAndNullStrings
974             - WTF.StringViewSplitBasic
975             - WTF.StringViewSplitWithConsecutiveSeparators
976
977 2017-01-23  Anders Carlsson  <andersca@apple.com>
978
979         The Score Esports crashes on launch
980         https://bugs.webkit.org/show_bug.cgi?id=167338
981         rdar://problem/29948645
982
983         Reviewed by Dan Bernstein.
984
985         * TestWebKitAPI/Tests/WebKit2Cocoa/WKObject.mm:
986         (TestWebKitAPI::TEST):
987         Add a test.
988
989 2017-01-23  Carlos Garcia Campos  <cgarcia@igalia.com>
990
991         [GTK] Add API to WebKitWebsiteDataManager to handle website data
992         https://bugs.webkit.org/show_bug.cgi?id=146589
993
994         Reviewed by Michael Catanzaro.
995
996         Add about:data handler to MiniBrowser to manually test the website data API. Also add unit tests to test all the
997         new API, moving the WebKitWebsiteDataManager configuration API to the new file too.
998
999         * MiniBrowser/gtk/BrowserWindow.c:
1000         (webViewDecidePolicy):
1001         (newTabCallback):
1002         * MiniBrowser/gtk/main.c:
1003         (createBrowserTab):
1004         (aboutDataRequestFree):
1005         (aboutDataRequestNew):
1006         (aboutDataRequestForView):
1007         (websiteDataRemovedCallback):
1008         (websiteDataClearedCallback):
1009         (aboutDataScriptMessageReceivedCallback):
1010         (domainListFree):
1011         (aboutDataFillTable):
1012         (gotWebsiteDataCallback):
1013         (aboutDataHandleRequest):
1014         (aboutURISchemeRequestCallback):
1015         (main):
1016         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
1017         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
1018         (serverCallback):
1019         (beforeAll):
1020         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebsiteData.cpp: Added.
1021         (serverCallback):
1022         (WebsiteDataTest::WebsiteDataTest):
1023         (WebsiteDataTest::~WebsiteDataTest):
1024         (WebsiteDataTest::fetch):
1025         (WebsiteDataTest::remove):
1026         (WebsiteDataTest::clear):
1027         (testWebsiteDataConfiguration):
1028         (testWebsiteDataCache):
1029         (testWebsiteDataStorage):
1030         (testWebsiteDataDatabases):
1031         (testWebsiteDataAppcache):
1032         (beforeAll):
1033         (afterAll):
1034
1035 2017-01-23  Commit Queue  <commit-queue@webkit.org>
1036
1037         Unreviewed, rolling out r211062.
1038         https://bugs.webkit.org/show_bug.cgi?id=167354
1039
1040         broke API tests (Requested by alexchristensen on #webkit).
1041
1042         Reverted changeset:
1043
1044         "Pass down website autoplay policies to media elements"
1045         https://bugs.webkit.org/show_bug.cgi?id=167132
1046         http://trac.webkit.org/changeset/211062
1047
1048 2017-01-23  Alex Christensen  <achristensen@webkit.org>
1049
1050         URLParser should fail to parse percent-encoded invalid UTF-8 sequences
1051         https://bugs.webkit.org/show_bug.cgi?id=167330
1052
1053         Reviewed by Tim Horton.
1054
1055         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1056         (TestWebKitAPI::TEST_F):
1057
1058 2017-01-23  Alex Christensen  <achristensen@webkit.org>
1059
1060         Make URLs with non-special schemes and a query or fragment but no slash after the host more compatible
1061         https://bugs.webkit.org/show_bug.cgi?id=167317
1062
1063         Reviewed by Sam Weinig.
1064
1065         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1066         (TestWebKitAPI::TEST_F):
1067
1068 2017-01-23  Jonathan Bedard  <jbedard@apple.com>
1069
1070         svn-create-patch should emit properties when files are moved or copied
1071         https://bugs.webkit.org/show_bug.cgi?id=167264
1072
1073         Reviewed by Daniel Bates.
1074
1075         * Scripts/svn-create-patch:
1076         (manufacturePatchForAdditionWithHistory): Diff the source file against nothing to get properties.
1077
1078 2017-01-23  Youenn Fablet  <youenn@apple.com>
1079
1080         [WebRTC] Filter libwebrtc link flags
1081         https://bugs.webkit.org/show_bug.cgi?id=167287
1082
1083         Reviewed by Alex Christensen.
1084
1085         * Scripts/webkitpy/libwebrtc/generate_cmake.py:
1086         (CMakeGenerator._compute_link_flags):
1087         (CMakeGenerator._compute_link_flags.keep_flag):
1088         (CMakeGenerator._generate_compile_target_options):
1089
1090 2017-01-23  Youenn Fablet  <youennf@gmail.com>
1091
1092         [WebRTC] Make VP8 optional in libwebrtc
1093         https://bugs.webkit.org/show_bug.cgi?id=167257
1094
1095         Reviewed by Darin Adler.
1096
1097         * Scripts/webkitpy/libwebrtc/generate_cmake.py:
1098         (CMakeGenerator.remove_libvpx): Adding vp8_noop.cc to the build system.
1099
1100 2017-01-23  Jer Noble  <jer.noble@apple.com>
1101
1102         Video details does not apear and missing scrubber in Control Center
1103         https://bugs.webkit.org/show_bug.cgi?id=167233
1104
1105         Reviewed by Alex Christensen.
1106
1107         Refactor TestWKWebViewMac to work on PLATFORM(IOS). Add a new test to
1108         NowPlayingControlTests for iOS.
1109
1110         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1111         * TestWebKitAPI/Tests/WebKit2Cocoa/NowPlayingControlsTests.mm:
1112         (-[NowPlayingTestWebView setWindowVisible:]):
1113         (TestWebKitAPI::TEST):
1114         * TestWebKitAPI/Tests/WebKit2Cocoa/SnapshotStore.mm:
1115         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
1116         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewCandidateTests.mm:
1117         * TestWebKitAPI/cocoa/TestWKWebView.h: Renamed from Tools/TestWebKitAPI/mac/TestWKWebViewMac.h.
1118         * TestWebKitAPI/cocoa/TestWKWebView.mm: Renamed from Tools/TestWebKitAPI/mac/TestWKWebViewMac.mm.
1119         (SOFT_LINK_CLASS):
1120         (-[TestMessageHandler addMessage:withHandler:]):
1121         (-[TestMessageHandler userContentController:didReceiveScriptMessage:]):
1122         (__simulated_forceClickAssociatedEventsMask):
1123         (-[TestWKWebViewHostWindow _mouseDownAtPoint:simulatePressure:]):
1124         (-[TestWKWebViewHostWindow isKeyWindow]):
1125         (-[TestWKWebViewHostWindow makeKeyWindow]):
1126         (-[TestWKWebViewHostWindow resignKeyWindow]):
1127         (-[TestWKWebView initWithFrame:]):
1128         (-[TestWKWebView initWithFrame:configuration:]):
1129         (-[TestWKWebView _setUpTestWindow:]):
1130         (-[TestWKWebView performAfterReceivingMessage:action:]):
1131         (-[TestWKWebView loadTestPageNamed:]):
1132         (-[TestWKWebView synchronouslyLoadTestPageNamed:]):
1133         (-[TestWKWebView stringByEvaluatingJavaScript:]):
1134         (-[TestWKWebView waitForMessage:]):
1135         (-[TestWKWebView performAfterLoading:]):
1136         (-[TestWKWebView mouseDownAtPoint:simulatePressure:]):
1137         (-[TestWKWebView typeCharacter:]):
1138
1139 2017-01-21  Carlos Garcia Campos  <cgarcia@igalia.com>
1140
1141         Unreviewed. Bring back gtk-doc error messages after r209981.
1142
1143         Since r209981, if gtk-doc shows warnings the build fails but those warnings are not printed to stdout so it's
1144         impossible to know what's wrong.
1145
1146         * gtk/gtkdoc.py:
1147         (GTKDoc._run_command): Make print_output True by default again and use debug instead of info to log "Running" messages.
1148
1149 2017-01-20  Youenn Fablet  <youennf@gmail.com>
1150
1151         [WebRTC] Update build system to make G711 optional in libwebrtc
1152         https://bugs.webkit.org/show_bug.cgi?id=167256
1153
1154         Reviewed by Alex Christensen.
1155
1156         * Scripts/webkitpy/libwebrtc/generate_cmake.py:
1157         (CMakeGenerator.remove_webrtc_g711): Adding a missing file to the build system as this file includes generic pcm encoder functions.
1158
1159 2017-01-20  Joseph Pecoraro  <pecoraro@apple.com>
1160
1161         Cleanup RuntimeEnabledFeatures
1162         https://bugs.webkit.org/show_bug.cgi?id=167228
1163
1164         Reviewed by Simon Fraser.
1165
1166         * DumpRenderTree/mac/DumpRenderTree.mm:
1167         (enableExperimentalFeatures):
1168         (resetWebPreferencesToConsistentValues):
1169         (setWebPreferencesForTestOptions):
1170         (resetWebViewToConsistentStateBeforeTesting):
1171         * DumpRenderTree/win/DumpRenderTree.cpp:
1172         (enableExperimentalFeatures):
1173         (resetWebPreferencesToConsistentValues):
1174         More closely match WebKitTestRunner initialization of preferences
1175         for experimental features.
1176
1177 2017-01-20  Alex Christensen  <achristensen@webkit.org>
1178
1179         Build Fix for Windows DumpRenderTree after r210976
1180         https://bugs.webkit.org/show_bug.cgi?id=167115
1181
1182         * DumpRenderTree/win/DumpRenderTree.cpp:
1183         (resetWebPreferencesToConsistentValues):
1184
1185 2017-01-20  Joseph Pecoraro  <pecoraro@apple.com>
1186
1187         Remove outdated ENABLE(CSP_NEXT) build flag
1188         https://bugs.webkit.org/show_bug.cgi?id=167252
1189
1190         Reviewed by Brent Fulgham.
1191
1192         * Scripts/webkitperl/FeatureList.pm:
1193         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1194
1195 2017-01-20  Joseph Pecoraro  <pecoraro@apple.com>
1196
1197         Build Fix for Windows DumpRenderTree after r210976
1198
1199         * DumpRenderTree/win/DumpRenderTree.cpp:
1200         (resetWebPreferencesToConsistentValues):
1201
1202 2017-01-20  Antoine Quint  <graouts@apple.com>
1203
1204         Web Animations should be off by default and enabled as an experimental feature
1205         https://bugs.webkit.org/show_bug.cgi?id=167115
1206         <rdar://problem/30048963>
1207
1208         Reviewed by Joseph Pecoraro.
1209
1210         Turn Web Animations on in DRT.
1211
1212         * DumpRenderTree/mac/DumpRenderTree.mm:
1213         (resetWebPreferencesToConsistentValues):
1214         * DumpRenderTree/win/DumpRenderTree.cpp:
1215         (resetWebPreferencesToConsistentValues):
1216
1217 2017-01-20  Youenn Fablet  <youenn@apple.com>
1218
1219         [WebRTC] Add libwebrtc build infrastructure
1220         https://bugs.webkit.org/show_bug.cgi?id=167207
1221
1222         Reviewed by Alex Christensen.
1223
1224         Adding a script doing the libwebrtc project json to CMake file conversion.
1225
1226         * Scripts/generate-libwebrtc-cmake: Added.
1227         * Scripts/webkitpy/libwebrtc/__init__.py: Added.
1228         * Scripts/webkitpy/libwebrtc/generate_cmake.py: Added.
1229
1230 2017-01-20  Joseph Pecoraro  <pecoraro@apple.com>
1231
1232         Mini Browser: Show tooltip for Experimental Features
1233         https://bugs.webkit.org/show_bug.cgi?id=167225
1234
1235         Reviewed by Alex Christensen.
1236
1237         * MiniBrowser/mac/SettingsController.m:
1238         (-[SettingsController _populateMenu]):
1239         Include the full details string as a tooltip.
1240
1241 2017-01-20  Per Arne Vollan  <pvollan@apple.com>
1242
1243         [Win] Test output results should not be written twice.
1244         https://bugs.webkit.org/show_bug.cgi?id=167197
1245
1246         Reviewed by Brent Fulgham.
1247
1248         Prevent test output from being written twice by returning early from
1249         the dump() function, if it already has been called.
1250         This patch also adds a missing newline to a test output line. 
1251         
1252         * DumpRenderTree/win/DumpRenderTree.cpp:
1253         (dump):
1254
1255 2017-01-20  Antoine Quint  <graouts@apple.com>
1256
1257         [Modern Media Controls] Turn modern media controls on by default
1258         https://bugs.webkit.org/show_bug.cgi?id=165668
1259
1260         Reviewed by Dean Jackson.
1261
1262         Enabled modern media controls by default in test runners.
1263
1264         * DumpRenderTree/TestOptions.h:
1265         * WebKitTestRunner/TestOptions.h:
1266
1267 2017-01-19  Chris Dumez  <cdumez@apple.com>
1268
1269         iterable<> should be enabled on WK1
1270         https://bugs.webkit.org/show_bug.cgi?id=167221
1271         <rdar://problem/30108531>
1272
1273         Reviewed by Youenn Fablet.
1274
1275         * DumpRenderTree/mac/DumpRenderTree.mm:
1276         (resetWebPreferencesToConsistentValues):
1277         * DumpRenderTree/win/DumpRenderTree.cpp:
1278         (resetWebPreferencesToConsistentValues):
1279         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1280         (WTR::InjectedBundle::beginTesting):
1281         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1282         (WTR::TestRunner::setDOMIteratorEnabled): Deleted.
1283         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1284
1285 2017-01-19  Aakash Jain  <aakash_jain@apple.com>
1286
1287         Ensure status server logs go to log file
1288         https://bugs.webkit.org/show_bug.cgi?id=167210
1289
1290         Reviewed by Alexey Proskuryakov.
1291
1292         * Scripts/webkitpy/common/net/statusserver.py:
1293         (StatusServer.next_work_item): Change log level from debug to info in
1294         order to facilitate deubgging issues.
1295         (StatusServer.update_work_items): Same.
1296
1297 2017-01-19  Megan Gardner  <megan_gardner@apple.com>
1298
1299         Additional selection tests and interpolation fix
1300         https://bugs.webkit.org/show_bug.cgi?id=167171
1301
1302         Reviewed by Simon Fraser.
1303
1304         We weren't adding the final event when interpolating event streams.
1305
1306         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1307         (-[HIDEventGenerator interpolatedEvents:]):
1308
1309 2017-01-19  Myles C. Maxfield  <mmaxfield@apple.com>
1310
1311         [Cocoa] Variation fonts are erroneously disabled on iOS
1312         https://bugs.webkit.org/show_bug.cgi?id=167172
1313
1314         Reviewed by Simon Fraser.
1315
1316         OpenSource builders don't seem to understand sdk=embedded*.
1317
1318         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1319
1320 2017-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
1321
1322         Unreviewed. Fix GTK+ unit tests failing since r210531.
1323
1324         Avoid using paths to files that don't actually exist.
1325
1326         * TestWebKitAPI/Tests/WebKit2Gtk/TestConsoleMessage.cpp:
1327         (testWebKitConsoleMessageNetworkError):
1328         * TestWebKitAPI/Tests/WebKit2Gtk/TestContextMenu.cpp:
1329         (testContextMenuDefaultMenu):
1330         * TestWebKitAPI/Tests/WebKit2Gtk/resources/silence.mpg: Added.
1331         * TestWebKitAPI/Tests/WebKit2Gtk/resources/simple.json: Added.
1332         * TestWebKitAPI/Tests/WebKit2Gtk/resources/tracks.ogg: Added.
1333
1334 2017-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
1335
1336         [GTK] Provide API to set proxy settings
1337         https://bugs.webkit.org/show_bug.cgi?id=128674
1338
1339         Reviewed by Michael Catanzaro.
1340
1341         Add tests for new proxy settings API.
1342
1343         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
1344         (serverCallback):
1345         (ProxyTest::ProxyTest):
1346         (ProxyTest::~ProxyTest):
1347         (ProxyTest::loadURIAndGetMainResourceData):
1348         (ProxyTest::proxyServerPortAsString):
1349         (testWebContextProxySettings):
1350         (beforeAll):
1351
1352 2017-01-19  Timothy Hatcher  <timothy@hatcher.name>
1353
1354         Add back my old email address so old commits will still match it.
1355
1356         * Scripts/webkitpy/common/config/contributors.json:
1357
1358 2017-01-19  Timothy Hatcher  <timothy@hatcher.name>
1359
1360         Remove my old email address from contributors.json and watchlist.
1361
1362         * Scripts/validate-committer-lists:
1363         (CommitterListFromGit): Change the mapping to the correct email.
1364         * Scripts/webkitpy/common/config/contributors.json:
1365         * Scripts/webkitpy/common/config/watchlist:
1366
1367 2017-01-18  Ryan Haddad  <ryanhaddad@apple.com>
1368
1369         Unreviewed, rolling out r210848.
1370
1371         This change introduced media-related LayoutTest failures and
1372         crashes on macOS.
1373
1374         Reverted changeset:
1375
1376         "[Modern Media Controls] Turn modern media controls on by
1377         default"
1378         https://bugs.webkit.org/show_bug.cgi?id=165668
1379         http://trac.webkit.org/changeset/210848
1380
1381 2017-01-18  Andreas Kling  <akling@apple.com>
1382
1383         Document::securityOrigin() should return a reference.
1384         <https://webkit.org/b/167124>
1385
1386         Reviewed by Sam Weinig.
1387
1388         * TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp:
1389         (TestWebKitAPI::TEST_F):
1390
1391 2017-01-18  Per Arne Vollan  <pvollan@apple.com>
1392
1393         [Win] Clipboard tests are flaky.
1394         https://bugs.webkit.org/show_bug.cgi?id=167088
1395
1396         Reviewed by Brent Fulgham.
1397
1398         Tests involving the clipboard are flaky when running with multiple DRTs, since the clipboard is global. 
1399         We can fix this by assigning each DRT a separate window station (each window station has its own clipboard).
1400
1401         * DumpRenderTree/win/DumpRenderTree.cpp:
1402         (main):
1403
1404 2017-01-18  Antoine Quint  <graouts@apple.com>
1405
1406         [Modern Media Controls] Turn modern media controls on by default
1407         https://bugs.webkit.org/show_bug.cgi?id=165668
1408
1409         Reviewed by Dean Jackson.
1410
1411         Enabled modern media controls by default in test runners. 
1412
1413         * DumpRenderTree/TestOptions.h:
1414         * WebKitTestRunner/TestOptions.h:
1415
1416 2017-01-17  Michael Catanzaro  <mcatanzaro@igalia.com>
1417
1418         Unreviewed, rolling out r210834
1419         https://bugs.webkit.org/show_bug.cgi?id=165668
1420
1421         It introduced dozens of test timeouts.
1422
1423         Reverted changeset:
1424         "[Modern Media Controls] Turn modern media controls on by default"
1425         https://bugs.webkit.org/show_bug.cgi?id=165668
1426         http://trac.webkit.org/changeset/210834
1427
1428 2017-01-17  Antoine Quint  <graouts@apple.com>
1429
1430         [Modern Media Controls] Turn modern media controls on by default
1431         https://bugs.webkit.org/show_bug.cgi?id=165668
1432
1433         Reviewed by Dean Jackson.
1434
1435         Enabled modern media controls by default in test runners. 
1436
1437         * DumpRenderTree/TestOptions.h:
1438         * WebKitTestRunner/TestOptions.h:
1439
1440 2017-01-17  Chris Dumez  <cdumez@apple.com>
1441
1442         Document title changed twice when setting document.title
1443         https://bugs.webkit.org/show_bug.cgi?id=167065
1444
1445         Reviewed by Darin Adler.
1446
1447         Add WebKit2GTK API test that was written by Michael Catanzaro.
1448
1449         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1450         (testWebViewTitleChange):
1451         (beforeAll):
1452
1453 2017-01-17  Joseph Pecoraro  <pecoraro@apple.com>
1454
1455         ENABLE(USER_TIMING) Not Defined for Apple Windows or OS X Ports
1456         https://bugs.webkit.org/show_bug.cgi?id=116551
1457         <rdar://problem/13949830>
1458
1459         Reviewed by Alex Christensen.
1460
1461         * Scripts/webkitperl/FeatureList.pm:
1462         Remove stale RESOURCE_TIMING references which are now a runtime enabled feature
1463         that is part of the existing WEB_TIMING feature.
1464
1465         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1466
1467 2017-01-17  Jonathan Bedard  <jbedard@apple.com>
1468
1469         'webkit-patch post' no longer works with moved/copied files
1470         https://bugs.webkit.org/show_bug.cgi?id=166914
1471         <rdar://problem/29979707>
1472
1473         Reviewed by Daniel Bates.
1474
1475         SVN 1.9 has a bug where when a file has been moved or copied, the svn diff of the new
1476         file outputs only the "Index:" line with an empty body.  This workaround
1477         ignores such output from svn diff.  A issue has been filed with SVN, a link to the
1478         public email list tracking this bug is below.
1479         http://mail-archives.apache.org/mod_mbox/subversion-users/201701.mbox/%3cCF9BDE0A-7454-4405-8259-1120C6B76A03@apple.com%3e
1480         
1481
1482         * Scripts/svn-create-patch:
1483         (generateDiff): Ignore an "Index:" line with an empty body.
1484
1485 2017-01-16  Joseph Pecoraro  <pecoraro@apple.com>
1486
1487         Remove the REQUEST_ANIMATION_FRAME flag
1488         https://bugs.webkit.org/show_bug.cgi?id=156980
1489         <rdar://problem/25906849>
1490
1491         Reviewed by Simon Fraser.
1492
1493         * Scripts/webkitperl/FeatureList.pm:
1494         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1495
1496 2017-01-15  Sam Weinig  <sam@webkit.org>
1497
1498         Add the ability to use numbers in makeString()
1499         https://bugs.webkit.org/show_bug.cgi?id=167087
1500
1501         Reviewed by Darin Adler.
1502
1503         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1504         * TestWebKitAPI/Tests/WTF/StringConcatenate.cpp: Added.
1505         Add tests for StringConcatenate, focusing on new numeric additions.
1506
1507 2017-01-15  Michael Catanzaro  <mcatanzaro@igalia.com>
1508
1509         Unreviewed, remove stale comment.
1510
1511         This test was fixed by r163173.
1512
1513         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
1514
1515 2017-01-14  Yusuke Suzuki  <utatane.tea@gmail.com>
1516
1517         Annotate large string tests with largeHeap
1518         https://bugs.webkit.org/show_bug.cgi?id=167054
1519
1520         Reviewed by Filip Pizlo.
1521
1522         * Scripts/run-javascriptcore-tests:
1523         * Scripts/run-jsc-stress-tests:
1524
1525 2017-01-14  Joseph Pecoraro  <pecoraro@apple.com>
1526
1527         Remove stale references to ENABLE_ES6_GENERATORS and ENABLE_PROMISES
1528         https://bugs.webkit.org/show_bug.cgi?id=167043
1529
1530         Reviewed by Darin Adler.
1531
1532         * Scripts/webkitperl/FeatureList.pm:
1533
1534 2017-01-13  Joseph Pecoraro  <pecoraro@apple.com>
1535
1536         Remove ENABLE(DETAILS_ELEMENT) guards
1537         https://bugs.webkit.org/show_bug.cgi?id=167042
1538
1539         Reviewed by Alex Christensen.
1540
1541         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1542
1543 2017-01-13  Said Abou-Hallawa  <sabouhallawa@apple.com>
1544
1545         26 MotionMark performance tests failing
1546         https://bugs.webkit.org/show_bug.cgi?id=166854
1547
1548         Reviewed by Ryosuke Niwa.
1549
1550         Unrelated change. This is the last place that we need to rename Animometer
1551         to MotionMark.
1552
1553         * Scripts/webkitpy/common/config/watchlist:
1554
1555 2017-01-13  Yusuke Suzuki  <utatane.tea@gmail.com>
1556
1557         run-jsc-benchmarks' echo should have -e option
1558         https://bugs.webkit.org/show_bug.cgi?id=167009
1559
1560         Reviewed by Sam Weinig.
1561
1562         echo requires `-e` option to use escape sequence.
1563         Without it, in some environment (in my Fedora 25), the escape sequence is not
1564         recognized and just dumped as `\c` etc.
1565
1566         * Scripts/run-jsc-benchmarks:
1567
1568 2017-01-12  Chris Dumez  <cdumez@apple.com>
1569
1570         Add KEYBOARD_KEY_ATTRIBUTE / KEYBOARD_CODE_ATTRIBUTE to FeatureDefines.xcconfig
1571         https://bugs.webkit.org/show_bug.cgi?id=166995
1572
1573         Reviewed by Jer Noble.
1574
1575         Add KEYBOARD_KEY_ATTRIBUTE / KEYBOARD_CODE_ATTRIBUTE to FeatureDefines.xcconfig
1576         as some people are having trouble building without it.
1577
1578         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1579
1580 2017-01-12  Sam Weinig  <sam@webkit.org>
1581
1582         Add the ability to filter the set of bindings tests you want to run
1583         https://bugs.webkit.org/show_bug.cgi?id=166977
1584
1585         Reviewed by Tim Horton.
1586
1587         Allows doing things like:
1588             run-bindings-tests TestObj* TestCEReactions*
1589         
1590         to run only those tests that match the patterns.
1591
1592         * Scripts/run-bindings-tests:
1593         (main):
1594         Switch to using optparse and pass the remaining args as the filters.
1595
1596         * Scripts/webkitpy/bindings/main.py:
1597         (BindingsTests.__init__):
1598         Store the pattens.
1599
1600         (BindingsTests.test_matches_patterns):
1601         Add helper predicate to determine if a test should be run. When no
1602         patterns are present, all tests should run.
1603
1604         (BindingsTests.run_tests):
1605         Filter tests using the passed in patterns.
1606
1607 2017-01-12  Per Arne Vollan  <pvollan@apple.com>
1608
1609         Followup fix after r210503.
1610         https://bugs.webkit.org/show_bug.cgi?id=166887
1611
1612         Reviewed by Alex Christensen.
1613
1614         After <http://trac.webkit.org/changeset/210503>, test results are written to a
1615         duplicated file handle on Windows. This patch fixes the remaining call sites.
1616
1617         * DumpRenderTree/PixelDumpSupport.cpp:
1618         * DumpRenderTree/TestRunner.cpp:
1619         (TestRunner::waitToDumpWatchdogTimerFired):
1620         * DumpRenderTree/TestRunner.h:
1621         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1622         * DumpRenderTree/win/DumpRenderTree.cpp:
1623         * DumpRenderTree/win/DumpRenderTreeWin.h:
1624         * DumpRenderTree/win/TestRunnerWin.cpp:
1625         (TestRunner::setSpellCheckerLoggingEnabled):
1626
1627 2017-01-11  Megan Gardner  <megan_gardner@apple.com>
1628
1629         Add committer status for Megan
1630         https://bugs.webkit.org/show_bug.cgi?id=166954
1631
1632         Reviewed by Tim Horton.
1633
1634         Add committer status for Megan Gardner
1635
1636         * Scripts/webkitpy/common/config/contributors.json:
1637
1638 2017-01-11  Brent Fulgham  <bfulgham@apple.com>
1639
1640         Unreviewed test fix after r210599.
1641
1642         * TestWebKitAPI/Tests/WebKit2/WKPageIsPlayingAudio.cpp:
1643         (TestWebKitAPI::TEST): Remove debugging code that was causing a timeout.
1644
1645 2017-01-11  Brent Fulgham  <bfulgham@apple.com>
1646
1647         Unreviewed build fix after r210599.
1648
1649         Add missing files.
1650
1651         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.html: Added.
1652         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.mm: Added.
1653
1654 2017-01-11  Brent Fulgham  <bfulgham@apple.com>
1655
1656         File scheme should not allow access of a resource on a different volume.
1657         https://bugs.webkit.org/show_bug.cgi?id=158552
1658         <rdar://problem/15307582>
1659
1660         Reviewed by Alex Christensen.
1661
1662         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new files.
1663         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.html: Added.
1664         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.mm: Added.
1665
1666 2017-01-11  Ryan Haddad  <ryanhaddad@apple.com>
1667
1668         Unreviewed, rolling out r210571.
1669
1670         This change broke the 32-bit macOS build and caused LayoutTest
1671         failures.
1672
1673         Reverted changeset:
1674
1675         "File scheme should not allow access of a resource on a
1676         different volume."
1677         https://bugs.webkit.org/show_bug.cgi?id=158552
1678         http://trac.webkit.org/changeset/210571
1679
1680 2017-01-10  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1681
1682         [GTK] install-dependencies script misses gdb
1683         https://bugs.webkit.org/show_bug.cgi?id=166917
1684
1685         Reviewed by Michael Catanzaro.
1686
1687         gdb is needed for generating the crash logs.
1688
1689         * gtk/install-dependencies:
1690
1691 2017-01-10  Michael Catanzaro  <mcatanzaro@igalia.com>
1692
1693         [GTK] No way for applications to set notification permissions without waiting for permission request
1694         https://bugs.webkit.org/show_bug.cgi?id=163366
1695
1696         Reviewed by Carlos Garcia Campos.
1697
1698         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1699         (testWebViewNotification):
1700         (setInitialNotificationPermissionsAllowedCallback):
1701         (setInitialNotificationPermissionsDisallowedCallback):
1702         (testWebViewNotificationInitialPermissionAllowed):
1703         (testWebViewNotificationInitialPermissionDisallowed):
1704         (beforeAll):
1705         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
1706         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
1707         (WebViewTest::WebViewTest):
1708         (WebViewTest::initializeWebView):
1709         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h:
1710
1711 2017-01-10  Tim Horton  <timothy_horton@apple.com>
1712
1713         MobileMiniBrowser tests don't work by default
1714         https://bugs.webkit.org/show_bug.cgi?id=166910
1715
1716         Reviewed by Alex Christensen.
1717
1718         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/xcshareddata/xcschemes/MobileMiniBrowserUITests.xcscheme: Added.
1719         Add a shared scheme; the Makefile depends on the MobileMiniBrowserUITests scheme existing, at the very least.
1720
1721 2017-01-10  Brent Fulgham  <bfulgham@apple.com>
1722
1723         File scheme should not allow access of a resource on a different volume.
1724         https://bugs.webkit.org/show_bug.cgi?id=158552
1725         <rdar://problem/15307582>
1726
1727         Reviewed by Alex Christensen.
1728
1729         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new files.
1730         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.html: Added.
1731         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.mm: Added.
1732
1733 2017-01-10  Mark Lam  <mark.lam@apple.com>
1734
1735         Reverting run-jsc-stress-tests' $buildType to use string values.
1736         https://bugs.webkit.org/show_bug.cgi?id=166912
1737
1738         Rubber stamped by Filip Pizlo.
1739
1740         This is so that we can test for it in the tests e.g.
1741         //@ if $buildType == "debug" then runDefault("--maxSingleAllocationSize=1048576") else skip end
1742
1743         * Scripts/run-jsc-stress-tests:
1744
1745 2017-01-10  Ryosuke Niwa  <rniwa@webkit.org>
1746
1747         Temporarily add back the file removed in r210463 to unbreak internal bots.
1748
1749         * Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch: Copied from Tools/Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch.
1750
1751 2017-01-10  Jonathan Bedard  <jbedard@apple.com>
1752
1753         svn-apply failed to apply a patch (deleting file with svn property)
1754         https://bugs.webkit.org/show_bug.cgi?id=165953
1755
1756         Reviewed by Daniel Bates.
1757
1758         * Scripts/VCSUtils.pm:
1759         (parseSvnPropertyValue): The beginning of a diff will cause an early exit in the case of no empty newlines.
1760         * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl: Add tests without break between diffs for properties.
1761
1762 2017-01-10  Ryan Haddad  <ryanhaddad@apple.com>
1763
1764         Update flakiness dashboard configuration.
1765         https://bugs.webkit.org/show_bug.cgi?id=166869
1766
1767         Reviewed by Alexey Proskuryakov.
1768
1769         * TestResultServer/static-dashboards/builders.jsonp:
1770         * TestResultServer/static-dashboards/flakiness_dashboard.js:
1771
1772 2017-01-10  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1773
1774         [GTK] Stop honoring the environment variable USE_NATIVE_XDISPLAY
1775         https://bugs.webkit.org/show_bug.cgi?id=165232
1776
1777         Unreviewed follow-up patch after r210539 and r210523.
1778
1779         Instead of using that environment variable, the argument
1780         --display-server=xorg should be passed now.
1781
1782         The GTK+ performance bot was the only bot using this, and is
1783         already passing --display-server=xorg after r210539.
1784
1785         * Scripts/webkitpy/port/gtk.py:
1786         (GtkPort._driver_class):
1787
1788 2017-01-10  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1789
1790         [GTK] Add a new release test bot for Wayland and pass --display-server=xorg to the GTK Perf bot.
1791         https://bugs.webkit.org/show_bug.cgi?id=166872
1792
1793         Reviewed by Michael Catanzaro.
1794
1795         Add the new wayland release test bot as a test-only bot. It will download the built product from the release build-only bot.
1796         Define the required "--display-server=driver" in the bot additionalArguments config entry.
1797         Implement support for honoring additionalArguments on the RunGtkAPITests and RunAndUploadPerfTests steps.
1798         The step RunWebKitTests already has support for it.
1799
1800         * BuildSlaveSupport/build.webkit.org-config/config.json:
1801         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1802         (RunGtkAPITests.start):
1803         (RunAndUploadPerfTests.start):
1804         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
1805
1806 2017-01-09  Ryan Haddad  <ryanhaddad@apple.com>
1807
1808         Unreviewed, rolling out r210531.
1809
1810         This change broke the 32-bit macOS build and caused LayoutTest
1811         failures.
1812
1813         Reverted changeset:
1814
1815         "File scheme should not allow access of a resource on a
1816         different volume."
1817         https://bugs.webkit.org/show_bug.cgi?id=158552
1818         http://trac.webkit.org/changeset/210531
1819
1820 2017-01-09  Brent Fulgham  <bfulgham@apple.com>
1821
1822         File scheme should not allow access of a resource on a different volume.
1823         https://bugs.webkit.org/show_bug.cgi?id=158552
1824         <rdar://problem/15307582>
1825
1826         Reviewed by Alex Christensen.
1827
1828         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new files.
1829         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.html: Added.
1830         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.mm: Added.
1831
1832 2017-01-09  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1833
1834         [GTK][Wayland] Allow running the layout tests under a native Wayland environment.
1835         https://bugs.webkit.org/show_bug.cgi?id=165232
1836
1837         Reviewed by Michael Catanzaro.
1838
1839         Add a new WaylandDriver to run the tests in the user current wayland session.
1840
1841         Also merge all the configuration options for selecting the display server inside one
1842         switch --display-server=xvfb/xorg/wayland/weston (defaulting to xvfb).
1843
1844         This switch is supported on the scripts: run-gtk-tests, run-perf-tests and run-webkit-tests.
1845
1846         * Scripts/run-gtk-tests: Add missing logging.basicConfig() initialization for the error logger.
1847         (TestRunner._create_driver):
1848         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1849         (parse_args):
1850         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
1851         (PerfTestsRunner._parse_args):
1852         * Scripts/webkitpy/port/gtk.py:
1853         (GtkPort.__init__):
1854         (GtkPort._driver_class):
1855         (GtkPort._search_paths):
1856         * Scripts/webkitpy/port/waylanddriver.py: Added.
1857         (WaylandDriver):
1858         (WaylandDriver.check_driver):
1859         (WaylandDriver._setup_environ_for_test):
1860         (WaylandDriver._start):
1861
1862 2017-01-09  Andy Estes  <aestes@apple.com>
1863
1864         [QuickLook] Add a layout test for webkit.org/b/135651
1865         https://bugs.webkit.org/show_bug.cgi?id=166855
1866
1867         Reviewed by Andreas Kling.
1868
1869         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1870         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]): Added output for
1871         errors with code WebKitErrorCannotShowURL.
1872         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1873         (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame): Made the error output
1874         not specific to WebKit2 error codes.
1875
1876 2017-01-09  Antoine Quint  <graouts@apple.com>
1877
1878         Support webkit-test-runner key-value pairs in http tests in DumpRenderTree
1879         https://bugs.webkit.org/show_bug.cgi?id=166837
1880
1881         Reviewed by Alex Christensen.
1882
1883         We now correctly handle the --absolutePath argument in DumpRenderTree and use
1884         the provided value when trying to determine the path to the test file. Failing
1885         that, we use the computed URL or the raw path provided to cover all cases.
1886         
1887         This was tested in the context of https://bugs.webkit.org/show_bug.cgi?id=165668
1888         by applying this patch and seeing the number test failures dramatically reduced
1889         with WK1 due to the option to turn modern media controls off for older media controls
1890         tests.
1891
1892         * DumpRenderTree/DumpRenderTree.h:
1893         * DumpRenderTree/DumpRenderTreeCommon.cpp:
1894         (parseInputLine):
1895         * DumpRenderTree/TestOptions.h:
1896         * DumpRenderTree/TestOptions.mm:
1897         (TestOptions::TestOptions):
1898         * DumpRenderTree/mac/DumpRenderTree.mm:
1899         (runTest):
1900
1901 2017-01-09  Milan Crha  <mcrha@redhat.com>
1902
1903         prepare-ChangeLog: Correct help string for --style option
1904         https://bugs.webkit.org/show_bug.cgi?id=166725
1905
1906         Reviewed by Alexey Proskuryakov.
1907
1908         * Scripts/prepare-ChangeLog:
1909         (main):
1910
1911 2017-01-09  Lucas Forschler  <lforschler@apple.com>
1912
1913         https://bugs.webkit.org/show_bug.cgi?id=166839
1914         Add php7 support for macOS.
1915         Mirror the debian logic to look for a php7 module on disk, and return the appropriate apache config file.
1916
1917         Reviewed by Alexey Proskuryakov.
1918
1919         * Scripts/webkitpy/port/base.py:
1920         (Port._is_darwin_php_version_7):
1921         (Port._debian_php_version):
1922         (Port):
1923         (Port._darwin_php_version):
1924         (Port._apache_config_file_name_for_platform):
1925
1926 2017-01-06  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1927
1928         [GTK] Should support key and code properties on keyboard events
1929         https://bugs.webkit.org/show_bug.cgi?id=166759
1930
1931         Reviewed by Carlos Garcia Campos.
1932
1933         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
1934         (WTR::getGDKKeySymForKeyRef): add missing modifier keys which were being reported as 'l' and 'r' only
1935         on tests.
1936
1937 2017-01-06  Per Arne Vollan  <pvollan@apple.com>
1938
1939         [Win] Some tests are flaky because certain DLLs are writing to stdout.
1940         https://bugs.webkit.org/show_bug.cgi?id=166760
1941
1942         Reviewed by Darin Adler.
1943
1944         Some tests are flaky because certain DLLs are writing to stdout, giving incorrect test results.
1945         We can work around that by duplicating and redirecting stdout.
1946
1947         * DumpRenderTree/PixelDumpSupport.cpp:
1948         (dumpWebViewAsPixelsAndCompareWithExpected):
1949         (printPNG):
1950         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1951         (logEventProc):
1952         * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
1953         (DRTDesktopNotificationPresenter::showDesktopNotification):
1954         (DRTDesktopNotificationPresenter::cancelDesktopNotification):
1955         (DRTDesktopNotificationPresenter::requestNotificationPermission):
1956         * DumpRenderTree/win/DumpRenderTree.cpp:
1957         (dumpFrameScrollPosition):
1958         (dumpHistoryItem):
1959         (dumpBackForwardList):
1960         (dump):
1961         (runTest):
1962         (main):
1963         * DumpRenderTree/win/DumpRenderTreeWin.h:
1964         * DumpRenderTree/win/EditingDelegate.cpp:
1965         (EditingDelegate::shouldBeginEditingInDOMRange):
1966         (EditingDelegate::shouldEndEditingInDOMRange):
1967         (EditingDelegate::shouldInsertNode):
1968         (EditingDelegate::shouldInsertText):
1969         (EditingDelegate::shouldDeleteDOMRange):
1970         (EditingDelegate::shouldChangeSelectedDOMRange):
1971         (EditingDelegate::shouldApplyStyle):
1972         (EditingDelegate::shouldChangeTypingStyle):
1973         (EditingDelegate::doPlatformCommand):
1974         (EditingDelegate::webViewDidBeginEditing):
1975         (EditingDelegate::webViewDidChange):
1976         (EditingDelegate::webViewDidEndEditing):
1977         (EditingDelegate::webViewDidChangeTypingStyle):
1978         (EditingDelegate::webViewDidChangeSelection):
1979         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1980         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1981         (FrameLoadDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
1982         (FrameLoadDelegate::didChangeLocationWithinPageForFrame):
1983         (FrameLoadDelegate::didFailProvisionalLoadWithError):
1984         (FrameLoadDelegate::didCommitLoadForFrame):
1985         (FrameLoadDelegate::didReceiveTitle):
1986         (FrameLoadDelegate::didFinishLoadForFrame):
1987         (FrameLoadDelegate::didFailLoadWithError):
1988         (FrameLoadDelegate::willPerformClientRedirectToURL):
1989         (FrameLoadDelegate::didCancelClientRedirectForFrame):
1990         (FrameLoadDelegate::windowScriptObjectAvailable):
1991         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
1992         (FrameLoadDelegate::didHandleOnloadEventsForFrame):
1993         (FrameLoadDelegate::didDisplayInsecureContent):
1994         (FrameLoadDelegate::didRunInsecureContent):
1995         (FrameLoadDelegate::webViewProgressFinishedNotification):
1996         * DumpRenderTree/win/HistoryDelegate.cpp:
1997         (HistoryDelegate::didNavigateWithNavigationData):
1998         (HistoryDelegate::didPerformClientRedirectFromURL):
1999         (HistoryDelegate::didPerformServerRedirectFromURL):
2000         (HistoryDelegate::updateHistoryTitle):
2001         (HistoryDelegate::populateVisitedLinksForWebView):
2002         * DumpRenderTree/win/PolicyDelegate.cpp:
2003         (PolicyDelegate::decidePolicyForNavigationAction):
2004         (PolicyDelegate::unableToImplementPolicyWithError):
2005         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2006         (ResourceLoadDelegate::willSendRequest):
2007         (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
2008         (ResourceLoadDelegate::didReceiveResponse):
2009         (ResourceLoadDelegate::didFinishLoadingFromDataSource):
2010         (ResourceLoadDelegate::didFailLoadingWithError):
2011         * DumpRenderTree/win/TestRunnerWin.cpp:
2012         (TestRunner::addDisallowedURL):
2013         (TestRunner::originsWithApplicationCache):
2014         (TestRunner::setStorageDatabaseIdleInterval):
2015         (TestRunner::closeIdleLocalStorageDatabases):
2016         (TestRunner::copyDecodedHostName):
2017         (TestRunner::copyEncodedHostName):
2018         (TestRunner::numberOfPendingGeolocationPermissionRequests):
2019         (TestRunner::isGeolocationProviderActive):
2020         (TestRunner::pathToLocalResource):
2021         (TestRunner::setMockDeviceOrientation):
2022         (TestRunner::setMockGeolocationPosition):
2023         (TestRunner::setMockGeolocationPositionUnavailableError):
2024         (TestRunner::setSpatialNavigationEnabled):
2025         (TestRunner::setAutomaticLinkDetectionEnabled):
2026         (TestRunner::isCommandEnabled):
2027         (TestRunner::authenticateSession):
2028         (TestRunner::addChromeInputField):
2029         (TestRunner::removeChromeInputField):
2030         (TestRunner::focusWebView):
2031         (TestRunner::grantWebNotificationPermission):
2032         (TestRunner::denyWebNotificationPermission):
2033         (TestRunner::removeAllWebNotificationPermissions):
2034         (TestRunner::simulateWebNotificationClick):
2035         (TestRunner::imageCountInGeneralPasteboard):
2036         * DumpRenderTree/win/UIDelegate.cpp:
2037         (UIDelegate::runJavaScriptAlertPanelWithMessage):
2038         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2039         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2040         (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2041         (UIDelegate::webViewAddMessageToConsole):
2042         (UIDelegate::exceededDatabaseQuota):
2043         (UIDelegate::setStatusText):
2044         (UIDelegate::didPressMissingPluginButton):
2045
2046 2017-01-07  Tim Horton  <timothy_horton@apple.com>
2047
2048         Add a setting to create editable MiniBrowser windows by default
2049         https://bugs.webkit.org/show_bug.cgi?id=166806
2050
2051         Reviewed by Beth Dakin.
2052
2053         * MiniBrowser/mac/AppDelegate.m:
2054         (-[BrowserAppDelegate createBrowserWindowController:]):
2055         (-[BrowserAppDelegate applicationDidFinishLaunching:]):
2056         (-[BrowserAppDelegate _updateNewWindowKeyEquivalents]):
2057         * MiniBrowser/mac/SettingsController.h:
2058         * MiniBrowser/mac/SettingsController.m:
2059         (-[SettingsController _populateMenu]):
2060         (-[SettingsController validateMenuItem:]):
2061         (-[SettingsController toggleCreateEditorByDefault:]):
2062         (-[SettingsController createEditorByDefault]):
2063         Add a setting and update the key equivalents accordingly.
2064         Also make sure to make the right kind of window on launch.
2065
2066 2017-01-07  Tim Horton  <timothy_horton@apple.com>
2067
2068         Fix the 32-bit build.
2069
2070         * MiniBrowser/mac/BrowserWindowController.h:
2071         * MiniBrowser/mac/BrowserWindowController.m:
2072
2073 2017-01-07  Tim Horton  <timothy_horton@apple.com>
2074
2075         Fix the 32-bit build.
2076
2077         * MiniBrowser/mac/BrowserWindowController.m:
2078
2079 2017-01-07  Tim Horton  <timothy_horton@apple.com>
2080
2081         Make it possible to drop HTML files on the MiniBrowser icon
2082         https://bugs.webkit.org/show_bug.cgi?id=166802
2083
2084         Reviewed by Simon Fraser.
2085
2086         * MiniBrowser/mac/AppDelegate.m:
2087         (-[BrowserAppDelegate application:openFile:]):
2088         * MiniBrowser/mac/Info.plist:
2089         If you're using an editable window, the usual trick of dropping on the
2090         window doesn't work anymore (it makes an <attachment> instead).
2091
2092 2017-01-07  Tim Horton  <timothy_horton@apple.com>
2093
2094         MiniBrowser window gets smaller each time it is instantiated
2095         https://bugs.webkit.org/show_bug.cgi?id=166807
2096
2097         Reviewed by Andy Estes.
2098
2099         * MiniBrowser/mac/BrowserWindowController.m:
2100         (-[BrowserWindowController windowDidLoad]):
2101         * MiniBrowser/mac/BrowserWindow.xib:
2102         Turn on full-window content view support with IB, instead of waiting
2103         until after the views have been loaded. This seems to resolve the
2104         longstanding ever-shrinking-window problem.
2105
2106 2017-01-07  Tim Horton  <timothy_horton@apple.com>
2107
2108         Add indent/outdent items to MiniBrowser's new format menu
2109         https://bugs.webkit.org/show_bug.cgi?id=166805
2110
2111         Reviewed by Dan Bernstein.
2112
2113         * MiniBrowser/mac/MainMenu.xib:
2114
2115 2017-01-07  Tim Horton  <timothy_horton@apple.com>
2116
2117         Add a stock Format menu to MiniBrowser
2118         https://bugs.webkit.org/show_bug.cgi?id=166804
2119
2120         Reviewed by Andy Estes.
2121
2122         * MiniBrowser/mac/MainMenu.xib:
2123         Many of the features automatically work with editable web views.
2124         However, this seems to expose a bug where none of the font-related features
2125         (Cmd-B, for example) work until the first time the font panel is shown,
2126         per process, which will need to be investigated separately.
2127
2128 2017-01-07  Tim Horton  <timothy_horton@apple.com>
2129
2130         Remove unused applicationWillTerminate methods from MiniBrowser
2131         https://bugs.webkit.org/show_bug.cgi?id=166803
2132
2133         Reviewed by Andy Estes.
2134
2135         * MiniBrowser/mac/AppDelegate.m:
2136         (-[BrowserAppDelegate applicationWillTerminate:]): Deleted.
2137         * MiniBrowser/mac/BrowserWindowController.h:
2138         * MiniBrowser/mac/BrowserWindowController.m:
2139         (-[BrowserWindowController applicationTerminating]): Deleted.
2140         * MiniBrowser/mac/WK1BrowserWindowController.m:
2141         (-[WK1BrowserWindowController applicationTerminating]): Deleted.
2142         * MiniBrowser/mac/WK2BrowserWindowController.m:
2143         (-[WK2BrowserWindowController applicationTerminating]): Deleted.
2144
2145 2017-01-07  Tim Horton  <timothy_horton@apple.com>
2146
2147         Add the ability to create empty contentEditable windows in MiniBrowser
2148         https://bugs.webkit.org/show_bug.cgi?id=166801
2149
2150         Reviewed by Wenson Hsieh.
2151
2152         * MiniBrowser/mac/AppDelegate.h:
2153         * MiniBrowser/mac/AppDelegate.m:
2154         (-[BrowserAppDelegate createBrowserWindowController:]):
2155         (-[BrowserAppDelegate newWindow:]):
2156         (-[BrowserAppDelegate newEditorWindow:]):
2157         (-[BrowserAppDelegate openDocument:]):
2158         (-[BrowserAppDelegate _updateNewWindowKeyEquivalents]):
2159         * MiniBrowser/mac/BrowserWindowController.h:
2160         * MiniBrowser/mac/BrowserWindowController.m:
2161         (-[BrowserWindowController loadHTMLString:]):
2162         (-[BrowserWindowController toggleEditable:]):
2163         * MiniBrowser/mac/MainMenu.xib:
2164         * MiniBrowser/mac/WK1BrowserWindowController.m:
2165         (-[WK1BrowserWindowController awakeFromNib]):
2166         (-[WK1BrowserWindowController loadHTMLString:]):
2167         (-[WK1BrowserWindowController validateMenuItem:]):
2168         (-[WK1BrowserWindowController setEditable:]):
2169         (-[WK1BrowserWindowController updateTitle:]):
2170         * MiniBrowser/mac/WK2BrowserWindowController.m:
2171         (-[WK2BrowserWindowController awakeFromNib]):
2172         (-[WK2BrowserWindowController validateMenuItem:]):
2173         (-[WK2BrowserWindowController setEditable:]):
2174         (-[WK2BrowserWindowController updateTitle:]):
2175         (-[WK2BrowserWindowController loadHTMLString:]):
2176         Merge more functionality from WebEditingTester.
2177         Add two menu items for creating empty editable WebKit1/2 windows.
2178         Add a menu item to the Edit menu to toggle editability on any window.
2179
2180 2017-01-07  Tim Horton  <timothy_horton@apple.com>
2181
2182         Implement find-in-page in MiniBrowser
2183         https://bugs.webkit.org/show_bug.cgi?id=166799
2184
2185         Reviewed by Andy Estes.
2186
2187         * MiniBrowser/mac/BrowserWindow.xib:
2188         * MiniBrowser/mac/BrowserWindowController.h:
2189         * MiniBrowser/mac/BrowserWindowController.m:
2190         (-[BrowserWindowController find:]): Deleted.
2191         * MiniBrowser/mac/MainMenu.xib:
2192         * MiniBrowser/mac/WK1BrowserWindowController.m:
2193         (-[WK1BrowserWindowController toggleShrinkToFit:]):
2194         (-[WK1BrowserWindowController find:]): Deleted.
2195         * MiniBrowser/mac/WK2BrowserWindowController.m:
2196         (-[WK2BrowserWindowController awakeFromNib]):
2197         (-[WK2BrowserWindowController dealloc]):
2198         (-[WK2BrowserWindowController validateMenuItem:]):
2199         (-[WK2BrowserWindowController performTextFinderAction:]):
2200         (-[WK2BrowserWindowController findBarView]):
2201         (-[WK2BrowserWindowController setFindBarView:]):
2202         (-[WK2BrowserWindowController isFindBarVisible]):
2203         (-[WK2BrowserWindowController setFindBarVisible:]):
2204         (-[WK2BrowserWindowController contentView]):
2205         (-[WK2BrowserWindowController findBarViewDidChangeHeight]):
2206         (-[WK2BrowserWindowController performFindPanelAction:]): Deleted.
2207         (-[WK2BrowserWindowController find:]): Deleted.
2208         Implement find-in-page using WKWebView's conformance to the NSTextFinderClient
2209         protocol. At first glance, it's pretty broken, but vaguely works.
2210
2211 2017-01-07  Tim Horton  <timothy_horton@apple.com>
2212
2213         Share the implementation of MiniBrowser view hiding functionality
2214         https://bugs.webkit.org/show_bug.cgi?id=166800
2215
2216         Reviewed by Andy Estes.
2217
2218         * MiniBrowser/mac/BrowserWindowController.m:
2219         (-[BrowserWindowController showHideWebView:]):
2220         (-[BrowserWindowController removeReinsertWebView:]):
2221         * MiniBrowser/mac/WK1BrowserWindowController.m:
2222         (-[WK1BrowserWindowController showHideWebView:]): Deleted.
2223         (-[WK1BrowserWindowController removeReinsertWebView:]): Deleted.
2224         * MiniBrowser/mac/WK2BrowserWindowController.m:
2225         (-[WK2BrowserWindowController showHideWebView:]): Deleted.
2226         (-[WK2BrowserWindowController removeReinsertWebView:]): Deleted.
2227         Move the implementation of these two things to the shared superclass,
2228         since they don't depend on WebKit-specific things.
2229         Also, there was no reason to retain the (WK)WebView while it was unparented,
2230         as the BrowserWindowController maintains a reference the entire time.
2231
2232 2017-01-06  Andy Estes  <aestes@apple.com>
2233
2234         [Cocoa] Consolidate duplicate copies of WebArchiveDumpSupport in DRT and WKTR into WebCoreTestSupport
2235         https://bugs.webkit.org/show_bug.cgi?id=166789
2236
2237         Reviewed by Alex Christensen.
2238
2239         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2240         * DumpRenderTree/PlatformMac.cmake:
2241         * DumpRenderTree/cf/WebArchiveDumpSupport.cpp: Removed.
2242         * DumpRenderTree/cf/WebArchiveDumpSupport.h: Removed.
2243         * DumpRenderTree/mac/DumpRenderTree.mm:
2244         Called WebCoreTestSupport::createXMLStringFromWebArchiveData() instead of
2245         createXMLStringFromWebArchiveData().
2246         * DumpRenderTree/mac/WebArchiveDumpSupportMac.mm: Removed.
2247         * WebKitTestRunner/Configurations/Base.xcconfig:
2248         Added $(BUILT_PRODUCTS_DIR)/WebCoreTestSupport to HEADER_SEARCH_PATHS.
2249         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2250         (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
2251         Called WebCoreTestSupport::createXMLStringFromWebArchiveData() instead of
2252         createXMLStringFromWebArchiveData().
2253         * WebKitTestRunner/InjectedBundle/cocoa/WebArchiveDumpSupportCocoa.mm: Removed.
2254         * WebKitTestRunner/PlatformMac.cmake:
2255         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2256         * WebKitTestRunner/cf/WebArchiveDumpSupport.h: Removed.
2257
2258 2017-01-06  Tim Horton  <timothy_horton@apple.com>
2259
2260         Minor cleanups to IndentOutdentCommand and related code
2261         https://bugs.webkit.org/show_bug.cgi?id=166791
2262
2263         Reviewed by Simon Fraser.
2264
2265         * WebEditingTester/EditingOperations.m:
2266         (editingOperations):
2267         Add the outdent operation to WebEditingTester.
2268
2269 2017-01-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
2270
2271         Create a plan and a patch files for MotionMark and delete the Animometer's ones
2272         https://bugs.webkit.org/show_bug.cgi?id=166785
2273
2274         Reviewed by Ryosuke Niwa.
2275
2276         * Scripts/webkitpy/benchmark_runner/data/patches/MotionMark.patch: Renamed from Tools/Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch.
2277         * Scripts/webkitpy/benchmark_runner/data/plans/motionmark.plan: Renamed from Tools/Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan.
2278
2279 2017-01-06  Antoine Quint  <graouts@apple.com>
2280
2281         Support webkit-test-runner key-value pairs in http tests
2282         https://bugs.webkit.org/show_bug.cgi?id=149812
2283
2284         Reviewed by Alex Christensen.
2285
2286         We pass the absolute path for a test through to WKTR so that we can parse
2287         tests that are running as URLs for webkit-test-runner options.
2288
2289         * DumpRenderTree/DumpRenderTreeCommon.cpp:
2290         (parseInputLine):
2291
2292         Explicitly skip the --absolute-path option in DRT or else we'd crash.
2293
2294         * Scripts/webkitpy/port/driver.py:
2295         (Driver._command_from_driver_input):
2296
2297         Pass the absolute path to the file through the CLI.
2298
2299         * WebKitTestRunner/TestController.cpp:
2300         (WTR::updateTestOptionsFromTestHeader):
2301         (WTR::TestController::testOptionsForTest):
2302         (WTR::parseInputLine):
2303         (WTR::TestController::runTest):
2304         * WebKitTestRunner/TestController.h:
2305
2306 2017-01-06  Tim Horton  <timothy_horton@apple.com>
2307
2308         Warning about unconnectable outlets when opening a MiniBrowser window
2309         https://bugs.webkit.org/show_bug.cgi?id=166756
2310
2311         Reviewed by Dan Bernstein.
2312
2313         * MiniBrowser/mac/BrowserWindow.xib:
2314         When launching MiniBrowser, it says:
2315         Failed to connect (Share) outlet from (WK1BrowserWindowController) to
2316             (MBToolbarItem): missing setter or instance variable
2317         Failed to connect (shareButton) outlet from (WK1BrowserWindowController) to
2318             (NSButtonCell): missing setter or instance variable.
2319
2320         It looks like someone added the connection from the share button
2321         to the BrowserWindowController three times; only one of the connections
2322         is valid. Remove the other two.
2323
2324 2017-01-05  Keith Rollin  <krollin@apple.com>
2325
2326         Add WebCore::URL::protocolHostAndPort
2327         https://bugs.webkit.org/show_bug.cgi?id=166426
2328
2329         Reviewed by Alex Christensen.
2330
2331         Add test for protocolHostAndPort.
2332
2333         * TestWebKitAPI/Tests/WebCore/URL.cpp:
2334         (TestWebKitAPI::TEST_F):
2335
2336 2017-01-05  Per Arne Vollan  <pvollan@apple.com>
2337
2338         [Win] Archive test result is failing.
2339         https://bugs.webkit.org/show_bug.cgi?id=166720
2340
2341         Reviewed by Alex Christensen.
2342
2343         Deleting the layout test result folder is sometimes failing
2344         on Windows. This is not a critical error.
2345
2346         * BuildSlaveSupport/test-result-archive:
2347         (archiveTestResults):
2348
2349 2017-01-04  Tomas Popela  <tpopela@redhat.com>
2350
2351         [GTK] Minibrowser: Add printing support
2352         https://bugs.webkit.org/show_bug.cgi?id=165298
2353
2354         Open a print dialog when the Ctrl + P shortcut is pressed. If there is
2355         an error during the print, it's printed on the console.
2356
2357         Reviewed by Michael Catanzaro.
2358
2359         * MiniBrowser/gtk/BrowserWindow.c:
2360         (webKitPrintOperationFailedCallback):
2361         (printPage):
2362         (browser_window_init):
2363
2364 2017-01-04  Manuel Rego Casasnovas  <rego@igalia.com>
2365
2366         [css-grid] Fix crash clamping grid lines
2367         https://bugs.webkit.org/show_bug.cgi?id=166637
2368
2369         Reviewed by Darin Adler.
2370
2371         Creates new unit test to verify that the maximum tracks limit
2372         is used in GridPosition too.
2373
2374         * TestWebKitAPI/PlatformEfl.cmake:
2375         * TestWebKitAPI/PlatformGTK.cmake:
2376         * TestWebKitAPI/PlatformWin.cmake:
2377         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2378         * TestWebKitAPI/Tests/WebCore/GridPosition.cpp: Added.
2379         (TestWebKitAPI::TEST):
2380
2381 2017-01-04  Wenson Hsieh  <wenson_hsieh@apple.com>
2382
2383         Move editing history scripts to WebCore PrivateHeaders
2384         https://bugs.webkit.org/show_bug.cgi?id=166709
2385         <rdar://problem/29876612>
2386
2387         Reviewed by Dan Bernstein.
2388
2389         Update references to editing script files in WebCore that were moved.
2390
2391         * EditingHistory/EditingHistory.xcodeproj/project.pbxproj:
2392
2393 2017-01-04  Yusuke Suzuki  <utatane.tea@gmail.com>
2394
2395         Unreviewed, build fix after r210313 part 2
2396         https://bugs.webkit.org/show_bug.cgi?id=166676
2397
2398         Add 'U' suffix.
2399
2400         * TestWebKitAPI/Tests/WTF/StringView.cpp:
2401         (TestWebKitAPI::TEST):
2402         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
2403         (TestWebKitAPI::TEST):
2404
2405 2017-01-04  Yusuke Suzuki  <utatane.tea@gmail.com>
2406
2407         Limit thread name appropriately
2408         https://bugs.webkit.org/show_bug.cgi?id=166676
2409
2410         Reviewed by Sam Weinig.
2411
2412         * TestWebKitAPI/Tests/WTF/StringView.cpp:
2413         (TestWebKitAPI::TEST):
2414         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
2415         (TestWebKitAPI::TEST):
2416
2417 2017-01-04  Andy Estes  <aestes@apple.com>
2418
2419         [Cocoa] Teach SharedBuffer to return an NSArray of data segments to avoid flattening
2420         https://bugs.webkit.org/show_bug.cgi?id=166696
2421
2422         Reviewed by Tim Horton.
2423
2424         * TestWebKitAPI/PlatformGTK.cmake:
2425         * TestWebKitAPI/PlatformWin.cmake:
2426         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2427         * TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp: Moved class SharedBufferTest to SharedBufferTest.{cpp,h}.
2428         * TestWebKitAPI/Tests/WebCore/SharedBufferTest.cpp: Moved class SharedBufferTest from SharedBuffer.cpp.
2429         * TestWebKitAPI/Tests/WebCore/SharedBufferTest.h: Ditto.
2430         * TestWebKitAPI/Tests/WebCore/cocoa/SharedBuffer.mm: Added.
2431         (TestWebKitAPI::expectDataArraysEqual): Added a helper to assert that two NSArrays of NSData are equal.
2432         (TestWebKitAPI::TEST_F): Added a test for createNSDataArray.
2433
2434 2017-01-03  Brian Burg  <bburg@apple.com>
2435
2436         Web Inspector: teach the protocol generator about platform-specific types, events, and commands
2437         https://bugs.webkit.org/show_bug.cgi?id=166003
2438         <rdar://problem/28718990>
2439
2440         Reviewed by Joseph Pecoraro.
2441
2442         Teach run-inspector-generator-tests to generate test output using the platform name
2443         derived from the directory that the test is in. For example, tests in the /generic/
2444         subdirectory will pass `--platform generic` to generate-inspector-protocol-bindings.py.
2445
2446         * Scripts/webkitpy/inspector/main.py:
2447         (InspectorGeneratorTests.generate_from_json):
2448         (InspectorGeneratorTests.run_tests):
2449         (InspectorGeneratorTests.main):
2450
2451 2017-01-04  Csaba Osztrogonác  <ossy@webkit.org>
2452
2453         Unreviewed cmake buildfix after r210266.
2454
2455         * DumpRenderTree/PlatformMac.cmake:
2456
2457 2017-01-04  Tim Horton  <timothy_horton@apple.com>
2458
2459         Provide a setting for clients to always prefer low-power WebGL
2460         https://bugs.webkit.org/show_bug.cgi?id=166675
2461         <rdar://problem/29834093>
2462
2463         Reviewed by Dan Bernstein.
2464
2465         * MiniBrowser/mac/Info.plist:
2466         Have MiniBrowser claim to be a modern app that supports
2467         automatic graphics switching. WebKit needs to support automatic
2468         graphics switching, so our test app might as well. Without this
2469         Info.plist parameter, this change has no effect, and bringing up
2470         a WebGL context still brings up the discrete GPU (also true of the
2471         existing web-exposed preferLowPowerToHighPerformance API).
2472
2473 2017-01-03  Yusuke Suzuki  <utatane.tea@gmail.com>
2474
2475         WorkQueueGeneric's platformInvalidate() can deadlock when called on the RunLoop's thread
2476         https://bugs.webkit.org/show_bug.cgi?id=166645
2477
2478         Reviewed by Carlos Garcia Campos.
2479
2480         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
2481         (TestWebKitAPI::TEST):
2482
2483 2017-01-03  Andy Estes  <aestes@apple.com>
2484
2485         Place all the Cocoa WebCore API tests in the same directory
2486         https://bugs.webkit.org/show_bug.cgi?id=166673
2487
2488         Reviewed by Michael Catanzaro.
2489
2490         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2491         * TestWebKitAPI/Tests/WebCore/cocoa/SerializedCryptoKeyWrap.mm: Renamed from Tools/TestWebKitAPI/Tests/WebCore/SerializedCryptoKeyWrap.mm.
2492         * TestWebKitAPI/Tests/WebCore/cocoa/URLExtras.mm: Renamed from Tools/TestWebKitAPI/Tests/Cocoa/URLExtras.mm.
2493         * TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm: Renamed from Tools/TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm.
2494
2495 2017-01-03  Tim Horton  <timothy_horton@apple.com>
2496
2497         NSSpellChecker's recordResponse isn't called for unseen automatic corrections
2498         https://bugs.webkit.org/show_bug.cgi?id=166450
2499         <rdar://problem/29447824>
2500
2501         Reviewed by Darin Adler.
2502
2503         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2504         * DumpRenderTree/TestRunner.cpp:
2505         (TestRunner::staticFunctions):
2506         * DumpRenderTree/mac/TestRunnerMac.mm:
2507         (setSpellCheckerLoggingEnabledCallback):
2508         * DumpRenderTree/win/TestRunnerWin.cpp:
2509         (setSpellCheckerLoggingEnabledCallback):
2510         * DumpRenderTree/mac/DumpRenderTree.mm:
2511         (resetWebViewToConsistentStateBeforeTesting):
2512         * DumpRenderTree/mac/DumpRenderTreeSpellChecker.h: Added.
2513         * DumpRenderTree/mac/DumpRenderTreeSpellChecker.mm: Added.
2514         (stringForCorrectionResponse):
2515         (drt_NSSpellChecker_recordResponseToCorrection):
2516         (swizzleNSSpellCheckerMethodsIfNeeded):
2517         (setSpellCheckerLoggingEnabled):
2518         Add a new testRunner method, setSpellCheckerLoggingEnabled, which, when
2519         set to true, logs to stdout (which ends up in the test result) whenever
2520         NSSpellChecker recordResponse:toCorrection:forWord:language:inSpellDocumentWithTag:
2521         is called, and then calls the original method. It is reset to false between tests.
2522
2523 2017-01-03  Sam Weinig  <sam@webkit.org>
2524
2525         Make WTF::Expected support Ref template parameters
2526         https://bugs.webkit.org/show_bug.cgi?id=166662
2527
2528         Reviewed by Alex Christensen.
2529
2530         * TestWebKitAPI/Tests/WTF/Expected.cpp:
2531         (TestWebKitAPI::TEST):
2532         Add tests for using Ref with Expected.
2533
2534 2017-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
2535
2536         [GTK] Expose WebKitSecurityOrigin API
2537         https://bugs.webkit.org/show_bug.cgi?id=166632
2538
2539         Reviewed by Carlos Garcia Campos.
2540
2541         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
2542         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSecurityOrigin.cpp: Added.
2543         (testSecurityOriginBasicConstructor):
2544         (testSecurityOriginURIConstructor):
2545         (testSecurityOriginDefaultPort):
2546         (testSecurityOriginFileURI):
2547         (testSecurityOriginDataURI):
2548         (beforeAll):
2549         (afterAll):
2550
2551 2017-01-03  Carlos Garcia Campos  <cgarcia@igalia.com>
2552
2553         [GTK] HTTP auth layout tests are flaky
2554         https://bugs.webkit.org/show_bug.cgi?id=158919
2555
2556         Reviewed by Michael Catanzaro.
2557
2558         * gtk/jhbuild.modules: Update libsoup to version 2.57.1.
2559         * gtk/jhbuildrc: Stop passing --enable-introspection unconditionally to all modules. We don't really need
2560         introspection for the dependencies in the internal build, and it makes newer libsoup build fail because of
2561         missing valac in the bots.
2562
2563 2017-01-03  Carlos Garcia Campos  <cgarcia@igalia.com>
2564
2565         REGRESSION(r173753): [GTK] Source/WebKit is distributed in tarballs
2566         https://bugs.webkit.org/show_bug.cgi?id=165797
2567
2568         Reviewed by Michael Catanzaro.
2569
2570         Move directory ruleset after all exclude rules of Source rulset.
2571
2572         * gtk/manifest.txt.in:
2573
2574 2017-01-02  Yusuke Suzuki  <utatane.tea@gmail.com>
2575
2576         Leverage Substring to create new AtomicStringImpl for StaticStringImpl and SymbolImpl
2577         https://bugs.webkit.org/show_bug.cgi?id=166636
2578
2579         Reviewed by Darin Adler.
2580
2581         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2582         (TestWebKitAPI::TEST):
2583
2584 2017-01-02  Manuel Rego Casasnovas  <rego@igalia.com>
2585
2586         [GTK] WebCore/CSSParser unit test is not being built
2587         https://bugs.webkit.org/show_bug.cgi?id=166492
2588
2589         Reviewed by Michael Catanzaro.
2590
2591         This test was introduced in r175930, but we were not building
2592         it on GTK+ port since r176015.
2593         This patch marks the test to be built again on GTK+.
2594         JFTR, the test is passing right now.
2595
2596         * TestWebKitAPI/PlatformGTK.cmake: Add CSSParser.cpp test file and use
2597         ADD_WHOLE_ARCHIVE_TO_LIBRARIES to avoid linking errors.
2598
2599 2017-01-02  Chris Fleizach  <cfleizach@apple.com>
2600
2601         AX: Expose block quote level to iOS API
2602         https://bugs.webkit.org/show_bug.cgi?id=166629
2603         <rdar://problem/29834793>
2604
2605         Reviewed by Darin Adler.
2606
2607         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2608         (AccessibilityUIElement::numberAttributeValue):
2609         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2610         (WTR::AccessibilityUIElement::numberAttributeValue):
2611
2612 2016-12-31  Michael Catanzaro  <mcatanzaro@igalia.com>
2613
2614         SecurityOrigin::create triplet constructor does not canonicalize port
2615         https://bugs.webkit.org/show_bug.cgi?id=166624
2616
2617         Reviewed by Daniel Bates.
2618
2619         * TestWebKitAPI/PlatformGTK.cmake:
2620         * TestWebKitAPI/PlatformWin.cmake:
2621         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2622         * TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp: Added.
2623         (TestWebKitAPI::SecurityOriginTest::SetUp):
2624         (TestWebKitAPI::TEST_F):
2625
2626 2016-12-30  Michael Catanzaro  <mcatanzaro@igalia.com>
2627
2628         [GTK] Improve user agent construction
2629         https://bugs.webkit.org/show_bug.cgi?id=142074
2630
2631         Reviewed by Carlos Garcia Campos.
2632
2633         * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
2634         (TestWebKitAPI::assertUserAgentForURLHasChromeBrowserQuirk):
2635         (TestWebKitAPI::assertUserAgentForURLHasFirefoxBrowserQuirk):
2636         (TestWebKitAPI::assertUserAgentForURLHasLinuxPlatformQuirk):
2637         (TestWebKitAPI::assertUserAgentForURLHasMacPlatformQuirk):
2638         (TestWebKitAPI::TEST):
2639
2640 2016-12-27  Michael Catanzaro  <mcatanzaro@igalia.com>
2641
2642         [GTK] Improve user agent construction
2643         https://bugs.webkit.org/show_bug.cgi?id=142074
2644
2645         Reviewed by Carlos Garcia Campos.
2646
2647         * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
2648         (TestWebKitAPI::TEST):
2649
2650 2016-12-23  Simon Fraser  <simon.fraser@apple.com>
2651
2652         REGRESSION (r209299): Selection is broken when you zoom in webpage using trackpad
2653         https://bugs.webkit.org/show_bug.cgi?id=166472
2654         rdar://problem/29675551
2655
2656         Reviewed by Tim Horton.
2657
2658         These changes are necessary to allow the mouse to leave the WTR window while
2659         drag-scrolling, to test autoscroll. Previously, we were never calling -mouseDragged
2660         (which DRT does); we'd always go through mouseMoved, which hits an early return
2661         in WebViewImpl::mouseMoved() when the point is outside the view.
2662
2663         * WebKitTestRunner/mac/EventSenderProxy.mm:
2664         (WTR::EventSenderProxy::mouseMoveTo):
2665
2666 2016-12-23  Andy Estes  <aestes@apple.com>
2667
2668         [iOS] Fix some crashing webarchive tests
2669         https://bugs.webkit.org/show_bug.cgi?id=166470
2670
2671         Reviewed by Andreas Kling.
2672
2673         Tests that use TestRunner.dumpDOMAsWebArchive() crashed on iOS due to a stub implementation
2674         of WebArchiveDumpSupport in WebKitTestRunner. The Mac implementation works fine on iOS too,
2675         so this change uses that on both platforms.
2676
2677         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig: Removed
2678         WebArchiveDumpSupportMac.mm from EXCLUDED_SOURCE_FILE_NAMES.
2679         * WebKitTestRunner/InjectedBundle/cocoa/WebArchiveDumpSupportCocoa.mm: Renamed from
2680         Tools/WebKitTestRunner/mac/WebArchiveDumpSupportMac.mm.
2681         * WebKitTestRunner/PlatformMac.cmake:
2682         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2683         * WebKitTestRunner/ios/WebArchiveDumpSupportIOS.mm: Removed.
2684
2685 2016-12-22  Saam Barati  <sbarati@apple.com>
2686
2687         WebAssembly: Silence the output of the spec-tests
2688         https://bugs.webkit.org/show_bug.cgi?id=166417
2689
2690         Reviewed by Mark Lam.
2691
2692         * Scripts/run-jsc-stress-tests:
2693
2694 2016-12-22  Zhuo Li  <zachli@apple.com>
2695
2696         [Cocoa] SPI for setloadsImagesAutomatically.
2697         https://bugs.webkit.org/show_bug.cgi?id=166401.
2698
2699         Reviewed by Darin Adler.
2700
2701         * TestWebKitAPI/Tests/WebKit2Cocoa/Preferences.mm:
2702         (TEST): Test the _setLoadsImagesAutomatically SPI. By default,
2703         _loadsImagesAutomatically returns YES.
2704
2705 2016-12-22  Wenson Hsieh  <wenson_hsieh@apple.com>
2706
2707         fast/events/ios/viewport-shrink-to-fit-allows-double-tap.html is flaky/order dependent
2708         https://bugs.webkit.org/show_bug.cgi?id=161328
2709         <rdar://problem/28475977>
2710
2711         Reviewed by Darin Adler.
2712
2713         Running a test that scales the viewport and listens to a didEndZooming callback (such as
2714         viewport-shrink-to-fit-allows-double-tap.html) immediately after a test that may begin to trigger viewport
2715         scaling as the test completes (such as viewport-device-width-at-initial-scale-fast-clicks.html) may result in
2716         the didEndZooming callback of the latter test being fired early due to the previous test triggering a zoom
2717         animation. Ideally, -[WKScrollView _stopScrollingAndZoomingAnimations], which is called when committing the page
2718         load, should prevent this from happening, but from reading documentation and code inspection, this is not
2719         intended to fire any associated delegate methods or notifications of the UIScrollView, instead deferring them
2720         for later. Instead, what we need in this case is to clear out any started but not yet completed animations after
2721         we finish running a test and before we load the next test.
2722
2723         One way to do this is to remove all animations from the WKScrollView's layer, and the layers of its children,
2724         recursively. Doing so causes scrollViewDidEndZooming:withView:atScale: to fire at the end of the runloop if the
2725         previous test started zooming and then finished before zooming completed. Since this happens before the next
2726         test has a chance to run UI-side scripts, we won't end up firing this callback prematurely during the next test.
2727
2728         * WebKitTestRunner/ios/TestControllerIOS.mm:
2729         (WTR::TestController::platformResetStateToConsistentValues):
2730
2731 2016-12-22  Jer Noble  <jer.noble@apple.com>
2732
2733         Muted media element playback should not interrupt other audio playback
2734         https://bugs.webkit.org/show_bug.cgi?id=166347
2735
2736         Reviewed by Eric Carlson.
2737
2738         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2739         * TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm:
2740         (TestWebKitAPI::TEST):
2741         * TestWebKitAPI/Tests/WebKit/ios/video-with-muted-audio.html: Added.
2742
2743 2016-12-22  Alejandro G. Castro  <alex@igalia.com>
2744
2745         [WebRTC] Add support for runtime PeeConnection setting, required after r209757
2746         https://bugs.webkit.org/show_bug.cgi?id=166346
2747
2748         Reviewed by Carlos Garcia Campos.
2749
2750         Enable WebRTC by default to simplify testing.
2751
2752         * MiniBrowser/gtk/main.c:
2753         (main):
2754
2755 2016-12-21  Alexey Proskuryakov  <ap@apple.com>
2756
2757         REGRESSION: API test failure: WKWebView.LocalStorageClear
2758         https://bugs.webkit.org/show_bug.cgi?id=166032
2759         <rdar://problem/29758423>
2760
2761         Reviewed by Simon Fraser.
2762
2763         Add an @autoreleasepool around the code that allocates then clears the WKWebView, 
2764         to ensure that the view is destroyed before the callback fires.
2765
2766         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm:
2767         (TEST):
2768
2769 2016-12-21  Saam Barati  <sbarati@apple.com>
2770
2771         WebAssembly: Import spec tests
2772         https://bugs.webkit.org/show_bug.cgi?id=166395
2773
2774         Rubber stamped by Keith Miller.
2775
2776         * Scripts/run-jsc-stress-tests:
2777
2778 2016-12-21  Alexey Proskuryakov  <ap@apple.com>
2779
2780         REGRESSION: API test failure: _WKDownload.OriginatingWebView
2781         https://bugs.webkit.org/show_bug.cgi?id=166033
2782         <rdar://problem/29758428>
2783
2784         Reviewed by Simon Fraser.
2785
2786         Add an @autoreleasepool around the code that allocates the WKWebView, 
2787         so that it can be destroyed by removing the last reference in _downloadDidStart.
2788
2789         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
2790         (TEST):
2791
2792 2016-12-21  Daniel Bates  <dabates@apple.com>
2793
2794         WebKitTestRunner: Add comment to TestRunner::setCanOpenWindows()
2795         https://bugs.webkit.org/show_bug.cgi?id=166356
2796
2797         Add comment in TestRunner::setCanOpenWindows() to elaborate further on its purpose
2798         as a means to allow a test to explicit allow an embedding client to open a new windows
2799         such that the default behavior is for the embedding client to forbid such an action.
2800         The test plugins/get-url-with-blank-target.html assumes this default behavior though
2801         it is currently skipped on WebKit2 because questions were raised in the patch for
2802         <https://bugs.webkit.org/show_bug.cgi?id=43389> about its correctness and usefulness.
2803         We will need to implement TestRunner::setCanOpenWindows() should we decide to unskip
2804         this test.
2805
2806         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2807         (WTR::TestRunner::setCanOpenWindows):
2808
2809 2016-12-20  Simon Fraser  <simon.fraser@apple.com>
2810
2811         REGRESSION: API test failure: WKWebView.EvaluateJavaScriptBlockCrash
2812         https://bugs.webkit.org/show_bug.cgi?id=166031
2813
2814         Reviewed by Tim Horton.
2815         
2816         Add an @autoreleasepool around the code that allocates then clears the WKWebView, 
2817         to ensure that the view is destroyed before the callback fires.
2818
2819         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm:
2820
2821 2016-12-20  Megan Gardner  <megan_gardner@apple.com>
2822
2823         Throw Exception when test doesn't clean up HID Events properly
2824         https://bugs.webkit.org/show_bug.cgi?id=166271
2825
2826         Reviewed by Simon Fraser.
2827
2828         Add in a check when UIScriptController is deleted to make sure that the HID event
2829         callback dictionary is empty. If it is not, and a HID event is hit, this will cause
2830         the program to crash without any good information. Crashes are race-y, and will still
2831         happen with malformed test, but the information will be much more helpful. 
2832
2833         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
2834         (WTR::UIScriptController::checkForClean):
2835         * TestRunnerShared/UIScriptContext/UIScriptContext.cpp:
2836         (UIScriptContext::~UIScriptContext):
2837         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
2838         (WTR::UIScriptController::checkForClean):
2839         * TestRunnerShared/UIScriptContext/UIScriptController.h:
2840         * WebKitTestRunner/ios/HIDEventGenerator.h:
2841         * WebKitTestRunner/ios/HIDEventGenerator.mm:
2842         (-[HIDEventGenerator checkHIDCallbacksClear]):
2843         * WebKitTestRunner/ios/TestControllerIOS.mm:
2844         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2845         (WTR::UIScriptController::checkForClean):
2846
2847 2016-12-20  Andy Estes  <aestes@apple.com>
2848
2849         [Cocoa] REGRESSION (r209558): Calling decisionHandler multiple times in webView:decidePolicyForNavigationAction:decisionHandler: leads to a crash
2850         https://bugs.webkit.org/show_bug.cgi?id=165992
2851
2852         Reviewed by Brady Eidson.
2853
2854         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2855         * TestWebKitAPI/Tests/WebKit2Cocoa/DuplicateCompletionHandlerCalls.mm: Added.
2856         (expectException):
2857         (-[DuplicateCompletionHandlerCallsDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
2858         (-[DuplicateCompletionHandlerCallsDelegate webView:decidePolicyForNavigationResponse:decisionHandler:]):
2859         (-[DuplicateCompletionHandlerCallsDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
2860         (-[DuplicateCompletionHandlerCallsDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:]):
2861         (-[DuplicateCompletionHandlerCallsDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:]):
2862         (-[DuplicateCompletionHandlerCallsDelegate _webView:decideDatabaseQuotaForSecurityOrigin:currentQuota:currentOriginUsage:currentDatabaseUsage:expectedUsage:decisionHandler:]):
2863         (-[DuplicateCompletionHandlerCallsDelegate _webView:willSubmitFormValues:userObject:submissionHandler:]):
2864         (TEST):
2865         * TestWebKitAPI/Tests/WebKit2Cocoa/duplicate-completion-handler-calls.html: Added.
2866
2867 2016-12-20  Dean Jackson  <dino@apple.com>
2868
2869         Remove INDIE_UI
2870         https://bugs.webkit.org/show_bug.cgi?id=165881
2871         <rdar://problem/29672532>
2872
2873         Reviewed by Simon Fraser.
2874
2875         The Indie UI work has been discontinued.
2876
2877         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2878
2879 2016-12-19  Yusuke Suzuki  <utatane.tea@gmail.com>
2880
2881         [ES6] Enable ES6 Modules
2882         https://bugs.webkit.org/show_bug.cgi?id=165849
2883
2884         Reviewed by Geoffrey Garen.
2885
2886         * DumpRenderTree/mac/DumpRenderTree.mm:
2887         (resetWebPreferencesToConsistentValues):
2888         * DumpRenderTree/win/DumpRenderTree.cpp:
2889         (resetWebPreferencesToConsistentValues):
2890         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2891         (WTR::InjectedBundle::beginTesting):
2892         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2893         (WTR::TestRunner::setES6ModulesEnabled): Deleted.
2894         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2895
2896 2016-12-19  Ryan Haddad  <ryanhaddad@apple.com>
2897
2898         Repurpose bots and clean up dashboard.
2899         https://bugs.webkit.org/show_bug.cgi?id=166045
2900
2901         Reviewed by Lucas Forschler.
2902
2903         * BuildSlaveSupport/build.webkit.org-config/config.json:
2904         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
2905         (BubbleQueueServer):
2906         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
2907         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2908         (WebKitBuildbot):
2909         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2910         (table.queue-grid tr.platform.mac-os-x-yosemite img.logo): Deleted.
2911
2912 2016-12-19  Michael Catanzaro  <mcatanzaro@igalia.com>
2913
2914         [CMake] TestWebKitAPIBase links to itself
2915         https://bugs.webkit.org/show_bug.cgi?id=165985
2916
2917         Reviewed by Alex Christensen.
2918
2919         Fix CMake warning about a target linking to itself, which makes no sense.
2920
2921         * TestWebKitAPI/CMakeLists.txt:
2922
2923 2016-12-19  Michael Catanzaro  <mcatanzaro@igalia.com>
2924
2925         [GTK] GtkDoc build should be quieter
2926         https://bugs.webkit.org/show_bug.cgi?id=165994
2927
2928         Reviewed by Carlos Garcia Campos.
2929
2930         Make it not print by default.
2931
2932         * gtk/generate-gtkdoc:
2933         (get_generator_for_config):
2934         (generate_doc):
2935         * gtk/gtkdoc.py:
2936         (GTKDoc._run_command):
2937         (GTKDoc._copy_doc_files_to_output_dir):
2938
2939 2016-12-18  Simon Fraser  <simon.fraser@apple.com>
2940
2941         Expose a way for MiniBrowser to simulate header and footer banners
2942         https://bugs.webkit.org/show_bug.cgi?id=166005
2943
2944         Reviewed by Wenson Hsieh.
2945         
2946         Add a MiniBrowser menu item and setting to toggle adding space for header and footer
2947         banners. This only works in WebKit2.
2948         
2949         We need to reset these on each navigation, since newly created FrameViews
2950         don't re-fetch the header and footer height stored on Page.
2951         
2952         Also fix the signature of webView:didFinishNavigation: to follow API changes,
2953         as well as fixing webViewWebContentProcessDidTerminate:
2954
2955         * MiniBrowser/mac/SettingsController.h:
2956         * MiniBrowser/mac/SettingsController.m:
2957         (-[SettingsController _populateMenu]):
2958         (-[SettingsController validateMenuItem:]):
2959         (-[SettingsController toggleReserveSpaceForBanners:]):
2960         (-[SettingsController isSpaceReservedForBanners]):
2961         * MiniBrowser/mac/WK2BrowserWindowController.m:
2962         (-[WK2BrowserWindowController didChangeSettings]):
2963         (-[WK2BrowserWindowController webView:didFinishNavigation:]):
2964         (-[WK2BrowserWindowController webViewWebContentProcessDidTerminate:]):
2965         (-[WK2BrowserWindowController webView:didFinishLoadingNavigation:]): Deleted.
2966         (-[WK2BrowserWindowController _webViewWebProcessDidCrash:]): Deleted.
2967
2968 2016-12-17  Simon Fraser  <simon.fraser@apple.com>
2969
2970         Fix iOS test results after r209967.
2971         
2972         Subtracting out the status bar height was erroneously happening for all tests,
2973         not just for flexible viewport tests.
2974         
2975         Fix by plumbing WebViewSizingMode through resizeTo() and setWindowFrame().
2976
2977         * WebKitTestRunner/PlatformWebView.h:
2978         * WebKitTestRunner/TestController.cpp:
2979         (WTR::TestController::resetStateToConsistentValues):
2980         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
2981         (WTR::PlatformWebView::resizeTo):
2982         (WTR::PlatformWebView::setWindowFrame):
2983         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
2984         (WTR::PlatformWebView::resizeTo):
2985         (WTR::PlatformWebView::setWindowFrame):
2986         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2987         (WTR::PlatformWebView::resizeTo):
2988         (WTR::PlatformWebView::setWindowFrame):
2989         * WebKitTestRunner/ios/TestControllerIOS.mm:
2990         (WTR::TestController::platformConfigureViewForTest):
2991         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2992         (WTR::PlatformWebView::resizeTo):
2993         (WTR::PlatformWebView::setWindowFrame):
2994
2995 2016-12-17  Joonghun Park  <jh718.park@samsung.com>
2996
2997         [EFL] bump EFL version to 1.18.4
2998         https://bugs.webkit.org/show_bug.cgi?id=166004
2999
3000         Reviewed by Gyuyoung Kim.
3001
3002         * efl/jhbuild.modules: Use efl-1.18.4 instead of 1.18.1.
3003
3004 2016-12-17  Wenson Hsieh  <wenson_hsieh@apple.com>
3005
3006         Visual viewports: bottom fixed elements disappear behind the keyboard
3007         https://bugs.webkit.org/show_bug.cgi?id=165983
3008         <rdar://problem/29409852>
3009
3010         Reviewed by Simon Fraser.
3011
3012         Add support for UIScriptController.inputViewBounds, which UI-side scripts may use to fetch the bounding rect of
3013         the keyboard when it is up.
3014
3015         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
3016         (WTR::UIScriptController::inputViewBounds):
3017         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
3018         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
3019         (WTR::UIScriptController::inputViewBounds):
3020         * TestRunnerShared/UIScriptContext/UIScriptController.h:
3021         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3022         (WTR::viewRectForWindowRect):
3023
3024         Previously, we accounted for the status bar height by translating the entire web view down by the height of the
3025         status bar. However, we did not shrink the height of the web view itself, which means that for tests which
3026         involve scrolling past the end of the document, the bottom strip of the web view is out of bounds of the window.
3027
3028         (WTR::PlatformWebView::PlatformWebView):
3029         (WTR::PlatformWebView::setWindowFrame):
3030         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3031         (WTR::UIScriptController::inputViewBounds):
3032
3033 2016-12-16  Ryosuke Niwa  <rniwa@webkit.org>
3034
3035         Deleting a character converted from pinyin after an image causes a Safari crash
3036         https://bugs.webkit.org/show_bug.cgi?id=165839
3037         <rdar://problem/27951933>
3038
3039         Reviewed by Wenson Hsieh.
3040
3041         Add a WebKit API test to call attributedSubstringForProposedRange on a WKWebView
3042         while the proposed range contains an image. This should not cause a WebProcess to crash
3043         or send an invalid message to the UIProcess.
3044
3045         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3046         * TestWebKitAPI/Tests/WebKit2/chinese-character-with-image.html: Added.
3047         * TestWebKitAPI/Tests/WebKit2/mac/AttributedSubstringForProposedRangeWithImage.mm: Added.
3048         (TestWebKitAPI::didFinishLoadForFrame):
3049         (TestWebKitAPI::processDidCrash):
3050         (TestWebKitAPI::invalidMessageFunction):
3051         (TestWebKitAPI::WebKit2.AttributedSubstringForProposedRangeWithImage):
3052
3053 2016-12-16  Wenson Hsieh  <wenson_hsieh@apple.com>
3054
3055         Visual viewports: carets and selection UI are incorrectly positioned when editing fixed elements
3056         https://bugs.webkit.org/show_bug.cgi?id=165767
3057         <rdar://problem/29602382>
3058
3059         Reviewed by Simon Fraser.
3060
3061         Introduces two new UIScriptController methods: doAfterWebPageIsInStableState and textSelectionCaretRect. See
3062         WebKit2 ChangeLog for more details.
3063
3064         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
3065         (WTR::UIScriptController::doAfterNextStablePresentationUpdate):
3066         (WTR::UIScriptController::textSelectionCaretRect):
3067         * DumpRenderTree/mac/UIScriptControllerMac.mm:
3068         (WTR::UIScriptController::doAfterNextStablePresentationUpdate):
3069         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
3070         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
3071         (WTR::UIScriptController::doAfterNextStablePresentationUpdate):
3072         (WTR::UIScriptController::textSelectionCaretRect):
3073         * TestRunnerShared/UIScriptContext/UIScriptController.h:
3074         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
3075         (-[TestRunnerWKWebView _setStableStateOverride:]):
3076
3077         Force the WKWebView to update its visible content rects when changing the stable state override.
3078
3079         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3080         (WTR::toNSDictionary):
3081         (WTR::UIScriptController::doAfterNextStablePresentationUpdate):
3082         (WTR::UIScriptController::selectionRangeViewRects):
3083         (WTR::UIScriptController::textSelectionCaretRect):
3084         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
3085         (WTR::UIScriptController::doAfterNextStablePresentationUpdate):
3086
3087 2016-12-15  Brent Fulgham  <bfulgham@apple.com>
3088
3089         Arguments called in wrong order
3090         https://bugs.webkit.org/show_bug.cgi?id=165923
3091
3092         Reviewed by Simon Fraser.
3093
3094         The 'audioDeviceUIDs' array is being passed to the argument that expects video devices,
3095         and the 'videoDeviceUIDs' array is being passed to the audo device argument. Fix this.
3096
3097         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
3098         (TestWebKitAPI::decidePolicyForUserMediaPermissionRequestCallBack): The
3099         order of arguments to WKUserMediaPermissionRequestAllow are flipped.
3100
3101 2016-12-16  Hunseop Jeong  <hs85.jeong@samsung.com>
3102
3103         [EFL] Disable non-srcdir builds for failing libraries
3104         https://bugs.webkit.org/show_bug.cgi?id=165896
3105
3106         Reviewed by Gyuyoung Kim.
3107
3108         * efl/jhbuild.modules: Set non srcdir builds to no
3109
3110 2016-12-15  Daniel Bates  <dabates@apple.com>
3111
3112         check-style should not complain about code in icu directories
3113         https://bugs.webkit.org/show_bug.cgi?id=53929
3114
3115         Reviewed by Darin Adler.
3116
3117         Skip style checking of imported ICU headers to avoid a deluge of style issues
3118         as they do not conform to the WebKit Code Style guideline. We want to preserve
3119         the formatting of these headers so as to make it straightforward to merge
3120         changes to them, if necessary.
3121
3122         * Scripts/webkitpy/style/checker.py:
3123
3124 2016-12-15  Alexey Proskuryakov  <ap@apple.com>
3125
3126         Move JSC testers from Yosemite to Sierra
3127         https://bugs.webkit.org/show_bug.cgi?id=165925
3128
3129         Reviewed by Lucas Forschler.
3130
3131         * BuildSlaveSupport/build.webkit.org-config/config.json:
3132         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
3133         (WebKitBuildbot):
3134
3135 2016-12-15  Megan Gardner  <megan_gardner@apple.com>
3136
3137         Add coordinate space to event streams and streamline tests
3138         https://bugs.webkit.org/show_bug.cgi?id=165119
3139
3140         Reviewed by Simon Fraser.
3141
3142         Update event streams to allow for both content and global coordinate space.
3143         Update example script to more accurately show all the available options.
3144
3145         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
3146         * WebKitTestRunner/ios/HIDEventGenerator.h:
3147         * WebKitTestRunner/ios/HIDEventGenerator.mm:
3148         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3149         (WTR::convertCoordinates):
3150         (WTR::UIScriptController::sendEventStream):
3151
3152 2016-12-15  Claudio Saavedra  <csaavedra@igalia.com>
3153
3154         [GTK] Ensure gst* docs are not built with update-webkitgtk-libs
3155         https://bugs.webkit.org/show_bug.cgi?id=165855
3156
3157         Reviewed by Philippe Normand.
3158
3159         GStreamer's autogen.sh enables gtk-doc always so we end up building
3160         docs even if we disable them. Use the configure script instead, since
3161         we build from packages and these include it already.
3162
3163         * gtk/jhbuild.modules: Use shipped configure instead of autogen.sh for
3164         upstream gstreamer packages.
3165
3166 2016-12-15  Alex Christensen  <achristensen@webkit.org>
3167
3168         REGRESSION (r208902) Null pointer dereference in wkIsPublicSuffix
3169         https://bugs.webkit.org/show_bug.cgi?id=165885
3170         <rdar://problem/29476917>
3171
3172         Reviewed by Darin Adler.
3173
3174         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3175         (TestWebKitAPI::utf16String): Deleted.
3176         * TestWebKitAPI/Tests/mac/PublicSuffix.mm:
3177         (TestWebKitAPI::TEST_F):
3178         * TestWebKitAPI/WTFStringUtilities.h:
3179         (utf16String):
3180         Moved from URLParser to share with other tests.
3181
3182 2016-12-14  Ryosuke Niwa  <rniwa@webkit.org>
3183
3184         iOS: An element with tabindex is not focusable unless there is no mouse event handler
3185         https://bugs.webkit.org/show_bug.cgi?id=165843
3186
3187         Reviewed by Antti Koivisto.
3188
3189         Add testRunner.isWebKit2 which is always true in WebKitTestRunner.
3190         Without this, it's really hard to reliably differentiate DumpRenderTree and WebKitTestRunner,
3191         and DumpRenderTree's runUIScript would hit an assertion :(
3192
3193         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3194         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3195         (WTR::TestRunner::isWebKit2):
3196
3197 2016-12-14  Brady Eidson  <beidson@apple.com>
3198
3199         IndexedDB 2.0: Massively speedup IDBIndex.get().
3200         https://bugs.webkit.org/show_bug.cgi?id=165802
3201
3202         Reviewed by Alex Christensen.
3203
3204         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3205         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.html: Added.
3206         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.mm: Added.
3207         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexUpgrade.blob: Added.
3208         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexUpgrade.sqlite3: Added.
3209
3210 2016-12-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3211
3212         [GTK][EFL] Update the JHBuild version.
3213         https://bugs.webkit.org/show_bug.cgi?id=165838
3214
3215         Reviewed by Michael Catanzaro.
3216
3217         * jhbuild/jhbuild-wrapper: This new version fixes a bug with the
3218         usage of the JHBUILD_MIRROR feature with git repositories.
3219
3220 2016-12-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3221
3222         [GTK] Yasm is needed for building the JHBuild after r208940
3223         https://bugs.webkit.org/show_bug.cgi?id=165837
3224
3225         Reviewed by Alejandro G. Castro.
3226
3227         * gtk/install-dependencies: Yasm is needed for building libvpx.
3228
3229 2016-12-14  Youenn Fablet  <youenn@apple.com>
3230
3231         Test infrastructure should allow to filter out text output before doing a comparison with the baseline
3232         https://bugs.webkit.org/show_bug.cgi?id=161310
3233
3234         Reviewed by Ryosuke Niwa.
3235
3236         Adding --dump-jsconsolelog-in-stderr test option for DRT and WTR.
3237         When set, WTR and DRT output JS console log in the stderr and not the test output.
3238         This allows removing potentially flaky information while still being able to read it for investigation.
3239
3240         Updated webkitpy infrastructure to use this test option in case of DumpJSConsoleLogInStdErr modifier.
3241
3242         Changes are covered by updating a fetch test to output console log and set its option to --dump-jsconsolelog-in-stderr in TestExpectations.
3243         This test should have this option when fetch API will start logging resource loader errors.
3244
3245         * DumpRenderTree/DumpRenderTree.h:
3246         (TestCommand::TestCommand): Deleted.
3247         * DumpRenderTree/DumpRenderTreeCommon.cpp:
3248         (parseInputLine):
3249         * DumpRenderTree/TestRunner.h:
3250         (TestRunner::setDumpJSConsoleLogInStdErr):
3251         (TestRunner::dumpJSConsoleLogInStdErr):
3252         * DumpRenderTree/mac/DumpRenderTree.mm:
3253         (runTest):
3254         * DumpRenderTree/mac/UIDelegate.mm:
3255         (-[UIDelegate webView:addMessageToConsole:withSource:]):
3256         * DumpRenderTree/win/DumpRenderTree.cpp:
3257         (runTest):
3258         * DumpRenderTree/win/UIDelegate.cpp:
3259         (UIDelegate::webViewAddMessageToConsole):
3260         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
3261         (TestExpectationParser._tokenize_line):
3262         * Scripts/webkitpy/port/driver.py:
3263         (Driver._command_from_driver_input):
3264         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3265         (WTR::InjectedBundle::didReceiveMessageToPage):
3266         (WTR::InjectedBundle::dumpToStdErr):
3267         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
3268         (WTR::InjectedBundle::dumpJSConsoleLogInStdErr):
3269         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3270         (WTR::InjectedBundlePage::willAddMessageToConsole):
3271         * WebKitTestRunner/TestController.cpp:
3272         (WTR::parseInputLine):
3273         (WTR::TestController::runTest):
3274         (WTR::TestCommand::TestCommand): Deleted.
3275         * WebKitTestRunner/TestInvocation.cpp:
3276         (WTR::TestInvocation::invoke):
3277         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3278         * WebKitTestRunner/TestInvocation.h:
3279         (WTR::TestInvocation::setDumpJSConsoleLogInStdErr):
3280
3281
3282 2016-12-14  Enrique Ocaña González  <eocanha@igalia.com>
3283
3284         REGRESSION(r207879-207891): [GStreamer] Introduced many layout test failures and crashes, bots exiting early
3285         https://bugs.webkit.org/show_bug.cgi?id=164022
3286
3287         Reviewed by Xabier Rodriguez-Calvar.
3288
3289         * Scripts/webkitperl/FeatureList.pm:
3290           Re-enable MEDIA_SOURCE for the GTK+ port.
3291
3292 2016-12-13  Alex Christensen  <achristensen@webkit.org>
3293
3294         Fix CMake build.
3295
3296         * DumpRenderTree/PlatformMac.cmake:
3297         Define NS_RETURNS_RETAINED as nothing for now.
3298
3299 2016-12-13  Jer Noble  <jer.noble@apple.com>
3300
3301         Fullscreen in WebKit2 does not restore topContentInset upon exiting; leaves top of page not visible
3302         https://bugs.webkit.org/show_bug.cgi?id=165697
3303
3304         Reviewed by Tim Horton.
3305
3306         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
3307         (TestWebKitAPI::TEST):
3308
3309 2016-12-13  Andy Estes  <aestes@apple.com>
3310
3311         [Cocoa] Implement -shouldInsertText: on WKWebProcessPlugInEditingDelegate
3312         https://bugs.webkit.org/show_bug.cgi?id=165785
3313         <rdar://problem/26929398>
3314
3315         Reviewed by Darin Adler.
3316
3317         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegate.mm:
3318         (-[BundleEditingDelegateRemoteObject shouldInsertText:replacingRange:givenAction:]): Added
3319         expectations for the text, range, and action.
3320         (TEST): Set the "EditingDelegateShouldInsertText" bundle parameter to NO so that the plug-in
3321         will return NO in -_webProcessPlugInBrowserContextController:willInsertText:. Added a
3322         plain-text string to the pasteboard, executed a paste action, and verified that the selected
3323         text in the web view did not change.
3324         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegatePlugIn.mm:
3325         (-[BundleEditingDelegatePlugIn webProcessPlugIn:didCreateBrowserContextController:]): Set
3326         _editingDelegateShouldInsertText according to the "EditingDelegateShouldInsertText" bundle
3327         parameter.
3328         (-[BundleEditingDelegatePlugIn _webProcessPlugInBrowserContextController:shouldInsertText:replacingRange:givenAction:]):
3329         Added. Called -shouldInsertText:replacingRange:givenAction: on the remote object proxy
3330         and returned the value of _editingDelegateShouldInsertText.
3331         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegateProtocol.h: Declared
3332         -shouldInsertText:replacingRange:givenAction:.
3333
3334 2016-12-13  Chris Dumez  <cdumez@apple.com>
3335
3336         Unreviewed, rolling out r209544.
3337
3338         Looks like r209489 did not cause the performance regression
3339         after all
3340
3341         Reverted changeset:
3342
3343         "Unreviewed, rolling out r209489."
3344         https://bugs.webkit.org/show_bug.cgi?id=165550
3345         http://trac.webkit.org/changeset/209544
3346
3347 2016-12-12  Sam Weinig  <sam@webkit.org>
3348
3349         [WebIDL] Remove use of Dictionary in ApplePaySession
3350         https://bugs.webkit.org/show_bug.cgi?id=165787
3351
3352         Reviewed by Anders Carlsson.
3353
3354         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3355         (WTR::initializeWebViewConfiguration):
3356         (WTR::TestController::platformCreateWebView):
3357         Enable ApplePay for the tests (where supported).
3358
3359 2016-12-13  Eric Carlson  <eric.carlson@apple.com>
3360
3361         Annotate MediaStream and WebRTC idl with EnabledAtRuntime flag
3362         https://bugs.webkit.org/show_bug.cgi?id=165251
3363
3364         Reviewed by Youenn Fablet.
3365
3366         * TestWebKitAPI/Tests/WebKit2/EnumerateMediaDevices.cpp:
3367         (TestWebKitAPI::TEST): Enable MediaStream, create web view from the page group upon which
3368         the preferences have been set.
3369
3370 2016-12-08  Antti Koivisto  <antti@apple.com>
3371
3372         Enable network cache speculative revalidation in MiniBrowser
3373         https://bugs.webkit.org/show_bug.cgi?id=165616
3374
3375         Reviewed by Darin Adler.
3376
3377         Match Safari. Also add a menu item to disable it.
3378
3379         * MiniBrowser/mac/AppDelegate.m:
3380         (defaultConfiguration):
3381         * MiniBrowser/mac/SettingsController.h:
3382         * MiniBrowser/mac/SettingsController.m:
3383         (-[SettingsController _populateMenu]):
3384         (-[SettingsController validateMenuItem:]):
3385         (-[SettingsController networkCacheSpeculativeRevalidationDisabled]):
3386         (-[SettingsController toggleNetworkCacheSpeculativeRevalidationDisabled:]):
3387
3388 2016-12-12  Alexey Proskuryakov  <ap@apple.com>
3389
3390         ChangeLogs become readonly after resolving a conflict
3391         https://bugs.webkit.org/show_bug.cgi?id=165440
3392         rdar://problem/29491002
3393
3394         Reviewed by Darin Adler.
3395
3396         * Scripts/resolve-ChangeLogs: (resolveChangeLog): Set correct permissions when
3397         moving the file.
3398
3399 2016-12-12  Filip Pizlo  <fpizlo@apple.com>
3400
3401         Re-enable collectContinuously since it doesn't crash anymore
3402
3403         Rubber stamped by Michael Saboff.
3404
3405         * Scripts/run-jsc-stress-tests:
3406
3407 2016-12-11  Konstantin Tokarev  <annulen@yandex.ru>
3408
3409         Unreviewed attempt to fix EFL and Mac/cmake builds after r209665.
3410         https://bugs.webkit.org/show_bug.cgi?id=165686
3411
3412         * DumpRenderTree/CMakeLists.txt: WebKit2 should precede other target
3413         so that right config.h comes first in include path.
3414
3415 2016-12-11  Dave Hyatt  <hyatt@apple.com>
3416
3417         [CSS Parser] Make sure content extensions initialize AtomicString
3418         https://bugs.webkit.org/show_bug.cgi?id=165737
3419
3420         Reviewed by Darin Adler.
3421
3422         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3423         (TestWebKitAPI::makeBackend):
3424
3425 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3426
3427         [CSS Parser] Remove the old CSS Parser
3428         https://bugs.webkit.org/show_bug.cgi?id=165645
3429
3430         Reviewed by Daniel Bates.
3431
3432         * TestWebKitAPI/Tests/WebCore/CSSParser.cpp:
3433         (TestWebKitAPI::TEST):
3434
3435 2016-12-10  Konstantin Tokarev  <annulen@yandex.ru>
3436
3437         [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them
3438         https://bugs.webkit.org/show_bug.cgi?id=165686
3439
3440         Reviewed by Michael Catanzaro.
3441
3442         This change reduces duplication of include path lists between modules,
3443         and reduces future need for fixes like r209605 (broken build because of
3444         WebCore header suddenly becoming used in WebKit2).
3445
3446         * DumpRenderTree/CMakeLists.txt:
3447         * DumpRenderTree/PlatformMac.cmake:
3448         * ImageDiff/CMakeLists.txt:
3449         * MiniBrowser/gtk/CMakeLists.txt:
3450         * MiniBrowser/mac/CMakeLists.txt:
3451         * MiniBrowser/win/CMakeLists.txt:
3452         * TestWebKitAPI/CMakeLists.txt:
3453         * TestWebKitAPI/PlatformEfl.cmake:
3454         * TestWebKitAPI/PlatformJSCOnly.cmake:
3455         * TestWebKitAPI/PlatformMac.cmake:
3456         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
3457         * WebKitTestRunner/CMakeLists.txt:
3458         * WebKitTestRunner/PlatformGTK.cmake:
3459         * WebKitTestRunner/PlatformMac.cmake:
3460
3461 2016-12-09  Csaba Osztrogonác  <ossy@webkit.org>
3462
3463         Unreviewed buildfix after r209630.
3464
3465         * Scripts/build-jsc: Remove building the non-existing testWASM.
3466
3467 2016-12-09  Eric Carlson  <eric.carlson@apple.com>
3468
3469         Annotate MediaStream and WebRTC idl with EnabledAtRuntime flag
3470         https://bugs.webkit.org/show_bug.cgi?id=165251
3471
3472         Reviewed by Dean Jackson.
3473
3474         Based on a patch by Dr Alex Gouaillard <agouaillard@gmail.com>
3475
3476         * DumpRenderTree/mac/DumpRenderTree.mm:
3477         (resetWebPreferencesToConsistentValues): Enable MediaStream and PeerConnection.
3478
3479         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3480         (WTR::InjectedBundle::beginTesting): Ditto.
3481
3482         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3483         (WTR::TestRunner::setMediaStreamEnabled): New.
3484         (WTR::TestRunner::setPeerConnectionEnabled): New.
3485         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3486
3487 2016-12-09  Brady Eidson  <beidson@apple.com> 
3488  
3489         Re-landing:
3490         Add _WKIconLoadingDelegate SPI. 
3491         https://bugs.webkit.org/show_bug.cgi?id=164894 
3492  
3493         Reviewed by Alex Christensen. 
3494         
3495         Add MiniBrowser support for this new SPI, configurable with a setting. 
3496  
3497         * MiniBrowser/mac/SettingsController.h: 
3498         * MiniBrowser/mac/SettingsController.m: 
3499         (-[SettingsController _populateMenu]): 
3500         (-[SettingsController validateMenuItem:]): 
3501         (-[SettingsController loadsAllSiteIcons]): 
3502         (-[SettingsController toggleLoadsAllSiteIcons:]): 
3503         * MiniBrowser/mac/WK2BrowserWindowController.m: 
3504         (-[WK2BrowserWindowController awakeFromNib]): 
3505         (-[WK2BrowserWindowController webView:shouldLoadIconWithParameters:completionHandler:]): 
3506
3507 2016-12-09  Ryan Haddad  <ryanhaddad@apple.com>
3508
3509         Fix the 32-bit build.
3510
3511         Unreviewed build fix.
3512
3513         * MiniBrowser/mac/SettingsController.h:
3514
3515 2016-12-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
3516
3517         Fedora also needs a PHP7 config file alternative
3518         https://bugs.webkit.org/show_bug.cgi?id=165606
3519
3520         Reviewed by Michael Catanzaro.
3521
3522         * Scripts/webkitpy/port/base.py:
3523         (Port._is_fedora_php_version_7): check for the php7 library.
3524         (Port._fedora_php_version): get the appropriate filename for Fedora.
3525         (Port._apache_config_file_name_for_platform):
3526
3527 2016-12-09  Ryan Haddad  <ryanhaddad@apple.com>
3528
3529         Complete the revert of r208865.
3530         https://bugs.webkit.org/show_bug.cgi?id=164894
3531
3532         Unreviewed build fix.
3533
3534         * MiniBrowser/mac/SettingsController.h:
3535         * MiniBrowser/mac/SettingsController.m:
3536         (-[SettingsController _populateMenu]):
3537         (-[SettingsController validateMenuItem:]):
3538         (-[SettingsController loadsAllSiteIcons]): Deleted.
3539         (-[SettingsController toggleLoadsAllSiteIcons:]): Deleted.
3540         * MiniBrowser/mac/WK2BrowserWindowController.m:
3541         (-[WK2BrowserWindowController awakeFromNib]):
3542         (-[WK2BrowserWindowController webView:shouldLoadIconWithParameters:completionHandler:]): Deleted.
3543
3544 2016-12-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
3545
3546         [GTK] Force GDK backend to x11 when running with XvfbDriver
3547         https://bugs.webkit.org/show_bug.cgi?id=165612
3548
3549         Reviewed by Michael Catanzaro.
3550
3551         When the developer is running a Wayland session, GDK may get confused
3552         and try to use its Wayland backend (which is higher priority) instead.
3553         This ensures it will use the appropriate backend when running under
3554         Xvfb.
3555
3556         * Scripts/webkitpy/port/gtk.py:
3557         (GtkPort.setup_environ_for_server): when running with XvfbDriver,
3558         force GDK_BACKEND to x11.
3559
3560 2016-12-08  Keith Miller  <keith_miller@apple.com>
3561
3562         Add 64-bit signed LEB decode method
3563         https://bugs.webkit.org/show_bug.cgi?id=165630
3564
3565         Reviewed by Ryosuke Niwa.
3566
3567         Add tests for LEB int64 and uint64 decode since I guess
3568         I forgot to add tests before.
3569
3570         * TestWebKitAPI/Tests/WTF/LEBDecoder.cpp:
3571         (TestWebKitAPI::testUInt32LEBDecode):
3572         (TestWebKitAPI::TEST):
3573         (TestWebKitAPI::testUInt64LEBDecode):
3574         (TestWebKitAPI::testInt32LEBDecode):
3575         (TestWebKitAPI::testInt64LEBDecode):
3576         (TestWebKitAPI::testUnsignedLEBDecode): Deleted.
3577
3578 2016-12-08  Filip Pizlo  <fpizlo@apple.com>
3579
3580         Make it easy to enable --force-collectContinuously
3581         https://bugs.webkit.org/show_bug.cgi?id=165638
3582
3583         Reviewed by Keith Miller.
3584
3585         * Scripts/run-javascriptcore-tests:
3586         (runJSCStressTests):
3587
3588 2016-12-08  Filip Pizlo  <fpizlo@apple.com>
3589
3590         Disable the collectContinuously mode until I investigate failures.
3591
3592         Rubber stamped by Keith Miller.
3593         
3594         I'm seeing collectContinuously crashes on some platforms. Disabling that testing mode
3595         while I investigate.
3596
3597         * Scripts/run-jsc-stress-tests:
3598
3599 2016-12-08  Alex Christensen  <achristensen@webkit.org>
3600
3601         REGRESSION (URL parser): Relative URLs aren’t resolved correctly when the base URL is an applewebdata: URL
3602         https://bugs.webkit.org/show_bug.cgi?id=165621
3603
3604         Reviewed by Dan Bernstein.
3605
3606         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3607         (TestWebKitAPI::TEST_F):
3608
3609 2016-12-06  Filip Pizlo  <fpizlo@apple.com>
3610
3611         Concurrent GC should be stable enough to land enabled
3612         https://bugs.webkit.org/show_bug.cgi?id=164990
3613
3614         Reviewed by Geoffrey Garen.
3615         
3616         Add a new mode that runs GC continuously. Also made eager modes run GC continuously.
3617         
3618         It's clear that this works just fine in release, but I'm still trying to figure out if it's
3619         safe for debug. It might be too slow for debug.
3620
3621         * Scripts/run-jsc-stress-tests:
3622
3623 2016-12-08  Alex Christensen  <achristensen@webkit.org>
3624
3625         Add SPI for sending WebsiteSettings to WebProcess during navigation
3626         https://bugs.webkit.org/show_bug.cgi?id=165517
3627         <rdar://29341068>
3628
3629         Reviewed by Anders Carlsson.
3630
3631         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3632         * TestWebKitAPI/Tests/WebKit2/contentBlockerCheck.html: Added.
3633         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm: Added.
3634         (-[WebsitePoliciesDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
3635         (-[WebsitePoliciesDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
3636         (-[WebsitePoliciesDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
3637         (TEST):
3638
3639 2016-12-08  Chris Dumez  <cdumez@apple.com>
3640
3641         Unreviewed, rolling out r209489.
3642
3643         Likely caused large regressions on JetStream, Sunspider and
3644         Speedometer
3645
3646         Reverted changeset:
3647
3648         "Add system trace points for JavaScript VM entry/exit"
3649         https://bugs.webkit.org/show_bug.cgi?id=165550
3650         http://trac.webkit.org/changeset/209489
3651
3652 2016-12-08  Keith Miller  <keith_miller@apple.com>
3653
3654         Move LEB tests to API tests
3655         https://bugs.webkit.org/show_bug.cgi?id=165586
3656
3657         Reviewed by Saam Barati.
3658
3659         Move the tests from testWasm.cpp and make them functions
3660         rather than macros.
3661
3662         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3663         * TestWebKitAPI/Tests/WTF/LEBDecoder.cpp: Added.
3664         (TestWebKitAPI::testUnsignedLEBDecode):
3665         (TestWebKitAPI::TEST):
<