AX: Implement paragraph related text marker functions using TextIterator
[WebKit-https.git] / Tools / ChangeLog
1 2016-02-12  Nan Wang  <n_wang@apple.com>
2
3         AX: Implement paragraph related text marker functions using TextIterator
4         https://bugs.webkit.org/show_bug.cgi?id=154098
5         <rdar://problem/24269675>
6
7         Reviewed by Chris Fleizach.
8
9         * DumpRenderTree/AccessibilityUIElement.cpp:
10         (nextWordEndTextMarkerForTextMarkerCallback):
11         (paragraphTextMarkerRangeForTextMarkerCallback):
12         (previousParagraphStartTextMarkerForTextMarkerCallback):
13         (nextParagraphEndTextMarkerForTextMarkerCallback):
14         (setSelectedVisibleTextRangeCallback):
15         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
16         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
17         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
18         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
19         (AccessibilityUIElement::getJSClass):
20         * DumpRenderTree/AccessibilityUIElement.h:
21         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
22         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
23         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
24         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
25         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
26         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
27         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
28         (AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
29         (AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
30         (AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
31         (AccessibilityUIElement::supportedActions):
32         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
33         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
34         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
35         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
36         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
37         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
38         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
39         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
40         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
41         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
42         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
43         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
44         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
45         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
46         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
47         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
48         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
49         (WTR::AccessibilityUIElement::paragraphTextMarkerRangeForTextMarker):
50         (WTR::AccessibilityUIElement::previousParagraphStartTextMarkerForTextMarker):
51         (WTR::AccessibilityUIElement::nextParagraphEndTextMarkerForTextMarker):
52         (WTR::_convertMathMultiscriptPairsToString):
53
54 2016-02-12  Jason Marcell  <jmarcell@apple.com>
55
56         Open source bot watcher's dashboard fails assertion in BuildbotQueue.prototype.compareIterationsByRevisions
57         https://bugs.webkit.org/show_bug.cgi?id=154180
58
59         Reviewed by Alexey Proskuryakov.
60
61         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js: Remove reference to Internal
62         repository.
63
64 2016-02-12  Jer Noble  <jer.noble@apple.com>
65
66         [Mac] Adopt MediaResourceLoader (instead of CachedResourceLoader) in WebCoreNSURLSession.
67         https://bugs.webkit.org/show_bug.cgi?id=154136
68
69         Reviewed by Alex Christensen.
70
71         Use a MediaResourceLoader instead of a CachedResourceLoader for WebCoreNSURLSession.
72
73         Drive-by fix: generate USE and ENABLE macros for TestWebKitAPI by adding FEATURE_DEFINES
74         to GCC_PREPROCESSOR_DEFINES.
75
76         * TestWebKitAPI/Configurations/Base.xcconfig:
77         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
78         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
79         (TestWebKitAPI::WebCoreNSURLSessionTest::TearDown):
80         (TestWebKitAPI::TEST_F):
81
82 2016-02-11  Dana Burkart  <dburkart@apple.com>
83
84         Large logs can bring down the webkit master
85         https://bugs.webkit.org/show_bug.cgi?id=122112
86
87         Reviewed by Lucas Forschler.
88
89         Implement the suggested fix of throwing away stdout / stderr.
90
91         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
92         (RunWebKit1LeakTests):
93
94 2016-02-10  Jason Marcell  <jmarcell@apple.com>
95
96         Remove calls to parseInt in order to work with non-integer revisions
97         https://bugs.webkit.org/show_bug.cgi?id=153820
98
99         Reviewed by Daniel Bates.
100
101         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
102         (BuildbotIteration.prototype.sourceStampChanges): Remove calls to parseInt in order to work with non-integer
103         revisions.
104         (BuildbotIteration.prototype._parseData): Ditto.
105         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
106         (BuildbotQueue.prototype.update): Ditto.
107         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js:
108         (MockBuildbotQueueView.prototype._latestProductiveIteration): Change integers to strings in test code.
109         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
110         (MockTrac.prototype.get oldestRecordedRevisionNumber): Ditto.
111         (MockTrac.prototype.get latestRecordedRevisionNumber): Ditto.
112         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Ditto.
113
114 2016-02-10  Jason Marcell  <jmarcell@apple.com>
115
116         Teach dashboard code to compare non-integer revisions
117         https://bugs.webkit.org/show_bug.cgi?id=152345
118
119         Reviewed by Daniel Bates.
120
121         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
122         (BuildbotQueue.prototype.compareIterationsByRevisions): Compare non-integer revisions.
123         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
124         (BuildbotQueueView.prototype._appendPendingRevisionCount): Use Trac.indexOfRevision in order to compare non-integer
125         revisions. Also uses new Trac.commitsOnBranchLaterThanRevision method.
126         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Ditto.
127         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Use Trac.indexOfRevision in order to compare non-integer
128         revisions. Also uses new Trac.nextRevision method to calculate a revision range.
129         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
130         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
131         (Trac.prototype._commitsOnBranch): Renamed this to indicate that it should be a private method used by the latter two new
132         methods.
133         (Trac.prototype.commitsOnBranchLaterThanRevision): Finds revisions on a branch later than the specified revision.
134         (Trac.prototype.commitsOnBranchInRevisionRange): Finds revisions on a branch within a specified range.
135         (Trac.prototype.nextRevision): Finds the next revision after a given revision on a specific branch.
136         (Trac.prototype.indexOfRevision): Finds the index of a given revision within the recordedCommits array.
137         (Trac.prototype.commitsOnBranch): Deleted. Renamed to _commitsOnBranch.
138         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests.
139
140 2016-02-09  Nan Wang  <n_wang@apple.com>
141
142         AX: Implement word related text marker functions using TextIterator
143         https://bugs.webkit.org/show_bug.cgi?id=153939
144         <rdar://problem/24269605>
145
146         Reviewed by Chris Fleizach.
147
148         * DumpRenderTree/AccessibilityUIElement.cpp:
149         (endTextMarkerCallback):
150         (leftWordTextMarkerRangeForTextMarkerCallback):
151         (rightWordTextMarkerRangeForTextMarkerCallback):
152         (previousWordStartTextMarkerForTextMarkerCallback):
153         (nextWordEndTextMarkerForTextMarkerCallback):
154         (setSelectedVisibleTextRangeCallback):
155         (AccessibilityUIElement::setSelectedVisibleTextRange):
156         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
157         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
158         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
159         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
160         (AccessibilityUIElement::getJSClass):
161         * DumpRenderTree/AccessibilityUIElement.h:
162         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
163         (AccessibilityUIElement::setSelectedVisibleTextRange):
164         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
165         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
166         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
167         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
168         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
169         (AccessibilityUIElement::setSelectedVisibleTextRange):
170         (AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
171         (AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
172         (AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
173         (AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
174         (AccessibilityUIElement::supportedActions):
175         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
176         (WTR::AccessibilityUIElement::setBoolAttributeValue):
177         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
178         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
179         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
180         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
181         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
182         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
183         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
184         (WTR::AccessibilityUIElement::endTextMarker):
185         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
186         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
187         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
188         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
189         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
190         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
191         (WTR::AccessibilityUIElement::endTextMarker):
192         (WTR::AccessibilityUIElement::leftWordTextMarkerRangeForTextMarker):
193         (WTR::AccessibilityUIElement::rightWordTextMarkerRangeForTextMarker):
194         (WTR::AccessibilityUIElement::previousWordStartTextMarkerForTextMarker):
195         (WTR::AccessibilityUIElement::nextWordEndTextMarkerForTextMarker):
196         (WTR::_convertMathMultiscriptPairsToString):
197
198 2016-02-09  Csaba Osztrogonác  <ossy@webkit.org>
199
200         [EFL] Remove eail related cruft after r195725
201         https://bugs.webkit.org/show_bug.cgi?id=154030
202
203         Reviewed by Alex Christensen.
204
205         * efl/jhbuildrc:
206
207 2016-02-09  Csaba Osztrogonác  <ossy@webkit.org>
208
209         [EFL] Remove LLVM related cruft after r196077
210         https://bugs.webkit.org/show_bug.cgi?id=154031
211
212         Reviewed by Alex Christensen.
213
214         * efl/jhbuild.modules:
215         * efl/patches/llvm-elf-add-stackmaps-arm64.patch: Removed.
216         * efl/patches/llvm-elf-allow-fde-references-outside-the-2gb-range-arm64.patch: Removed.
217         * efl/patches/llvm-version-arm64.patch: Removed.
218
219 2016-02-05  Aakash Jain  <aakash_jain@apple.com>
220
221         tests fail if display sleeps while run-webkit-tests is running
222         https://bugs.webkit.org/show_bug.cgi?id=153919
223
224         Reviewed by Alexey Proskuryakov.
225
226         * DumpRenderTree/mac/LayoutTestHelper.m:
227         (addDisplaySleepAssertion): Add the assertion so that the display doesn't turn off.
228         (releaseDisplaySleepAssertion): Release the DisplaySleep Assertion.
229         (simpleSignalHandler): Release the DisplaySleepAssertion in case of any iterrupt.
230
231 2016-02-05  Alex Christensen  <achristensen@webkit.org>
232
233         Fix iOS API tests after r196082
234         https://bugs.webkit.org/show_bug.cgi?id=153900
235
236         Reviewed by Jer Noble.
237
238         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
239         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
240         [WebView initialize] doesn't call JSC::initializeThreading on iOS.
241
242 2016-02-04  Jason Marcell  <jmarcell@apple.com>
243
244         The status message for passing combined builder queues should say "all builds succeeded" when expanded.
245         https://bugs.webkit.org/show_bug.cgi?id=153882
246
247         Reviewed by Alexey Proskuryakov.
248
249         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
250         (BuildbotCombinedQueueView.prototype.update): Set status to "all builds succeeded" for combined builder queues
251         when expanded.
252
253 2016-02-03  Filip Pizlo  <fpizlo@apple.com>
254
255         run-jsc-stress-tests should be better at telling you details about test failures
256         https://bugs.webkit.org/show_bug.cgi?id=153845
257
258         Reviewed by Geoffrey Garen.
259
260         Here's an example of the contents of results/resultsByFamily, one of the new files that this
261         generates, for some local testing I'm doing.  Notice how it groups families of tests together.
262
263         You won't see this unless you cat results/resultsByFamily.
264
265         regress.yaml/Regress/radar-24289839.js:
266             regress.yaml/Regress/radar-24289839.js.default: PASS
267             regress.yaml/Regress/radar-24289839.js.ftl: PASS
268             regress.yaml/Regress/radar-24289839.js.ftl-no-cjit: FAIL
269             regress.yaml/Regress/radar-24289839.js.ftl-eager-no-cjit: FAIL
270         
271         regress.yaml/Regress/radar-24290639.js:
272             regress.yaml/Regress/radar-24290639.js.default: PASS
273             regress.yaml/Regress/radar-24290639.js.ftl: PASS
274             regress.yaml/Regress/radar-24290639.js.ftl-no-cjit: PASS
275             regress.yaml/Regress/radar-24290639.js.ftl-eager-no-cjit: FAIL
276         
277         regress.yaml/Regress/radar-24290670.js: FAILED
278         
279         * Scripts/run-jsc-stress-tests:
280
281 2016-02-03  Carlos Garcia Campos  <cgarcia@igalia.com>
282
283         [WTR] Crash in EventSendingController::contextClick() when context menu event is not handled
284         https://bugs.webkit.org/show_bug.cgi?id=153835
285
286         Reviewed by Martin Robinson.
287
288         WKBundlePageCopyContextMenuAtPointInWindow() returns nullptr when
289         the context menu event is not handled, but we are using the
290         returned value without null checking it.
291
292         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
293         (WTR::EventSendingController::contextClick):
294
295 2016-02-03  Jason Marcell  <jmarcell@apple.com>
296
297         Format revisions for display according to repository type
298         https://bugs.webkit.org/show_bug.cgi?id=153818
299
300         Reviewed by Alexey Proskuryakov.
301
302         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
303         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Use new _formatRevisionForDisplay to display revisions according
304         to repository type.
305         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
306         (BuildbotQueueView.prototype._formatRevisionForDisplay): Formats revisions for display according to repository type.
307         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests to test new
308         _formatRevisionForDisplay function.
309
310 2016-02-03  Aakash Jain  <aakash_jain@apple.com>
311
312         Logs/CoreSimulator filling up OS disk on WebKit testers
313         https://bugs.webkit.org/show_bug.cgi?id=153853
314         <rdar://problem/24496003>
315
316         Reviewed by Alexey Proskuryakov.
317
318         * Scripts/webkitpy/port/ios.py:
319         (IOSSimulatorPort.clean_up_test_run): Delete Logs during cleanup.
320
321 2016-02-03  Brian Burg  <bburg@apple.com>
322
323         git-add-reviewer should work when run from a subdirectory within the repository
324         https://bugs.webkit.org/show_bug.cgi?id=153842
325
326         Reviewed by David Kilzer.
327
328         There are two problems that needed to be fixed:
329
330          - We can't assume .git is in $PWD/.git
331          - We can't specify absolute paths to `git commit`
332
333         Fix these problems using the helpers in VCSUtils that were added to
334         fix this same issue for prepare-changeCogs.
335
336         * Scripts/VCSUtils.pm: Export gitDirectory()
337         * Scripts/git-add-reviewer:
338         (nonInteractive): Cache gitDirectory() result.
339         (addReviewer):
340         (commit):
341         (changeLogsForCommit): Make paths relative.
342
343 2016-02-03  Jer Noble  <jer.noble@apple.com>
344
345         Yet another Yosemite build fix.
346
347         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
348
349 2016-02-03  Jer Noble  <jer.noble@apple.com>
350
351         iOS build fix after Yosemite build fix broke iOS build.
352
353         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
354
355 2016-02-03  Jer Noble  <jer.noble@apple.com>
356
357         Yosemite build fix; hide the entire WebCoreNSURLSessionDataTask class from Yosemite and prior.
358
359         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
360
361 2016-02-03  Joonghun Park  <jh718.park@samsung.com>
362
363         [Tools] Remove $additionalCMakeArgs variable because without this variable --cmakeargs options works well
364         https://bugs.webkit.org/show_bug.cgi?id=153827
365
366         Reviewed by Michael Catanzaro.
367
368         When an array is passed to subroutines as argument in perl,
369         a list containing its element is returned from the array.
370         Currently @$ arguments are being passed, then it is going to be one list
371         including all the elements not only from @ but also from $.
372         As a result, --cmakeargs option's value is included in @cmakeArgs
373         at generateBuildSystemFromCMakeProject subroutine,
374         so $additionalCMakeArgs doesn't needed anymore.
375
376         * Scripts/webkitdirs.pm:
377         (generateBuildSystemFromCMakeProject):
378
379 2016-02-03  Jer Noble  <jer.noble@apple.com>
380
381         [Mac] Wrap a resource and resource loader in a NSURLSession-like object for use by lower level frameworks
382         https://bugs.webkit.org/show_bug.cgi?id=153669
383
384         Reviewed by Alex Christensen.
385
386         Add an API test for WebCoreNSURLSession, testing that it behaves like a regulare NSURLSession, including
387         calling appropriate NSURLSessionDelegate callbacks.
388
389         Drive-by fix: Add a FeatureDefines.xcconfig to TestWebKitAPI.  Without this, the ENABLE macros in WebCore
390         header files will not match the one used when compiling WebCore, leading to strange crashes and weird
391         inconsistencies when calling, e.g., inline methods.
392
393         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Added.
394         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
395         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
396         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm: Added.
397         (-[TestNSURLSessionLoaderDelegate webView:didCommitLoadForFrame:]):
398         (-[TestNSURLSessionDataDelegate URLSession:task:didCompleteWithError:]):
399         (-[TestNSURLSessionDataDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]):
400         (-[TestNSURLSessionDataDelegate URLSession:dataTask:didReceiveData:]):
401         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
402         (TestWebKitAPI::WebCoreNSURLSessionTest::TearDown):
403         (TestWebKitAPI::TEST_F):
404
405 2016-02-03  Konstantin Tokarev  <annulen@yandex.ru>
406
407         [webkitdirs] Clarify logic behind is{PortName} functions.
408         https://bugs.webkit.org/show_bug.cgi?id=153554
409
410         Reviewed by Michael Catanzaro.
411
412         * Scripts/webkitdirs.pm:
413         (prohibitUnknownPort): This function makes determinePortName()
414         failure fatal.
415         (determinePortName): Added new function which decides which port are
416         we building based on command line switches and platform defaults.
417         (portName): Added getter for determined $portName.
418         (isEfl): Modified to use portName().
419         (isGtk): Ditto.
420         (isWinCairo): Ditto.
421         (isAppleMacWebKit): Ditto.
422         (isAppleWinWebKit): Ditto.
423         (isIOSWebKit): Ditto.
424         (cmakeBasedPortName): Return portName() with capitalized first letter.
425         (determineIsEfl): Deleted.
426         (determineIsGtk): Deleted.
427         (determineIsWinCairo): Deleted.
428
429         * Scripts/build-jsc: Call prohibitUnknownPort().
430         * Scripts/run-minibrowser: Ditto.
431         * Scripts/webkitperl/FeatureList.pm: Ditto.
432         * Scripts/update-webkit: Call determinePortName() instead of
433         determineIsWinCairo().
434
435 2016-02-02  Dan Bernstein  <mitz@apple.com>
436
437         Better fix for Layout Test fast/parser/external-entities-in-xslt.xml is flaky on El Capitan (but fails most of the time)
438         https://bugs.webkit.org/show_bug.cgi?id=153683
439
440         Reviewed by Darin Adler.
441
442         * Scripts/webkitpy/port/driver.py:
443         (Driver._setup_environ_for_driver): Reverted change from r196013. DUMPRENDERTREE_TEMP is not
444           used by any code in the Web Content process. If that ever changed, we should send it over
445           as a bundle parameter.
446
447         * Scripts/webkitpy/port/ios.py:
448         (IOSSimulatorPort.setup_environ_for_server): Reverted change from r196013.
449
450         * Scripts/webkitpy/port/mac.py:
451         (MacPort.setup_environ_for_server): Ditto.
452
453         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
454         (WTR::InjectedBundle::platformInitialize): Set XML_CATALOG_FILES in the Web Process
455           environment. This is early enough that libxml2 has not been initialized yet.
456
457         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
458         (WTR::InjectedBundle::platformInitialize): Ditto.
459
460 2016-02-02  Dan Bernstein  <mitz@apple.com>
461
462         Layout Test fast/parser/external-entities-in-xslt.xml is flaky on El Capitan (but fails most of the time)
463         https://bugs.webkit.org/show_bug.cgi?id=153683
464
465         Reviewed by Alexey Proskuryakov.
466
467         Ensure that XML_CATALOG_FILES is set in the Web Content service’s environment as well.
468
469         * Scripts/webkitpy/port/driver.py:
470         (Driver._setup_environ_for_driver): Also set __XPC_DUMPRENDERTREE_TEMP.
471         * Scripts/webkitpy/port/ios.py:
472         (IOSSimulatorPort.setup_environ_for_server): Set __XPC_XML_CATALOG_FILES.
473         * Scripts/webkitpy/port/mac.py:
474         (MacPort.setup_environ_for_server): Ditto.
475
476 2016-01-29 Grzegorz Czajkowski  <g.czajkowski@samsung.com>
477
478         [EFL] Virtual Keyboard overlaps MiniBrowser's WebView
479         https://bugs.webkit.org/show_bug.cgi?id=153009
480
481         Reviewed by Gyuyoung Kim.
482
483         On mobile, virtual keyboard represented by ecore_imf module appears on
484         the top of application layer usually covering bottom part of the screen.
485         If the web page contains the editable content on the bottom of the page
486         it will be overlapped by keyboard which prevents user from seeing the
487         typed text.
488
489         Pack MiniBrowser layout into conformant widget to allow EFL to guess
490         the space that will be required by the keyboard, finally resizing it
491         to the desired size. As a result, webview gets resized and scrolled
492         into focused elements which makes the editable elements visible while
493         typing.
494
495         More details about elm_conformant widger can be found at:
496         https://docs.enlightenment.org/elementary/1.15.0/group__Conformant.html
497         https://docs.enlightenment.org/elementary/1.15.0/conformant_example.html
498
499         * MiniBrowser/efl/main.c:
500         (window_create): pack a box into conformant widget.
501
502 2016-02-02  Alejandro G. Castro  <alex@igalia.com>
503
504         [GTK][EFL] Upgrade OpenWebRTC dependency
505         https://bugs.webkit.org/show_bug.cgi?id=153489
506
507         Reviewed by Philippe Normand.
508
509         * Scripts/run-gtk-tests:
510         (TestRunner): Avoid running the mediastream API test.
511         * Scripts/webkitperl/FeatureList.pm: Stop compiling mediastream by
512         default for gtk and efl.
513         * gtk/jhbuild-webrtc.modules: Added modules files with
514         dependencies required to compile and test the mediastream.
515
516 2016-02-01  Jason Marcell  <jmarcell@apple.com>
517
518         Add code to parse the git branches out of the Trac RSS feed
519         https://bugs.webkit.org/show_bug.cgi?id=153624
520
521         Reviewed by Daniel Bates.
522
523         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
524         (Trac.prototype.commitsOnBranch): Update filter to check for Git branches.
525         (Trac.prototype._convertCommitInfoElementToObject): Parse Git branches from the Trac RSS feed. Also changed "branchName" to
526         "branches" and updated the code to work with an array instead of a string.
527         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
528         (MockTrac): Refactored example commits out into a constant, MockTrac.EXAMPLE_TRAC_COMMITS.
529         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-git-trac-rss.xml: Added. Test
530         fixture that contains XML with a Git branch.
531         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit test to test parsing Git
532         branches from Trac RSS feed. Also updated code to work with the new MockTrac.EXAMPLE_TRAC_COMMITS constant.
533
534 2016-02-01  Brady Eidson  <beidson@apple.com>
535
536         Add command line flag to DRT to output the number of tests completed in server mode.
537         https://bugs.webkit.org/show_bug.cgi?id=153750
538
539         Reviewed by Darin Adler.
540
541         * DumpRenderTree/mac/DumpRenderTree.mm:
542         (initializeGlobalsFromCommandLineOptions):
543         (runTestingServerLoop):
544
545 2016-02-01  Jason Marcell  <jmarcell@apple.com>
546
547         Improvements to botwatcher's dashboard unit tests.
548         https://bugs.webkit.org/show_bug.cgi?id=153621
549
550         Reviewed by Darin Adler.
551
552         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/PopoverTracker.js:
553         (PopoverTracker): Retain a reference to the PopoverTracker so that we can make assertions about it in the unit tests.
554         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
555         (MockTrac): Changing revision 33019 to be on a different branch so that _appendPendingRevisionCount and
556         _popoverLinesForCommitRange have to traverse commits from different branches.
557         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Changing equal to strictEqual
558         in unit test for _appendPendingRevisionCount. Also added assertions for Popover in test for
559         _revisionContentWithPopoverForIteration.
560
561 2016-02-01  Jason Marcell  <jmarcell@apple.com>
562
563         Refactor to add event listeners and start periodic updates for all trac instances.
564         https://bugs.webkit.org/show_bug.cgi?id=153609
565
566         Reviewed by Darin Adler.
567
568         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
569         (BuildbotQueueView): Adding event listeners for all trac instances.
570         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Starting periodic updates
571         for all trac instances.
572
573 2016-01-31  Darin Adler  <darin@apple.com>
574
575         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
576         https://bugs.webkit.org/show_bug.cgi?id=153639
577
578         Reviewed by Filip Pizlo.
579
580         * Scripts/do-webcore-rename: Use script to do this rename.
581
582 2016-01-30  Commit Queue  <commit-queue@webkit.org>
583
584         Unreviewed, rolling out r195911.
585         https://bugs.webkit.org/show_bug.cgi?id=153723
586
587         Caused frequent assertion failures on bots (Requested by ap on
588         #webkit).
589
590         Reverted changeset:
591
592         "Replace CaseFoldingHash with ASCIICaseInsensitiveHash"
593         https://bugs.webkit.org/show_bug.cgi?id=153639
594         http://trac.webkit.org/changeset/195911
595
596 2016-01-30  Darin Adler  <darin@apple.com>
597
598         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
599         https://bugs.webkit.org/show_bug.cgi?id=153639
600
601         Reviewed by Filip Pizlo.
602
603         * Scripts/do-webcore-rename: Use script to do this rename.
604
605 2016-01-30  Ryosuke Niwa  <rniwa@webkit.org>
606
607         TouchList should be retargeted
608         https://bugs.webkit.org/show_bug.cgi?id=149592
609
610         Reviewed by Antti Koivisto.
611
612         Added touchDownAtPoint and liftUpAtPoint to UIScriptController so that we can test touch events with
613         multiple touch targets on iOS. fast/shadow-dom/touch-event-ios.html uses this new testing feature.
614
615         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
616         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
617         (WTR::UIScriptController::touchDownAtPoint): Added.
618         (WTR::UIScriptController::liftUpAtPoint): Added.
619         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
620         * WebKitTestRunner/ios/HIDEventGenerator.h:
621         * WebKitTestRunner/ios/HIDEventGenerator.mm:
622         (-[HIDEventGenerator touchDown:touchCount:completionBlock:]): Added. Sends touch down and waits.
623         (-[HIDEventGenerator liftUp:touchCount:completionBlock:]): Ditto for lift up.
624         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
625         (WTR::UIScriptController::touchDownAtPoint): Added.
626         (WTR::UIScriptController::liftUpAtPoint): Added.
627
628 2016-01-30  Yusuke Suzuki  <utatane.tea@gmail.com>
629
630         Enable SamplingProfiler on POSIX environment
631         https://bugs.webkit.org/show_bug.cgi?id=153584
632
633         Reviewed by Michael Saboff.
634
635         * Scripts/run-jsc-stress-tests:
636
637 2016-01-29  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
638
639         update-webkit-dependency fails to fetch updates through firewall on Windows
640         https://bugs.webkit.org/show_bug.cgi?id=153619
641
642         Reviewed by Myles C. Maxfield.
643
644         On Windows, when a firewall is present we need to read proxy settings
645         from environment variables.
646
647         This patch relies on the following environment variables being set:
648         HTTP_PROXY
649         HTTPS_PROXY
650
651         * Scripts/update-webkit-dependency:
652
653 2016-01-28  Dan Bernstein  <mitz@apple.com>
654
655         [Cocoa] Use the non-Development variants of XPC services for development
656         https://bugs.webkit.org/show_bug.cgi?id=152545
657
658         Reviewed by Darin Adler.
659
660         * Scripts/webkitdirs.pm:
661         (setUpGuardMallocIfNeeded): Ensure that libgmalloc is loaded into XPC services as well.
662
663         * Scripts/webkitpy/port/driver.py:
664         (Driver._setup_environ_for_driver): Ensure that the DYLD_LIBRARY_PATH and ASAN_OPTIONS are
665           set in the XPC services as well.
666
667         * Scripts/webkitpy/port/ios.py:
668         (IOSSimulatorPort.setup_environ_for_server): Ensure that malloc stack logging for leaks and
669           Guard Malloc are enabled in XPC services as well.
670
671         * Scripts/webkitpy/port/mac.py:
672         (MacPort.setup_environ_for_server): Ditto.
673
674 2016-01-28  Csaba Osztrogonác  <ossy@webkit.org>
675
676         Unreviewed buildfix after r195743.
677
678         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
679         (WTR::AccessibilityUIElement::isPressActionSupported):
680
681 2016-01-12  Jer Noble  <jer.noble@apple.com>
682
683         Custom protocol loading through AVFoundation does not support byte-range requests.
684         https://bugs.webkit.org/show_bug.cgi?id=152919
685         <rdar://problem/23664657>
686
687         Reviewed by Alex Christensen.
688
689         Add tests for new ParsedContntRange class.
690
691         * TestWebKitAPI/PlatformWin.cmake:
692         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
693         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
694         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
695         * TestWebKitAPI/Tests/WebCore/ParsedContentRange.cpp: Added.
696         (TestWebKitAPI::TEST):
697
698 2016-01-28  Konstantin Tokarev  <annulen@yandex.ru>
699
700         Use isAnyWindows() instead of isCygwin() || isWindows() in Perl scripts.
701         https://bugs.webkit.org/show_bug.cgi?id=153594
702
703         Reviewed by Alex Christensen.
704
705         * Scripts/webkitdirs.pm:
706         (determineNumberOfCPUs):
707         (jscPath):
708         (checkFrameworks):
709         (setupCygwinEnv):
710         (wrapperPrefixIfNeeded):
711         (cmakeGeneratedBuildfile):
712         (generateBuildSystemFromCMakeProject):
713         * Scripts/webkitperl/features.pm:
714         (libraryContainsSymbol):
715
716 2016-01-28  Chris Dumez  <cdumez@apple.com>
717
718         Unreviewed, rolling out r195742.
719
720         Broke EWS
721
722         Reverted changeset:
723
724         "[webkitdirs] Clarify logic behind is{PortName} functions."
725         https://bugs.webkit.org/show_bug.cgi?id=153554
726         http://trac.webkit.org/changeset/195742
727
728 2016-01-28  Darin Adler  <darin@apple.com>
729
730         Remove equalIgnoringCase since all callers really wanted equalIgnoringASCIICase
731         https://bugs.webkit.org/show_bug.cgi?id=153411
732
733         Reviewed by Ryosuke Niwa.
734
735         * Scripts/do-webcore-rename: Removed rename of equalIgnoringCase since we
736         have removed the function instead.
737
738         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
739         (TestWebKitAPI::TEST): Updated test since nullptr is now ambiguous since we
740         added overloads for const char*.
741
742         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
743         (WTR::AccessibilityUIElement::isPressActionSupported): Use equalLettersIgnoringASCIICase.
744         (WTR::AccessibilityUIElement::hasPopup): Ditto.
745         * WebKitTestRunner/cocoa/CrashReporterInfo.mm:
746         (WTR::testPathFromURL): Ditto.
747
748 2016-01-28  Konstantin Tokarev  <annulen@yandex.ru>
749
750         [webkitdirs] Clarify logic behind is{PortName} functions.
751         https://bugs.webkit.org/show_bug.cgi?id=153554
752
753         Reviewed by Darin Adler.
754
755         * Scripts/webkitdirs.pm:
756         (determinePortName): Added new function which decides which port are
757         we building based on command line switches and platform defaults.
758         (portName): Added getter for determined $portName.
759         (isEfl): Modified to use portName().
760         (isGtk): Ditto.
761         (isWinCairo): Ditto.
762         (isAppleMacWebKit): Ditto.
763         (isAppleWinWebKit): Ditto.
764         (isIOSWebKit): Ditto.
765         (cmakeBasedPortName): Code replaced with portName() call.
766         (determineIsEfl): Deleted.
767         (determineIsGtk): Deleted.
768         (determineIsWinCairo): Deleted.
769
770 2016-01-28  Konstantin Tokarev  <annulen@yandex.ru>
771
772         [webkitdirs] Don't pass cmakeBasedPortName around.
773         https://bugs.webkit.org/show_bug.cgi?id=153589
774
775         Reviewed by Darin Adler.
776
777         It should be local function of webkitdirs.pm instead.
778
779         * Scripts/build-jsc: Don't pass cmakeBasedPortName to
780         buildCMakeProjectOrExit().
781         * Scripts/build-webkit: Don't pass cmakeBasedPortName to
782         buildCMakeProjectOrExit() and generateBuildSystemFromCMakeProject().
783         * Scripts/run-efl-tests: Don't pass cmakeBasedPortName to
784         generateBuildSystemFromCMakeProject().
785         * Scripts/webkitdirs.pm: Don't export cmakeBasedPortName.
786         (generateBuildSystemFromCMakeProject): Removed $port argument as we
787         can get it from cmakeBasedPortName().
788         (buildCMakeProjectOrExit): Ditto.
789
790 2016-01-28  Gwang Yoon Hwang  <yoon@igalia.com>
791
792         [GStreamer] Clean up includes and headers related with GStreamerGL
793         https://bugs.webkit.org/show_bug.cgi?id=153590
794
795         Reviewed by Philippe Normand.
796
797         * Scripts/webkitpy/style/checker.py: Skips
798         include_order check for MediaPlayerPrivateGStreamerBase.cpp
799         Removes VideoSinkGStreamer1.cpp which doesn't exist anymore.
800
801 2016-01-27  Krzysztof Czech  <k.czech@samsung.com>
802
803         [EFL] Remove unused accessibility related code
804         https://bugs.webkit.org/show_bug.cgi?id=153543
805
806         Reviewed by Darin Adler.
807
808         Removed reference to EAIL library.
809         It not going to be support anymore. There have been changes in
810         EFL/Elementary in terms of the accessibility and we should
811         follow those.
812
813         * efl/jhbuild-optional.modules:
814
815 2016-01-27  Daniel Bates  <dabates@apple.com>
816
817         Remove WebKitSystemInterface for iOS SDK < 9
818         https://bugs.webkit.org/show_bug.cgi?id=153570
819
820         Reviewed by Andy Estes.
821
822         * Scripts/copy-webkitlibraries-to-product-directory:
823
824 2016-01-27  Jason Marcell  <jmarcell@apple.com>
825
826         Fix bugs caused by incorrect usage of "branch" vs. "branchName".
827         https://bugs.webkit.org/show_bug.cgi?id=153330
828
829         Reviewed by Daniel Bates.
830
831         In an earlier patch we started using the name "branch" to indicate a branch object, whereas
832         "branchName" implies that the variable or property in question is simply a string. We fixed some
833         inconsistencies regarding this issue in 152982 but further bugs and inconsistencies were recently
834         spotted in BuildbotQueueView.js.
835
836         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
837         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Change branchName to branch in method signature.
838         Changed branchName to branch.name in call to commitsOnBranch.
839         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Change branch.name to branch in call to
840         _popoverLinesForCommitRange.
841         (BuildbotQueueView.prototype._presentPopoverForRevisionRange): Changed context.branchName to context.branch.name.
842         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Changed branch.name to branch.
843         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added tests to verify
844         fix.
845
846 2016-01-27  Ryosuke Niwa  <rniwa@webkit.org>
847
848         Add API to access closed shadowRoot in InjectedBundle
849         https://bugs.webkit.org/show_bug.cgi?id=153533
850
851         Reviewed by Antti Koivisto.
852
853         Added WebKit2 API test for WKBundleScriptWorldMakeAllShadowRootsOpen.
854
855         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
856         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakeAllShadowRootsOpen.cpp: Added.
857         (TestWebKitAPI::runJavaScriptAlert):
858         (TestWebKitAPI::TEST):
859         * TestWebKitAPI/Tests/WebKit2/InjectedBundleMakrAllShadowRootOpen_Bundle.cpp: Added.
860         (TestWebKitAPI::InjectedBundleMakrAllShadowRootOpenTest::InjectedBundleMakrAllShadowRootOpenTest):
861         (TestWebKitAPI::InjectedBundleMakrAllShadowRootOpenTest::initialize):
862
863 2016-01-27  Jason Marcell  <jmarcell@apple.com>
864
865         Refactor logic for parsing Trac revisions into its own function and add logic for parsing git hashes.
866         https://bugs.webkit.org/show_bug.cgi?id=153332
867
868         Reviewed by Alexey Proskuryakov.
869
870         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
871         (Trac.prototype._xmlTimelineURL): Uses new function.
872         (Trac.prototype._parseRevisionFromURL): Added. Pulled out logic for parsing revisions from a URL. Also added
873         logic for parsing git hashes.
874         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added tests for
875         Trac._parseRevisionFromURL.
876
877 2016-01-27  Alexey Proskuryakov  <ap@apple.com>
878
879         Remove Mavericks from the flakiness dashboard
880         https://bugs.webkit.org/show_bug.cgi?id=153521
881
882         Reviewed by Dan Bernstein.
883
884         * TestResultServer/static-dashboards/builders.jsonp:
885         * TestResultServer/static-dashboards/flakiness_dashboard.js:
886
887 2016-01-27  Alexey Proskuryakov  <ap@apple.com>
888
889         Remove ENABLE_CURRENTSRC
890         https://bugs.webkit.org/show_bug.cgi?id=153545
891
892         Reviewed by Simon Fraser.
893
894         * Scripts/webkitperl/FeatureList.pm:
895
896 2016-01-26  Jason Marcell  <jmarcell@apple.com>
897
898         Sort incoming commits via date instead of revision number.
899         https://bugs.webkit.org/show_bug.cgi?id=153467
900
901         Reviewed by Alexey Proskuryakov.
902
903         Future Trac instances may use Git or other revision control systems where we cannnot rely on the revision number
904         for sorting revisions. Instead we use the commit date to sort revisions chronologically.
905
906         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
907         (Trac.prototype._loaded): Sort via date instead of revision number.
908         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
909         (MockTrac): Fix up the mock data to look more like real-world data.
910         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/test-fixture-trac-rss.xml: Added.
911         Fake RSS feed that adds three more commits.
912         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added unit tests to test
913         Trac._loaded().
914
915 2016-01-26  I-Ting Liu  <iting_liu@apple.com>
916
917         Add a test for WebKit::stringMatchesWildcardString.
918         https://bugs.webkit.org/show_bug.cgi?id=153090
919
920         Reviewed by Darin Adler.
921
922         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
923         Add the file to the project.
924
925         * TestWebKitAPI/Tests/WebKit2/mac/StringUtilities.mm: Added.
926         (TestWebKitAPI::TEST):
927         Test that a string matches another string that may contain wildcard characters.
928
929 2016-01-26  Konstantin Tokarev  <annulen@yandex.ru>
930
931         [webkitdirs] Removed check for bison, gperf, and flex.
932         https://bugs.webkit.org/show_bug.cgi?id=153496
933
934         Reviewed by Alex Christensen.
935
936         This prerequisites are checked in WebKitCommon.cmake and don't
937         have to be in $PATH.
938
939         * Scripts/webkitdirs.pm:
940         (checkRequiredSystemConfig):
941
942 2016-01-26  Konstantin Tokarev  <annulen@yandex.ru>
943
944         [webkitdirs] isCMakeBuild should be true by default
945         https://bugs.webkit.org/show_bug.cgi?id=153497
946
947         Reviewed by Michael Catanzaro.
948
949         * Scripts/webkitdirs.pm:
950         (isCMakeBuild):
951
952 2016-01-26  Daniel Bates  <dabates@apple.com>
953
954         Add WebKitSystemInterface for iOS 9.2
955         https://bugs.webkit.org/show_bug.cgi?id=153355
956
957         Rubber-stamped by David Kilzer.
958
959         * Scripts/copy-webkitlibraries-to-product-directory:
960
961 2016-01-26  Daniel Bates  <dabates@apple.com>
962
963         WebKitTestRunner: Credential cache is not cleared between tests
964         https://bugs.webkit.org/show_bug.cgi?id=153407
965         <rdar://problem/24280834>
966
967         Reviewed by Alexey Proskuryakov.
968
969         * WebKitTestRunner/TestController.cpp:
970         (WTR::TestController::resetStateToConsistentValues): Call WKContextClearCachedCredentials()
971         to clear cached credentials.
972
973 2016-01-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
974
975         kill-old-processes: allow to specify on the environment of the bot a list of process that should be killed.
976         https://bugs.webkit.org/show_bug.cgi?id=153483
977
978         Reviewed by Csaba Osztrogonác.
979
980         * BuildSlaveSupport/kill-old-processes:
981         (main): Allow to specify extra tasks to kill via the environment variable WEBKITBOT_TASKSTOKILL
982
983 2016-01-25  Simon Fraser  <simon.fraser@apple.com>
984
985         Give the layout test results file a <title> showing the date and time the tests were run
986         https://bugs.webkit.org/show_bug.cgi?id=153187
987
988         Reviewed by Darin Adler.
989         
990         Include a 'date' property in the JSON with the date and time the tests completed.
991
992         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
993         (summarize_results):
994
995 2016-01-25  Commit Queue  <commit-queue@webkit.org>
996
997         Unreviewed, rolling out r195543.
998         https://bugs.webkit.org/show_bug.cgi?id=153451
999
1000         regressed performance of test bots by ~6% (Requested by dydz
1001         on #webkit).
1002
1003         Reverted changeset:
1004
1005         "WebKitTestRunner: Credential cache is not cleared between
1006         tests"
1007         https://bugs.webkit.org/show_bug.cgi?id=153407
1008         http://trac.webkit.org/changeset/195543
1009
1010 2016-01-25  Aakash Jain  <aakash_jain@apple.com>
1011
1012         Failing to upload to flakiness dashboard should not be a hard error
1013         https://bugs.webkit.org/show_bug.cgi?id=153444
1014         <rdar://problem/22146294>
1015
1016         Reviewed by Alexey Proskuryakov.
1017
1018         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1019         (Manager._upload_json_files): If JSON file is not generated, do not try to upload it.
1020
1021 2016-01-25  Daniel Bates  <dabates@apple.com>
1022
1023         WebKitTestRunner: Credential cache is not cleared between tests
1024         https://bugs.webkit.org/show_bug.cgi?id=153407
1025         <rdar://problem/24280834>
1026
1027         Reviewed by Brady Eidson.
1028
1029         * WebKitTestRunner/TestController.cpp:
1030         (WTR::TestController::resetStateToConsistentValues): Reset testing network session
1031         to clear cached credentials.
1032
1033 2016-01-24  Dan Bernstein  <mitz@apple.com>
1034
1035         Added project.xcworkspace and xcuserdata to this project’s svn:ignore.
1036
1037         * LayoutTestRelay/LayoutTestRelay.xcodeproj: Added property svn:ignore.
1038
1039 2016-01-22  Enrica Casucci  <enrica@apple.com>
1040
1041         Unreviewed build fix after http://trac.webkit.org/changeset/195474.
1042
1043         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1044         (WTR::TestController::platformCreateWebView):
1045
1046 2016-01-22  Tim Horton  <timothy_horton@apple.com>
1047
1048         Add a test for iOS arrow-key repeat
1049         https://bugs.webkit.org/show_bug.cgi?id=152857
1050         <rdar://problem/24017380>
1051
1052         Reviewed by Darin Adler.
1053
1054         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
1055         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
1056         (WTR::UIScriptController::keyUpUsingHardwareKeyboard):
1057         (WTR::UIScriptController::keyDownUsingHardwareKeyboard):
1058         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
1059         * WebKitTestRunner/ios/HIDEventGenerator.h:
1060         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1061         (-[HIDEventGenerator keyPress:completionBlock:]):
1062         (-[HIDEventGenerator keyDown:completionBlock:]):
1063         (-[HIDEventGenerator keyUp:completionBlock:]):
1064         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1065         (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
1066         (WTR::UIScriptController::keyDownUsingHardwareKeyboard):
1067         (WTR::UIScriptController::keyUpUsingHardwareKeyboard):
1068         Make it possible to independently send keyUp/keyDown, instead of just paired.
1069
1070 2016-01-22  Tim Horton  <timothy_horton@apple.com>
1071
1072         Reproducible "Unhanded web process message 'WebUserContentController:AddUserScripts'" and friends
1073         https://bugs.webkit.org/show_bug.cgi?id=153193
1074         <rdar://problem/24222034>
1075
1076         Reviewed by Darin Adler.
1077
1078         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
1079         (webViewForScriptMessageHandlerMultipleHandlerRemovalTest):
1080         (TEST):
1081         Add a test that exhibits the problems we're fixing here.
1082         Before, it would both log and assert in debug, and crash in release.
1083         Now it runs happily to completion.
1084
1085 2016-01-22  Enrica Casucci  <enrica@apple.com>
1086
1087         Add support for testing data detection.
1088         https://bugs.webkit.org/show_bug.cgi?id=153360
1089
1090         Reviewed by Tim Horton.
1091
1092         Adding a new testing option (useDataDetection) to turn on
1093         data detection when running the a test.
1094
1095         * WebKitTestRunner/TestController.cpp:
1096         (WTR::updateTestOptionsFromTestHeader):
1097         * WebKitTestRunner/TestOptions.h:
1098         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1099         (WTR::TestController::platformCreateWebView):
1100
1101 2016-01-21  Simon Fraser  <simon.fraser@apple.com>
1102
1103         Fix the lldb WebCoreLayoutUnitProvider to not dynamically look up the LayoutUnit denominator
1104         https://bugs.webkit.org/show_bug.cgi?id=153334
1105
1106         Reviewed by Zalan Bujtas.
1107         
1108         Evaluating expressions in the LayoutUnit summary provider seems to cause
1109         re-entrancy problems in lldb python bindings, so just hardcode the LayoutUnit
1110         denominator to 64.
1111
1112         * lldb/lldb_webkit.py:
1113         (WebCoreLayoutUnitProvider.to_string):
1114
1115 2016-01-21  Filip Pizlo  <fpizlo@apple.com>
1116
1117         display-profiler-output should be able to display code blocks sorted by machine counts
1118         https://bugs.webkit.org/show_bug.cgi?id=153298
1119
1120         Reviewed by Oliver Hunt.
1121
1122         * Scripts/display-profiler-output:
1123
1124 2016-01-21  Julien Isorce  <j.isorce@samsung.com>
1125
1126         Ensure to use compatible liborc version with wanted gstreamer version
1127         https://bugs.webkit.org/show_bug.cgi?id=153276
1128
1129         For example gst-plugins-base-1.4.4 fails to build with liborc-0.4.24.
1130         The user may have a very recent liborc installed on his system.
1131
1132         Reviewed by Philippe Normand.
1133
1134         * efl/jhbuild.modules: add liborc-0.4.17 and make it a gst dependency.
1135         * gtk/jhbuild.modules: add liborc-0.4.17 and make it a gst depencendy.
1136
1137 2016-01-21  Nan Wang  <n_wang@apple.com>
1138
1139         AX: [IOS] Implement next/previous text marker functions using TextIterator
1140         https://bugs.webkit.org/show_bug.cgi?id=153292
1141         <rdar://problem/24268243>
1142
1143         Reviewed by Chris Fleizach.
1144
1145         Made text marker tests available on iOS.
1146
1147         * DumpRenderTree/AccessibilityTextMarker.h:
1148         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1149         * DumpRenderTree/ios/AccessibilityTextMarkerIOS.mm: Added.
1150         (AccessibilityTextMarker::AccessibilityTextMarker):
1151         (AccessibilityTextMarker::~AccessibilityTextMarker):
1152         (AccessibilityTextMarker::isEqual):
1153         (AccessibilityTextMarker::platformTextMarker):
1154         (AccessibilityTextMarkerRange::AccessibilityTextMarkerRange):
1155         (AccessibilityTextMarkerRange::~AccessibilityTextMarkerRange):
1156         (AccessibilityTextMarkerRange::isEqual):
1157         (AccessibilityTextMarkerRange::platformTextMarkerRange):
1158         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1159         (AccessibilityUIElement::pathDescription):
1160         (AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
1161         (AccessibilityUIElement::textMarkerRangeForElement):
1162         (AccessibilityUIElement::selectedTextMarkerRange):
1163         (AccessibilityUIElement::resetSelectedTextMarkerRange):
1164         (AccessibilityUIElement::textMarkerRangeLength):
1165         (AccessibilityUIElement::textMarkerRangeForMarkers):
1166         (AccessibilityUIElement::startTextMarkerForTextMarkerRange):
1167         (AccessibilityUIElement::endTextMarkerForTextMarkerRange):
1168         (AccessibilityUIElement::accessibilityElementForTextMarker):
1169         (AccessibilityUIElement::endTextMarkerForBounds):
1170         (AccessibilityUIElement::startTextMarkerForBounds):
1171         (AccessibilityUIElement::textMarkerForPoint):
1172         (AccessibilityUIElement::previousTextMarker):
1173         (AccessibilityUIElement::nextTextMarker):
1174         (AccessibilityUIElement::stringForTextMarkerRange):
1175         (AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
1176         (AccessibilityUIElement::indexForTextMarker):
1177         (AccessibilityUIElement::isTextMarkerValid):
1178         (AccessibilityUIElement::textMarkerForIndex):
1179         (AccessibilityUIElement::startTextMarker):
1180         (AccessibilityUIElement::endTextMarker):
1181         (AccessibilityUIElement::setSelectedVisibleTextRange):
1182         (AccessibilityUIElement::getLinkedUIElements):
1183         * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
1184         (AccessibilityTextMarkerRange::platformTextMarkerRange):
1185         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1186         (AccessibilityUIElement::removeSelection):
1187         (AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
1188         (AccessibilityUIElement::setSelectedVisibleTextRange):
1189         (AccessibilityUIElement::supportedActions):
1190         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1191         (WTR::AccessibilityUIElement::textMarkerRangeForElement):
1192         (WTR::AccessibilityUIElement::textMarkerRangeLength):
1193         (WTR::AccessibilityUIElement::previousTextMarker):
1194         (WTR::AccessibilityUIElement::nextTextMarker):
1195         (WTR::AccessibilityUIElement::stringForTextMarkerRange):
1196         (WTR::AccessibilityUIElement::textMarkerRangeForMarkers):
1197         (WTR::AccessibilityUIElement::startTextMarkerForTextMarkerRange):
1198         (WTR::AccessibilityUIElement::endTextMarkerForTextMarkerRange):
1199         (WTR::AccessibilityUIElement::endTextMarkerForBounds):
1200         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
1201         (WTR::AccessibilityUIElement::attributedStringForTextMarkerRangeContainsAttribute):
1202
1203 2016-01-20  Filip Pizlo  <fpizlo@apple.com>
1204
1205         Unreviewed, revert accidental unreviewed commit.
1206
1207         * Scripts/display-profiler-output:
1208
1209 2016-01-20  Jason Marcell  <jmarcell@apple.com>
1210
1211         Refactor compareIterations to remove duplicate code.
1212         https://bugs.webkit.org/show_bug.cgi?id=152913
1213
1214         Reviewed by Daniel Bates.
1215
1216         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1217         (BuildbotQueue.prototype.compareIterations): Refactored to remove duplicate code.
1218         (BuildbotQueue.prototype.sortIterations): Add binding to call to compareIterations.
1219         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added tests in order to ensure
1220         the same behavior before and after refactor.
1221
1222 2016-01-20  Dana Burkart  <dburkart@apple.com>
1223
1224         Botwatcher's dashboard should show an 'X' when the build is broken
1225         https://bugs.webkit.org/show_bug.cgi?id=152507
1226
1227         Reviewed by David Kilzer.
1228
1229         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotStaticAnalyzerQueueView.js:
1230         (BuildbotStaticAnalyzerQueueView.prototype.appendStaticAnalyzerQueueStatus):
1231         (BuildbotStaticAnalyzerQueueView.prototype.update):
1232
1233 2016-01-19  Jason Marcell  <jmarcell@apple.com>
1234
1235         Remove assertion from revisionContentForIteration that is causing errors on the dashboard.
1236         https://bugs.webkit.org/show_bug.cgi?id=153262
1237
1238         Reviewed by Alexey Proskuryakov.
1239
1240         Occasionaly some buildbot iterations will not have their "got_revisions" property populated. In
1241         such cases this revisionContentForIteration method does not have any content to return, thus the
1242         assertion fails.
1243
1244         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1245         (BuildbotQueueView.prototype.revisionContentForIteration): Removed assertion that was causing errors.
1246
1247 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
1248
1249         [GTK] Runtime critical warnings when loading a URL after a session restore
1250         https://bugs.webkit.org/show_bug.cgi?id=153233
1251
1252         Reviewed by Michael Catanzaro.
1253
1254         Add new test case.
1255
1256         * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp:
1257         (viewLoadChanged):
1258         (testWebKitWebViewNavigationAfterSessionRestore):
1259         (beforeAll):
1260
1261 2016-01-19  Michael Catanzaro  <mcatanzaro@igalia.com>
1262
1263         [GTK] Remove jhbuild-optional.modules
1264         https://bugs.webkit.org/show_bug.cgi?id=152964
1265
1266         Reviewed by Alex Christensen.
1267
1268         * gtk/jhbuild-optional.modules: Removed.
1269         * gtk/jhbuild.modules:
1270
1271 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
1272
1273         [GTK] Add support to load/save session in MiniBrowser
1274         https://bugs.webkit.org/show_bug.cgi?id=153201
1275
1276         Reviewed by Michael Catanzaro.
1277
1278         It makes it easier to test the new WebView session API.
1279
1280         * MiniBrowser/gtk/BrowserWindow.c:
1281         (browserWindowFinalize): Free the session file path.
1282         (browserWindowSaveSession): Save the current WebView session if
1283         there's a session file path.
1284         (browserWindowDeleteEvent): Call browserWindowSaveSession().
1285         (browser_window_load_session): Try to load the session from the
1286         given file path, otherwise fall back to homepage and keep the
1287         session file to save the session on window close.
1288         * MiniBrowser/gtk/BrowserWindow.h:
1289         * MiniBrowser/gtk/main.c:
1290         (createBrowserWindow): Pass the given session file path when
1291         shouldLoadSession is TRUE.
1292         (main): Only allow to restore/save session when MiniBrowser is
1293         launched without URL arguments.
1294
1295 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
1296
1297         Unreviewed. Fix GTK+ test /webkit2/WebKitWebView/geolocation-permission-requests after r195075.
1298
1299         Geolocation is no longer allowed for unique origins after r195075.
1300
1301         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
1302         (testWebViewGeolocationPermissionRequests):
1303
1304 2016-01-18  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1305
1306         [GTK][EFL] Layout tests abort with PulseAudioSanitizer instance has no attribute '_pa_module_index' when the build is not ready.
1307         https://bugs.webkit.org/show_bug.cgi?id=153216
1308
1309         Reviewed by Michael Catanzaro.
1310
1311         * Scripts/webkitpy/port/pulseaudio_sanitizer.py:
1312         (PulseAudioSanitizer.__init__): initialize _pa_module_index in the constructor.
1313
1314 2016-01-18  Nan Wang  <n_wang@apple.com>
1315
1316         AX: [Mac] Implement next/previous text marker functions using TextIterator
1317         https://bugs.webkit.org/show_bug.cgi?id=152728
1318
1319         Reviewed by Chris Fleizach.
1320
1321         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1322         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
1323
1324 2016-01-18  Csaba Osztrogonác  <ossy@webkit.org>
1325
1326         [cmake] Add testair to the build system
1327         https://bugs.webkit.org/show_bug.cgi?id=153126
1328
1329         Reviewed by Michael Catanzaro.
1330
1331         * Scripts/build-jsc:
1332
1333 2016-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
1334
1335         Remove TextRun::allowsRoundingHacks()
1336         https://bugs.webkit.org/show_bug.cgi?id=153185
1337
1338         Reviewed by Simon Fraser.
1339
1340         * DumpRenderTree/mac/DumpRenderTree.mm:
1341         (resetWebViewToConsistentStateBeforeTesting): Deleted.
1342
1343 2016-01-15  Konstantin Tokarev  <annulen@yandex.ru>
1344
1345         [webkitdirs] Avoid list form of open because it broke WinCairo
1346         https://bugs.webkit.org/show_bug.cgi?id=153106
1347
1348         Reviewed by Alex Christensen.
1349
1350         * Scripts/webkitdirs.pm:
1351         (determineArchitecture):
1352
1353 2016-01-15  Simon Fraser  <simon.fraser@apple.com>
1354
1355         Add kdebug_trace signposts for a few WebCore operations
1356         https://bugs.webkit.org/show_bug.cgi?id=153136
1357         rdar://problem/24208487
1358
1359         Reviewed by Sam Weinig.
1360         
1361         Plist used by kdebug_trace() viewing tools.
1362
1363         * Tracing/SystemTracePoints.plist: Added.
1364
1365 2016-01-14  Konstantin Tokarev  <annulen@yandex.ru>
1366
1367         [webkitdirs] Replaced grep invocation with perl code
1368         https://bugs.webkit.org/show_bug.cgi?id=153106
1369
1370         Reviewed by Alex Christensen.
1371
1372         * Scripts/webkitdirs.pm:
1373         (determineArchitecture):
1374
1375 2016-01-14  Brian Burg  <bburg@apple.com>
1376
1377         prepare-changelog does not read paths containing spaces properly
1378         https://bugs.webkit.org/show_bug.cgi?id=137982
1379
1380         Reviewed by Joseph Pecoraro.
1381
1382         Escape whitespace in filenames before passing the file path to other functions.
1383
1384         * Scripts/prepare-ChangeLog:
1385         (generateFunctionLists): Use the more explicit 3-argument form of 'open'.
1386
1387 2016-01-14  Jason Marcell  <jmarcell@apple.com>
1388
1389         Standardize the usage of "branch" vs. "branchName".
1390         https://bugs.webkit.org/show_bug.cgi?id=152982
1391
1392         Reviewed by Daniel Bates.
1393
1394         In an earlier patch we started using the name "branch" to indicate a branch object, whereas
1395         "branchName" implies that the variable or property in question is simply a string.
1396
1397         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1398         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Change branch to branchName.
1399         (BuildbotQueueView.prototype._presentPopoverForRevisionRange): Change branch to branch.name.
1400         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Change branch to branchName.
1401         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
1402         (Trac.prototype.commitsOnBranch): Change branch to branchName.
1403         (Trac.prototype._convertCommitInfoElementToObject): Ditto.
1404         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
1405         (MockTrac): Ditto.
1406
1407 2016-01-14  Jason Marcell  <jmarcell@apple.com>
1408
1409         Add a unit test to test BuildbotQueueView._appendPendingRevisionCount.
1410         https://bugs.webkit.org/show_bug.cgi?id=152910
1411
1412         Reviewed by Daniel Bates.
1413
1414         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js: Added.
1415         (MockBuildbotQueue): Added. Mock BuildbotQueue object that doesn't need to talk to an actual Buildbot server.
1416         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js: Added.
1417         (MockBuildbotQueueView): Added. Mock BuildbotQueueView object that returns a pre-specified _latestProductiveIteration without
1418         the need to talk to a real Buildbot server.
1419         (MockBuildbotQueueView.prototype._latestProductiveIteration): Added. Returns a pre-specified _latestProductiveIteration
1420         without the need to talk to a real Buildbot server.
1421         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js: Added.
1422         (MockTrac): Added. Mock Trac constructor that has pre-populated "recordedCommits" and does not need to talk to a real Trac
1423         server.
1424         (MockTrac.prototype.get oldestRecordedRevisionNumber): Added. Returns a pre-specified revision.
1425         (MockTrac.prototype.get latestRecordedRevisionNumber): Ditto.
1426         (MockTrac.prototype.loadMoreHistoricalData): Added. Overrides the real loadMoreHistoricalData so that we don't waste time
1427         trying to talk to Trac.
1428         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Added. Web page container for
1429         QUnit unit tests.
1430         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added. QUnit unit tests.
1431
1432 2016-01-14  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
1433
1434         [CMake][GTK] CMake Error: Could not create named generator Eclipse CDT4 - Ninja
1435         https://bugs.webkit.org/show_bug.cgi?id=132599
1436
1437         Reviewed by Michael Catanzaro.
1438
1439         Check if cmake Ninja generators are installed.
1440
1441         * Scripts/webkitdirs.pm:
1442         (canUseNinjaGenerator):
1443         (canUseEclipseNinjaGenerator):
1444         (generateBuildSystemFromCMakeProject):
1445         (canUseEclipse): Deleted.
1446
1447 2016-01-13  Myles C. Maxfield  <mmaxfield@apple.com>
1448
1449         [Cocoa] Testing with font family name "System Font" is unused
1450         https://bugs.webkit.org/show_bug.cgi?id=153073
1451         <rdar://problem/24091683>
1452
1453         Reviewed by Brent Fulgham.
1454
1455         * DumpRenderTree/mac/DumpRenderTree.mm:
1456         (allowedFontFamilySet): Deleted.
1457         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
1458         (WTR::allowedFontFamilySet): Deleted.
1459         * WebKitTestRunner/mac/TestControllerMac.mm:
1460         (WTR::allowedFontFamilySet): Deleted.
1461
1462 2016-01-13  Daniel Bates  <dabates@apple.com>
1463
1464         [XSS Auditor] Add test when XSS payload is in the path portion of the URL
1465         https://bugs.webkit.org/show_bug.cgi?id=152871
1466
1467         Reviewed by Brent Fulgham.
1468
1469         Merged from Blink (patch by Tom Sepez <tsepez@chromium.org>):
1470         <https://src.chromium.org/viewvc/blink?revision=164746&view=revision>
1471
1472         * Scripts/webkitpy/layout_tests/servers/lighttpd.conf:
1473
1474 2016-01-08  Andy Estes  <aestes@apple.com>
1475
1476         [Content Filtering] Lazily load platform frameworks
1477         https://bugs.webkit.org/show_bug.cgi?id=152881
1478         rdar://problem/23270886
1479
1480         Reviewed by Brady Eidson.
1481
1482         Added an API test that verifies that the Parental Controls and Network Extension frameworks are loaded at the
1483         expected times. The test verifies that they are not loaded after creating a WKWebView, loading an HTML string,
1484         loading NSData, loading a file, or loading from a custom protocol. It verifies that Network Extension on Mac/iOS
1485         and Parental Controls on iOS are loaded after an HTTP request. It finally verifies that Parental Controls on Mac
1486         is loaded after an HTTPS request.
1487
1488         To accomplish this, TestProtocol was generalized to allow tests to specify the scheme they wish to use.
1489         Other tests that used TestProtocol were updated to account for this change. TestProtocol was removed from
1490         WebKit2.PreventImageLoadWithAutoResizingTest, which didn't actually need to use it. ContentFiltering tests were
1491         also re-enabled on iOS after mistakenly being disabled by r188892.
1492
1493         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1494         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
1495         (TestWebKitAPI::TEST):
1496         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.h: Added.
1497         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.html: Added.
1498         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
1499         (TEST):
1500         (downloadTest):
1501         (-[LazilyLoadPlatformFrameworksController init]):
1502         (-[LazilyLoadPlatformFrameworksController webView]):
1503         (-[LazilyLoadPlatformFrameworksController expectParentalControlsLoaded:networkExtensionLoaded:]):
1504         (-[LazilyLoadPlatformFrameworksController webView:didFinishNavigation:]):
1505         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm:
1506         (-[ContentFilteringPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
1507         (-[ContentFilteringPlugIn observeValueForKeyPath:ofObject:change:context:]):
1508         (-[ContentFilteringPlugIn checkIfPlatformFrameworksAreLoaded:]):
1509         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
1510         (TestWebKitAPI::TEST):
1511         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
1512         (TestWebKitAPI::TEST): Deleted.
1513         * TestWebKitAPI/cocoa/TestProtocol.h:
1514         * TestWebKitAPI/cocoa/TestProtocol.mm:
1515         (+[TestProtocol registerWithScheme:]):
1516         (+[TestProtocol unregister]):
1517
1518 2016-01-12  Dewei Zhu  <dewei_zhu@apple.com>
1519
1520         Fix the Sunpider converage in slow device.
1521         https://bugs.webkit.org/show_bug.cgi?id=152938
1522         <rdar://problem/22511411>
1523
1524         Reviewed by Ryosuke Niwa.
1525
1526         Updated the patch for RunBenchmark to resume sunspider coverage by removing unused subresources in sub-tests.
1527
1528         * Scripts/webkitpy/benchmark_runner/data/patches/SunSpider.patch:
1529
1530 2016-01-12  Ryosuke Niwa  <rniwa@webkit.org>
1531
1532         Add a build flag for custom element
1533         https://bugs.webkit.org/show_bug.cgi?id=153005
1534
1535         Reviewed by Alex Christensen.
1536
1537         Added --custom-elements option to enable custom elements support.
1538
1539         * Scripts/webkitperl/FeatureList.pm:
1540
1541 2016-01-12  Benjamin Poulain  <bpoulain@apple.com>
1542
1543         [JSC] Add a help message when run-jsc-stress-tests fails
1544         https://bugs.webkit.org/show_bug.cgi?id=153014
1545
1546         Reviewed by Csaba Osztrogonác.
1547
1548         * Scripts/run-jsc-stress-tests:
1549
1550 2016-01-11  Saam barati  <sbarati@apple.com>
1551
1552         run-jsc-stress-tests should try to figure out a JSC path
1553         https://bugs.webkit.org/show_bug.cgi?id=152971
1554
1555         Reviewed by Yusuke Suzuki.
1556
1557         This patch now allows run-jsc-stress-tests to be run
1558         without a "--jsc <jsc-path>" argument. It tries
1559         to take its best guess at a <jsc-path> automagically.
1560         
1561         This makes it much easier to just run run-jsc-stress-tests
1562         with a directory or a yaml file as an argument.
1563         You now just do this:
1564         `run-jsc-stress-tests <path-to-yaml>`
1565         or
1566         `run-jsc-stress-tests <path-to-directory-of-js-files>`
1567         
1568         I wrote this patch because I'd often find myself hacking the 
1569         run-javascriptcore-tests file just to run a particular subset of tests.
1570         Because I always forget the arguments to run-jsc-stress-tests (which means
1571         I always forgot to provide a --jsc argument), I always found it easier to 
1572         just hack on that file instead of calling run-jsc-stress-tests directly.
1573         No longer is this true!
1574
1575         * Scripts/run-jsc-stress-tests:
1576
1577 2016-01-09  Andy Estes  <aestes@apple.com>
1578
1579         [Cocoa] Add SPI to opt out a URL scheme from the memory cache
1580         https://bugs.webkit.org/show_bug.cgi?id=152950
1581         rdar://problem/24066652
1582
1583         Reviewed by Tim Horton.
1584
1585         Added an API test.
1586
1587         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1588         * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm: Added.
1589         (+[AlwaysRevalidatedURLSchemeProtocol canInitWithRequest:]):
1590         (+[AlwaysRevalidatedURLSchemeProtocol canonicalRequestForRequest:]):
1591         (+[AlwaysRevalidatedURLSchemeProtocol requestIsCacheEquivalent:toRequest:]):
1592         (-[AlwaysRevalidatedURLSchemeProtocol startLoading]):
1593         (-[AlwaysRevalidatedURLSchemeProtocol stopLoading]):
1594         (-[AlwaysRevalidatedURLSchemesDelegate webView:didFinishNavigation:]):
1595         (TEST):
1596
1597 2016-01-11  Commit Queue  <commit-queue@webkit.org>
1598
1599         Unreviewed, rolling out r194866.
1600         https://bugs.webkit.org/show_bug.cgi?id=152986
1601
1602         This change broke the mac build (Requested by ryanhaddad on
1603         #webkit).
1604
1605         Reverted changeset:
1606
1607         "[Cocoa] Add SPI to opt out a URL scheme from the memory
1608         cache"
1609         https://bugs.webkit.org/show_bug.cgi?id=152950
1610         http://trac.webkit.org/changeset/194866
1611
1612 2016-01-11  Andy Estes  <aestes@apple.com>
1613
1614         [Cocoa] Add SPI to opt out a URL scheme from the memory cache
1615         https://bugs.webkit.org/show_bug.cgi?id=152950
1616         rdar://problem/24066652
1617
1618         Reviewed by Tim Horton.
1619
1620         Added an API test.
1621
1622         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1623         * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm: Added.
1624         (+[AlwaysRevalidatedURLSchemeProtocol canInitWithRequest:]):
1625         (+[AlwaysRevalidatedURLSchemeProtocol canonicalRequestForRequest:]):
1626         (+[AlwaysRevalidatedURLSchemeProtocol requestIsCacheEquivalent:toRequest:]):
1627         (-[AlwaysRevalidatedURLSchemeProtocol startLoading]):
1628         (-[AlwaysRevalidatedURLSchemeProtocol stopLoading]):
1629         (-[AlwaysRevalidatedURLSchemesDelegate webView:didFinishNavigation:]):
1630         (TEST):
1631
1632 2016-01-11  Konstantin Tokarev  <annulen@yandex.ru>
1633
1634         [webkitdirs] Use CMake to determine architecture on isCMakeBuild()
1635         https://bugs.webkit.org/show_bug.cgi?id=152959
1636
1637         Reviewed by Brent Fulgham.
1638
1639         * Scripts/webkitdirs.pm:
1640         (determineArchitecture):
1641
1642 2016-01-11  Michael Catanzaro  <mcatanzaro@igalia.com>
1643
1644         [GTK] W3C CSS2.1 anonymous table tests are failing
1645         https://bugs.webkit.org/show_bug.cgi?id=152455
1646
1647         Reviewed by Mario Sanchez Prada.
1648
1649         Add shared-mime-info to the jhbuild environment, since it affects the results of layout
1650         tests. Add upstream patches to fix detection of XHTML files.
1651
1652         * gtk/jhbuild.modules:
1653         * gtk/patches/shared-mime-info-xht-glob.patch: Added.
1654         * gtk/patches/shared-mime-info-xhtml-magic.patch: Added.
1655
1656 2016-01-10  Saam barati  <sbarati@apple.com>
1657
1658         Implement a sampling profiler
1659         https://bugs.webkit.org/show_bug.cgi?id=151713
1660
1661         Reviewed by Filip Pizlo.
1662
1663         * Scripts/run-jsc-stress-tests:
1664
1665 2016-01-10  Konstantin Tokarev  <annulen@yandex.ru>
1666
1667         [webkitdirs] Try arch and uname commands on non-windows OS
1668         https://bugs.webkit.org/show_bug.cgi?id=152958
1669
1670         Reviewed by Michael Catanzaro.
1671
1672         Right now, determineArchitecture()  uses `arch` and `uname -m`
1673         commands to determine architecture in case of condition (isGtk() ||
1674         isAppleMacWebKit() || isEfl()) is true. This should be !anyWindows()
1675         instead, because this code is applicable to any non-windows OS WebKit
1676         supports (even Haiku which once was supported is moderately
1677         POSIX-compliant and has uname command).
1678
1679         * Scripts/webkitdirs.pm:
1680         (determineArchitecture):
1681
1682 2016-01-08  Aakash Jain  <aakash_jain@apple.com>
1683
1684         run-webkit-tests mis-counts totals when there are other crashes
1685         https://bugs.webkit.org/show_bug.cgi?id=152894
1686         <rdar://problem/24098697>
1687
1688         Reviewed by Alexey Proskuryakov.
1689
1690         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
1691         (TestRunResults.add): Do not update result counters for other crashes.
1692
1693 2016-01-08  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1694
1695         webkit-patch build-and-test should have an option to iterate over new tests
1696         https://bugs.webkit.org/show_bug.cgi?id=143093
1697
1698         Reviewed by Michael Catanzaro.
1699
1700         This patch introduces the --iterate-on-new-tests option to webkit-patch build-and-test.
1701         It allows running run-webkit-tests on modified or new paths in LayoutTests.
1702         Computation of new or modified tests is done by LayoutTestFinder.find_touched_tests
1703         It implements the translation of -expected.* paths to their related tests.
1704         It also implements the removal of skipped tests.
1705
1706         * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py:
1707         (LayoutTestFinder.find_touched_tests):
1708         * Scripts/webkitpy/layout_tests/controllers/layout_test_finder_unittest.py: Added.
1709         (MockPort):
1710         (MockPort.__init__):
1711         (MockPort.tests):
1712         (LayoutTestFinderTests):
1713         (LayoutTestFinderTests.touched_files):
1714         (LayoutTestFinderTests.test_touched_test):
1715         (LayoutTestFinderTests.test_expected_touched_test):
1716         (LayoutTestFinderTests.test_platform_expected_touched_test):
1717         (LayoutTestFinderTests.test_platform_duplicate_touched_test):
1718         (LayoutTestFinderTests.test_touched_but_skipped_test):
1719         * Scripts/webkitpy/port/base.py:
1720         (Port.potential_test_names_from_expected_file):
1721         * Scripts/webkitpy/tool/commands/download_unittest.py:
1722         (DownloadCommandsTest._default_options):
1723         * Scripts/webkitpy/tool/steps/options.py:
1724         (Options):
1725         * Scripts/webkitpy/tool/steps/runtests.py:
1726         (RunTests.options):
1727         (RunTests.run):
1728         (RunTests):
1729         (RunTests._new_or_modified_tests):
1730         (RunTests._run_webkit_tests):
1731         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
1732         (RunTestsTest.test_webkit_run_unit_tests):
1733         * Scripts/webkitpy/tool/steps/steps_unittest.py:
1734         (StepsTest._step_options):
1735
1736 2016-01-07  Joseph Pecoraro  <pecoraro@apple.com>
1737
1738         prepare-ChangeLog should include radar number
1739         https://bugs.webkit.org/show_bug.cgi?id=152839
1740         <rdar://problem/24093563>
1741
1742         Reviewed by Daniel Bates.
1743
1744         When running `prepare-ChangeLog -b ###`, check for a bugzilla comment that
1745         starts with a "<rdar://problem/####>" URL. If found, include that radar URL
1746         in the ChangeLog description after the bug URL.
1747
1748         * Scripts/prepare-ChangeLog:
1749         (main): Update signatures.
1750         (fetchBugXMLData): XML Data is now used for multiple reasons. Extract this to just get the data.
1751         (fetchBugDescriptionFromBugXMLData): Search data for <short_desc>.
1752         (fetchRadarURLFromBugXMLData): Search comment text for radar URL.
1753         (generateNewChangeLogs): Include radar URL if we found one.
1754
1755         * Scripts/webkitperl/prepare-ChangeLog_unittest/fetchRadarURLFromBugXMLData.pl: Added.
1756         Tests for the radar URL extraction.
1757
1758 2016-01-07  Alexey Proskuryakov  <ap@apple.com>
1759
1760         testRunner.runUIScript crashes while running multiple tests in a row that invokes the same UIScript
1761         https://bugs.webkit.org/show_bug.cgi?id=152390
1762         <rdar://problem/23948321>
1763
1764         Reviewed by Simon Fraser.
1765
1766         Fix two use-after-frees.
1767
1768         1. WKPageCallAfterNextPresentationUpdate's callback has a pointer to TestInvocation,
1769         but we may have already progressed to another test by the time the callback fires,
1770         having destroyed the TestInvocation.
1771         2. UIScriptController is a RefCounted object, but it has a raw pointer to
1772         UIScriptContext which has the same lifetime as a TestInvocation.
1773         As a result, completion blocks of UIScriptController actions would use a destroyed
1774         TestInvocation.
1775
1776         * WebKitTestRunner/TestInvocation.cpp:
1777         (WTR::TestInvocation::~TestInvocation):
1778         (WTR::TestInvocation::url):
1779         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1780         (WTR::TestInvocation::runUISideScriptAfterUpdateCallback):
1781         (WTR::TestInvocation::runUISideScript):
1782         * WebKitTestRunner/TestInvocation.h:
1783         * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp:
1784         (UIScriptContext::UIScriptContext):
1785         (UIScriptContext::~UIScriptContext):
1786         (UIScriptContext::runUIScript):
1787         * WebKitTestRunner/UIScriptContext/UIScriptContext.h:
1788         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
1789         (WTR::UIScriptController::UIScriptController):
1790         (WTR::UIScriptController::contextDestroyed):
1791         (WTR::UIScriptController::makeWindowObject):
1792         (WTR::UIScriptController::setWillBeginZoomingCallback):
1793         (WTR::UIScriptController::willBeginZoomingCallback):
1794         (WTR::UIScriptController::setDidEndZoomingCallback):
1795         (WTR::UIScriptController::didEndZoomingCallback):
1796         (WTR::UIScriptController::setDidEndScrollingCallback):
1797         (WTR::UIScriptController::didEndScrollingCallback):
1798         (WTR::UIScriptController::setDidShowKeyboardCallback):
1799         (WTR::UIScriptController::didShowKeyboardCallback):
1800         (WTR::UIScriptController::setDidHideKeyboardCallback):
1801         (WTR::UIScriptController::didHideKeyboardCallback):
1802         (WTR::UIScriptController::uiScriptComplete):
1803         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
1804         (WTR::UIScriptController::create):
1805         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1806         (WTR::UIScriptController::doAsyncTask):
1807         (WTR::UIScriptController::zoomToScale):
1808         (WTR::UIScriptController::singleTapAtPoint):
1809         (WTR::UIScriptController::doubleTapAtPoint):
1810         (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
1811         (WTR::UIScriptController::contentVisibleRect):
1812         (WTR::UIScriptController::platformSetWillBeginZoomingCallback):
1813         (WTR::UIScriptController::platformSetDidEndZoomingCallback):
1814         (WTR::UIScriptController::platformSetDidShowKeyboardCallback):
1815         (WTR::UIScriptController::platformSetDidHideKeyboardCallback):
1816         (WTR::UIScriptController::platformSetDidEndScrollingCallback):
1817         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
1818         (WTR::UIScriptController::doAsyncTask):
1819
1820 2016-01-07  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1821
1822         [buildbot] clean-build script should remove untracked files and revert local changes too
1823         https://bugs.webkit.org/show_bug.cgi?id=142400
1824
1825         Reviewed by Ryosuke Niwa.
1826
1827         This patch cleans the WebKit folder by reverting tracked files changes and deleting SCM untracked files, including SCM ignored files.
1828         A helper routine SCM.discard_untracked_files is added for that purpose.
1829
1830         * BuildSlaveSupport/clean-build:
1831         (main): Making call to Scripts/clean-webkit
1832         * Scripts/clean-webkit: Added.
1833         (main): Revert changes and delete untracked files.
1834         * Scripts/webkitpy/common/checkout/scm/scm.py:
1835         (SCM.discard_untracked_files): Helper function to discard untracked files or folders found by SCM.
1836         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
1837         (SCMTest._shared_test_discard_untracked_files):
1838         (test_discard_untracked_files): Tests that untracked file and untracked folder get discarded correctly.
1839
1840 2016-01-06  Simon Fraser  <simon.fraser@apple.com>
1841
1842         Add a setting and preferences to enable display-list drawing. Does nothing yet.
1843         https://bugs.webkit.org/show_bug.cgi?id=152807
1844
1845         Reviewed by Zalan Bujtas.
1846         
1847         Add an item to the Settings menu to toggle display-list drawing.
1848
1849         * MiniBrowser/mac/SettingsController.h:
1850         * MiniBrowser/mac/SettingsController.m:
1851         (-[SettingsController _populateMenu]):
1852         (-[SettingsController validateMenuItem:]):
1853         (-[SettingsController toggleDisplayListDrawingEnabled:]):
1854         (-[SettingsController displayListDrawingEnabled]):
1855         * MiniBrowser/mac/WK2BrowserWindowController.m:
1856         (-[WK2BrowserWindowController didChangeSettings]):
1857
1858 2016-01-06  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1859
1860         Python SCM should be able to retrieve untracked files - Add GIT support
1861         https://bugs.webkit.org/show_bug.cgi?id=143135
1862
1863         Reviewed by Michael Catanzaro.
1864
1865         * Scripts/webkitpy/common/checkout/scm/git.py:
1866         (Git.untracked_files): Adding support for git.
1867         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
1868         (GitTest.setUp):
1869         (GitTest.test_untracked_files): Adding test.
1870
1871 2016-01-05  Mark Lam  <mark.lam@apple.com>
1872
1873         Rename badly named JSC_timeout env var to JSCTEST_timeout.
1874         https://bugs.webkit.org/show_bug.cgi?id=152748
1875
1876         Reviewed by Geoffrey Garen.
1877
1878         Now that we validate JSC options, the badly named JSC_timeout env var causes the
1879         bots to have a bad time.
1880
1881         * Scripts/run-javascriptcore-tests:
1882         * Scripts/run-jsc-stress-tests:
1883
1884 2016-01-04  Carlos Garcia Campos  <cgarcia@igalia.com>
1885
1886         [GTK] Allow to save and restore session
1887         https://bugs.webkit.org/show_bug.cgi?id=115600
1888
1889         Reviewed by Michael Catanzaro.
1890
1891         Add test case to check the new session API.
1892
1893         * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp:
1894         (testWebKitWebViewSessionState):
1895         (testWebKitWebViewSessionStateWithFormData):
1896         (beforeAll):
1897
1898 2016-01-04  Csaba Osztrogonác  <ossy@webkit.org>
1899
1900         [EFL] Bump EFL version to 1.16.1
1901         https://bugs.webkit.org/show_bug.cgi?id=152688
1902
1903         Reviewed by Gyuyoung Kim.
1904
1905         * efl/jhbuild.modules:
1906
1907 2016-01-04  Aakash Jain  <aakash_jain@apple.com>
1908
1909         error running layout tests on iOS simulator on latest build
1910         https://bugs.webkit.org/show_bug.cgi?id=152719
1911         <rdar://problem/24009549>
1912
1913         Reviewed by Alexey Proskuryakov.
1914
1915         * Scripts/webkitpy/xcode/simulator.py:
1916         (Simulator.wait_until_device_is_booted): Ensure that simulator device is in booted state
1917           before running simctl spawn command.
1918
1919 2016-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
1920
1921         Unreviewed, move Frédéric Wang to committers list
1922
1923         He seems to be on the contributors list by accident. He has been landing his own commits for
1924         about two years now.
1925
1926         * Scripts/webkitpy/common/config/contributors.json:
1927
1928 2016-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
1929
1930         Unreviewed, move Sebastian Dröge to committers list harder
1931
1932         He accidentally added himself to the reviewers list because the file is confusing. Then I
1933         accidentially moved him to the contributors list because the file is confusing, even though
1934         I knew the contributors list existed in this file and was attempting to add him to the
1935         committers list. Really move him to the committers list now.
1936
1937         * Scripts/webkitpy/common/config/contributors.json:
1938
1939 2016-01-02  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1940
1941         Python SCM should be able to retrieve untracked files - Add SVN support
1942         https://bugs.webkit.org/show_bug.cgi?id=152546
1943
1944         Reviewed by Michael Catanzaro.
1945
1946         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
1947         (test_untracked_files): Activating test for SVN.
1948         * Scripts/webkitpy/common/checkout/scm/svn.py:
1949         (SVN.untracked_files): Implementing untracked files retrieval for SVN.
1950
1951 2015-12-31  Andy Estes  <aestes@apple.com>
1952
1953         Replace WTF::move with WTFMove
1954         https://bugs.webkit.org/show_bug.cgi?id=152601
1955
1956         Reviewed by Brady Eidson.
1957
1958         * DumpRenderTree/TestRunner.h:
1959         (TestRunner::setAllowedHosts):
1960         * DumpRenderTree/win/DRTDataObject.cpp:
1961         (DRTDataObject::SetData):
1962         * TestWebKitAPI/Tests/WTF/Deque.cpp:
1963         (TestWebKitAPI::TEST):
1964         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1965         (TestWebKitAPI::TEST):
1966         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
1967         (TestWebKitAPI::TEST):
1968         * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
1969         (TestWebKitAPI::TEST):
1970         * TestWebKitAPI/Tests/WTF/Ref.cpp:
1971         (TestWebKitAPI::passWithRef):
1972         (TestWebKitAPI::TEST):
1973         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
1974         (TestWebKitAPI::TEST):
1975         * TestWebKitAPI/Tests/WTF/Vector.cpp:
1976         (TestWebKitAPI::TEST):
1977         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
1978         (TestWebKitAPI::TEST):
1979         * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm:
1980         (TestWebKitAPI::TEST):
1981         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
1982         (TestWebKitAPI::createTestValue):
1983         (TestWebKitAPI::TEST):
1984         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1985         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
1986         (TestWebKitAPI::InMemoryCompiledContentExtension::create):
1987         (TestWebKitAPI::InMemoryCompiledContentExtension::InMemoryCompiledContentExtension):
1988         (TestWebKitAPI::createNFAs):
1989         (TestWebKitAPI::TEST_F):
1990         * TestWebKitAPI/Tests/WebCore/DFACombiner.cpp:
1991         (TestWebKitAPI::combine):
1992         * TestWebKitAPI/Tests/WebCore/DFAHelpers.h:
1993         (TestWebKitAPI::createNFAs):
1994         * TestWebKitAPI/Tests/WebKit2/cocoa/WeakObjCPtr.mm:
1995         (TEST):
1996         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
1997         (WebProcessTest::add):
1998
1999 2016-01-01  Michael Catanzaro  <mcatanzaro@igalia.com>
2000
2001         [SOUP] REGRESSION(r192761): Broke resource URIs for applications that use g_resource_load in a web extension
2002         https://bugs.webkit.org/show_bug.cgi?id=152634
2003
2004         Reviewed by Carlos Garcia Campos.
2005
2006         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
2007         (testLoadFromGResource): Added test.
2008         (beforeAll):
2009         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2010         (registerGResource): Added.
2011         (webkit_web_extension_initialize_with_user_data): Load the test gresource.
2012         * TestWebKitAPI/Tests/WebKit2Gtk/resources/boring.html: Added.
2013         * TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml: Add an HTML file.
2014
2015 2015-12-31  David Kilzer  <ddkilzer@apple.com>
2016
2017         REGRESSION (r194470): Fix warnings uncovered by migrating to WTF_MOVE
2018         <https://bugs.webkit.org/show_bug.cgi?id=152601>
2019
2020         Ignore unknown pragmas on older clangs.  Fixes the following
2021         build failure:
2022
2023             Tools/TestWebKitAPI/Tests/WTF/NakedPtr.cpp:184:34: error: unknown warning group '-Wself-move', ignored [-Werror,-Wunknown-pragmas]
2024             #pragma clang diagnostic ignored "-Wself-move"
2025                                              ^
2026             1 error generated.
2027
2028         * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
2029         (TestWebKitAPI::TEST):
2030         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
2031         (TestWebKitAPI::TEST):
2032
2033 2015-12-31  Andy Estes  <aestes@apple.com>
2034
2035         Update the style checker to advise using WTFMove() instead of WTF::move()
2036         https://bugs.webkit.org/show_bug.cgi?id=152601
2037
2038         Reviewed by Daniel Bates.
2039
2040         * Scripts/webkitpy/style/checkers/cpp.py:
2041         (check_wtf_move):
2042         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2043         (WebKitStyleTest.test_wtf_move):
2044
2045 2015-12-31  Andy Estes  <aestes@apple.com>
2046
2047         Fix warnings uncovered by migrating to WTF_MOVE
2048         https://bugs.webkit.org/show_bug.cgi?id=152601
2049
2050         Reviewed by Daniel Bates.
2051
2052         Ignored -Wself-move warnings in these two API tests. It's useful to test that these classes properly handle
2053         self-move, even if doing so would trigger a warning.
2054
2055         * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
2056         (TestWebKitAPI::TEST):
2057         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
2058         (TestWebKitAPI::TEST):
2059
2060 2015-12-31  Martin Robinson  <mrobinson@igalia.com>
2061
2062         [GTK] The install-dependencies script has a syntax error
2063         https://bugs.webkit.org/show_bug.cgi?id=152613
2064
2065         Reviewed by Michael Catanzaro.
2066
2067         * gtk/install-dependencies: Add the missing 'then.'
2068
2069 2015-12-30  Philippe Normand  <pnormand@igalia.com>
2070
2071         [Mac][GTK] Jhbuild support for OSX
2072         https://bugs.webkit.org/show_bug.cgi?id=150799
2073
2074         Reviewed by Michael Catanzaro.
2075
2076         * gtk/install-dependencies: Install dependencies on OSX with Homebrew.
2077         * gtk/jhbuild.modules: Moved platform-specific build settings in condition tags.
2078         * gtk/patches/foxbntconfig-fix-osx-cache.diff: Added.
2079         * gtk/jhbuildrc: GTK+ makeargs clean-up, the 3.0.12 hack is no longer needed.
2080
2081 2015-12-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2082
2083         Unreviewed, move Sebastian Dröge to committers list
2084
2085         He accidentally added himself to the reviewers list because the file is confusing.
2086
2087         * Scripts/webkitpy/common/config/contributors.json:
2088
2089 2015-12-24  Simon Fraser  <simon.fraser@apple.com>
2090
2091         Remove the unused #define _USE_MATH_DEFINES
2092         https://bugs.webkit.org/show_bug.cgi?id=152034
2093
2094         Reviewed by Tim Horton.
2095         
2096         Update this test to use piDouble from MathExtras.h, and
2097         std::numeric_limits<>.
2098
2099         * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
2100
2101 2015-12-24  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2102
2103         Python SCM should be able to retrieve untracked files - Generic changes
2104         https://bugs.webkit.org/show_bug.cgi?id=152536
2105
2106         Reviewed by Brent Fulgham.
2107
2108         This patch introduces SCM.untracked_files to retrieve a list of untracked files.
2109         No support is yet added to GIT and SVN specific implementations.
2110
2111         * Scripts/webkitpy/common/checkout/scm/scm.py:
2112         (SCM.untracked_files):
2113         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2114         (SCMTest._shared_test_untracked_files):
2115
2116 2015-12-23  Dewei Zhu  <dewei_zhu@apple.com>
2117
2118         SVN checkout used by RunBenchmark should be non-interactive
2119         https://bugs.webkit.org/show_bug.cgi?id=152542
2120
2121         Reviewed by Ryosuke Niwa.
2122
2123         RunBenchmark should not require user interaction while running.
2124
2125         * Scripts/webkitpy/benchmark_runner/benchmark_builder.py:
2126         (BenchmarkBuilder._checkout_with_subversion):
2127
2128 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
2129
2130         Web Inspector: add support for running protocol-test.js tests on Windows
2131         https://bugs.webkit.org/show_bug.cgi?id=148037
2132         <rdar://problem/22292237>
2133
2134         Reviewed by Simon Fraser.
2135
2136         * DumpRenderTree/win/TestRunnerWin.cpp:
2137         (TestRunner::inspectorTestStubURL): Provide implementation.
2138
2139 2015-12-23  Eric Carlson  <eric.carlson@apple.com>
2140
2141         [MediaStream] MediaDeviceInfo.label must be empty in some situations
2142         https://bugs.webkit.org/show_bug.cgi?id=152000
2143
2144         Reviewed by Brent Fulgham.
2145
2146         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2147         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2148         (WTR::InjectedBundle::setUserMediaPermission):
2149         (WTR::InjectedBundle::setUserMediaPermissionForOrigin): New.
2150         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2151
2152         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2153         (WTR::TestRunner::setUserMediaPermissionForOrigin): New.
2154         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2155
2156         * WebKitTestRunner/TestController.cpp:
2157         (WTR::TestController::setUserMediaPermissionForOrigin):
2158         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin): Add NULL check.
2159         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Don't add 
2160           persistent permission for origin, that can be done from script now.
2161         * WebKitTestRunner/TestController.h:
2162
2163         * WebKitTestRunner/TestInvocation.cpp:
2164         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Add support for
2165           SetUserMediaPermissionForOrigin.
2166
2167 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
2168
2169         [Win] Unreviewed build fix: Recognize Windows 10 variants.
2170
2171         * Scripts/webkitpy/common/system/platforminfo.py:
2172         (PlatformInfo._determine_win_version):
2173
2174 2015-12-23  Chris Aljoudi <chris@chrismatic.io> and Alex Christensen <achristensen@webkit.org>
2175
2176         Content blockers should be able to promote http to https
2177         https://bugs.webkit.org/show_bug.cgi?id=148966
2178
2179         Reviewed by Benjamin Poulain.
2180
2181         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
2182         (WebCore::ContentExtensions::operator<<):
2183         (TestWebKitAPI::TEST_F):
2184
2185 2015-12-22  Hunseop Jeong  <hs85.jeong@samsung.com>
2186
2187         [EFL] MiniBrowser should be able to choose the offline-web-application-cache option
2188         https://bugs.webkit.org/show_bug.cgi?id=152516
2189
2190         Reviewed by Gyuyoung Kim.
2191
2192         * MiniBrowser/efl/main.c:
2193
2194 2015-12-22  Brent Fulgham  <bfulgham@apple.com>
2195
2196         Unreviewed: Add John Wilander as a contributor.
2197
2198         * Scripts/webkitpy/common/config/contributors.json:
2199
2200 2015-12-22  Chris Fleizach  <cfleizach@apple.com>
2201
2202         [WK2] Looping in testcase: fast/dom/Window/property-access-on-cached-window-after-frame-removed.html
2203         https://bugs.webkit.org/show_bug.cgi?id=152482
2204
2205         Reviewed by Brent Fulgham.
2206
2207         vertical/horizontalScrollbar returns an accessibility element. That element can also be queried
2208         for the same property. On WK2, the element returned will not be valid, but is still present and
2209         that can lead to looping.
2210
2211         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2212         (AccessibilityUIElement::horizontalScrollbar):
2213         (AccessibilityUIElement::verticalScrollbar):
2214         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2215         (WTR::AccessibilityUIElement::horizontalScrollbar):
2216         (WTR::AccessibilityUIElement::verticalScrollbar):
2217
2218 2015-12-22  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2219
2220         Unreviewed.
2221
2222         * Scripts/webkitpy/common/config/contributors.json: Marking myself as reviewer.
2223
2224 2015-12-21  Hunseop Jeong  <hs85.jeong@samsung.com>
2225
2226         [EFL] test_ewk2_context failed after r192808
2227         https://bugs.webkit.org/show_bug.cgi?id=151846
2228
2229         Reviewed by Gyuyoung Kim.
2230
2231         Used the added ewk_context_web_process_count_limit_set api
2232         instead of the deprecated ewk_context_process_model_set.
2233
2234         * MiniBrowser/efl/main.c:
2235         (elm_main):
2236
2237 2015-12-21  Michael Catanzaro  <mcatanzaro@igalia.com>
2238
2239         Unreviewed, move myself to reviewer list.
2240
2241         * Scripts/webkitpy/common/config/contributors.json:
2242
2243 2015-12-21  Aakash Jain  <aakash_jain@apple.com>
2244
2245         Unreviewed, add myself to the committers list.
2246
2247         * Scripts/webkitpy/common/config/contributors.json:
2248
2249 2015-12-21  Michael Catanzaro  <mcatanzaro@igalia.com>
2250
2251         [GTK] jquery.min.js violates DFSG
2252         https://bugs.webkit.org/show_bug.cgi?id=152428
2253
2254         Reviewed by Joseph Pecoraro.
2255
2256         Stop distributing Source/WebInspectorUI/Tools. It is not needed in tarballs. This brings us
2257         into compliance with DFSG by removing a bundled, minified copy of jQuery from our tarball.
2258
2259         * gtk/manifest.txt.in:
2260
2261 2015-12-19  Dan Bernstein  <mitz@apple.com>
2262
2263         [Mac] WebKit contains dead source code for OS X Mavericks and earlier
2264         https://bugs.webkit.org/show_bug.cgi?id=152462
2265
2266         Reviewed by Alexey Proskuryakov.
2267
2268         - Removed definitions of MACOSX_DEPLOYMENT_TARGET and WEBKIT_SYSTEM_INTERFACE_LIBRARY for
2269           OS X 10.9:
2270
2271         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2272         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
2273         * MiniBrowser/Configurations/DebugRelease.xcconfig:
2274         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
2275         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2276
2277         - Simplified expressions involving __MAC_OS_X_VERSION_MIN_REQUIRED and removed code that was
2278           never getting compiled:
2279
2280         * DumpRenderTree/mac/TextInputController.m:
2281         * MiniBrowser/mac/BrowserWindowController.m:
2282         * TestWebKitAPI/Tests/mac/AttributedString.mm:
2283         * WebKitTestRunner/mac/EventSenderProxy.mm:
2284
2285 2015-12-18  Michael Catanzaro  <mcatanzaro@igalia.com>
2286
2287         Unreviewed, add WebKitGTK+ Bugzilla email to committers list
2288
2289         This is to make it easy to CC it on Bugzilla.
2290
2291         * Scripts/webkitpy/common/config/contributors.json:
2292
2293 2015-12-18  Aakash Jain  <aakash_jain@apple.com>
2294
2295         Pasteboard get messed up after running kill-old-processes
2296         https://bugs.webkit.org/show_bug.cgi?id=152426
2297
2298         Reviewed by Alexey Proskuryakov.
2299
2300         * BuildSlaveSupport/kill-old-processes:
2301         (main): Do not kill pasteboard anymore.
2302
2303 2015-12-17  Aakash Jain  <aakash_jain@apple.com>
2304
2305         run-webkit-tests shouldn't start multiple iOS simulators while only running one test
2306         https://bugs.webkit.org/show_bug.cgi?id=152157
2307         <rdar://problem/23851817>
2308
2309         Reviewed by Alexey Proskuryakov.
2310
2311         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
2312         (LayoutTestRunner.get_worker_count): Calculate required number of workers.
2313         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2314         (Manager._get_test_inputs): Common method to calculate test_inputs.
2315         (Manager._update_worker_count): Calculate and update required number of workers.
2316
2317 2015-12-16  Aakash Jain  <aakash_jain@apple.com>
2318
2319         run-webkit-tests fails to delete Simulator device during cleanup
2320         https://bugs.webkit.org/show_bug.cgi?id=152363
2321
2322         Reviewed by Alexey Proskuryakov.
2323
2324         * Scripts/webkitpy/xcode/simulator.py:
2325         (Simulator.delete_device): Ensure that device is Shutdown before deleting it.
2326
2327 2015-12-16  Tim Horton  <timothy_horton@apple.com>
2328
2329         [mac-wk2] fast/events force click tests crashing
2330         https://bugs.webkit.org/show_bug.cgi?id=152339
2331
2332         Reviewed by Beth Dakin.
2333
2334         * WebKitTestRunner/mac/EventSenderProxy.mm:
2335         (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]):
2336         Set the NSEvent's _type member in addition to overriding -type,
2337         because there are assertions in touch event handling code that depend on it.
2338
2339 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2340
2341         Enforce temporarily bots to sync WebKit and WPT testharness.js
2342         https://bugs.webkit.org/show_bug.cgi?id=152334
2343
2344         Reviewed by Darin Adler.
2345
2346         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2347         (WebPlatformTestServer._copy_webkit_test_files): Temporarily overwrite wpt testharness.js with WebKit testharness.js.
2348
2349 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2350
2351         [Fetch API] Add fetch API compile time flag
2352         https://bugs.webkit.org/show_bug.cgi?id=152254
2353
2354         Reviewed by Darin Adler.
2355
2356         * Scripts/webkitperl/FeatureList.pm:
2357
2358 2015-12-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2359
2360         Unreviewed.
2361
2362         Added files that have impact in building Streams API to the watchlist.
2363
2364         * Scripts/webkitpy/common/config/watchlist:
2365
2366 2015-12-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2367
2368         Unreviewed.
2369
2370         Added imported tests to Streams API watchlist.
2371
2372         * Scripts/webkitpy/common/config/watchlist:
2373
2374 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2375
2376         Remove default copy of wpt testharness.js when launching wpt server
2377         https://bugs.webkit.org/show_bug.cgi?id=152298
2378
2379         Reviewed by Darin Adler.
2380
2381         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2382         (WebPlatformTestServer._copy_webkit_test_files): Deleted default copy of WebKit testharness.js to WPT.
2383
2384 2015-12-15  David Kilzer  <ddkilzer@apple.com>
2385
2386         REGRESSION (r192375): DumpRenderTree.app exits immediately with no error
2387         <http://webkit.org/b/152314>
2388
2389         Reviewed by Daniel Bates.
2390
2391         The change to DumpRenderTreeMain.mm in r192375 caused the iOS
2392         code path to exit immediately when calling main().
2393         Unfortunately, DumpRenderTreeMain.mm was used for both
2394         DumpRenderTree command-line binary and DumpRenderTree.app, which
2395         meant that the app would exit immediately with no error code
2396         when run!
2397
2398         The workaround is to introduce a separate source file called
2399         DumpRenderTreeAppMain.mm, similar to what WebKitTestRunner
2400         already does.
2401
2402         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Add
2403         DumpRenderTreeAppMain.mm to the project.  Make it the only
2404         compiled source for the DumpRenderTree.app target.
2405         * DumpRenderTree/ios/DumpRenderTreeAppMain.mm: Copied from Tools/DumpRenderTree/mac/DumpRenderTreeMain.mm.
2406         (main): Call DumpRenderTreeMain() on iOS.  Assert on OS X in
2407         case someone tries mistakenly to use the app.
2408         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2409         Link to JavaScriptCore.framework on iOS for the assert.
2410         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
2411         Link to JavaScriptCore.framework on OS X for the assert.  Remove
2412         unneeded EXCLUDED_SOURCE_FILE_NAMES setting.
2413         * DumpRenderTree/mac/DumpRenderTreeMain.mm:
2414         (main): Add assert for iOS so that a crash occurs if someone
2415         tries to run the wrong command.
2416
2417 2015-12-14  Tim Horton  <timothy_horton@apple.com>
2418
2419         Frequent crash under -[WKPDFView web_setMinimumSize:]_block_invoke
2420         https://bugs.webkit.org/show_bug.cgi?id=152266
2421         <rdar://problem/22092676>
2422
2423         Reviewed by Simon Fraser.
2424
2425         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2426         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewResizeCrash.mm: Added.
2427         Add a test that crashed before this change, and doesn't crash after.
2428
2429 2015-12-14  Chris Fleizach  <cfleizach@apple.com>
2430
2431         AX: iOS: Text field variations do not have the correct traits
2432         https://bugs.webkit.org/show_bug.cgi?id=152237
2433
2434         Reviewed by Mario Sanchez Prada.
2435
2436         Add iOS calls for determing if an object is a search field or a text area.
2437
2438         * DumpRenderTree/AccessibilityUIElement.cpp:
2439         (getIsSearchFieldCallback):
2440         (getIsTextAreaCallback):
2441         (stringForSelectionCallback):
2442         (AccessibilityUIElement::getJSClass):
2443         * DumpRenderTree/AccessibilityUIElement.h:
2444         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2445         (AccessibilityUIElement::identifier):
2446         (AccessibilityUIElement::isTextArea):
2447         (AccessibilityUIElement::isSearchField):
2448         (AccessibilityUIElement::traits):
2449         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2450         (WTR::AccessibilityUIElement::scrollPageRight):
2451         (WTR::AccessibilityUIElement::hasContainedByFieldsetTrait):
2452         (WTR::AccessibilityUIElement::fieldsetAncestorElement):
2453         (WTR::AccessibilityUIElement::isSearchField):
2454         (WTR::AccessibilityUIElement::isTextArea):
2455         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2456         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2457         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2458         (WTR::AccessibilityUIElement::fieldsetAncestorElement):
2459         (WTR::AccessibilityUIElement::isTextArea):
2460         (WTR::AccessibilityUIElement::isSearchField):
2461         (WTR::AccessibilityUIElement::rowCount):
2462
2463 2015-12-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2464
2465         [GTK] [JHBuild] package libtool-bin is now required on Debian systems.
2466         https://bugs.webkit.org/show_bug.cgi?id=152252
2467
2468         Reviewed by Sergio Villar Senin.
2469
2470         * gtk/install-dependencies: Add libtool-bin to the list of packages required
2471         for building the JHBuild on Debian systems.
2472
2473 2015-12-11  Joseph Pecoraro  <pecoraro@apple.com>
2474
2475         check-for-inappropriate-objc-class-names should check all class names, not just externally visible ones
2476         https://bugs.webkit.org/show_bug.cgi?id=152156
2477
2478         Reviewed by Dan Bernstein.
2479
2480         Our frameworks should appropriately prefix all ObjC classes,
2481         not just external symbols.
2482
2483         * Scripts/check-for-inappropriate-objc-class-names:
2484         Remove the -g switch to check all ObjC class names.
2485
2486 2015-12-10  Eric Carlson  <eric.carlson@apple.com>
2487
2488         [MediaStream] Expose media capture devices persistent permissions to WebCore
2489         https://bugs.webkit.org/show_bug.cgi?id=152087
2490
2491         Add support for the new user media permission checker page UI client method.
2492
2493         Reviewed by Chris Dumez.
2494
2495         * WebKitTestRunner/TestController.cpp:
2496         (WTR::decidePolicyForUserMediaPermissionRequest):
2497         (WTR::checkUserMediaPermissionForOrigin):
2498         (WTR::TestController::createOtherPage): Add checkUserMediaPermissionForOrigin.
2499         (WTR::TestController::createWebViewWithOptions): Ditto.
2500         (WTR::TestController::resetStateToConsistentValues): Clear m_userMediaOriginPermissions.
2501         (WTR::originUserVisibleName): New, create a string for the origin.
2502         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin): Set the WKUserMediaPermissionCheckRef
2503           according to the state of the origin permission map.
2504         (WTR::TestController::handleUserMediaPermissionRequest): Remember both the origin and the
2505           request so we can update the origin permission map in decidePolicyForUserMediaPermissionRequestIfPossible.
2506         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Update the
2507           origin permission map.
2508         * WebKitTestRunner/TestController.h:
2509
2510 2015-12-10  Alex Christensen  <achristensen@webkit.org>
2511
2512         REGRESSION (r192796) WKBundlePageResourceLoadClient should be able to setHTTPBody in willSendRequestForFrame
2513         https://bugs.webkit.org/show_bug.cgi?id=152022
2514         rdar://problem/23763584
2515
2516         Reviewed by Darin Adler.
2517
2518         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2519         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2520         (WTR::InjectedBundlePage::willSendRequestForFrame):
2521         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2522         (WTR::TestRunner::setWillSendRequestReturnsNull):
2523         (WTR::TestRunner::willSendRequestReturnsNullOnRedirect):
2524         (WTR::TestRunner::setWillSendRequestReturnsNullOnRedirect):
2525         (WTR::TestRunner::setWillSendRequestAddsHTTPBody):
2526         (WTR::TestRunner::willSendRequestHTTPBody):
2527         Added setWillSendRequestAddsHTTPBody that uses new SPI for testing.
2528
2529 2015-12-10  Aakash Jain  <aakash_jain@apple.com>
2530
2531         Remove additional simulator checks before running layout-tests
2532         https://bugs.webkit.org/show_bug.cgi?id=152146
2533
2534         Reviewed by Darin Adler.
2535
2536         * Scripts/webkitpy/port/ios.py:
2537         (IOSSimulatorPort.check_sys_deps): Removed additional simulators verifications.
2538         * Scripts/webkitpy/xcode/simulator.py:
2539         (Simulator._boot_and_shutdown_simulator_device): Deleted.
2540         (Simulator.check_simulator_device_and_erase_if_needed): Deleted.
2541
2542 2015-12-09  Aakash Jain  <aakash_jain@apple.com>
2543
2544         Run atleast one simulator even if max process limit is low
2545         https://bugs.webkit.org/show_bug.cgi?id=152081
2546         <rdar://problem/23819694>
2547
2548         Reviewed by Alexey Proskuryakov.
2549
2550 2015-12-09  Mario Sanchez Prada  <mario@endlessm.com>
2551
2552         [GTK] Crash in WebProcess when loading large content with custom URI schemes
2553         https://bugs.webkit.org/show_bug.cgi?id=144262
2554
2555         Reviewed by Carlos Garcia Campos.
2556
2557         Added new unit test to check the additional scenarios we now
2558         handle for custom URI schemes.
2559
2560         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
2561         (generateHTMLContent): New helper function to generate big enough content.
2562         (testWebContextURIScheme): New unit test.
2563
2564 2015-12-09  Ryuan Choi  <ryuan.choi@navercorp.com>
2565
2566         [EFL] Fix unhandled web process message when launching MiniBrowser
2567         https://bugs.webkit.org/show_bug.cgi?id=152048
2568
2569         Reviewed by Gyuyoung Kim.
2570
2571         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
2572         (TestWebKitAPI::TEST):
2573
2574 2015-12-09  Carlos Garcia Campos  <cgarcia@igalia.com>
2575
2576         [GTK] Add API to handle beforeunload events
2577         https://bugs.webkit.org/show_bug.cgi?id=139090
2578
2579         Reviewed by Gustavo Noronha Silva.
2580
2581         * MiniBrowser/gtk/BrowserWindow.c:
2582         (browserWindowConstructed):
2583         (browserWindowDeleteEvent):
2584         (browser_window_class_init):
2585         Handle delete-event to prevent the window from being closed when
2586         the page has beforeunload handlers. Use
2587         webkit_web_view_try_close() when the window is requested to be
2588         closed.
2589         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
2590         (testWebViewJavaScriptDialogs):
2591         Add a test case for the WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM
2592         script dialog type.
2593
2594 2015-12-09  Mario Sanchez Prada  <mario@endlessm.com>
2595
2596         Refactored initialization code in LoadTrackingTest.
2597
2598         Rubber-stamped by Carlos Garcia Campos.
2599
2600         Small refactoring to make sure that the state of a LoadTrackingTest
2601         gets properly reset before loading new web content.
2602
2603         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h:
2604         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp:
2605         (LoadTrackingTest::reset): New, refactored code from *load*() and go*()
2606         functions and reset the remaining local variables.
2607         (LoadTrackingTest::loadURI): Call reset();
2608         (LoadTrackingTest::loadHtml): Ditto.
2609         (LoadTrackingTest::loadPlainText): Ditto.
2610         (LoadTrackingTest::loadBytes): Ditto.
2611         (LoadTrackingTest::loadRequest): Ditto.
2612         (LoadTrackingTest::reload): Ditto.
2613         (LoadTrackingTest::goBack): Ditto.
2614         (LoadTrackingTest::goForward): Ditto.
2615
2616 2015-12-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2617
2618         [EFL] REGRESSION(r193616): WKPreferences test has been failed since r193616
2619         https://bugs.webkit.org/show_bug.cgi?id=151942
2620
2621         Reviewed by Darin Adler.
2622
2623         * MiniBrowser/efl/main.c:
2624         (window_create): Enable offline web application cache feature on MiniBrowser.
2625         (elm_main):
2626
2627 2015-12-08  Aakash Jain  <aakash_jain@apple.com>
2628
2629         https://bugs.webkit.org/show_bug.cgi?id=151243
2630         <rdar://problem/22955197>
2631
2632         Reviewed by Alexey Proskuryakov.
2633
2634         * LayoutTestRelay/LayoutTestRelay/main.m:
2635         (getTestingSimDevice): Use separate testing device for each worker.
2636         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2637         (Manager.run): Perform cleanup even if setup fails.
2638         * Scripts/webkitpy/port/ios.py:
2639         (IOSSimulatorPort.default_child_processes): Calculate number of simulators to use.
2640         (IOSSimulatorPort.child_processes): Gets the number of simulators from options variable.
2641         (IOSSimulatorPort.setup_test_run): Handle mulitple simulators.
2642         (IOSSimulatorPort._quit_ios_simulator): Same
2643         (IOSSimulatorPort.clean_up_test_run): Same
2644         (IOSSimulatorPort.check_sys_deps): Same
2645         (IOSSimulatorPort.testing_device): Same
2646         (IOSSimulatorPort.reset_preferences): Same
2647         (IOSSimulatorPort.get_simulator_path): Return simulator path.
2648         (IOSSimulatorPort._createSimulatorApp): Create the copy of simulator app.
2649         * Scripts/webkitpy/xcode/simulator.py:
2650         (Device.delete): Delete the simulator device.
2651         (Simulator.delete_device): Same
2652         (Simulator.wait_until_device_is_booted): Wait for device booting.
2653
2654 2015-12-08  Ryuan Choi  <ryuan.choi@navercorp.com>
2655
2656         [EFL] Add API to provide preferences before creating ewk_view
2657         https://bugs.webkit.org/show_bug.cgi?id=151587
2658
2659         Reviewed by Gyuyoung Kim.
2660
2661         * MiniBrowser/efl/main.c:
2662         (on_key_down):
2663         (quit):
2664         (window_create):
2665         Moved settings related code to configuration() not to update settings
2666         whenever ewk_view is created.
2667         (configuration):
2668         (elm_main):
2669
2670 2015-12-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2671
2672         Unreviewed. Fix GTK+ API tests after r193639.
2673
2674         The new jhbuild version needs some more variables ot be present in
2675         the builtin dict, even if they are set to None.
2676
2677         * jhbuild/jhbuildutils.py:
2678         (enter_jhbuild_environment_if_available):
2679
2680 2015-12-07  Gustavo Noronha Silva  <gns@gnome.org>
2681
2682         [GTK] Notify WebCore when notification is clicked
2683         https://bugs.webkit.org/show_bug.cgi?id=151951
2684
2685         Reviewed by Carlos Garcia Campos.
2686
2687         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
2688         (testWebViewNotification): test the new API.
2689
2690 2015-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
2691
2692         'jhbuild build' should fail immediately when building any module fails
2693         https://bugs.webkit.org/show_bug.cgi?id=145697
2694
2695         Reviewed by Carlos Garcia Campos.
2696
2697         * efl/jhbuildrc: Update jhbuildrc to account for the removal of the use_lib64 option.
2698         * gtk/jhbuildrc: Update jhbuildrc to account for the removal of the use_lib64 option.
2699         Everything is placed under lib instead of lib64 now.
2700         * jhbuild/jhbuild-wrapper: Update jhbuild to the latest upstream commit, and pass
2701         --exit-on-error when running 'jhbuild build'.
2702         * jhbuild/jhbuildrc_common.py:
2703         (init): Don't override PKG_CONFIG_PATH, CMAKE_PREFIX_PATH, or CMAKE_LIBRARY_PATH. Modern
2704         jhbuild should be able to handle these for us without breaking things....
2705
2706 2015-12-07  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2707
2708         Add support to import w3c tests from a repository with a different root that the main repo dir
2709         https://bugs.webkit.org/show_bug.cgi?id=151751
2710
2711         Reviewed by Ryosuke Niwa and Youenn Fablet.
2712
2713         We should be able to import tests from repositories that are not pure test repositories and where tests are kept
2714         in a different directory than the repository root.
2715
2716         This patch introduces a new parameter tests_directory that we will use as root directory to search for
2717         tests. All paths will be flattened when copying tests to have a less complicated directory structure. This
2718         requires having the copy_path lists including tuples of origin and destination directories.
2719
2720         * Scripts/webkitpy/w3c/test_downloader.py:
2721         (TestDownloader._add_test_suite_paths): Adds the paths as a tuple of origin and destination directory.
2722         (TestDownloader.copy_tests): Uses the origin and destination tuple for the paths to copy when copying files.
2723         * Scripts/webkitpy/w3c/test_importer_unittest.py:
2724         (TestImporterTest.test_tests_directory): Test.
2725
2726 2015-12-07  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2727
2728         Mock TestRepositories in W3C importer tests
2729         https://bugs.webkit.org/show_bug.cgi?id=151938
2730
2731         Reviewed by Youenn Fablet.
2732
2733         The test importer tests should use a fake repository instead of using the real one. The reason why this happened
2734         is because the test repository method reading the file was using the filesystem directly instead of taking the
2735         host one. This patch changes that.
2736
2737         * Scripts/webkitpy/w3c/test_downloader.py:
2738         (TestDownloader.load_test_repositories): Take a filesystem and use it. If we get no filesystem, we use the
2739         default one.
2740         (TestDownloader.__init__): When loading the repositories, pass the host filesystem.
2741         * Scripts/webkitpy/w3c/test_importer_unittest.py:
2742         (TestImporterTest.test_harnesslinks_conversion):
2743         (TestImporterTest.test_submodules_generation): Use a fake test repository file.
2744
2745 2015-12-07  David Kilzer  <ddkilzer@apple.com>
2746
2747         TestNetscapePlugIn: Address review comment on 193607
2748         <http://webkit.org/b/151881>
2749
2750         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
2751         (testSetStatus): Initializing std::unique_ptr<char[]> with
2752         nullptr is redundant.
2753
2754 2015-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2755
2756         [GTK] Add webkit_uri_request_get_http_method
2757         https://bugs.webkit.org/show_bug.cgi?id=151601
2758
2759         Reviewed by Martin Robinson.
2760
2761         Add test case to check HTTP method of WebKitURIRequest.
2762
2763         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
2764         (testURIRequestHTTPMethod):
2765         (serverCallback):
2766         (beforeAll):
2767         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2768         (sendRequestCallback):
2769
2770 2015-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2771
2772         [GTK] Add WebKitWebPage::console-message-sent signal to Web Extensions API
2773         https://bugs.webkit.org/show_bug.cgi?id=79918
2774
2775         Reviewed by Gustavo Noronha Silva.
2776
2777         Add unit tests to check the different console messages.
2778
2779         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
2780         * TestWebKitAPI/Tests/WebKit2Gtk/TestConsoleMessage.cpp: Added.
2781         (ConsoleMessageTest::ConsoleMessage::operator==):
2782         (ConsoleMessageTest::consoleMessageReceivedCallback):
2783         (ConsoleMessageTest::ConsoleMessageTest):
2784         (ConsoleMessageTest::~ConsoleMessageTest):
2785         (ConsoleMessageTest::waitUntilConsoleMessageReceived):
2786         (testWebKitConsoleMessageConsoleAPI):
2787         (testWebKitConsoleMessageJavaScriptException):
2788         (testWebKitConsoleMessageNetworkError):
2789         (testWebKitConsoleMessageSecurityError):
2790         (beforeAll):
2791         (afterAll):
2792         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2793         (consoleMessageSentCallback):
2794         (pageCreatedCallback):
2795
2796 2015-12-07  Ryuan Choi  <ryuan.choi@navercorp.com>
2797
2798         [EFL] MiniBrowser doesn't exit when called ewk_view_try_close()
2799         https://bugs.webkit.org/show_bug.cgi?id=151934
2800
2801         Reviewed by Csaba Osztrogonác.
2802
2803         * MiniBrowser/efl/main.c:
2804         (on_window_deletion): Revert the changes of r192767.
2805
2806 2015-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
2807
2808         [GTK] update-webkitgtk-libs cannot build mesa
2809         https://bugs.webkit.org/show_bug.cgi?id=151535
2810
2811         Reviewed by Martin Robinson.
2812
2813         Upgrade to newer mesa in order to build successfully against LLVM 3.7. Add missing
2814         dependency of mesa on LLVM, to ensure LLVM is built first. Build LLVM unconditionally, even
2815         on architectures where FTL is not supported, to ensure mesa is always buildable, since LLVM
2816         does not have a stable API and we cannot expect mesa to be buildable unless we control the
2817         LLVM version. Build mesa with --disable-egl since --enable-egl conflicts with
2818         --enable-xlib-glx. This fixes update-webkitgtk-libs on distros with LLVM 3.7.
2819
2820         * gtk/jhbuild.modules:
2821
2822 2015-12-07  Philippe Normand  <pnormand@igalia.com>
2823
2824         [GTK][Mac] libWebExtensionTest link error
2825         https://bugs.webkit.org/show_bug.cgi?id=150802
2826
2827         Reviewed by Carlos Garcia Campos.
2828
2829         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: add dependencies to the webextension library.
2830
2831 2015-12-06  David Kilzer  <ddkilzer@apple.com>
2832
2833         TestNetscapePlugIn: Fix leaks found by static analyzer
2834         <http://webkit.org/b/151881>
2835
2836         Reviewed by Darin Adler.
2837
2838         Fixes the following leaks found by the static analyzer:
2839             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'path'
2840                     return false;
2841                            ^~~~~
2842             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'target'
2843                     return false;
2844                            ^~~~~
2845             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'url'
2846                     return false;
2847                            ^~~~~
2848
2849         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
2850         (toCString): Switch to returning std::unique_ptr<char[]>.  Add
2851         early return if allocation fails.
2852         (testPostURLFile): Switch to using std::unique_ptr<char[]>.
2853         Make sure to call fclose() on filehandle, even for an early
2854         return.
2855         (testSetStatus): Switch to using std::unique_ptr<char[]>.
2856
2857 2015-12-05  David Kilzer  <ddkilzer@apple.com>
2858
2859         prepare-ChangeLog: Fix some warning messages when using svn
2860         <http://webkit.org/b/151914>
2861
2862         Reviewed by Daniel Bates.
2863
2864         * Scripts/prepare-ChangeLog:
2865         (generateFunctionLists): Simplify logic so that we never call
2866         normalizePath() with an undefined value.
2867         (attributeCommand): Quote $subPath for the shell so that we
2868         don't try to run "svn propget" on invalid paths.
2869
2870 2015-12-04  David Kilzer  <ddkilzer@apple.com>
2871
2872         TestNetscapePlugIn: Fix remaining static analyzer warnings
2873         <http://webkit.org/b/151888>
2874
2875         Reviewed by Alexey Proskuryakov.
2876
2877         Fixes the following static analyzer warnings:
2878             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:101:9: warning: Called function pointer is null (null dereference)
2879                     CRASH();
2880                     ^~~~~~~
2881             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:46:5: note: expanded from macro 'CRASH'
2882                 ((void(*)())0)(); /* More reliable, but doesn't say BBADBEEF */ \
2883                 ^~~~~~~~~~~~~~~~
2884             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:375:12: warning: Access to field 'pluginTest' results in a dereference of a null pointer (loaded from variable 'obj')
2885                 return obj->pluginTest->NPP_SetWindow(window);
2886                        ^~~~~~~~~~~~~~~
2887             2 warnings generated.
2888
2889         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
2890         (CRASH): Use __builtin_trap() for gcc/clang.
2891         (NPP_SetWindow): Add early return if obj is nullptr.
2892
2893 2015-12-03  Carlos Garcia Campos  <cgarcia@igalia.com>
2894
2895         [GTK] Test /webkit2/WebKitWebResource/get-data is flaky
2896         https://bugs.webkit.org/show_bug.cgi?id=151797
2897
2898         Reviewed by Martin Robinson.
2899
2900         Since we switched to use the network process to run the unit tests
2901         the test /webkit2/WebKitWebResource/get-data sometimes fails and
2902         sometimes passes. We are now also getting the notification for the
2903         css image. Since we wait for 3 resources, sometimes the css image
2904         is loaded before and then checkResourceData is called for it, but
2905         not handled. When the css image is the last one loaded the test
2906         passes. So, we just need to wait for the 4 resources.
2907
2908         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
2909         (testWebResourceGetData):
2910
2911 2015-12-03  David Kilzer  <ddkilzer@apple.com>
2912
2913         DumpRenderTree: Use-after-free in createBitmapContext() in PixelDumpSupportMac.mm
2914         <http://webkit.org/b/151845>
2915
2916         Reviewed by Simon Fraser.
2917
2918         Fixes the following static analyzer warning:
2919             DumpRenderTree/mac/PixelDumpSupportMac.mm:67:9: warning: Use of memory after it is freed
2920                     WTFLogAlways("DumpRenderTree: CGBitmapContextCreate(%p, %llu, %llu, 8, %llu, %p, 0x%x) failed\n", buffer, pixelsHigh, pixelsWide, rowBytes, colorSpace.get(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host);
2921                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2922
2923         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2924         (createBitmapContext): Free 'buffer' after using it in logging
2925         to fix the use-after-free.  Assign a value of nullptr to buffer
2926         so we don't return with it set to a freed address.
2927
2928 2015-12-03  Jer Noble  <jer.noble@apple.com>
2929
2930         Expose WebCore's InvisibleAutoplayNotPermitted setting to WebKit & WebKit2
2931         https://bugs.webkit.org/show_bug.cgi?id=151830
2932
2933         Reviewed by Anders Carlsson.
2934
2935         Set invisibleAutoplayNotPermitted to NO by default both in WKTR and DRT.
2936
2937         * DumpRenderTree/mac/DumpRenderTree.mm:
2938         (resetWebPreferencesToConsistentValues):
2939         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2940         (WTR::initializeWebViewConfiguration):
2941
2942 2015-12-03  Anders Carlsson  <andersca@apple.com>
2943
2944         Remove Objective-C GC support
2945         https://bugs.webkit.org/show_bug.cgi?id=151819
2946         rdar://problem/23746991
2947
2948         Reviewed by Dan Bernstein.
2949
2950         * asan/asan.xcconfig:
2951
2952 2015-12-02  Yusuke Suzuki  <utatane.tea@gmail.com>
2953
2954         Allow nil for unspecified benchmark pathes
2955         https://bugs.webkit.org/show_bug.cgi?id=151784
2956
2957         Reviewed by Filip Pizlo.
2958
2959         `Pathname.new(nil)` will raise an error.
2960         Only generate Pathname if the benchmark path is specified.
2961
2962         * Scripts/run-jsc-benchmarks:
2963
2964 2015-12-02  Brent Fulgham  <bfulgham@apple.com>
2965
2966         [Win] Run non-http tests without Cygwin
2967         https://bugs.webkit.org/show_bug.cgi?id=151721
2968
2969         Reviewed by Andy Estes.
2970
2971         Support native 32-bit and 64-bit Python (and Perl) builds
2972         for running tests:
2973
2974         1. Use "startswith('win')", rather than "== 'win32'" to support
2975         various Windows build types.
2976         2. Supply full path for some native Windows utilities, since the
2977         path environment does not always have the specified, and they are
2978         guaranteed to exist in those specific locations.
2979         3. Make sure native Windows Python test runs pass proper environment
2980         variables to run programs.
2981         4. Append 'exe' suffix when running Windows executables.
2982         5. Use the _winreg Python module on Windows, since the Cygwin 'regtool'
2983         command doesn't exist.
2984         
2985         * Scripts/update-webkit: Use Perl $^X command to refer to the path of
2986         the current Perl executable, rather than requiring a new path search.
2987         * Scripts/webkitpy/common/find_files_unittest.py:
2988         (TestWinNormalize.test_win): Use startswith('win').
2989         * Scripts/webkitpy/common/prettypatch_unittest.py:
2990         (test_pretty_diff_encodings): Ditto.
2991         * Scripts/webkitpy/common/system/executive.py:
2992         (Executive._should_close_fds): Ditto.
2993         (Executive.shell_command_for_script): Use startswith('win').
2994         (Executive.kill_process): Use full path to killall executable.
2995         (Executive.check_running_pid): Use startswith('win').
2996         (Executive.running_pids): Ditto.
2997         (Executive.kill_all): Ditto. Also use path to 'killall' executable when
2998         running under native Windows Python.
2999         (Executive._child_process_encoding): Use startswith('win').
3000         (Executive._should_encode_child_process_arguments): Ditto.
3001         (Executive.popen): Recognize proper script engine on Windows, since it
3002         does not support the shebang syntax.
3003         (Executive.run_in_parallel): Use startswith('win').
3004         * Scripts/webkitpy/common/system/executive_unittest.py:
3005         (never_ending_command): Ditto.
3006         (ExecutiveTest.test_run_command_with_unicode): Ditto.
3007         (ExecutiveTest.serial_test_kill_process): Ditto.
3008         (ExecutiveTest.serial_test_kill_all): Ditto.
3009         (ExecutiveTest.serial_test_check_running_pid): Ditto.
3010         (ExecutiveTest.serial_test_run_in_parallel): Ditto.
3011         (main): Ditto.
3012         * Scripts/webkitpy/common/system/file_lock.py:
3013         (FileLock._create_lock): Ditto.
3014         (FileLock._remove_lock): Ditto.
3015         * Scripts/webkitpy/common/system/filesystem_unittest.py:
3016         (RealFileSystemTest.test_chdir): Ditto.
3017         (RealFileSystemTest.test_chdir__notexists): Ditto.
3018         (RealFileSystemTest.test_maybe_make_directory__failure): Ditto.
3019         * Scripts/webkitpy/common/system/path_unittest.py:
3020         (AbspathTest.test_abspath_to_uri_win): Ditto.
3021         * Scripts/webkitpy/common/system/platforminfo.py:
3022         (PlatformInfo._determine_os_name): Ditto.
3023         * Scripts/webkitpy/common/system/user.py: Ditto.
3024         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
3025         (ManagerTest.integration_test_needs_servers): Ditto.
3026         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
3027         (LayoutTestApacheHttpd.__init__): Handle upper and lower-case
3028         driver letters.
3029         (LayoutTestApacheHttpd._get_apache_config_file_path): Ditto.
3030         * Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py:
3031         (TestLayoutTestApacheHttpd.test_start_cmd): Ditto.
3032         * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
3033         (HttpServerBase._check_that_all_ports_are_available): Ditto.
3034         * Scripts/webkitpy/layout_tests/servers/http_server_unittest.py:
3035         (TestHttpServer.test_start_cmd): Ditto.
3036         * Scripts/webkitpy/port/base.py:
3037         (Port.to.setup_environ_for_server): Include 'COMSPEC', 'SYSTEMDRIVE',
3038         and 'SYSTEMROOT' in environment passed to test runners.
3039         (Port._apache_config_file_name_for_platform): Use startswith('win').
3040         (Port._build_path): Ditto.
3041         (Port._path_to_driver): Include 'exe' suffix when running under native
3042         Windows.
3043         * Scripts/webkitpy/port/driver.py:
3044         (Driver._setup_environ_for_driver): Explicitly make some environment
3045         variables strings.
3046         * Scripts/webkitpy/port/server_process.py:
3047         (ServerProcess.__init__): Use startswith('win').
3048         * Scripts/webkitpy/port/win.py:
3049         (WinPort): Use the win32 registry utilities on Windows, and appropriate
3050         registry key formats.
3051         (WinPort._ntsd_location): Revise tool search paths for Windows 10.
3052         (WinPort.read_registry_value): Revise to use _winreg library on Windows,
3053         and regtool on Cygwin.
3054         (WinPort.write_registry_value): Ditto.
3055         (WinPort.setup_crash_log_saving): Ditto.
3056         (WinPort.restore_crash_log_saving): Ditto.
3057         (WinPort.prevent_error_dialogs): Ditto.
3058         (WinPort.allow_error_dialogs): Ditto.
3059         (WinPort.find_system_pid): Revise to use Windows management
3060         infrastructure on native Windows, continue using 'ps' on Cygwin.
3061         (WinPort.read_registry_string): Deleted.
3062         (WinPort.write_registry_string): Deleted.
3063         * Scripts/webkitpy/test/main.py:
3064         (main): Use startswith('win').
3065         (Tester._parse_args): Ditto.
3066
3067 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
3068
3069         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
3070         https://bugs.webkit.org/show_bug.cgi?id=150792
3071
3072         Reviewed by Saam Barati.
3073
3074         * Scripts/webkitperl/FeatureList.pm:
3075
3076 2015-12-01  Commit Queue  <commit-queue@webkit.org>
3077
3078         Unreviewed, rolling out r192914.
3079         https://bugs.webkit.org/show_bug.cgi?id=151734
3080
3081         JSC tests for this change are failing on 32 and 64-bit bots
3082         (Requested by ryanhaddad on #webkit).
3083
3084         Reverted changeset:
3085
3086         "[ES6] Implement LLInt/Baseline Support for ES6 Generators and
3087         enable this feature"
3088         https://bugs.webkit.org/show_bug.cgi?id=150792
3089         http://trac.webkit.org/changeset/192914
3090
3091 2015-12-01  David Kilzer  <ddkilzer@apple.com>
3092
3093         EventSenderProxy::swipeGestureWithWheelAndMomentumPhases() leaks an EventSenderSyntheticEvent
3094         <http://webkit.org/b/151726>
3095
3096         Reviewed by Simon Fraser.
3097
3098         * WebKitTestRunner/mac/EventSenderProxy.mm:
3099         (WTR::EventSenderProxy::swipeGestureWithWheelAndMomentumPhases):
3100         Deploy RetainPtr<EventSenderSyntheticEvent> to fix leak.
3101
3102 2015-12-01  Myles C. Maxfield  <mmaxfield@apple.com>
3103
3104         Give String and AtomicString an existingHash() function
3105         https://bugs.webkit.org/show_bug.cgi?id=151717
3106
3107         Reviewed by Andreas Kling.
3108
3109         * TestWebKitAPI/Tests/WTF/AtomicString.cpp:
3110         (TestWebKitAPI::TEST):
3111         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
3112         (TestWebKitAPI::TEST):
3113
3114 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
3115
3116         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
3117         https://bugs.webkit.org/show_bug.cgi?id=150792
3118
3119         Reviewed by Saam Barati.
3120
3121         * Scripts/webkitperl/FeatureList.pm:
3122
3123 2015-12-01  Sam Weinig  <sam@webkit.org>
3124
3125         Need completionHandler-based WebKit C SPI for alert, confirm, and prompt
3126         <rdar://problem/23320863>
3127         https://bugs.webkit.org/show_bug.cgi?id=151708
3128
3129         Reviewed by Anders Carlsson.
3130
3131         * WebKitTestRunner/TestController.cpp:
3132         (WTR::TestController::createOtherPage):
3133         (WTR::TestController::createWebViewWithOptions):
3134         Update for new WKPageUIClient.
3135
3136 2015-12-01  Anders Carlsson  <andersca@apple.com>
3137
3138         Remove WebKit2.framework
3139         https://bugs.webkit.org/show_bug.cgi?id=151715
3140
3141         Reviewed by Dan Bernstein.
3142
3143         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad.cpp:
3144         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad_bundle.cpp:
3145         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
3146         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
3147         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
3148         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
3149         * TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.h:
3150
3151 2015-12-01  Joseph Pecoraro  <pecoraro@apple.com>
3152
3153         Unreviewed common typo fix "occurance" => "occurrence".
3154
3155         * Scripts/webkitpy/tool/commands/queries.py:
3156         (FindFlakyTests._print_statistics):
3157
3158 2015-11-30  Alex Christensen  <achristensen@webkit.org>
3159
3160         Make ProcessModel always MultipleSecondaryProcesses
3161         https://bugs.webkit.org/show_bug.cgi?id=151662
3162
3163         Reviewed by Antti Koivisto.
3164
3165         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
3166         (TestWebKitAPI::TEST):
3167         * WebKitTestRunner/TestController.cpp:
3168         (WTR::TestController::generatePageConfiguration):
3169
3170 2015-11-30  Alex Christensen  <achristensen@webkit.org>
3171
3172         Make usesNetworkProcess always true
3173         https://bugs.webkit.org/show_bug.cgi?id=151580
3174
3175         Reviewed by Darin Adler.
3176
3177         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
3178         (TestWebKitAPI::TEST):
3179         * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp:
3180         (TestWebKitAPI::TEST):
3181         * WebKitTestRunner/TestController.cpp:
3182         (WTR::TestController::generatePageConfiguration):
3183
3184 2015-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
3185
3186         Unreviewed. Skip GTK+ test /webkit2/WebKitWebView/editable/editable in Debug.
3187
3188         Add a way to skip unit tests only for Debug or Release builds and
3189         skipt the test /webkit2/WebKitWebView/editable/editable only for Debug.
3190
3191         * Scripts/run-gtk-tests:
3192         (SkippedTest):
3193         (SkippedTest.__init__):
3194         (SkippedTest.__str__):
3195         (SkippedTest.skip_entire_suite):
3196         (SkippedTest.skip_for_build_type):
3197         (TestRunner):
3198         (TestRunner.__init__):
3199
3200 2015-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
3201
3202         Unreviewed. Fix a crash in GTK+ test /webkit2/WebKitWebView/custom-charset.
3203
3204         It's an assert hit because we are reloading a view loaded with
3205         HTML data which is not supported. Use loadURI instead.
3206
3207         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3208         (testWebViewCustomCharset):
3209
3210 2015-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
3211
3212         [GLIB] Remove GMainLoopSource and GThreadSafeMainLoopSource
3213         https://bugs.webkit.org/show_bug.cgi?id=151633
3214
3215         Reviewed by Csaba Osztrogonác.
3216
3217         * TestWebKitAPI/PlatformGTK.cmake:
3218         * TestWebKitAPI/Tests/WTF/glib/GMainLoopSource.cpp: Removed.
3219
3220 2015-11-27  Carlos Garcia Campos  <cgarcia@igalia.com>
3221
3222         [GTK] Remove the remaining uses of GMainLoopSource
3223         https://bugs.webkit.org/show_bug.cgi?id=151632
3224
3225         Reviewed by Žan Doberšek.
3226
3227         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
3228         (testWebViewSyncRequestOnMaxConns):
3229         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
3230         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3231         (WTR::TestRunner::TestRunner):
3232         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3233         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
3234         (WTR::TestRunner::invalidateWaitToDumpWatchdogTimer):
3235         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
3236         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
3237         (WTR::timeoutSource):
3238         (WTR::TestController::notifyDone):
3239         (WTR::TestController::platformRunUntil):
3240
3241 2015-11-27  Csaba Osztrogonác  <ossy@webkit.org>
3242
3243         [cmake] Add testb3 to the build system
3244         https://bugs.webkit.org/show_bug.cgi?id=151619
3245
3246         Reviewed by Gyuyoung Kim.
3247
3248         * Scripts/build-jsc:
3249
3250 2015-11-27  Csaba Osztrogonác  <ossy@webkit.org>
3251
3252         [jhbuild] Fix pixman build with clang
3253         https://bugs.webkit.org/show_bug.cgi?id=151441
3254
3255         Reviewed by Carlos Garcia Campos.
3256
3257         * efl/jhbuild.modules:
3258         * gtk/jhbuild.modules:
3259
3260 2015-11-26  David Kilzer  <ddkilzer@apple.com>
3261
3262         Extract prependToEnvironmentVariableList
3263         <http://webkit.org/b/151536>
3264
3265         Reviewed by Daniel Bates.
3266
3267         Tests: webkitdirs_unittest/appendToEnvironmentVariableList.pl
3268                webkitdirs_unittest/prependToEnvironmentVariableList.pl
3269
3270         * Scripts/webkitdirs.pm: Export appendToEnvironmentVariableList
3271         and prependToEnvironmentVariableList.
3272         (appendToEnvironmentVariableList): Simplify variable name.
3273         Switch to use $Config{path_sep}.
3274         (prependToEnvironmentVariableList): Add new method.
3275         (setupMacWebKitEnvironment): Switch to use
3276         prependToEnvironmentVariableList().
3277         (setupIOSWebKitEnvironment): Ditto.
3278
3279         * Scripts/webkitperl/webkitdirs_unittest/appendToEnvironmentVariableList.pl: Added.
3280         * Scripts/webkitperl/webkitdirs_unittest/prependToEnvironmentVariableList.pl: Added.
3281
3282 2015-11-24  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3283
3284         REGRESSION(r192053): MiniBrowser doesn't exit when clicking on the close-window button
3285         https://bugs.webkit.org/show_bug.cgi?id=151567
3286
3287         Reviewed by Darin Adler.
3288
3289         * MiniBrowser/efl/main.c: Call window_close() instead of ewk_view_try_close().
3290         (on_window_deletion):
3291
3292 2015-11-23  Carlos Garcia Campos  <cgarcia@igalia.com>
3293
3294         [GTK] Use the network process unconditionally
3295         https://bugs.webkit.org/show_bug.cgi?id=151541
3296
3297         Reviewed by Alex Christensen.
3298
3299         Fix TestInspectorServer test. Do not assume we already have the
3300         title we want when the page has been loaded, since the title is
3301         changed afterwards. So, check if the title has already been set,
3302         and if not wait for it.
3303
3304         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
3305         (openRemoteDebuggingSession):
3306
3307 2015-11-23  Alex Christensen  <achristensen@webkit.org>
3308
3309         Fix crash in ~WebProcessPool when using Geolocation with useNetworkProcess=true
3310         https://bugs.webkit.org/show_bug.cgi?id=151532
3311
3312         Reviewed by Benjamin Poulain.
3313
3314         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
3315         (TestWebKitAPI::GeolocationTransitionToHighAccuracyStateTracker::eventsChanged):
3316         (TestWebKitAPI::TEST):
3317         (TestWebKitAPI::GeolocationTransitionToLowAccuracyStateTracker::eventsChanged):
3318         (TestWebKitAPI::GeolocationTransitionToHighAccuracyStateTracker::GeolocationTransitionToHighAccuracyStateTracker): Deleted.
3319         (TestWebKitAPI::GeolocationTransitionToLowAccuracyStateTracker::GeolocationTransitionToLowAccuracyStateTracker): Deleted.
3320         Properly load about:blank in all WebViews to clean up.  Without this change, we had a 
3321         Geolocation provider stopping after its state tracker was destroyed with its stack frame,
3322         so it was calling a function on a test object that had gone out of scope.
3323         Also, call WKContextSetUsesNetworkProcess(context, true) to show what crash this fixed,
3324         but that will become the default soon and that call will be removed.
3325
3326 2015-11-22  David Kilzer  <ddkilzer@apple.com>
3327
3328         run-webkit-tests: http server for imported W3C tests doesn't work with --layout-tests-directory switch
3329         <http://webkit.org/b/151542>
3330
3331         Reviewed by Daniel Bates.
3332
3333         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3334         (base_url): Use the Port object (already passed in) to give us
3335         the path to the LayoutTests directory, which already checks for a
3336         --layout-tests-directory command-line switch.
3337         (WebPlatformTestServer.__init__): Remove layout_test_results_dir
3338         argument since we can get this from the Port object already
3339         passed in via Port.results_directory().  Also switch to use
3340         Port.layout_tests_dir() to get the LayoutTests directory.
3341
3342         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
3343         (TestWebPlatformTestServer.test_custom_layout_tests_directory):
3344         Add test case for custom LayoutTests directory.
3345         (TestWebPlatformTestServer.test_previously_spawned_instance):
3346         Update Port object to set mock results directory as if it was
3347         set on the command-line.  Remove unneeded argument from
3348         WebPlatformTestServer constructor.
3349         (TestWebPlatformTestServer.test_corrupted_subserver_files): Ditto.
3350
3351         * Scripts/webkitpy/port/base.py:
3352         (Port.to.start_web_platform_test_server): Remove unneeded
3353         argument from WebPlatformTestServer constuctor.
3354
3355 2015-11-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3356
3357         [GTK] Some unit tests fail when using the network process
3358         https://bugs.webkit.org/show_bug.cgi?id=151490
3359
3360         Reviewed by Martin Robinson.
3361
3362         Run the soup server in a separate thread in TestResources test to
3363         avoid deadlocks.
3364
3365         This fixes /webkit2/WebKitWebView/sync-request-on-max-conns and
3366         /webkit2/WebKitWebResource/get-data when using the network process.
3367
3368         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
3369         (beforeAll): Create the WebKitTestServer with ServerRunInThread flag.
3370         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp:
3371         (WebKitTestServer::WebKitTestServer): When ServerRunInThread is
3372         present, create a WorkQueue to run the server.
3373         (WebKitTestServer::run): Run the server in the work queue if it
3374         has been created.
3375         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h: Convert server
3376         type into server options as flags.
3377
3378 2015-11-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3379
3380         [GTK] ImageDiff should normalize the diff image
3381         https://bugs.webkit.org/show_bug.cgi?id=151261
3382
3383         Reviewed by Sergio Villar Senin.
3384
3385         * ImageDiff/gtk/ImageDiff.cpp:
3386         (readPixbufFromStdin): Fix memory leak.
3387         (differenceImageFromDifferenceBuffer): Normalize diff buffer.
3388         (calculateDifference): Pass max distance to differenceImageFromDifferenceBuffer.
3389
3390 == Rolled over to ChangeLog-2015-11-21 ==