Refactor compareIterations to remove duplicate code.
[WebKit-https.git] / Tools / ChangeLog
1 2016-01-20  Jason Marcell  <jmarcell@apple.com>
2
3         Refactor compareIterations to remove duplicate code.
4         https://bugs.webkit.org/show_bug.cgi?id=152913
5
6         Reviewed by Daniel Bates.
7
8         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
9         (BuildbotQueue.prototype.compareIterations): Refactored to remove duplicate code.
10         (BuildbotQueue.prototype.sortIterations): Add binding to call to compareIterations.
11         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added tests in order to ensure
12         the same behavior before and after refactor.
13
14 2016-01-20  Dana Burkart  <dburkart@apple.com>
15
16         Botwatcher's dashboard should show an 'X' when the build is broken
17         https://bugs.webkit.org/show_bug.cgi?id=152507
18
19         Reviewed by David Kilzer.
20
21         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotStaticAnalyzerQueueView.js:
22         (BuildbotStaticAnalyzerQueueView.prototype.appendStaticAnalyzerQueueStatus):
23         (BuildbotStaticAnalyzerQueueView.prototype.update):
24
25 2016-01-19  Jason Marcell  <jmarcell@apple.com>
26
27         Remove assertion from revisionContentForIteration that is causing errors on the dashboard.
28         https://bugs.webkit.org/show_bug.cgi?id=153262
29
30         Reviewed by Alexey Proskuryakov.
31
32         Occasionaly some buildbot iterations will not have their "got_revisions" property populated. In
33         such cases this revisionContentForIteration method does not have any content to return, thus the
34         assertion fails.
35
36         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
37         (BuildbotQueueView.prototype.revisionContentForIteration): Removed assertion that was causing errors.
38
39 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
40
41         [GTK] Runtime critical warnings when loading a URL after a session restore
42         https://bugs.webkit.org/show_bug.cgi?id=153233
43
44         Reviewed by Michael Catanzaro.
45
46         Add new test case.
47
48         * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp:
49         (viewLoadChanged):
50         (testWebKitWebViewNavigationAfterSessionRestore):
51         (beforeAll):
52
53 2016-01-19  Michael Catanzaro  <mcatanzaro@igalia.com>
54
55         [GTK] Remove jhbuild-optional.modules
56         https://bugs.webkit.org/show_bug.cgi?id=152964
57
58         Reviewed by Alex Christensen.
59
60         * gtk/jhbuild-optional.modules: Removed.
61         * gtk/jhbuild.modules:
62
63 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
64
65         [GTK] Add support to load/save session in MiniBrowser
66         https://bugs.webkit.org/show_bug.cgi?id=153201
67
68         Reviewed by Michael Catanzaro.
69
70         It makes it easier to test the new WebView session API.
71
72         * MiniBrowser/gtk/BrowserWindow.c:
73         (browserWindowFinalize): Free the session file path.
74         (browserWindowSaveSession): Save the current WebView session if
75         there's a session file path.
76         (browserWindowDeleteEvent): Call browserWindowSaveSession().
77         (browser_window_load_session): Try to load the session from the
78         given file path, otherwise fall back to homepage and keep the
79         session file to save the session on window close.
80         * MiniBrowser/gtk/BrowserWindow.h:
81         * MiniBrowser/gtk/main.c:
82         (createBrowserWindow): Pass the given session file path when
83         shouldLoadSession is TRUE.
84         (main): Only allow to restore/save session when MiniBrowser is
85         launched without URL arguments.
86
87 2016-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
88
89         Unreviewed. Fix GTK+ test /webkit2/WebKitWebView/geolocation-permission-requests after r195075.
90
91         Geolocation is no longer allowed for unique origins after r195075.
92
93         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
94         (testWebViewGeolocationPermissionRequests):
95
96 2016-01-18  Carlos Alberto Lopez Perez  <clopez@igalia.com>
97
98         [GTK][EFL] Layout tests abort with PulseAudioSanitizer instance has no attribute '_pa_module_index' when the build is not ready.
99         https://bugs.webkit.org/show_bug.cgi?id=153216
100
101         Reviewed by Michael Catanzaro.
102
103         * Scripts/webkitpy/port/pulseaudio_sanitizer.py:
104         (PulseAudioSanitizer.__init__): initialize _pa_module_index in the constructor.
105
106 2016-01-18  Nan Wang  <n_wang@apple.com>
107
108         AX: [Mac] Implement next/previous text marker functions using TextIterator
109         https://bugs.webkit.org/show_bug.cgi?id=152728
110
111         Reviewed by Chris Fleizach.
112
113         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
114         (WTR::AccessibilityUIElement::accessibilityElementForTextMarker):
115
116 2016-01-18  Csaba Osztrogonác  <ossy@webkit.org>
117
118         [cmake] Add testair to the build system
119         https://bugs.webkit.org/show_bug.cgi?id=153126
120
121         Reviewed by Michael Catanzaro.
122
123         * Scripts/build-jsc:
124
125 2016-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
126
127         Remove TextRun::allowsRoundingHacks()
128         https://bugs.webkit.org/show_bug.cgi?id=153185
129
130         Reviewed by Simon Fraser.
131
132         * DumpRenderTree/mac/DumpRenderTree.mm:
133         (resetWebViewToConsistentStateBeforeTesting): Deleted.
134
135 2016-01-15  Konstantin Tokarev  <annulen@yandex.ru>
136
137         [webkitdirs] Avoid list form of open because it broke WinCairo
138         https://bugs.webkit.org/show_bug.cgi?id=153106
139
140         Reviewed by Alex Christensen.
141
142         * Scripts/webkitdirs.pm:
143         (determineArchitecture):
144
145 2016-01-15  Simon Fraser  <simon.fraser@apple.com>
146
147         Add kdebug_trace signposts for a few WebCore operations
148         https://bugs.webkit.org/show_bug.cgi?id=153136
149         rdar://problem/24208487
150
151         Reviewed by Sam Weinig.
152         
153         Plist used by kdebug_trace() viewing tools.
154
155         * Tracing/SystemTracePoints.plist: Added.
156
157 2016-01-14  Konstantin Tokarev  <annulen@yandex.ru>
158
159         [webkitdirs] Replaced grep invocation with perl code
160         https://bugs.webkit.org/show_bug.cgi?id=153106
161
162         Reviewed by Alex Christensen.
163
164         * Scripts/webkitdirs.pm:
165         (determineArchitecture):
166
167 2016-01-14  Brian Burg  <bburg@apple.com>
168
169         prepare-changelog does not read paths containing spaces properly
170         https://bugs.webkit.org/show_bug.cgi?id=137982
171
172         Reviewed by Joseph Pecoraro.
173
174         Escape whitespace in filenames before passing the file path to other functions.
175
176         * Scripts/prepare-ChangeLog:
177         (generateFunctionLists): Use the more explicit 3-argument form of 'open'.
178
179 2016-01-14  Jason Marcell  <jmarcell@apple.com>
180
181         Standardize the usage of "branch" vs. "branchName".
182         https://bugs.webkit.org/show_bug.cgi?id=152982
183
184         Reviewed by Daniel Bates.
185
186         In an earlier patch we started using the name "branch" to indicate a branch object, whereas
187         "branchName" implies that the variable or property in question is simply a string.
188
189         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
190         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Change branch to branchName.
191         (BuildbotQueueView.prototype._presentPopoverForRevisionRange): Change branch to branch.name.
192         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Change branch to branchName.
193         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
194         (Trac.prototype.commitsOnBranch): Change branch to branchName.
195         (Trac.prototype._convertCommitInfoElementToObject): Ditto.
196         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
197         (MockTrac): Ditto.
198
199 2016-01-14  Jason Marcell  <jmarcell@apple.com>
200
201         Add a unit test to test BuildbotQueueView._appendPendingRevisionCount.
202         https://bugs.webkit.org/show_bug.cgi?id=152910
203
204         Reviewed by Daniel Bates.
205
206         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js: Added.
207         (MockBuildbotQueue): Added. Mock BuildbotQueue object that doesn't need to talk to an actual Buildbot server.
208         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js: Added.
209         (MockBuildbotQueueView): Added. Mock BuildbotQueueView object that returns a pre-specified _latestProductiveIteration without
210         the need to talk to a real Buildbot server.
211         (MockBuildbotQueueView.prototype._latestProductiveIteration): Added. Returns a pre-specified _latestProductiveIteration
212         without the need to talk to a real Buildbot server.
213         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js: Added.
214         (MockTrac): Added. Mock Trac constructor that has pre-populated "recordedCommits" and does not need to talk to a real Trac
215         server.
216         (MockTrac.prototype.get oldestRecordedRevisionNumber): Added. Returns a pre-specified revision.
217         (MockTrac.prototype.get latestRecordedRevisionNumber): Ditto.
218         (MockTrac.prototype.loadMoreHistoricalData): Added. Overrides the real loadMoreHistoricalData so that we don't waste time
219         trying to talk to Trac.
220         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Added. Web page container for
221         QUnit unit tests.
222         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added. QUnit unit tests.
223
224 2016-01-14  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
225
226         [CMake][GTK] CMake Error: Could not create named generator Eclipse CDT4 - Ninja
227         https://bugs.webkit.org/show_bug.cgi?id=132599
228
229         Reviewed by Michael Catanzaro.
230
231         Check if cmake Ninja generators are installed.
232
233         * Scripts/webkitdirs.pm:
234         (canUseNinjaGenerator):
235         (canUseEclipseNinjaGenerator):
236         (generateBuildSystemFromCMakeProject):
237         (canUseEclipse): Deleted.
238
239 2016-01-13  Myles C. Maxfield  <mmaxfield@apple.com>
240
241         [Cocoa] Testing with font family name "System Font" is unused
242         https://bugs.webkit.org/show_bug.cgi?id=153073
243         <rdar://problem/24091683>
244
245         Reviewed by Brent Fulgham.
246
247         * DumpRenderTree/mac/DumpRenderTree.mm:
248         (allowedFontFamilySet): Deleted.
249         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
250         (WTR::allowedFontFamilySet): Deleted.
251         * WebKitTestRunner/mac/TestControllerMac.mm:
252         (WTR::allowedFontFamilySet): Deleted.
253
254 2016-01-13  Daniel Bates  <dabates@apple.com>
255
256         [XSS Auditor] Add test when XSS payload is in the path portion of the URL
257         https://bugs.webkit.org/show_bug.cgi?id=152871
258
259         Reviewed by Brent Fulgham.
260
261         Merged from Blink (patch by Tom Sepez <tsepez@chromium.org>):
262         <https://src.chromium.org/viewvc/blink?revision=164746&view=revision>
263
264         * Scripts/webkitpy/layout_tests/servers/lighttpd.conf:
265
266 2016-01-08  Andy Estes  <aestes@apple.com>
267
268         [Content Filtering] Lazily load platform frameworks
269         https://bugs.webkit.org/show_bug.cgi?id=152881
270         rdar://problem/23270886
271
272         Reviewed by Brady Eidson.
273
274         Added an API test that verifies that the Parental Controls and Network Extension frameworks are loaded at the
275         expected times. The test verifies that they are not loaded after creating a WKWebView, loading an HTML string,
276         loading NSData, loading a file, or loading from a custom protocol. It verifies that Network Extension on Mac/iOS
277         and Parental Controls on iOS are loaded after an HTTP request. It finally verifies that Parental Controls on Mac
278         is loaded after an HTTPS request.
279
280         To accomplish this, TestProtocol was generalized to allow tests to specify the scheme they wish to use.
281         Other tests that used TestProtocol were updated to account for this change. TestProtocol was removed from
282         WebKit2.PreventImageLoadWithAutoResizingTest, which didn't actually need to use it. ContentFiltering tests were
283         also re-enabled on iOS after mistakenly being disabled by r188892.
284
285         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
286         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
287         (TestWebKitAPI::TEST):
288         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.h: Added.
289         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.html: Added.
290         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
291         (TEST):
292         (downloadTest):
293         (-[LazilyLoadPlatformFrameworksController init]):
294         (-[LazilyLoadPlatformFrameworksController webView]):
295         (-[LazilyLoadPlatformFrameworksController expectParentalControlsLoaded:networkExtensionLoaded:]):
296         (-[LazilyLoadPlatformFrameworksController webView:didFinishNavigation:]):
297         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm:
298         (-[ContentFilteringPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
299         (-[ContentFilteringPlugIn observeValueForKeyPath:ofObject:change:context:]):
300         (-[ContentFilteringPlugIn checkIfPlatformFrameworksAreLoaded:]):
301         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
302         (TestWebKitAPI::TEST):
303         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
304         (TestWebKitAPI::TEST): Deleted.
305         * TestWebKitAPI/cocoa/TestProtocol.h:
306         * TestWebKitAPI/cocoa/TestProtocol.mm:
307         (+[TestProtocol registerWithScheme:]):
308         (+[TestProtocol unregister]):
309
310 2016-01-12  Dewei Zhu  <dewei_zhu@apple.com>
311
312         Fix the Sunpider converage in slow device.
313         https://bugs.webkit.org/show_bug.cgi?id=152938
314         <rdar://problem/22511411>
315
316         Reviewed by Ryosuke Niwa.
317
318         Updated the patch for RunBenchmark to resume sunspider coverage by removing unused subresources in sub-tests.
319
320         * Scripts/webkitpy/benchmark_runner/data/patches/SunSpider.patch:
321
322 2016-01-12  Ryosuke Niwa  <rniwa@webkit.org>
323
324         Add a build flag for custom element
325         https://bugs.webkit.org/show_bug.cgi?id=153005
326
327         Reviewed by Alex Christensen.
328
329         Added --custom-elements option to enable custom elements support.
330
331         * Scripts/webkitperl/FeatureList.pm:
332
333 2016-01-12  Benjamin Poulain  <bpoulain@apple.com>
334
335         [JSC] Add a help message when run-jsc-stress-tests fails
336         https://bugs.webkit.org/show_bug.cgi?id=153014
337
338         Reviewed by Csaba Osztrogonác.
339
340         * Scripts/run-jsc-stress-tests:
341
342 2016-01-11  Saam barati  <sbarati@apple.com>
343
344         run-jsc-stress-tests should try to figure out a JSC path
345         https://bugs.webkit.org/show_bug.cgi?id=152971
346
347         Reviewed by Yusuke Suzuki.
348
349         This patch now allows run-jsc-stress-tests to be run
350         without a "--jsc <jsc-path>" argument. It tries
351         to take its best guess at a <jsc-path> automagically.
352         
353         This makes it much easier to just run run-jsc-stress-tests
354         with a directory or a yaml file as an argument.
355         You now just do this:
356         `run-jsc-stress-tests <path-to-yaml>`
357         or
358         `run-jsc-stress-tests <path-to-directory-of-js-files>`
359         
360         I wrote this patch because I'd often find myself hacking the 
361         run-javascriptcore-tests file just to run a particular subset of tests.
362         Because I always forget the arguments to run-jsc-stress-tests (which means
363         I always forgot to provide a --jsc argument), I always found it easier to 
364         just hack on that file instead of calling run-jsc-stress-tests directly.
365         No longer is this true!
366
367         * Scripts/run-jsc-stress-tests:
368
369 2016-01-09  Andy Estes  <aestes@apple.com>
370
371         [Cocoa] Add SPI to opt out a URL scheme from the memory cache
372         https://bugs.webkit.org/show_bug.cgi?id=152950
373         rdar://problem/24066652
374
375         Reviewed by Tim Horton.
376
377         Added an API test.
378
379         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
380         * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm: Added.
381         (+[AlwaysRevalidatedURLSchemeProtocol canInitWithRequest:]):
382         (+[AlwaysRevalidatedURLSchemeProtocol canonicalRequestForRequest:]):
383         (+[AlwaysRevalidatedURLSchemeProtocol requestIsCacheEquivalent:toRequest:]):
384         (-[AlwaysRevalidatedURLSchemeProtocol startLoading]):
385         (-[AlwaysRevalidatedURLSchemeProtocol stopLoading]):
386         (-[AlwaysRevalidatedURLSchemesDelegate webView:didFinishNavigation:]):
387         (TEST):
388
389 2016-01-11  Commit Queue  <commit-queue@webkit.org>
390
391         Unreviewed, rolling out r194866.
392         https://bugs.webkit.org/show_bug.cgi?id=152986
393
394         This change broke the mac build (Requested by ryanhaddad on
395         #webkit).
396
397         Reverted changeset:
398
399         "[Cocoa] Add SPI to opt out a URL scheme from the memory
400         cache"
401         https://bugs.webkit.org/show_bug.cgi?id=152950
402         http://trac.webkit.org/changeset/194866
403
404 2016-01-11  Andy Estes  <aestes@apple.com>
405
406         [Cocoa] Add SPI to opt out a URL scheme from the memory cache
407         https://bugs.webkit.org/show_bug.cgi?id=152950
408         rdar://problem/24066652
409
410         Reviewed by Tim Horton.
411
412         Added an API test.
413
414         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
415         * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm: Added.
416         (+[AlwaysRevalidatedURLSchemeProtocol canInitWithRequest:]):
417         (+[AlwaysRevalidatedURLSchemeProtocol canonicalRequestForRequest:]):
418         (+[AlwaysRevalidatedURLSchemeProtocol requestIsCacheEquivalent:toRequest:]):
419         (-[AlwaysRevalidatedURLSchemeProtocol startLoading]):
420         (-[AlwaysRevalidatedURLSchemeProtocol stopLoading]):
421         (-[AlwaysRevalidatedURLSchemesDelegate webView:didFinishNavigation:]):
422         (TEST):
423
424 2016-01-11  Konstantin Tokarev  <annulen@yandex.ru>
425
426         [webkitdirs] Use CMake to determine architecture on isCMakeBuild()
427         https://bugs.webkit.org/show_bug.cgi?id=152959
428
429         Reviewed by Brent Fulgham.
430
431         * Scripts/webkitdirs.pm:
432         (determineArchitecture):
433
434 2016-01-11  Michael Catanzaro  <mcatanzaro@igalia.com>
435
436         [GTK] W3C CSS2.1 anonymous table tests are failing
437         https://bugs.webkit.org/show_bug.cgi?id=152455
438
439         Reviewed by Mario Sanchez Prada.
440
441         Add shared-mime-info to the jhbuild environment, since it affects the results of layout
442         tests. Add upstream patches to fix detection of XHTML files.
443
444         * gtk/jhbuild.modules:
445         * gtk/patches/shared-mime-info-xht-glob.patch: Added.
446         * gtk/patches/shared-mime-info-xhtml-magic.patch: Added.
447
448 2016-01-10  Saam barati  <sbarati@apple.com>
449
450         Implement a sampling profiler
451         https://bugs.webkit.org/show_bug.cgi?id=151713
452
453         Reviewed by Filip Pizlo.
454
455         * Scripts/run-jsc-stress-tests:
456
457 2016-01-10  Konstantin Tokarev  <annulen@yandex.ru>
458
459         [webkitdirs] Try arch and uname commands on non-windows OS
460         https://bugs.webkit.org/show_bug.cgi?id=152958
461
462         Reviewed by Michael Catanzaro.
463
464         Right now, determineArchitecture()  uses `arch` and `uname -m`
465         commands to determine architecture in case of condition (isGtk() ||
466         isAppleMacWebKit() || isEfl()) is true. This should be !anyWindows()
467         instead, because this code is applicable to any non-windows OS WebKit
468         supports (even Haiku which once was supported is moderately
469         POSIX-compliant and has uname command).
470
471         * Scripts/webkitdirs.pm:
472         (determineArchitecture):
473
474 2016-01-08  Aakash Jain  <aakash_jain@apple.com>
475
476         run-webkit-tests mis-counts totals when there are other crashes
477         https://bugs.webkit.org/show_bug.cgi?id=152894
478         <rdar://problem/24098697>
479
480         Reviewed by Alexey Proskuryakov.
481
482         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
483         (TestRunResults.add): Do not update result counters for other crashes.
484
485 2016-01-08  Youenn Fablet  <youenn.fablet@crf.canon.fr>
486
487         webkit-patch build-and-test should have an option to iterate over new tests
488         https://bugs.webkit.org/show_bug.cgi?id=143093
489
490         Reviewed by Michael Catanzaro.
491
492         This patch introduces the --iterate-on-new-tests option to webkit-patch build-and-test.
493         It allows running run-webkit-tests on modified or new paths in LayoutTests.
494         Computation of new or modified tests is done by LayoutTestFinder.find_touched_tests
495         It implements the translation of -expected.* paths to their related tests.
496         It also implements the removal of skipped tests.
497
498         * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py:
499         (LayoutTestFinder.find_touched_tests):
500         * Scripts/webkitpy/layout_tests/controllers/layout_test_finder_unittest.py: Added.
501         (MockPort):
502         (MockPort.__init__):
503         (MockPort.tests):
504         (LayoutTestFinderTests):
505         (LayoutTestFinderTests.touched_files):
506         (LayoutTestFinderTests.test_touched_test):
507         (LayoutTestFinderTests.test_expected_touched_test):
508         (LayoutTestFinderTests.test_platform_expected_touched_test):
509         (LayoutTestFinderTests.test_platform_duplicate_touched_test):
510         (LayoutTestFinderTests.test_touched_but_skipped_test):
511         * Scripts/webkitpy/port/base.py:
512         (Port.potential_test_names_from_expected_file):
513         * Scripts/webkitpy/tool/commands/download_unittest.py:
514         (DownloadCommandsTest._default_options):
515         * Scripts/webkitpy/tool/steps/options.py:
516         (Options):
517         * Scripts/webkitpy/tool/steps/runtests.py:
518         (RunTests.options):
519         (RunTests.run):
520         (RunTests):
521         (RunTests._new_or_modified_tests):
522         (RunTests._run_webkit_tests):
523         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
524         (RunTestsTest.test_webkit_run_unit_tests):
525         * Scripts/webkitpy/tool/steps/steps_unittest.py:
526         (StepsTest._step_options):
527
528 2016-01-07  Joseph Pecoraro  <pecoraro@apple.com>
529
530         prepare-ChangeLog should include radar number
531         https://bugs.webkit.org/show_bug.cgi?id=152839
532         <rdar://problem/24093563>
533
534         Reviewed by Daniel Bates.
535
536         When running `prepare-ChangeLog -b ###`, check for a bugzilla comment that
537         starts with a "<rdar://problem/####>" URL. If found, include that radar URL
538         in the ChangeLog description after the bug URL.
539
540         * Scripts/prepare-ChangeLog:
541         (main): Update signatures.
542         (fetchBugXMLData): XML Data is now used for multiple reasons. Extract this to just get the data.
543         (fetchBugDescriptionFromBugXMLData): Search data for <short_desc>.
544         (fetchRadarURLFromBugXMLData): Search comment text for radar URL.
545         (generateNewChangeLogs): Include radar URL if we found one.
546
547         * Scripts/webkitperl/prepare-ChangeLog_unittest/fetchRadarURLFromBugXMLData.pl: Added.
548         Tests for the radar URL extraction.
549
550 2016-01-07  Alexey Proskuryakov  <ap@apple.com>
551
552         testRunner.runUIScript crashes while running multiple tests in a row that invokes the same UIScript
553         https://bugs.webkit.org/show_bug.cgi?id=152390
554         <rdar://problem/23948321>
555
556         Reviewed by Simon Fraser.
557
558         Fix two use-after-frees.
559
560         1. WKPageCallAfterNextPresentationUpdate's callback has a pointer to TestInvocation,
561         but we may have already progressed to another test by the time the callback fires,
562         having destroyed the TestInvocation.
563         2. UIScriptController is a RefCounted object, but it has a raw pointer to
564         UIScriptContext which has the same lifetime as a TestInvocation.
565         As a result, completion blocks of UIScriptController actions would use a destroyed
566         TestInvocation.
567
568         * WebKitTestRunner/TestInvocation.cpp:
569         (WTR::TestInvocation::~TestInvocation):
570         (WTR::TestInvocation::url):
571         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
572         (WTR::TestInvocation::runUISideScriptAfterUpdateCallback):
573         (WTR::TestInvocation::runUISideScript):
574         * WebKitTestRunner/TestInvocation.h:
575         * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp:
576         (UIScriptContext::UIScriptContext):
577         (UIScriptContext::~UIScriptContext):
578         (UIScriptContext::runUIScript):
579         * WebKitTestRunner/UIScriptContext/UIScriptContext.h:
580         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
581         (WTR::UIScriptController::UIScriptController):
582         (WTR::UIScriptController::contextDestroyed):
583         (WTR::UIScriptController::makeWindowObject):
584         (WTR::UIScriptController::setWillBeginZoomingCallback):
585         (WTR::UIScriptController::willBeginZoomingCallback):
586         (WTR::UIScriptController::setDidEndZoomingCallback):
587         (WTR::UIScriptController::didEndZoomingCallback):
588         (WTR::UIScriptController::setDidEndScrollingCallback):
589         (WTR::UIScriptController::didEndScrollingCallback):
590         (WTR::UIScriptController::setDidShowKeyboardCallback):
591         (WTR::UIScriptController::didShowKeyboardCallback):
592         (WTR::UIScriptController::setDidHideKeyboardCallback):
593         (WTR::UIScriptController::didHideKeyboardCallback):
594         (WTR::UIScriptController::uiScriptComplete):
595         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
596         (WTR::UIScriptController::create):
597         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
598         (WTR::UIScriptController::doAsyncTask):
599         (WTR::UIScriptController::zoomToScale):
600         (WTR::UIScriptController::singleTapAtPoint):
601         (WTR::UIScriptController::doubleTapAtPoint):
602         (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
603         (WTR::UIScriptController::contentVisibleRect):
604         (WTR::UIScriptController::platformSetWillBeginZoomingCallback):
605         (WTR::UIScriptController::platformSetDidEndZoomingCallback):
606         (WTR::UIScriptController::platformSetDidShowKeyboardCallback):
607         (WTR::UIScriptController::platformSetDidHideKeyboardCallback):
608         (WTR::UIScriptController::platformSetDidEndScrollingCallback):
609         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
610         (WTR::UIScriptController::doAsyncTask):
611
612 2016-01-07  Youenn Fablet  <youenn.fablet@crf.canon.fr>
613
614         [buildbot] clean-build script should remove untracked files and revert local changes too
615         https://bugs.webkit.org/show_bug.cgi?id=142400
616
617         Reviewed by Ryosuke Niwa.
618
619         This patch cleans the WebKit folder by reverting tracked files changes and deleting SCM untracked files, including SCM ignored files.
620         A helper routine SCM.discard_untracked_files is added for that purpose.
621
622         * BuildSlaveSupport/clean-build:
623         (main): Making call to Scripts/clean-webkit
624         * Scripts/clean-webkit: Added.
625         (main): Revert changes and delete untracked files.
626         * Scripts/webkitpy/common/checkout/scm/scm.py:
627         (SCM.discard_untracked_files): Helper function to discard untracked files or folders found by SCM.
628         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
629         (SCMTest._shared_test_discard_untracked_files):
630         (test_discard_untracked_files): Tests that untracked file and untracked folder get discarded correctly.
631
632 2016-01-06  Simon Fraser  <simon.fraser@apple.com>
633
634         Add a setting and preferences to enable display-list drawing. Does nothing yet.
635         https://bugs.webkit.org/show_bug.cgi?id=152807
636
637         Reviewed by Zalan Bujtas.
638         
639         Add an item to the Settings menu to toggle display-list drawing.
640
641         * MiniBrowser/mac/SettingsController.h:
642         * MiniBrowser/mac/SettingsController.m:
643         (-[SettingsController _populateMenu]):
644         (-[SettingsController validateMenuItem:]):
645         (-[SettingsController toggleDisplayListDrawingEnabled:]):
646         (-[SettingsController displayListDrawingEnabled]):
647         * MiniBrowser/mac/WK2BrowserWindowController.m:
648         (-[WK2BrowserWindowController didChangeSettings]):
649
650 2016-01-06  Youenn Fablet  <youenn.fablet@crf.canon.fr>
651
652         Python SCM should be able to retrieve untracked files - Add GIT support
653         https://bugs.webkit.org/show_bug.cgi?id=143135
654
655         Reviewed by Michael Catanzaro.
656
657         * Scripts/webkitpy/common/checkout/scm/git.py:
658         (Git.untracked_files): Adding support for git.
659         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
660         (GitTest.setUp):
661         (GitTest.test_untracked_files): Adding test.
662
663 2016-01-05  Mark Lam  <mark.lam@apple.com>
664
665         Rename badly named JSC_timeout env var to JSCTEST_timeout.
666         https://bugs.webkit.org/show_bug.cgi?id=152748
667
668         Reviewed by Geoffrey Garen.
669
670         Now that we validate JSC options, the badly named JSC_timeout env var causes the
671         bots to have a bad time.
672
673         * Scripts/run-javascriptcore-tests:
674         * Scripts/run-jsc-stress-tests:
675
676 2016-01-04  Carlos Garcia Campos  <cgarcia@igalia.com>
677
678         [GTK] Allow to save and restore session
679         https://bugs.webkit.org/show_bug.cgi?id=115600
680
681         Reviewed by Michael Catanzaro.
682
683         Add test case to check the new session API.
684
685         * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp:
686         (testWebKitWebViewSessionState):
687         (testWebKitWebViewSessionStateWithFormData):
688         (beforeAll):
689
690 2016-01-04  Csaba Osztrogonác  <ossy@webkit.org>
691
692         [EFL] Bump EFL version to 1.16.1
693         https://bugs.webkit.org/show_bug.cgi?id=152688
694
695         Reviewed by Gyuyoung Kim.
696
697         * efl/jhbuild.modules:
698
699 2016-01-04  Aakash Jain  <aakash_jain@apple.com>
700
701         error running layout tests on iOS simulator on latest build
702         https://bugs.webkit.org/show_bug.cgi?id=152719
703         <rdar://problem/24009549>
704
705         Reviewed by Alexey Proskuryakov.
706
707         * Scripts/webkitpy/xcode/simulator.py:
708         (Simulator.wait_until_device_is_booted): Ensure that simulator device is in booted state
709           before running simctl spawn command.
710
711 2016-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
712
713         Unreviewed, move Frédéric Wang to committers list
714
715         He seems to be on the contributors list by accident. He has been landing his own commits for
716         about two years now.
717
718         * Scripts/webkitpy/common/config/contributors.json:
719
720 2016-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
721
722         Unreviewed, move Sebastian Dröge to committers list harder
723
724         He accidentally added himself to the reviewers list because the file is confusing. Then I
725         accidentially moved him to the contributors list because the file is confusing, even though
726         I knew the contributors list existed in this file and was attempting to add him to the
727         committers list. Really move him to the committers list now.
728
729         * Scripts/webkitpy/common/config/contributors.json:
730
731 2016-01-02  Youenn Fablet  <youenn.fablet@crf.canon.fr>
732
733         Python SCM should be able to retrieve untracked files - Add SVN support
734         https://bugs.webkit.org/show_bug.cgi?id=152546
735
736         Reviewed by Michael Catanzaro.
737
738         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
739         (test_untracked_files): Activating test for SVN.
740         * Scripts/webkitpy/common/checkout/scm/svn.py:
741         (SVN.untracked_files): Implementing untracked files retrieval for SVN.
742
743 2015-12-31  Andy Estes  <aestes@apple.com>
744
745         Replace WTF::move with WTFMove
746         https://bugs.webkit.org/show_bug.cgi?id=152601
747
748         Reviewed by Brady Eidson.
749
750         * DumpRenderTree/TestRunner.h:
751         (TestRunner::setAllowedHosts):
752         * DumpRenderTree/win/DRTDataObject.cpp:
753         (DRTDataObject::SetData):
754         * TestWebKitAPI/Tests/WTF/Deque.cpp:
755         (TestWebKitAPI::TEST):
756         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
757         (TestWebKitAPI::TEST):
758         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
759         (TestWebKitAPI::TEST):
760         * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
761         (TestWebKitAPI::TEST):
762         * TestWebKitAPI/Tests/WTF/Ref.cpp:
763         (TestWebKitAPI::passWithRef):
764         (TestWebKitAPI::TEST):
765         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
766         (TestWebKitAPI::TEST):
767         * TestWebKitAPI/Tests/WTF/Vector.cpp:
768         (TestWebKitAPI::TEST):
769         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
770         (TestWebKitAPI::TEST):
771         * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm:
772         (TestWebKitAPI::TEST):
773         * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
774         (TestWebKitAPI::createTestValue):
775         (TestWebKitAPI::TEST):
776         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
777         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
778         (TestWebKitAPI::InMemoryCompiledContentExtension::create):
779         (TestWebKitAPI::InMemoryCompiledContentExtension::InMemoryCompiledContentExtension):
780         (TestWebKitAPI::createNFAs):
781         (TestWebKitAPI::TEST_F):
782         * TestWebKitAPI/Tests/WebCore/DFACombiner.cpp:
783         (TestWebKitAPI::combine):
784         * TestWebKitAPI/Tests/WebCore/DFAHelpers.h:
785         (TestWebKitAPI::createNFAs):
786         * TestWebKitAPI/Tests/WebKit2/cocoa/WeakObjCPtr.mm:
787         (TEST):
788         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
789         (WebProcessTest::add):
790
791 2016-01-01  Michael Catanzaro  <mcatanzaro@igalia.com>
792
793         [SOUP] REGRESSION(r192761): Broke resource URIs for applications that use g_resource_load in a web extension
794         https://bugs.webkit.org/show_bug.cgi?id=152634
795
796         Reviewed by Carlos Garcia Campos.
797
798         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
799         (testLoadFromGResource): Added test.
800         (beforeAll):
801         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
802         (registerGResource): Added.
803         (webkit_web_extension_initialize_with_user_data): Load the test gresource.
804         * TestWebKitAPI/Tests/WebKit2Gtk/resources/boring.html: Added.
805         * TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml: Add an HTML file.
806
807 2015-12-31  David Kilzer  <ddkilzer@apple.com>
808
809         REGRESSION (r194470): Fix warnings uncovered by migrating to WTF_MOVE
810         <https://bugs.webkit.org/show_bug.cgi?id=152601>
811
812         Ignore unknown pragmas on older clangs.  Fixes the following
813         build failure:
814
815             Tools/TestWebKitAPI/Tests/WTF/NakedPtr.cpp:184:34: error: unknown warning group '-Wself-move', ignored [-Werror,-Wunknown-pragmas]
816             #pragma clang diagnostic ignored "-Wself-move"
817                                              ^
818             1 error generated.
819
820         * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
821         (TestWebKitAPI::TEST):
822         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
823         (TestWebKitAPI::TEST):
824
825 2015-12-31  Andy Estes  <aestes@apple.com>
826
827         Update the style checker to advise using WTFMove() instead of WTF::move()
828         https://bugs.webkit.org/show_bug.cgi?id=152601
829
830         Reviewed by Daniel Bates.
831
832         * Scripts/webkitpy/style/checkers/cpp.py:
833         (check_wtf_move):
834         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
835         (WebKitStyleTest.test_wtf_move):
836
837 2015-12-31  Andy Estes  <aestes@apple.com>
838
839         Fix warnings uncovered by migrating to WTF_MOVE
840         https://bugs.webkit.org/show_bug.cgi?id=152601
841
842         Reviewed by Daniel Bates.
843
844         Ignored -Wself-move warnings in these two API tests. It's useful to test that these classes properly handle
845         self-move, even if doing so would trigger a warning.
846
847         * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
848         (TestWebKitAPI::TEST):
849         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
850         (TestWebKitAPI::TEST):
851
852 2015-12-31  Martin Robinson  <mrobinson@igalia.com>
853
854         [GTK] The install-dependencies script has a syntax error
855         https://bugs.webkit.org/show_bug.cgi?id=152613
856
857         Reviewed by Michael Catanzaro.
858
859         * gtk/install-dependencies: Add the missing 'then.'
860
861 2015-12-30  Philippe Normand  <pnormand@igalia.com>
862
863         [Mac][GTK] Jhbuild support for OSX
864         https://bugs.webkit.org/show_bug.cgi?id=150799
865
866         Reviewed by Michael Catanzaro.
867
868         * gtk/install-dependencies: Install dependencies on OSX with Homebrew.
869         * gtk/jhbuild.modules: Moved platform-specific build settings in condition tags.
870         * gtk/patches/foxbntconfig-fix-osx-cache.diff: Added.
871         * gtk/jhbuildrc: GTK+ makeargs clean-up, the 3.0.12 hack is no longer needed.
872
873 2015-12-28  Michael Catanzaro  <mcatanzaro@igalia.com>
874
875         Unreviewed, move Sebastian Dröge to committers list
876
877         He accidentally added himself to the reviewers list because the file is confusing.
878
879         * Scripts/webkitpy/common/config/contributors.json:
880
881 2015-12-24  Simon Fraser  <simon.fraser@apple.com>
882
883         Remove the unused #define _USE_MATH_DEFINES
884         https://bugs.webkit.org/show_bug.cgi?id=152034
885
886         Reviewed by Tim Horton.
887         
888         Update this test to use piDouble from MathExtras.h, and
889         std::numeric_limits<>.
890
891         * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
892
893 2015-12-24  Youenn Fablet  <youenn.fablet@crf.canon.fr>
894
895         Python SCM should be able to retrieve untracked files - Generic changes
896         https://bugs.webkit.org/show_bug.cgi?id=152536
897
898         Reviewed by Brent Fulgham.
899
900         This patch introduces SCM.untracked_files to retrieve a list of untracked files.
901         No support is yet added to GIT and SVN specific implementations.
902
903         * Scripts/webkitpy/common/checkout/scm/scm.py:
904         (SCM.untracked_files):
905         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
906         (SCMTest._shared_test_untracked_files):
907
908 2015-12-23  Dewei Zhu  <dewei_zhu@apple.com>
909
910         SVN checkout used by RunBenchmark should be non-interactive
911         https://bugs.webkit.org/show_bug.cgi?id=152542
912
913         Reviewed by Ryosuke Niwa.
914
915         RunBenchmark should not require user interaction while running.
916
917         * Scripts/webkitpy/benchmark_runner/benchmark_builder.py:
918         (BenchmarkBuilder._checkout_with_subversion):
919
920 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
921
922         Web Inspector: add support for running protocol-test.js tests on Windows
923         https://bugs.webkit.org/show_bug.cgi?id=148037
924         <rdar://problem/22292237>
925
926         Reviewed by Simon Fraser.
927
928         * DumpRenderTree/win/TestRunnerWin.cpp:
929         (TestRunner::inspectorTestStubURL): Provide implementation.
930
931 2015-12-23  Eric Carlson  <eric.carlson@apple.com>
932
933         [MediaStream] MediaDeviceInfo.label must be empty in some situations
934         https://bugs.webkit.org/show_bug.cgi?id=152000
935
936         Reviewed by Brent Fulgham.
937
938         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
939         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
940         (WTR::InjectedBundle::setUserMediaPermission):
941         (WTR::InjectedBundle::setUserMediaPermissionForOrigin): New.
942         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
943
944         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
945         (WTR::TestRunner::setUserMediaPermissionForOrigin): New.
946         * WebKitTestRunner/InjectedBundle/TestRunner.h:
947
948         * WebKitTestRunner/TestController.cpp:
949         (WTR::TestController::setUserMediaPermissionForOrigin):
950         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin): Add NULL check.
951         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Don't add 
952           persistent permission for origin, that can be done from script now.
953         * WebKitTestRunner/TestController.h:
954
955         * WebKitTestRunner/TestInvocation.cpp:
956         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Add support for
957           SetUserMediaPermissionForOrigin.
958
959 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
960
961         [Win] Unreviewed build fix: Recognize Windows 10 variants.
962
963         * Scripts/webkitpy/common/system/platforminfo.py:
964         (PlatformInfo._determine_win_version):
965
966 2015-12-23  Chris Aljoudi <chris@chrismatic.io> and Alex Christensen <achristensen@webkit.org>
967
968         Content blockers should be able to promote http to https
969         https://bugs.webkit.org/show_bug.cgi?id=148966
970
971         Reviewed by Benjamin Poulain.
972
973         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
974         (WebCore::ContentExtensions::operator<<):
975         (TestWebKitAPI::TEST_F):
976
977 2015-12-22  Hunseop Jeong  <hs85.jeong@samsung.com>
978
979         [EFL] MiniBrowser should be able to choose the offline-web-application-cache option
980         https://bugs.webkit.org/show_bug.cgi?id=152516
981
982         Reviewed by Gyuyoung Kim.
983
984         * MiniBrowser/efl/main.c:
985
986 2015-12-22  Brent Fulgham  <bfulgham@apple.com>
987
988         Unreviewed: Add John Wilander as a contributor.
989
990         * Scripts/webkitpy/common/config/contributors.json:
991
992 2015-12-22  Chris Fleizach  <cfleizach@apple.com>
993
994         [WK2] Looping in testcase: fast/dom/Window/property-access-on-cached-window-after-frame-removed.html
995         https://bugs.webkit.org/show_bug.cgi?id=152482
996
997         Reviewed by Brent Fulgham.
998
999         vertical/horizontalScrollbar returns an accessibility element. That element can also be queried
1000         for the same property. On WK2, the element returned will not be valid, but is still present and
1001         that can lead to looping.
1002
1003         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1004         (AccessibilityUIElement::horizontalScrollbar):
1005         (AccessibilityUIElement::verticalScrollbar):
1006         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1007         (WTR::AccessibilityUIElement::horizontalScrollbar):
1008         (WTR::AccessibilityUIElement::verticalScrollbar):
1009
1010 2015-12-22  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1011
1012         Unreviewed.
1013
1014         * Scripts/webkitpy/common/config/contributors.json: Marking myself as reviewer.
1015
1016 2015-12-21  Hunseop Jeong  <hs85.jeong@samsung.com>
1017
1018         [EFL] test_ewk2_context failed after r192808
1019         https://bugs.webkit.org/show_bug.cgi?id=151846
1020
1021         Reviewed by Gyuyoung Kim.
1022
1023         Used the added ewk_context_web_process_count_limit_set api
1024         instead of the deprecated ewk_context_process_model_set.
1025
1026         * MiniBrowser/efl/main.c:
1027         (elm_main):
1028
1029 2015-12-21  Michael Catanzaro  <mcatanzaro@igalia.com>
1030
1031         Unreviewed, move myself to reviewer list.
1032
1033         * Scripts/webkitpy/common/config/contributors.json:
1034
1035 2015-12-21  Aakash Jain  <aakash_jain@apple.com>
1036
1037         Unreviewed, add myself to the committers list.
1038
1039         * Scripts/webkitpy/common/config/contributors.json:
1040
1041 2015-12-21  Michael Catanzaro  <mcatanzaro@igalia.com>
1042
1043         [GTK] jquery.min.js violates DFSG
1044         https://bugs.webkit.org/show_bug.cgi?id=152428
1045
1046         Reviewed by Joseph Pecoraro.
1047
1048         Stop distributing Source/WebInspectorUI/Tools. It is not needed in tarballs. This brings us
1049         into compliance with DFSG by removing a bundled, minified copy of jQuery from our tarball.
1050
1051         * gtk/manifest.txt.in:
1052
1053 2015-12-19  Dan Bernstein  <mitz@apple.com>
1054
1055         [Mac] WebKit contains dead source code for OS X Mavericks and earlier
1056         https://bugs.webkit.org/show_bug.cgi?id=152462
1057
1058         Reviewed by Alexey Proskuryakov.
1059
1060         - Removed definitions of MACOSX_DEPLOYMENT_TARGET and WEBKIT_SYSTEM_INTERFACE_LIBRARY for
1061           OS X 10.9:
1062
1063         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1064         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
1065         * MiniBrowser/Configurations/DebugRelease.xcconfig:
1066         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
1067         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
1068
1069         - Simplified expressions involving __MAC_OS_X_VERSION_MIN_REQUIRED and removed code that was
1070           never getting compiled:
1071
1072         * DumpRenderTree/mac/TextInputController.m:
1073         * MiniBrowser/mac/BrowserWindowController.m:
1074         * TestWebKitAPI/Tests/mac/AttributedString.mm:
1075         * WebKitTestRunner/mac/EventSenderProxy.mm:
1076
1077 2015-12-18  Michael Catanzaro  <mcatanzaro@igalia.com>
1078
1079         Unreviewed, add WebKitGTK+ Bugzilla email to committers list
1080
1081         This is to make it easy to CC it on Bugzilla.
1082
1083         * Scripts/webkitpy/common/config/contributors.json:
1084
1085 2015-12-18  Aakash Jain  <aakash_jain@apple.com>
1086
1087         Pasteboard get messed up after running kill-old-processes
1088         https://bugs.webkit.org/show_bug.cgi?id=152426
1089
1090         Reviewed by Alexey Proskuryakov.
1091
1092         * BuildSlaveSupport/kill-old-processes:
1093         (main): Do not kill pasteboard anymore.
1094
1095 2015-12-17  Aakash Jain  <aakash_jain@apple.com>
1096
1097         run-webkit-tests shouldn't start multiple iOS simulators while only running one test
1098         https://bugs.webkit.org/show_bug.cgi?id=152157
1099         <rdar://problem/23851817>
1100
1101         Reviewed by Alexey Proskuryakov.
1102
1103         * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
1104         (LayoutTestRunner.get_worker_count): Calculate required number of workers.
1105         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1106         (Manager._get_test_inputs): Common method to calculate test_inputs.
1107         (Manager._update_worker_count): Calculate and update required number of workers.
1108
1109 2015-12-16  Aakash Jain  <aakash_jain@apple.com>
1110
1111         run-webkit-tests fails to delete Simulator device during cleanup
1112         https://bugs.webkit.org/show_bug.cgi?id=152363
1113
1114         Reviewed by Alexey Proskuryakov.
1115
1116         * Scripts/webkitpy/xcode/simulator.py:
1117         (Simulator.delete_device): Ensure that device is Shutdown before deleting it.
1118
1119 2015-12-16  Tim Horton  <timothy_horton@apple.com>
1120
1121         [mac-wk2] fast/events force click tests crashing
1122         https://bugs.webkit.org/show_bug.cgi?id=152339
1123
1124         Reviewed by Beth Dakin.
1125
1126         * WebKitTestRunner/mac/EventSenderProxy.mm:
1127         (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]):
1128         Set the NSEvent's _type member in addition to overriding -type,
1129         because there are assertions in touch event handling code that depend on it.
1130
1131 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1132
1133         Enforce temporarily bots to sync WebKit and WPT testharness.js
1134         https://bugs.webkit.org/show_bug.cgi?id=152334
1135
1136         Reviewed by Darin Adler.
1137
1138         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1139         (WebPlatformTestServer._copy_webkit_test_files): Temporarily overwrite wpt testharness.js with WebKit testharness.js.
1140
1141 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1142
1143         [Fetch API] Add fetch API compile time flag
1144         https://bugs.webkit.org/show_bug.cgi?id=152254
1145
1146         Reviewed by Darin Adler.
1147
1148         * Scripts/webkitperl/FeatureList.pm:
1149
1150 2015-12-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1151
1152         Unreviewed.
1153
1154         Added files that have impact in building Streams API to the watchlist.
1155
1156         * Scripts/webkitpy/common/config/watchlist:
1157
1158 2015-12-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1159
1160         Unreviewed.
1161
1162         Added imported tests to Streams API watchlist.
1163
1164         * Scripts/webkitpy/common/config/watchlist:
1165
1166 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1167
1168         Remove default copy of wpt testharness.js when launching wpt server
1169         https://bugs.webkit.org/show_bug.cgi?id=152298
1170
1171         Reviewed by Darin Adler.
1172
1173         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1174         (WebPlatformTestServer._copy_webkit_test_files): Deleted default copy of WebKit testharness.js to WPT.
1175
1176 2015-12-15  David Kilzer  <ddkilzer@apple.com>
1177
1178         REGRESSION (r192375): DumpRenderTree.app exits immediately with no error
1179         <http://webkit.org/b/152314>
1180
1181         Reviewed by Daniel Bates.
1182
1183         The change to DumpRenderTreeMain.mm in r192375 caused the iOS
1184         code path to exit immediately when calling main().
1185         Unfortunately, DumpRenderTreeMain.mm was used for both
1186         DumpRenderTree command-line binary and DumpRenderTree.app, which
1187         meant that the app would exit immediately with no error code
1188         when run!
1189
1190         The workaround is to introduce a separate source file called
1191         DumpRenderTreeAppMain.mm, similar to what WebKitTestRunner
1192         already does.
1193
1194         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Add
1195         DumpRenderTreeAppMain.mm to the project.  Make it the only
1196         compiled source for the DumpRenderTree.app target.
1197         * DumpRenderTree/ios/DumpRenderTreeAppMain.mm: Copied from Tools/DumpRenderTree/mac/DumpRenderTreeMain.mm.
1198         (main): Call DumpRenderTreeMain() on iOS.  Assert on OS X in
1199         case someone tries mistakenly to use the app.
1200         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1201         Link to JavaScriptCore.framework on iOS for the assert.
1202         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
1203         Link to JavaScriptCore.framework on OS X for the assert.  Remove
1204         unneeded EXCLUDED_SOURCE_FILE_NAMES setting.
1205         * DumpRenderTree/mac/DumpRenderTreeMain.mm:
1206         (main): Add assert for iOS so that a crash occurs if someone
1207         tries to run the wrong command.
1208
1209 2015-12-14  Tim Horton  <timothy_horton@apple.com>
1210
1211         Frequent crash under -[WKPDFView web_setMinimumSize:]_block_invoke
1212         https://bugs.webkit.org/show_bug.cgi?id=152266
1213         <rdar://problem/22092676>
1214
1215         Reviewed by Simon Fraser.
1216
1217         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1218         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewResizeCrash.mm: Added.
1219         Add a test that crashed before this change, and doesn't crash after.
1220
1221 2015-12-14  Chris Fleizach  <cfleizach@apple.com>
1222
1223         AX: iOS: Text field variations do not have the correct traits
1224         https://bugs.webkit.org/show_bug.cgi?id=152237
1225
1226         Reviewed by Mario Sanchez Prada.
1227
1228         Add iOS calls for determing if an object is a search field or a text area.
1229
1230         * DumpRenderTree/AccessibilityUIElement.cpp:
1231         (getIsSearchFieldCallback):
1232         (getIsTextAreaCallback):
1233         (stringForSelectionCallback):
1234         (AccessibilityUIElement::getJSClass):
1235         * DumpRenderTree/AccessibilityUIElement.h:
1236         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1237         (AccessibilityUIElement::identifier):
1238         (AccessibilityUIElement::isTextArea):
1239         (AccessibilityUIElement::isSearchField):
1240         (AccessibilityUIElement::traits):
1241         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
1242         (WTR::AccessibilityUIElement::scrollPageRight):
1243         (WTR::AccessibilityUIElement::hasContainedByFieldsetTrait):
1244         (WTR::AccessibilityUIElement::fieldsetAncestorElement):
1245         (WTR::AccessibilityUIElement::isSearchField):
1246         (WTR::AccessibilityUIElement::isTextArea):
1247         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1248         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1249         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1250         (WTR::AccessibilityUIElement::fieldsetAncestorElement):
1251         (WTR::AccessibilityUIElement::isTextArea):
1252         (WTR::AccessibilityUIElement::isSearchField):
1253         (WTR::AccessibilityUIElement::rowCount):
1254
1255 2015-12-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1256
1257         [GTK] [JHBuild] package libtool-bin is now required on Debian systems.
1258         https://bugs.webkit.org/show_bug.cgi?id=152252
1259
1260         Reviewed by Sergio Villar Senin.
1261
1262         * gtk/install-dependencies: Add libtool-bin to the list of packages required
1263         for building the JHBuild on Debian systems.
1264
1265 2015-12-11  Joseph Pecoraro  <pecoraro@apple.com>
1266
1267         check-for-inappropriate-objc-class-names should check all class names, not just externally visible ones
1268         https://bugs.webkit.org/show_bug.cgi?id=152156
1269
1270         Reviewed by Dan Bernstein.
1271
1272         Our frameworks should appropriately prefix all ObjC classes,
1273         not just external symbols.
1274
1275         * Scripts/check-for-inappropriate-objc-class-names:
1276         Remove the -g switch to check all ObjC class names.
1277
1278 2015-12-10  Eric Carlson  <eric.carlson@apple.com>
1279
1280         [MediaStream] Expose media capture devices persistent permissions to WebCore
1281         https://bugs.webkit.org/show_bug.cgi?id=152087
1282
1283         Add support for the new user media permission checker page UI client method.
1284
1285         Reviewed by Chris Dumez.
1286
1287         * WebKitTestRunner/TestController.cpp:
1288         (WTR::decidePolicyForUserMediaPermissionRequest):
1289         (WTR::checkUserMediaPermissionForOrigin):
1290         (WTR::TestController::createOtherPage): Add checkUserMediaPermissionForOrigin.
1291         (WTR::TestController::createWebViewWithOptions): Ditto.
1292         (WTR::TestController::resetStateToConsistentValues): Clear m_userMediaOriginPermissions.
1293         (WTR::originUserVisibleName): New, create a string for the origin.
1294         (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin): Set the WKUserMediaPermissionCheckRef
1295           according to the state of the origin permission map.
1296         (WTR::TestController::handleUserMediaPermissionRequest): Remember both the origin and the
1297           request so we can update the origin permission map in decidePolicyForUserMediaPermissionRequestIfPossible.
1298         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Update the
1299           origin permission map.
1300         * WebKitTestRunner/TestController.h:
1301
1302 2015-12-10  Alex Christensen  <achristensen@webkit.org>
1303
1304         REGRESSION (r192796) WKBundlePageResourceLoadClient should be able to setHTTPBody in willSendRequestForFrame
1305         https://bugs.webkit.org/show_bug.cgi?id=152022
1306         rdar://problem/23763584
1307
1308         Reviewed by Darin Adler.
1309
1310         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1311         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1312         (WTR::InjectedBundlePage::willSendRequestForFrame):
1313         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1314         (WTR::TestRunner::setWillSendRequestReturnsNull):
1315         (WTR::TestRunner::willSendRequestReturnsNullOnRedirect):
1316         (WTR::TestRunner::setWillSendRequestReturnsNullOnRedirect):
1317         (WTR::TestRunner::setWillSendRequestAddsHTTPBody):
1318         (WTR::TestRunner::willSendRequestHTTPBody):
1319         Added setWillSendRequestAddsHTTPBody that uses new SPI for testing.
1320
1321 2015-12-10  Aakash Jain  <aakash_jain@apple.com>
1322
1323         Remove additional simulator checks before running layout-tests
1324         https://bugs.webkit.org/show_bug.cgi?id=152146
1325
1326         Reviewed by Darin Adler.
1327
1328         * Scripts/webkitpy/port/ios.py:
1329         (IOSSimulatorPort.check_sys_deps): Removed additional simulators verifications.
1330         * Scripts/webkitpy/xcode/simulator.py:
1331         (Simulator._boot_and_shutdown_simulator_device): Deleted.
1332         (Simulator.check_simulator_device_and_erase_if_needed): Deleted.
1333
1334 2015-12-09  Aakash Jain  <aakash_jain@apple.com>
1335
1336         Run atleast one simulator even if max process limit is low
1337         https://bugs.webkit.org/show_bug.cgi?id=152081
1338         <rdar://problem/23819694>
1339
1340         Reviewed by Alexey Proskuryakov.
1341
1342 2015-12-09  Mario Sanchez Prada  <mario@endlessm.com>
1343
1344         [GTK] Crash in WebProcess when loading large content with custom URI schemes
1345         https://bugs.webkit.org/show_bug.cgi?id=144262
1346
1347         Reviewed by Carlos Garcia Campos.
1348
1349         Added new unit test to check the additional scenarios we now
1350         handle for custom URI schemes.
1351
1352         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
1353         (generateHTMLContent): New helper function to generate big enough content.
1354         (testWebContextURIScheme): New unit test.
1355
1356 2015-12-09  Ryuan Choi  <ryuan.choi@navercorp.com>
1357
1358         [EFL] Fix unhandled web process message when launching MiniBrowser
1359         https://bugs.webkit.org/show_bug.cgi?id=152048
1360
1361         Reviewed by Gyuyoung Kim.
1362
1363         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
1364         (TestWebKitAPI::TEST):
1365
1366 2015-12-09  Carlos Garcia Campos  <cgarcia@igalia.com>
1367
1368         [GTK] Add API to handle beforeunload events
1369         https://bugs.webkit.org/show_bug.cgi?id=139090
1370
1371         Reviewed by Gustavo Noronha Silva.
1372
1373         * MiniBrowser/gtk/BrowserWindow.c:
1374         (browserWindowConstructed):
1375         (browserWindowDeleteEvent):
1376         (browser_window_class_init):
1377         Handle delete-event to prevent the window from being closed when
1378         the page has beforeunload handlers. Use
1379         webkit_web_view_try_close() when the window is requested to be
1380         closed.
1381         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
1382         (testWebViewJavaScriptDialogs):
1383         Add a test case for the WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM
1384         script dialog type.
1385
1386 2015-12-09  Mario Sanchez Prada  <mario@endlessm.com>
1387
1388         Refactored initialization code in LoadTrackingTest.
1389
1390         Rubber-stamped by Carlos Garcia Campos.
1391
1392         Small refactoring to make sure that the state of a LoadTrackingTest
1393         gets properly reset before loading new web content.
1394
1395         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h:
1396         * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp:
1397         (LoadTrackingTest::reset): New, refactored code from *load*() and go*()
1398         functions and reset the remaining local variables.
1399         (LoadTrackingTest::loadURI): Call reset();
1400         (LoadTrackingTest::loadHtml): Ditto.
1401         (LoadTrackingTest::loadPlainText): Ditto.
1402         (LoadTrackingTest::loadBytes): Ditto.
1403         (LoadTrackingTest::loadRequest): Ditto.
1404         (LoadTrackingTest::reload): Ditto.
1405         (LoadTrackingTest::goBack): Ditto.
1406         (LoadTrackingTest::goForward): Ditto.
1407
1408 2015-12-09  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1409
1410         [EFL] REGRESSION(r193616): WKPreferences test has been failed since r193616
1411         https://bugs.webkit.org/show_bug.cgi?id=151942
1412
1413         Reviewed by Darin Adler.
1414
1415         * MiniBrowser/efl/main.c:
1416         (window_create): Enable offline web application cache feature on MiniBrowser.
1417         (elm_main):
1418
1419 2015-12-08  Aakash Jain  <aakash_jain@apple.com>
1420
1421         https://bugs.webkit.org/show_bug.cgi?id=151243
1422         <rdar://problem/22955197>
1423
1424         Reviewed by Alexey Proskuryakov.
1425
1426         * LayoutTestRelay/LayoutTestRelay/main.m:
1427         (getTestingSimDevice): Use separate testing device for each worker.
1428         * Scripts/webkitpy/layout_tests/controllers/manager.py:
1429         (Manager.run): Perform cleanup even if setup fails.
1430         * Scripts/webkitpy/port/ios.py:
1431         (IOSSimulatorPort.default_child_processes): Calculate number of simulators to use.
1432         (IOSSimulatorPort.child_processes): Gets the number of simulators from options variable.
1433         (IOSSimulatorPort.setup_test_run): Handle mulitple simulators.
1434         (IOSSimulatorPort._quit_ios_simulator): Same
1435         (IOSSimulatorPort.clean_up_test_run): Same
1436         (IOSSimulatorPort.check_sys_deps): Same
1437         (IOSSimulatorPort.testing_device): Same
1438         (IOSSimulatorPort.reset_preferences): Same
1439         (IOSSimulatorPort.get_simulator_path): Return simulator path.
1440         (IOSSimulatorPort._createSimulatorApp): Create the copy of simulator app.
1441         * Scripts/webkitpy/xcode/simulator.py:
1442         (Device.delete): Delete the simulator device.
1443         (Simulator.delete_device): Same
1444         (Simulator.wait_until_device_is_booted): Wait for device booting.
1445
1446 2015-12-08  Ryuan Choi  <ryuan.choi@navercorp.com>
1447
1448         [EFL] Add API to provide preferences before creating ewk_view
1449         https://bugs.webkit.org/show_bug.cgi?id=151587
1450
1451         Reviewed by Gyuyoung Kim.
1452
1453         * MiniBrowser/efl/main.c:
1454         (on_key_down):
1455         (quit):
1456         (window_create):
1457         Moved settings related code to configuration() not to update settings
1458         whenever ewk_view is created.
1459         (configuration):
1460         (elm_main):
1461
1462 2015-12-08  Carlos Garcia Campos  <cgarcia@igalia.com>
1463
1464         Unreviewed. Fix GTK+ API tests after r193639.
1465
1466         The new jhbuild version needs some more variables ot be present in
1467         the builtin dict, even if they are set to None.
1468
1469         * jhbuild/jhbuildutils.py:
1470         (enter_jhbuild_environment_if_available):
1471
1472 2015-12-07  Gustavo Noronha Silva  <gns@gnome.org>
1473
1474         [GTK] Notify WebCore when notification is clicked
1475         https://bugs.webkit.org/show_bug.cgi?id=151951
1476
1477         Reviewed by Carlos Garcia Campos.
1478
1479         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1480         (testWebViewNotification): test the new API.
1481
1482 2015-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
1483
1484         'jhbuild build' should fail immediately when building any module fails
1485         https://bugs.webkit.org/show_bug.cgi?id=145697
1486
1487         Reviewed by Carlos Garcia Campos.
1488
1489         * efl/jhbuildrc: Update jhbuildrc to account for the removal of the use_lib64 option.
1490         * gtk/jhbuildrc: Update jhbuildrc to account for the removal of the use_lib64 option.
1491         Everything is placed under lib instead of lib64 now.
1492         * jhbuild/jhbuild-wrapper: Update jhbuild to the latest upstream commit, and pass
1493         --exit-on-error when running 'jhbuild build'.
1494         * jhbuild/jhbuildrc_common.py:
1495         (init): Don't override PKG_CONFIG_PATH, CMAKE_PREFIX_PATH, or CMAKE_LIBRARY_PATH. Modern
1496         jhbuild should be able to handle these for us without breaking things....
1497
1498 2015-12-07  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1499
1500         Add support to import w3c tests from a repository with a different root that the main repo dir
1501         https://bugs.webkit.org/show_bug.cgi?id=151751
1502
1503         Reviewed by Ryosuke Niwa and Youenn Fablet.
1504
1505         We should be able to import tests from repositories that are not pure test repositories and where tests are kept
1506         in a different directory than the repository root.
1507
1508         This patch introduces a new parameter tests_directory that we will use as root directory to search for
1509         tests. All paths will be flattened when copying tests to have a less complicated directory structure. This
1510         requires having the copy_path lists including tuples of origin and destination directories.
1511
1512         * Scripts/webkitpy/w3c/test_downloader.py:
1513         (TestDownloader._add_test_suite_paths): Adds the paths as a tuple of origin and destination directory.
1514         (TestDownloader.copy_tests): Uses the origin and destination tuple for the paths to copy when copying files.
1515         * Scripts/webkitpy/w3c/test_importer_unittest.py:
1516         (TestImporterTest.test_tests_directory): Test.
1517
1518 2015-12-07  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1519
1520         Mock TestRepositories in W3C importer tests
1521         https://bugs.webkit.org/show_bug.cgi?id=151938
1522
1523         Reviewed by Youenn Fablet.
1524
1525         The test importer tests should use a fake repository instead of using the real one. The reason why this happened
1526         is because the test repository method reading the file was using the filesystem directly instead of taking the
1527         host one. This patch changes that.
1528
1529         * Scripts/webkitpy/w3c/test_downloader.py:
1530         (TestDownloader.load_test_repositories): Take a filesystem and use it. If we get no filesystem, we use the
1531         default one.
1532         (TestDownloader.__init__): When loading the repositories, pass the host filesystem.
1533         * Scripts/webkitpy/w3c/test_importer_unittest.py:
1534         (TestImporterTest.test_harnesslinks_conversion):
1535         (TestImporterTest.test_submodules_generation): Use a fake test repository file.
1536
1537 2015-12-07  David Kilzer  <ddkilzer@apple.com>
1538
1539         TestNetscapePlugIn: Address review comment on 193607
1540         <http://webkit.org/b/151881>
1541
1542         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
1543         (testSetStatus): Initializing std::unique_ptr<char[]> with
1544         nullptr is redundant.
1545
1546 2015-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
1547
1548         [GTK] Add webkit_uri_request_get_http_method
1549         https://bugs.webkit.org/show_bug.cgi?id=151601
1550
1551         Reviewed by Martin Robinson.
1552
1553         Add test case to check HTTP method of WebKitURIRequest.
1554
1555         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
1556         (testURIRequestHTTPMethod):
1557         (serverCallback):
1558         (beforeAll):
1559         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
1560         (sendRequestCallback):
1561
1562 2015-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
1563
1564         [GTK] Add WebKitWebPage::console-message-sent signal to Web Extensions API
1565         https://bugs.webkit.org/show_bug.cgi?id=79918
1566
1567         Reviewed by Gustavo Noronha Silva.
1568
1569         Add unit tests to check the different console messages.
1570
1571         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
1572         * TestWebKitAPI/Tests/WebKit2Gtk/TestConsoleMessage.cpp: Added.
1573         (ConsoleMessageTest::ConsoleMessage::operator==):
1574         (ConsoleMessageTest::consoleMessageReceivedCallback):
1575         (ConsoleMessageTest::ConsoleMessageTest):
1576         (ConsoleMessageTest::~ConsoleMessageTest):
1577         (ConsoleMessageTest::waitUntilConsoleMessageReceived):
1578         (testWebKitConsoleMessageConsoleAPI):
1579         (testWebKitConsoleMessageJavaScriptException):
1580         (testWebKitConsoleMessageNetworkError):
1581         (testWebKitConsoleMessageSecurityError):
1582         (beforeAll):
1583         (afterAll):
1584         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
1585         (consoleMessageSentCallback):
1586         (pageCreatedCallback):
1587
1588 2015-12-07  Ryuan Choi  <ryuan.choi@navercorp.com>
1589
1590         [EFL] MiniBrowser doesn't exit when called ewk_view_try_close()
1591         https://bugs.webkit.org/show_bug.cgi?id=151934
1592
1593         Reviewed by Csaba Osztrogonác.
1594
1595         * MiniBrowser/efl/main.c:
1596         (on_window_deletion): Revert the changes of r192767.
1597
1598 2015-12-07  Michael Catanzaro  <mcatanzaro@igalia.com>
1599
1600         [GTK] update-webkitgtk-libs cannot build mesa
1601         https://bugs.webkit.org/show_bug.cgi?id=151535
1602
1603         Reviewed by Martin Robinson.
1604
1605         Upgrade to newer mesa in order to build successfully against LLVM 3.7. Add missing
1606         dependency of mesa on LLVM, to ensure LLVM is built first. Build LLVM unconditionally, even
1607         on architectures where FTL is not supported, to ensure mesa is always buildable, since LLVM
1608         does not have a stable API and we cannot expect mesa to be buildable unless we control the
1609         LLVM version. Build mesa with --disable-egl since --enable-egl conflicts with
1610         --enable-xlib-glx. This fixes update-webkitgtk-libs on distros with LLVM 3.7.
1611
1612         * gtk/jhbuild.modules:
1613
1614 2015-12-07  Philippe Normand  <pnormand@igalia.com>
1615
1616         [GTK][Mac] libWebExtensionTest link error
1617         https://bugs.webkit.org/show_bug.cgi?id=150802
1618
1619         Reviewed by Carlos Garcia Campos.
1620
1621         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: add dependencies to the webextension library.
1622
1623 2015-12-06  David Kilzer  <ddkilzer@apple.com>
1624
1625         TestNetscapePlugIn: Fix leaks found by static analyzer
1626         <http://webkit.org/b/151881>
1627
1628         Reviewed by Darin Adler.
1629
1630         Fixes the following leaks found by the static analyzer:
1631             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'path'
1632                     return false;
1633                            ^~~~~
1634             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'target'
1635                     return false;
1636                            ^~~~~
1637             DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'url'
1638                     return false;
1639                            ^~~~~
1640
1641         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
1642         (toCString): Switch to returning std::unique_ptr<char[]>.  Add
1643         early return if allocation fails.
1644         (testPostURLFile): Switch to using std::unique_ptr<char[]>.
1645         Make sure to call fclose() on filehandle, even for an early
1646         return.
1647         (testSetStatus): Switch to using std::unique_ptr<char[]>.
1648
1649 2015-12-05  David Kilzer  <ddkilzer@apple.com>
1650
1651         prepare-ChangeLog: Fix some warning messages when using svn
1652         <http://webkit.org/b/151914>
1653
1654         Reviewed by Daniel Bates.
1655
1656         * Scripts/prepare-ChangeLog:
1657         (generateFunctionLists): Simplify logic so that we never call
1658         normalizePath() with an undefined value.
1659         (attributeCommand): Quote $subPath for the shell so that we
1660         don't try to run "svn propget" on invalid paths.
1661
1662 2015-12-04  David Kilzer  <ddkilzer@apple.com>
1663
1664         TestNetscapePlugIn: Fix remaining static analyzer warnings
1665         <http://webkit.org/b/151888>
1666
1667         Reviewed by Alexey Proskuryakov.
1668
1669         Fixes the following static analyzer warnings:
1670             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:101:9: warning: Called function pointer is null (null dereference)
1671                     CRASH();
1672                     ^~~~~~~
1673             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:46:5: note: expanded from macro 'CRASH'
1674                 ((void(*)())0)(); /* More reliable, but doesn't say BBADBEEF */ \
1675                 ^~~~~~~~~~~~~~~~
1676             Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:375:12: warning: Access to field 'pluginTest' results in a dereference of a null pointer (loaded from variable 'obj')
1677                 return obj->pluginTest->NPP_SetWindow(window);
1678                        ^~~~~~~~~~~~~~~
1679             2 warnings generated.
1680
1681         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
1682         (CRASH): Use __builtin_trap() for gcc/clang.
1683         (NPP_SetWindow): Add early return if obj is nullptr.
1684
1685 2015-12-03  Carlos Garcia Campos  <cgarcia@igalia.com>
1686
1687         [GTK] Test /webkit2/WebKitWebResource/get-data is flaky
1688         https://bugs.webkit.org/show_bug.cgi?id=151797
1689
1690         Reviewed by Martin Robinson.
1691
1692         Since we switched to use the network process to run the unit tests
1693         the test /webkit2/WebKitWebResource/get-data sometimes fails and
1694         sometimes passes. We are now also getting the notification for the
1695         css image. Since we wait for 3 resources, sometimes the css image
1696         is loaded before and then checkResourceData is called for it, but
1697         not handled. When the css image is the last one loaded the test
1698         passes. So, we just need to wait for the 4 resources.
1699
1700         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
1701         (testWebResourceGetData):
1702
1703 2015-12-03  David Kilzer  <ddkilzer@apple.com>
1704
1705         DumpRenderTree: Use-after-free in createBitmapContext() in PixelDumpSupportMac.mm
1706         <http://webkit.org/b/151845>
1707
1708         Reviewed by Simon Fraser.
1709
1710         Fixes the following static analyzer warning:
1711             DumpRenderTree/mac/PixelDumpSupportMac.mm:67:9: warning: Use of memory after it is freed
1712                     WTFLogAlways("DumpRenderTree: CGBitmapContextCreate(%p, %llu, %llu, 8, %llu, %p, 0x%x) failed\n", buffer, pixelsHigh, pixelsWide, rowBytes, colorSpace.get(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host);
1713                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1714
1715         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1716         (createBitmapContext): Free 'buffer' after using it in logging
1717         to fix the use-after-free.  Assign a value of nullptr to buffer
1718         so we don't return with it set to a freed address.
1719
1720 2015-12-03  Jer Noble  <jer.noble@apple.com>
1721
1722         Expose WebCore's InvisibleAutoplayNotPermitted setting to WebKit & WebKit2
1723         https://bugs.webkit.org/show_bug.cgi?id=151830
1724
1725         Reviewed by Anders Carlsson.
1726
1727         Set invisibleAutoplayNotPermitted to NO by default both in WKTR and DRT.
1728
1729         * DumpRenderTree/mac/DumpRenderTree.mm:
1730         (resetWebPreferencesToConsistentValues):
1731         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1732         (WTR::initializeWebViewConfiguration):
1733
1734 2015-12-03  Anders Carlsson  <andersca@apple.com>
1735
1736         Remove Objective-C GC support
1737         https://bugs.webkit.org/show_bug.cgi?id=151819
1738         rdar://problem/23746991
1739
1740         Reviewed by Dan Bernstein.
1741
1742         * asan/asan.xcconfig:
1743
1744 2015-12-02  Yusuke Suzuki  <utatane.tea@gmail.com>
1745
1746         Allow nil for unspecified benchmark pathes
1747         https://bugs.webkit.org/show_bug.cgi?id=151784
1748
1749         Reviewed by Filip Pizlo.
1750
1751         `Pathname.new(nil)` will raise an error.
1752         Only generate Pathname if the benchmark path is specified.
1753
1754         * Scripts/run-jsc-benchmarks:
1755
1756 2015-12-02  Brent Fulgham  <bfulgham@apple.com>
1757
1758         [Win] Run non-http tests without Cygwin
1759         https://bugs.webkit.org/show_bug.cgi?id=151721
1760
1761         Reviewed by Andy Estes.
1762
1763         Support native 32-bit and 64-bit Python (and Perl) builds
1764         for running tests:
1765
1766         1. Use "startswith('win')", rather than "== 'win32'" to support
1767         various Windows build types.
1768         2. Supply full path for some native Windows utilities, since the
1769         path environment does not always have the specified, and they are
1770         guaranteed to exist in those specific locations.
1771         3. Make sure native Windows Python test runs pass proper environment
1772         variables to run programs.
1773         4. Append 'exe' suffix when running Windows executables.
1774         5. Use the _winreg Python module on Windows, since the Cygwin 'regtool'
1775         command doesn't exist.
1776         
1777         * Scripts/update-webkit: Use Perl $^X command to refer to the path of
1778         the current Perl executable, rather than requiring a new path search.
1779         * Scripts/webkitpy/common/find_files_unittest.py:
1780         (TestWinNormalize.test_win): Use startswith('win').
1781         * Scripts/webkitpy/common/prettypatch_unittest.py:
1782         (test_pretty_diff_encodings): Ditto.
1783         * Scripts/webkitpy/common/system/executive.py:
1784         (Executive._should_close_fds): Ditto.
1785         (Executive.shell_command_for_script): Use startswith('win').
1786         (Executive.kill_process): Use full path to killall executable.
1787         (Executive.check_running_pid): Use startswith('win').
1788         (Executive.running_pids): Ditto.
1789         (Executive.kill_all): Ditto. Also use path to 'killall' executable when
1790         running under native Windows Python.
1791         (Executive._child_process_encoding): Use startswith('win').
1792         (Executive._should_encode_child_process_arguments): Ditto.
1793         (Executive.popen): Recognize proper script engine on Windows, since it
1794         does not support the shebang syntax.
1795         (Executive.run_in_parallel): Use startswith('win').
1796         * Scripts/webkitpy/common/system/executive_unittest.py:
1797         (never_ending_command): Ditto.
1798         (ExecutiveTest.test_run_command_with_unicode): Ditto.
1799         (ExecutiveTest.serial_test_kill_process): Ditto.
1800         (ExecutiveTest.serial_test_kill_all): Ditto.
1801         (ExecutiveTest.serial_test_check_running_pid): Ditto.
1802         (ExecutiveTest.serial_test_run_in_parallel): Ditto.
1803         (main): Ditto.
1804         * Scripts/webkitpy/common/system/file_lock.py:
1805         (FileLock._create_lock): Ditto.
1806         (FileLock._remove_lock): Ditto.
1807         * Scripts/webkitpy/common/system/filesystem_unittest.py:
1808         (RealFileSystemTest.test_chdir): Ditto.
1809         (RealFileSystemTest.test_chdir__notexists): Ditto.
1810         (RealFileSystemTest.test_maybe_make_directory__failure): Ditto.
1811         * Scripts/webkitpy/common/system/path_unittest.py:
1812         (AbspathTest.test_abspath_to_uri_win): Ditto.
1813         * Scripts/webkitpy/common/system/platforminfo.py:
1814         (PlatformInfo._determine_os_name): Ditto.
1815         * Scripts/webkitpy/common/system/user.py: Ditto.
1816         * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
1817         (ManagerTest.integration_test_needs_servers): Ditto.
1818         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
1819         (LayoutTestApacheHttpd.__init__): Handle upper and lower-case
1820         driver letters.
1821         (LayoutTestApacheHttpd._get_apache_config_file_path): Ditto.
1822         * Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py:
1823         (TestLayoutTestApacheHttpd.test_start_cmd): Ditto.
1824         * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
1825         (HttpServerBase._check_that_all_ports_are_available): Ditto.
1826         * Scripts/webkitpy/layout_tests/servers/http_server_unittest.py:
1827         (TestHttpServer.test_start_cmd): Ditto.
1828         * Scripts/webkitpy/port/base.py:
1829         (Port.to.setup_environ_for_server): Include 'COMSPEC', 'SYSTEMDRIVE',
1830         and 'SYSTEMROOT' in environment passed to test runners.
1831         (Port._apache_config_file_name_for_platform): Use startswith('win').
1832         (Port._build_path): Ditto.
1833         (Port._path_to_driver): Include 'exe' suffix when running under native
1834         Windows.
1835         * Scripts/webkitpy/port/driver.py:
1836         (Driver._setup_environ_for_driver): Explicitly make some environment
1837         variables strings.
1838         * Scripts/webkitpy/port/server_process.py:
1839         (ServerProcess.__init__): Use startswith('win').
1840         * Scripts/webkitpy/port/win.py:
1841         (WinPort): Use the win32 registry utilities on Windows, and appropriate
1842         registry key formats.
1843         (WinPort._ntsd_location): Revise tool search paths for Windows 10.
1844         (WinPort.read_registry_value): Revise to use _winreg library on Windows,
1845         and regtool on Cygwin.
1846         (WinPort.write_registry_value): Ditto.
1847         (WinPort.setup_crash_log_saving): Ditto.
1848         (WinPort.restore_crash_log_saving): Ditto.
1849         (WinPort.prevent_error_dialogs): Ditto.
1850         (WinPort.allow_error_dialogs): Ditto.
1851         (WinPort.find_system_pid): Revise to use Windows management
1852         infrastructure on native Windows, continue using 'ps' on Cygwin.
1853         (WinPort.read_registry_string): Deleted.
1854         (WinPort.write_registry_string): Deleted.
1855         * Scripts/webkitpy/test/main.py:
1856         (main): Use startswith('win').
1857         (Tester._parse_args): Ditto.
1858
1859 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
1860
1861         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
1862         https://bugs.webkit.org/show_bug.cgi?id=150792
1863
1864         Reviewed by Saam Barati.
1865
1866         * Scripts/webkitperl/FeatureList.pm:
1867
1868 2015-12-01  Commit Queue  <commit-queue@webkit.org>
1869
1870         Unreviewed, rolling out r192914.
1871         https://bugs.webkit.org/show_bug.cgi?id=151734
1872
1873         JSC tests for this change are failing on 32 and 64-bit bots
1874         (Requested by ryanhaddad on #webkit).
1875
1876         Reverted changeset:
1877
1878         "[ES6] Implement LLInt/Baseline Support for ES6 Generators and
1879         enable this feature"
1880         https://bugs.webkit.org/show_bug.cgi?id=150792
1881         http://trac.webkit.org/changeset/192914
1882
1883 2015-12-01  David Kilzer  <ddkilzer@apple.com>
1884
1885         EventSenderProxy::swipeGestureWithWheelAndMomentumPhases() leaks an EventSenderSyntheticEvent
1886         <http://webkit.org/b/151726>
1887
1888         Reviewed by Simon Fraser.
1889
1890         * WebKitTestRunner/mac/EventSenderProxy.mm:
1891         (WTR::EventSenderProxy::swipeGestureWithWheelAndMomentumPhases):
1892         Deploy RetainPtr<EventSenderSyntheticEvent> to fix leak.
1893
1894 2015-12-01  Myles C. Maxfield  <mmaxfield@apple.com>
1895
1896         Give String and AtomicString an existingHash() function
1897         https://bugs.webkit.org/show_bug.cgi?id=151717
1898
1899         Reviewed by Andreas Kling.
1900
1901         * TestWebKitAPI/Tests/WTF/AtomicString.cpp:
1902         (TestWebKitAPI::TEST):
1903         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
1904         (TestWebKitAPI::TEST):
1905
1906 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
1907
1908         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
1909         https://bugs.webkit.org/show_bug.cgi?id=150792
1910
1911         Reviewed by Saam Barati.
1912
1913         * Scripts/webkitperl/FeatureList.pm:
1914
1915 2015-12-01  Sam Weinig  <sam@webkit.org>
1916
1917         Need completionHandler-based WebKit C SPI for alert, confirm, and prompt
1918         <rdar://problem/23320863>
1919         https://bugs.webkit.org/show_bug.cgi?id=151708
1920
1921         Reviewed by Anders Carlsson.
1922
1923         * WebKitTestRunner/TestController.cpp:
1924         (WTR::TestController::createOtherPage):
1925         (WTR::TestController::createWebViewWithOptions):
1926         Update for new WKPageUIClient.
1927
1928 2015-12-01  Anders Carlsson  <andersca@apple.com>
1929
1930         Remove WebKit2.framework
1931         https://bugs.webkit.org/show_bug.cgi?id=151715
1932
1933         Reviewed by Dan Bernstein.
1934
1935         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad.cpp:
1936         * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad_bundle.cpp:
1937         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
1938         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
1939         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
1940         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
1941         * TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.h:
1942
1943 2015-12-01  Joseph Pecoraro  <pecoraro@apple.com>
1944
1945         Unreviewed common typo fix "occurance" => "occurrence".
1946
1947         * Scripts/webkitpy/tool/commands/queries.py:
1948         (FindFlakyTests._print_statistics):
1949
1950 2015-11-30  Alex Christensen  <achristensen@webkit.org>
1951
1952         Make ProcessModel always MultipleSecondaryProcesses
1953         https://bugs.webkit.org/show_bug.cgi?id=151662
1954
1955         Reviewed by Antti Koivisto.
1956
1957         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
1958         (TestWebKitAPI::TEST):
1959         * WebKitTestRunner/TestController.cpp:
1960         (WTR::TestController::generatePageConfiguration):
1961
1962 2015-11-30  Alex Christensen  <achristensen@webkit.org>
1963
1964         Make usesNetworkProcess always true
1965         https://bugs.webkit.org/show_bug.cgi?id=151580
1966
1967         Reviewed by Darin Adler.
1968
1969         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
1970         (TestWebKitAPI::TEST):
1971         * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp:
1972         (TestWebKitAPI::TEST):
1973         * WebKitTestRunner/TestController.cpp:
1974         (WTR::TestController::generatePageConfiguration):
1975
1976 2015-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
1977
1978         Unreviewed. Skip GTK+ test /webkit2/WebKitWebView/editable/editable in Debug.
1979
1980         Add a way to skip unit tests only for Debug or Release builds and
1981         skipt the test /webkit2/WebKitWebView/editable/editable only for Debug.
1982
1983         * Scripts/run-gtk-tests:
1984         (SkippedTest):
1985         (SkippedTest.__init__):
1986         (SkippedTest.__str__):
1987         (SkippedTest.skip_entire_suite):
1988         (SkippedTest.skip_for_build_type):
1989         (TestRunner):
1990         (TestRunner.__init__):
1991
1992 2015-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
1993
1994         Unreviewed. Fix a crash in GTK+ test /webkit2/WebKitWebView/custom-charset.
1995
1996         It's an assert hit because we are reloading a view loaded with
1997         HTML data which is not supported. Use loadURI instead.
1998
1999         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
2000         (testWebViewCustomCharset):
2001
2002 2015-11-30  Carlos Garcia Campos  <cgarcia@igalia.com>
2003
2004         [GLIB] Remove GMainLoopSource and GThreadSafeMainLoopSource
2005         https://bugs.webkit.org/show_bug.cgi?id=151633
2006
2007         Reviewed by Csaba Osztrogonác.
2008
2009         * TestWebKitAPI/PlatformGTK.cmake:
2010         * TestWebKitAPI/Tests/WTF/glib/GMainLoopSource.cpp: Removed.
2011
2012 2015-11-27  Carlos Garcia Campos  <cgarcia@igalia.com>
2013
2014         [GTK] Remove the remaining uses of GMainLoopSource
2015         https://bugs.webkit.org/show_bug.cgi?id=151632
2016
2017         Reviewed by Žan Doberšek.
2018
2019         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
2020         (testWebViewSyncRequestOnMaxConns):
2021         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
2022         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2023         (WTR::TestRunner::TestRunner):
2024         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2025         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
2026         (WTR::TestRunner::invalidateWaitToDumpWatchdogTimer):
2027         (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
2028         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
2029         (WTR::timeoutSource):
2030         (WTR::TestController::notifyDone):
2031         (WTR::TestController::platformRunUntil):
2032
2033 2015-11-27  Csaba Osztrogonác  <ossy@webkit.org>
2034
2035         [cmake] Add testb3 to the build system
2036         https://bugs.webkit.org/show_bug.cgi?id=151619
2037
2038         Reviewed by Gyuyoung Kim.
2039
2040         * Scripts/build-jsc:
2041
2042 2015-11-27  Csaba Osztrogonác  <ossy@webkit.org>
2043
2044         [jhbuild] Fix pixman build with clang
2045         https://bugs.webkit.org/show_bug.cgi?id=151441
2046
2047         Reviewed by Carlos Garcia Campos.
2048
2049         * efl/jhbuild.modules:
2050         * gtk/jhbuild.modules:
2051
2052 2015-11-26  David Kilzer  <ddkilzer@apple.com>
2053
2054         Extract prependToEnvironmentVariableList
2055         <http://webkit.org/b/151536>
2056
2057         Reviewed by Daniel Bates.
2058
2059         Tests: webkitdirs_unittest/appendToEnvironmentVariableList.pl
2060                webkitdirs_unittest/prependToEnvironmentVariableList.pl
2061
2062         * Scripts/webkitdirs.pm: Export appendToEnvironmentVariableList
2063         and prependToEnvironmentVariableList.
2064         (appendToEnvironmentVariableList): Simplify variable name.
2065         Switch to use $Config{path_sep}.
2066         (prependToEnvironmentVariableList): Add new method.
2067         (setupMacWebKitEnvironment): Switch to use
2068         prependToEnvironmentVariableList().
2069         (setupIOSWebKitEnvironment): Ditto.
2070
2071         * Scripts/webkitperl/webkitdirs_unittest/appendToEnvironmentVariableList.pl: Added.
2072         * Scripts/webkitperl/webkitdirs_unittest/prependToEnvironmentVariableList.pl: Added.
2073
2074 2015-11-24  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2075
2076         REGRESSION(r192053): MiniBrowser doesn't exit when clicking on the close-window button
2077         https://bugs.webkit.org/show_bug.cgi?id=151567
2078
2079         Reviewed by Darin Adler.
2080
2081         * MiniBrowser/efl/main.c: Call window_close() instead of ewk_view_try_close().
2082         (on_window_deletion):
2083
2084 2015-11-23  Carlos Garcia Campos  <cgarcia@igalia.com>
2085
2086         [GTK] Use the network process unconditionally
2087         https://bugs.webkit.org/show_bug.cgi?id=151541
2088
2089         Reviewed by Alex Christensen.
2090
2091         Fix TestInspectorServer test. Do not assume we already have the
2092         title we want when the page has been loaded, since the title is
2093         changed afterwards. So, check if the title has already been set,
2094         and if not wait for it.
2095
2096         * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
2097         (openRemoteDebuggingSession):
2098
2099 2015-11-23  Alex Christensen  <achristensen@webkit.org>
2100
2101         Fix crash in ~WebProcessPool when using Geolocation with useNetworkProcess=true
2102         https://bugs.webkit.org/show_bug.cgi?id=151532
2103
2104         Reviewed by Benjamin Poulain.
2105
2106         * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
2107         (TestWebKitAPI::GeolocationTransitionToHighAccuracyStateTracker::eventsChanged):
2108         (TestWebKitAPI::TEST):
2109         (TestWebKitAPI::GeolocationTransitionToLowAccuracyStateTracker::eventsChanged):
2110         (TestWebKitAPI::GeolocationTransitionToHighAccuracyStateTracker::GeolocationTransitionToHighAccuracyStateTracker): Deleted.
2111         (TestWebKitAPI::GeolocationTransitionToLowAccuracyStateTracker::GeolocationTransitionToLowAccuracyStateTracker): Deleted.
2112         Properly load about:blank in all WebViews to clean up.  Without this change, we had a 
2113         Geolocation provider stopping after its state tracker was destroyed with its stack frame,
2114         so it was calling a function on a test object that had gone out of scope.
2115         Also, call WKContextSetUsesNetworkProcess(context, true) to show what crash this fixed,
2116         but that will become the default soon and that call will be removed.
2117
2118 2015-11-22  David Kilzer  <ddkilzer@apple.com>
2119
2120         run-webkit-tests: http server for imported W3C tests doesn't work with --layout-tests-directory switch
2121         <http://webkit.org/b/151542>
2122
2123         Reviewed by Daniel Bates.
2124
2125         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2126         (base_url): Use the Port object (already passed in) to give us
2127         the path to the LayoutTests directory, which already checks for a
2128         --layout-tests-directory command-line switch.
2129         (WebPlatformTestServer.__init__): Remove layout_test_results_dir
2130         argument since we can get this from the Port object already
2131         passed in via Port.results_directory().  Also switch to use
2132         Port.layout_tests_dir() to get the LayoutTests directory.
2133
2134         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
2135         (TestWebPlatformTestServer.test_custom_layout_tests_directory):
2136         Add test case for custom LayoutTests directory.
2137         (TestWebPlatformTestServer.test_previously_spawned_instance):
2138         Update Port object to set mock results directory as if it was
2139         set on the command-line.  Remove unneeded argument from
2140         WebPlatformTestServer constructor.
2141         (TestWebPlatformTestServer.test_corrupted_subserver_files): Ditto.
2142
2143         * Scripts/webkitpy/port/base.py:
2144         (Port.to.start_web_platform_test_server): Remove unneeded
2145         argument from WebPlatformTestServer constuctor.
2146
2147 2015-11-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2148
2149         [GTK] Some unit tests fail when using the network process
2150         https://bugs.webkit.org/show_bug.cgi?id=151490
2151
2152         Reviewed by Martin Robinson.
2153
2154         Run the soup server in a separate thread in TestResources test to
2155         avoid deadlocks.
2156
2157         This fixes /webkit2/WebKitWebView/sync-request-on-max-conns and
2158         /webkit2/WebKitWebResource/get-data when using the network process.
2159
2160         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
2161         (beforeAll): Create the WebKitTestServer with ServerRunInThread flag.
2162         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp:
2163         (WebKitTestServer::WebKitTestServer): When ServerRunInThread is
2164         present, create a WorkQueue to run the server.
2165         (WebKitTestServer::run): Run the server in the work queue if it
2166         has been created.
2167         * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h: Convert server
2168         type into server options as flags.
2169
2170 2015-11-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2171
2172         [GTK] ImageDiff should normalize the diff image
2173         https://bugs.webkit.org/show_bug.cgi?id=151261
2174
2175         Reviewed by Sergio Villar Senin.
2176
2177         * ImageDiff/gtk/ImageDiff.cpp:
2178         (readPixbufFromStdin): Fix memory leak.
2179         (differenceImageFromDifferenceBuffer): Normalize diff buffer.
2180         (calculateDifference): Pass max distance to differenceImageFromDifferenceBuffer.
2181
2182 == Rolled over to ChangeLog-2015-11-21 ==