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