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