1 2016-01-16 Myles C. Maxfield <mmaxfield@apple.com>
3 Remove TextRun::allowsRoundingHacks()
4 https://bugs.webkit.org/show_bug.cgi?id=153185
6 Reviewed by Simon Fraser.
8 * DumpRenderTree/mac/DumpRenderTree.mm:
9 (resetWebViewToConsistentStateBeforeTesting): Deleted.
11 2016-01-15 Konstantin Tokarev <annulen@yandex.ru>
13 [webkitdirs] Avoid list form of open because it broke WinCairo
14 https://bugs.webkit.org/show_bug.cgi?id=153106
16 Reviewed by Alex Christensen.
18 * Scripts/webkitdirs.pm:
19 (determineArchitecture):
21 2016-01-15 Simon Fraser <simon.fraser@apple.com>
23 Add kdebug_trace signposts for a few WebCore operations
24 https://bugs.webkit.org/show_bug.cgi?id=153136
25 rdar://problem/24208487
27 Reviewed by Sam Weinig.
29 Plist used by kdebug_trace() viewing tools.
31 * Tracing/SystemTracePoints.plist: Added.
33 2016-01-14 Konstantin Tokarev <annulen@yandex.ru>
35 [webkitdirs] Replaced grep invocation with perl code
36 https://bugs.webkit.org/show_bug.cgi?id=153106
38 Reviewed by Alex Christensen.
40 * Scripts/webkitdirs.pm:
41 (determineArchitecture):
43 2016-01-14 Brian Burg <bburg@apple.com>
45 prepare-changelog does not read paths containing spaces properly
46 https://bugs.webkit.org/show_bug.cgi?id=137982
48 Reviewed by Joseph Pecoraro.
50 Escape whitespace in filenames before passing the file path to other functions.
52 * Scripts/prepare-ChangeLog:
53 (generateFunctionLists): Use the more explicit 3-argument form of 'open'.
55 2016-01-14 Jason Marcell <jmarcell@apple.com>
57 Standardize the usage of "branch" vs. "branchName".
58 https://bugs.webkit.org/show_bug.cgi?id=152982
60 Reviewed by Daniel Bates.
62 In an earlier patch we started using the name "branch" to indicate a branch object, whereas
63 "branchName" implies that the variable or property in question is simply a string.
65 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
66 (BuildbotQueueView.prototype._popoverLinesForCommitRange): Change branch to branchName.
67 (BuildbotQueueView.prototype._presentPopoverForRevisionRange): Change branch to branch.name.
68 (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Change branch to branchName.
69 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
70 (Trac.prototype.commitsOnBranch): Change branch to branchName.
71 (Trac.prototype._convertCommitInfoElementToObject): Ditto.
72 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js:
75 2016-01-14 Jason Marcell <jmarcell@apple.com>
77 Add a unit test to test BuildbotQueueView._appendPendingRevisionCount.
78 https://bugs.webkit.org/show_bug.cgi?id=152910
80 Reviewed by Daniel Bates.
82 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueue.js: Added.
83 (MockBuildbotQueue): Added. Mock BuildbotQueue object that doesn't need to talk to an actual Buildbot server.
84 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockBuildbotQueueView.js: Added.
85 (MockBuildbotQueueView): Added. Mock BuildbotQueueView object that returns a pre-specified _latestProductiveIteration without
86 the need to talk to a real Buildbot server.
87 (MockBuildbotQueueView.prototype._latestProductiveIteration): Added. Returns a pre-specified _latestProductiveIteration
88 without the need to talk to a real Buildbot server.
89 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/MockTrac.js: Added.
90 (MockTrac): Added. Mock Trac constructor that has pre-populated "recordedCommits" and does not need to talk to a real Trac
92 (MockTrac.prototype.get oldestRecordedRevisionNumber): Added. Returns a pre-specified revision.
93 (MockTrac.prototype.get latestRecordedRevisionNumber): Ditto.
94 (MockTrac.prototype.loadMoreHistoricalData): Added. Overrides the real loadMoreHistoricalData so that we don't waste time
95 trying to talk to Trac.
96 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Added. Web page container for
98 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added. QUnit unit tests.
100 2016-01-14 Nikos Andronikos <nikos.andronikos-webkit@cisra.canon.com.au>
102 [CMake][GTK] CMake Error: Could not create named generator Eclipse CDT4 - Ninja
103 https://bugs.webkit.org/show_bug.cgi?id=132599
105 Reviewed by Michael Catanzaro.
107 Check if cmake Ninja generators are installed.
109 * Scripts/webkitdirs.pm:
110 (canUseNinjaGenerator):
111 (canUseEclipseNinjaGenerator):
112 (generateBuildSystemFromCMakeProject):
113 (canUseEclipse): Deleted.
115 2016-01-13 Myles C. Maxfield <mmaxfield@apple.com>
117 [Cocoa] Testing with font family name "System Font" is unused
118 https://bugs.webkit.org/show_bug.cgi?id=153073
119 <rdar://problem/24091683>
121 Reviewed by Brent Fulgham.
123 * DumpRenderTree/mac/DumpRenderTree.mm:
124 (allowedFontFamilySet): Deleted.
125 * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
126 (WTR::allowedFontFamilySet): Deleted.
127 * WebKitTestRunner/mac/TestControllerMac.mm:
128 (WTR::allowedFontFamilySet): Deleted.
130 2016-01-13 Daniel Bates <dabates@apple.com>
132 [XSS Auditor] Add test when XSS payload is in the path portion of the URL
133 https://bugs.webkit.org/show_bug.cgi?id=152871
135 Reviewed by Brent Fulgham.
137 Merged from Blink (patch by Tom Sepez <tsepez@chromium.org>):
138 <https://src.chromium.org/viewvc/blink?revision=164746&view=revision>
140 * Scripts/webkitpy/layout_tests/servers/lighttpd.conf:
142 2016-01-08 Andy Estes <aestes@apple.com>
144 [Content Filtering] Lazily load platform frameworks
145 https://bugs.webkit.org/show_bug.cgi?id=152881
146 rdar://problem/23270886
148 Reviewed by Brady Eidson.
150 Added an API test that verifies that the Parental Controls and Network Extension frameworks are loaded at the
151 expected times. The test verifies that they are not loaded after creating a WKWebView, loading an HTML string,
152 loading NSData, loading a file, or loading from a custom protocol. It verifies that Network Extension on Mac/iOS
153 and Parental Controls on iOS are loaded after an HTTP request. It finally verifies that Parental Controls on Mac
154 is loaded after an HTTPS request.
156 To accomplish this, TestProtocol was generalized to allow tests to specify the scheme they wish to use.
157 Other tests that used TestProtocol were updated to account for this change. TestProtocol was removed from
158 WebKit2.PreventImageLoadWithAutoResizingTest, which didn't actually need to use it. ContentFiltering tests were
159 also re-enabled on iOS after mistakenly being disabled by r188892.
161 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
162 * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
163 (TestWebKitAPI::TEST):
164 * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.h: Added.
165 * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.html: Added.
166 * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
169 (-[LazilyLoadPlatformFrameworksController init]):
170 (-[LazilyLoadPlatformFrameworksController webView]):
171 (-[LazilyLoadPlatformFrameworksController expectParentalControlsLoaded:networkExtensionLoaded:]):
172 (-[LazilyLoadPlatformFrameworksController webView:didFinishNavigation:]):
173 * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm:
174 (-[ContentFilteringPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
175 (-[ContentFilteringPlugIn observeValueForKeyPath:ofObject:change:context:]):
176 (-[ContentFilteringPlugIn checkIfPlatformFrameworksAreLoaded:]):
177 * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
178 (TestWebKitAPI::TEST):
179 * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
180 (TestWebKitAPI::TEST): Deleted.
181 * TestWebKitAPI/cocoa/TestProtocol.h:
182 * TestWebKitAPI/cocoa/TestProtocol.mm:
183 (+[TestProtocol registerWithScheme:]):
184 (+[TestProtocol unregister]):
186 2016-01-12 Dewei Zhu <dewei_zhu@apple.com>
188 Fix the Sunpider converage in slow device.
189 https://bugs.webkit.org/show_bug.cgi?id=152938
190 <rdar://problem/22511411>
192 Reviewed by Ryosuke Niwa.
194 Updated the patch for RunBenchmark to resume sunspider coverage by removing unused subresources in sub-tests.
196 * Scripts/webkitpy/benchmark_runner/data/patches/SunSpider.patch:
198 2016-01-12 Ryosuke Niwa <rniwa@webkit.org>
200 Add a build flag for custom element
201 https://bugs.webkit.org/show_bug.cgi?id=153005
203 Reviewed by Alex Christensen.
205 Added --custom-elements option to enable custom elements support.
207 * Scripts/webkitperl/FeatureList.pm:
209 2016-01-12 Benjamin Poulain <bpoulain@apple.com>
211 [JSC] Add a help message when run-jsc-stress-tests fails
212 https://bugs.webkit.org/show_bug.cgi?id=153014
214 Reviewed by Csaba Osztrogonác.
216 * Scripts/run-jsc-stress-tests:
218 2016-01-11 Saam barati <sbarati@apple.com>
220 run-jsc-stress-tests should try to figure out a JSC path
221 https://bugs.webkit.org/show_bug.cgi?id=152971
223 Reviewed by Yusuke Suzuki.
225 This patch now allows run-jsc-stress-tests to be run
226 without a "--jsc <jsc-path>" argument. It tries
227 to take its best guess at a <jsc-path> automagically.
229 This makes it much easier to just run run-jsc-stress-tests
230 with a directory or a yaml file as an argument.
231 You now just do this:
232 `run-jsc-stress-tests <path-to-yaml>`
234 `run-jsc-stress-tests <path-to-directory-of-js-files>`
236 I wrote this patch because I'd often find myself hacking the
237 run-javascriptcore-tests file just to run a particular subset of tests.
238 Because I always forget the arguments to run-jsc-stress-tests (which means
239 I always forgot to provide a --jsc argument), I always found it easier to
240 just hack on that file instead of calling run-jsc-stress-tests directly.
241 No longer is this true!
243 * Scripts/run-jsc-stress-tests:
245 2016-01-09 Andy Estes <aestes@apple.com>
247 [Cocoa] Add SPI to opt out a URL scheme from the memory cache
248 https://bugs.webkit.org/show_bug.cgi?id=152950
249 rdar://problem/24066652
251 Reviewed by Tim Horton.
255 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
256 * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm: Added.
257 (+[AlwaysRevalidatedURLSchemeProtocol canInitWithRequest:]):
258 (+[AlwaysRevalidatedURLSchemeProtocol canonicalRequestForRequest:]):
259 (+[AlwaysRevalidatedURLSchemeProtocol requestIsCacheEquivalent:toRequest:]):
260 (-[AlwaysRevalidatedURLSchemeProtocol startLoading]):
261 (-[AlwaysRevalidatedURLSchemeProtocol stopLoading]):
262 (-[AlwaysRevalidatedURLSchemesDelegate webView:didFinishNavigation:]):
265 2016-01-11 Commit Queue <commit-queue@webkit.org>
267 Unreviewed, rolling out r194866.
268 https://bugs.webkit.org/show_bug.cgi?id=152986
270 This change broke the mac build (Requested by ryanhaddad on
275 "[Cocoa] Add SPI to opt out a URL scheme from the memory
277 https://bugs.webkit.org/show_bug.cgi?id=152950
278 http://trac.webkit.org/changeset/194866
280 2016-01-11 Andy Estes <aestes@apple.com>
282 [Cocoa] Add SPI to opt out a URL scheme from the memory cache
283 https://bugs.webkit.org/show_bug.cgi?id=152950
284 rdar://problem/24066652
286 Reviewed by Tim Horton.
290 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
291 * TestWebKitAPI/Tests/WebKit2Cocoa/AlwaysRevalidatedURLSchemes.mm: Added.
292 (+[AlwaysRevalidatedURLSchemeProtocol canInitWithRequest:]):
293 (+[AlwaysRevalidatedURLSchemeProtocol canonicalRequestForRequest:]):
294 (+[AlwaysRevalidatedURLSchemeProtocol requestIsCacheEquivalent:toRequest:]):
295 (-[AlwaysRevalidatedURLSchemeProtocol startLoading]):
296 (-[AlwaysRevalidatedURLSchemeProtocol stopLoading]):
297 (-[AlwaysRevalidatedURLSchemesDelegate webView:didFinishNavigation:]):
300 2016-01-11 Konstantin Tokarev <annulen@yandex.ru>
302 [webkitdirs] Use CMake to determine architecture on isCMakeBuild()
303 https://bugs.webkit.org/show_bug.cgi?id=152959
305 Reviewed by Brent Fulgham.
307 * Scripts/webkitdirs.pm:
308 (determineArchitecture):
310 2016-01-11 Michael Catanzaro <mcatanzaro@igalia.com>
312 [GTK] W3C CSS2.1 anonymous table tests are failing
313 https://bugs.webkit.org/show_bug.cgi?id=152455
315 Reviewed by Mario Sanchez Prada.
317 Add shared-mime-info to the jhbuild environment, since it affects the results of layout
318 tests. Add upstream patches to fix detection of XHTML files.
320 * gtk/jhbuild.modules:
321 * gtk/patches/shared-mime-info-xht-glob.patch: Added.
322 * gtk/patches/shared-mime-info-xhtml-magic.patch: Added.
324 2016-01-10 Saam barati <sbarati@apple.com>
326 Implement a sampling profiler
327 https://bugs.webkit.org/show_bug.cgi?id=151713
329 Reviewed by Filip Pizlo.
331 * Scripts/run-jsc-stress-tests:
333 2016-01-10 Konstantin Tokarev <annulen@yandex.ru>
335 [webkitdirs] Try arch and uname commands on non-windows OS
336 https://bugs.webkit.org/show_bug.cgi?id=152958
338 Reviewed by Michael Catanzaro.
340 Right now, determineArchitecture() uses `arch` and `uname -m`
341 commands to determine architecture in case of condition (isGtk() ||
342 isAppleMacWebKit() || isEfl()) is true. This should be !anyWindows()
343 instead, because this code is applicable to any non-windows OS WebKit
344 supports (even Haiku which once was supported is moderately
345 POSIX-compliant and has uname command).
347 * Scripts/webkitdirs.pm:
348 (determineArchitecture):
350 2016-01-08 Aakash Jain <aakash_jain@apple.com>
352 run-webkit-tests mis-counts totals when there are other crashes
353 https://bugs.webkit.org/show_bug.cgi?id=152894
354 <rdar://problem/24098697>
356 Reviewed by Alexey Proskuryakov.
358 * Scripts/webkitpy/layout_tests/models/test_run_results.py:
359 (TestRunResults.add): Do not update result counters for other crashes.
361 2016-01-08 Youenn Fablet <youenn.fablet@crf.canon.fr>
363 webkit-patch build-and-test should have an option to iterate over new tests
364 https://bugs.webkit.org/show_bug.cgi?id=143093
366 Reviewed by Michael Catanzaro.
368 This patch introduces the --iterate-on-new-tests option to webkit-patch build-and-test.
369 It allows running run-webkit-tests on modified or new paths in LayoutTests.
370 Computation of new or modified tests is done by LayoutTestFinder.find_touched_tests
371 It implements the translation of -expected.* paths to their related tests.
372 It also implements the removal of skipped tests.
374 * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py:
375 (LayoutTestFinder.find_touched_tests):
376 * Scripts/webkitpy/layout_tests/controllers/layout_test_finder_unittest.py: Added.
380 (LayoutTestFinderTests):
381 (LayoutTestFinderTests.touched_files):
382 (LayoutTestFinderTests.test_touched_test):
383 (LayoutTestFinderTests.test_expected_touched_test):
384 (LayoutTestFinderTests.test_platform_expected_touched_test):
385 (LayoutTestFinderTests.test_platform_duplicate_touched_test):
386 (LayoutTestFinderTests.test_touched_but_skipped_test):
387 * Scripts/webkitpy/port/base.py:
388 (Port.potential_test_names_from_expected_file):
389 * Scripts/webkitpy/tool/commands/download_unittest.py:
390 (DownloadCommandsTest._default_options):
391 * Scripts/webkitpy/tool/steps/options.py:
393 * Scripts/webkitpy/tool/steps/runtests.py:
397 (RunTests._new_or_modified_tests):
398 (RunTests._run_webkit_tests):
399 * Scripts/webkitpy/tool/steps/runtests_unittest.py:
400 (RunTestsTest.test_webkit_run_unit_tests):
401 * Scripts/webkitpy/tool/steps/steps_unittest.py:
402 (StepsTest._step_options):
404 2016-01-07 Joseph Pecoraro <pecoraro@apple.com>
406 prepare-ChangeLog should include radar number
407 https://bugs.webkit.org/show_bug.cgi?id=152839
408 <rdar://problem/24093563>
410 Reviewed by Daniel Bates.
412 When running `prepare-ChangeLog -b ###`, check for a bugzilla comment that
413 starts with a "<rdar://problem/####>" URL. If found, include that radar URL
414 in the ChangeLog description after the bug URL.
416 * Scripts/prepare-ChangeLog:
417 (main): Update signatures.
418 (fetchBugXMLData): XML Data is now used for multiple reasons. Extract this to just get the data.
419 (fetchBugDescriptionFromBugXMLData): Search data for <short_desc>.
420 (fetchRadarURLFromBugXMLData): Search comment text for radar URL.
421 (generateNewChangeLogs): Include radar URL if we found one.
423 * Scripts/webkitperl/prepare-ChangeLog_unittest/fetchRadarURLFromBugXMLData.pl: Added.
424 Tests for the radar URL extraction.
426 2016-01-07 Alexey Proskuryakov <ap@apple.com>
428 testRunner.runUIScript crashes while running multiple tests in a row that invokes the same UIScript
429 https://bugs.webkit.org/show_bug.cgi?id=152390
430 <rdar://problem/23948321>
432 Reviewed by Simon Fraser.
434 Fix two use-after-frees.
436 1. WKPageCallAfterNextPresentationUpdate's callback has a pointer to TestInvocation,
437 but we may have already progressed to another test by the time the callback fires,
438 having destroyed the TestInvocation.
439 2. UIScriptController is a RefCounted object, but it has a raw pointer to
440 UIScriptContext which has the same lifetime as a TestInvocation.
441 As a result, completion blocks of UIScriptController actions would use a destroyed
444 * WebKitTestRunner/TestInvocation.cpp:
445 (WTR::TestInvocation::~TestInvocation):
446 (WTR::TestInvocation::url):
447 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
448 (WTR::TestInvocation::runUISideScriptAfterUpdateCallback):
449 (WTR::TestInvocation::runUISideScript):
450 * WebKitTestRunner/TestInvocation.h:
451 * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp:
452 (UIScriptContext::UIScriptContext):
453 (UIScriptContext::~UIScriptContext):
454 (UIScriptContext::runUIScript):
455 * WebKitTestRunner/UIScriptContext/UIScriptContext.h:
456 * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
457 (WTR::UIScriptController::UIScriptController):
458 (WTR::UIScriptController::contextDestroyed):
459 (WTR::UIScriptController::makeWindowObject):
460 (WTR::UIScriptController::setWillBeginZoomingCallback):
461 (WTR::UIScriptController::willBeginZoomingCallback):
462 (WTR::UIScriptController::setDidEndZoomingCallback):
463 (WTR::UIScriptController::didEndZoomingCallback):
464 (WTR::UIScriptController::setDidEndScrollingCallback):
465 (WTR::UIScriptController::didEndScrollingCallback):
466 (WTR::UIScriptController::setDidShowKeyboardCallback):
467 (WTR::UIScriptController::didShowKeyboardCallback):
468 (WTR::UIScriptController::setDidHideKeyboardCallback):
469 (WTR::UIScriptController::didHideKeyboardCallback):
470 (WTR::UIScriptController::uiScriptComplete):
471 * WebKitTestRunner/UIScriptContext/UIScriptController.h:
472 (WTR::UIScriptController::create):
473 * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
474 (WTR::UIScriptController::doAsyncTask):
475 (WTR::UIScriptController::zoomToScale):
476 (WTR::UIScriptController::singleTapAtPoint):
477 (WTR::UIScriptController::doubleTapAtPoint):
478 (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
479 (WTR::UIScriptController::contentVisibleRect):
480 (WTR::UIScriptController::platformSetWillBeginZoomingCallback):
481 (WTR::UIScriptController::platformSetDidEndZoomingCallback):
482 (WTR::UIScriptController::platformSetDidShowKeyboardCallback):
483 (WTR::UIScriptController::platformSetDidHideKeyboardCallback):
484 (WTR::UIScriptController::platformSetDidEndScrollingCallback):
485 * WebKitTestRunner/mac/UIScriptControllerMac.mm:
486 (WTR::UIScriptController::doAsyncTask):
488 2016-01-07 Youenn Fablet <youenn.fablet@crf.canon.fr>
490 [buildbot] clean-build script should remove untracked files and revert local changes too
491 https://bugs.webkit.org/show_bug.cgi?id=142400
493 Reviewed by Ryosuke Niwa.
495 This patch cleans the WebKit folder by reverting tracked files changes and deleting SCM untracked files, including SCM ignored files.
496 A helper routine SCM.discard_untracked_files is added for that purpose.
498 * BuildSlaveSupport/clean-build:
499 (main): Making call to Scripts/clean-webkit
500 * Scripts/clean-webkit: Added.
501 (main): Revert changes and delete untracked files.
502 * Scripts/webkitpy/common/checkout/scm/scm.py:
503 (SCM.discard_untracked_files): Helper function to discard untracked files or folders found by SCM.
504 * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
505 (SCMTest._shared_test_discard_untracked_files):
506 (test_discard_untracked_files): Tests that untracked file and untracked folder get discarded correctly.
508 2016-01-06 Simon Fraser <simon.fraser@apple.com>
510 Add a setting and preferences to enable display-list drawing. Does nothing yet.
511 https://bugs.webkit.org/show_bug.cgi?id=152807
513 Reviewed by Zalan Bujtas.
515 Add an item to the Settings menu to toggle display-list drawing.
517 * MiniBrowser/mac/SettingsController.h:
518 * MiniBrowser/mac/SettingsController.m:
519 (-[SettingsController _populateMenu]):
520 (-[SettingsController validateMenuItem:]):
521 (-[SettingsController toggleDisplayListDrawingEnabled:]):
522 (-[SettingsController displayListDrawingEnabled]):
523 * MiniBrowser/mac/WK2BrowserWindowController.m:
524 (-[WK2BrowserWindowController didChangeSettings]):
526 2016-01-06 Youenn Fablet <youenn.fablet@crf.canon.fr>
528 Python SCM should be able to retrieve untracked files - Add GIT support
529 https://bugs.webkit.org/show_bug.cgi?id=143135
531 Reviewed by Michael Catanzaro.
533 * Scripts/webkitpy/common/checkout/scm/git.py:
534 (Git.untracked_files): Adding support for git.
535 * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
537 (GitTest.test_untracked_files): Adding test.
539 2016-01-05 Mark Lam <mark.lam@apple.com>
541 Rename badly named JSC_timeout env var to JSCTEST_timeout.
542 https://bugs.webkit.org/show_bug.cgi?id=152748
544 Reviewed by Geoffrey Garen.
546 Now that we validate JSC options, the badly named JSC_timeout env var causes the
547 bots to have a bad time.
549 * Scripts/run-javascriptcore-tests:
550 * Scripts/run-jsc-stress-tests:
552 2016-01-04 Carlos Garcia Campos <cgarcia@igalia.com>
554 [GTK] Allow to save and restore session
555 https://bugs.webkit.org/show_bug.cgi?id=115600
557 Reviewed by Michael Catanzaro.
559 Add test case to check the new session API.
561 * TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp:
562 (testWebKitWebViewSessionState):
563 (testWebKitWebViewSessionStateWithFormData):
566 2016-01-04 Csaba Osztrogonác <ossy@webkit.org>
568 [EFL] Bump EFL version to 1.16.1
569 https://bugs.webkit.org/show_bug.cgi?id=152688
571 Reviewed by Gyuyoung Kim.
573 * efl/jhbuild.modules:
575 2016-01-04 Aakash Jain <aakash_jain@apple.com>
577 error running layout tests on iOS simulator on latest build
578 https://bugs.webkit.org/show_bug.cgi?id=152719
579 <rdar://problem/24009549>
581 Reviewed by Alexey Proskuryakov.
583 * Scripts/webkitpy/xcode/simulator.py:
584 (Simulator.wait_until_device_is_booted): Ensure that simulator device is in booted state
585 before running simctl spawn command.
587 2016-01-03 Michael Catanzaro <mcatanzaro@igalia.com>
589 Unreviewed, move Frédéric Wang to committers list
591 He seems to be on the contributors list by accident. He has been landing his own commits for
594 * Scripts/webkitpy/common/config/contributors.json:
596 2016-01-03 Michael Catanzaro <mcatanzaro@igalia.com>
598 Unreviewed, move Sebastian Dröge to committers list harder
600 He accidentally added himself to the reviewers list because the file is confusing. Then I
601 accidentially moved him to the contributors list because the file is confusing, even though
602 I knew the contributors list existed in this file and was attempting to add him to the
603 committers list. Really move him to the committers list now.
605 * Scripts/webkitpy/common/config/contributors.json:
607 2016-01-02 Youenn Fablet <youenn.fablet@crf.canon.fr>
609 Python SCM should be able to retrieve untracked files - Add SVN support
610 https://bugs.webkit.org/show_bug.cgi?id=152546
612 Reviewed by Michael Catanzaro.
614 * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
615 (test_untracked_files): Activating test for SVN.
616 * Scripts/webkitpy/common/checkout/scm/svn.py:
617 (SVN.untracked_files): Implementing untracked files retrieval for SVN.
619 2015-12-31 Andy Estes <aestes@apple.com>
621 Replace WTF::move with WTFMove
622 https://bugs.webkit.org/show_bug.cgi?id=152601
624 Reviewed by Brady Eidson.
626 * DumpRenderTree/TestRunner.h:
627 (TestRunner::setAllowedHosts):
628 * DumpRenderTree/win/DRTDataObject.cpp:
629 (DRTDataObject::SetData):
630 * TestWebKitAPI/Tests/WTF/Deque.cpp:
631 (TestWebKitAPI::TEST):
632 * TestWebKitAPI/Tests/WTF/HashMap.cpp:
633 (TestWebKitAPI::TEST):
634 * TestWebKitAPI/Tests/WTF/HashSet.cpp:
635 (TestWebKitAPI::TEST):
636 * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
637 (TestWebKitAPI::TEST):
638 * TestWebKitAPI/Tests/WTF/Ref.cpp:
639 (TestWebKitAPI::passWithRef):
640 (TestWebKitAPI::TEST):
641 * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
642 (TestWebKitAPI::TEST):
643 * TestWebKitAPI/Tests/WTF/Vector.cpp:
644 (TestWebKitAPI::TEST):
645 * TestWebKitAPI/Tests/WTF/WTFString.cpp:
646 (TestWebKitAPI::TEST):
647 * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm:
648 (TestWebKitAPI::TEST):
649 * TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:
650 (TestWebKitAPI::createTestValue):
651 (TestWebKitAPI::TEST):
652 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
653 (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
654 (TestWebKitAPI::InMemoryCompiledContentExtension::create):
655 (TestWebKitAPI::InMemoryCompiledContentExtension::InMemoryCompiledContentExtension):
656 (TestWebKitAPI::createNFAs):
657 (TestWebKitAPI::TEST_F):
658 * TestWebKitAPI/Tests/WebCore/DFACombiner.cpp:
659 (TestWebKitAPI::combine):
660 * TestWebKitAPI/Tests/WebCore/DFAHelpers.h:
661 (TestWebKitAPI::createNFAs):
662 * TestWebKitAPI/Tests/WebKit2/cocoa/WeakObjCPtr.mm:
664 * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
665 (WebProcessTest::add):
667 2016-01-01 Michael Catanzaro <mcatanzaro@igalia.com>
669 [SOUP] REGRESSION(r192761): Broke resource URIs for applications that use g_resource_load in a web extension
670 https://bugs.webkit.org/show_bug.cgi?id=152634
672 Reviewed by Carlos Garcia Campos.
674 * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
675 (testLoadFromGResource): Added test.
677 * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
678 (registerGResource): Added.
679 (webkit_web_extension_initialize_with_user_data): Load the test gresource.
680 * TestWebKitAPI/Tests/WebKit2Gtk/resources/boring.html: Added.
681 * TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml: Add an HTML file.
683 2015-12-31 David Kilzer <ddkilzer@apple.com>
685 REGRESSION (r194470): Fix warnings uncovered by migrating to WTF_MOVE
686 <https://bugs.webkit.org/show_bug.cgi?id=152601>
688 Ignore unknown pragmas on older clangs. Fixes the following
691 Tools/TestWebKitAPI/Tests/WTF/NakedPtr.cpp:184:34: error: unknown warning group '-Wself-move', ignored [-Werror,-Wunknown-pragmas]
692 #pragma clang diagnostic ignored "-Wself-move"
696 * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
697 (TestWebKitAPI::TEST):
698 * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
699 (TestWebKitAPI::TEST):
701 2015-12-31 Andy Estes <aestes@apple.com>
703 Update the style checker to advise using WTFMove() instead of WTF::move()
704 https://bugs.webkit.org/show_bug.cgi?id=152601
706 Reviewed by Daniel Bates.
708 * Scripts/webkitpy/style/checkers/cpp.py:
710 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
711 (WebKitStyleTest.test_wtf_move):
713 2015-12-31 Andy Estes <aestes@apple.com>
715 Fix warnings uncovered by migrating to WTF_MOVE
716 https://bugs.webkit.org/show_bug.cgi?id=152601
718 Reviewed by Daniel Bates.
720 Ignored -Wself-move warnings in these two API tests. It's useful to test that these classes properly handle
721 self-move, even if doing so would trigger a warning.
723 * TestWebKitAPI/Tests/WTF/NakedPtr.cpp:
724 (TestWebKitAPI::TEST):
725 * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
726 (TestWebKitAPI::TEST):
728 2015-12-31 Martin Robinson <mrobinson@igalia.com>
730 [GTK] The install-dependencies script has a syntax error
731 https://bugs.webkit.org/show_bug.cgi?id=152613
733 Reviewed by Michael Catanzaro.
735 * gtk/install-dependencies: Add the missing 'then.'
737 2015-12-30 Philippe Normand <pnormand@igalia.com>
739 [Mac][GTK] Jhbuild support for OSX
740 https://bugs.webkit.org/show_bug.cgi?id=150799
742 Reviewed by Michael Catanzaro.
744 * gtk/install-dependencies: Install dependencies on OSX with Homebrew.
745 * gtk/jhbuild.modules: Moved platform-specific build settings in condition tags.
746 * gtk/patches/foxbntconfig-fix-osx-cache.diff: Added.
747 * gtk/jhbuildrc: GTK+ makeargs clean-up, the 3.0.12 hack is no longer needed.
749 2015-12-28 Michael Catanzaro <mcatanzaro@igalia.com>
751 Unreviewed, move Sebastian Dröge to committers list
753 He accidentally added himself to the reviewers list because the file is confusing.
755 * Scripts/webkitpy/common/config/contributors.json:
757 2015-12-24 Simon Fraser <simon.fraser@apple.com>
759 Remove the unused #define _USE_MATH_DEFINES
760 https://bugs.webkit.org/show_bug.cgi?id=152034
762 Reviewed by Tim Horton.
764 Update this test to use piDouble from MathExtras.h, and
765 std::numeric_limits<>.
767 * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
769 2015-12-24 Youenn Fablet <youenn.fablet@crf.canon.fr>
771 Python SCM should be able to retrieve untracked files - Generic changes
772 https://bugs.webkit.org/show_bug.cgi?id=152536
774 Reviewed by Brent Fulgham.
776 This patch introduces SCM.untracked_files to retrieve a list of untracked files.
777 No support is yet added to GIT and SVN specific implementations.
779 * Scripts/webkitpy/common/checkout/scm/scm.py:
780 (SCM.untracked_files):
781 * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
782 (SCMTest._shared_test_untracked_files):
784 2015-12-23 Dewei Zhu <dewei_zhu@apple.com>
786 SVN checkout used by RunBenchmark should be non-interactive
787 https://bugs.webkit.org/show_bug.cgi?id=152542
789 Reviewed by Ryosuke Niwa.
791 RunBenchmark should not require user interaction while running.
793 * Scripts/webkitpy/benchmark_runner/benchmark_builder.py:
794 (BenchmarkBuilder._checkout_with_subversion):
796 2015-12-23 Brent Fulgham <bfulgham@apple.com>
798 Web Inspector: add support for running protocol-test.js tests on Windows
799 https://bugs.webkit.org/show_bug.cgi?id=148037
800 <rdar://problem/22292237>
802 Reviewed by Simon Fraser.
804 * DumpRenderTree/win/TestRunnerWin.cpp:
805 (TestRunner::inspectorTestStubURL): Provide implementation.
807 2015-12-23 Eric Carlson <eric.carlson@apple.com>
809 [MediaStream] MediaDeviceInfo.label must be empty in some situations
810 https://bugs.webkit.org/show_bug.cgi?id=152000
812 Reviewed by Brent Fulgham.
814 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
815 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
816 (WTR::InjectedBundle::setUserMediaPermission):
817 (WTR::InjectedBundle::setUserMediaPermissionForOrigin): New.
818 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
820 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
821 (WTR::TestRunner::setUserMediaPermissionForOrigin): New.
822 * WebKitTestRunner/InjectedBundle/TestRunner.h:
824 * WebKitTestRunner/TestController.cpp:
825 (WTR::TestController::setUserMediaPermissionForOrigin):
826 (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin): Add NULL check.
827 (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Don't add
828 persistent permission for origin, that can be done from script now.
829 * WebKitTestRunner/TestController.h:
831 * WebKitTestRunner/TestInvocation.cpp:
832 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Add support for
833 SetUserMediaPermissionForOrigin.
835 2015-12-23 Brent Fulgham <bfulgham@apple.com>
837 [Win] Unreviewed build fix: Recognize Windows 10 variants.
839 * Scripts/webkitpy/common/system/platforminfo.py:
840 (PlatformInfo._determine_win_version):
842 2015-12-23 Chris Aljoudi <chris@chrismatic.io> and Alex Christensen <achristensen@webkit.org>
844 Content blockers should be able to promote http to https
845 https://bugs.webkit.org/show_bug.cgi?id=148966
847 Reviewed by Benjamin Poulain.
849 * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
850 (WebCore::ContentExtensions::operator<<):
851 (TestWebKitAPI::TEST_F):
853 2015-12-22 Hunseop Jeong <hs85.jeong@samsung.com>
855 [EFL] MiniBrowser should be able to choose the offline-web-application-cache option
856 https://bugs.webkit.org/show_bug.cgi?id=152516
858 Reviewed by Gyuyoung Kim.
860 * MiniBrowser/efl/main.c:
862 2015-12-22 Brent Fulgham <bfulgham@apple.com>
864 Unreviewed: Add John Wilander as a contributor.
866 * Scripts/webkitpy/common/config/contributors.json:
868 2015-12-22 Chris Fleizach <cfleizach@apple.com>
870 [WK2] Looping in testcase: fast/dom/Window/property-access-on-cached-window-after-frame-removed.html
871 https://bugs.webkit.org/show_bug.cgi?id=152482
873 Reviewed by Brent Fulgham.
875 vertical/horizontalScrollbar returns an accessibility element. That element can also be queried
876 for the same property. On WK2, the element returned will not be valid, but is still present and
877 that can lead to looping.
879 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
880 (AccessibilityUIElement::horizontalScrollbar):
881 (AccessibilityUIElement::verticalScrollbar):
882 * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
883 (WTR::AccessibilityUIElement::horizontalScrollbar):
884 (WTR::AccessibilityUIElement::verticalScrollbar):
886 2015-12-22 Xabier Rodriguez Calvar <calvaris@igalia.com>
890 * Scripts/webkitpy/common/config/contributors.json: Marking myself as reviewer.
892 2015-12-21 Hunseop Jeong <hs85.jeong@samsung.com>
894 [EFL] test_ewk2_context failed after r192808
895 https://bugs.webkit.org/show_bug.cgi?id=151846
897 Reviewed by Gyuyoung Kim.
899 Used the added ewk_context_web_process_count_limit_set api
900 instead of the deprecated ewk_context_process_model_set.
902 * MiniBrowser/efl/main.c:
905 2015-12-21 Michael Catanzaro <mcatanzaro@igalia.com>
907 Unreviewed, move myself to reviewer list.
909 * Scripts/webkitpy/common/config/contributors.json:
911 2015-12-21 Aakash Jain <aakash_jain@apple.com>
913 Unreviewed, add myself to the committers list.
915 * Scripts/webkitpy/common/config/contributors.json:
917 2015-12-21 Michael Catanzaro <mcatanzaro@igalia.com>
919 [GTK] jquery.min.js violates DFSG
920 https://bugs.webkit.org/show_bug.cgi?id=152428
922 Reviewed by Joseph Pecoraro.
924 Stop distributing Source/WebInspectorUI/Tools. It is not needed in tarballs. This brings us
925 into compliance with DFSG by removing a bundled, minified copy of jQuery from our tarball.
927 * gtk/manifest.txt.in:
929 2015-12-19 Dan Bernstein <mitz@apple.com>
931 [Mac] WebKit contains dead source code for OS X Mavericks and earlier
932 https://bugs.webkit.org/show_bug.cgi?id=152462
934 Reviewed by Alexey Proskuryakov.
936 - Removed definitions of MACOSX_DEPLOYMENT_TARGET and WEBKIT_SYSTEM_INTERFACE_LIBRARY for
939 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
940 * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
941 * MiniBrowser/Configurations/DebugRelease.xcconfig:
942 * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
943 * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
945 - Simplified expressions involving __MAC_OS_X_VERSION_MIN_REQUIRED and removed code that was
946 never getting compiled:
948 * DumpRenderTree/mac/TextInputController.m:
949 * MiniBrowser/mac/BrowserWindowController.m:
950 * TestWebKitAPI/Tests/mac/AttributedString.mm:
951 * WebKitTestRunner/mac/EventSenderProxy.mm:
953 2015-12-18 Michael Catanzaro <mcatanzaro@igalia.com>
955 Unreviewed, add WebKitGTK+ Bugzilla email to committers list
957 This is to make it easy to CC it on Bugzilla.
959 * Scripts/webkitpy/common/config/contributors.json:
961 2015-12-18 Aakash Jain <aakash_jain@apple.com>
963 Pasteboard get messed up after running kill-old-processes
964 https://bugs.webkit.org/show_bug.cgi?id=152426
966 Reviewed by Alexey Proskuryakov.
968 * BuildSlaveSupport/kill-old-processes:
969 (main): Do not kill pasteboard anymore.
971 2015-12-17 Aakash Jain <aakash_jain@apple.com>
973 run-webkit-tests shouldn't start multiple iOS simulators while only running one test
974 https://bugs.webkit.org/show_bug.cgi?id=152157
975 <rdar://problem/23851817>
977 Reviewed by Alexey Proskuryakov.
979 * Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
980 (LayoutTestRunner.get_worker_count): Calculate required number of workers.
981 * Scripts/webkitpy/layout_tests/controllers/manager.py:
982 (Manager._get_test_inputs): Common method to calculate test_inputs.
983 (Manager._update_worker_count): Calculate and update required number of workers.
985 2015-12-16 Aakash Jain <aakash_jain@apple.com>
987 run-webkit-tests fails to delete Simulator device during cleanup
988 https://bugs.webkit.org/show_bug.cgi?id=152363
990 Reviewed by Alexey Proskuryakov.
992 * Scripts/webkitpy/xcode/simulator.py:
993 (Simulator.delete_device): Ensure that device is Shutdown before deleting it.
995 2015-12-16 Tim Horton <timothy_horton@apple.com>
997 [mac-wk2] fast/events force click tests crashing
998 https://bugs.webkit.org/show_bug.cgi?id=152339
1000 Reviewed by Beth Dakin.
1002 * WebKitTestRunner/mac/EventSenderProxy.mm:
1003 (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]):
1004 Set the NSEvent's _type member in addition to overriding -type,
1005 because there are assertions in touch event handling code that depend on it.
1007 2015-12-16 Youenn Fablet <youenn.fablet@crf.canon.fr>
1009 Enforce temporarily bots to sync WebKit and WPT testharness.js
1010 https://bugs.webkit.org/show_bug.cgi?id=152334
1012 Reviewed by Darin Adler.
1014 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1015 (WebPlatformTestServer._copy_webkit_test_files): Temporarily overwrite wpt testharness.js with WebKit testharness.js.
1017 2015-12-16 Youenn Fablet <youenn.fablet@crf.canon.fr>
1019 [Fetch API] Add fetch API compile time flag
1020 https://bugs.webkit.org/show_bug.cgi?id=152254
1022 Reviewed by Darin Adler.
1024 * Scripts/webkitperl/FeatureList.pm:
1026 2015-12-16 Xabier Rodriguez Calvar <calvaris@igalia.com>
1030 Added files that have impact in building Streams API to the watchlist.
1032 * Scripts/webkitpy/common/config/watchlist:
1034 2015-12-16 Xabier Rodriguez Calvar <calvaris@igalia.com>
1038 Added imported tests to Streams API watchlist.
1040 * Scripts/webkitpy/common/config/watchlist:
1042 2015-12-16 Youenn Fablet <youenn.fablet@crf.canon.fr>
1044 Remove default copy of wpt testharness.js when launching wpt server
1045 https://bugs.webkit.org/show_bug.cgi?id=152298
1047 Reviewed by Darin Adler.
1049 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1050 (WebPlatformTestServer._copy_webkit_test_files): Deleted default copy of WebKit testharness.js to WPT.
1052 2015-12-15 David Kilzer <ddkilzer@apple.com>
1054 REGRESSION (r192375): DumpRenderTree.app exits immediately with no error
1055 <http://webkit.org/b/152314>
1057 Reviewed by Daniel Bates.
1059 The change to DumpRenderTreeMain.mm in r192375 caused the iOS
1060 code path to exit immediately when calling main().
1061 Unfortunately, DumpRenderTreeMain.mm was used for both
1062 DumpRenderTree command-line binary and DumpRenderTree.app, which
1063 meant that the app would exit immediately with no error code
1066 The workaround is to introduce a separate source file called
1067 DumpRenderTreeAppMain.mm, similar to what WebKitTestRunner
1070 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Add
1071 DumpRenderTreeAppMain.mm to the project. Make it the only
1072 compiled source for the DumpRenderTree.app target.
1073 * DumpRenderTree/ios/DumpRenderTreeAppMain.mm: Copied from Tools/DumpRenderTree/mac/DumpRenderTreeMain.mm.
1074 (main): Call DumpRenderTreeMain() on iOS. Assert on OS X in
1075 case someone tries mistakenly to use the app.
1076 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1077 Link to JavaScriptCore.framework on iOS for the assert.
1078 * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
1079 Link to JavaScriptCore.framework on OS X for the assert. Remove
1080 unneeded EXCLUDED_SOURCE_FILE_NAMES setting.
1081 * DumpRenderTree/mac/DumpRenderTreeMain.mm:
1082 (main): Add assert for iOS so that a crash occurs if someone
1083 tries to run the wrong command.
1085 2015-12-14 Tim Horton <timothy_horton@apple.com>
1087 Frequent crash under -[WKPDFView web_setMinimumSize:]_block_invoke
1088 https://bugs.webkit.org/show_bug.cgi?id=152266
1089 <rdar://problem/22092676>
1091 Reviewed by Simon Fraser.
1093 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1094 * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewResizeCrash.mm: Added.
1095 Add a test that crashed before this change, and doesn't crash after.
1097 2015-12-14 Chris Fleizach <cfleizach@apple.com>
1099 AX: iOS: Text field variations do not have the correct traits
1100 https://bugs.webkit.org/show_bug.cgi?id=152237
1102 Reviewed by Mario Sanchez Prada.
1104 Add iOS calls for determing if an object is a search field or a text area.
1106 * DumpRenderTree/AccessibilityUIElement.cpp:
1107 (getIsSearchFieldCallback):
1108 (getIsTextAreaCallback):
1109 (stringForSelectionCallback):
1110 (AccessibilityUIElement::getJSClass):
1111 * DumpRenderTree/AccessibilityUIElement.h:
1112 * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1113 (AccessibilityUIElement::identifier):
1114 (AccessibilityUIElement::isTextArea):
1115 (AccessibilityUIElement::isSearchField):
1116 (AccessibilityUIElement::traits):
1117 * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
1118 (WTR::AccessibilityUIElement::scrollPageRight):
1119 (WTR::AccessibilityUIElement::hasContainedByFieldsetTrait):
1120 (WTR::AccessibilityUIElement::fieldsetAncestorElement):
1121 (WTR::AccessibilityUIElement::isSearchField):
1122 (WTR::AccessibilityUIElement::isTextArea):
1123 * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1124 * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1125 * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1126 (WTR::AccessibilityUIElement::fieldsetAncestorElement):
1127 (WTR::AccessibilityUIElement::isTextArea):
1128 (WTR::AccessibilityUIElement::isSearchField):
1129 (WTR::AccessibilityUIElement::rowCount):
1131 2015-12-14 Carlos Alberto Lopez Perez <clopez@igalia.com>
1133 [GTK] [JHBuild] package libtool-bin is now required on Debian systems.
1134 https://bugs.webkit.org/show_bug.cgi?id=152252
1136 Reviewed by Sergio Villar Senin.
1138 * gtk/install-dependencies: Add libtool-bin to the list of packages required
1139 for building the JHBuild on Debian systems.
1141 2015-12-11 Joseph Pecoraro <pecoraro@apple.com>
1143 check-for-inappropriate-objc-class-names should check all class names, not just externally visible ones
1144 https://bugs.webkit.org/show_bug.cgi?id=152156
1146 Reviewed by Dan Bernstein.
1148 Our frameworks should appropriately prefix all ObjC classes,
1149 not just external symbols.
1151 * Scripts/check-for-inappropriate-objc-class-names:
1152 Remove the -g switch to check all ObjC class names.
1154 2015-12-10 Eric Carlson <eric.carlson@apple.com>
1156 [MediaStream] Expose media capture devices persistent permissions to WebCore
1157 https://bugs.webkit.org/show_bug.cgi?id=152087
1159 Add support for the new user media permission checker page UI client method.
1161 Reviewed by Chris Dumez.
1163 * WebKitTestRunner/TestController.cpp:
1164 (WTR::decidePolicyForUserMediaPermissionRequest):
1165 (WTR::checkUserMediaPermissionForOrigin):
1166 (WTR::TestController::createOtherPage): Add checkUserMediaPermissionForOrigin.
1167 (WTR::TestController::createWebViewWithOptions): Ditto.
1168 (WTR::TestController::resetStateToConsistentValues): Clear m_userMediaOriginPermissions.
1169 (WTR::originUserVisibleName): New, create a string for the origin.
1170 (WTR::TestController::handleCheckOfUserMediaPermissionForOrigin): Set the WKUserMediaPermissionCheckRef
1171 according to the state of the origin permission map.
1172 (WTR::TestController::handleUserMediaPermissionRequest): Remember both the origin and the
1173 request so we can update the origin permission map in decidePolicyForUserMediaPermissionRequestIfPossible.
1174 (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Update the
1175 origin permission map.
1176 * WebKitTestRunner/TestController.h:
1178 2015-12-10 Alex Christensen <achristensen@webkit.org>
1180 REGRESSION (r192796) WKBundlePageResourceLoadClient should be able to setHTTPBody in willSendRequestForFrame
1181 https://bugs.webkit.org/show_bug.cgi?id=152022
1182 rdar://problem/23763584
1184 Reviewed by Darin Adler.
1186 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1187 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1188 (WTR::InjectedBundlePage::willSendRequestForFrame):
1189 * WebKitTestRunner/InjectedBundle/TestRunner.h:
1190 (WTR::TestRunner::setWillSendRequestReturnsNull):
1191 (WTR::TestRunner::willSendRequestReturnsNullOnRedirect):
1192 (WTR::TestRunner::setWillSendRequestReturnsNullOnRedirect):
1193 (WTR::TestRunner::setWillSendRequestAddsHTTPBody):
1194 (WTR::TestRunner::willSendRequestHTTPBody):
1195 Added setWillSendRequestAddsHTTPBody that uses new SPI for testing.
1197 2015-12-10 Aakash Jain <aakash_jain@apple.com>
1199 Remove additional simulator checks before running layout-tests
1200 https://bugs.webkit.org/show_bug.cgi?id=152146
1202 Reviewed by Darin Adler.
1204 * Scripts/webkitpy/port/ios.py:
1205 (IOSSimulatorPort.check_sys_deps): Removed additional simulators verifications.
1206 * Scripts/webkitpy/xcode/simulator.py:
1207 (Simulator._boot_and_shutdown_simulator_device): Deleted.
1208 (Simulator.check_simulator_device_and_erase_if_needed): Deleted.
1210 2015-12-09 Aakash Jain <aakash_jain@apple.com>
1212 Run atleast one simulator even if max process limit is low
1213 https://bugs.webkit.org/show_bug.cgi?id=152081
1214 <rdar://problem/23819694>
1216 Reviewed by Alexey Proskuryakov.
1218 2015-12-09 Mario Sanchez Prada <mario@endlessm.com>
1220 [GTK] Crash in WebProcess when loading large content with custom URI schemes
1221 https://bugs.webkit.org/show_bug.cgi?id=144262
1223 Reviewed by Carlos Garcia Campos.
1225 Added new unit test to check the additional scenarios we now
1226 handle for custom URI schemes.
1228 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
1229 (generateHTMLContent): New helper function to generate big enough content.
1230 (testWebContextURIScheme): New unit test.
1232 2015-12-09 Ryuan Choi <ryuan.choi@navercorp.com>
1234 [EFL] Fix unhandled web process message when launching MiniBrowser
1235 https://bugs.webkit.org/show_bug.cgi?id=152048
1237 Reviewed by Gyuyoung Kim.
1239 * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp:
1240 (TestWebKitAPI::TEST):
1242 2015-12-09 Carlos Garcia Campos <cgarcia@igalia.com>
1244 [GTK] Add API to handle beforeunload events
1245 https://bugs.webkit.org/show_bug.cgi?id=139090
1247 Reviewed by Gustavo Noronha Silva.
1249 * MiniBrowser/gtk/BrowserWindow.c:
1250 (browserWindowConstructed):
1251 (browserWindowDeleteEvent):
1252 (browser_window_class_init):
1253 Handle delete-event to prevent the window from being closed when
1254 the page has beforeunload handlers. Use
1255 webkit_web_view_try_close() when the window is requested to be
1257 * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
1258 (testWebViewJavaScriptDialogs):
1259 Add a test case for the WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM
1262 2015-12-09 Mario Sanchez Prada <mario@endlessm.com>
1264 Refactored initialization code in LoadTrackingTest.
1266 Rubber-stamped by Carlos Garcia Campos.
1268 Small refactoring to make sure that the state of a LoadTrackingTest
1269 gets properly reset before loading new web content.
1271 * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h:
1272 * TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp:
1273 (LoadTrackingTest::reset): New, refactored code from *load*() and go*()
1274 functions and reset the remaining local variables.
1275 (LoadTrackingTest::loadURI): Call reset();
1276 (LoadTrackingTest::loadHtml): Ditto.
1277 (LoadTrackingTest::loadPlainText): Ditto.
1278 (LoadTrackingTest::loadBytes): Ditto.
1279 (LoadTrackingTest::loadRequest): Ditto.
1280 (LoadTrackingTest::reload): Ditto.
1281 (LoadTrackingTest::goBack): Ditto.
1282 (LoadTrackingTest::goForward): Ditto.
1284 2015-12-09 Gyuyoung Kim <gyuyoung.kim@webkit.org>
1286 [EFL] REGRESSION(r193616): WKPreferences test has been failed since r193616
1287 https://bugs.webkit.org/show_bug.cgi?id=151942
1289 Reviewed by Darin Adler.
1291 * MiniBrowser/efl/main.c:
1292 (window_create): Enable offline web application cache feature on MiniBrowser.
1295 2015-12-08 Aakash Jain <aakash_jain@apple.com>
1297 https://bugs.webkit.org/show_bug.cgi?id=151243
1298 <rdar://problem/22955197>
1300 Reviewed by Alexey Proskuryakov.
1302 * LayoutTestRelay/LayoutTestRelay/main.m:
1303 (getTestingSimDevice): Use separate testing device for each worker.
1304 * Scripts/webkitpy/layout_tests/controllers/manager.py:
1305 (Manager.run): Perform cleanup even if setup fails.
1306 * Scripts/webkitpy/port/ios.py:
1307 (IOSSimulatorPort.default_child_processes): Calculate number of simulators to use.
1308 (IOSSimulatorPort.child_processes): Gets the number of simulators from options variable.
1309 (IOSSimulatorPort.setup_test_run): Handle mulitple simulators.
1310 (IOSSimulatorPort._quit_ios_simulator): Same
1311 (IOSSimulatorPort.clean_up_test_run): Same
1312 (IOSSimulatorPort.check_sys_deps): Same
1313 (IOSSimulatorPort.testing_device): Same
1314 (IOSSimulatorPort.reset_preferences): Same
1315 (IOSSimulatorPort.get_simulator_path): Return simulator path.
1316 (IOSSimulatorPort._createSimulatorApp): Create the copy of simulator app.
1317 * Scripts/webkitpy/xcode/simulator.py:
1318 (Device.delete): Delete the simulator device.
1319 (Simulator.delete_device): Same
1320 (Simulator.wait_until_device_is_booted): Wait for device booting.
1322 2015-12-08 Ryuan Choi <ryuan.choi@navercorp.com>
1324 [EFL] Add API to provide preferences before creating ewk_view
1325 https://bugs.webkit.org/show_bug.cgi?id=151587
1327 Reviewed by Gyuyoung Kim.
1329 * MiniBrowser/efl/main.c:
1333 Moved settings related code to configuration() not to update settings
1334 whenever ewk_view is created.
1338 2015-12-08 Carlos Garcia Campos <cgarcia@igalia.com>
1340 Unreviewed. Fix GTK+ API tests after r193639.
1342 The new jhbuild version needs some more variables ot be present in
1343 the builtin dict, even if they are set to None.
1345 * jhbuild/jhbuildutils.py:
1346 (enter_jhbuild_environment_if_available):
1348 2015-12-07 Gustavo Noronha Silva <gns@gnome.org>
1350 [GTK] Notify WebCore when notification is clicked
1351 https://bugs.webkit.org/show_bug.cgi?id=151951
1353 Reviewed by Carlos Garcia Campos.
1355 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1356 (testWebViewNotification): test the new API.
1358 2015-12-07 Michael Catanzaro <mcatanzaro@igalia.com>
1360 'jhbuild build' should fail immediately when building any module fails
1361 https://bugs.webkit.org/show_bug.cgi?id=145697
1363 Reviewed by Carlos Garcia Campos.
1365 * efl/jhbuildrc: Update jhbuildrc to account for the removal of the use_lib64 option.
1366 * gtk/jhbuildrc: Update jhbuildrc to account for the removal of the use_lib64 option.
1367 Everything is placed under lib instead of lib64 now.
1368 * jhbuild/jhbuild-wrapper: Update jhbuild to the latest upstream commit, and pass
1369 --exit-on-error when running 'jhbuild build'.
1370 * jhbuild/jhbuildrc_common.py:
1371 (init): Don't override PKG_CONFIG_PATH, CMAKE_PREFIX_PATH, or CMAKE_LIBRARY_PATH. Modern
1372 jhbuild should be able to handle these for us without breaking things....
1374 2015-12-07 Xabier Rodriguez Calvar <calvaris@igalia.com>
1376 Add support to import w3c tests from a repository with a different root that the main repo dir
1377 https://bugs.webkit.org/show_bug.cgi?id=151751
1379 Reviewed by Ryosuke Niwa and Youenn Fablet.
1381 We should be able to import tests from repositories that are not pure test repositories and where tests are kept
1382 in a different directory than the repository root.
1384 This patch introduces a new parameter tests_directory that we will use as root directory to search for
1385 tests. All paths will be flattened when copying tests to have a less complicated directory structure. This
1386 requires having the copy_path lists including tuples of origin and destination directories.
1388 * Scripts/webkitpy/w3c/test_downloader.py:
1389 (TestDownloader._add_test_suite_paths): Adds the paths as a tuple of origin and destination directory.
1390 (TestDownloader.copy_tests): Uses the origin and destination tuple for the paths to copy when copying files.
1391 * Scripts/webkitpy/w3c/test_importer_unittest.py:
1392 (TestImporterTest.test_tests_directory): Test.
1394 2015-12-07 Xabier Rodriguez Calvar <calvaris@igalia.com>
1396 Mock TestRepositories in W3C importer tests
1397 https://bugs.webkit.org/show_bug.cgi?id=151938
1399 Reviewed by Youenn Fablet.
1401 The test importer tests should use a fake repository instead of using the real one. The reason why this happened
1402 is because the test repository method reading the file was using the filesystem directly instead of taking the
1403 host one. This patch changes that.
1405 * Scripts/webkitpy/w3c/test_downloader.py:
1406 (TestDownloader.load_test_repositories): Take a filesystem and use it. If we get no filesystem, we use the
1408 (TestDownloader.__init__): When loading the repositories, pass the host filesystem.
1409 * Scripts/webkitpy/w3c/test_importer_unittest.py:
1410 (TestImporterTest.test_harnesslinks_conversion):
1411 (TestImporterTest.test_submodules_generation): Use a fake test repository file.
1413 2015-12-07 David Kilzer <ddkilzer@apple.com>
1415 TestNetscapePlugIn: Address review comment on 193607
1416 <http://webkit.org/b/151881>
1418 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
1419 (testSetStatus): Initializing std::unique_ptr<char[]> with
1420 nullptr is redundant.
1422 2015-12-07 Carlos Garcia Campos <cgarcia@igalia.com>
1424 [GTK] Add webkit_uri_request_get_http_method
1425 https://bugs.webkit.org/show_bug.cgi?id=151601
1427 Reviewed by Martin Robinson.
1429 Add test case to check HTTP method of WebKitURIRequest.
1431 * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
1432 (testURIRequestHTTPMethod):
1435 * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
1436 (sendRequestCallback):
1438 2015-12-07 Carlos Garcia Campos <cgarcia@igalia.com>
1440 [GTK] Add WebKitWebPage::console-message-sent signal to Web Extensions API
1441 https://bugs.webkit.org/show_bug.cgi?id=79918
1443 Reviewed by Gustavo Noronha Silva.
1445 Add unit tests to check the different console messages.
1447 * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
1448 * TestWebKitAPI/Tests/WebKit2Gtk/TestConsoleMessage.cpp: Added.
1449 (ConsoleMessageTest::ConsoleMessage::operator==):
1450 (ConsoleMessageTest::consoleMessageReceivedCallback):
1451 (ConsoleMessageTest::ConsoleMessageTest):
1452 (ConsoleMessageTest::~ConsoleMessageTest):
1453 (ConsoleMessageTest::waitUntilConsoleMessageReceived):
1454 (testWebKitConsoleMessageConsoleAPI):
1455 (testWebKitConsoleMessageJavaScriptException):
1456 (testWebKitConsoleMessageNetworkError):
1457 (testWebKitConsoleMessageSecurityError):
1460 * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
1461 (consoleMessageSentCallback):
1462 (pageCreatedCallback):
1464 2015-12-07 Ryuan Choi <ryuan.choi@navercorp.com>
1466 [EFL] MiniBrowser doesn't exit when called ewk_view_try_close()
1467 https://bugs.webkit.org/show_bug.cgi?id=151934
1469 Reviewed by Csaba Osztrogonác.
1471 * MiniBrowser/efl/main.c:
1472 (on_window_deletion): Revert the changes of r192767.
1474 2015-12-07 Michael Catanzaro <mcatanzaro@igalia.com>
1476 [GTK] update-webkitgtk-libs cannot build mesa
1477 https://bugs.webkit.org/show_bug.cgi?id=151535
1479 Reviewed by Martin Robinson.
1481 Upgrade to newer mesa in order to build successfully against LLVM 3.7. Add missing
1482 dependency of mesa on LLVM, to ensure LLVM is built first. Build LLVM unconditionally, even
1483 on architectures where FTL is not supported, to ensure mesa is always buildable, since LLVM
1484 does not have a stable API and we cannot expect mesa to be buildable unless we control the
1485 LLVM version. Build mesa with --disable-egl since --enable-egl conflicts with
1486 --enable-xlib-glx. This fixes update-webkitgtk-libs on distros with LLVM 3.7.
1488 * gtk/jhbuild.modules:
1490 2015-12-07 Philippe Normand <pnormand@igalia.com>
1492 [GTK][Mac] libWebExtensionTest link error
1493 https://bugs.webkit.org/show_bug.cgi?id=150802
1495 Reviewed by Carlos Garcia Campos.
1497 * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: add dependencies to the webextension library.
1499 2015-12-06 David Kilzer <ddkilzer@apple.com>
1501 TestNetscapePlugIn: Fix leaks found by static analyzer
1502 <http://webkit.org/b/151881>
1504 Reviewed by Darin Adler.
1506 Fixes the following leaks found by the static analyzer:
1507 DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'path'
1510 DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'target'
1513 DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:808:16: warning: Potential leak of memory pointed to by 'url'
1517 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
1518 (toCString): Switch to returning std::unique_ptr<char[]>. Add
1519 early return if allocation fails.
1520 (testPostURLFile): Switch to using std::unique_ptr<char[]>.
1521 Make sure to call fclose() on filehandle, even for an early
1523 (testSetStatus): Switch to using std::unique_ptr<char[]>.
1525 2015-12-05 David Kilzer <ddkilzer@apple.com>
1527 prepare-ChangeLog: Fix some warning messages when using svn
1528 <http://webkit.org/b/151914>
1530 Reviewed by Daniel Bates.
1532 * Scripts/prepare-ChangeLog:
1533 (generateFunctionLists): Simplify logic so that we never call
1534 normalizePath() with an undefined value.
1535 (attributeCommand): Quote $subPath for the shell so that we
1536 don't try to run "svn propget" on invalid paths.
1538 2015-12-04 David Kilzer <ddkilzer@apple.com>
1540 TestNetscapePlugIn: Fix remaining static analyzer warnings
1541 <http://webkit.org/b/151888>
1543 Reviewed by Alexey Proskuryakov.
1545 Fixes the following static analyzer warnings:
1546 Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:101:9: warning: Called function pointer is null (null dereference)
1549 Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:46:5: note: expanded from macro 'CRASH'
1550 ((void(*)())0)(); /* More reliable, but doesn't say BBADBEEF */ \
1552 Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:375:12: warning: Access to field 'pluginTest' results in a dereference of a null pointer (loaded from variable 'obj')
1553 return obj->pluginTest->NPP_SetWindow(window);
1555 2 warnings generated.
1557 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
1558 (CRASH): Use __builtin_trap() for gcc/clang.
1559 (NPP_SetWindow): Add early return if obj is nullptr.
1561 2015-12-03 Carlos Garcia Campos <cgarcia@igalia.com>
1563 [GTK] Test /webkit2/WebKitWebResource/get-data is flaky
1564 https://bugs.webkit.org/show_bug.cgi?id=151797
1566 Reviewed by Martin Robinson.
1568 Since we switched to use the network process to run the unit tests
1569 the test /webkit2/WebKitWebResource/get-data sometimes fails and
1570 sometimes passes. We are now also getting the notification for the
1571 css image. Since we wait for 3 resources, sometimes the css image
1572 is loaded before and then checkResourceData is called for it, but
1573 not handled. When the css image is the last one loaded the test
1574 passes. So, we just need to wait for the 4 resources.
1576 * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
1577 (testWebResourceGetData):
1579 2015-12-03 David Kilzer <ddkilzer@apple.com>
1581 DumpRenderTree: Use-after-free in createBitmapContext() in PixelDumpSupportMac.mm
1582 <http://webkit.org/b/151845>
1584 Reviewed by Simon Fraser.
1586 Fixes the following static analyzer warning:
1587 DumpRenderTree/mac/PixelDumpSupportMac.mm:67:9: warning: Use of memory after it is freed
1588 WTFLogAlways("DumpRenderTree: CGBitmapContextCreate(%p, %llu, %llu, 8, %llu, %p, 0x%x) failed\n", buffer, pixelsHigh, pixelsWide, rowBytes, colorSpace.get(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host);
1589 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1591 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1592 (createBitmapContext): Free 'buffer' after using it in logging
1593 to fix the use-after-free. Assign a value of nullptr to buffer
1594 so we don't return with it set to a freed address.
1596 2015-12-03 Jer Noble <jer.noble@apple.com>
1598 Expose WebCore's InvisibleAutoplayNotPermitted setting to WebKit & WebKit2
1599 https://bugs.webkit.org/show_bug.cgi?id=151830
1601 Reviewed by Anders Carlsson.
1603 Set invisibleAutoplayNotPermitted to NO by default both in WKTR and DRT.
1605 * DumpRenderTree/mac/DumpRenderTree.mm:
1606 (resetWebPreferencesToConsistentValues):
1607 * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1608 (WTR::initializeWebViewConfiguration):
1610 2015-12-03 Anders Carlsson <andersca@apple.com>
1612 Remove Objective-C GC support
1613 https://bugs.webkit.org/show_bug.cgi?id=151819
1614 rdar://problem/23746991
1616 Reviewed by Dan Bernstein.
1618 * asan/asan.xcconfig:
1620 2015-12-02 Yusuke Suzuki <utatane.tea@gmail.com>
1622 Allow nil for unspecified benchmark pathes
1623 https://bugs.webkit.org/show_bug.cgi?id=151784
1625 Reviewed by Filip Pizlo.
1627 `Pathname.new(nil)` will raise an error.
1628 Only generate Pathname if the benchmark path is specified.
1630 * Scripts/run-jsc-benchmarks:
1632 2015-12-02 Brent Fulgham <bfulgham@apple.com>
1634 [Win] Run non-http tests without Cygwin
1635 https://bugs.webkit.org/show_bug.cgi?id=151721
1637 Reviewed by Andy Estes.
1639 Support native 32-bit and 64-bit Python (and Perl) builds
1642 1. Use "startswith('win')", rather than "== 'win32'" to support
1643 various Windows build types.
1644 2. Supply full path for some native Windows utilities, since the
1645 path environment does not always have the specified, and they are
1646 guaranteed to exist in those specific locations.
1647 3. Make sure native Windows Python test runs pass proper environment
1648 variables to run programs.
1649 4. Append 'exe' suffix when running Windows executables.
1650 5. Use the _winreg Python module on Windows, since the Cygwin 'regtool'
1651 command doesn't exist.
1653 * Scripts/update-webkit: Use Perl $^X command to refer to the path of
1654 the current Perl executable, rather than requiring a new path search.
1655 * Scripts/webkitpy/common/find_files_unittest.py:
1656 (TestWinNormalize.test_win): Use startswith('win').
1657 * Scripts/webkitpy/common/prettypatch_unittest.py:
1658 (test_pretty_diff_encodings): Ditto.
1659 * Scripts/webkitpy/common/system/executive.py:
1660 (Executive._should_close_fds): Ditto.
1661 (Executive.shell_command_for_script): Use startswith('win').
1662 (Executive.kill_process): Use full path to killall executable.
1663 (Executive.check_running_pid): Use startswith('win').
1664 (Executive.running_pids): Ditto.
1665 (Executive.kill_all): Ditto. Also use path to 'killall' executable when
1666 running under native Windows Python.
1667 (Executive._child_process_encoding): Use startswith('win').
1668 (Executive._should_encode_child_process_arguments): Ditto.
1669 (Executive.popen): Recognize proper script engine on Windows, since it
1670 does not support the shebang syntax.
1671 (Executive.run_in_parallel): Use startswith('win').
1672 * Scripts/webkitpy/common/system/executive_unittest.py:
1673 (never_ending_command): Ditto.
1674 (ExecutiveTest.test_run_command_with_unicode): Ditto.
1675 (ExecutiveTest.serial_test_kill_process): Ditto.
1676 (ExecutiveTest.serial_test_kill_all): Ditto.
1677 (ExecutiveTest.serial_test_check_running_pid): Ditto.
1678 (ExecutiveTest.serial_test_run_in_parallel): Ditto.
1680 * Scripts/webkitpy/common/system/file_lock.py:
1681 (FileLock._create_lock): Ditto.
1682 (FileLock._remove_lock): Ditto.
1683 * Scripts/webkitpy/common/system/filesystem_unittest.py:
1684 (RealFileSystemTest.test_chdir): Ditto.
1685 (RealFileSystemTest.test_chdir__notexists): Ditto.
1686 (RealFileSystemTest.test_maybe_make_directory__failure): Ditto.
1687 * Scripts/webkitpy/common/system/path_unittest.py:
1688 (AbspathTest.test_abspath_to_uri_win): Ditto.
1689 * Scripts/webkitpy/common/system/platforminfo.py:
1690 (PlatformInfo._determine_os_name): Ditto.
1691 * Scripts/webkitpy/common/system/user.py: Ditto.
1692 * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
1693 (ManagerTest.integration_test_needs_servers): Ditto.
1694 * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
1695 (LayoutTestApacheHttpd.__init__): Handle upper and lower-case
1697 (LayoutTestApacheHttpd._get_apache_config_file_path): Ditto.
1698 * Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py:
1699 (TestLayoutTestApacheHttpd.test_start_cmd): Ditto.
1700 * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
1701 (HttpServerBase._check_that_all_ports_are_available): Ditto.
1702 * Scripts/webkitpy/layout_tests/servers/http_server_unittest.py:
1703 (TestHttpServer.test_start_cmd): Ditto.
1704 * Scripts/webkitpy/port/base.py:
1705 (Port.to.setup_environ_for_server): Include 'COMSPEC', 'SYSTEMDRIVE',
1706 and 'SYSTEMROOT' in environment passed to test runners.
1707 (Port._apache_config_file_name_for_platform): Use startswith('win').
1708 (Port._build_path): Ditto.
1709 (Port._path_to_driver): Include 'exe' suffix when running under native
1711 * Scripts/webkitpy/port/driver.py:
1712 (Driver._setup_environ_for_driver): Explicitly make some environment
1714 * Scripts/webkitpy/port/server_process.py:
1715 (ServerProcess.__init__): Use startswith('win').
1716 * Scripts/webkitpy/port/win.py:
1717 (WinPort): Use the win32 registry utilities on Windows, and appropriate
1718 registry key formats.
1719 (WinPort._ntsd_location): Revise tool search paths for Windows 10.
1720 (WinPort.read_registry_value): Revise to use _winreg library on Windows,
1721 and regtool on Cygwin.
1722 (WinPort.write_registry_value): Ditto.
1723 (WinPort.setup_crash_log_saving): Ditto.
1724 (WinPort.restore_crash_log_saving): Ditto.
1725 (WinPort.prevent_error_dialogs): Ditto.
1726 (WinPort.allow_error_dialogs): Ditto.
1727 (WinPort.find_system_pid): Revise to use Windows management
1728 infrastructure on native Windows, continue using 'ps' on Cygwin.
1729 (WinPort.read_registry_string): Deleted.
1730 (WinPort.write_registry_string): Deleted.
1731 * Scripts/webkitpy/test/main.py:
1732 (main): Use startswith('win').
1733 (Tester._parse_args): Ditto.
1735 2015-12-01 Yusuke Suzuki <utatane.tea@gmail.com>
1737 [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
1738 https://bugs.webkit.org/show_bug.cgi?id=150792
1740 Reviewed by Saam Barati.
1742 * Scripts/webkitperl/FeatureList.pm:
1744 2015-12-01 Commit Queue <commit-queue@webkit.org>
1746 Unreviewed, rolling out r192914.
1747 https://bugs.webkit.org/show_bug.cgi?id=151734
1749 JSC tests for this change are failing on 32 and 64-bit bots
1750 (Requested by ryanhaddad on #webkit).
1754 "[ES6] Implement LLInt/Baseline Support for ES6 Generators and
1755 enable this feature"
1756 https://bugs.webkit.org/show_bug.cgi?id=150792
1757 http://trac.webkit.org/changeset/192914
1759 2015-12-01 David Kilzer <ddkilzer@apple.com>
1761 EventSenderProxy::swipeGestureWithWheelAndMomentumPhases() leaks an EventSenderSyntheticEvent
1762 <http://webkit.org/b/151726>
1764 Reviewed by Simon Fraser.
1766 * WebKitTestRunner/mac/EventSenderProxy.mm:
1767 (WTR::EventSenderProxy::swipeGestureWithWheelAndMomentumPhases):
1768 Deploy RetainPtr<EventSenderSyntheticEvent> to fix leak.
1770 2015-12-01 Myles C. Maxfield <mmaxfield@apple.com>
1772 Give String and AtomicString an existingHash() function
1773 https://bugs.webkit.org/show_bug.cgi?id=151717
1775 Reviewed by Andreas Kling.
1777 * TestWebKitAPI/Tests/WTF/AtomicString.cpp:
1778 (TestWebKitAPI::TEST):
1779 * TestWebKitAPI/Tests/WTF/WTFString.cpp:
1780 (TestWebKitAPI::TEST):
1782 2015-12-01 Yusuke Suzuki <utatane.tea@gmail.com>
1784 [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
1785 https://bugs.webkit.org/show_bug.cgi?id=150792
1787 Reviewed by Saam Barati.
1789 * Scripts/webkitperl/FeatureList.pm:
1791 2015-12-01 Sam Weinig <sam@webkit.org>
1793 Need completionHandler-based WebKit C SPI for alert, confirm, and prompt
1794 <rdar://problem/23320863>
1795 https://bugs.webkit.org/show_bug.cgi?id=151708
1797 Reviewed by Anders Carlsson.
1799 * WebKitTestRunner/TestController.cpp:
1800 (WTR::TestController::createOtherPage):
1801 (WTR::TestController::createWebViewWithOptions):
1802 Update for new WKPageUIClient.
1804 2015-12-01 Anders Carlsson <andersca@apple.com>
1806 Remove WebKit2.framework
1807 https://bugs.webkit.org/show_bug.cgi?id=151715
1809 Reviewed by Dan Bernstein.
1811 * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad.cpp:
1812 * TestWebKitAPI/Tests/WebKit2/StopLoadingDuringDidFailProvisionalLoad_bundle.cpp:
1813 * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
1814 * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
1815 * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
1816 * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
1817 * TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.h:
1819 2015-12-01 Joseph Pecoraro <pecoraro@apple.com>
1821 Unreviewed common typo fix "occurance" => "occurrence".
1823 * Scripts/webkitpy/tool/commands/queries.py:
1824 (FindFlakyTests._print_statistics):
1826 2015-11-30 Alex Christensen <achristensen@webkit.org>
1828 Make ProcessModel always MultipleSecondaryProcesses
1829 https://bugs.webkit.org/show_bug.cgi?id=151662
1831 Reviewed by Antti Koivisto.
1833 * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
1834 (TestWebKitAPI::TEST):
1835 * WebKitTestRunner/TestController.cpp:
1836 (WTR::TestController::generatePageConfiguration):
1838 2015-11-30 Alex Christensen <achristensen@webkit.org>
1840 Make usesNetworkProcess always true
1841 https://bugs.webkit.org/show_bug.cgi?id=151580
1843 Reviewed by Darin Adler.
1845 * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
1846 (TestWebKitAPI::TEST):
1847 * TestWebKitAPI/Tests/WebKit2/mac/GetPIDAfterAbortedProcessLaunch.cpp:
1848 (TestWebKitAPI::TEST):
1849 * WebKitTestRunner/TestController.cpp:
1850 (WTR::TestController::generatePageConfiguration):
1852 2015-11-30 Carlos Garcia Campos <cgarcia@igalia.com>
1854 Unreviewed. Skip GTK+ test /webkit2/WebKitWebView/editable/editable in Debug.
1856 Add a way to skip unit tests only for Debug or Release builds and
1857 skipt the test /webkit2/WebKitWebView/editable/editable only for Debug.
1859 * Scripts/run-gtk-tests:
1861 (SkippedTest.__init__):
1862 (SkippedTest.__str__):
1863 (SkippedTest.skip_entire_suite):
1864 (SkippedTest.skip_for_build_type):
1866 (TestRunner.__init__):
1868 2015-11-30 Carlos Garcia Campos <cgarcia@igalia.com>
1870 Unreviewed. Fix a crash in GTK+ test /webkit2/WebKitWebView/custom-charset.
1872 It's an assert hit because we are reloading a view loaded with
1873 HTML data which is not supported. Use loadURI instead.
1875 * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1876 (testWebViewCustomCharset):
1878 2015-11-30 Carlos Garcia Campos <cgarcia@igalia.com>
1880 [GLIB] Remove GMainLoopSource and GThreadSafeMainLoopSource
1881 https://bugs.webkit.org/show_bug.cgi?id=151633
1883 Reviewed by Csaba Osztrogonác.
1885 * TestWebKitAPI/PlatformGTK.cmake:
1886 * TestWebKitAPI/Tests/WTF/glib/GMainLoopSource.cpp: Removed.
1888 2015-11-27 Carlos Garcia Campos <cgarcia@igalia.com>
1890 [GTK] Remove the remaining uses of GMainLoopSource
1891 https://bugs.webkit.org/show_bug.cgi?id=151632
1893 Reviewed by Žan Doberšek.
1895 * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
1896 (testWebViewSyncRequestOnMaxConns):
1897 * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
1898 * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1899 (WTR::TestRunner::TestRunner):
1900 * WebKitTestRunner/InjectedBundle/TestRunner.h:
1901 * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
1902 (WTR::TestRunner::invalidateWaitToDumpWatchdogTimer):
1903 (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
1904 * WebKitTestRunner/gtk/TestControllerGtk.cpp:
1905 (WTR::timeoutSource):
1906 (WTR::TestController::notifyDone):
1907 (WTR::TestController::platformRunUntil):
1909 2015-11-27 Csaba Osztrogonác <ossy@webkit.org>
1911 [cmake] Add testb3 to the build system
1912 https://bugs.webkit.org/show_bug.cgi?id=151619
1914 Reviewed by Gyuyoung Kim.
1916 * Scripts/build-jsc:
1918 2015-11-27 Csaba Osztrogonác <ossy@webkit.org>
1920 [jhbuild] Fix pixman build with clang
1921 https://bugs.webkit.org/show_bug.cgi?id=151441
1923 Reviewed by Carlos Garcia Campos.
1925 * efl/jhbuild.modules:
1926 * gtk/jhbuild.modules:
1928 2015-11-26 David Kilzer <ddkilzer@apple.com>
1930 Extract prependToEnvironmentVariableList
1931 <http://webkit.org/b/151536>
1933 Reviewed by Daniel Bates.
1935 Tests: webkitdirs_unittest/appendToEnvironmentVariableList.pl
1936 webkitdirs_unittest/prependToEnvironmentVariableList.pl
1938 * Scripts/webkitdirs.pm: Export appendToEnvironmentVariableList
1939 and prependToEnvironmentVariableList.
1940 (appendToEnvironmentVariableList): Simplify variable name.
1941 Switch to use $Config{path_sep}.
1942 (prependToEnvironmentVariableList): Add new method.
1943 (setupMacWebKitEnvironment): Switch to use
1944 prependToEnvironmentVariableList().
1945 (setupIOSWebKitEnvironment): Ditto.
1947 * Scripts/webkitperl/webkitdirs_unittest/appendToEnvironmentVariableList.pl: Added.
1948 * Scripts/webkitperl/webkitdirs_unittest/prependToEnvironmentVariableList.pl: Added.
1950 2015-11-24 Gyuyoung Kim <gyuyoung.kim@webkit.org>
1952 REGRESSION(r192053): MiniBrowser doesn't exit when clicking on the close-window button
1953 https://bugs.webkit.org/show_bug.cgi?id=151567
1955 Reviewed by Darin Adler.
1957 * MiniBrowser/efl/main.c: Call window_close() instead of ewk_view_try_close().
1958 (on_window_deletion):
1960 2015-11-23 Carlos Garcia Campos <cgarcia@igalia.com>
1962 [GTK] Use the network process unconditionally
1963 https://bugs.webkit.org/show_bug.cgi?id=151541
1965 Reviewed by Alex Christensen.
1967 Fix TestInspectorServer test. Do not assume we already have the
1968 title we want when the page has been loaded, since the title is
1969 changed afterwards. So, check if the title has already been set,
1970 and if not wait for it.
1972 * TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:
1973 (openRemoteDebuggingSession):
1975 2015-11-23 Alex Christensen <achristensen@webkit.org>
1977 Fix crash in ~WebProcessPool when using Geolocation with useNetworkProcess=true
1978 https://bugs.webkit.org/show_bug.cgi?id=151532
1980 Reviewed by Benjamin Poulain.
1982 * TestWebKitAPI/Tests/WebKit2/Geolocation.cpp:
1983 (TestWebKitAPI::GeolocationTransitionToHighAccuracyStateTracker::eventsChanged):
1984 (TestWebKitAPI::TEST):
1985 (TestWebKitAPI::GeolocationTransitionToLowAccuracyStateTracker::eventsChanged):
1986 (TestWebKitAPI::GeolocationTransitionToHighAccuracyStateTracker::GeolocationTransitionToHighAccuracyStateTracker): Deleted.
1987 (TestWebKitAPI::GeolocationTransitionToLowAccuracyStateTracker::GeolocationTransitionToLowAccuracyStateTracker): Deleted.
1988 Properly load about:blank in all WebViews to clean up. Without this change, we had a
1989 Geolocation provider stopping after its state tracker was destroyed with its stack frame,
1990 so it was calling a function on a test object that had gone out of scope.
1991 Also, call WKContextSetUsesNetworkProcess(context, true) to show what crash this fixed,
1992 but that will become the default soon and that call will be removed.
1994 2015-11-22 David Kilzer <ddkilzer@apple.com>
1996 run-webkit-tests: http server for imported W3C tests doesn't work with --layout-tests-directory switch
1997 <http://webkit.org/b/151542>
1999 Reviewed by Daniel Bates.
2001 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2002 (base_url): Use the Port object (already passed in) to give us
2003 the path to the LayoutTests directory, which already checks for a
2004 --layout-tests-directory command-line switch.
2005 (WebPlatformTestServer.__init__): Remove layout_test_results_dir
2006 argument since we can get this from the Port object already
2007 passed in via Port.results_directory(). Also switch to use
2008 Port.layout_tests_dir() to get the LayoutTests directory.
2010 * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
2011 (TestWebPlatformTestServer.test_custom_layout_tests_directory):
2012 Add test case for custom LayoutTests directory.
2013 (TestWebPlatformTestServer.test_previously_spawned_instance):
2014 Update Port object to set mock results directory as if it was
2015 set on the command-line. Remove unneeded argument from
2016 WebPlatformTestServer constructor.
2017 (TestWebPlatformTestServer.test_corrupted_subserver_files): Ditto.
2019 * Scripts/webkitpy/port/base.py:
2020 (Port.to.start_web_platform_test_server): Remove unneeded
2021 argument from WebPlatformTestServer constuctor.
2023 2015-11-22 Carlos Garcia Campos <cgarcia@igalia.com>
2025 [GTK] Some unit tests fail when using the network process
2026 https://bugs.webkit.org/show_bug.cgi?id=151490
2028 Reviewed by Martin Robinson.
2030 Run the soup server in a separate thread in TestResources test to
2033 This fixes /webkit2/WebKitWebView/sync-request-on-max-conns and
2034 /webkit2/WebKitWebResource/get-data when using the network process.
2036 * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
2037 (beforeAll): Create the WebKitTestServer with ServerRunInThread flag.
2038 * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp:
2039 (WebKitTestServer::WebKitTestServer): When ServerRunInThread is
2040 present, create a WorkQueue to run the server.
2041 (WebKitTestServer::run): Run the server in the work queue if it
2043 * TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h: Convert server
2044 type into server options as flags.
2046 2015-11-22 Carlos Garcia Campos <cgarcia@igalia.com>
2048 [GTK] ImageDiff should normalize the diff image
2049 https://bugs.webkit.org/show_bug.cgi?id=151261
2051 Reviewed by Sergio Villar Senin.
2053 * ImageDiff/gtk/ImageDiff.cpp:
2054 (readPixbufFromStdin): Fix memory leak.
2055 (differenceImageFromDifferenceBuffer): Normalize diff buffer.
2056 (calculateDifference): Pass max distance to differenceImageFromDifferenceBuffer.
2058 == Rolled over to ChangeLog-2015-11-21 ==