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