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