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