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