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