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