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