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