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