38e5af5b852f2401833623258be119ac411ed0d7
[WebKit-https.git] / Tools / ChangeLog
1 2016-12-21  Saam Barati  <sbarati@apple.com>
2
3         WebAssembly: Import spec tests
4         https://bugs.webkit.org/show_bug.cgi?id=166395
5
6         Rubber stamped by Keith Miller.
7
8         * Scripts/run-jsc-stress-tests:
9
10 2016-12-21  Alexey Proskuryakov  <ap@apple.com>
11
12         REGRESSION: API test failure: _WKDownload.OriginatingWebView
13         https://bugs.webkit.org/show_bug.cgi?id=166033
14         <rdar://problem/29758428>
15
16         Reviewed by Simon Fraser.
17
18         Add an @autoreleasepool around the code that allocates the WKWebView, 
19         so that it can be destroyed by removing the last reference in _downloadDidStart.
20
21         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
22         (TEST):
23
24 2016-12-21  Daniel Bates  <dabates@apple.com>
25
26         WebKitTestRunner: Add comment to TestRunner::setCanOpenWindows()
27         https://bugs.webkit.org/show_bug.cgi?id=166356
28
29         Add comment in TestRunner::setCanOpenWindows() to elaborate further on its purpose
30         as a means to allow a test to explicit allow an embedding client to open a new windows
31         such that the default behavior is for the embedding client to forbid such an action.
32         The test plugins/get-url-with-blank-target.html assumes this default behavior though
33         it is currently skipped on WebKit2 because questions were raised in the patch for
34         <https://bugs.webkit.org/show_bug.cgi?id=43389> about its correctness and usefulness.
35         We will need to implement TestRunner::setCanOpenWindows() should we decide to unskip
36         this test.
37
38         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
39         (WTR::TestRunner::setCanOpenWindows):
40
41 2016-12-20  Simon Fraser  <simon.fraser@apple.com>
42
43         REGRESSION: API test failure: WKWebView.EvaluateJavaScriptBlockCrash
44         https://bugs.webkit.org/show_bug.cgi?id=166031
45
46         Reviewed by Tim Horton.
47         
48         Add an @autoreleasepool around the code that allocates then clears the WKWebView, 
49         to ensure that the view is destroyed before the callback fires.
50
51         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm:
52
53 2016-12-20  Megan Gardner  <megan_gardner@apple.com>
54
55         Throw Exception when test doesn't clean up HID Events properly
56         https://bugs.webkit.org/show_bug.cgi?id=166271
57
58         Reviewed by Simon Fraser.
59
60         Add in a check when UIScriptController is deleted to make sure that the HID event
61         callback dictionary is empty. If it is not, and a HID event is hit, this will cause
62         the program to crash without any good information. Crashes are race-y, and will still
63         happen with malformed test, but the information will be much more helpful. 
64
65         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
66         (WTR::UIScriptController::checkForClean):
67         * TestRunnerShared/UIScriptContext/UIScriptContext.cpp:
68         (UIScriptContext::~UIScriptContext):
69         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
70         (WTR::UIScriptController::checkForClean):
71         * TestRunnerShared/UIScriptContext/UIScriptController.h:
72         * WebKitTestRunner/ios/HIDEventGenerator.h:
73         * WebKitTestRunner/ios/HIDEventGenerator.mm:
74         (-[HIDEventGenerator checkHIDCallbacksClear]):
75         * WebKitTestRunner/ios/TestControllerIOS.mm:
76         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
77         (WTR::UIScriptController::checkForClean):
78
79 2016-12-20  Andy Estes  <aestes@apple.com>
80
81         [Cocoa] REGRESSION (r209558): Calling decisionHandler multiple times in webView:decidePolicyForNavigationAction:decisionHandler: leads to a crash
82         https://bugs.webkit.org/show_bug.cgi?id=165992
83
84         Reviewed by Brady Eidson.
85
86         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
87         * TestWebKitAPI/Tests/WebKit2Cocoa/DuplicateCompletionHandlerCalls.mm: Added.
88         (expectException):
89         (-[DuplicateCompletionHandlerCallsDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
90         (-[DuplicateCompletionHandlerCallsDelegate webView:decidePolicyForNavigationResponse:decisionHandler:]):
91         (-[DuplicateCompletionHandlerCallsDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
92         (-[DuplicateCompletionHandlerCallsDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:]):
93         (-[DuplicateCompletionHandlerCallsDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:]):
94         (-[DuplicateCompletionHandlerCallsDelegate _webView:decideDatabaseQuotaForSecurityOrigin:currentQuota:currentOriginUsage:currentDatabaseUsage:expectedUsage:decisionHandler:]):
95         (-[DuplicateCompletionHandlerCallsDelegate _webView:willSubmitFormValues:userObject:submissionHandler:]):
96         (TEST):
97         * TestWebKitAPI/Tests/WebKit2Cocoa/duplicate-completion-handler-calls.html: Added.
98
99 2016-12-20  Dean Jackson  <dino@apple.com>
100
101         Remove INDIE_UI
102         https://bugs.webkit.org/show_bug.cgi?id=165881
103         <rdar://problem/29672532>
104
105         Reviewed by Simon Fraser.
106
107         The Indie UI work has been discontinued.
108
109         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
110
111 2016-12-19  Yusuke Suzuki  <utatane.tea@gmail.com>
112
113         [ES6] Enable ES6 Modules
114         https://bugs.webkit.org/show_bug.cgi?id=165849
115
116         Reviewed by Geoffrey Garen.
117
118         * DumpRenderTree/mac/DumpRenderTree.mm:
119         (resetWebPreferencesToConsistentValues):
120         * DumpRenderTree/win/DumpRenderTree.cpp:
121         (resetWebPreferencesToConsistentValues):
122         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
123         (WTR::InjectedBundle::beginTesting):
124         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
125         (WTR::TestRunner::setES6ModulesEnabled): Deleted.
126         * WebKitTestRunner/InjectedBundle/TestRunner.h:
127
128 2016-12-19  Ryan Haddad  <ryanhaddad@apple.com>
129
130         Repurpose bots and clean up dashboard.
131         https://bugs.webkit.org/show_bug.cgi?id=166045
132
133         Reviewed by Lucas Forschler.
134
135         * BuildSlaveSupport/build.webkit.org-config/config.json:
136         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
137         (BubbleQueueServer):
138         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
139         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
140         (WebKitBuildbot):
141         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
142         (table.queue-grid tr.platform.mac-os-x-yosemite img.logo): Deleted.
143
144 2016-12-19  Michael Catanzaro  <mcatanzaro@igalia.com>
145
146         [CMake] TestWebKitAPIBase links to itself
147         https://bugs.webkit.org/show_bug.cgi?id=165985
148
149         Reviewed by Alex Christensen.
150
151         Fix CMake warning about a target linking to itself, which makes no sense.
152
153         * TestWebKitAPI/CMakeLists.txt:
154
155 2016-12-19  Michael Catanzaro  <mcatanzaro@igalia.com>
156
157         [GTK] GtkDoc build should be quieter
158         https://bugs.webkit.org/show_bug.cgi?id=165994
159
160         Reviewed by Carlos Garcia Campos.
161
162         Make it not print by default.
163
164         * gtk/generate-gtkdoc:
165         (get_generator_for_config):
166         (generate_doc):
167         * gtk/gtkdoc.py:
168         (GTKDoc._run_command):
169         (GTKDoc._copy_doc_files_to_output_dir):
170
171 2016-12-18  Simon Fraser  <simon.fraser@apple.com>
172
173         Expose a way for MiniBrowser to simulate header and footer banners
174         https://bugs.webkit.org/show_bug.cgi?id=166005
175
176         Reviewed by Wenson Hsieh.
177         
178         Add a MiniBrowser menu item and setting to toggle adding space for header and footer
179         banners. This only works in WebKit2.
180         
181         We need to reset these on each navigation, since newly created FrameViews
182         don't re-fetch the header and footer height stored on Page.
183         
184         Also fix the signature of webView:didFinishNavigation: to follow API changes,
185         as well as fixing webViewWebContentProcessDidTerminate:
186
187         * MiniBrowser/mac/SettingsController.h:
188         * MiniBrowser/mac/SettingsController.m:
189         (-[SettingsController _populateMenu]):
190         (-[SettingsController validateMenuItem:]):
191         (-[SettingsController toggleReserveSpaceForBanners:]):
192         (-[SettingsController isSpaceReservedForBanners]):
193         * MiniBrowser/mac/WK2BrowserWindowController.m:
194         (-[WK2BrowserWindowController didChangeSettings]):
195         (-[WK2BrowserWindowController webView:didFinishNavigation:]):
196         (-[WK2BrowserWindowController webViewWebContentProcessDidTerminate:]):
197         (-[WK2BrowserWindowController webView:didFinishLoadingNavigation:]): Deleted.
198         (-[WK2BrowserWindowController _webViewWebProcessDidCrash:]): Deleted.
199
200 2016-12-17  Simon Fraser  <simon.fraser@apple.com>
201
202         Fix iOS test results after r209967.
203         
204         Subtracting out the status bar height was erroneously happening for all tests,
205         not just for flexible viewport tests.
206         
207         Fix by plumbing WebViewSizingMode through resizeTo() and setWindowFrame().
208
209         * WebKitTestRunner/PlatformWebView.h:
210         * WebKitTestRunner/TestController.cpp:
211         (WTR::TestController::resetStateToConsistentValues):
212         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
213         (WTR::PlatformWebView::resizeTo):
214         (WTR::PlatformWebView::setWindowFrame):
215         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
216         (WTR::PlatformWebView::resizeTo):
217         (WTR::PlatformWebView::setWindowFrame):
218         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
219         (WTR::PlatformWebView::resizeTo):
220         (WTR::PlatformWebView::setWindowFrame):
221         * WebKitTestRunner/ios/TestControllerIOS.mm:
222         (WTR::TestController::platformConfigureViewForTest):
223         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
224         (WTR::PlatformWebView::resizeTo):
225         (WTR::PlatformWebView::setWindowFrame):
226
227 2016-12-17  Joonghun Park  <jh718.park@samsung.com>
228
229         [EFL] bump EFL version to 1.18.4
230         https://bugs.webkit.org/show_bug.cgi?id=166004
231
232         Reviewed by Gyuyoung Kim.
233
234         * efl/jhbuild.modules: Use efl-1.18.4 instead of 1.18.1.
235
236 2016-12-17  Wenson Hsieh  <wenson_hsieh@apple.com>
237
238         Visual viewports: bottom fixed elements disappear behind the keyboard
239         https://bugs.webkit.org/show_bug.cgi?id=165983
240         <rdar://problem/29409852>
241
242         Reviewed by Simon Fraser.
243
244         Add support for UIScriptController.inputViewBounds, which UI-side scripts may use to fetch the bounding rect of
245         the keyboard when it is up.
246
247         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
248         (WTR::UIScriptController::inputViewBounds):
249         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
250         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
251         (WTR::UIScriptController::inputViewBounds):
252         * TestRunnerShared/UIScriptContext/UIScriptController.h:
253         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
254         (WTR::viewRectForWindowRect):
255
256         Previously, we accounted for the status bar height by translating the entire web view down by the height of the
257         status bar. However, we did not shrink the height of the web view itself, which means that for tests which
258         involve scrolling past the end of the document, the bottom strip of the web view is out of bounds of the window.
259
260         (WTR::PlatformWebView::PlatformWebView):
261         (WTR::PlatformWebView::setWindowFrame):
262         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
263         (WTR::UIScriptController::inputViewBounds):
264
265 2016-12-16  Ryosuke Niwa  <rniwa@webkit.org>
266
267         Deleting a character converted from pinyin after an image causes a Safari crash
268         https://bugs.webkit.org/show_bug.cgi?id=165839
269         <rdar://problem/27951933>
270
271         Reviewed by Wenson Hsieh.
272
273         Add a WebKit API test to call attributedSubstringForProposedRange on a WKWebView
274         while the proposed range contains an image. This should not cause a WebProcess to crash
275         or send an invalid message to the UIProcess.
276
277         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
278         * TestWebKitAPI/Tests/WebKit2/chinese-character-with-image.html: Added.
279         * TestWebKitAPI/Tests/WebKit2/mac/AttributedSubstringForProposedRangeWithImage.mm: Added.
280         (TestWebKitAPI::didFinishLoadForFrame):
281         (TestWebKitAPI::processDidCrash):
282         (TestWebKitAPI::invalidMessageFunction):
283         (TestWebKitAPI::WebKit2.AttributedSubstringForProposedRangeWithImage):
284
285 2016-12-16  Wenson Hsieh  <wenson_hsieh@apple.com>
286
287         Visual viewports: carets and selection UI are incorrectly positioned when editing fixed elements
288         https://bugs.webkit.org/show_bug.cgi?id=165767
289         <rdar://problem/29602382>
290
291         Reviewed by Simon Fraser.
292
293         Introduces two new UIScriptController methods: doAfterWebPageIsInStableState and textSelectionCaretRect. See
294         WebKit2 ChangeLog for more details.
295
296         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
297         (WTR::UIScriptController::doAfterNextStablePresentationUpdate):
298         (WTR::UIScriptController::textSelectionCaretRect):
299         * DumpRenderTree/mac/UIScriptControllerMac.mm:
300         (WTR::UIScriptController::doAfterNextStablePresentationUpdate):
301         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
302         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
303         (WTR::UIScriptController::doAfterNextStablePresentationUpdate):
304         (WTR::UIScriptController::textSelectionCaretRect):
305         * TestRunnerShared/UIScriptContext/UIScriptController.h:
306         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
307         (-[TestRunnerWKWebView _setStableStateOverride:]):
308
309         Force the WKWebView to update its visible content rects when changing the stable state override.
310
311         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
312         (WTR::toNSDictionary):
313         (WTR::UIScriptController::doAfterNextStablePresentationUpdate):
314         (WTR::UIScriptController::selectionRangeViewRects):
315         (WTR::UIScriptController::textSelectionCaretRect):
316         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
317         (WTR::UIScriptController::doAfterNextStablePresentationUpdate):
318
319 2016-12-15  Brent Fulgham  <bfulgham@apple.com>
320
321         Arguments called in wrong order
322         https://bugs.webkit.org/show_bug.cgi?id=165923
323
324         Reviewed by Simon Fraser.
325
326         The 'audioDeviceUIDs' array is being passed to the argument that expects video devices,
327         and the 'videoDeviceUIDs' array is being passed to the audo device argument. Fix this.
328
329         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
330         (TestWebKitAPI::decidePolicyForUserMediaPermissionRequestCallBack): The
331         order of arguments to WKUserMediaPermissionRequestAllow are flipped.
332
333 2016-12-16  Hunseop Jeong  <hs85.jeong@samsung.com>
334
335         [EFL] Disable non-srcdir builds for failing libraries
336         https://bugs.webkit.org/show_bug.cgi?id=165896
337
338         Reviewed by Gyuyoung Kim.
339
340         * efl/jhbuild.modules: Set non srcdir builds to no
341
342 2016-12-15  Daniel Bates  <dabates@apple.com>
343
344         check-style should not complain about code in icu directories
345         https://bugs.webkit.org/show_bug.cgi?id=53929
346
347         Reviewed by Darin Adler.
348
349         Skip style checking of imported ICU headers to avoid a deluge of style issues
350         as they do not conform to the WebKit Code Style guideline. We want to preserve
351         the formatting of these headers so as to make it straightforward to merge
352         changes to them, if necessary.
353
354         * Scripts/webkitpy/style/checker.py:
355
356 2016-12-15  Alexey Proskuryakov  <ap@apple.com>
357
358         Move JSC testers from Yosemite to Sierra
359         https://bugs.webkit.org/show_bug.cgi?id=165925
360
361         Reviewed by Lucas Forschler.
362
363         * BuildSlaveSupport/build.webkit.org-config/config.json:
364         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
365         (WebKitBuildbot):
366
367 2016-12-15  Megan Gardner  <megan_gardner@apple.com>
368
369         Add coordinate space to event streams and streamline tests
370         https://bugs.webkit.org/show_bug.cgi?id=165119
371
372         Reviewed by Simon Fraser.
373
374         Update event streams to allow for both content and global coordinate space.
375         Update example script to more accurately show all the available options.
376
377         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
378         * WebKitTestRunner/ios/HIDEventGenerator.h:
379         * WebKitTestRunner/ios/HIDEventGenerator.mm:
380         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
381         (WTR::convertCoordinates):
382         (WTR::UIScriptController::sendEventStream):
383
384 2016-12-15  Claudio Saavedra  <csaavedra@igalia.com>
385
386         [GTK] Ensure gst* docs are not built with update-webkitgtk-libs
387         https://bugs.webkit.org/show_bug.cgi?id=165855
388
389         Reviewed by Philippe Normand.
390
391         GStreamer's autogen.sh enables gtk-doc always so we end up building
392         docs even if we disable them. Use the configure script instead, since
393         we build from packages and these include it already.
394
395         * gtk/jhbuild.modules: Use shipped configure instead of autogen.sh for
396         upstream gstreamer packages.
397
398 2016-12-15  Alex Christensen  <achristensen@webkit.org>
399
400         REGRESSION (r208902) Null pointer dereference in wkIsPublicSuffix
401         https://bugs.webkit.org/show_bug.cgi?id=165885
402         <rdar://problem/29476917>
403
404         Reviewed by Darin Adler.
405
406         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
407         (TestWebKitAPI::utf16String): Deleted.
408         * TestWebKitAPI/Tests/mac/PublicSuffix.mm:
409         (TestWebKitAPI::TEST_F):
410         * TestWebKitAPI/WTFStringUtilities.h:
411         (utf16String):
412         Moved from URLParser to share with other tests.
413
414 2016-12-14  Ryosuke Niwa  <rniwa@webkit.org>
415
416         iOS: An element with tabindex is not focusable unless there is no mouse event handler
417         https://bugs.webkit.org/show_bug.cgi?id=165843
418
419         Reviewed by Antti Koivisto.
420
421         Add testRunner.isWebKit2 which is always true in WebKitTestRunner.
422         Without this, it's really hard to reliably differentiate DumpRenderTree and WebKitTestRunner,
423         and DumpRenderTree's runUIScript would hit an assertion :(
424
425         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
426         * WebKitTestRunner/InjectedBundle/TestRunner.h:
427         (WTR::TestRunner::isWebKit2):
428
429 2016-12-14  Brady Eidson  <beidson@apple.com>
430
431         IndexedDB 2.0: Massively speedup IDBIndex.get().
432         https://bugs.webkit.org/show_bug.cgi?id=165802
433
434         Reviewed by Alex Christensen.
435
436         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
437         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.html: Added.
438         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.mm: Added.
439         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexUpgrade.blob: Added.
440         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexUpgrade.sqlite3: Added.
441
442 2016-12-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
443
444         [GTK][EFL] Update the JHBuild version.
445         https://bugs.webkit.org/show_bug.cgi?id=165838
446
447         Reviewed by Michael Catanzaro.
448
449         * jhbuild/jhbuild-wrapper: This new version fixes a bug with the
450         usage of the JHBUILD_MIRROR feature with git repositories.
451
452 2016-12-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
453
454         [GTK] Yasm is needed for building the JHBuild after r208940
455         https://bugs.webkit.org/show_bug.cgi?id=165837
456
457         Reviewed by Alejandro G. Castro.
458
459         * gtk/install-dependencies: Yasm is needed for building libvpx.
460
461 2016-12-14  Youenn Fablet  <youenn@apple.com>
462
463         Test infrastructure should allow to filter out text output before doing a comparison with the baseline
464         https://bugs.webkit.org/show_bug.cgi?id=161310
465
466         Reviewed by Ryosuke Niwa.
467
468         Adding --dump-jsconsolelog-in-stderr test option for DRT and WTR.
469         When set, WTR and DRT output JS console log in the stderr and not the test output.
470         This allows removing potentially flaky information while still being able to read it for investigation.
471
472         Updated webkitpy infrastructure to use this test option in case of DumpJSConsoleLogInStdErr modifier.
473
474         Changes are covered by updating a fetch test to output console log and set its option to --dump-jsconsolelog-in-stderr in TestExpectations.
475         This test should have this option when fetch API will start logging resource loader errors.
476
477         * DumpRenderTree/DumpRenderTree.h:
478         (TestCommand::TestCommand): Deleted.
479         * DumpRenderTree/DumpRenderTreeCommon.cpp:
480         (parseInputLine):
481         * DumpRenderTree/TestRunner.h:
482         (TestRunner::setDumpJSConsoleLogInStdErr):
483         (TestRunner::dumpJSConsoleLogInStdErr):
484         * DumpRenderTree/mac/DumpRenderTree.mm:
485         (runTest):
486         * DumpRenderTree/mac/UIDelegate.mm:
487         (-[UIDelegate webView:addMessageToConsole:withSource:]):
488         * DumpRenderTree/win/DumpRenderTree.cpp:
489         (runTest):
490         * DumpRenderTree/win/UIDelegate.cpp:
491         (UIDelegate::webViewAddMessageToConsole):
492         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
493         (TestExpectationParser._tokenize_line):
494         * Scripts/webkitpy/port/driver.py:
495         (Driver._command_from_driver_input):
496         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
497         (WTR::InjectedBundle::didReceiveMessageToPage):
498         (WTR::InjectedBundle::dumpToStdErr):
499         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
500         (WTR::InjectedBundle::dumpJSConsoleLogInStdErr):
501         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
502         (WTR::InjectedBundlePage::willAddMessageToConsole):
503         * WebKitTestRunner/TestController.cpp:
504         (WTR::parseInputLine):
505         (WTR::TestController::runTest):
506         (WTR::TestCommand::TestCommand): Deleted.
507         * WebKitTestRunner/TestInvocation.cpp:
508         (WTR::TestInvocation::invoke):
509         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
510         * WebKitTestRunner/TestInvocation.h:
511         (WTR::TestInvocation::setDumpJSConsoleLogInStdErr):
512
513
514 2016-12-14  Enrique Ocaña González  <eocanha@igalia.com>
515
516         REGRESSION(r207879-207891): [GStreamer] Introduced many layout test failures and crashes, bots exiting early
517         https://bugs.webkit.org/show_bug.cgi?id=164022
518
519         Reviewed by Xabier Rodriguez-Calvar.
520
521         * Scripts/webkitperl/FeatureList.pm:
522           Re-enable MEDIA_SOURCE for the GTK+ port.
523
524 2016-12-13  Alex Christensen  <achristensen@webkit.org>
525
526         Fix CMake build.
527
528         * DumpRenderTree/PlatformMac.cmake:
529         Define NS_RETURNS_RETAINED as nothing for now.
530
531 2016-12-13  Jer Noble  <jer.noble@apple.com>
532
533         Fullscreen in WebKit2 does not restore topContentInset upon exiting; leaves top of page not visible
534         https://bugs.webkit.org/show_bug.cgi?id=165697
535
536         Reviewed by Tim Horton.
537
538         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
539         (TestWebKitAPI::TEST):
540
541 2016-12-13  Andy Estes  <aestes@apple.com>
542
543         [Cocoa] Implement -shouldInsertText: on WKWebProcessPlugInEditingDelegate
544         https://bugs.webkit.org/show_bug.cgi?id=165785
545         <rdar://problem/26929398>
546
547         Reviewed by Darin Adler.
548
549         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegate.mm:
550         (-[BundleEditingDelegateRemoteObject shouldInsertText:replacingRange:givenAction:]): Added
551         expectations for the text, range, and action.
552         (TEST): Set the "EditingDelegateShouldInsertText" bundle parameter to NO so that the plug-in
553         will return NO in -_webProcessPlugInBrowserContextController:willInsertText:. Added a
554         plain-text string to the pasteboard, executed a paste action, and verified that the selected
555         text in the web view did not change.
556         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegatePlugIn.mm:
557         (-[BundleEditingDelegatePlugIn webProcessPlugIn:didCreateBrowserContextController:]): Set
558         _editingDelegateShouldInsertText according to the "EditingDelegateShouldInsertText" bundle
559         parameter.
560         (-[BundleEditingDelegatePlugIn _webProcessPlugInBrowserContextController:shouldInsertText:replacingRange:givenAction:]):
561         Added. Called -shouldInsertText:replacingRange:givenAction: on the remote object proxy
562         and returned the value of _editingDelegateShouldInsertText.
563         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegateProtocol.h: Declared
564         -shouldInsertText:replacingRange:givenAction:.
565
566 2016-12-13  Chris Dumez  <cdumez@apple.com>
567
568         Unreviewed, rolling out r209544.
569
570         Looks like r209489 did not cause the performance regression
571         after all
572
573         Reverted changeset:
574
575         "Unreviewed, rolling out r209489."
576         https://bugs.webkit.org/show_bug.cgi?id=165550
577         http://trac.webkit.org/changeset/209544
578
579 2016-12-12  Sam Weinig  <sam@webkit.org>
580
581         [WebIDL] Remove use of Dictionary in ApplePaySession
582         https://bugs.webkit.org/show_bug.cgi?id=165787
583
584         Reviewed by Anders Carlsson.
585
586         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
587         (WTR::initializeWebViewConfiguration):
588         (WTR::TestController::platformCreateWebView):
589         Enable ApplePay for the tests (where supported).
590
591 2016-12-13  Eric Carlson  <eric.carlson@apple.com>
592
593         Annotate MediaStream and WebRTC idl with EnabledAtRuntime flag
594         https://bugs.webkit.org/show_bug.cgi?id=165251
595
596         Reviewed by Youenn Fablet.
597
598         * TestWebKitAPI/Tests/WebKit2/EnumerateMediaDevices.cpp:
599         (TestWebKitAPI::TEST): Enable MediaStream, create web view from the page group upon which
600         the preferences have been set.
601
602 2016-12-08  Antti Koivisto  <antti@apple.com>
603
604         Enable network cache speculative revalidation in MiniBrowser
605         https://bugs.webkit.org/show_bug.cgi?id=165616
606
607         Reviewed by Darin Adler.
608
609         Match Safari. Also add a menu item to disable it.
610
611         * MiniBrowser/mac/AppDelegate.m:
612         (defaultConfiguration):
613         * MiniBrowser/mac/SettingsController.h:
614         * MiniBrowser/mac/SettingsController.m:
615         (-[SettingsController _populateMenu]):
616         (-[SettingsController validateMenuItem:]):
617         (-[SettingsController networkCacheSpeculativeRevalidationDisabled]):
618         (-[SettingsController toggleNetworkCacheSpeculativeRevalidationDisabled:]):
619
620 2016-12-12  Alexey Proskuryakov  <ap@apple.com>
621
622         ChangeLogs become readonly after resolving a conflict
623         https://bugs.webkit.org/show_bug.cgi?id=165440
624         rdar://problem/29491002
625
626         Reviewed by Darin Adler.
627
628         * Scripts/resolve-ChangeLogs: (resolveChangeLog): Set correct permissions when
629         moving the file.
630
631 2016-12-12  Filip Pizlo  <fpizlo@apple.com>
632
633         Re-enable collectContinuously since it doesn't crash anymore
634
635         Rubber stamped by Michael Saboff.
636
637         * Scripts/run-jsc-stress-tests:
638
639 2016-12-11  Konstantin Tokarev  <annulen@yandex.ru>
640
641         Unreviewed attempt to fix EFL and Mac/cmake builds after r209665.
642         https://bugs.webkit.org/show_bug.cgi?id=165686
643
644         * DumpRenderTree/CMakeLists.txt: WebKit2 should precede other target
645         so that right config.h comes first in include path.
646
647 2016-12-11  Dave Hyatt  <hyatt@apple.com>
648
649         [CSS Parser] Make sure content extensions initialize AtomicString
650         https://bugs.webkit.org/show_bug.cgi?id=165737
651
652         Reviewed by Darin Adler.
653
654         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
655         (TestWebKitAPI::makeBackend):
656
657 2016-12-08  Dave Hyatt  <hyatt@apple.com>
658
659         [CSS Parser] Remove the old CSS Parser
660         https://bugs.webkit.org/show_bug.cgi?id=165645
661
662         Reviewed by Daniel Bates.
663
664         * TestWebKitAPI/Tests/WebCore/CSSParser.cpp:
665         (TestWebKitAPI::TEST):
666
667 2016-12-10  Konstantin Tokarev  <annulen@yandex.ru>
668
669         [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them
670         https://bugs.webkit.org/show_bug.cgi?id=165686
671
672         Reviewed by Michael Catanzaro.
673
674         This change reduces duplication of include path lists between modules,
675         and reduces future need for fixes like r209605 (broken build because of
676         WebCore header suddenly becoming used in WebKit2).
677
678         * DumpRenderTree/CMakeLists.txt:
679         * DumpRenderTree/PlatformMac.cmake:
680         * ImageDiff/CMakeLists.txt:
681         * MiniBrowser/gtk/CMakeLists.txt:
682         * MiniBrowser/mac/CMakeLists.txt:
683         * MiniBrowser/win/CMakeLists.txt:
684         * TestWebKitAPI/CMakeLists.txt:
685         * TestWebKitAPI/PlatformEfl.cmake:
686         * TestWebKitAPI/PlatformJSCOnly.cmake:
687         * TestWebKitAPI/PlatformMac.cmake:
688         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
689         * WebKitTestRunner/CMakeLists.txt:
690         * WebKitTestRunner/PlatformGTK.cmake:
691         * WebKitTestRunner/PlatformMac.cmake:
692
693 2016-12-09  Csaba Osztrogonác  <ossy@webkit.org>
694
695         Unreviewed buildfix after r209630.
696
697         * Scripts/build-jsc: Remove building the non-existing testWASM.
698
699 2016-12-09  Eric Carlson  <eric.carlson@apple.com>
700
701         Annotate MediaStream and WebRTC idl with EnabledAtRuntime flag
702         https://bugs.webkit.org/show_bug.cgi?id=165251
703
704         Reviewed by Dean Jackson.
705
706         Based on a patch by Dr Alex Gouaillard <agouaillard@gmail.com>
707
708         * DumpRenderTree/mac/DumpRenderTree.mm:
709         (resetWebPreferencesToConsistentValues): Enable MediaStream and PeerConnection.
710
711         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
712         (WTR::InjectedBundle::beginTesting): Ditto.
713
714         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
715         (WTR::TestRunner::setMediaStreamEnabled): New.
716         (WTR::TestRunner::setPeerConnectionEnabled): New.
717         * WebKitTestRunner/InjectedBundle/TestRunner.h:
718
719 2016-12-09  Brady Eidson  <beidson@apple.com> 
720  
721         Re-landing:
722         Add _WKIconLoadingDelegate SPI. 
723         https://bugs.webkit.org/show_bug.cgi?id=164894 
724  
725         Reviewed by Alex Christensen. 
726         
727         Add MiniBrowser support for this new SPI, configurable with a setting. 
728  
729         * MiniBrowser/mac/SettingsController.h: 
730         * MiniBrowser/mac/SettingsController.m: 
731         (-[SettingsController _populateMenu]): 
732         (-[SettingsController validateMenuItem:]): 
733         (-[SettingsController loadsAllSiteIcons]): 
734         (-[SettingsController toggleLoadsAllSiteIcons:]): 
735         * MiniBrowser/mac/WK2BrowserWindowController.m: 
736         (-[WK2BrowserWindowController awakeFromNib]): 
737         (-[WK2BrowserWindowController webView:shouldLoadIconWithParameters:completionHandler:]): 
738
739 2016-12-09  Ryan Haddad  <ryanhaddad@apple.com>
740
741         Fix the 32-bit build.
742
743         Unreviewed build fix.
744
745         * MiniBrowser/mac/SettingsController.h:
746
747 2016-12-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
748
749         Fedora also needs a PHP7 config file alternative
750         https://bugs.webkit.org/show_bug.cgi?id=165606
751
752         Reviewed by Michael Catanzaro.
753
754         * Scripts/webkitpy/port/base.py:
755         (Port._is_fedora_php_version_7): check for the php7 library.
756         (Port._fedora_php_version): get the appropriate filename for Fedora.
757         (Port._apache_config_file_name_for_platform):
758
759 2016-12-09  Ryan Haddad  <ryanhaddad@apple.com>
760
761         Complete the revert of r208865.
762         https://bugs.webkit.org/show_bug.cgi?id=164894
763
764         Unreviewed build fix.
765
766         * MiniBrowser/mac/SettingsController.h:
767         * MiniBrowser/mac/SettingsController.m:
768         (-[SettingsController _populateMenu]):
769         (-[SettingsController validateMenuItem:]):
770         (-[SettingsController loadsAllSiteIcons]): Deleted.
771         (-[SettingsController toggleLoadsAllSiteIcons:]): Deleted.
772         * MiniBrowser/mac/WK2BrowserWindowController.m:
773         (-[WK2BrowserWindowController awakeFromNib]):
774         (-[WK2BrowserWindowController webView:shouldLoadIconWithParameters:completionHandler:]): Deleted.
775
776 2016-12-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
777
778         [GTK] Force GDK backend to x11 when running with XvfbDriver
779         https://bugs.webkit.org/show_bug.cgi?id=165612
780
781         Reviewed by Michael Catanzaro.
782
783         When the developer is running a Wayland session, GDK may get confused
784         and try to use its Wayland backend (which is higher priority) instead.
785         This ensures it will use the appropriate backend when running under
786         Xvfb.
787
788         * Scripts/webkitpy/port/gtk.py:
789         (GtkPort.setup_environ_for_server): when running with XvfbDriver,
790         force GDK_BACKEND to x11.
791
792 2016-12-08  Keith Miller  <keith_miller@apple.com>
793
794         Add 64-bit signed LEB decode method
795         https://bugs.webkit.org/show_bug.cgi?id=165630
796
797         Reviewed by Ryosuke Niwa.
798
799         Add tests for LEB int64 and uint64 decode since I guess
800         I forgot to add tests before.
801
802         * TestWebKitAPI/Tests/WTF/LEBDecoder.cpp:
803         (TestWebKitAPI::testUInt32LEBDecode):
804         (TestWebKitAPI::TEST):
805         (TestWebKitAPI::testUInt64LEBDecode):
806         (TestWebKitAPI::testInt32LEBDecode):
807         (TestWebKitAPI::testInt64LEBDecode):
808         (TestWebKitAPI::testUnsignedLEBDecode): Deleted.
809
810 2016-12-08  Filip Pizlo  <fpizlo@apple.com>
811
812         Make it easy to enable --force-collectContinuously
813         https://bugs.webkit.org/show_bug.cgi?id=165638
814
815         Reviewed by Keith Miller.
816
817         * Scripts/run-javascriptcore-tests:
818         (runJSCStressTests):
819
820 2016-12-08  Filip Pizlo  <fpizlo@apple.com>
821
822         Disable the collectContinuously mode until I investigate failures.
823
824         Rubber stamped by Keith Miller.
825         
826         I'm seeing collectContinuously crashes on some platforms. Disabling that testing mode
827         while I investigate.
828
829         * Scripts/run-jsc-stress-tests:
830
831 2016-12-08  Alex Christensen  <achristensen@webkit.org>
832
833         REGRESSION (URL parser): Relative URLs aren’t resolved correctly when the base URL is an applewebdata: URL
834         https://bugs.webkit.org/show_bug.cgi?id=165621
835
836         Reviewed by Dan Bernstein.
837
838         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
839         (TestWebKitAPI::TEST_F):
840
841 2016-12-06  Filip Pizlo  <fpizlo@apple.com>
842
843         Concurrent GC should be stable enough to land enabled
844         https://bugs.webkit.org/show_bug.cgi?id=164990
845
846         Reviewed by Geoffrey Garen.
847         
848         Add a new mode that runs GC continuously. Also made eager modes run GC continuously.
849         
850         It's clear that this works just fine in release, but I'm still trying to figure out if it's
851         safe for debug. It might be too slow for debug.
852
853         * Scripts/run-jsc-stress-tests:
854
855 2016-12-08  Alex Christensen  <achristensen@webkit.org>
856
857         Add SPI for sending WebsiteSettings to WebProcess during navigation
858         https://bugs.webkit.org/show_bug.cgi?id=165517
859         <rdar://29341068>
860
861         Reviewed by Anders Carlsson.
862
863         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
864         * TestWebKitAPI/Tests/WebKit2/contentBlockerCheck.html: Added.
865         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm: Added.
866         (-[WebsitePoliciesDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
867         (-[WebsitePoliciesDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
868         (-[WebsitePoliciesDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
869         (TEST):
870
871 2016-12-08  Chris Dumez  <cdumez@apple.com>
872
873         Unreviewed, rolling out r209489.
874
875         Likely caused large regressions on JetStream, Sunspider and
876         Speedometer
877
878         Reverted changeset:
879
880         "Add system trace points for JavaScript VM entry/exit"
881         https://bugs.webkit.org/show_bug.cgi?id=165550
882         http://trac.webkit.org/changeset/209489
883
884 2016-12-08  Keith Miller  <keith_miller@apple.com>
885
886         Move LEB tests to API tests
887         https://bugs.webkit.org/show_bug.cgi?id=165586
888
889         Reviewed by Saam Barati.
890
891         Move the tests from testWasm.cpp and make them functions
892         rather than macros.
893
894         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
895         * TestWebKitAPI/Tests/WTF/LEBDecoder.cpp: Added.
896         (TestWebKitAPI::testUnsignedLEBDecode):
897         (TestWebKitAPI::TEST):
898         (TestWebKitAPI::testInt32LEBDecode):
899
900 2016-12-08  Chris Dumez  <cdumez@apple.com>
901
902         Support running the layout tests offline
903         https://bugs.webkit.org/show_bug.cgi?id=165534
904
905         Reviewed by Ryosuke Niwa.
906
907         * Scripts/webkitpy/common/system/autoinstall.py:
908         (AutoInstaller._download_to_stream):
909         getcode() returns None for file URLs so handle this.
910
911         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
912         (WebPlatformTestServer._install_modules):
913         Deal with local path in the json file and resolve them into file URLs
914         before using AutoInstall.
915
916 2016-12-08  Alex Christensen  <achristensen@webkit.org>
917
918         Fix CMake build.
919
920         * DumpRenderTree/PlatformMac.cmake:
921         Remove CheckedMalloc.cpp after r209516.
922
923 2016-12-07  Mark Lam  <mark.lam@apple.com>
924
925         DumpRenderTree should stop using CheckedMalloc.
926         https://bugs.webkit.org/show_bug.cgi?id=165563
927         <rdar://problem/28945820>
928
929         Reviewed by Geoffrey Garen.
930
931         1. WebKitTestRunner does not have equivalent behavior to that which is implemented
932            in CheckedMalloc.
933         2. bmalloc does not honor the settings of CheckedMalloc.
934
935         The only time CheckedMalloc comes into play is when DRT uses gmalloc or system
936         malloc.  As a result, DRT exhibits different behavior from the normal way we run
937         our tests.  We should obsolete CheckedMalloc and make DRT behave consistently
938         with WKTR.
939
940         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
941         * DumpRenderTree/mac/CheckedMalloc.cpp: Removed.
942         * DumpRenderTree/mac/CheckedMalloc.h: Removed.
943         * DumpRenderTree/mac/DumpRenderTree.mm:
944         (prepareConsistentTestingEnvironment):
945
946 2016-12-07  Dean Jackson  <dino@apple.com>
947
948         Remove runtime toggle for pointer-lock
949         https://bugs.webkit.org/show_bug.cgi?id=165577
950         <rdar://problems/29566996>
951
952         Reviewed by Jon Lee.
953
954         Remove any runtime calls to check if pointer-lock is enabled. It's
955         either compiled in or out.
956
957         * DumpRenderTree/mac/DumpRenderTree.mm:
958         (resetWebPreferencesToConsistentValues):
959         * WebKitTestRunner/TestController.cpp:
960         (WTR::TestController::resetPreferencesToConsistentValues):
961
962 2016-12-07  Eric Carlson  <eric.carlson@apple.com>
963
964         [MediaStream][Mac] Revoke sandbox extensions when capture ends
965         https://bugs.webkit.org/show_bug.cgi?id=165476
966
967         Reviewed by Brady Eidson.
968         
969         Add a test which loads a page that calls navigator.mediaDevices.enumerateDevices, kills the
970         page, and loads the same page again to ensure that the WK2 UserMediaPermissionRequestManagerProxy
971         is reset and recreated when a web page exits and is reloaded.
972
973         * TestWebKitAPI/PlatformGTK.cmake:
974         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
975         * TestWebKitAPI/Tests/WebKit2/EnumerateMediaDevices.cpp: Added.
976         (TestWebKitAPI::checkUserMediaPermissionCallback):
977         (TestWebKitAPI::TEST):
978         * TestWebKitAPI/Tests/WebKit2/enumerateMediaDevices.html: Added.
979
980 2016-12-07  Jeremy Jones  <jeremyj@apple.com>
981
982         One esc to exit fullscreen and pointer lock
983         https://bugs.webkit.org/show_bug.cgi?id=165416
984         rdar://problem/29430711
985
986         Reviewed by Jer Noble.
987
988         Implement WKPageUIClientV8 for pointer lock support.
989         Add "escape" key support in EventSenderProxy.
990
991         * WebKitTestRunner/TestController.cpp:
992         (WTR::requestPointerLock):
993         (WTR::TestController::createOtherPage):
994         (WTR::TestController::createWebViewWithOptions):
995         * WebKitTestRunner/mac/EventSenderProxy.mm:
996         (WTR::EventSenderProxy::keyDown):
997
998 2016-12-07  Simon Fraser  <simon.fraser@apple.com>
999
1000         Add system trace points for JavaScript VM entry/exit
1001         https://bugs.webkit.org/show_bug.cgi?id=165550
1002
1003         Reviewed by Tim Horton.
1004
1005         Add trace points for entry/exit into/out of the JS VM.
1006
1007         * Tracing/SystemTracePoints.plist:
1008
1009 2016-12-07  ChangSeok Oh  <changseok@webkit.org>
1010
1011         [GTK] Cannot build GTK+ with CUPS 2.* versions
1012         https://bugs.webkit.org/show_bug.cgi?id=163591
1013
1014         Reviewed by Michael Catanzaro.
1015
1016         GTK+ build has failed on the system which CUPS 2.x is installed in. GTK+ 3.16.4
1017         does not assume to use the recent CUPS thus it fails to detect the CUPS in configuration.
1018         GTK+ upstream fixed this issue but it is not easy to apply the original patch to our
1019         old gtk+ since it requires not only bumping up glib accordingly and its consequence
1020         causes many printing test failures. So, I propose to fix the configuration issue by
1021         applying the change to the configure file directly. By doing this, we don't need to
1022         upgrade glib and worry about any test failures as a consequence of the upgraded glib.
1023
1024         * gtk/jhbuild.modules:
1025         * gtk/patches/gtk+-configure-fix-detecting-CUPS-2.x.patch: Added.
1026
1027 2016-12-07  Simon Fraser  <simon.fraser@apple.com>
1028
1029         Fix use of enum in a WK2 C SPI header.
1030         rdar://problem/28725583
1031
1032         Followup to correctly prefix the enum values.
1033
1034         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1035         (WTR::InjectedBundlePage::prepare):
1036
1037 2016-12-07  Simon Fraser  <simon.fraser@apple.com>
1038
1039         Fix use of enum in a WK2 C SPI header.
1040         rdar://problem/28725583
1041
1042         Reviewed by Dan Bernstein.
1043
1044         Use correct enum style for a C SPI header and fix the callers.
1045
1046         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1047         (WTR::InjectedBundlePage::prepare):
1048
1049 2016-12-07  Wenson Hsieh  <wenson_hsieh@apple.com>
1050
1051         Add a new project for recording and playing back editing commands in editable web content
1052         https://bugs.webkit.org/show_bug.cgi?id=165114
1053         <rdar://problem/29408135>
1054
1055         Reviewed by Beth Dakin.
1056
1057         Adds a new Xcode project containing work towards rewinding and playing back editing commands. This work is
1058         wrapped in an Xcode project to take advantage of the XCTest framework. To manually test recording, open the
1059         capture test harness, edit the contenteditable body, and then hit cmd-S. This downloads a .json file which may
1060         then be dragged into the playback test harness.
1061
1062         Also adds 3 new unit tests in EditingHistoryTests/RewindAndPlaybackTests.m. These tests carry out the following
1063         steps:
1064
1065         1. Load the capture harness and perform test-specific editing on the web view.
1066         2. Let originalState be a dump of the DOM at this point in time.
1067         3. Extract the JSON-serialized editing history data and load the playback harness with this data.
1068         4. Rewind all editing to the beginning.
1069         5. Playback all editing to the end.
1070         6. Dump the state of the DOM. This should be identical to originalState.
1071
1072         * EditingHistory/EditingHistory.xcodeproj/project.pbxproj: Added.
1073         * EditingHistory/EditingHistory/Info.plist: Added.
1074         * EditingHistory/EditingHistory/Resources/CaptureHarness.html: Added.
1075         * EditingHistory/EditingHistory/Resources/DOMTestingUtil.js: Added.
1076         * EditingHistory/EditingHistory/Resources/PlaybackHarness.html: Added.
1077         * EditingHistory/EditingHistory/TestRunner.h: Added.
1078         * EditingHistory/EditingHistory/TestRunner.m: Added.
1079         (injectedMessageEventHandlerScript):
1080         (-[TestRunner init]):
1081         (-[TestRunner deleteBackwards:]):
1082         (-[TestRunner typeString:]):
1083         (-[TestRunner bodyElementSubtree]):
1084         (-[TestRunner bodyTextContent]):
1085         (-[TestRunner editingHistoryJSON]):
1086         (-[TestRunner loadPlaybackTestHarnessWithJSON:]):
1087         (-[TestRunner numberOfUpdates]):
1088         (-[TestRunner jumpToUpdateIndex:]):
1089         (-[TestRunner expectEvents:afterPerforming:]):
1090         (-[TestRunner loadCaptureTestHarness]):
1091         (-[TestRunner setTextObfuscationEnabled:]):
1092         (-[TestRunner isDoneWaitingForPendingEvents]):
1093         (-[TestRunner userContentController:didReceiveScriptMessage:]):
1094
1095         The TestRunner provides utilities that a unit test should use to drive the test forward (e.g. loading harnesses)
1096         or inspect the state of the loaded page (e.g. extracting JSON editing history data from the capture harness).
1097
1098         * EditingHistory/EditingHistory/TestUtil.h: Added.
1099         * EditingHistory/EditingHistory/TestUtil.m: Added.
1100         (waitUntilWithTimeout):
1101         (waitUntil):
1102
1103         Provides utilities for running tests. For now, this is just spinning the runloop on a given condition.
1104
1105         * EditingHistory/EditingHistory/WKWebViewAdditions.h: Added.
1106         * EditingHistory/EditingHistory/WKWebViewAdditions.m: Added.
1107         (-[WKWebView loadPageFromBundleNamed:]):
1108         (-[WKWebView typeCharacter:]):
1109         (-[WKWebView keyPressWithCharacters:keyCode:]):
1110         (-[WKWebView stringByEvaluatingJavaScriptFromString:]):
1111
1112         Provides utilities for simulating interaction in a web view.
1113
1114         * EditingHistory/EditingHistory/main.m: Added.
1115         (main):
1116         * EditingHistory/EditingHistoryTests/Info.plist: Added.
1117         * EditingHistory/EditingHistoryTests/RewindAndPlaybackTests.m: Added.
1118         (-[RewindAndPlaybackTests setUp]):
1119         (-[RewindAndPlaybackTests tearDown]):
1120         (-[RewindAndPlaybackTests testTypingSingleLineOfText]):
1121         (-[RewindAndPlaybackTests testTypingMultipleLinesOfText]):
1122         (-[RewindAndPlaybackTests testTypingAndDeletingText]):
1123         (-[RewindAndPlaybackTests rewindAndPlaybackEditingInPlaybackTestHarness]):
1124         (-[RewindAndPlaybackTests originalBodySubtree:isEqualToFinalSubtree:]):
1125
1126 2016-12-07  Philippe Normand  <pnormand@igalia.com>
1127
1128         [GTK][jhbuild] missing dependency on libvpx in gst-plugins-good
1129         https://bugs.webkit.org/show_bug.cgi?id=165525
1130
1131         Reviewed by Carlos Garcia Campos.
1132
1133         * gtk/jhbuild.modules: gst-plugins-good should depend on the
1134         libvpx package built within jhbuild.
1135
1136 2016-12-07  Philippe Normand  <pnormand@igalia.com>
1137
1138         [GTK][jhbuild] gst-plugins-bad fails to build with OpenSSL 1.1.0
1139         https://bugs.webkit.org/show_bug.cgi?id=165520
1140
1141         Reviewed by Carlos Garcia Campos.
1142
1143         * gtk/jhbuild.modules: Added missing dependency on openh264 in
1144         gst-plugins-bad, along with 2 upstream patches fixing the build
1145         against OpenSSL 1.1.0.
1146         * gtk/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Added.
1147         * gtk/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Added.
1148
1149 2016-12-06  Alexey Proskuryakov  <ap@apple.com>
1150
1151         Correct SDKROOT values in xcconfig files
1152         https://bugs.webkit.org/show_bug.cgi?id=165487
1153         rdar://problem/29539209
1154
1155         Reviewed by Dan Bernstein.
1156
1157         Fix suggested by Dan Bernstein.
1158
1159         * ContentExtensionTester/Configurations/DebugRelease.xcconfig:
1160         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1161         * MiniBrowser/Configurations/DebugRelease.xcconfig:
1162         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
1163         * WebEditingTester/Configurations/DebugRelease.xcconfig:
1164         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
1165
1166 2016-12-06  Daniel Bates  <dabates@apple.com>
1167
1168         WebKitTestRunner: Plugins are disabled in new windows
1169         https://bugs.webkit.org/show_bug.cgi?id=165410
1170
1171         Reviewed by Alex Christensen.
1172
1173         Currently WebKitTestRunner only enables plugins in the main window. So, a test that opens
1174         a new window and loads a plugin will fail. We should enable plugins in all windows by
1175         default. Moreover toggling testRunner.setPluginsEnabled() should effect all windows.
1176
1177         Making these changes is a step towards running plugins/open-and-close-window-with-plugin.html
1178         in WebKitTestRunner (we still need to fix <https://bugs.webkit.org/show_bug.cgi?id=46714>) and
1179         will make the behavior of WebKitTestRunner more closely match the behavior DumpRenderTree.
1180
1181         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1182         (WTR::InjectedBundle::beginTesting): Call TestRunner::setPluginsEnabled() instead of
1183         WKBundleSetPluginsEnabled().
1184         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1185         (WTR::TestRunner::setPluginsEnabled): Take a similar approach as TestRunner::setXSSAuditorEnabled()
1186         and make use of WKBundleOverrideBoolPreferenceForTestRunner().
1187
1188 2016-12-05  Dean Jackson  <dino@apple.com>
1189
1190         pointer lock needs to be feature detectable
1191         https://bugs.webkit.org/show_bug.cgi?id=165426
1192         <rdar://problem/29486715>
1193
1194         Reviewed by Antoine Quint.
1195
1196         Expose the comment line to turn on/off pointer lock.
1197
1198         * DumpRenderTree/TestOptions.h:
1199         * DumpRenderTree/TestOptions.mm:
1200         (TestOptions::TestOptions):
1201         * DumpRenderTree/mac/DumpRenderTree.mm:
1202         (resetWebPreferencesToConsistentValues):
1203         * WebKitTestRunner/TestController.cpp:
1204         (WTR::TestController::resetPreferencesToConsistentValues):
1205         (WTR::updateTestOptionsFromTestHeader):
1206         * WebKitTestRunner/TestOptions.h:
1207         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1208         (WTR::PlatformWebView::viewSupportsOptions):
1209         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1210         (WTR::PlatformWebView::viewSupportsOptions):
1211
1212 2016-12-05  Jonathan Bedard  <jbedard@apple.com>
1213
1214         Make it possible to use an existing simulator instance for one-off testing
1215         https://bugs.webkit.org/show_bug.cgi?id=164568
1216         <rdar://problem/29189133>
1217
1218         Reviewed by Daniel Bates.
1219
1220         With this patch, if a simulator is currently running on the machine and
1221         '--dedicated-simulators' is not passed into the application, only one simulator
1222         instance will be used, and this instance will be the existing instance.
1223         If no simulator is running or '--dedicated-simulators' is passed to the script,
1224         previous behavior will be used.
1225
1226         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1227         (parse_args):
1228         * Scripts/webkitpy/port/ios.py:
1229         (IOSSimulatorPort.__init__): Logic for enabling usage of currently running simulator.
1230         (IOSSimulatorPort._create_simulators): Only create simulators when needed, don't reset already running simulators.
1231         (IOSSimulatorPort.setup_test_run): Don't open already running simulators.
1232         (IOSSimulatorPort._quit_ios_simulator): Only quit simulators if we manage them.
1233         (IOSSimulatorPort.clean_up_test_run): Only clean up simulators if we manage them. 
1234         (IOSSimulatorPort._using_dedicated_simulators): True if simulators need to be managed, false if using an existing instance.
1235         (IOSSimulatorPort.device_id_for_worker_number): Access currently running simulator if not managing devices.
1236         * Scripts/webkitpy/xcode/simulator.py:
1237         (Simulator.refresh): Check if xcode_simctl_list returned None instead of a generator.
1238         (Simulator.current_device): Get currently running device.
1239
1240 2016-12-05  Dan Bernstein  <mitz@apple.com>
1241
1242         Disable a crashing test on iOS.
1243
1244         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegate.mm:
1245
1246 2016-12-04  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1247
1248         Fix a build break on EFL since r209303.
1249
1250         Unreviewed build fix.
1251
1252         * Scripts/webkitperl/FeatureList.pm: Disable SS Device Adaptation temporarily.
1253
1254 2016-12-03  Yusuke Suzuki  <utatane.tea@gmail.com>
1255
1256         Refactor SymbolImpl layout
1257         https://bugs.webkit.org/show_bug.cgi?id=165247
1258
1259         Reviewed by Darin Adler.
1260
1261         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1262         (TestWebKitAPI::TEST):
1263
1264 2016-12-03  Dan Bernstein  <mitz@apple.com>
1265
1266         Fixed the build after r209307.
1267
1268         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegate.mm:
1269         (TEST):
1270
1271 2016-12-03  Dan Bernstein  <mitz@apple.com>
1272
1273         [Cocoa] Expose InjectedBundlePageEditorClient via the Objective-C bundle SPI
1274         https://bugs.webkit.org/show_bug.cgi?id=165276
1275         <rdar://problem/29467040>
1276
1277         Reviewed by Darin Adler.
1278
1279         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1280         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegate.mm: Added.
1281         (-[BundleEditingDelegateRemoteObject willWriteToPasteboard:]):
1282         (-[BundleEditingDelegateRemoteObject didWriteToPasteboard]):
1283         (TEST):
1284         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegatePlugIn.mm: Added.
1285         (-[BundleEditingDelegatePlugIn webProcessPlugIn:didCreateBrowserContextController:]):
1286         (-[BundleEditingDelegatePlugIn _webProcessPlugInBrowserContextController:willWriteRangeToPasteboard:]):
1287         (-[BundleEditingDelegatePlugIn _webProcessPlugInBrowserContextController:pasteboardDataForRange:]):
1288         (-[BundleEditingDelegatePlugIn _webProcessPlugInBrowserContextControllerDidWriteToPasteboard:]):
1289         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegateProtocol.h: Added.
1290
1291 2016-12-02  Andy Estes  <aestes@apple.com>
1292
1293         [Cocoa] Adopt the PRODUCT_BUNDLE_IDENTIFIER build setting
1294         https://bugs.webkit.org/show_bug.cgi?id=164492
1295
1296         Reviewed by Dan Bernstein.
1297
1298         * DumpRenderTree/TestNetscapePlugIn/mac/Info.plist: Changed CFBundleIdentifier's value from
1299         com.apple.testnetscapeplugin to ${PRODUCT_BUNDLE_IDENTIFIER}.
1300         * DumpRenderTree/ios/Info.plist: Changed CFBundleIdentifier's value from
1301         org.webkit.DumpRenderTree to ${PRODUCT_BUNDLE_IDENTIFIER}.
1302         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig: Set
1303         PRODUCT_BUNDLE_IDENTIFIER to org.webkit.DumpRenderTree.
1304         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Set
1305         PRODUCT_BUNDLE_IDENTIFIER to com.apple.testnetscapeplugin.
1306         * MiniBrowser/Configurations/MiniBrowser.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to
1307         org.webkit.$(PRODUCT_NAME:rfc1034identifier).
1308         * MiniBrowser/Configurations/MiniBrowserBundle.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to
1309         com.apple.$(PRODUCT_NAME:rfc1034identifier).
1310         * MiniBrowser/mac/Bundle/Info.plist: Changed CFBundleIdentifier's value from
1311         com.apple.${PRODUCT_NAME:rfc1034identifier} to ${PRODUCT_BUNDLE_IDENTIFIER}.
1312         * MiniBrowser/mac/Info.plist: Changed CFBundleIdentifier's value from
1313         org.webkit.${PRODUCT_NAME} to ${PRODUCT_BUNDLE_IDENTIFIER}.
1314         * TestWebKitAPI/Configurations/InjectedBundle.xcconfig: Set INFOPLIST_FILE to
1315         InjectedBundle-Info.plist and set PRODUCT_BUNDLE_IDENTIFIER to
1316         com.apple.$(PRODUCT_NAME:rfc1034identifier).
1317         * TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to
1318         com.apple.$(PRODUCT_NAME:rfc1034identifier).
1319         * TestWebKitAPI/InjectedBundle-Info.plist: Changed CFBundleIdentifier's value from
1320         com.yourcompany.${PRODUCT_NAME:rfc1034identifier} to ${PRODUCT_BUNDLE_IDENTIFIER}.
1321         * TestWebKitAPI/cocoa/WebProcessPlugIn/Info.plist: Added a CFBundleIdentifier key with the
1322         value ${PRODUCT_BUNDLE_IDENTIFIER}.
1323         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig: Set INFOPLIST_FILE to
1324         InjectedBundle-Info.plist and set PRODUCT_BUNDLE_IDENTIFIER to
1325         com.apple.WebKitTestRunner.InjectedBundle.
1326         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: Set
1327         PRODUCT_BUNDLE_IDENTIFIER to org.webkit.$(PRODUCT_NAME:rfc1034identifier).
1328         * WebKitTestRunner/InjectedBundle-Info.plist: Changed CFBundleIdentifier's value from
1329         com.apple.WebKitTestRunner.InjectedBundle to ${PRODUCT_BUNDLE_IDENTIFIER}.
1330         * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Info.plist: Changed
1331         CFBundleIdentifier's value from org.webkit.${PRODUCT_NAME:rfc1034identifier} to
1332         ${PRODUCT_BUNDLE_IDENTIFIER}.
1333
1334 2016-12-02  Brady Eidson  <beidson@apple.com>
1335
1336         Make IndexedDB.WebProcessKillIDBCleanup even more reliable.
1337         https://bugs.webkit.org/show_bug.cgi?id=165330
1338
1339         Reviewed by Alex Christensen.
1340
1341         The test currently nulls out a RetainPtr<WKWebView> to try to destroy the view and kill the process.
1342
1343         Problem is that doesn't reliably destroy the view.
1344         We should explicitly kill the process instead.
1345
1346         Also, by relocating when we kill the process, we can better test behavior of the IndexedDB mechanism.
1347         e.g. We explicitly confirm that a second WebProcess can simultaneously attach to the same unique database as the first.
1348
1349         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm:
1350         (TEST):
1351
1352 2016-12-02  Commit Queue  <commit-queue@webkit.org>
1353
1354         Unreviewed, rolling out r209136.
1355         https://bugs.webkit.org/show_bug.cgi?id=165337
1356
1357         broke 36 webkitpy tests (Requested by mcatanzaro on #webkit).
1358
1359         Reverted changeset:
1360
1361         "Make it possible to use an existing simulator instance for
1362         one-off testing"
1363         https://bugs.webkit.org/show_bug.cgi?id=164568
1364         http://trac.webkit.org/changeset/209136
1365
1366 2016-12-02  Chris Dumez  <cdumez@apple.com>
1367
1368         [Mac][WK1] Implement new HTML interactive form validation user interface
1369         https://bugs.webkit.org/show_bug.cgi?id=164483
1370
1371         Reviewed by Simon Fraser.
1372
1373         Add support for UIScriptController's contentsOfUserInterfaceItem("validationBubble")
1374         on Mac DRT as this is needed by the HTML form validation layout tests.
1375
1376         * DumpRenderTree/mac/UIScriptControllerMac.mm:
1377         (WTR::UIScriptController::contentsOfUserInterfaceItem):
1378
1379 2016-12-02  Brady Eidson  <beidson@apple.com>
1380
1381         IndexedDB.IndexedDBMultiProcess and IndexedDB.WebProcessKillIDBCleanup sometimes timeout.
1382         https://bugs.webkit.org/show_bug.cgi?id=160780 and https://bugs.webkit.org/show_bug.cgi?id=161001
1383
1384         Reviewed by Alexey Proskuryakov.
1385
1386         These tests had "run-loop races."
1387         
1388         The test spins the runloop waiting for one message.
1389         Two messages might come in from the WebProcess in short succession, and both be delivered to the
1390         UIProcess in the same spin of the runloop.
1391
1392         Therefore by the time the test stops spinning the runloop, notified that a message was received,
1393         the first message has been overwritten by the second.
1394
1395         These tests are fixed by queueing the incoming messages instead of just storing one.
1396
1397         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
1398         (-[IndexedDBMPMessageHandler userContentController:didReceiveScriptMessage:]):
1399         (getNextMessage):
1400         (TEST):
1401
1402         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm:
1403         (-[IndexedDBWebProcessKillMessageHandler userContentController:didReceiveScriptMessage:]):
1404         (getNextMessage):
1405         (TEST):
1406
1407 2016-12-01  Jiewen Tan  <jiewen_tan@apple.com>
1408
1409         Add a runtime flag for SubtleCrypto
1410         https://bugs.webkit.org/show_bug.cgi?id=164982
1411
1412         Reviewed by Brent Fulgham.
1413
1414         * DumpRenderTree/mac/DumpRenderTree.mm:
1415         (resetWebPreferencesToConsistentValues):
1416         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1417         (WTR::InjectedBundle::beginTesting):
1418         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1419         (WTR::TestRunner::setSubtleCryptoEnabled):
1420         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1421
1422 2016-12-01  Alexey Proskuryakov  <ap@apple.com>
1423
1424         Remove webkitpy dependency on Eliza
1425         https://bugs.webkit.org/show_bug.cgi?id=164979
1426
1427         Reviewed by Daniel Bates.
1428
1429         This module is not on pypi, so installing it is a challenge. The jokes feel pretty old too!
1430
1431         * Scripts/webkitpy/thirdparty/__init__.py:
1432         * Scripts/webkitpy/thirdparty/__init___unittest.py: Changed mock import hook to
1433         test buildbot instead of eliza.
1434         * Scripts/webkitpy/tool/bot/ircbot.py:
1435         * Scripts/webkitpy/tool/bot/ircbot_unittest.py:
1436
1437 2016-12-01  Beth Dakin  <bdakin@apple.com>
1438
1439         Force clicking tests fail on some machines
1440         https://bugs.webkit.org/show_bug.cgi?id=165263
1441
1442         Reviewed by Tim Horton.
1443
1444         Initialize com.apple.trackpad.forceClick to 1 so that we don’t have to depend on 
1445         the user account having this feature enabled. 
1446         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
1447         (WTR::InjectedBundle::platformInitialize):
1448         * WebKitTestRunner/mac/main.mm:
1449         (setDefaultsToConsistentValuesForTesting):
1450
1451 2016-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
1452
1453         Introduce StringImpl::StaticStringImpl with constexpr constructor
1454         https://bugs.webkit.org/show_bug.cgi?id=165093
1455
1456         Reviewed by Darin Adler.
1457
1458         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1459         (TestWebKitAPI::TEST):
1460
1461 2016-11-30  Antoine Quint  <graouts@apple.com>
1462
1463         [Modern Media Controls] Add an HTML comment flag to turn the feature on
1464         https://bugs.webkit.org/show_bug.cgi?id=165226
1465
1466         Reviewed by Dean Jackson.
1467
1468         Add a new flag to turn Modern Media Controls on in the test runners.
1469
1470         * DumpRenderTree/TestOptions.h:
1471         * DumpRenderTree/TestOptions.mm:
1472         (TestOptions::TestOptions):
1473         * DumpRenderTree/mac/DumpRenderTree.mm:
1474         (resetWebPreferencesToConsistentValues):
1475         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1476         (WTR::InjectedBundle::beginTesting):
1477         * WebKitTestRunner/TestController.cpp:
1478         (WTR::TestController::resetPreferencesToConsistentValues):
1479         (WTR::updateTestOptionsFromTestHeader):
1480         * WebKitTestRunner/TestOptions.h:
1481         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1482         (WTR::PlatformWebView::viewSupportsOptions):
1483         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1484         (WTR::PlatformWebView::viewSupportsOptions):
1485
1486 2016-11-30  Said Abou-Hallawa  <sabouhallawa@apple.com>
1487
1488         Add separate settings and preferences to enable/disable async decoding for large images and animated images
1489         https://bugs.webkit.org/show_bug.cgi?id=165177
1490
1491         Reviewed by Simon Fraser.
1492         
1493         Pref and a menu item to toggle async image decoding settings for WebKits 1 and 2.
1494
1495         * MiniBrowser/mac/SettingsController.h:
1496         * MiniBrowser/mac/SettingsController.m:
1497         (-[SettingsController _populateMenu]):
1498         (-[SettingsController validateMenuItem:]):
1499         (-[SettingsController toggleLargeImageAsyncDecodingEnabled:]):
1500         (-[SettingsController largeImageAsyncDecodingEnabled]):
1501         (-[SettingsController toggleAnimatedImageAsyncDecodingEnabled:]):
1502         (-[SettingsController animatedImageAsyncDecodingEnabled]):
1503         (-[SettingsController toggleAsyncImageDecodingEnabled:]): Deleted.
1504         (-[SettingsController asyncImageDecodingEnabled]): Deleted.
1505         * MiniBrowser/mac/WK1BrowserWindowController.m:
1506         (-[WK1BrowserWindowController didChangeSettings]):
1507         * MiniBrowser/mac/WK2BrowserWindowController.m:
1508         (-[WK2BrowserWindowController didChangeSettings]):
1509
1510 2016-11-30  Jonathan Bedard  <jbedard@apple.com>
1511
1512         Make it possible to use an existing simulator instance for one-off testing
1513         https://bugs.webkit.org/show_bug.cgi?id=164568
1514         <rdar://problem/29189133>
1515
1516         Reviewed by Daniel Bates.
1517
1518         With this patch, if a simulator is currently running on the machine and
1519         '--dedicated-simulators' is not passed into the application, only one simulator
1520         instance will be used, and this instance will be the existing instance.
1521         If no simulator is running or '--dedicated-simulators' is passed to the script,
1522         previous behavior will be used.
1523
1524         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1525         (parse_args):
1526         * Scripts/webkitpy/port/ios.py:
1527         (IOSSimulatorPort.__init__): Logic for enabling usage of currently running simulator.
1528         (IOSSimulatorPort._create_simulators): Only create simulators when needed, don't reset already running simulators.
1529         (IOSSimulatorPort.setup_test_run): Don't open already running simulators.
1530         (IOSSimulatorPort._quit_ios_simulator): Only quit simulators if we manage them.
1531         (IOSSimulatorPort.clean_up_test_run): Only clean up simulators if we manage them. 
1532         (IOSSimulatorPort._using_dedicated_simulators): True if simulators need to be managed, false if using an existing instance.
1533         (IOSSimulatorPort.device_id_for_worker_number): Access currently running simulator if not managing devices.
1534         * Scripts/webkitpy/xcode/simulator.py:
1535         (Simulator.current_device): Get currently running device.
1536
1537 2016-11-29  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1538
1539         [Linux] run-benchmark should be able to execute the benchmarks with more browsers.
1540         https://bugs.webkit.org/show_bug.cgi?id=164792
1541
1542         Reviewed by Michael Catanzaro.
1543
1544         This removes the GTKBrowserDriver (and the platform 'gtk') from the run-benchmark script,
1545         and adds a new LinuxBrowserDriver with a platform 'linux'.
1546
1547         It add also drivers for Chrome (Chromium), Firefox, Epiphany and MiniBrowser-GTK (previously MiniBrowser).
1548
1549         The detection of the platform is now done automatically, so it is not longer needed to pass a "--platform" parameter.
1550
1551         The tracking of the browser process is now more robust, we track the pid of the browser process and we only try to
1552         kill the ones that were executed by this script, instead of doing a 'killall $browser' (like before).
1553         We also check for browser process childs and we kill them if they are still alive after the main browser process has been killed.
1554         This depends on psutil, so this will only be done if psutil is installed.
1555
1556         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1557         (RunBenchmarkTests.start): The platform is now autodetected and the MiniBrowser driver is renamed to MiniBrowser-GTK.
1558         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
1559         (BenchmarkRunner._run_benchmark): Fix a bug that caused close_browsers to be called twice. Its already called inside BenchmarkRunner._run_one_test.
1560         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_browser_driver.py: Added.
1561         (LinuxBrowserDriver): Implement base class that has all the needed functionality for driving the browsers.
1562         (LinuxBrowserDriver.__init__):
1563         (LinuxBrowserDriver.prepare_env):
1564         (LinuxBrowserDriver.restore_env):
1565         (LinuxBrowserDriver.close_browsers): Made the dependency on psutil optional (because it was listed as such on the README file <Tools/Scripts/webkitpy/benchmark_runner/README.md>)
1566         (LinuxBrowserDriver.launch_url):
1567         (LinuxBrowserDriver._get_first_executable_path_from_list):
1568         (LinuxBrowserDriver._screen_size):
1569         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_chrome_driver.py: Copied from Tools/Scripts/webkitpy/benchmark_runner/browser_driver/gtk_minibrowser_driver.py.
1570         (LinuxChromeDriver):
1571         (LinuxChromeDriver.launch_url):
1572         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_epiphany_driver.py: Renamed from Tools/Scripts/webkitpy/benchmark_runner/browser_driver/gtk_browser_driver.py.
1573         (EpiphanyBrowserDriver):
1574         (EpiphanyBrowserDriver.launch_url):
1575         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_firefox_driver.py: Copied from Tools/Scripts/webkitpy/benchmark_runner/browser_driver/gtk_minibrowser_driver.py.
1576         (LinuxFirefoxDriver):
1577         (LinuxFirefoxDriver.launch_url):
1578         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_minibrowsergtk_driver.py: Renamed from Tools/Scripts/webkitpy/benchmark_runner/browser_driver/gtk_minibrowser_driver.py.
1579         (GTKMiniBrowserDriver):
1580         (GTKMiniBrowserDriver.launch_url):
1581         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
1582         (SimpleHTTPServerDriver):
1583         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
1584         (getplatform):
1585         (getdefaultbrowser):
1586         (parse_args):
1587         * Scripts/webkitpy/benchmark_runner/utils.py:
1588         (load_subclasses): The loading of subclasses was still (even after r196979) sensitive to the order in which the modules are loaded.
1589         We have to ensure that the files containing subclasses of the base_class_file are loaded after the base_class_file,
1590         we can do that by matching against the base_class_file pattern when the list is created.
1591
1592 2016-11-29  Andy Estes  <aestes@apple.com>
1593
1594         [Cocoa] Enable two clang warnings recommended by Xcode
1595         https://bugs.webkit.org/show_bug.cgi?id=164498
1596
1597         Reviewed by Mark Lam.
1598
1599         * DumpRenderTree/mac/Configurations/Base.xcconfig: Enabled CLANG_WARN_INFINITE_RECURSION and CLANG_WARN_SUSPICIOUS_MOVE.
1600         * MiniBrowser/Configurations/Base.xcconfig: Ditto.
1601         * TestWebKitAPI/Configurations/Base.xcconfig: Ditto.
1602         * WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
1603
1604 2016-11-29  Eric Carlson  <eric.carlson@apple.com>
1605
1606         [MediaStream] Don't request user permission for a device if it has already been granted in the current browsing context
1607         https://bugs.webkit.org/show_bug.cgi?id=164760
1608         <rdar://problem/29261266>
1609
1610         Reviewed by Youenn Fablet.
1611         
1612         Allow scripts to determine the number of times the user has been prompted for capture device access.
1613
1614         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1615         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1616         (WTR::InjectedBundle::setUserMediaPersistentPermissionForOrigin):
1617         (WTR::InjectedBundle::userMediaPermissionRequestCountForOrigin):
1618         (WTR::InjectedBundle::resetUserMediaPermissionRequestCountForOrigin):
1619         (WTR::InjectedBundle::setUserMediaPermissionForOrigin): Deleted.
1620         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1621         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1622         (WTR::TestRunner::setUserMediaPersistentPermissionForOrigin):
1623         (WTR::TestRunner::userMediaPermissionRequestCountForOrigin):
1624         (WTR::TestRunner::resetUserMediaPermissionRequestCountForOrigin):
1625         (WTR::TestRunner::setUserMediaPermissionForOrigin): Deleted.
1626         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1627         * WebKitTestRunner/TestController.cpp:
1628         (WTR::TestController::resetStateToConsistentValues):
1629         (WTR::OriginSettings::incrementRequestCount):
1630         (WTR::OriginSettings::resetRequestCount):
1631         (WTR::OriginSettings::requestCount):
1632         (WTR::TestController::saltForOrigin):
1633         (WTR::TestController::setUserMediaPersistentPermissionForOrigin):
1634         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin):
1635         (WTR::TestController::settingsForOrigin):
1636         (WTR::TestController::userMediaPermissionRequestCountForOrigin):
1637         (WTR::TestController::resetUserMediaPermissionRequestCountForOrigin):
1638         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible):
1639         (WTR::TestController::setUserMediaPermissionForOrigin): Deleted.
1640         * WebKitTestRunner/TestController.h:
1641         * WebKitTestRunner/TestInvocation.cpp:
1642         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1643         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1644
1645 2016-11-29  Simon Fraser  <simon.fraser@apple.com>
1646
1647         intersection-observer-entry-interface.html test fails on the bots
1648         https://bugs.webkit.org/show_bug.cgi?id=165133
1649
1650         Reviewed by Darin Adler.
1651         
1652         Tests that enabled Intersection Observer via <!-- webkit-test-runner [ enableIntersectionObserver=true ] -->
1653         would fail sometimes, because TestController::ensureViewSupportsOptionsForTest() failed to check
1654         to see if this option required creating a new web view, so would just use the old view without
1655         even resetting preferences.
1656         
1657         In general, TestController doesn't distinguish properly between options that require the creation
1658         of a new view (like mock scrollbars), and those that can be simply reset as resetPreferencesToConsistentValues()
1659         does.
1660         
1661         Do the easy fix of having viewSupportsOptions() check options.enableIntersectionObserver. We should probably
1662         just call resetPreferencesToConsistentValues() even when re-use the same view.
1663         
1664         * WebKitTestRunner/TestController.cpp:
1665         (WTR::TestController::resetPreferencesToConsistentValues):
1666         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1667         (WTR::PlatformWebView::viewSupportsOptions):
1668         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1669         (WTR::PlatformWebView::viewSupportsOptions):
1670
1671 2016-11-28  Ryan Haddad  <ryanhaddad@apple.com>
1672
1673         Unreviewed, rolling out r209008.
1674
1675         This change appears to have caused two fast/mediastrem
1676         LayoutTests to fail.
1677
1678         Reverted changeset:
1679
1680         "[MediaStream] Don't request user permission for a device if
1681         it has already been granted in the current browsing context"
1682         https://bugs.webkit.org/show_bug.cgi?id=164760
1683         http://trac.webkit.org/changeset/209008
1684
1685 2016-11-28  Daniel Bates  <dabates@apple.com>
1686
1687         Teach webkitpy how to read CSSProperties.json r209001
1688         https://bugs.webkit.org/show_bug.cgi?id=165108
1689
1690         Reviewed by Simon Fraser.
1691
1692         Fix webkitpy logic so that it can read CSS property names from CSSProperties.json following r209001.
1693
1694         Following r209001 CSSPropertyNames.in no longer exists as it was replaced with CSSProperties.json.
1695         We need to modify the webkitpy machinery that processed CSSPropertyNames.in to process CSSProperties.json.
1696
1697         * Scripts/webkitpy/w3c/test_converter.py:
1698         (_W3CTestConverter.__init__): Make self._css_property_file and self._css_property_value_file local
1699         variables as it is unnecessary for them to be instance variables. Call read_webkit_prefixed_css_property_list()
1700         to read the property names from file CSSProperties.json. Call legacy_read_webkit_prefixed_css_property_list() to
1701         read CSS keyword values from CSSValueKeywords.in.
1702         (_W3CTestConverter.read_webkit_prefixed_css_property_list): Added.
1703         (_W3CTestConverter):
1704         (_W3CTestConverter.legacy_read_webkit_prefixed_css_property_list): Renamed from read_webkit_prefixed_css_property_list.
1705         * Scripts/webkitpy/w3c/test_importer_unittest.py:
1706         (TestImporterTest.test_harnesslinks_conversion): Substitute CSSProperties.json for CSSPropertyNames.in.
1707
1708 2016-11-28  Eric Carlson  <eric.carlson@apple.com>
1709
1710         [MediaStream] Don't request user permission for a device if it has already been granted in the current browsing context
1711         https://bugs.webkit.org/show_bug.cgi?id=164760
1712         <rdar://problem/29261266>
1713
1714         Reviewed by Youenn Fablet.
1715         
1716         Allow scripts to determine the number of times the user has been prompted for capture device access.
1717
1718         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1719         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1720         (WTR::InjectedBundle::setUserMediaPersistentPermissionForOrigin):
1721         (WTR::InjectedBundle::userMediaPermissionRequestCountForOrigin):
1722         (WTR::InjectedBundle::resetUserMediaPermissionRequestCountForOrigin):
1723         (WTR::InjectedBundle::setUserMediaPermissionForOrigin): Deleted.
1724         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1725         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1726         (WTR::TestRunner::setUserMediaPersistentPermissionForOrigin):
1727         (WTR::TestRunner::userMediaPermissionRequestCountForOrigin):
1728         (WTR::TestRunner::resetUserMediaPermissionRequestCountForOrigin):
1729         (WTR::TestRunner::setUserMediaPermissionForOrigin): Deleted.
1730         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1731         * WebKitTestRunner/TestController.cpp:
1732         (WTR::TestController::resetStateToConsistentValues):
1733         (WTR::OriginSettings::incrementRequestCount):
1734         (WTR::OriginSettings::resetRequestCount):
1735         (WTR::OriginSettings::requestCount):
1736         (WTR::TestController::saltForOrigin):
1737         (WTR::TestController::setUserMediaPersistentPermissionForOrigin):
1738         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin):
1739         (WTR::TestController::settingsForOrigin):
1740         (WTR::TestController::userMediaPermissionRequestCountForOrigin):
1741         (WTR::TestController::resetUserMediaPermissionRequestCountForOrigin):
1742         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible):
1743         (WTR::TestController::setUserMediaPermissionForOrigin): Deleted.
1744         * WebKitTestRunner/TestController.h:
1745         * WebKitTestRunner/TestInvocation.cpp:
1746         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1747         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1748
1749 2016-11-18  Jer Noble  <jer.noble@apple.com>
1750
1751         Add some performance tests for various aspects of media loading and playback.
1752         https://bugs.webkit.org/show_bug.cgi?id=164977
1753
1754         Reviewed by Darin Adler.
1755
1756         Allow callers to pass in extra alias/directory pairs to run-webkit-httpd.
1757
1758         * Scripts/run-webkit-httpd:
1759         (parse_args):
1760         (main):
1761
1762 2016-11-27  Simon Fraser  <simon.fraser@apple.com>
1763
1764         Another fix for CMake.
1765
1766         * DumpRenderTree/TestOptions.h:
1767         * DumpRenderTree/TestOptions.mm:
1768
1769 2016-11-26  Simon Fraser  <simon.fraser@apple.com>
1770
1771         Better fix for the Mac CMake build.
1772
1773         * DumpRenderTree/PlatformMac.cmake:
1774
1775 2016-11-26  Simon Fraser  <simon.fraser@apple.com>
1776
1777         Attempt to fix Mac CMake build.
1778
1779         * DumpRenderTree/PlatformMac.cmake:
1780
1781 2016-11-26  Yusuke Suzuki  <utatane.tea@gmail.com>
1782
1783         [WTF] Import std::optional reference implementation as WTF::Optional
1784         https://bugs.webkit.org/show_bug.cgi?id=164199
1785
1786         Reviewed by Saam Barati and Sam Weinig.
1787
1788         Use WTF::Optional::value_or.
1789
1790         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
1791         (WTR::UIScriptController::stableStateOverride):
1792         (WTR::UIScriptController::setStableStateOverride):
1793         * TestRunnerShared/Bindings/JSWrappable.h:
1794         (WTR::JSValueMakeBooleanOrNull):
1795         (WTR::JSValueToNullableBoolean):
1796         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
1797         (WTR::UIScriptController::stableStateOverride):
1798         (WTR::UIScriptController::setStableStateOverride):
1799         * TestRunnerShared/UIScriptContext/UIScriptController.h:
1800         * TestWebKitAPI/Tests/WTF/Optional.cpp:
1801         (TestWebKitAPI::TEST):
1802         * TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp:
1803         (TestWebKitAPI::testParseHTMLInteger):
1804         (TestWebKitAPI::testParseHTMLNonNegativeInteger):
1805         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1806         (TestWebKitAPI::checkURL):
1807         (TestWebKitAPI::checkRelativeURL):
1808         (TestWebKitAPI::checkURLDifferences):
1809         (TestWebKitAPI::checkRelativeURLDifferences):
1810         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1811         (WTR::UIScriptController::stableStateOverride):
1812         (WTR::UIScriptController::setStableStateOverride):
1813
1814 2016-11-26  Sam Weinig  <sam@webkit.org>
1815
1816         Convert IntersectionObserver over to using RuntimeEnabledFeatures so it can be properly excluded from script
1817         https://bugs.webkit.org/show_bug.cgi?id=164965
1818
1819         Reviewed by Simon Fraser.
1820
1821         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1822         Add new files.
1823
1824         * DumpRenderTree/TestOptions.h: Added.
1825         * DumpRenderTree/TestOptions.mm: Added.
1826         (parseBooleanTestHeaderValue):
1827         (TestOptions::TestOptions):
1828         Port TestOption parsing from WKTR to DRT.
1829
1830         * DumpRenderTree/mac/DumpRenderTree.mm:
1831         (resetWebPreferencesToConsistentValues):
1832         (resetWebViewToConsistentStateBeforeTesting):
1833         (runTest):
1834         * WebKitTestRunner/TestController.cpp:
1835         Pass TestOptions down to resetWebPreferencesToConsistentValues to allow setting
1836         preferences conditionally.
1837
1838         (WTR::TestController::resetPreferencesToConsistentValues):
1839         (WTR::updateTestOptionsFromTestHeader):
1840         * WebKitTestRunner/TestOptions.h:
1841         Add a new test option header, enableIntersectionObserver, to enable IntersectionObserver.
1842
1843 2016-11-26  Simon Fraser  <simon.fraser@apple.com>
1844
1845         Migrate some layout timer-related code from std::chrono to Seconds and MonotonicTime
1846         https://bugs.webkit.org/show_bug.cgi?id=164992
1847
1848         Reviewed by Darin Adler.
1849         
1850         Use Seconds::zero().
1851
1852         * TestWebKitAPI/Tests/WTF/Condition.cpp:
1853
1854 2016-11-26  Simon Fraser  <simon.fraser@apple.com>
1855
1856         Add literals for various time units
1857         https://bugs.webkit.org/show_bug.cgi?id=165074
1858
1859         Reviewed by Filip Pizlo.
1860         
1861         Add tests for new time literals. Add new tests for units.
1862
1863         * TestWebKitAPI/Tests/WTF/Time.cpp:
1864         (TestWebKitAPI::TEST):
1865
1866 2016-11-25  Csaba Osztrogonác  <ossy@webkit.org>
1867
1868         Fix compile warnings after r208415
1869         https://bugs.webkit.org/show_bug.cgi?id=165061
1870
1871         Reviewed by Andy Estes.
1872
1873         * TestWebKitAPI/Tests/WTF/Time.cpp:
1874         (TestWebKitAPI::TEST):
1875
1876 2016-11-24  Michael Catanzaro  <mcatanzaro@igalia.com>
1877
1878         [GTK] Notifications API does not expose or respect the "tag" attribute
1879         https://bugs.webkit.org/show_bug.cgi?id=164771
1880
1881         Reviewed by Gustavo Noronha Silva.
1882
1883         Verify that showing a notification with the same tag as another notification closes the
1884         previous notification before the new notification is shown.
1885
1886         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1887         (testWebViewNotification):
1888
1889 2016-11-24  Carlos Garcia Campos  <cgarcia@igalia.com>
1890
1891         Unreviewed. Fix GTK+ test /webkit2/WebKitWebContext/get-plugins after r208429.
1892
1893         Test plugin library was renamed as libTestNetscapePlugIn.so in r208429.
1894
1895         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
1896         (testWebContextGetPlugins): Update the library name.
1897
1898 2016-11-22  Darin Adler  <darin@apple.com>
1899
1900         Make normal case fast in the input element limitString function
1901         https://bugs.webkit.org/show_bug.cgi?id=165023
1902
1903         Reviewed by Dan Bernstein.
1904
1905         * TestWebKitAPI/CMakeLists.txt: Added TextBreakIterator.cpp.
1906         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
1907         * TestWebKitAPI/Tests/WTF/TextBreakIterator.cpp: Added.
1908         Contains some tests for the numGraphemeClusters and
1909         numCharactersInGraphemeClusters functions that I used to make sure
1910         that the new fast paths I added work correctly.
1911
1912 2016-11-22  Tomas Popela  <tpopela@redhat.com>
1913
1914         Unreviewed, add myself as a WebKit committer.
1915
1916         * Scripts/webkitpy/common/config/contributors.json:
1917
1918 2016-11-21  Mark Lam  <mark.lam@apple.com>
1919
1920         Hasher::addCharacters() should be able to handle zero length strings.
1921         https://bugs.webkit.org/show_bug.cgi?id=165024
1922
1923         Reviewed by Yusuke Suzuki.
1924
1925         * TestWebKitAPI/Tests/WTF/StringHasher.cpp:
1926         (TestWebKitAPI::TEST):
1927
1928 2016-11-21  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1929
1930         [CMake] build fails after update to cmake 3.7
1931         https://bugs.webkit.org/show_bug.cgi?id=165008
1932
1933         Reviewed by Dan Bernstein.
1934
1935         When we remove the CMake cache, we should remove both the
1936         CMakeCache.txt file and the CMakeFiles directory.
1937         See: https://gitlab.kitware.com/cmake/cmake/issues/14820
1938
1939         * Scripts/webkitdirs.pm:
1940         (cmakeFilesPath):
1941         (removeCMakeCache):
1942
1943 2016-11-16  Philippe Normand  <pnormand@igalia.com>
1944
1945         [GTK][WebRTC] Switch to downstream OpenWebRTC and more recent GStreamer
1946         https://bugs.webkit.org/show_bug.cgi?id=164817
1947
1948         Reviewed by Alejandro G. Castro.
1949
1950         This is temporary, hopefully. The OpenWebRTC patches will/should
1951         be soon reviewed and upstream but meanwhile it makes sense to use
1952         the Igalia downstream fork so that the WebRTC testing is easier.
1953
1954         Recent GStreamer patches are also needed for RTP bundling support
1955         and RTP retransmission fixes.
1956
1957         * gtk/jhbuild.modules:
1958         * gtk/openwebrtc.modules: Removed.
1959         * gtk/patches/gst-plugins-good-0001-rtpbin-pipeline-gets-an-EOS-when-any-rtpsources-byes.patch: Added.
1960         * gtk/patches/gst-plugins-good-0002-rtpbin-avoid-generating-errors-when-rtcp-messages-ar.patch: Added.
1961         * gtk/patches/gst-plugins-good-0003-rtpbin-receive-bundle-support.patch: Added.
1962
1963 2016-11-20  Zan Dobersek  <zdobersek@igalia.com>
1964
1965         [EncryptedMedia] Make EME API runtime-enabled
1966         https://bugs.webkit.org/show_bug.cgi?id=164927
1967
1968         Reviewed by Jer Noble.
1969
1970         Enable the EME API via the WKTR InjectedBundle whenever testing
1971         commences. This does not have any effect unless the EME feature
1972         is enabled at compile-time, but it's still added to match other
1973         features and for future use.
1974
1975         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1976         (WTR::InjectedBundle::beginTesting):
1977         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1978         (WTR::TestRunner::setEncryptedMediaAPIEnabled):
1979         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1980
1981 2016-11-19  Simon Fraser  <simon.fraser@apple.com>
1982
1983         Fix the Mac and iOS bulds.
1984
1985         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
1986         (-[TestRunnerWKWebView _stableStateOverride]):
1987         (-[TestRunnerWKWebView _setStableStateOverride:]):
1988
1989 2016-11-18  Simon Fraser  <simon.fraser@apple.com>
1990
1991         Make it possible to test non-stable-state scrolling on iOS
1992         https://bugs.webkit.org/show_bug.cgi?id=164905
1993
1994         Reviewed by Dan Bernstein.
1995
1996         Make it possible for an iOS layout test to force every visible rect update
1997         from the UI process to the web process to be in a non-stable state. This emulates
1998         what happens during panning and zooming interactions, and allows us to test the
1999         scrolling and layer trees in these transient states.
2000         
2001         This is done by adding a testing property on WKWebView, _stableStateOverride, whose
2002         getters and setters are overridden in TestRunnerWKWebView. When non-nil, we _updateVisibleContentRectAfterScrollInView
2003         consults the NSNumber's boolValue and uses it to override the stable state.
2004         
2005         To facilitate this kind of testing, also add immediateScrollToOffset() and
2006         immediateZoomToScale() to UIScriptController. Finally, add doAfterPresentationUpdate()
2007         which provides a callback that fires after one trip to the web process and back.
2008         
2009         Add code generation support for optional boolean attributes in IDL.
2010
2011         Align CodeGeneratorDumpRenderTree.pm and CodeGeneratorTestRunner.pm.
2012
2013         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm:
2014         (_generateImplementationFile):
2015         (_platformTypeConstructor):
2016         (_returnExpression):
2017         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
2018         (WTR::UIScriptController::doAfterPresentationUpdate):
2019         (WTR::contentOffsetBoundedInValidRange):
2020         (WTR::UIScriptController::scrollToOffset):
2021         (WTR::UIScriptController::immediateScrollToOffset):
2022         (WTR::UIScriptController::immediateZoomToScale):
2023         (WTR::UIScriptController::stableStateOverride):
2024         (WTR::UIScriptController::setStableStateOverride):
2025         * DumpRenderTree/mac/UIScriptControllerMac.mm:
2026         (WTR::UIScriptController::doAfterPresentationUpdate):
2027         * TestRunnerShared/Bindings/JSWrappable.h:
2028         (WTR::JSValueMakeBooleanOrNull):
2029         (WTR::JSValueToNullableBoolean):
2030         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
2031         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
2032         (WTR::UIScriptController::immediateScrollToOffset):
2033         (WTR::UIScriptController::immediateZoomToScale):
2034         (WTR::UIScriptController::stableStateOverride):
2035         (WTR::UIScriptController::setStableStateOverride):
2036         * TestRunnerShared/UIScriptContext/UIScriptController.h:
2037         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
2038         (_classRefGetter):
2039         (_platformTypeConstructor):
2040         (_returnExpression):
2041         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
2042         (-[TestRunnerWKWebView dealloc]):
2043         (-[TestRunnerWKWebView _stableStateOverride]):
2044         (-[TestRunnerWKWebView _setStableStateOverride:]):
2045         * WebKitTestRunner/ios/TestControllerIOS.mm:
2046         (WTR::TestController::platformResetStateToConsistentValues):
2047         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2048         (WTR::UIScriptController::doAsyncTask):
2049         (WTR::UIScriptController::doAfterPresentationUpdate):
2050         (WTR::UIScriptController::zoomToScale):
2051         (WTR::UIScriptController::immediateScrollToOffset):
2052         (WTR::UIScriptController::immediateZoomToScale):
2053         (WTR::UIScriptController::stableStateOverride):
2054         (WTR::UIScriptController::setStableStateOverride):
2055         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
2056         (WTR::UIScriptController::doAfterPresentationUpdate):
2057
2058 2016-11-19  Joanmarie Diggs  <jdiggs@igalia.com>
2059
2060         AX: [ATK] Expose aria-busy via ATK_STATE_BUSY
2061         https://bugs.webkit.org/show_bug.cgi?id=164909
2062
2063         Reviewed by Chris Fleizach.
2064
2065         Implement boolAttributeValue() for ATK so we can test AXElementBusy.
2066
2067         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2068         (WTR::AccessibilityUIElement::boolAttributeValue):
2069
2070 2016-11-18  Simon Fraser  <simon.fraser@apple.com>
2071
2072         [iOS WK2] Eliminate a source of flakiness in layout tests by forcing WebPage into "responsive" mode for all tests, with an internals override
2073         https://bugs.webkit.org/show_bug.cgi?id=164980
2074
2075         Reviewed by Chris Dumez.
2076
2077         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2078         (WTR::InjectedBundlePage::prepare):
2079
2080 2016-11-18  Dean Jackson  <dino@apple.com>
2081
2082         AX: "(inverted-colors)" media query only matches on page reload; should match on change
2083         https://bugs.webkit.org/show_bug.cgi?id=163564
2084         <rdar://problem/28807350>
2085
2086         Reviewed by Simon Fraser.
2087
2088         Add a UIScriptController method that tricks WebKit into thinking
2089         it has received a notification that accessibility settings have
2090         changed. Combined with our forced overrides, this allows us to
2091         test if a page would react to the notifications.
2092
2093         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
2094         (WTR::UIScriptController::simulateAccessibilitySettingsChangeNotification):
2095         * DumpRenderTree/mac/UIScriptControllerMac.mm:
2096         (WTR::UIScriptController::simulateAccessibilitySettingsChangeNotification):
2097         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
2098         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
2099         (WTR::simulateAccessibilitySettingsChangeNotification):
2100         * TestRunnerShared/UIScriptContext/UIScriptController.h:
2101         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2102         (WTR::UIScriptController::simulateAccessibilitySettingsChangeNotification):
2103         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
2104         (WTR::UIScriptController::simulateAccessibilitySettingsChangeNotification):
2105
2106 2016-11-18  Alex Christensen  <achristensen@webkit.org>
2107
2108         Fix API test after r208902
2109         https://bugs.webkit.org/show_bug.cgi?id=144194
2110
2111         * TestWebKitAPI/Tests/Cocoa/URLExtras.mm:
2112         (TestWebKitAPI::TEST):
2113         The fullwidth solidus, U+FF0F, changed encoding from IDN2003 to IDN2008, probably to prevent domains from using it
2114         to spoof other domains.  https://webkit.org/blog/ and https://webkit.org\uFF0Fblog/ would otherwise look 
2115         too similar when rendered.
2116
2117 2016-11-17  Alex Christensen  <achristensen@webkit.org>
2118
2119         Support IDN2008 with UTS #46 instead of IDN2003
2120         https://bugs.webkit.org/show_bug.cgi?id=144194
2121
2122         Reviewed by Darin Adler.
2123
2124         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2125         (TestWebKitAPI::TEST_F):
2126         Add some tests from http://unicode.org/faq/idn.html verifying that we follow UTS46's deviations from IDN2008.
2127         Add some tests based on https://tools.ietf.org/html/rfc5893 verifying that we check for bidirectional text.
2128         Add a test based on https://tools.ietf.org/html/rfc5892 verifying that we do not do ContextO check.
2129         Add a test for U+321D and U+321E which have particularly interesting punycode encodings.  We match Firefox here now.
2130         Also add a test from http://www.unicode.org/reports/tr46/#IDNAComparison verifying we are not using IDN2003.
2131         We should consider importing all of http://www.unicode.org/Public/idna/9.0.0/IdnaTest.txt as URL domain tests.
2132
2133 2016-11-17  Carlos Garcia Campos  <cgarcia@igalia.com>
2134
2135         Downloads started by context menu actions should also have a web view associated
2136         https://bugs.webkit.org/show_bug.cgi?id=164364
2137
2138         Reviewed by Michael Catanzaro.
2139
2140         Add a GTK+ unit tests to check that downloads started by the context menu have a web view associated.
2141
2142         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
2143         (downloadLocalFileSuccessfully):
2144         (testDownloadOverwriteDestinationDisallowed):
2145         (testDownloadLocalFileError):
2146         (testDownloadRemoteFile):
2147         (testDownloadRemoteFileError):
2148         (testDownloadMIMEType):
2149         (contextMenuCallback):
2150         (testContextMenuDownloadActions):
2151         (beforeAll):
2152
2153 2016-11-17  Ryosuke Niwa  <rniwa@webkit.org>
2154
2155         Add an experimental API to find elements across shadow boundaries
2156         https://bugs.webkit.org/show_bug.cgi?id=164851
2157         <rdar://problem/28220092>
2158
2159         Reviewed by Sam Weinig.
2160
2161         Added test cases for window.collectMatchingElementsInFlatTree to WebKit2.InjectedBundleMakeAllShadowRootOpen.
2162
2163         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2164         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakeAllShadowRoot*s*Open_Bundle.cpp: Renamed
2165         from InjectedBundleMakeAllShadowRootOpen_Bundle.cpp.
2166         (TestWebKitAPI::InjectedBundleMakeAllShadowRootOpenTest::initialize): Added test cases for
2167         window.collectMatchingElementsInFlatTree by calling alert() many times.
2168         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakeAllShadowRootsOpen.cpp:
2169         (TestWebKitAPI::runJavaScriptAlert): Added expectations for multiple test cases. Each test case
2170         finishes with a call to alert, and moves testNumber forward.
2171         (TestWebKitAPI::TEST): Use the newly added closed-shadow-tree-test.html
2172         * TestWebKitAPI/Tests/WebKit2/closed-shadow-tree-test.html: Added. Creates a shadow tree with slots
2173         and tests that window.collectMatchingElementsInFlatTree is not present when
2174         an event named "testnormalworld" is dispatched by the injected bundle.
2175
2176 2016-11-17  Brady Eidson  <beidson@apple.com>
2177
2178         Add _WKIconLoadingDelegate SPI.
2179         https://bugs.webkit.org/show_bug.cgi?id=164894
2180
2181         Reviewed by Alex Christensen.
2182
2183         Add MiniBrowser support for this new SPI, configurable with a setting.
2184
2185         * MiniBrowser/mac/SettingsController.h:
2186         * MiniBrowser/mac/SettingsController.m:
2187         (-[SettingsController _populateMenu]):
2188         (-[SettingsController validateMenuItem:]):
2189         (-[SettingsController loadsAllSiteIcons]):
2190         (-[SettingsController toggleLoadsAllSiteIcons:]):
2191         * MiniBrowser/mac/WK2BrowserWindowController.m:
2192         (-[WK2BrowserWindowController awakeFromNib]):
2193         (-[WK2BrowserWindowController webView:shouldLoadIconWithParameters:completionHandler:]):
2194
2195 2016-11-17  Caitlin Potter  <caitp@igalia.com>
2196
2197         [JSC] remove leftover references to ES2017_ASYNCFUNCTION_SYNTAX flag
2198         https://bugs.webkit.org/show_bug.cgi?id=164879
2199
2200         Reviewed by Alex Christensen.
2201
2202         The flag was referenced in FeatureList.pm and in one of the
2203         FeatureDefines.xcconfig files, despite being removed.
2204
2205         * Scripts/webkitperl/FeatureList.pm:
2206         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2207
2208 2016-11-17  Per Arne Vollan  <pvollan@apple.com>
2209
2210         [Win] run-api-tests is failing.
2211         https://bugs.webkit.org/show_bug.cgi?id=164818
2212
2213         Reviewed by Alexey Proskuryakov.
2214
2215         Make sure Visual Studio interprets string literal as utf8.
2216  
2217         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2218         (TestWebKitAPI::TEST_F):
2219
2220 2016-11-17  Yusuke Suzuki  <utatane.tea@gmail.com>
2221
2222         [JSC] WTF::TemporaryChange with WTF::SetForScope
2223         https://bugs.webkit.org/show_bug.cgi?id=164761
2224
2225         Reviewed by Saam Barati.
2226
2227         * TestWebKitAPI/CMakeLists.txt:
2228         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2229         * TestWebKitAPI/Tests/WTF/SetForScope.cpp: Renamed from Tools/TestWebKitAPI/Tests/WTF/TemporaryChange.cpp.
2230         (TestWebKitAPI::TEST):
2231         * WebKitTestRunner/TestController.cpp:
2232         (WTR::TestController::resetStateToConsistentValues):
2233
2234 2016-11-16  Alexey Proskuryakov  <ap@apple.com>
2235
2236         REGRESSION (r208455): LayoutTests swipe/pushState-cached-back-swipe.html and swipe/main-frame-pinning-requirement.html are failing
2237         https://bugs.webkit.org/show_bug.cgi?id=164572
2238
2239         Reviewed by Tim Horton.
2240
2241         * WebKitTestRunner/mac/TestControllerMac.mm: (WTR::TestController::platformResetStateToConsistentValues):
2242         Use the correct constant.
2243
2244 2016-11-16  Yusuke Suzuki  <utatane.tea@gmail.com>
2245
2246         [ES6][WebCore] Change ES6_MODULES compile time flag to runtime flag
2247         https://bugs.webkit.org/show_bug.cgi?id=164827
2248
2249         Reviewed by Ryosuke Niwa.
2250
2251         Enabled ES6 Modules in test runners.
2252
2253         * DumpRenderTree/mac/DumpRenderTree.mm:
2254         (resetWebPreferencesToConsistentValues):
2255         * DumpRenderTree/win/DumpRenderTree.cpp:
2256         (resetWebPreferencesToConsistentValues):
2257         * Scripts/webkitperl/FeatureList.pm:
2258         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2259         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2260         (WTR::InjectedBundle::beginTesting):
2261         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2262         (WTR::TestRunner::setES6ModulesEnabled):
2263         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2264
2265 2016-11-16  Simon Fraser  <simon.fraser@apple.com>
2266
2267         Hard to write reliable UIScriptController scrollingTreeAsText tests
2268         https://bugs.webkit.org/show_bug.cgi?id=164764
2269
2270         Reviewed by Wenson Hsieh.
2271
2272         Fix one cause of flakiness by resetting the WKWebView's UIScrollView scale
2273         and scroll position between tests.
2274
2275         * WebKitTestRunner/ios/TestControllerIOS.mm:
2276         (WTR::TestController::platformResetStateToConsistentValues):
2277
2278 2016-11-16  Simon Fraser  <simon.fraser@apple.com>
2279
2280         UIScriptController: script with no async tasks fails if an earlier script registered a callback
2281         https://bugs.webkit.org/show_bug.cgi?id=164762
2282
2283         Reviewed by Wenson Hsieh.
2284         
2285         Make TestRunner::callUIScriptCallback() async in DumpRenderTree to match WebKitTestRunner behavior.
2286         This fixes ui-side-script-with-callback.html in WK1, which failed because the second runUIScript()
2287         would occur inside the completion callback from the first. This no longer happens.
2288
2289         * DumpRenderTree/TestRunner.cpp:
2290         (TestRunner::callUIScriptCallback):
2291         * TestRunnerShared/UIScriptContext/UIScriptContext.cpp:
2292         (UIScriptContext::tryToCompleteUIScriptForCurrentParentCallback):
2293
2294 2016-11-16  Ryan Haddad  <ryanhaddad@apple.com>
2295
2296         Unreviewed, rolling out r208770.
2297
2298         The test added with this change is timing out on mac-wk1.
2299
2300         Reverted changeset:
2301
2302         "UIScriptController: script with no async tasks fails if an
2303         earlier script registered a callback"
2304         https://bugs.webkit.org/show_bug.cgi?id=164762
2305         http://trac.webkit.org/changeset/208770
2306
2307 2016-11-16  Per Arne Vollan  <pvollan@apple.com>
2308
2309         [Win] WebCore test is failing.
2310         https://bugs.webkit.org/show_bug.cgi?id=164772
2311
2312         Reviewed by Brent Fulgham.
2313
2314         The value of CGRectInfinite is not the same on Windows as on Mac.
2315
2316         * TestWebKitAPI/Tests/WebCore/FloatRect.cpp:
2317         (TestWebKitAPI::TEST):
2318
2319 2016-11-15  Alexey Proskuryakov  <ap@apple.com>
2320
2321         Update Youenn's e-mail addresses.
2322
2323         * Scripts/webkitpy/common/config/contributors.json:
2324
2325 2016-11-15  Simon Fraser  <simon.fraser@apple.com>
2326
2327         UIScriptController: script with no async tasks fails if an earlier script registered a callback
2328         https://bugs.webkit.org/show_bug.cgi?id=164762
2329
2330         Reviewed by Wenson Hsieh.
2331         
2332         UIScriptContext::runUIScript() considers a script to be "immediate" if that script doesn't
2333         queue any async tasks. However, if an earlier UI script registered a callback, UIScriptContext::runUIScript()
2334         would consider that an outstanding task.
2335         
2336         Fix by unregistering any callbacks associated with the current UI script when uiScriptComplete() is called.
2337
2338         * TestRunnerShared/UIScriptContext/UIScriptContext.cpp:
2339         (UIScriptContext::tryToCompleteUIScriptForCurrentParentCallback):
2340
2341 2016-11-15  Simon Fraser  <simon.fraser@apple.com>
2342
2343         UIScriptController: setting a callback to undefined should unregister it
2344         https://bugs.webkit.org/show_bug.cgi?id=164796
2345
2346         Reviewed by Dean Jackson.
2347         
2348         "Immediate" UI scripts (those that don't schedule any async tasks) should return
2349         immediately, without the need to call uiScriptComplete(). However, this is broken if
2350         an earlier UI script registered a callback (since no-one clears that callback after the
2351         first script completes).
2352
2353         Make possible the workaround of setting the callback to undefined, which previously did
2354         not clear the callback registration.
2355
2356         * TestRunnerShared/UIScriptContext/UIScriptContext.cpp:
2357         (UIScriptContext::registerCallback):
2358         * TestRunnerShared/UIScriptContext/UIScriptContext.h:
2359         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2360         (WTR::UIScriptController::platformClearAllCallbacks):
2361
2362 2016-11-14  Mark Lam  <mark.lam@apple.com>
2363
2364         Enhance run-jsc-stress-test script to allow optional test specific options to be added for all test run configurations.
2365         https://bugs.webkit.org/show_bug.cgi?id=164695
2366
2367         Reviewed by Keith Miller.
2368
2369         This gives us more flexibility when specific tests needs to enable special JSC
2370         options in order to exercise specific code paths to be tested.  It also saves us
2371         from having to create duplicate test run configurations e.g. runMiscFTLNoCJITTest.
2372         We can now just use runFTLNoCJIT in its place.
2373
2374         Also replaced the ifJSCArgIsntProvidedAreWeReleaseBuild variable with $buildType
2375         so that we have the ability to skip certain tests for release or debug builds.
2376         This will be needed in the upcoming patch for https://webkit.org/b/155145.
2377
2378         * Scripts/run-jsc-stress-tests:
2379
2380 2016-11-14  Joanmarie Diggs  <jdiggs@igalia.com>
2381
2382         AX: [ATK] Expose STATE_SINGLE_LINE and STATE_MULTI_LINE for ARIA searchbox role
2383         https://bugs.webkit.org/show_bug.cgi?id=164712
2384
2385         Reviewed by Chris Fleizach.
2386
2387         Add AccessibilityUIElement::isSingleLine, AccessibilityUIElement::isMultiLine
2388         to DRT and WKTR. Implement it for ATK.
2389
2390         * DumpRenderTree/AccessibilityUIElement.h:
2391         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2392         (AccessibilityUIElement::isSingleLine):
2393         (AccessibilityUIElement::isMultiLine):
2394         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2395         (AccessibilityUIElement::isSingleLine):
2396         (AccessibilityUIElement::isMultiLine):
2397         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2398         (AccessibilityUIElement::isSingleLine):
2399         (AccessibilityUIElement::isMultiLine):
2400         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2401         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2402         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2403         (WTR::AccessibilityUIElement::isSingleLine):
2404         (WTR::AccessibilityUIElement::isMultiLine):
2405         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2406         (WTR::AccessibilityUIElement::isSingleLine):
2407         (WTR::AccessibilityUIElement::isMultiLine):
2408         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2409         (WTR::AccessibilityUIElement::isSingleLine):
2410         (WTR::AccessibilityUIElement::isMultiLine):
2411
2412 2016-11-14  Youenn Fablet  <youenn@apple.com>
2413
2414         Support WPT templated tests
2415         https://bugs.webkit.org/show_bug.cgi?id=164707
2416
2417         Reviewed by Sam Weinig.
2418
2419         * Scripts/webkitpy/w3c/test_importer.py:
2420         (TestImporter.write_html_files_for_templated_js_tests): Generating empty HTML files for templated JS tests.
2421         (TestImporter.import_tests):
2422
2423 2016-11-13  JF Bastien  <jfbastien@apple.com>
2424
2425         Implement WTF::Expected
2426         https://bugs.webkit.org/show_bug.cgi?id=164526
2427
2428         Reviewed by Yusuke Suzuki.
2429
2430         std::expected isn't in C++17, and may be in C++20. It's a nice
2431         complement to std::any / std::optional because it's a type-tagged
2432         union which has a single expected result but could also contain an
2433         error.
2434
2435         This would be useful in the WebAssembly parser, for example.
2436
2437         Using this implementation will allow us to provide feedback to the
2438         standards committee and guide std::expected's design before it
2439         gets standardized. I've already sent a bunch of feedback to the
2440         author based on my experience implementing this.
2441
2442         This could supplement WTF::Either and WTF::ExceptionOr.
2443
2444         * TestWebKitAPI/CMakeLists.txt:
2445         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2446         * TestWebKitAPI/Tests/WTF/Expected.cpp: Added.
2447         (WTF::operator<<):
2448         (TestWebKitAPI::TEST):
2449         (TestWebKitAPI::foo::foo):
2450         (TestWebKitAPI::foo::~foo):
2451         (TestWebKitAPI::foo::operator==):
2452         (TestWebKitAPI::operator<<):
2453
2454 2016-11-12  Simon Fraser  <simon.fraser@apple.com>
2455
2456         Add a way to get the UI-side scrolling tree as text via UIScriptController
2457         https://bugs.webkit.org/show_bug.cgi?id=164697
2458
2459         Reviewed by Zalan Bujtas.
2460
2461         Add UIScriptController::scrollingTreeAsText(), which gets the state of the scrolling
2462         tree in the UI process, including the current positions of CALayers. This will be used
2463         to test UI-side scrolling and visual viewports.
2464
2465         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
2466         (WTR::UIScriptController::scrollingTreeAsText):
2467         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
2468         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
2469         (WTR::UIScriptController::scrollingTreeAsText):
2470         * TestRunnerShared/UIScriptContext/UIScriptController.h:
2471         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2472         (WTR::UIScriptController::scrollingTreeAsText):
2473
2474 2016-11-12  Wenson Hsieh  <wenson_hsieh@apple.com>
2475
2476         The main content heuristic should be robust when handling large media elements
2477         https://bugs.webkit.org/show_bug.cgi?id=164676
2478         <rdar://problem/29211503>
2479
2480         Reviewed by Eric Carlson.
2481
2482         Added a new test verifying that enormous video elements are handled gracefully when put through the main
2483         content heuristic.
2484
2485         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2486         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
2487         (TestWebKitAPI::TEST):
2488         * TestWebKitAPI/Tests/WebKit2Cocoa/enormous-video-with-sound.html: Added.
2489
2490 2016-11-12  Dan Bernstein  <mitz@apple.com>
2491
2492         run-safari does not work for open source contributors
2493         https://bugs.webkit.org/show_bug.cgi?id=164667
2494         <rdar://problem/29229894>
2495
2496         Reviewed by Joseph Pecoraro.
2497
2498         * Scripts/run-api-tests:
2499         (archCommandLineArgumentsForRestrictedEnvironmentVariables): Moved from here…
2500         * Scripts/webkitdirs.pm:
2501         (archCommandLineArgumentsForRestrictedEnvironmentVariables): …to here
2502         (runMacWebKitApp): Have arch(1) carry the DYLD_* variables we set in our environmet over
2503           to the environment of the app being run.
2504
2505 2016-11-11  Joseph Pecoraro  <pecoraro@apple.com>
2506
2507         Removed unused INCLUDE_OPTIONS_FOR_DEBUGGING
2508         https://bugs.webkit.org/show_bug.cgi?id=164664
2509
2510         Reviewed by Dan Bernstein.
2511
2512         * Scripts/debug-minibrowser:
2513         * Scripts/debug-safari:
2514         * Scripts/debug-test-runner:
2515         * Scripts/webkitdirs.pm:
2516         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded):
2517         There are no debug specific options anymore.
2518
2519 2016-11-11  Wenson Hsieh  <wenson_hsieh@apple.com>
2520
2521         [WK2] autocorrect and autocapitalize attributes do not work in contenteditable elements
2522         https://bugs.webkit.org/show_bug.cgi?id=164538
2523         <rdar://problem/8418711>
2524
2525         Reviewed by Ryosuke Niwa.
2526
2527         Adds support for being able to test autocorrect and autocapitalize attributes in contenteditable areas. To do
2528         this, we add removeAllDynamicDictionaries to UIScriptController in order to ensure that autocorrect suggestions
2529         are reset to their defaults prior to running contenteditable-autocorrect-off.html.
2530
2531         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
2532         (WTR::UIScriptController::removeAllDynamicDictionaries):
2533         * Scripts/webkitpy/port/ios.py:
2534         (IOSSimulatorPort._createSimulatorApp):
2535         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
2536         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
2537         (WTR::UIScriptController::removeAllDynamicDictionaries):
2538         * TestRunnerShared/UIScriptContext/UIScriptController.h:
2539         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
2540         (-[TestRunnerWKWebView _keyboardDidShow:]):
2541         (-[TestRunnerWKWebView _keyboardDidHide:]):
2542
2543         Work around an issue where consecutive UIKeyboardDidShowNotification would cause keyboard appearance callbacks
2544         to be fired multiple times. This was causing a single key press to cause two characters to be typed. While this
2545         does not affect the correctness of existing tests, the new autocorrection test requires this workaround.
2546
2547         * WebKitTestRunner/ios/UIKitSPI.h:
2548         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
2549         (WTR::UIScriptController::waitForTextPredictionsViewAndSelectCandidateAtIndex):
2550         (WTR::UIScriptController::removeAllDynamicDictionaries):
2551
2552 2016-11-11  Alex Christensen  <achristensen@webkit.org>
2553
2554         Build all Mac API tests
2555         https://bugs.webkit.org/show_bug.cgi?id=164633
2556
2557         Reviewed by Gyuyoung Kim.
2558
2559         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2560         * TestWebKitAPI/Tests/mac/NavigatorLanguage.mm:
2561
2562 2016-11-11  Alex Christensen  <achristensen@webkit.org>
2563
2564         Allow mutable lambdas in HashMap::ensure
2565         https://bugs.webkit.org/show_bug.cgi?id=164642
2566
2567         Reviewed by Sam Weinig.
2568
2569         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
2570         (TestWebKitAPI::TEST):
2571
2572 2016-11-10  Wenson Hsieh  <wenson_hsieh@apple.com>
2573
2574         Composition state should be cleared when changing focus to a non-editable element
2575         https://bugs.webkit.org/show_bug.cgi?id=164595
2576         <rdar://problem/26412551>
2577
2578         Reviewed by Enrica Casucci.
2579
2580         Adds support for window.textInputController in DumpRenderTree on iOS. So far, only the methods needed for the
2581         new layout test (editing/focus-change-with-marked-text.html) are supported. These are insertText, setMarkedText,
2582         and markedRange.
2583
2584         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2585         * DumpRenderTree/TextInputController.h: Renamed from Tools/DumpRenderTree/mac/TextInputController.h.
2586
2587         Remove the PLATFORM(MAC) guard for defining the TextInputController. Also, move the TextInputController header
2588         out of the /mac platform directory.
2589
2590         * DumpRenderTree/ios/TextInputControllerIOS.m: Added.
2591         (+[TextInputController isSelectorExcludedFromWebScript:]):
2592         (+[TextInputController webScriptNameForSelector:]):
2593         (-[TextInputController initWithWebView:]):
2594         (-[TextInputController markedRange]):
2595         (-[TextInputController insertText:]):
2596         (-[TextInputController setMarkedText:selectedFrom:length:]):
2597
2598         Introduces TextInputControllerIOS.m, which contains an iOS implementation of TextInputController. Only a subset
2599         of the methods available on the Mac version will be available on iOS for now (see above).
2600
2601         * DumpRenderTree/mac/FrameLoadDelegate.mm:
2602
2603         Remove the PLATFORM(MAC) guard for initializing the TextInputController and binding it to the window object.
2604
2605         (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]):
2606         * DumpRenderTree/mac/TextInputControllerMac.m: Renamed from Tools/DumpRenderTree/mac/TextInputController.m.
2607         (-[WebHTMLView interpretKeyEvents:]):
2608         (-[WebNSRange initWithNSRange:]):
2609         (-[WebNSRange location]):
2610         (-[WebNSRange length]):
2611         (+[WebNSRange isSelectorExcludedFromWebScript:]):
2612         (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
2613         (+[NSMutableAttributedString webScriptNameForSelector:]):
2614         (-[NSMutableAttributedString getLength]):
2615         (-[NSMutableAttributedString ranges]):
2616         (-[NSMutableAttributedString attributeNamesAtIndex:]):
2617         (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
2618         (-[NSMutableAttributedString addAttribute:value:]):
2619         (-[NSMutableAttributedString addAttribute:value:from:length:]):
2620         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
2621         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
2622         (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
2623         (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
2624         (+[TextInputController isSelectorExcludedFromWebScript:]):
2625         (+[TextInputController webScriptNameForSelector:]):
2626         (-[TextInputController initWithWebView:]):
2627         (-[TextInputController dealloc]):
2628         (-[TextInputController textInput]):
2629         (-[TextInputController insertText:]):
2630         (-[TextInputController doCommand:]):
2631         (-[TextInputController setMarkedText:selectedFrom:length:]):
2632         (-[TextInputController unmarkText]):
2633         (-[TextInputController hasMarkedText]):
2634         (-[TextInputController conversationIdentifier]):
2635         (-[TextInputController substringFrom:length:]):
2636         (-[TextInputController attributedSubstringFrom:length:]):
2637         (-[TextInputController legacyAttributedString:]):
2638         (-[TextInputController markedRange]):
2639         (-[TextInputController selectedRange]):
2640         (-[TextInputController firstRectForCharactersFrom:length:]):
2641         (-[TextInputController characterIndexForPointX:Y:]):
2642         (-[TextInputController validAttributesForMarkedText]):
2643         (-[TextInputController attributedStringWithString:]):
2644         (-[TextInputController stringWithUndoGroupingInsertion:]):
2645         (-[TextInputController dictatedStringWithPrimaryString:alternative:alternativeOffset:alternativeLength:]):
2646         (-[TextInputController setInputMethodHandler:]):
2647         (-[TextInputController interpretKeyEvents:withSender:]):
2648
2649         Fixes miscellaneous style issues.
2650
2651 2016-11-11  Philippe Normand  <pnormand@igalia.com>
2652
2653         [GTK][JHbuild] bump libnice version in openwebrtc.modules
2654         https://bugs.webkit.org/show_bug.cgi?id=164586
2655
2656         Reviewed by Michael Catanzaro.
2657
2658         Update to a recent libnice git snapshot and remove patches already
2659         upstream or not applying anymore. The patches not upstream yet
2660         will be reported in Phabricator.
2661
2662         * gtk/openwebrtc.modules:
2663         * gtk/patches/libnice-0001-agent-Remove-unnecessary-NULL-check.patch: Removed.
2664         * gtk/patches/libnice-0002-Do-not-update-a-remote-candidate-s-type.patch: Removed.
2665         * gtk/patches/libnice-0002-TURN-handle-437-Allocation-Mismatch-responses.patch: Removed.
2666         * gtk/patches/libnice-0003-Do-not-compare-scope-for-IPv6-address-when-scope-is-.patch: Removed.
2667         * gtk/patches/libnice-0004-Removing-no-op-assignment.patch: Removed.
2668
2669 2016-11-10  Alex Christensen  <achristensen@webkit.org>
2670
2671         Fix assertion after r208534.
2672         https://bugs.webkit.org/show_bug.cgi?id=160497
2673
2674         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2675         * TestWebKitAPI/Tests/mac/MemoryPressureHandler.mm: Added.
2676         (TestWebKitAPI::TEST):
2677         Add a regression test.
2678
2679 2016-11-10  Chris Dumez  <cdumez@apple.com>
2680
2681         REGRESSION (r208522): LayoutTest fast/loader/reload-zero-byte-plugin.html is a flaky failure
2682         https://bugs.webkit.org/show_bug.cgi?id=164570
2683
2684         Reviewed by Simon Fraser.
2685
2686         Properly reset TestController::m_shouldDownloadUndisplayableMIMETypes between tests to
2687         avoid flakiness.
2688
2689         * WebKitTestRunner/TestController.cpp:
2690         (WTR::TestController::resetStateToConsistentValues):
2691
2692 2016-11-10  Miguel Gomez  <magomez@igalia.com>
2693
2694         Unreviewed. Added myself to the list of committers.
2695
2696         * Scripts/webkitpy/common/config/contributors.json:
2697
2698 2016-10-27  Sergio Villar Senin  <svillar@igalia.com>
2699
2700         [GTK] New API to notify about dynamically added forms
2701         https://bugs.webkit.org/show_bug.cgi?id=164050
2702
2703         Reviewed by Carlos Garcia Campos.
2704
2705         Added a new test case to verify that dinamically added forms correctly trigger the
2706         "form-controls-associated" signal from WebPage.
2707
2708         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
2709         (didAssociateFormControlsCallback):
2710         (testWebExtensionFormControlsAssociated):
2711         (beforeAll):
2712         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2713         (DelayedSignal::DelayedSignal):
2714         (emitFormControlsAssociated):
2715         (formControlsAssociatedCallback):
2716         (pageCreatedCallback):
2717
2718 2016-11-09  Ryosuke Niwa  <rniwa@webkit.org>
2719
2720         WebHTMLView's _attributeStringFromDOMRange should use HTMLConverter instead of NSAttributedString's _initWithDOMRange
2721         https://bugs.webkit.org/show_bug.cgi?id=164501
2722         <rdar://problem/29152282>
2723
2724         Reviewed by Sam Weinig.
2725
2726         * DumpRenderTree/mac/TextInputController.m:
2727         (-[TextInputController legacyAttributedString:]):
2728
2729 2016-11-09  Chris Dumez  <cdumez@apple.com>
2730
2731         [WK2][NETWORK_SESSION] Add support for downloading file backed blobs
2732         https://bugs.webkit.org/show_bug.cgi?id=164458
2733         <rdar://problem/28905514>
2734
2735         Reviewed by Darin Adler.
2736
2737         Add testRunner.setShouldDownloadUndisplayableMIMETypes(bool) API so that layout
2738         tests can request that such resources are downloaded instead of being ignored.
2739
2740         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2741         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2742         (WTR::TestRunner::setShouldDownloadUndisplayableMIMETypes):
2743         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2744         * WebKitTestRunner/TestController.cpp:
2745         (WTR::TestController::decidePolicyForNavigationResponse):
2746         * WebKitTestRunner/TestController.h:
2747         (WTR::TestController::setShouldDownloadUndisplayableMIMETypes):
2748         * WebKitTestRunner/TestInvocation.cpp:
2749         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2750
2751 2016-11-09  Carlos Garcia Campos  <cgarcia@igalia.com>
2752
2753         NetworkSession: Network process crash when converting main resource to download
2754         https://bugs.webkit.org/show_bug.cgi?id=164220
2755
2756         Reviewed by Alex Christensen.
2757
2758         Split /webkit2/Downloads/policy-decision-download in two, one to test the full load when main resource is
2759         converted to a download and another one to test the cancellation as the test was doing before. When doing the
2760         full load, delay a bit the decide destination to ensure the load is aborted before the data task has became a
2761         download.
2762
2763         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
2764         (testPolicyResponseDownload):
2765         (testPolicyResponseDownloadCancel):
2766         (beforeAll):
2767
2768 2016-11-09  KwangHyuk Kim  <hyuki.kim@samsung.com>
2769
2770         [EFL] fix error message caused by eina log
2771         https://bugs.webkit.org/show_bug.cgi?id=164546
2772
2773         Reviewed by Gyuyoung Kim.
2774
2775         Fix error message caused by eina log when MiniBrowser is working with help option.
2776
2777         * MiniBrowser/efl/main.c:
2778         (quit):
2779
2780 2016-11-09  Brent Fulgham  <bfulgham@apple.com>
2781
2782         Unreviewed build fix after r208509.
2783
2784         * DumpRenderTree/win/TestRunnerWin.cpp:
2785         (TestRunner::setNeedsStorageAccessFromFileURLsQuirk): Add missing TestRunner implementation."
2786
2787 2016-11-09  Alex Christensen  <achristensen@webkit.org>
2788
2789         Unreviewed, rolling out r208438.
2790
2791         crashes
2792
2793         Reverted changeset:
2794
2795         "[WK2][NETWORK_SESSION] Add support for downloading file
2796         backed blobs"
2797         https://bugs.webkit.org/show_bug.cgi?id=164458
2798         http://trac.webkit.org/changeset/208438
2799
2800 2016-11-04  Brent Fulgham  <bfulgham@apple.com>
2801
2802         Local HTML should be blocked from localStorage access unless "Disable Local File Restrictions" is checked
2803         https://bugs.webkit.org/show_bug.cgi?id=155185
2804         <rdar://problem/11101440>
2805
2806         Reviewed by Brady Eidson.
2807
2808         * DumpRenderTree/TestRunner.cpp:
2809         (setNeedsLocalStorageQuirkCallback): Added.
2810         (TestRunner::staticFunctions):
2811         * DumpRenderTree/TestRunner.h:
2812         * DumpRenderTree/mac/DumpRenderTree.mm:
2813         (resetWebPreferencesToConsistentValues): Update for new quirk setting.
2814         * DumpRenderTree/mac/TestRunnerMac.mm:
2815         (TestRunner::setNeedsLocalStorageQuirk):
2816         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2817         * TestWebKitAPI/Tests/WebKit2/CloseFromWithinCreatePage.cpp:
2818         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm:
2819         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.mm:
2820         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageQuirkEnabled.html: Added.
2821         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageQuirkTest.mm: Added.
2822         (-[LocalStorageQuirkMessageHandler userContentController:didReceiveScriptMessage:]):
2823         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2824         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2825         (WTR::InjectedBundle::beginTesting): Update for new quirk setting.
2826         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2827         (WTR::TestRunner::setNeedsLocalStorageQuirk): Added.
2828         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2829
2830 2016-11-09  Alex Christensen  <achristensen@webkit.org>
2831
2832         URLParser should not consider path of URLs with no host to start at the first slash after the colon
2833         https://bugs.webkit.org/show_bug.cgi?id=164555
2834
2835         Reviewed by Tim Horton.
2836
2837         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2838         (TestWebKitAPI::TEST_F):
2839
2840 2016-11-09  Jonathan Bedard  <jbedard@apple.com>
2841
2842         test-webkitpy failing test_create_patch_is_full_patch unit test
2843         https://bugs.webkit.org/show_bug.cgi?id=164385
2844
2845         Reviewed by Darin Adler.
2846
2847         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py: Fixed expected output to match output.
2848
2849 2016-11-09  Chris Dumez  <cdumez@apple.com>
2850
2851         [Mac] Stop using deprecated AppKit enumeration values
2852         https://bugs.webkit.org/show_bug.cgi?id=164494
2853
2854         Reviewed by Darin Adler.
2855
2856         Stop using deprecated AppKit enumeration values.
2857
2858         * DumpRenderTree/mac/EventSendingController.mm:
2859         (eventTypeForMouseButtonAndAction):
2860         (modifierFlags):
2861         (-[EventSendingController mouseMoveToX:Y:]):
2862         (-[EventSendingController contextClick]):
2863         (-[EventSendingController keyDown:withModifiers:withLocation:]):
2864         * DumpRenderTree/mac/TextInputController.m:
2865         (-[TextInputController interpretKeyEvents:withSender:]):
2866         * TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm:
2867         (simulateCommandArrow):
2868         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenDelegate.mm:
2869         (TestWebKitAPI::TEST):
2870         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenLayoutConstraints.mm:
2871         (TestWebKitAPI::TEST):
2872         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
2873         (TestWebKitAPI::TEST):
2874         * TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm:
2875         (TEST):
2876         * TestWebKitAPI/Tests/WebKit2Cocoa/UserInitiatedActionInNavigationAction.mm:
2877         (UserInitiatedActionTest::SetUp):
2878         (UserInitiatedActionTest::click):
2879         * TestWebKitAPI/Tests/mac/AcceptsFirstMouse.mm:
2880         (TestWebKitAPI::AcceptsFirstMouse::runTest):
2881         * TestWebKitAPI/Tests/mac/ContextMenuCanCopyURL.mm:
2882         (TestWebKitAPI::contextMenuCopyLink):
2883         (TestWebKitAPI::TEST):
2884         * TestWebKitAPI/Tests/mac/ContextMenuDefaultItemsHaveTags.mm:
2885         (TestWebKitAPI::TEST):
2886         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
2887         (TestWebKitAPI::FullscreenZoomInitialFrame::runTest):
2888         * TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
2889         (TestWebKitAPI::TEST):
2890         * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
2891         (TestWebKitAPI::Util::isKeyDown):
2892         * TestWebKitAPI/mac/PlatformWebViewMac.mm:
2893         (TestWebKitAPI::PlatformWebView::initialize):
2894         (TestWebKitAPI::PlatformWebView::simulateSpacebarKeyPress):
2895         (TestWebKitAPI::PlatformWebView::simulateRightClick):
2896         (TestWebKitAPI::PlatformWebView::simulateMouseMove):
2897         (TestWebKitAPI::eventTypeForButton):
2898         (TestWebKitAPI::modifierFlagsForWKModifiers):
2899         * TestWebKitAPI/mac/TestWKWebViewMac.mm:
2900         (__simulated_forceClickAssociatedEventsMask):
2901         (-[TestWKWebViewHostWindow _mouseDownAtPoint:simulatePressure:]):
2902         (-[TestWKWebView _setUpTestWindow:]):
2903         (-[TestWKWebView typeCharacter:]):
2904         * WebKitTestRunner/mac/EventSenderProxy.mm:
2905         (WTR::eventTypeForMouseButtonAndAction):
2906         (WTR::buildModifierFlags):
2907         (WTR::EventSenderProxy::sendMouseDownToStartPressureEvents):
2908         (WTR::EventSenderProxy::mouseForceClick):
2909         (WTR::EventSenderProxy::startAndCancelMouseForceClick):
2910         (WTR::EventSenderProxy::mouseMoveTo):
2911         (WTR::EventSenderProxy::keyDown):
2912         (WTR::EventSenderProxy::swipeGestureWithWheelAndMomentumPhases):
2913         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2914         (WTR::PlatformWebView::PlatformWebView):
2915         * WebKitTestRunner/mac/TestControllerMac.mm:
2916         (WTR::TestController::platformResetStateToConsistentValues):
2917
2918 2016-11-09  Beth Dakin  <bdakin@apple.com>
2919
2920         Support TouchBar in WebKit
2921         https://bugs.webkit.org/show_bug.cgi?id=164437
2922         -and corresponding-
2923         rdar://problem/28876524
2924
2925         Reviewed by Darin Adler.
2926
2927         This makes MiniBrowser support TouchBar customization. 
2928
2929         * MiniBrowser/mac/AppDelegate.m:
2930         (-[BrowserAppDelegate awakeFromNib]):
2931
2932 2016-11-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2933
2934         [EFL] Use libgcrypt instead of GnuTLS for CryptoDigest
2935         https://bugs.webkit.org/show_bug.cgi?id=164461
2936
2937         Reviewed by Michael Catanzaro.
2938
2939         As GTK port in r208297, EFL port starts to use libgcrypt instead of GnuTLS as well.
2940
2941         * efl/install-dependencies: Add libgcript package dependecy.
2942
2943 2016-11-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2944
2945         [EFL] Remove unused function in MiniBrowser
2946         https://bugs.webkit.org/show_bug.cgi?id=164398
2947
2948         Reviewed by Darin Adler.
2949
2950         * MiniBrowser/efl/main.c:
2951         (window_find_with_elm_window): Deleted because it is not used anywhere.
2952
2953 2016-11-09  Chris Dumez  <cdumez@apple.com>
2954
2955         [WK2][NETWORK_SESSION] Add support for downloading file backed blobs
2956         https://bugs.webkit.org/show_bug.cgi?id=164458
2957         <rdar://problem/28905514>
2958
2959         Reviewed by Darin Adler.
2960
2961         Add testRunner.setShouldDownloadUndisplayableMIMETypes(bool) API so that layout
2962         tests can request that such resources are downloaded instead of being ignored.
2963
2964         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2965         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2966         (WTR::TestRunner::setShouldDownloadUndisplayableMIMETypes):
2967         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2968         * WebKitTestRunner/TestController.cpp:
2969         (WTR::TestController::decidePolicyForNavigationResponse):
2970         * WebKitTestRunner/TestController.h:
2971         (WTR::TestController::setShouldDownloadUndisplayableMIMETypes):
2972         * WebKitTestRunner/TestInvocation.cpp:
2973         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2974
2975 2016-11-09  Jonathan Bedard  <jbedard@apple.com>
2976
2977         Make rpaths more robust for iOS Simulators
2978         https://bugs.webkit.org/show_bug.cgi?id=164521
2979
2980         Reviewed by Simon Fraser.
2981
2982         * Scripts/webkitpy/port/ios.py:
2983         (IOSSimulatorPort._createSimulatorApp): Added more robust path.
2984
2985 2016-11-09  Csaba Osztrogonác  <ossy@webkit.org>
2986
2987         Fix Tools build on case sensitive file systems
2988         https://bugs.webkit.org/show_bug.cgi?id=164474
2989
2990         Unreviewed buildfix.
2991
2992         * DumpRenderTree/CMakeLists.txt:
2993         * DumpRenderTree/PlatformMac.cmake:
2994         * DumpRenderTree/PlatformWin.cmake:
2995         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
2996         * MiniBrowser/mac/CMakeLists.txt:
2997
2998 2016-11-04  Filip Pizlo  <fpizlo@apple.com>
2999
3000         WTF::ParkingLot should stop using std::chrono because std::chrono::duration casts are prone to overflows
3001         https://bugs.webkit.org/show_bug.cgi?id=152045
3002
3003         Reviewed by Andy Estes.
3004
3005         * TestWebKitAPI/CMakeLists.txt:
3006         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3007         * TestWebKitAPI/Tests/WTF/Condition.cpp:
3008         (TestWebKitAPI::TEST):
3009         * TestWebKitAPI/Tests/WTF/SynchronizedFixedQueue.cpp:
3010         (TestWebKitAPI::ToUpperConverter::stopProducing):
3011         (TestWebKitAPI::ToUpperConverter::stopConsuming):
3012         * TestWebKitAPI/Tests/WTF/Time.cpp: Added.
3013         (WTF::operator<<):
3014         (TestWebKitAPI::TEST):
3015
3016 2016-11-04  Alex Christensen  <achristensen@webkit.org>
3017
3018         Unreviewed, rolling out r208293.
3019
3020         asserts in API tests.
3021
3022         Reverted changeset:
3023
3024         "NetworkSession: Network process crash when converting main
3025         resource to download"
3026         https://bugs.webkit.org/show_bug.cgi?id=164220
3027         http://trac.webkit.org/changeset/208293
3028
3029 2016-11-04  Said Abou-Hallawa  <sabouhallawa@apple.com>
3030
3031         Add a setting and preferences to enable/disable async image decoding
3032         https://bugs.webkit.org/show_bug.cgi?id=164417
3033
3034         Reviewed by Simon Fraser.
3035
3036         Pref and a menu item to toggle asyncImageDecodingEnabled for WebKits 1 and 2.
3037
3038         * MiniBrowser/mac/SettingsController.h:
3039         * MiniBrowser/mac/SettingsController.m:
3040         (-[SettingsController _populateMenu]):
3041         (-[SettingsController validateMenuItem:]):
3042         (-[SettingsController toggleAsyncImageDecodingEnabled:]):
3043         (-[SettingsController asyncImageDecodingEnabled]):
3044         * MiniBrowser/mac/WK1BrowserWindowController.m:
3045         (-[WK1BrowserWindowController didChangeSettings]):
3046         * MiniBrowser/mac/WK2BrowserWindowController.m:
3047         (-[WK2BrowserWindowController didChangeSettings]):
3048
3049 2016-11-04  Brady Eidson  <beidson@apple.com>
3050
3051         REGRESSION (r208349) StringHasher::hashMemory behavior changed, causing API tests to fail
3052         https://bugs.webkit.org/show_bug.cgi?id=164390
3053
3054         Reviewed by Geoffrey Garen.
3055
3056         Operating under the assumption that the behavior change is okay/desirable, this updates the test.
3057
3058         * TestWebKitAPI/Tests/WTF/StringHasher.cpp:
3059         (TestWebKitAPI::TEST):
3060
3061 2016-11-04  Joanmarie Diggs  <jdiggs@igalia.com>
3062
3063         AX: [ATK] Attempting to clear selection on ARIA listboxes results in crash
3064         https://bugs.webkit.org/show_bug.cgi?id=164331
3065
3066         Reviewed by Chris Fleizach.
3067
3068         Add AccessibilityUIElement::clearSelectedChildren() to DRT and WKTR.
3069         Implement it for ATK.
3070
3071         * DumpRenderTree/AccessibilityUIElement.h:
3072         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3073         (AccessibilityUIElement::clearSelectedChildren):
3074         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3075         (AccessibilityUIElement::clearSelectedChildren):
3076         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3077         (AccessibilityUIElement::clearSelectedChildren):
3078         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3079         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3080         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3081         (WTR::AccessibilityUIElement::clearSelectedChildren):
3082         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3083         (WTR::AccessibilityUIElement::clearSelectedChildren):
3084         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3085         (WTR::AccessibilityUIElement::clearSelectedChildren):
3086
3087 2016-11-04  Per Arne Vollan  <pvollan@apple.com>
3088
3089         [Win] Page visibility tests are timing out.
3090         https://bugs.webkit.org/show_bug.cgi?id=164363
3091
3092         Reviewed by Brent Fulgham.
3093
3094         Implement methods to set page visibility.
3095
3096         * DumpRenderTree/win/TestRunnerWin.cpp:
3097         (TestRunner::resetPageVisibility):
3098         (TestRunner::setPageVisibility):
3099
3100 2016-11-03  Simon Fraser  <simon.fraser@apple.com>
3101
3102         Give all the geometry classes a single-argument scale() function for consistency
3103         https://bugs.webkit.org/show_bug.cgi?id=164400
3104
3105         Reviewed by Zalan Bujtas.
3106         
3107         Test single-argument scale().
3108
3109         * TestWebKitAPI/Tests/WebCore/FloatPoint.cpp:
3110         (TestWebKitAPI::TEST):
3111
3112 2016-11-03  Chris Dumez  <cdumez@apple.com>
3113
3114         [WK2][Cocoa] Implement user interface for HTML form validation
3115         https://bugs.webkit.org/show_bug.cgi?id=164143
3116         <rdar://problem/28944652>
3117
3118         Reviewed by Simon Fraser.
3119
3120         Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble")
3121         on both Mac and iOS to retrieve the currently displayed validation message.
3122
3123         * DumpRenderTree/mac/UIScriptControllerMac.mm:
3124         (WTR::UIScriptController::contentsOfUserInterfaceItem):
3125         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
3126         (WTR::UIScriptController::contentsOfUserInterfaceItem):
3127         (WTR::UIScriptController::selectFormAccessoryPickerRow):
3128         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
3129         (WTR::UIScriptController::contentsOfUserInterfaceItem):
3130
3131 2016-11-03  Konstantin Tokarev  <annulen@yandex.ru>
3132
3133         Fixes to build JSCOnly on macOS
3134         https://bugs.webkit.org/show_bug.cgi?id=164379
3135
3136         Reviewed by Michael Catanzaro.
3137
3138         * TestWebKitAPI/PlatformJSCOnly.cmake: Moved BUILDING_JSCONLY__
3139         definition to OptionsJSCOnly.cmake
3140
3141 2016-11-03  Dan Bernstein  <mitz@apple.com>
3142
3143         WKWebView’s _observedRenderingProgressEvents not restored after web process crash
3144         https://bugs.webkit.org/show_bug.cgi?id=164368
3145         <rdar://problem/29091954>
3146
3147         Reviewed by Anders Carlsson.
3148
3149         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3150         * TestWebKitAPI/Tests/WebKit2Cocoa/ObservedRenderingProgressEventsAfterCrash.mm: Added.
3151         (TEST):
3152
3153 2016-11-03  Alex Christensen  <achristensen@webkit.org>
3154
3155         Purge PassRefPtr from Tools
3156         https://bugs.webkit.org/show_bug.cgi?id=164358
3157
3158         Reviewed by Michael Catanzaro.
3159
3160         * ImageDiff/efl/ImageDiff.cpp:
3161         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitAccessibility.cpp:
3162         * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
3163         (WTR::AccessibilityController::create):
3164         (WTR::AccessibilityController::rootElement):
3165         (WTR::AccessibilityController::focusedElement):
3166         (WTR::AccessibilityController::elementAtPoint):
3167         (WTR::AccessibilityController::addNotificationListener): Deleted.
3168         (WTR::AccessibilityController::removeNotificationListener): Deleted.
3169         (WTR::AccessibilityController::accessibleElementById): Deleted.
3170         (WTR::AccessibilityController::logAccessibilityEvents): Deleted.
3171         (WTR::AccessibilityController::resetToConsistentState): Deleted.
3172         (WTR::AccessibilityController::platformName): Deleted.
3173         * WebKitTestRunner/InjectedBundle/AccessibilityController.h:
3174         (WTR::AccessibilityController::logAccessibilityEvents):
3175         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.cpp:
3176         (WTR::AccessibilityTextMarker::create):
3177         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.h:
3178         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.cpp:
3179         (WTR::AccessibilityTextMarkerRange::create):
3180         * WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.h:
3181         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3182         (WTR::AccessibilityUIElement::create):
3183         (WTR::AccessibilityUIElement::linkedElement):
3184         (WTR::AccessibilityUIElement::headerElementAtIndex):
3185         (WTR::AccessibilityUIElement::fieldsetAncestorElement):
3186         (WTR::AccessibilityUIElement::characterAtOffset):
3187         (WTR::AccessibilityUIElement::wordAtOffset):
3188         (WTR::AccessibilityUIElement::lineAtOffset):
3189         (WTR::AccessibilityUIElement::sentenceAtOffset):
3190         (WTR::AccessibilityUIElement::selectedTextMarkerRange):
3191         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
3192         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
3193         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
3194         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3195         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
3196         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3197         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
3198         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
3199         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
3200         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
3201         (WTR::AccessibilityUIElement::AccessibilityUIElement): Deleted.
3202         (WTR::AccessibilityUIElement::~AccessibilityUIElement): Deleted.
3203         (WTR::AccessibilityUIElement::isEqual): Deleted.
3204         (WTR::AccessibilityUIElement::elementAtPoint): Deleted.
3205         (WTR::AccessibilityUIElement::childAtIndex): Deleted.
3206         (WTR::AccessibilityUIElement::indexOfChild): Deleted.
3207         (WTR::AccessibilityUIElement::childrenCount): Deleted.
3208         (WTR::AccessibilityUIElement::titleUIElement): Deleted.
3209         (WTR::AccessibilityUIElement::parentElement): Deleted.
3210         (WTR::AccessibilityUIElement::takeFocus): Deleted.
3211         (WTR::AccessibilityUIElement::takeSelection): Deleted.
3212         (WTR::AccessibilityUIElement::addSelection): Deleted.
3213         (WTR::AccessibilityUIElement::removeSelection): Deleted.
3214         (WTR::AccessibilityUIElement::allAttributes): Deleted.
3215         (WTR::AccessibilityUIElement::attributesOfLinkedUIElements): Deleted.
3216         (WTR::AccessibilityUIElement::linkedUIElementAtIndex): Deleted.
3217         (WTR::AccessibilityUIElement::attributesOfDocumentLinks): Deleted.
3218         (WTR::AccessibilityUIElement::attributesOfChildren): Deleted.
3219         (WTR::AccessibilityUIElement::parameterizedAttributeNames): Deleted.
3220         (WTR::AccessibilityUIElement::increment): Deleted.
3221         (WTR::AccessibilityUIElement::decrement): Deleted.
3222         (WTR::AccessibilityUIElement::showMenu): Deleted.
3223         (WTR::AccessibilityUIElement::press): Deleted.
3224         (WTR::AccessibilityUIElement::stringAttributeValue): Deleted.
3225         (WTR::AccessibilityUIElement::uiElementArrayAttributeValue): Deleted.
3226         (WTR::AccessibilityUIElement::uiElementAttributeValue): Deleted.
3227         (WTR::AccessibilityUIElement::numberAttributeValue): Deleted.
3228         (WTR::AccessibilityUIElement::boolAttributeValue): Deleted.
3229         (WTR::AccessibilityUIElement::isAttributeSupported): Deleted.
3230         (WTR::AccessibilityUIElement::isAttributeSettable): Deleted.
3231         (WTR::AccessibilityUIElement::isPressActionSupported): Deleted.
3232         (WTR::AccessibilityUIElement::isIncrementActionSupported): Deleted.
3233         (WTR::AccessibilityUIElement::isDecrementActionSupported): Deleted.
3234         (WTR::AccessibilityUIElement::role): Deleted.
3235         (WTR::AccessibilityUIElement::subrole): Deleted.
3236         (WTR::AccessibilityUIElement::roleDescription): Deleted.
3237         (WTR::AccessibilityUIElement::computedRoleString): Deleted.
3238         (WTR::AccessibilityUIElement::title): Deleted.
3239         (WTR::AccessibilityUIElement::description): Deleted.
3240         (WTR::AccessibilityUIElement::language): Deleted.
3241         (WTR::AccessibilityUIElement::stringValue): Deleted.
3242         (WTR::AccessibilityUIElement::accessibilityValue): Deleted.
3243         (WTR::AccessibilityUIElement::helpText): Deleted.
3244         (WTR::AccessibilityUIElement::orientation): Deleted.
3245         (WTR::AccessibilityUIElement::x): Deleted.
3246         (WTR::AccessibilityUIElement::y): Deleted.
3247         (WTR::AccessibilityUIElement::width): Deleted.
3248         (WTR::AccessibilityUIElement::height): Deleted.
3249         (WTR::AccessibilityUIElement::intValue): Deleted.
3250         (WTR::AccessibilityUIElement::minValue): Deleted.
3251         (WTR::AccessibilityUIElement::maxValue): Deleted.
3252         (WTR::AccessibilityUIElement::valueDescription): Deleted.
3253         (WTR::AccessibilityUIElement::insertionPointLineNumber): Deleted.
3254         (WTR::AccessibilityUIElement::selectedTextRange): Deleted.
3255         (WTR::AccessibilityUIElement::isEnabled): Deleted.
3256         (WTR::AccessibilityUIElement::isRequired): Deleted.
3257         (WTR::AccessibilityUIElement::isFocused): Deleted.
3258         (WTR::AccessibilityUIElement::isFocusable): Deleted.
3259         (WTR::AccessibilityUIElement::isSelected): Deleted.
3260         (WTR::AccessibilityUIElement::isSelectedOptionActive): Deleted.
3261         (WTR::AccessibilityUIElement::isSelectable): Deleted.
3262         (WTR::AccessibilityUIElement::isMultiSelectable): Deleted.
3263         (WTR::AccessibilityUIElement::setSelectedChild): Deleted.
3264         (WTR::AccessibilityUIElement::setSelectedChildAtIndex): Deleted.
3265         (WTR::AccessibilityUIElement::removeSelectionAtIndex): Deleted.
3266         (WTR::AccessibilityUIElement::selectedChildrenCount): Deleted.
3267         (WTR::AccessibilityUIElement::selectedChildAtIndex): Deleted.
3268         (WTR::AccessibilityUIElement::isExpanded): Deleted.
3269         (WTR::AccessibilityUIElement::isChecked): Deleted.
3270         (WTR::AccessibilityUIElement::isIndeterminate): Deleted.
3271         (WTR::AccessibilityUIElement::isVisible): Deleted.
3272         (WTR::AccessibilityUIElement::isOffScreen): Deleted.
3273         (WTR::AccessibilityUIElement::isCollapsed): Deleted.
3274         (WTR::AccessibilityUIElement::isIgnored): Deleted.
3275         (WTR::AccessibilityUIElement::hasPopup): Deleted.
3276         (WTR::AccessibilityUIElement::hierarchicalLevel): Deleted.
3277         (WTR::AccessibilityUIElement::clickPointX): Deleted.
3278         (WTR::AccessibilityUIElement::clickPointY): Deleted.
3279         (WTR::AccessibilityUIElement::documentEncoding): Deleted.
3280         (WTR::AccessibilityUIElement::documentURI): Deleted.
3281         (WTR::AccessibilityUIElement::url): Deleted.
3282         (WTR::AccessibilityUIElement::speak): Deleted.
3283         (WTR::AccessibilityUIElement::attributesOfColumnHeaders): Deleted.
3284         (WTR::AccessibilityUIElement::attributesOfRowHeaders): Deleted.
3285         (WTR::AccessibilityUIElement::attributesOfColumns): Deleted.
3286         (WTR::AccessibilityUIElement::attributesOfRows): Deleted.
3287         (WTR::AccessibilityUIElement::attributesOfVisibleCells): Deleted.
3288         (WTR::AccessibilityUIElement::attributesOfHeader): Deleted.
3289         (WTR::AccessibilityUIElement::indexInTable): Deleted.
3290         (WTR::AccessibilityUIElement::rowIndexRange): Deleted.
3291         (WTR::AccessibilityUIElement::columnIndexRange): Deleted.
3292         (WTR::AccessibilityUIElement::rowCount): Deleted.
3293         (WTR::AccessibilityUIElement::columnCount): Deleted.
3294         (WTR::AccessibilityUIElement::rowHeaders): Deleted.
3295         (WTR::AccessibilityUIElement::columnHeaders): Deleted.
3296         (WTR::AccessibilityUIElement::selectedRowAtIndex): Deleted.
3297         (WTR::AccessibilityUIElement::disclosedByRow): Deleted.
3298         (WTR::AccessibilityUIElement::disclosedRowAtIndex): Deleted.
3299         (WTR::AccessibilityUIElement::rowAtIndex): Deleted.
3300         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex): Deleted.
3301         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex): Deleted.
3302         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex): Deleted.
3303         (WTR::AccessibilityUIElement::ariaIsGrabbed): Deleted.
3304         (WTR::AccessibilityUIElement::ariaDropEffects): Deleted.
3305         (WTR::AccessibilityUIElement::classList): Deleted.
3306         (WTR::AccessibilityUIElement::lineForIndex): Deleted.
3307         (WTR::AccessibilityUIElement::rangeForLine): Deleted.
3308         (WTR::AccessibilityUIElement::rangeForPosition): Deleted.
3309         (WTR::AccessibilityUIElement::boundsForRange): Deleted.
3310         (WTR::AccessibilityUIElement::setSelectedTextRange): Deleted.
3311         (WTR::AccessibilityUIElement::setSelectedVisibleTextRange): Deleted.
3312         (WTR::AccessibilityUIElement::stringForRange): Deleted.
3313         (WTR::AccessibilityUIElement::attributedStringForRange): Deleted.
3314         (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled): Deleted.
3315         (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate): Deleted.
3316         (WTR::AccessibilityUIElement::uiElementForSearchPredicate): Deleted.
3317         (WTR::AccessibilityUIElement::selectTextWithCriteria): Deleted.
3318         (WTR::AccessibilityUIElement::cellForColumnAndRow): Deleted.
3319         (WTR::AccessibilityUIElement::horizontalScrollbar): Deleted.
3320         (WTR::AccessibilityUIElement::verticalScrollbar): Deleted.
3321         (WTR::AccessibilityUIElement::addNotificationListener): Deleted.
3322         (WTR::AccessibilityUIElement::removeNotificationListener): Deleted.
3323         (WTR::AccessibilityUIElement::lineTextMarkerRangeForTextMarker): Deleted.
3324         (WTR::AccessibilityUIElement::textMarkerRangeForElement): Deleted.
3325         (WTR::AccessibilityUIElement::textMarkerRangeLength): Deleted.
3326         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers): Deleted.
3327         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange): Deleted.
3328         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange): Deleted.
3329         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker): Deleted.
3330         (WTR::AccessibilityUIElement::endTextMarkerForBounds): Deleted.
3331         (WTR::AccessibilityUIElement::startTextMarkerForBounds): Deleted.
3332         (WTR::AccessibilityUIElement::textMarkerForPoint): Deleted.
3333         (WTR::AccessibilityUIElement::previousTextMarker): Deleted.
3334         (WTR::AccessibilityUIElement::nextTextMarker): Deleted.
3335         (WTR::AccessibilityUIElement::startTextMarker): Deleted.
3336         (WTR::AccessibilityUIElement::endTextMarker): Deleted.
3337         (WTR::AccessibilityUIElement::stringForTextMarkerRange): Deleted.
3338         (WTR::AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute): Deleted.
3339         (WTR::AccessibilityUIElement::indexForTextMarker): Deleted.
3340         (WTR::AccessibilityUIElement::isTextMarkerValid): Deleted.
3341         (WTR::AccessibilityUIElement::textMarkerForIndex): Deleted.
3342         (WTR::AccessibilityUIElement::scrollToMakeVisible): Deleted.
3343         (WTR::AccessibilityUIElement::scrollToGlobalPoint): Deleted.
3344         (WTR::AccessibilityUIElement::scrollToMakeVisibleWithSubFocus): Deleted.
3345         (WTR::AccessibilityUIElement::supportedActions): Deleted.
3346         (WTR::AccessibilityUIElement::mathPostscriptsDescription): Deleted.
3347         (WTR::AccessibilityUIElement::mathPrescriptsDescription): Deleted.
3348         (WTR::AccessibilityUIElement::pathDescription): Deleted.
3349         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3350         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
3351         (WTR::EventSendingController::create):
3352         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
3353         * WebKitTestRunner/InjectedBundle/GCController.cpp:
3354         (WTR::GCController::create):
3355         * WebKitTestRunner/InjectedBundle/GCController.h:
3356         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3357         (WTR::InjectedBundle::beginTesting):
3358         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
3359         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3360         (WTR::TestRunner::create):
3361         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3362         * WebKitTestRunner/InjectedBundle/TextInputController.cpp:
3363         (WTR::TextInputController::create):
3364         * WebKitTestRunner/InjectedBundle/TextInputController.h:
3365         * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
3366         (WTR::AccessibilityController::accessibleElementById):
3367         (WTR::AccessibilityController::rootElement):
3368         (WTR::AccessibilityController::focusedElement):
3369         (WTR::AccessibilityController::logAccessibilityEvents): Deleted.
3370         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.h:
3371         (WTR::AccessibilityNotificationHandler::create):
3372         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3373         (WTR::AccessibilityUIElement::elementAtPoint):
3374         (WTR::AccessibilityUIElement::childAtIndex):
3375         (WTR::accessibilityElementAtIndex):
3376         (WTR::AccessibilityUIElement::linkedUIElementAtIndex):
3377         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
3378         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
3379         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
3380         (WTR::AccessibilityUIElement::disclosedRowAtIndex):
3381         (WTR::AccessibilityUIElement::rowAtIndex):
3382         (WTR::AccessibilityUIElement::selectedChildAtIndex):
3383         (WTR::AccessibilityUIElement::selectedRowAtIndex):
3384         (WTR::AccessibilityUIElement::titleUIElement):
3385         (WTR::AccessibilityUIElement::parentElement):
3386         (WTR::AccessibilityUIElement::disclosedByRow):
3387         (WTR::AccessibilityUIElement::uiElementAttributeValue):
3388         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
3389         (WTR::AccessibilityUIElement::cellForColumnAndRow):
3390         (WTR::AccessibilityUIElement::horizontalScrollbar):
3391         (WTR::AccessibilityUIElement::verticalScrollbar):
3392         (WTR::AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3393         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
3394         (WTR::AccessibilityUIElement::previousTextMarker):
3395         (WTR::AccessibilityUIElement::nextTextMarker):
3396         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers):
3397         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange):
3398         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange):
3399         (WTR::AccessibilityUIElement::endTextMarkerForBounds):
3400         (WTR::AccessibilityUIElement::startTextMarkerForBounds):
3401         (WTR::AccessibilityUIElement::textMarkerForPoint):
3402         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
3403         (WTR::AccessibilityUIElement::textMarkerForIndex):
3404         (WTR::AccessibilityUIElement::startTextMarker):
3405         (WTR::AccessibilityUIElement::endTextMarker):
3406         * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm:
3407         (WTR::AccessibilityController::accessibleElementById):
3408         (WTR::AccessibilityController::logAccessibilityEvents): Deleted.
3409         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3410         (WTR::AccessibilityUIElement::headerElementAtIndex):
3411         (WTR::AccessibilityUIElement::linkedElement):
3412         (WTR::AccessibilityUIElement::elementAtPoint):
3413         (WTR::AccessibilityUIElement::childAtIndex):
3414         (WTR::AccessibilityUIElement::linkedUIElementAtIndex):
3415         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
3416         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
3417         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
3418         (WTR::AccessibilityUIElement::disclosedRowAtIndex):
3419         (WTR::AccessibilityUIElement::rowAtIndex):
3420         (WTR::AccessibilityUIElement::selectedChildAtIndex):
3421         (WTR::AccessibilityUIElement::selectedRowAtIndex):
3422         (WTR::AccessibilityUIElement::titleUIElement):
3423         (WTR::AccessibilityUIElement::parentElement):
3424         (WTR::AccessibilityUIElement::disclosedByRow):
3425         (WTR::AccessibilityUIElement::uiElementArrayAttributeValue):
3426         (WTR::AccessibilityUIElement::uiElementAttributeValue):
3427         (WTR::AccessibilityUIElement::rangeForLine):
3428         (WTR::AccessibilityUIElement::rangeForPosition):
3429         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
3430         (WTR::AccessibilityUIElement::fieldsetAncestorElement):
3431         (WTR::AccessibilityUIElement::cellForColumnAndRow):
3432         (WTR::AccessibilityUIElement::horizontalScrollbar):
3433         (WTR::AccessibilityUIElement::verticalScrollbar):
3434         (WTR::AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3435         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
3436         (WTR::AccessibilityUIElement::previousTextMarker):
3437         (WTR::AccessibilityUIElement::nextTextMarker):
3438         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers):
3439         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange):
3440         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange):
3441         (WTR::AccessibilityUIElement::endTextMarkerForBounds):
3442         (WTR::AccessibilityUIElement::startTextMarkerForBounds):
3443         (WTR::AccessibilityUIElement::textMarkerForPoint):
3444         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
3445         (WTR::AccessibilityUIElement::textMarkerForIndex):
3446         (WTR::AccessibilityUIElement::startTextMarker):
3447         (WTR::AccessibilityUIElement::endTextMarker):
3448         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
3449         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
3450         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
3451         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3452         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
3453         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3454         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
3455         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
3456         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
3457         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
3458         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
3459         (WTR::AccessibilityUIElement::mathPrescriptsDescription):
3460         (WTR::AccessibilityUIElement::supportedActions):
3461         * WebKitTestRunner/InjectedBundle/mac/AccessibilityControllerMac.mm:
3462         (WTR::AccessibilityController::accessibleElementById):
3463         (WTR::AccessibilityController::logAccessibilityEvents): Deleted.
3464         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
3465         (makeValueRefForValue):
3466         (-[AccessibilityNotificationHandler _notificationReceived:]):
3467         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3468         (WTR::AccessibilityUIElement::elementAtPoint):
3469         (WTR::AccessibilityUIElement::childAtIndex):
3470         (WTR::AccessibilityUIElement::linkedUIElementAtIndex):
3471         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
3472         (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
3473         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
3474         (WTR::AccessibilityUIElement::disclosedRowAtIndex):
3475         (WTR::AccessibilityUIElement::rowAtIndex):
3476         (WTR::AccessibilityUIElement::selectedChildAtIndex):
3477         (WTR::AccessibilityUIElement::selectedRowAtIndex):
3478         (WTR::AccessibilityUIElement::titleUIElement):
3479         (WTR::AccessibilityUIElement::parentElement):
3480         (WTR::AccessibilityUIElement::disclosedByRow):
3481         (WTR::AccessibilityUIElement::uiElementAttributeValue):
3482         (WTR::AccessibilityUIElement::uiElementForSearchPredicate):
3483         (WTR::AccessibilityUIElement::cellForColumnAndRow):
3484         (WTR::AccessibilityUIElement::horizontalScrollbar):
3485         (WTR::AccessibilityUIElement::verticalScrollbar):
3486         (WTR::AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
3487         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
3488         (WTR::AccessibilityUIElement::previousTextMarker):
3489         (WTR::AccessibilityUIElement::nextTextMarker):
3490         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers):
3491         (WTR::AccessibilityUIElement::selectedTextMarkerRange):
3492         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange):
3493         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange):
3494         (WTR::AccessibilityUIElement::endTextMarkerForBounds):
3495         (WTR::AccessibilityUIElement::startTextMarkerForBounds):
3496         (WTR::AccessibilityUIElement::textMarkerForPoint):
3497         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
3498         (WTR::AccessibilityUIElement::textMarkerForIndex):
3499         (WTR::AccessibilityUIElement::startTextMarker):
3500         (WTR::AccessibilityUIElement::endTextMarker):
3501         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
3502         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
3503         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
3504         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
3505         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
3506         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
3507         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
3508         (WTR::AccessibilityUIElement::sentenceTextMarkerRangeForTextMarker):
3509         (WTR::AccessibilityUIElement::previousSentenceStartTextMarkerForTextMarker):
3510         (WTR::AccessibilityUIElement::nextSentenceEndTextMarkerForTextMarker):
3511         * WebKitTestRunner/efl/EventSenderProxyEfl.cpp:
3512         (WTR::keyPadName):
3513         (WTR::keyName):
3514
3515 2016-11-02  Alex Christensen  <achristensen@webkit.org>
3516
3517         Remove Battery Status API from the tree
3518         https://bugs.webkit.org/show_bug.cgi?id=164213
3519
3520         Reviewed by Sam Weinig.
3521
3522         * Scripts/webkitperl/FeatureList.pm:
3523         * Scripts/webkitpy/common/config/watchlist:
3524
3525 2016-11-02  Olivier Blin  <olivier.blin@softathome.com>
3526
3527         [GTK] Use libgcrypt instead of GnuTLS for CryptoDigest and SubtleCrypto HMAC implementation
3528         https://bugs.webkit.org/show_bug.cgi?id=163125
3529
3530         Reviewed by Michael Catanzaro.
3531
3532         * gtk/install-dependencies: List libgcrypt for WebKitGTK+ build, and gnutls for jhbuild only.
3533         gnutls is useful for glib-networking in jhbuild.
3534
3535 2016-11-02  Carlos Garcia Campos  <cgarcia@igalia.com>
3536
3537         NetworkSession: Network process crash when converting main resource to download
3538         https://bugs.webkit.org/show_bug.cgi?id=164220
3539
3540         Reviewed by Alex Christensen.
3541
3542         Split /webkit2/Downloads/policy-decision-download in two, one to test the full load when main resource is
3543         converted to a download and another one to test the cancellation as the test was doing before. When doing the
3544         full load, delay a bit the decide destination to ensure the load is aborted before the data task has became a
3545         download.
3546
3547         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
3548         (testPolicyResponseDownload):
3549         (testPolicyResponseDownloadCancel):
3550         (beforeAll):
3551
3552 2016-11-01  Alex Christensen  <achristensen@webkit.org>
3553
3554         Remove PassRefPtr from DumpRenderTree
3555         https://bugs.webkit.org/show_bug.cgi?id=164307
3556
3557         Reviewed by Sam Weinig.
3558
3559         * DumpRenderTree/PixelDumpSupport.h:
3560         * DumpRenderTree/TestRunner.cpp:
3561         (TestRunner::create):
3562         * DumpRenderTree/TestRunner.h:
3563         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
3564         (createBitmapContext):
3565         * DumpRenderTree/cg/PixelDumpSupportCG.h:
3566         (BitmapContext::createByAdoptingBitmapAndContext):
3567         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
3568         (createBitmapContextFromWebView):
3569         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3570         (createBitmapContextFromWebView):
3571         (createPagedBitmapContext):
3572         * DumpRenderTree/mac/TestRunnerMac.mm:
3573         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
3574         (createBitmapContextFromWebView):
3575         * DumpRenderTree/win/TextInputController.h:
3576
3577 2016-11-02  Carlos Garcia Campos  <cgarcia@igalia.com>
3578
3579         [GTK] Use GTestDBus instead of dbus-launch in WebKitTestBus.cpp
3580         https://bugs.webkit.org/show_bug.cgi?id=161481
3581
3582         Reviewed by Michael Catanzaro.
3583
3584         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp:
3585         (WebKitTestBus::WebKitTestBus):
3586         (WebKitTestBus::~WebKitTestBus):
3587         (WebKitTestBus::run):
3588         (WebKitTestBus::getOrCreateConnection):
3589         (WebKitTestBus::createProxy):
3590         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.h:
3591
3592 2016-11-02  Carlos Garcia Campos  <cgarcia@igalia.com>
3593
3594         Unreviewed. Fix /webkit2/WebKitWebContext/get-plugins in the bots after r208273.
3595
3596         The test fails now if WEBKIT_TEST_PLUGIN_DIR contains symlinks, which is the case of the GTK+ bots.
3597
3598         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
3599         (testWebContextGetPlugins): Use realpath with WEBKIT_TEST_PLUGIN_DIR when building the expected plugins path.
3600
3601 2016-11-02  Romain Bellessort  <romain.bellessort@crf.canon.fr>
3602
3603         [Readable Streams API] Enable creation of ReadableByteStreamController
3604         https://bugs.webkit.org/show_bug.cgi?id=164014
3605
3606         Reviewed by Youenn Fablet.
3607
3608         Enable the byte stream part of Readable Streams API by default.
3609
3610         * Scripts/webkitperl/FeatureList.pm:
3611         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3612
3613 2016-11-01  Ryosuke Niwa  <rniwa@webkit.org>
3614
3615         Remove CUSTOM_ELEMENTS build flag
3616         https://bugs.webkit.org/show_bug.cgi?id=164267
3617
3618         Reviewed by Antti Koivisto.
3619
3620         Removed the build flag.
3621
3622         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3623
3624 2016-11-01  Alex Christensen  <achristensen@webkit.org>
3625
3626         Percent-encode non-ASCII code points in hosts of URLs with unrecognized schemes
3627         https://bugs.webkit.org/show_bug.cgi?id=164290
3628
3629         Reviewed by Tim Horton.
3630
3631         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3632         (TestWebKitAPI::checkRelativeURL):
3633         (TestWebKitAPI::checkURLDifferences):
3634         (TestWebKitAPI::checkRelativeURLDifferences):
3635         Move helper functions to the top so I can use them from any tests.
3636         (TestWebKitAPI::shouldFail):
3637         (TestWebKitAPI::checkURL):
3638         (TestWebKitAPI::TEST_F):
3639
3640 2016-11-01  Hyowon Kim  <hw1008.kim@samsung.com>
3641
3642         [GTK] Failed to generate GeoClue2Interface files.
3643         https://bugs.webkit.org/show_bug.cgi?id=164270
3644
3645         Reviewed by Michael Catanzaro.
3646
3647         To generate codes for D-Bus interfaces,
3648         geoclue-2.0 package including D-Bus introspection XML files should be installed.
3649
3650         * gtk/install-dependencies: add geoclue-2.0 package.
3651
3652 2016-11-01  Fujii Hironori  <Hironori.Fujii@sony.com>
3653
3654         [CMake] generate-bindings-all.pl uses USES_TERMINAL which leaves a noisy line in interactive Ninja build
3655         https://bugs.webkit.org/show_bug.cgi?id=163868
3656
3657         Reviewed by Michael Catanzaro.
3658
3659         It takes long time for generate-bindings-all.pl to generate all
3660         bindings.  So, it shows the progress while running and
3661         USES_TERMINAL option of add_custom_target have been used to invoke
3662         the command.  However, USES_TERMINAL leaves a noisy line in
3663         Ninja's neat build log of interactive build.
3664
3665         A new CMake option SHOW_BINDINGS_GENERATION_PROGRESS is added to
3666         stop using USES_TERMINAL only in case of interactive Ninja build.
3667
3668         * Scripts/webkitdirs.pm:
3669         (generateBuildSystemFromCMakeProject): Enable
3670         SHOW_BINDINGS_GENERATION_PROGRESS not in case of interactive
3671         Ninja build.
3672
3673 2016-10-31  Simon Fraser  <simon.fraser@apple.com>
3674
3675         Add basic visual/layout viewport support for fixed position layout
3676         https://bugs.webkit.org/show_bug.cgi?id=164261
3677
3678         Reviewed by Dean Jackson.
3679
3680         Don't give tests in the "visual-viewport" directory a flexible viewport.
3681
3682         * DumpRenderTree/mac/DumpRenderTree.mm:
3683         (shouldMakeViewportFlexible):
3684         * WebKitTestRunner/TestOptions.cpp:
3685         (WTR::shouldMakeViewportFlexible):
3686
3687 2016-10-29  Filip Pizlo  <fpizlo@apple.com>
3688
3689         JSC should support SharedArrayBuffer
3690         https://bugs.webkit.org/show_bug.cgi?id=163986
3691
3692         Reviewed by Keith Miller.
3693         
3694         Use the right kind of typed array API.
3695
3696         * DumpRenderTree/TestRunner.cpp:
3697         (setAudioResultCallback):
3698
3699 2016-10-31  Simon Fraser  <simon.fraser@apple.com>
3700
3701         Make UIScriptController::zoomToScale() work on Mac WK1 and WK2
3702         https://bugs.webkit.org/show_bug.cgi?id=164238
3703
3704         Reviewed by Dean Jackson.
3705
3706         Implement UIScriptController::zoomToScale() for WTR and DRT on Mac.
3707
3708         * DumpRenderTree/mac/UIScriptControllerMac.mm:
3709         (WTR::UIScriptController::zoomToScale):
3710         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
3711         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
3712         (WTR::UIScriptController::zoomToScale):
3713
3714 2016-10-31  Dewei Zhu  <dewei_zhu@apple.com>
3715
3716         Update twisted version in webkitpy.thirdparty.autoinstalled module.
3717         https://bugs.webkit.org/show_bug.cgi?id=154667
3718
3719         Reviewed by Ryosuke Niwa.
3720
3721         Use twisted_15_5_0 for the twisted module used by run-benchmark because there is a bug in twisted 12.1.0 which sometimes stops the test.
3722         Installing twisted was introduced in https://bugs.webkit.org/show_bug.cgi?id=147082 for run-benchmark script.
3723         Since buildbot relies on twisted 12.1.0 and has not been verified the compatibility on twisted 15.5.0, it would be more secure to use an individual version for run-benchmark script.
3724
3725         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
3726         * Scripts/webkitpy/thirdparty/__init__.py:
3727         (AutoinstallImportHook.find_module):
3728         (AutoinstallImportHook._install_twisted_15_5_0):
3729         (AutoinstallImportHook._install_twisted): Deleted.
3730
3731 2016-10-31  Ryosuke Niwa  <rniwa@webkit.org>
3732
3733         Enable custom elements by default everywhere
3734         https://bugs.webkit.org/show_bug.cgi?id=164242
3735
3736         Reviewed by Antti Koivisto.
3737
3738         Enable custom elements API on every port by default.
3739
3740         * Scripts/webkitperl/FeatureList.pm:
3741
3742 2016-10-31  Nan Wang  <n_wang@apple.com>
3743
3744         AX: aria-sort is not exposed on iOS
3745         https://bugs.webkit.org/show_bug.cgi?id=164245
3746
3747         Reviewed by Chris Fleizach.
3748
3749         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
3750         (AccessibilityUIElement::stringAttributeValue):
3751         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
3752         (WTR::AccessibilityUIElement::stringAttributeValue):
3753
3754 2016-10-31  Simon Fraser  <simon.fraser@apple.com>
3755
3756         Implement IntersectionObserver
3757         https://bugs.webkit.org/show_bug.cgi?id=159475
3758
3759         Reviewed by Ryosuke Niwa.
3760         
3761         Add ENABLE_INTERSECTION_OBSERVER, enabled by default.
3762
3763         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3764
3765 2016-10-31  Ryan Haddad  <ryanhaddad@apple.com>
3766
3767         Unreviewed, rolling out r208154.
3768
3769         This change caused an assertion failure during API tests on
3770         macOS.
3771
3772         Reverted changeset:
3773
3774         "NetworkSession: Network process crash when converting main
3775         resource to download"
3776         https://bugs.webkit.org/show_bug.cgi?id=164220
3777         http://trac.webkit.org/changeset/208154
3778
3779 2016-10-31  Said Abou-Hallawa  <sabouhallawa@apple.com>
3780
3781         Unreviewed, change my status to be a WebKit reviewer
3782
3783         * Scripts/webkitpy/common/config/contributors.json:
3784
3785 2016-10-31  Carlos Garcia Campos  <cgarcia@igalia.com>
3786
3787         NetworkSession: Network process crash when converting main resource to download
3788         https://bugs.webkit.org/show_bug.cgi?id=164220
3789
3790         Reviewed by Alex Christensen.
3791
3792         Split /webkit2/Downloads/policy-decision-download in two, one to test the full load when main resource is
3793         converted to a download and another one to test the cancellation as the test was doing before. When doing the
3794         full load, delay a bit the decide destination to ensure the load is aborted before the data task has became a
3795         download.
3796
3797         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
3798         (testPolicyResponseDownload):
3799         (testPolicyResponseDownloadCancel):
3800         (beforeAll):
3801
3802 2016-10-31  Keith Miller  <keith_miller@apple.com>
3803
3804         Unreviewed, fix watchlist regexp for wasm.
3805
3806         * Scripts/webkitpy/common/config/watchlist:
3807
3808 2016-10-31  Keith Miller  <keith_miller@apple.com>
3809
3810         autogenerated files from wasm.json should be in derived sources.
3811         https://bugs.webkit.org/show_bug.cgi?id=164152
3812
3813         Reviewed by Filip Pizlo.
3814
3815         Add message to make sure that people keep the wasm.jsons up to date.
3816
3817         * Scripts/webkitpy/common/config/watchlist:
3818
3819 2016-10-31  Wenson Hsieh  <wenson_hsieh@apple.com>
3820
3821         Holding down a key to choose an accented character should fire "insertReplacementText" input events
3822         https://bugs.webkit.org/show_bug.cgi?id=164209
3823         <rdar://problem/29019305>
3824
3825         Reviewed by Darin Adler.
3826
3827         Adds test support for inserting replacement text on Mac. This is equivalent to holding down a vowel key (e.g.
3828         'a') to bring up the menu containing accented version of the character, then selecting an accented character to
3829         insert in place of the typed character. This is exposed via UIScriptController.insertText, which takes a string
3830         and an insertion range.
3831
3832         * DumpRenderTree/mac/UIScriptControllerMac.mm:
3833         (WTR::UIScriptController::insertText):
3834         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
3835
3836         Note that there is no callback argument to insertText, since UIScriptController::insertText is synchronous in
3837         the UI process. The tests end when corresponding input events fired as a result of insertText have been received
3838         in the web process. Please see the new layout tests for more detail.
3839
3840         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
3841         (WTR::UIScriptController::insertText):
3842         * TestRunnerShared/UIScriptContext/UIScriptController.h:
3843         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
3844         (WTR::nsStringFromJSString):
3845         (WTR::UIScriptController::insertText):
3846
3847 2016-10-30  Sam Weinig  <sam@webkit.org>
3848
3849         [WebIDL] Restructure IDLParser structs to better match modern WebIDL concepts
3850         https://bugs.webkit.org/show_bug.cgi?id=164208
3851
3852         Reviewed by Darin Adler.
3853
3854         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm:
3855         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
3856         Update for new struct types.
3857
3858 2016-10-29  Darin Adler  <darin@apple.com>
3859
3860         Fix failing ExtendedColor tests.
3861
3862         * TestWebKitAPI/Tests/WebCore/ExtendedColor.cpp:
3863         Changed the tests in two ways: First, use EXPECT_EQ instead of EXPECT_TRUE
3864         for the string equality comparisons. This required including WTFStringUtilities.h.
3865         Second, change expected results to match what the code is currently generating,
3866         so alpha channels are "0.25" rather than "0.25 / 1". I'll let Dean fix both these
3867         tests and the code if these results are incorrect.
3868
3869 2016-10-29  Wenson Hsieh  <wenson_hsieh@apple.com>
3870
3871         UIScriptControllerIOS.mm should not be soft-linking UIKit
3872         https://bugs.webkit.org/show_bug.cgi?id=164171
3873
3874         Reviewed by Darin Adler.
3875
3876         Follow-up to r208090. Instead of soft-linking, we can simply grab UIKeyboardPredictionView by name instead.
3877
3878         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3879         (WTR::UIScriptController::waitForTextPredictionsViewAndSelectCandidateAtIndex):
3880
3881 2016-10-28  Darin Adler  <darin@apple.com>
3882
3883         Move all classes in the HTML directory from ExceptionCode to Exception
3884         https://bugs.webkit.org/show_bug.cgi?id=163876
3885
3886         Reviewed by Sam Weinig.
3887
3888         * TestWebKitAPI/Tests/WebCore/TimeRanges.cpp:
3889         (TestWebKitAPI::ToString): Updated for changes to the TimeRanges class.
3890         (TestWebKitAPI::TEST): Ditto.
3891
3892 2016-10-28  Devin Rousso  <dcrousso+webkit@gmail.com>
3893
3894         Unreviewed, changed Devin Rousso's email and nick.
3895
3896         * Scripts/webkitpy/common/config/contributors.json:
3897
3898 2016-10-28  Wenson Hsieh  <wenson_hsieh@apple.com>
3899
3900         Unreviewed, fix the iOS build after r208090.
3901
3902         Use soft-linking as needed in UIScriptControllerIOS.mm.
3903
3904         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3905         (WTR::UIScriptController::waitForTextPredictionsViewAndSelectCandidateAtIndex):
3906
3907 2016-10-28  Wenson Hsieh  <wenson_hsieh@apple.com>
3908
3909         iOS autocorrection does not trigger an input event of inputType "insertReplacementText"
3910         https://bugs.webkit.org/show_bug.cgi?id=164077
3911         <rdar://problem/28987810>
3912
3913         Reviewed by Simon Fraser.
3914
3915         Adds test support for inserting text candidates on iOS in the form of
3916         UIScriptController.selectTextCandidateAtIndex(index, callback), which selects the text candidate at a given
3917         index (this needs to be a value between 0-2 on iOS) and fires the callback when done.
3918
3919         To implement this, we wait for the text prediction view to have predictions (we determine this by polling at a
3920         given interval) and then tap the center of the text prediction view at the given index.
3921
3922         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
3923         (WTR::UIScriptController::selectTextCandidateAtIndex):
3924         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
3925         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
3926         (WTR::UIScriptController::selectTextCandidateAtIndex):
3927         (WTR::UIScriptController::waitForTextPredictionsViewAndSelectCandidateAtIndex):
3928         * TestRunnerShared/UIScriptContext/UIScriptController.h:
3929         * WebKitTestRunner/ios/UIKitSPI.h:
3930         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3931         (WTR::UIScriptController::selectTextCandidateAtIndex):
3932         (WTR::UIScriptController::waitForTextPredictionsViewAndSelectCandidateAtIndex):
3933
3934 2016-10-28  Commit Queue  <commit-queue@webkit.org>
3935
3936         Unreviewed, rolling out r207700.
3937         https://bugs.webkit.org/show_bug.cgi?id=164168
3938
3939         We are ready after r208086 (Requested by alexchristensen on
3940         #webkit).
3941
3942         Reverted changeset:
3943
3944         "Unreviewed, rolling out r207582."
3945         https://bugs.webkit.org/show_bug.cgi?id=163819
3946         http://trac.webkit.org/changeset/207700
3947
3948 2016-10-28  Alex Christensen  <achristensen@webkit.org>
3949
3950         Partially revert 207805 after resolution in URL spec issue 87
3951         https://bugs.webkit.org/show_bug.cgi?id=164142
3952
3953         Reviewed by Andy Estes.
3954
3955         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3956         (TestWebKitAPI::TEST_F):
3957
3958 2016-10-28  Alex Christensen  <achristensen@webkit.org>
3959
3960         URLParser should not try to interpret host of URLs with unrecognized schemes as IPv4 address
3961         https://bugs.webkit.org/show_bug.cgi?id=164154
3962
3963         Reviewed by Andy Estes.
3964
3965         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3966         (TestWebKitAPI::TEST_F):
3967
3968 2016-10-28  Sam Weinig  <sam@webkit.org>
3969
3970         [WebIDL] Update parser and code generators to only access type information through the type property
3971         https://bugs.webkit.org/show_bug.cgi?id=164141
3972
3973         Reviewed by Anders Carlsson.
3974
3975         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm:
3976         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
3977         Update to always access type information through type accessors. Remove use of removed
3978         properties.
3979
3980 2016-10-28  Frederic Wang  <fwang@igalia.com>
3981
3982         [GTK] Upgrade HarfBuzz to version 1.3.3
3983         https://bugs.webkit.org/show_bug.cgi?id=162719
3984
3985         Reviewed by Michael Catanzaro.
3986
3987         * gtk/jhbuild.modules:
3988
3989 2016-10-27  Chris Dumez  <cdumez@apple.com>
3990
3991         Regression(r203601): Caused crashes in iBooks
3992         https://bugs.webkit.org/show_bug.cgi?id=164093
3993         <rdar://problem/28745634>
3994
3995         Reviewed by Darin Adler.
3996
3997         Add API test coverage.
3998
3999         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
4000         * TestWebKitAPI/Tests/mac/DOMNode.mm: Added.
4001         (-[DOMNodeTest webView:didFinishLoadForFrame:]):
4002         (TestWebKitAPI::TEST):
4003
4004 2016-10-27  Sam Weinig  <sam@webkit.org>
4005
4006         [WebIDL] Move code generators off of domSignature::type and onto domSignature::idlType
4007         https://bugs.webkit.org/show_bug.cgi?id=164089
4008
4009         Reviewed by Alex Christensen.
4010
4011         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm:
4012         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
4013         Update for the removal of domSignature::type, and new signatures of helper predicates.
4014
4015 2016-10-27  Commit Queue  <commit-queue@webkit.org>
4016
4017         Unreviewed, rolling out r207992.
4018         https://bugs.webkit.org/show_bug.cgi?id=164070
4019
4020         triggered aclocal version conflict (Requested by mcatanzaro on
4021         #webkit).
4022
4023         Reverted changeset:
4024
4025         "[GTK] Bump glib to 2.50.1 (or find alternative solution to
4026         Gtk+ CUPS build issue)"
4027         https://bugs.webkit.org/show_bug.cgi?id=163689
4028         http://trac.webkit.org/changeset/207992
4029
4030 2016-10-27  Joanmarie Diggs  <jdiggs@igalia.com>
4031
4032         [GTK] Bump glib to 2.50.1 (or find alternative solution to Gtk+ CUPS build issue)
4033         https://bugs.webkit.org/show_bug.cgi?id=163689
4034
4035         Reviewed by Michael Catanzaro.
4036
4037         In order to fix bug #163591, we need to apply an upstream patch to GTK+.
4038         But GTK+ won't build with that patch due to the following error:
4039
4040             m4_copy: won't overwrite defined macro: glib_DEFUN
4041
4042         There is an upstream GLib patch which solves that issue. We should apply
4043         that patch as well, until we bump GLib to 2.50.1 or later.
4044
4045         * gtk/jhbuild.modules: Apply upstream GLib patch.
4046         * gtk/patches/glib-deprecate-am-glib-gnu-gettext.patch: Added.
4047
4048 2016-10-27  Xabier Rodriguez Calvar  <calvaris@igalia.com>
4049
4050         Unreviewed fix of GTK and EFL test bots.
4051
4052         * Scripts/webkitperl/FeatureList.pm: Deactivated media-source and
4053         legacy-encrypted-media by default for GTK and EFL.
4054
4055 2016-10-26  Yusuke Suzuki  <utatane.tea@gmail.com>
4056
4057         [GTK] JSC test wasm.yaml/wasm/js-api/test_basic_api.js.default-wasm and wasm.yaml/wasm/js-api/test_Module.js.default-wasm fail with Exception: ReferenceError: Can't find variable: WebAssembly
4058         https://bugs.webkit.org/show_bug.cgi?id=163846
4059
4060         Reviewed by Michael Catanzaro.
4061
4062         WebAssembly is now developed for Darwin right now.
4063         Disable WASM tests in the other platforms.
4064
4065         * Scripts/run-jsc-stress-tests:
4066
4067 2016-10-26  Enrique Ocaña González  <eocanha@igalia.com>
4068
4069         [cmake][GStreamer][MSE][EME] Build MSE and EME code after refactoring
4070         https://bugs.webkit.org/show_bug.cgi?id=162928
4071
4072         Reviewed by Xabier Rodriguez-Calvar.
4073
4074         Explicitly enable MSE and EME on WebKitGTK+ buildbots.
4075
4076         This patch is co-authored with Philippe Normand <philn@igalia.com> (EME support).
4077
4078         * Scripts/webkitperl/FeatureList.pm:
4079
4080 2016-10-25  Antoine Quint  <graouts@apple.com>
4081
4082         [Modern Media Controls] Media Controller: skip back support
4083         https://bugs.webkit.org/show_bug.cgi?id=163725
4084         <rdar://problem/27989480>
4085
4086         Reviewed by Dean Jackson.
4087
4088         * Scripts/webkitpy/layout_tests/servers/aliases.json: Adding a new alias such that we may
4089         access the modern-media-controls source files through the web server.
4090
4091 2016-10-19  Jer Noble  <jer.noble@apple.com>
4092
4093         Add WKWebView fullscreen delegate SPI
4094         https://bugs.webkit.org/show_bug.cgi?id=163674
4095
4096         Reviewed by Anders Carlsson.
4097
4098         Add a new API test which verifies that the fullscreen delegate receives notifications.
4099
4100         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenDelegate.mm:
4101         (-[FullscreenDelegateMessageHandler userContentController:didReceiveScriptMessage:]):
4102         (-[FullscreenDelegateMessageHandler _webViewWillEnterFullscreen:]):
4103         (-[FullscreenDelegateMessageHandler _webViewDidEnterFullscreen:]):
4104         (-[FullscreenDelegateMessageHandler _webViewWillExitFullscreen:]):
4105         (-[FullscreenDelegateMessageHandler _webViewDidExitFullscreen:]):
4106         (TestWebKitAPI::TEST):
4107
4108 2016-10-24  Alex Christensen  <achristensen@webkit.org>
4109
4110         URLParser should match old URL::parse with %2E in path
4111         https://bugs.webkit.org/show_bug.cgi?id=163929
4112
4113         Reviewed by Alexey Proskuryakov.
4114
4115         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4116         (TestWebKitAPI::TEST_F):
4117
4118 2016-10-24  Ryan Haddad  <ryanhaddad@apple.com>
4119
4120         Unreviewed, rolling out r207795.
4121
4122         Introduced API test failures on iOS and macOS.
4123
4124         Reverted changeset:
4125
4126         "URLParser should match old URL::parse with %2E in path"
4127         https://bugs.webkit.org/show_bug.cgi?id=163929
4128         http://trac.webkit.org/changeset/207795
4129
4130 2016-10-24  Alex Christensen  <achristensen@webkit.org>
4131
4132         URLParser should match old URL::parse with %2E in path
4133         https://bugs.webkit.org/show_bug.cgi?id=163929
4134
4135         Reviewed by Alexey Proskuryakov.
4136
4137         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4138         (TestWebKitAPI::TEST_F):
4139
4140 2016-10-21  Alex Christensen  <achristensen@webkit.org>
4141
4142         URL::port should return Optional<uint16_t>
4143         https://bugs.webkit.org/show_bug.cgi?id=163806
4144
4145         Reviewed by Darin Adler.
4146
4147         * TestWebKitAPI/Tests/WebCore/URL.cpp:
4148         (TestWebKitAPI::TEST_F):
4149         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
4150         (TestWebKitAPI::checkURL):
4151         (TestWebKitAPI::checkRelativeURL):
4152         (TestWebKitAPI::checkURLDifferences):
4153         (TestWebKitAPI::checkRelativeURLDifferences):
4154         (TestWebKitAPI::TEST_F):
4155
4156 2016-10-24  Youenn Fablet  <youenn@apple.com>
4157
4158         Activate WEB_RTC compilation flags for Mac bots
4159         https://bugs.webkit.org/show_bug.cgi?id=163886
4160
4161         Reviewed by Eric Carlson.
4162
4163         * Scripts/webkitperl/FeatureList.pm:
4164         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
4165
4166 2016-10-24  Wenson Hsieh  <wenson_hsieh@apple.com>
4167
4168         Unreviewed, add myself as a WebKit reviewer
4169
4170         * Scripts/webkitpy/common/config/contributors.json:
4171
4172 2016-10-22  Dan Bernstein  <mitz@apple.com>
4173
4174         Improve MiniBrowser window titles for URLs without paths and with no title
4175         <https://webkit.org/b/163843>
4176
4177         Reviewed by Darin Adler.
4178
4179         * MiniBrowser/mac/WK1BrowserWindowController.m:
4180         (-[WK1BrowserWindowController fetch:]): While we’re here, deploy
4181           +[NSURL _webkit_URLWithUserTypedString:] here to match the WK2BrowserWindowController
4182           version of this method.
4183         (-[WK1BrowserWindowController updateTitle:]): If the URL doesn’t have a lastPathComponent,
4184           use the entire URL.
4185         (-[WK1BrowserWindowController webView:didCommitLoadForFrame:]): Also while we’re here,
4186           deploy +[NSURL _web_userVisibleString] here to match the WK2BrowserWindowController
4187           behavior.
4188
4189         * MiniBrowser/mac/WK2BrowserWindowController.m:
4190         (-[WK2BrowserWindowController updateTitle:]): If the URL doesn’t have a lastPathComponent,
4191           use the entire URL.
4192
4193 2016-10-21  David Kilzer  <ddkilzer@apple.com>
4194
4195         Bug 163762: IntSize::area() should used checked arithmetic
4196         <https://webkit.org/b/163762>
4197
4198         Reviewed by Darin Adler.
4199
4200         * TestWebKitAPI/Tests/WebCore/IntRect.cpp:
4201         (TestWebKitAPI::TEST): Call unsafeGet().
4202         * TestWebKitAPI/Tests/WebCore/IntSize.cpp:
4203         (TestWebKitAPI::TEST): Ditto.
4204
4205 2016-10-21  James Craig  <jcraig@apple.com>
4206
4207         Unreviewed: Added Aaron Chu <aaron_chu@apple.com> to contributors list.
4208
4209         * Scripts/webkitpy/common/config/contributors.json:
4210
4211 2016-10-21  Commit Queue  <commit-queue@webkit.org>
4212
4213         Unreviewed, rolling out r207582.
4214         https://bugs.webkit.org/show_bug.cgi?id=163819
4215
4216         Not quite ready rdar://problem/28897179 (Requested by
4217         alexchristensen on #webkit).
4218
4219         Reverted changeset:
4220
4221         "Re-enable URLParser for non-Safari Cocoa apps after r207321"
4222         https://bugs.webkit.org/show_bug.cgi?id=163690
4223         http://trac.webkit.org/changeset/207582
4224
4225 2016-10-21  Jonathan Bedard  <jbedard@apple.com>
4226
4227         WebKitTestRunnerApp packages .idl file
4228         https://bugs.webkit.org/show_bug.cgi?id=163788
4229
4230         Reviewed by Darin Adler.
4231
4232         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Removed .idl file from app package, removed bad reference to app icon.
4233
4234 2016-10-21  Csaba Osztrogonác  <ossy@webkit.org>
4235
4236         [EFL] REGRESSION(r207616): Build is broken due to missing libgeoclue-dev package
4237         https://bugs.webkit.org/show_bug.cgi?id=163733
4238
4239         Reviewed by Gyuyoung Kim.
4240
4241         * efl/install-dependencies: Added geoclue-2.0 package.
4242
4243 2016-10-21  Commit Queue  <commit-queue@webkit.org>
4244
4245         Unreviewed, rolling out r207609.
4246         https://bugs.webkit.org/show_bug.cgi?id=163776
4247
4248         As glib bump was rollout, we need to rollout this too
4249         (Requested by rego on #webkit).
4250
4251         Reverted changeset:
4252
4253         "[GTK] Cannot build GTK+ with CUPS 2.* versions"