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