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