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