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