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