1 2010-12-02 Hayato Ito <hayato@chromium.org>
3 Reviewed by Eric Seidel.
5 Refactor test_types's compare_output() method so that it takes a
8 compare_output() will need additional information included in a TestInput
9 object to support reftests. This change is a pre-requirement of that.
11 https://bugs.webkit.org/show_bug.cgi?id=50362
13 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
14 * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
15 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
16 * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py:
17 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
19 2010-12-02 Simon Fraser <simon.fraser@apple.com>
21 Reviewed by Anders Carlsson.
23 Add the ability to run script on 'new' and 'paint' in the test plugin
24 https://bugs.webkit.org/show_bug.cgi?id=50425
26 Add "onnew" and "onpaintevent" attributes to the test plugin,
27 so that tests can run JS at these times.
29 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
31 * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
32 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
39 2010-12-02 Sam Weinig <sam@webkit.org>
43 * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
44 (WTR::PlatformWebView::PlatformWebView):
46 2010-12-02 Sam Weinig <sam@webkit.org>
48 Reviewed by Anders Carlsson.
50 WebKit2 Preferences should be held off the PageGroup, not the Context
51 https://bugs.webkit.org/show_bug.cgi?id=50414
53 Update for API changes.
55 * WebKitTestRunner/PlatformWebView.h:
56 * WebKitTestRunner/TestController.cpp:
57 (WTR::createOtherPage):
58 (WTR::TestController::initialize):
59 (WTR::TestController::resetStateToConsistentValues):
60 * WebKitTestRunner/TestController.h:
61 * WebKitTestRunner/mac/PlatformWebViewMac.mm:
62 (WTR::PlatformWebView::PlatformWebView):
63 * WebKitTestRunner/win/PlatformWebViewWin.cpp:
64 (WTR::PlatformWebView::PlatformWebView):
66 2010-12-02 Dirk Pranke <dpranke@chromium.org>
68 Reviewed by Tony Chang.
70 new-run-webkit-tests: minor cleanup for multiprocessing work
73 * moves worker naming into TestShellThread, eliminating a
74 parameter to the constructor and putting the responsibility in
76 * eliminates the _WorkerState() class in message_broker, because
77 it turns out that state really needs to be in run_webkit_tests
78 * renames the Broker classes to be module-private.
79 * fixes a bunch of minor commenting and whitespace issues to
80 make subsequent patches a bit clearer.
81 * Adds a Port hook for default_worker_model() so that we can
82 accomodate the potential for different worker models on
84 * merge in the fix from 50420 for the brokenness introduced in
87 This patch depends on bug 50367.
89 https://bugs.webkit.org/show_bug.cgi?id=50372
91 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
92 * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
93 * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
94 * Scripts/webkitpy/layout_tests/port/base.py:
95 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
96 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
98 2010-12-02 Dirk Pranke <dpranke@chromium.org>
100 Reviewed by Tony Chang.
102 This change is a bunch of cleanup / refactoring of the file
103 below. It moves a bunch of free functions to methods on the
104 TestShellThread class, and restructures other methods to be
105 closer to the structure we'll need for the multiprocessing
108 It also makes the logic of --run-singly a *lot* easier to follow
109 by nestling all of the separate-thread logic into a single
112 There should be no semantic changes in this patch, just cleanup.
114 https://bugs.webkit.org/show_bug.cgi?id=50367
116 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
118 2010-12-02 Tony Chang <tony@chromium.org>
120 Unreviewed, rolling out r73164.
121 http://trac.webkit.org/changeset/73164
122 https://bugs.webkit.org/show_bug.cgi?id=50359
124 broke debugger tests on win
126 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
128 2010-11-30 Mihai Parparita <mihaip@chromium.org>
130 Reviewed by Tony Chang.
132 Rebaseline server: add updating of baselines
133 https://bugs.webkit.org/show_bug.cgi?id=50305
135 Implements updating of baselines, where we copy -actual.* files over
136 the current -expected.* files. To do this, we need a
137 _get_actual_result_files method to get test results files and a
138 _rebaseline_test method to actually do the file copy and SCM operation.
139 _rebaseline_test logs output into a buffer, this is useful for both
140 showing result in the UI and for unit tests.
142 To make passing around of the various test environment properties
143 (results directory, filesystem, SCM, etc) easier, add a TestConfig
146 Moving of existing baselines is not implemented yet, this patch is big
149 * Scripts/webkitpy/common/system/filesystem.py:
150 * Scripts/webkitpy/common/system/filesystem_mock.py:
151 * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
152 * Scripts/webkitpy/tool/commands/rebaselineserver.py:
153 * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
154 * Scripts/webkitpy/tool/mocktool.py:
156 2010-12-02 Brent Fulgham <bfulgham@webkit.org>
158 Unreviewed build fix after vcproj updates.
160 * DumpRenderTree/win/DumpRenderTreeCairo.vsprops: Make sure
161 that WIN_CAIRO is defined for this build.
162 * DumpRenderTree/win/DumpRenderTreePreBuild.cmd: Update file
163 to reflect new 'Debug_Cairo_CFLite' and 'Release_Cairo_CFLite'
164 (these were previously 'Debug_Cairo' and 'Release_Cairo'
166 2010-12-02 Sam Weinig <sam@webkit.org>
168 Reviewed by Anders Carlsson.
170 WebKit2 needs API to turn on popup blocking
171 https://bugs.webkit.org/show_bug.cgi?id=50407
173 * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
174 (TestWebKitAPI::TEST):
175 * WebKitTestRunner/TestController.cpp:
176 (WTR::TestController::resetStateToConsistentValues):
178 2010-12-01 Tony Chang <tony@chromium.org>
180 Reviewed by Ojan Vafai.
182 [chromium] force NRWT to use DRT
183 https://bugs.webkit.org/show_bug.cgi?id=50359
185 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
187 2010-12-02 Martin Robinson <mrobinson@igalia.com>
189 Reviewed by Xan Lopez.
191 [GTK] DumpRenderTree has two copies of JavaScriptCore
192 https://bugs.webkit.org/show_bug.cgi?id=49877
194 * GNUmakefile.am: Remove the second copy of JavaScriptCore from the
195 LDADD list for DumpRenderTree.
197 2010-12-02 Sergio Villar Senin <svillar@igalia.com>
199 Unreviewed: Added myself to list of Committers.
201 * Scripts/webkitpy/common/config/committers.py:
203 2010-12-01 Mihai Parparita <mihaip@chromium.org>
205 Reviewed by Adam Barth.
207 build-webkit --chromium always updates DEPS and re-generates project files
208 https://bugs.webkit.org/show_bug.cgi?id=50340
210 Make build-webkit --chromium invoke update-webkit-chromium only when
211 --update-chromium is passed in, so that we don't add 20 seconds to all
214 Making all invocations update was added with r61883, with the goal of
215 making EWS bots always update. The bots will switch to using this flag
216 (as will all other webkit-patch build steps) so nothing should change
219 * Scripts/webkitdirs.pm:
220 * Scripts/webkitpy/common/config/ports.py:
221 * Scripts/webkitpy/common/config/ports_unittest.py:
223 2010-12-01 Dirk Pranke <dpranke@chromium.org>
225 Reviewed by Tony Chang.
227 new-run-webkit-tests: add a --dry-run / -n flag
228 https://bugs.webkit.org/show_bug.cgi?id=50045
230 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
231 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
233 2010-12-01 Steve Falkenburg <sfalken@apple.com>
235 Reviewed by Adam Roben.
237 WinCairo build should not use link-time code generation (LTCG)
238 https://bugs.webkit.org/show_bug.cgi?id=50353
240 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
241 * DumpRenderTree/win/DumpRenderTree.vcproj:
242 * DumpRenderTree/win/ImageDiff.vcproj:
243 * FindSafari/FindSafari.vcproj:
244 * MiniBrowser/MiniBrowser.vcproj:
245 * TestWebKitAPI/win/TestWebKitAPI.vcproj:
246 * WebKitAPITest/WebKitAPITest.vcproj:
247 * WebKitLauncherWin/WebKitLauncherWin.vcproj:
248 * WebKitTestRunner/win/InjectedBundle.vcproj:
249 * WebKitTestRunner/win/WebKitTestRunner.vcproj:
250 * WinLauncher/WinLauncher.vcproj:
251 * record-memory-win/record-memory-win.vcproj:
253 2010-12-01 Martin Robinson <mrobinson@igalia.com>
255 Touch GetUserAgentWithNullNPPFromNPPNew.cpp in an effort to force
256 a rebuild of TestNetscapePlugin.la on GTK+. It seems that simply
257 adding the file to the sources list was not enough to force the rebuild.
259 * DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp:
260 Remove an empty line at the end of this file to force a rebuild.
262 2010-12-01 Sam Weinig <sam@webkit.org>
266 * MiniBrowser/win/BrowserView.cpp:
267 (BrowserView::create):
269 2010-12-01 Martin Robinson <mrobinson@igalia.com>
271 Add missing file to the TestNetscapePlugin sources list after r73057.
273 * GNUmakefile.am: Add missing file.
275 2010-12-01 Sam Weinig <sam@webkit.org>
277 Reviewed by Anders Carlsson.
279 Add PageGrouping to WebKit2 API
280 https://bugs.webkit.org/show_bug.cgi?id=50332
282 - Update testing harnesses to deal with new PageGroup API.
284 * MiniBrowser/mac/WebBundle/WebBundleMain.m:
285 (WKBundleInitialize):
286 * TestWebKitAPI/InjectedBundleController.cpp:
287 (TestWebKitAPI::InjectedBundleController::initialize):
288 (TestWebKitAPI::InjectedBundleController::didInitializePageGroup):
289 (TestWebKitAPI::InjectedBundleController::initializeTestNamed):
290 * TestWebKitAPI/InjectedBundleController.h:
291 * TestWebKitAPI/InjectedBundleTest.h:
292 (TestWebKitAPI::InjectedBundleTest::initialize):
293 (TestWebKitAPI::InjectedBundleTest::didInitializePageGroup):
294 * TestWebKitAPI/PlatformUtilities.cpp:
295 (TestWebKitAPI::Util::createContextForInjectedBundleTest):
296 * TestWebKitAPI/PlatformUtilities.h:
297 * TestWebKitAPI/PlatformWebView.h:
298 * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
299 (TestWebKitAPI::TEST):
300 * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp:
301 (TestWebKitAPI::DocumentStartUserScriptAlertCrashTest::initialize):
302 * TestWebKitAPI/mac/PlatformWebViewMac.mm:
303 (TestWebKitAPI::PlatformWebView::PlatformWebView):
304 * TestWebKitAPI/win/PlatformWebViewWin.cpp:
305 (TestWebKitAPI::PlatformWebView::PlatformWebView):
306 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
307 (WTR::InjectedBundle::didInitializePageGroup):
308 (WTR::InjectedBundle::initialize):
309 (WTR::InjectedBundle::beginTesting):
310 * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
311 (WTR::InjectedBundle::pageGroup):
312 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
313 (WTR::LayoutTestController::addUserScript):
314 (WTR::LayoutTestController::addUserStyleSheet):
315 (WTR::LayoutTestController::setXSSAuditorEnabled):
316 * WebKitTestRunner/TestController.cpp:
317 * WebKitTestRunner/win/PlatformWebViewWin.cpp:
318 (WTR::PlatformWebView::PlatformWebView):
320 2010-12-01 Steve Falkenburg <sfalken@apple.com>
322 Reviewed by Adam Roben.
324 vcproj changes can't be applied cleanly by the Windows EWS bot
325 https://bugs.webkit.org/show_bug.cgi?id=50328
327 * CLWrapper/CLWrapper.sln: Modified property svn:eol-style.
328 * CLWrapper/CLWrapper.vcproj: Modified property svn:eol-style.
329 * DumpRenderTree/DumpRenderTree.sln: Modified property svn:eol-style.
330 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops: Added property svn:eol-style.
331 * DumpRenderTree/win/DumpRenderTree.vcproj: Modified property svn:eol-style.
332 * DumpRenderTree/win/DumpRenderTreeApple.vsprops: Added property svn:eol-style.
333 * DumpRenderTree/win/DumpRenderTreeCFLite.vsprops: Added property svn:eol-style.
334 * DumpRenderTree/win/DumpRenderTreeCairo.vsprops: Added property svn:eol-style.
335 * DumpRenderTree/win/DumpRenderTreeCommon.vsprops: Added property svn:eol-style.
336 * DumpRenderTree/win/ImageDiff.vcproj: Modified property svn:eol-style.
337 * DumpRenderTree/win/ImageDiffCommon.vsprops: Added property svn:eol-style.
338 * FindSafari/FindSafari.vcproj: Modified property svn:eol-style.
339 * FindSafari/FindSafariCommon.vsprops: Added property svn:eol-style.
340 * MIDLWrapper/MIDLWrapper.sln: Modified property svn:eol-style.
341 * MIDLWrapper/MIDLWrapper.vcproj: Modified property svn:eol-style.
342 * MiniBrowser/Configurations/MiniBrowserCFLite.vsprops: Added property svn:eol-style.
343 * MiniBrowser/Configurations/MiniBrowserCommon.vsprops: Added property svn:eol-style.
344 * MiniBrowser/Configurations/MiniBrowserCoreFoundation.vsprops: Added property svn:eol-style.
345 * MiniBrowser/MiniBrowser.vcproj: Added property svn:eol-style.
346 * TestWebKitAPI/Configurations/TestWebKitAPICFLite.vsprops: Added property svn:eol-style.
347 * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops: Added property svn:eol-style.
348 * TestWebKitAPI/Configurations/TestWebKitAPICoreFoundation.vsprops: Added property svn:eol-style.
349 * TestWebKitAPI/win/TestWebKitAPI.sln: Added property svn:eol-style.
350 * TestWebKitAPI/win/TestWebKitAPI.vcproj: Added property svn:eol-style.
351 * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj: Added property svn:eol-style.
352 * TestWebKitAPI/win/TestWebKitAPIGeneratedCommon.vsprops: Added property svn:eol-style.
353 * WebKitAPITest/WebKitAPITest.vcproj: Added property svn:eol-style.
354 * WebKitAPITest/WebKitAPITestCommon.vsprops: Added property svn:eol-style.
355 * WebKitLauncherWin/WebKitLauncherWin.vcproj: Modified property svn:eol-style.
356 * WebKitLauncherWin/WebKitLauncherWinCommon.vsprops: Added property svn:eol-style.
357 * WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops: Added property svn:eol-style.
358 * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops: Added property svn:eol-style.
359 * WebKitTestRunner/Configurations/InjectedBundleCoreFoundation.vsprops: Added property svn:eol-style.
360 * WebKitTestRunner/Configurations/WebKitTestRunnerCFLite.vsprops: Added property svn:eol-style.
361 * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops: Added property svn:eol-style.
362 * WebKitTestRunner/Configurations/WebKitTestRunnerCoreFoundation.vsprops: Added property svn:eol-style.
363 * WebKitTestRunner/WebKitTestRunner.sln: Added property svn:eol-style.
364 * WebKitTestRunner/win/InjectedBundle.vcproj: Added property svn:eol-style.
365 * WebKitTestRunner/win/InjectedBundleGenerated.vcproj: Added property svn:eol-style.
366 * WebKitTestRunner/win/InjectedBundleGeneratedCommon.vsprops: Added property svn:eol-style.
367 * WebKitTestRunner/win/WebKitTestRunner.vcproj: Added property svn:eol-style.
368 * WinLauncher/WinLauncher.vcproj: Modified property svn:eol-style.
369 * WinLauncher/WinLauncherCommon.vsprops: Added property svn:eol-style.
370 * record-memory-win/record-memory-win-common.vsprops: Added property svn:eol-style.
371 * record-memory-win/record-memory-win.vcproj: Modified property svn:eol-style.
373 2010-12-01 Anders Carlsson <andersca@apple.com>
375 Reviewed by Darin Adler.
377 Return a correct user agent if NPN_UserAgent is called with a null NPP from NPP_New.
378 https://bugs.webkit.org/show_bug.cgi?id=50336
380 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
383 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
384 (PluginTest::NPP_New):
385 Add default implementation/
387 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
388 * DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp: Added.
389 (GetUserAgentWithNullNPPFromNPPNew::GetUserAgentWithNullNPPFromNPPNew):
390 (GetUserAgentWithNullNPPFromNPPNew::NPP_New):
393 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
395 Call PluginTest::NPP_New.
397 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
398 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
401 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
402 (webkit_test_plugin_new_instance):
403 Call PluginTest::NPP_New.
405 2010-12-01 Kevin Ollivier <kevino@theolliviers.com>
407 [wx] Build fixes after recent trunk changes.
409 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
410 (LayoutTestController::findString):
411 * wx/build/settings.py:
413 2010-12-01 Dan Bernstein <mitz@apple.com>
415 Reviewed by Darin Adler.
417 WebKitTestRunner needs layoutTestController.findString
418 https://bugs.webkit.org/show_bug.cgi?id=50238
420 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Added findString().
421 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
422 (WTR::LayoutTestController::findString): Updated signature for autogenerated bindings.
423 * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Ditto.
425 2010-12-01 Steve Falkenburg <sfalken@apple.com>
427 Try using svn:eol-style native on a vcproj file.
429 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Modified property svn:eol-style.
431 2010-12-01 Patrick Gansterer <paroga@webkit.org>
433 Reviewed by Adam Roben.
435 [WINCE] Add WinCELauncher
436 https://bugs.webkit.org/show_bug.cgi?id=50217
438 * WinCELauncher/main.cpp: Added.
440 2010-11-30 Benjamin Poulain <benjamin.poulain@nokia.com>
442 Reviewed by Kenneth Rohde Christiansen.
444 [Qt] Implement layoutTestController.findString
445 https://bugs.webkit.org/show_bug.cgi?id=50236
447 Add the missing function to the LayoutTestController.
449 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
450 (LayoutTestController::findString):
451 * DumpRenderTree/qt/LayoutTestControllerQt.h:
453 2010-11-30 Tony Chang <tony@chromium.org>
455 Reviewed by Adam Barth.
457 [chromium] fix get-int-identifier-special-values.html using TestNetscapePlugIn
458 https://bugs.webkit.org/show_bug.cgi?id=49036
460 * DumpRenderTree/chromium/LayoutTestController.cpp: Use IsNumber instead of IsInt32
462 (LayoutTestController::cppVariantToBool):
463 (LayoutTestController::cppVariantToInt32):
464 (LayoutTestController::setDatabaseQuota):
465 (LayoutTestController::evaluateInWebInspector):
466 (LayoutTestController::setMockGeolocationError):
468 2010-11-30 Eric Seidel <eric@webkit.org>
470 Reviewed by Tony Chang.
472 update-webkit should call git fetch before git svn rebase
473 https://bugs.webkit.org/show_bug.cgi?id=50273
475 After discussion on webkit-dev, we've decided to move the "default"
476 git setup to pulling updates from git.webkit.org in preference
477 to rebuilding the local svn index using git svn fetch every time.
479 This change should have no effect on people using the "old" git setup
480 and should dramatically increase the speed of updates for those using
481 the "new" git setup along with update-webkit. I'm about to move the
482 EWS and other queues over to this setup once this lands.
484 * Scripts/update-webkit:
486 2010-11-30 Mario Sanchez Prada <msanchez@igalia.com>
488 Reviewed by Xan Lopez.
490 GTK: AX: implement press in DRT
491 https://bugs.webkit.org/show_bug.cgi?id=36146
493 Implement AccessibilityUIElement::press() for GTK.
495 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
496 (AccessibilityUIElement::press): Implemented.
498 2010-11-29 Mihai Parparita <mihaip@chromium.org>
500 Reviewed by Tony Chang.
502 config.webkit_base_dir returns a path with a trailing slash
503 https://bugs.webkit.org/show_bug.cgi?id=50197
505 config.webkit_base_dir() should return a path without a trailing slash,
506 like all the other methods that return paths.
508 Undoes MockFileSytem changes by r72640, since they're no longer
509 necessary for GetBaselinesTest to pass.
511 * Scripts/webkitpy/common/system/filesystem_mock.py:
512 * Scripts/webkitpy/layout_tests/port/base.py:
513 * Scripts/webkitpy/layout_tests/port/config.py:
514 * Scripts/webkitpy/layout_tests/port/config_unittest.py:
516 2010-11-30 Mihai Parparita <mihaip@chromium.org>
518 Reviewed by Tony Chang.
520 Rebaseline server: baseline display tweaks
521 https://bugs.webkit.org/show_bug.cgi?id=50207
523 Determine which baselines were used when running the tests and highlight
524 them in the UI. Sort platform names alphabetically.
526 Also makes the server URL be launched in the user's browser
529 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
530 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
531 * Scripts/webkitpy/tool/commands/data/rebaselineserver/util.js:
532 * Scripts/webkitpy/tool/commands/rebaselineserver.py:
533 * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
535 2010-11-30 Dan Bernstein <mitz@apple.com>
537 Reviewed by Anders Carlsson.
539 <rdar://problem/8710645> WebKitTestRunner needs layoutTestController.findString
540 https://bugs.webkit.org/show_bug.cgi?id=50238
542 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
543 (WTR::LayoutTestController::findString): Added.
544 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
546 2010-11-30 Steve Falkenburg <sfalken@apple.com>
548 Reviewed by Adam Roben.
550 All projects on Windows should use cmd files for build events
551 https://bugs.webkit.org/show_bug.cgi?id=50213
553 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops:
554 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPostBuild.cmd: Added.
555 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPreBuild.cmd: Added.
556 * DumpRenderTree/win/DumpRenderTreeCommon.vsprops:
557 * DumpRenderTree/win/DumpRenderTreePostBuild.cmd: Added.
558 * DumpRenderTree/win/DumpRenderTreePreBuild.cmd: Added.
559 * DumpRenderTree/win/ImageDiffCommon.vsprops:
560 * DumpRenderTree/win/ImageDiffPostBuild.cmd: Added.
561 * DumpRenderTree/win/ImageDiffPreBuild.cmd: Added.
562 * MiniBrowser/Configurations/MiniBrowserCFLite.vsprops:
563 * MiniBrowser/Configurations/MiniBrowserCommon.vsprops:
564 * MiniBrowser/Configurations/MiniBrowserCoreFoundation.vsprops:
565 * MiniBrowser/MiniBrowserPostBuild.cmd: Added.
566 * MiniBrowser/MiniBrowserPreBuild.cmd: Added.
567 * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
568 * TestWebKitAPI/win/TestWebKitAPIPostBuild.cmd: Added.
569 * TestWebKitAPI/win/TestWebKitAPIPreBuild.cmd: Added.
570 * WebKitAPITest/WebKitAPITestCommon.vsprops:
571 * WebKitAPITest/WebKitAPITestPostBuild.cmd: Added.
572 * WebKitAPITest/WebKitAPITestPreBuild.cmd: Added.
573 * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
574 * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops:
575 * WebKitTestRunner/win/InjectedBundlePostBuild.cmd: Added.
576 * WebKitTestRunner/win/InjectedBundlePreBuild.cmd: Added.
577 * WebKitTestRunner/win/WebKitTestRunnerPostBuild.cmd: Added.
578 * WebKitTestRunner/win/WebKitTestRunnerPreBuild.cmd: Added.
579 * WinLauncher/WinLauncherCommon.vsprops:
580 * WinLauncher/WinLauncherPostBuild.cmd: Added.
581 * WinLauncher/WinLauncherPreBuild.cmd: Added.
583 2010-11-29 Dan Bernstein <mitz@apple.com>
585 GTK DumpRenderTree build fix after r72887.
587 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
588 (LayoutTestController::findString):
590 2010-11-29 Dan Bernstein <mitz@apple.com>
592 Windows DumpRenderTree build fix after r72887.
594 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
595 (LayoutTestController::findString): Added empty implementation.
597 2010-11-29 Dan Bernstein <mitz@apple.com>
599 Reviewed by Darin Adler.
601 DumpRenderTree changes for testing the text search API.
602 https://bugs.webkit.org/show_bug.cgi?id=50038
604 * DumpRenderTree/LayoutTestController.cpp:
605 (findStringCallback):
606 (LayoutTestController::staticFunctions):
607 * DumpRenderTree/LayoutTestController.h:
608 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
609 (LayoutTestController::findString):
610 * MiniBrowser/mac/BrowserWindowController.m:
611 (-[BrowserWindowController find:]):
613 2010-11-29 Johnny Ding <jnd@chromium.org>
615 Unreviewed: Add myself to the list of Committers.
617 * Scripts/webkitpy/common/config/committers.py:
619 2010-11-29 Mark Rowe <mrowe@apple.com>
621 Reviewed by Adele Peterson.
623 <rdar://problem/8694997> DumpRenderTree fails to build.
625 * DumpRenderTree/mac/PerlSupport/Makefile: Skip generating wrappers.
627 2010-11-29 Mark Rowe <mrowe@apple.com>
629 Reviewed by Adele Peterson.
631 <rdar://problem/8694997> DumpRenderTree fails to build.
633 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportPregenerated.pm: Renamed from WebKitTools/DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportTiger.pm.
634 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport_wrapPregenerated.c: Renamed from WebKitTools/DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport_wrapTiger.c.
635 * DumpRenderTree/mac/PerlSupport/Makefile:
637 2010-11-29 Mario Sanchez Prada <msanchez@igalia.com>
639 Reviewed by Martin Robinson.
641 [GTK] Null-check needed in DRT's AccessibilityUIElement::allAtributes()
642 https://bugs.webkit.org/show_bug.cgi?id=50154
644 Added missing checks to allAttributes().
646 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
647 (AccessibilityUIElement::allAttributes): Added missing checks.
649 2010-11-29 Laszlo Gombos <laszlo.1.gombos@nokia.com>
651 Reviewed by Kenneth Rohde Christiansen.
653 [Qt] Allow pre-generation for package builds for WebKit2
654 https://bugs.webkit.org/show_bug.cgi?id=50139
656 Use a build variable for the generated directory path and set the
657 value based on CONFIG just like for WebKit1.
659 For non-package builds use a relative base path for the
660 genrated directory just like for WebKit1.
662 * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
663 * WebKitTestRunner/qt/WebKitTestRunner.pro:
665 2010-11-28 Laszlo Gombos <laszlo.1.gombos@nokia.com>
667 Reviewed by Kenneth Rohde Christiansen.
669 [Qt] Move some build logic from Qt to platform independent code
670 https://bugs.webkit.org/show_bug.cgi?id=50134
672 Create target directories inside generate-forwarding-headers.pl.
674 * Scripts/generate-forwarding-headers.pl:
676 2010-11-24 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
678 Reviewed by Martin Robinson.
680 [GTK] Windowless plugins gets broken key input
681 https://bugs.webkit.org/show_bug.cgi?id=49927
683 Convert the XEvent::keycode to ASCII before printing it. Not
684 doing this was causing false positive in
685 plugins/keyboard-events.html.
687 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
689 (webkit_test_plugin_handle_event):
691 2010-11-24 Jan Erik Hanssen <jhanssen@sencha.com>
693 Reviewed by Antonio Gomes.
695 [Qt] Html autofocus not working with QGraphicsWebView
696 https://bugs.webkit.org/show_bug.cgi?id=43169
698 Tell the scene to set the webview item as the currently
699 focused item. This makes the input field with autofocus get
702 * QtTestBrowser/webview.cpp:
703 (WebViewGraphicsBased::WebViewGraphicsBased):
705 2010-11-24 Dirk Pranke <dpranke@chromium.org>
707 Reviewed by Tony Chang.
709 nrwt - clean up create_driver interface and print out the
710 command line used for DumpRenderTree/TestShell.
712 This patch adds a driver_cmd_line() call to the Port class in
713 order to retrive the command line to print it out (as part of
716 In addition, this patch cleans up the Port.create_driver()
717 signature and the Driver constructor interface to take a worker
718 number and no longer require the image_path argument (Chromium's
719 drivers now synthesize the image_path from the worker number
722 https://bugs.webkit.org/show_bug.cgi?id=49934
724 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
725 * Scripts/webkitpy/layout_tests/layout_package/printing.py:
726 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
727 * Scripts/webkitpy/layout_tests/port/base.py:
728 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
729 * Scripts/webkitpy/layout_tests/port/chromium.py:
730 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
731 * Scripts/webkitpy/layout_tests/port/dryrun.py:
732 * Scripts/webkitpy/layout_tests/port/port_testcase.py:
733 * Scripts/webkitpy/layout_tests/port/test.py:
734 * Scripts/webkitpy/layout_tests/port/webkit.py:
735 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
736 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
738 2010-11-24 Ojan Vafai <ojan@chromium.org>
740 Reviewed by Tony Chang.
742 [chromium] improve memory usage for test results server and store fewer runs
743 https://bugs.webkit.org/show_bug.cgi?id=50035
745 Store fewer runs and don't pass full files around when we only need bools.
746 Greatly improves error rates on test-results.appspot.com.
748 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
749 * TestResultServer/handlers/testfilehandler.py:
750 * TestResultServer/model/dashboardfile.py:
751 * TestResultServer/model/jsonresults.py:
753 2010-11-24 Dirk Pranke <dpranke@chromium.org>
755 Reviewed by Tony Chang.
757 This patch implements the first part of the manager side of the
758 Broker objects - it handles creating threads, waiting for them
759 to complete, and running a single-threaded loop as well.
761 https://bugs.webkit.org/show_bug.cgi?id=49779
763 * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
764 * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
765 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
766 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
768 2010-11-24 Mihai Parparita <mihaip@chromium.org>
770 Reviewed by David Levin.
772 DRT should not generate pixel output for text/plain tests
773 https://bugs.webkit.org/show_bug.cgi?id=50002
775 Modify Mac, Windows and GTK DRT implementations to disable pixel output
776 when encountering a text/plain response (the Chromium one already does
777 this, and none of the other ports special-case text/plain output in
780 * DumpRenderTree/gtk/DumpRenderTree.cpp:
782 * DumpRenderTree/mac/DumpRenderTree.mm:
784 * DumpRenderTree/win/DumpRenderTree.cpp:
787 2010-11-24 Andras Becsi <abecsi@inf.u-szeged.hu>
791 Add my other email address to committers.py.
793 * Scripts/webkitpy/common/config/committers.py:
795 2010-11-24 Andras Becsi <abecsi@inf.u-szeged.hu>
797 Reviewed by Csaba Osztrogonác.
799 Make build-webkit --minimal build with ENABLE_INSPECTOR=0
800 https://bugs.webkit.org/show_bug.cgi?id=49975
802 * Scripts/build-webkit: Add ENABLE_INSPECTOR define to features,
803 to enable the script to define it 0 in case of a minimal build.
805 2010-11-24 Martin Robinson <mrobinson@igalia.com>
807 Reviewed by Xan Lopez.
809 [GTK] The WebKitWebView should expose a set of signals encapsulating the behavior of the EditorClient
810 https://bugs.webkit.org/show_bug.cgi?id=49143
812 * DumpRenderTree/gtk/DumpRenderTree.cpp:
813 (createWebView): Call the new connectEditingCallbacks function.
814 * DumpRenderTree/gtk/EditingCallbacks.cpp: Added.
817 (insertActionString):
818 (selectionAffinityString):
819 (shouldBeginEditing):
824 (shouldShowDeleteInterfaceForElement):
825 (shouldChangeSelectedRange):
828 (userChangedContents):
831 (connectEditingCallbacks):
832 * DumpRenderTree/gtk/EditingCallbacks.h: Added.
833 * GNUmakefile.am: Added EditingCallbacks.{h,cpp} to the source list.
835 2010-11-24 Yi Shen <yi.4.shen@nokia.com>
837 Reviewed by Andreas Kling.
839 [Qt] Make QtTestBrowser remember the selected user agent
840 https://bugs.webkit.org/show_bug.cgi?id=50021
842 Set user agent for a new page by using the old page's
844 * QtTestBrowser/mainwindow.cpp:
845 (MainWindow::setPage):
847 2010-11-24 Patrick Gansterer <paroga@webkit.org>
849 Reviewed by Csaba Osztrogonác.
851 Remove Bakefile build system files
852 https://bugs.webkit.org/show_bug.cgi?id=49983
854 r53757 only removed the content, but not the files.
855 This patch removes that empty files.
857 * DumpRenderTree/wx/DumpRenderTree.bkl: Removed.
858 * wx/browser/browser.bkl: Removed.
859 * wx/build-wxwebkit: Removed.
861 2010-11-23 Dirk Pranke <dpranke@chromium.org>
863 Reviewed by Tony Chang.
865 This patch cleans up the logic used to shard tests into groups a
866 bit and adds the --worker-model flag to NRWT. The flag is only
867 used at the moment to control whether to run single-threaded or
868 not, but eventually will also allow toggling between threads and
871 Also add a minor cleanup with _test_is_slow(), which just
872 eliminates some repetition and gives slightly better encapsulation.
874 https://bugs.webkit.org/show_bug.cgi?id=49773
876 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
877 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
879 2010-11-23 Mihai Parparita <mihaip@chromium.org>
881 Reviewed by Tony Chang.
883 Rebaseline server: list current baselines and platforms
884 https://bugs.webkit.org/show_bug.cgi?id=49991
886 List existing baselines (with Trac links) for tests.
888 Add dropdowns for choosing with platform baselines to target (and what
889 to do with existing ones).
891 Also fix MockFileSystem.join to behave more like os.path.join (unit
892 test was ending up with two consecutive slashes in a layout test
895 * Scripts/webkitpy/common/system/filesystem_mock.py:
896 * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
897 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
898 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
899 * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
900 * Scripts/webkitpy/tool/commands/data/rebaselineserver/util.js:
901 * Scripts/webkitpy/tool/commands/rebaselineserver.py:
902 * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py: Added.
904 2010-11-23 Ojan Vafai <ojan@chromium.org>
906 Reviewed by Tony Chang.
908 remove timeout argument to urlopen
909 https://bugs.webkit.org/show_bug.cgi?id=49995
911 Apparently the version of python we have on the bots doesn't accept a timeout argument.
913 * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py:
915 2010-11-23 Sheriff Bot <webkit.review.bot@gmail.com>
917 Unreviewed, rolling out r72628.
918 http://trac.webkit.org/changeset/72628
919 https://bugs.webkit.org/show_bug.cgi?id=49994
921 This patch is causing layout-test failtures on GTK Linux
922 64-bit Debug (Requested by ctguil on #webkit).
924 * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
925 (AccessibilityUIElement::AccessibilityUIElement):
926 (AccessibilityUIElement::parentElementCallback):
927 * DumpRenderTree/chromium/AccessibilityUIElement.h:
928 * DumpRenderTree/chromium/CppBoundClass.cpp:
929 * DumpRenderTree/chromium/CppBoundClass.h:
931 2010-11-22 Ojan Vafai <ojan@chromium.org>
933 Reviewed by Tony Chang.
935 speculative fix for upload errors: stop using mechanize to upload to test-results.appspot.com
936 https://bugs.webkit.org/show_bug.cgi?id=49944
938 * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py:
940 2010-11-23 Chris Guillory <chris.guillory@google.com>
942 Reviewed by Dimitri Glazkov.
944 Include the FrameView widget of a RenderWidget in the accessibility tree.
945 https://bugs.webkit.org/show_bug.cgi?id=49106
947 * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
948 (AccessibilityUIElement::AccessibilityUIElement):
949 (AccessibilityUIElement::parentElementCallback):
950 (AccessibilityUIElement::isEqualCallback):
951 * DumpRenderTree/chromium/AccessibilityUIElement.h:
952 * DumpRenderTree/chromium/CppBoundClass.cpp:
953 (CppBoundClass::getFromCppVariant):
954 * DumpRenderTree/chromium/CppBoundClass.h:
956 2010-11-23 Alex Grilo <abgrilo@profusion.mobi>
958 Reviewed by Kenneth Rohde Christiansen.
960 [EFL] Add tiled backing store to EWebLauncher
961 https://bugs.webkit.org/show_bug.cgi?id=45777
963 Allow EWebLauncher to choose between single and tiled backing store
965 * EWebLauncher/main.c:
970 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
972 Reviewed by Tor Arne Vestbø.
974 [Qt] Review the setUserPermission & friends API
975 https://bugs.webkit.org/show_bug.cgi?id=46810
977 Renamed requestPermissionFromUser to featurePermissionRequested
978 and cancelRequestsForPermission to featurePermissionRequestCanceled.
980 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
981 (WebCore::WebPage::WebPage):
982 * QtTestBrowser/webpage.cpp:
984 (WebPage::featurePermissionRequestCanceled):
985 * QtTestBrowser/webpage.h:
987 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
989 Reviewed by Tor Arne Vestbø.
991 [Qt] Review the setUserPermission & friends API
992 https://bugs.webkit.org/show_bug.cgi?id=46810
994 Rename setUserPermission to setFeaturePermission
996 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
997 (WebCore::WebPage::requestPermission):
998 (WebCore::WebPage::permissionSet):
999 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1000 (LayoutTestController::grantDesktopNotificationPermission):
1001 * QtTestBrowser/webpage.cpp:
1002 (WebPage::requestPermission):
1004 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
1006 Reviewed by Tor Arne Vestbø.
1008 [Qt] Review the setUserPermission & friends API
1009 https://bugs.webkit.org/show_bug.cgi?id=46810
1011 Rename PermissionDomain to Feature, NotificationsPermissionDomain to Notifications
1012 and GeolocationPermissionDomain to Geolocation.
1014 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1015 (WebCore::WebPage::WebPage):
1016 (WebCore::WebPage::requestPermission):
1017 (WebCore::WebPage::cancelPermission):
1018 (WebCore::WebPage::permissionSet):
1019 (WebCore::DumpRenderTree::geolocationPermissionSet):
1020 * DumpRenderTree/qt/DumpRenderTreeQt.h:
1021 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1022 (LayoutTestController::grantDesktopNotificationPermission):
1023 * QtTestBrowser/webpage.cpp:
1025 (WebPage::requestPermission):
1026 (WebPage::cancelRequestsForPermission):
1027 * QtTestBrowser/webpage.h:
1029 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
1031 Reviewed by Tor Arne Vestbø.
1033 [Qt] Review the setUserPermission & friends API
1034 https://bugs.webkit.org/show_bug.cgi?id=46810
1036 Add a ByUser suffix to PermissionGranted/Denied. In the future
1037 we can add PermissionGrantedByDefault.
1040 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1041 (WebCore::WebPage::requestPermission):
1042 (WebCore::WebPage::permissionSet):
1043 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1044 (LayoutTestController::grantDesktopNotificationPermission):
1045 * QtTestBrowser/webpage.cpp:
1046 (WebPage::requestPermission):
1048 2010-11-18 Satish Sampath <satish@chromium.org>
1050 Reviewed by Jeremy Orlow.
1052 For speech input event, send an event object containing all the recognition results and metadata.
1053 https://bugs.webkit.org/show_bug.cgi?id=49736
1055 Updated DRT by renaming the mock result method on all platforms to the new signature.
1057 * DumpRenderTree/LayoutTestController.cpp:
1058 (addMockSpeechInputResultCallback):
1059 (LayoutTestController::staticFunctions):
1060 * DumpRenderTree/LayoutTestController.h:
1061 * DumpRenderTree/chromium/LayoutTestController.cpp:
1062 (LayoutTestController::LayoutTestController):
1063 (LayoutTestController::addMockSpeechInputResult):
1064 * DumpRenderTree/chromium/LayoutTestController.h:
1065 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1066 (LayoutTestController::addMockSpeechInputResult):
1067 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1068 (LayoutTestController::addMockSpeechInputResult):
1069 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1070 (LayoutTestController::addMockSpeechInputResult):
1071 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1072 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1073 (LayoutTestController::addMockSpeechInputResult):
1074 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1075 (LayoutTestController::addMockSpeechInputResult):
1077 2010-11-22 Dirk Pranke <dpranke@chromium.org>
1079 Reviewed by Tony Chang.
1081 Fix some spacing issues with log messages with
1082 new-run-webkit-tests --verbose.
1084 https://bugs.webkit.org/show_bug.cgi?id=49936
1086 * Scripts/webkitpy/layout_tests/layout_package/printing.py:
1088 2010-11-22 Ojan Vafai <ojan@chromium.org>
1090 Reviewed by Adam Barth.
1092 update scm to work with different remote branches
1093 https://bugs.webkit.org/show_bug.cgi?id=49949
1095 This works if there are multiple svn tracking branches
1096 and/or if the tracking branch is refs/remots/origin/master
1097 instead of refs/remotes/trunk which is the direction we're trying
1098 to head since that makes fetches faster.
1100 * Scripts/webkitpy/common/checkout/scm.py:
1101 * Scripts/webkitpy/common/checkout/scm_unittest.py:
1103 2010-11-22 Hayato Ito <hayato@chromium.org>
1105 Reviewed by Shinichiro Hamaji.
1107 Ignore reference files which will be used by reftests when collecting
1109 https://bugs.webkit.org/show_bug.cgi?id=49835
1111 * Scripts/webkitpy/layout_tests/port/test_files.py:
1112 * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
1114 2010-11-22 Adam Roben <aroben@apple.com>
1116 Use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops files
1118 Apple's Windows build allows placing header files and import libraries for WebKit's
1119 dependencies (CoreGraphics, CFNetwork, SQLite, etc.) outside the source tree via the
1120 $WebKitLibrariesDir environment variable. This is both required for production builds and
1121 convenient for Apple-internal developer builds. Apple's production builds also require that
1122 WebKit's shared .vsprops files be accessed relative to $WebKitLibrariesDir. In production
1123 builds, the files are copied into that directory tree by the
1124 WebKitLibraries/win/tools/WinTools.make file. In Apple-internal developer builds, the
1126 JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make.
1128 This .vsprops copying is problematic in one very important case: when a developer updates
1129 their source tree and then tries to build. Visual Studio only reads .vsprops files when a
1130 project is first loaded. So, when Visual Studio is first opened after the .vsprops files are
1131 updated, it reads in the old files that were already residing in $WebKitLibrariesDir. When a
1132 build is started, JavaScriptCoreGenerated.make copies the new .vsprops files into
1133 $WebKitLibrariesDir, but Visual Studio will not pick up the changes. The rest of the build
1134 will proceed with out-of-date .vsprops files, which will likely result in a build failure.
1136 To fix this, we now use normal relative paths to access the .vsprops files in the source
1137 tree rather than in $WebKitLibrariesDir, but prefix those paths with a new environment
1138 variable, $WebKitVSPropsRedirectionDir. In developer builds, this environment variable is
1139 unset, so the normal relative paths are used to read the .vsprops files out of the source
1140 tree directly. In production builds, this environment variable is set to a fake directory
1141 that will cause the .vsprops files in $WebKitLibrariesDir to be found when the relative path
1144 For example, JavaScriptCore.vcproj uses this path for FeatureDefines.vsprops:
1146 $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
1148 In developer builds, where $WebKitVSPropsRedirectionDir is unset, this will point to the
1149 files in WebKitLibraries\win\tools\vsprops in the source tree. In production builds,
1150 JavaScriptCore.make sets $WebKitVSPropsRedirectionDir to
1151 "$(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\", so the full path for
1152 FeatureDefines.vsprops becomes:
1154 $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
1158 $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
1160 (We rely on the fact that Windows doesn't care whether the directories "1", "2", and "3"
1161 actually exist since they are matched by an equal number of ".." path components.)
1163 Note that Visual Studio still won't pick up changes made to .vsprops files while Visual
1164 Studio is open, but that problem hasn't seemed to cause developers many headaches so far.
1166 Fixes <http://webkit.org/b/49181> Windows build fails mysteriously when .vsprops files are
1169 Reviewed by Dave Hyatt.
1171 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
1172 * DumpRenderTree/win/DumpRenderTree.vcproj:
1173 * DumpRenderTree/win/ImageDiff.vcproj:
1174 * FindSafari/FindSafari.vcproj:
1175 * MiniBrowser/MiniBrowser.vcproj:
1176 * TestWebKitAPI/win/TestWebKitAPI.vcproj:
1177 * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
1178 * WebKitAPITest/WebKitAPITest.vcproj:
1179 * WebKitLauncherWin/WebKitLauncherWin.vcproj:
1180 * WebKitTestRunner/win/InjectedBundle.vcproj:
1181 * WebKitTestRunner/win/WebKitTestRunner.vcproj:
1182 * WinLauncher/WinLauncher.vcproj:
1183 * record-memory-win/record-memory-win.vcproj:
1184 Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops
1187 2010-11-22 Adam Roben <aroben@apple.com>
1189 Make it possible to run tests on Windows without Visual Studio or VC++
1192 webkitdir.pm::setupCygwinEnv dies when Visual Studio and VC++ Express
1193 are not installed. But this function doesn't need to be called when we
1194 already have a build available and are just trying to run the tests.
1196 Fixes <http://webkit.org/b/49932> New Windows 7 bot can't run tests
1197 because Visual Studio/VC++ Express aren't installed
1199 Reviewed by Dave Hyatt.
1201 * Scripts/webkitdirs.pm:
1202 (determineConfigurationForVisualStudio): Don't call setupCygwinEnv, as
1203 it is not needed by this function. Also added a FIXME.
1205 (usingVisualStudioExpress): Call setupCygwinEnv directly rather than
1206 relying on determineConfigurationForVisualStudio doing it.
1208 2010-11-19 Hayato Ito <hayato@chromium.org>
1210 Reviewed by Shinichiro Hamaji.
1212 Simplify Driver.run_test() so that it takes only one parameter, TestInput.
1214 https://bugs.webkit.org/show_bug.cgi?id=49812
1216 * Scripts/webkitpy/layout_tests/driver_test.py:
1217 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1218 * Scripts/webkitpy/layout_tests/port/base.py:
1219 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
1220 * Scripts/webkitpy/layout_tests/port/chromium.py:
1221 * Scripts/webkitpy/layout_tests/port/dryrun.py:
1222 * Scripts/webkitpy/layout_tests/port/test.py:
1223 * Scripts/webkitpy/layout_tests/port/webkit.py:
1224 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1225 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1227 2010-11-22 Hayato Ito <hayato@chromium.org>
1229 Reviewed by Tony Chang.
1231 [NRWT] Retry a few times in reading a png image to avoid a race condition.
1233 https://bugs.webkit.org/show_bug.cgi?id=49924
1235 * Scripts/webkitpy/layout_tests/port/chromium.py:
1237 2010-11-22 João Paulo Rechi Vita <jprvita@profusion.mobi>
1239 Reviewed by Kenneth Rohde Christiansen.
1241 Fix EWebLauncher zoom discretization
1242 https://bugs.webkit.org/show_bug.cgi?id=49810
1244 * EWebLauncher/main.c:
1245 (nearest_zoom_level_get):
1250 2010-11-21 Sam Weinig <sam@webkit.org>
1252 Rubber-stamped by Dan Bernstein.
1254 Fix ~300 WebKit2 tests by enabling developer extras preference.
1256 * WebKitTestRunner/TestController.cpp:
1257 (WTR::TestController::resetStateToConsistentValues):
1259 2010-11-21 Sam Weinig <sam@webkit.org>
1261 Reviewed by Dan Bernstein.
1263 Textareas should be resizable by default
1264 https://bugs.webkit.org/show_bug.cgi?id=49892
1266 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1267 * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp: Added.
1268 * TestWebKitAPI/win/TestWebKitAPI.vcproj:
1269 Add preferences test.
1271 2010-11-19 Mihai Parparita <mihaip@chromium.org>
1273 Reviewed by Tony Chang.
1275 Rebaseline server: checksum-only differences and prefetching
1276 https://bugs.webkit.org/show_bug.cgi?id=49841
1278 Add support for image test results where the only difference is in the
1281 Add prefetching of the image results from the next test.
1283 * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
1284 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
1285 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
1287 2010-11-19 Dirk Pranke <dpranke@chromium.org>
1289 Reviewed by Tony Chang.
1291 nrwt multiprocessing - add 'worker number' concept, move stuff to worker thread
1293 Add the 'worker number' and 'worker name' concepts to the
1294 TestShellThread objects, and move test_types and test_args from
1295 the TestRunner to the TestShellThread.
1297 https://bugs.webkit.org/show_bug.cgi?id=49768
1299 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1300 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1302 2010-11-19 Dirk Pranke <dpranke@chromium.org>
1304 Reviewed by Ojan Vafai.
1306 Do some minor cleanup and bug fixing.
1308 https://bugs.webkit.org/show_bug.cgi?id=49777
1310 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1311 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1313 2010-11-19 Dirk Pranke <dpranke@chromium.org>
1315 Reviewed by Ojan Vafai.
1317 nrwt - config.build_directory() is busted
1319 Fixes a typo that was causing us to usually return the top level
1320 directory WebKitBuild instead of WebKitBuild/{Debug,Release}. The
1321 bug was hidden by test stubs that were too simplistic :(.
1323 https://bugs.webkit.org/show_bug.cgi?id=49815
1325 * Scripts/webkitpy/common/system/executive_mock.py:
1326 * Scripts/webkitpy/layout_tests/port/config.py:
1327 * Scripts/webkitpy/layout_tests/port/config_unittest.py:
1329 2010-11-19 Steve Falkenburg <sfalken@apple.com>
1331 Reviewed by Adam Roben.
1333 Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
1334 https://bugs.webkit.org/show_bug.cgi?id=49819
1336 * DumpRenderTree/DumpRenderTree.sln:
1337 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
1338 * DumpRenderTree/win/DumpRenderTree.vcproj:
1339 * DumpRenderTree/win/ImageDiff.vcproj:
1340 * FindSafari/FindSafari.vcproj:
1341 * MiniBrowser/MiniBrowser.vcproj:
1342 * TestWebKitAPI/win/TestWebKitAPI.sln:
1343 * TestWebKitAPI/win/TestWebKitAPI.vcproj:
1344 * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
1345 * WebKitAPITest/WebKitAPITest.vcproj:
1346 * WebKitLauncherWin/WebKitLauncherWin.vcproj:
1347 * WebKitTestRunner/win/InjectedBundle.vcproj:
1348 * WebKitTestRunner/win/InjectedBundleGenerated.vcproj:
1349 * WebKitTestRunner/win/WebKitTestRunner.vcproj:
1350 * WinLauncher/WinLauncher.vcproj:
1351 * record-memory-win/record-memory-win.vcproj:
1353 2010-11-19 Adam Roben <aroben@apple.com>
1355 Add some more Windows slaves
1357 This is probably more than we will be using in the immediate future,
1358 but having some extra slave names makes experimenting with different
1359 configurations easier.
1361 Reviewed by Jon Honeycutt.
1363 * BuildSlaveSupport/build.webkit.org-config/config.json: Added 5 more
1364 Windows slaves and distributed them among the three different Test
1367 2010-11-19 Kinuko Yasuda <kinuko@chromium.org>
1369 Reviewed by Ojan Vafai.
1371 [Chromium] REGRESSION: Record actual test results in the JSON result summary for non-layout tests
1372 https://bugs.webkit.org/show_bug.cgi?id=49702
1374 Re-landing r72357 with a test fix.
1376 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
1377 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1378 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
1380 2010-11-19 Avi Drissman <avi@google.com>
1382 Reviewed by Antonio Gomes.
1384 Complete support for Unix editing mode
1385 https://bugs.webkit.org/show_bug.cgi?id=49757
1387 * DumpRenderTree/LayoutTestController.cpp:
1388 (setEditingBehaviorCallback):
1389 * DumpRenderTree/chromium/LayoutTestController.cpp:
1390 (LayoutTestController::setEditingBehavior):
1392 2010-11-19 Adam Roben <aroben@apple.com>
1394 Fix run-javascriptcore-tests when there's a space in the path to
1397 Reviewed by Sam Weinig.
1399 * Scripts/run-javascriptcore-tests: Use an indirect object when calling
1400 system() to force it to interpret spaces in the path correctly.
1402 2010-11-19 Adam Roben <aroben@apple.com>
1404 Update scripts for .exe name changes after r72327
1406 As of r72327, the "_debug" suffix is only used in Debug_All builds.
1408 Reviewed by Sam Weinig.
1410 * Scripts/run-javascriptcore-tests:
1413 * Scripts/sunspider-compare-results:
1416 * Scripts/webkitdirs.pm:
1420 2010-11-19 Steve Falkenburg <sfalken@apple.com>
1422 Reviewed by Darin Adler.
1424 Normalize Cairo/CFLite project/solution configuration names
1425 https://bugs.webkit.org/show_bug.cgi?id=49818
1427 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
1428 * DumpRenderTree/win/DumpRenderTree.vcproj:
1429 * DumpRenderTree/win/ImageDiff.vcproj:
1430 * MiniBrowser/MiniBrowser.vcproj:
1431 * TestWebKitAPI/win/TestWebKitAPI.sln:
1432 * TestWebKitAPI/win/TestWebKitAPI.vcproj:
1433 * WebKitAPITest/WebKitAPITest.vcproj:
1434 * WebKitTestRunner/win/InjectedBundle.vcproj:
1435 * WebKitTestRunner/win/WebKitTestRunner.vcproj:
1436 * WinLauncher/WinLauncher.vcproj:
1437 * Scripts/webkitdirs.pm: Updated cairo build configs.
1439 2010-11-18 Steve Falkenburg <sfalken@apple.com>
1441 Reviewed by Adam Roben.
1443 Windows vcproj configuration names should be normalized across projects
1444 https://bugs.webkit.org/show_bug.cgi?id=49776
1446 * DumpRenderTree/DumpRenderTree.sln:
1447 * FindSafari/FindSafari.vcproj:
1448 * TestWebKitAPI/win/TestWebKitAPI.sln:
1449 * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
1450 * TestWebKitAPI/win/TestWebKitAPIGeneratedCommon.vsprops: Added.
1451 * WebKitAPITest/WebKitAPITest.vcproj:
1452 * WebKitAPITest/WebKitAPITestCommon.vsprops:
1453 * WebKitLauncherWin/WebKitLauncherWin.vcproj:
1454 * WebKitTestRunner/WebKitTestRunner.sln:
1455 * WebKitTestRunner/win/InjectedBundleGenerated.vcproj:
1456 * WebKitTestRunner/win/InjectedBundleGeneratedCommon.vsprops: Added.
1457 * record-memory-win/record-memory-win.vcproj:
1459 2010-11-18 Gavin Barraclough <barraclough@apple.com>
1461 Build fix - as per DRT-mac, always enabled developer extras,
1464 This is necessary to enable rich exception messages to be generated
1465 following https://bugs.webkit.org/show_bug.cgi?id=49708.
1467 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1468 (shouldEnableDeveloperExtras):
1469 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1470 (WebCore::shouldEnableDeveloperExtras):
1471 * DumpRenderTree/win/DumpRenderTree.cpp:
1472 (shouldEnableDeveloperExtras):
1474 2010-11-18 Sheriff Bot <webkit.review.bot@gmail.com>
1476 Unreviewed, rolling out r72357.
1477 http://trac.webkit.org/changeset/72357
1478 https://bugs.webkit.org/show_bug.cgi?id=49784
1480 It broke test-webkitpy tests since the patch didn't have the
1481 corresponding test update (Requested by kinuko on #webkit).
1483 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
1484 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1486 2010-11-18 Mihai Parparita <mihaip@chromium.org>
1488 Reviewed by Tony Chang.
1490 Rebaseline server: add rebaseline queue
1491 https://bugs.webkit.org/show_bug.cgi?id=49763
1493 Add a UI queue (a multi-item <select>) where tests to be baselined
1494 can be enqueued (also supports basic removal). A queue is used instead
1495 of immediately doing rebaselines since SCM operations can take a while.
1496 It's better to go through lots of tests quickly to mark them as
1497 needing rebaselining and then batch the SCM operations.
1499 Also adds a simple log where results can be displayed.
1501 * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
1502 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
1503 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
1504 * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js: Added.
1505 * Scripts/webkitpy/tool/commands/data/rebaselineserver/util.js:
1506 * Scripts/webkitpy/tool/commands/rebaselineserver.py:
1508 2010-11-18 Gavin Barraclough <barraclough@apple.com>
1510 Reviewed by Oliver Hunt.
1512 Bug 49708 - Stop recompiling functions to regenerate exception info.
1514 Instead only hold info as necessary – keep divot info is the inspector
1515 is enabled, line number info is debugging or profiling, and handler
1516 info for functions with try/catch.
1518 * DumpRenderTree/mac/DumpRenderTree.mm:
1519 (shouldEnableDeveloperExtras):
1520 - always enable the developer tools from DRT, to ensure we
1521 produce rich error messages on JavaScript exceptions.
1523 2010-11-18 Kinuko Yasuda <kinuko@chromium.org>
1525 Reviewed by Ojan Vafai.
1527 [Chromium] REGRESSION: Record actual test results in the JSON result summary for non-layout tests
1528 https://bugs.webkit.org/show_bug.cgi?id=49702
1530 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
1531 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
1533 2010-11-18 Dirk Pranke <dpranke@chromium.org>
1535 Reviewed by Tony Chang.
1537 new-run-webkit-tests: create first part of 'message_broker' class for multiprocessing fixes
1539 Create the first version of the 'message_broker' package. This
1540 class will encapsulate all of the threading/multiprocessing and
1541 message-sending details for the communication between the
1542 'manager' object and the 'worker' objects. For the moment, it
1543 just holds some routines and tests for logging thread stacks.
1545 There should be no functional changes in this patch, just moving stuff
1548 https://bugs.webkit.org/show_bug.cgi?id=49707
1550 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1551 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread_unittest.py: Removed.
1552 * Scripts/webkitpy/layout_tests/layout_package/message_broker.py: Added.
1553 * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py: Added.
1554 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1555 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1557 2010-11-18 Steve Falkenburg <sfalken@apple.com>
1559 Reviewed by Adam Roben.
1561 Remove leftover Windows Debug_Internal configurations
1562 https://bugs.webkit.org/show_bug.cgi?id=49758
1564 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
1565 * DumpRenderTree/win/DumpRenderTree.vcproj:
1566 * DumpRenderTree/win/ImageDiff.vcproj:
1567 * MiniBrowser/MiniBrowser.vcproj:
1568 * TestWebKitAPI/win/TestWebKitAPI.vcproj:
1569 * WebKitAPITest/WebKitAPITest.vcproj:
1570 * WebKitTestRunner/win/InjectedBundle.vcproj:
1571 * WebKitTestRunner/win/WebKitTestRunner.vcproj:
1572 * WinLauncher/WinLauncher.vcproj:
1574 2010-11-18 Adam Roben <aroben@apple.com>
1576 Add three new Windows XP build slaves
1578 Reviewed by Steve Falkenburg.
1580 * BuildSlaveSupport/build.webkit.org-config/config.json: Added three
1581 new slaves, and added them to the Windows XP Debug (Tests) builder.
1583 2010-11-18 Daniel Bates <dbates@rim.com>
1585 Reviewed by Adam Roben.
1587 update-webkit-support-libs should fall back to existing
1588 WebKitSupportLibrary version if there is no internet connectivity
1589 https://bugs.webkit.org/show_bug.cgi?id=49503
1591 Fall back to existing support libraries (if present) when there is
1592 no internet connection.
1594 Currently, update-webkit-support-libs dies with an "out-of-date"
1595 error when there is no internet connection because it cannot
1596 retrieve versioning information from developer.apple.com. Because
1597 update-webkit-support-libs fails, build-webkit fails. Instead,
1598 if there is no internet connection and the support libraries are
1599 present then we should warn the user and exit() with success so
1600 that build-webkit can work without an internet connection.
1602 * Scripts/update-webkit-support-libs:
1604 2010-11-18 Steve Falkenburg <sfalken@apple.com>
1606 Reviewed by Adam Roben.
1608 Debug_Internal Windows configuration is unnecessary, should be removed
1609 https://bugs.webkit.org/show_bug.cgi?id=49753
1611 * DumpRenderTree/win/DumpRenderTree.cpp:
1612 * MiniBrowser/win/stdafx.h:
1613 * TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
1614 * WebKitTestRunner/win/TestControllerWin.cpp:
1616 2010-11-18 Steve Falkenburg <sfalken@apple.com>
1618 Reviewed by Adam Roben.
1620 Clean up vcproj errors
1621 https://bugs.webkit.org/show_bug.cgi?id=49741
1623 * MiniBrowser/MiniBrowser.vcproj:
1624 * WebKitAPITest/WebKitAPITest.vcproj:
1625 * WebKitTestRunner/win/InjectedBundle.vcproj:
1626 * WebKitTestRunner/win/WebKitTestRunner.vcproj:
1628 2010-11-18 Hayato Ito <hayato@chromium.org>
1630 Reviewed by Shinichiro Hamaji.
1632 [NRWT] Fix a break of '--new-baseline' feature in pixel_test
1633 which is caused by r72249.
1635 https://bugs.webkit.org/show_bug.cgi?id=49751
1637 * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
1639 2010-11-18 Adam Roben <aroben@apple.com>
1641 Implement layoutTestController.waitForPolicyDelegate on Windows
1643 Fixes <http://webkit.org/b/25038> <rdar://problem/6790213>.
1645 Reviewed by Simon Fraser.
1647 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1648 (LayoutTestController::waitForPolicyDelegate): Implemented by porting
1649 code from LayoutTestControllerMac.mm.
1651 2010-11-18 Hayato Ito <hayato@chromium.org>
1653 Reviewed by Shinichiro Hamaji.
1655 [NRWT] Fix a break of '--new-baseline' feature which is caused by r72249.
1657 https://bugs.webkit.org/show_bug.cgi?id=49740
1659 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
1661 2010-11-18 Tony Chang <tony@chromium.org>
1663 Reviewed by Adam Barth.
1665 run platform/chromium/plugins/refcount-leaks.html on all platforms
1666 https://bugs.webkit.org/show_bug.cgi?id=49485
1668 Add PluginObject.testObjectCount which returns the number of allocated
1669 TestObjects. Add PluginObject.testCreateTestObject which allocates
1670 and returns a TestObject.
1672 Add TestObject.refCount which returns the number of refs on the
1675 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
1676 (pluginGetProperty):
1678 * DumpRenderTree/TestNetscapePlugIn/TestObject.cpp:
1679 (getTestObjectCount):
1683 (testScriptObjectInvoke): Release a ref to a plugin object that was
1685 * DumpRenderTree/TestNetscapePlugIn/TestObject.h:
1687 2010-11-17 Steve Falkenburg <sfalken@apple.com>
1689 Reviewed by Adam Roben.
1691 WebKitTools projects (WebKitTestRunner, record-memory-win) should use vsprops for common build settings
1692 https://bugs.webkit.org/show_bug.cgi?id=49711
1694 * WebKitTestRunner/Configurations/WebKitTestRunnerCFLite.vsprops: Added.
1695 * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops: Added.
1696 * WebKitTestRunner/Configurations/WebKitTestRunnerCoreFoundation.vsprops: Added.
1697 * WebKitTestRunner/win/WebKitTestRunner.vcproj:
1698 * record-memory-win/record-memory-win-common.vsprops: Added.
1699 * record-memory-win/record-memory-win.vcproj:
1701 2010-11-18 Andras Becsi <abecsi@inf.u-szeged.hu>
1703 Reviewed by Csaba Osztrogonác.
1705 [Qt][WK2] Only add user agent strings to the list which aren't listed yet.
1707 * MiniBrowser/qt/BrowserWindow.cpp:
1708 (BrowserWindow::updateUserAgentList):
1710 2010-11-17 Adam Roben <aroben@apple.com>
1712 Don't trigger Windows builds when chromium-win test results change
1714 Reviewed by Mark Rowe.
1716 * Scripts/webkitpy/common/config/build.py:
1717 (_should_file_trigger_build): Changed the regular expression used to
1718 search for directory names to only consider full directory names,
1719 rather than matching directory names where the string we care about is
1720 a suffix of the name.
1722 * Scripts/webkitpy/common/config/build_unittest.py:
1723 (ShouldBuildTest): Added a test.
1725 2010-11-17 Hayato Ito <hayato@chromium.org>
1727 Reviewed by Shinichiro Hamaji.
1729 Remove a uri member from TestInput class.
1731 https://bugs.webkit.org/show_bug.cgi?id=49691
1733 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1734 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1736 2010-11-17 Adam Roben <aroben@apple.com>
1738 Move FindSafari's settings into a vsprops file
1740 Fixes <http://webkit.org/b/49699> FindSafari should use a vsprops file
1742 Reviewed by Steve Falkenburg.
1744 * FindSafari/FindSafari.vcproj:
1745 * FindSafari/FindSafariCommon.vsprops: Added.
1747 2010-11-17 Adam Roben <aroben@apple.com>
1749 Use a minimum font size of 0 in DRT on Windows
1751 This is the Windows equivalent of r72164.
1753 Rubber-stamped by Dave Hyatt.
1755 * DumpRenderTree/win/DumpRenderTree.cpp:
1756 (resetDefaultsToConsistentValues):
1758 2010-11-17 Dirk Pranke <dpranke@chromium.org>
1760 Reviewed by Andreas Kling.
1762 webkit-patch pretty-diff shouldn't need to be run from a checkout root in git
1763 https://bugs.webkit.org/show_bug.cgi?id=49639
1765 * Scripts/webkitpy/common/checkout/scm.py:
1767 2010-11-17 Mihai Parparita <mihaip@chromium.org>
1769 Reviewed by Tony Chang.
1771 Rebaseline server: add loupe for image diffs
1772 https://bugs.webkit.org/show_bug.cgi?id=49692
1774 Add a loupe (magnifiying glass) for inspecting image diffs. Shows an
1775 enlarged area of the expected, actual and diff images side by side.
1777 * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
1778 * Scripts/webkitpy/tool/commands/data/rebaselineserver/loupe.js: Added.
1779 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
1780 * Scripts/webkitpy/tool/commands/rebaselineserver.py:
1782 2010-11-17 Steve Falkenburg <sfalken@apple.com>
1784 Reviewed by Adam Roben.
1786 WebKitLauncherWin should use vsprops for shared build settings
1787 https://bugs.webkit.org/show_bug.cgi?id=49696
1789 * WebKitLauncherWin/WebKitLauncherWin.vcproj:
1790 * WebKitLauncherWin/WebKitLauncherWinCommon.vsprops: Added.
1792 2010-11-17 Steve Falkenburg <sfalken@apple.com>
1794 Reviewed by Adam Roben.
1796 WinLauncher should use vsprops for shared build settings
1797 https://bugs.webkit.org/show_bug.cgi?id=49695
1799 * WinLauncher/WinLauncher.cpp:
1804 * WinLauncher/WinLauncher.vcproj:
1805 * WinLauncher/WinLauncherCommon.vsprops: Added.
1807 2010-11-17 Steve Falkenburg <sfalken@apple.com>
1809 Delete unused file unintentionally added in last change.
1811 * DumpRenderTree/win/DumpRenderTreeCURL.vsprops: Removed.
1813 2010-11-17 Steve Falkenburg <sfalken@apple.com>
1815 Reviewed by Adam Roben.
1817 DumpRenderTree on Windows should use a vsprops file for shared project settings
1818 https://bugs.webkit.org/show_bug.cgi?id=49690
1820 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
1821 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops: Added.
1822 * DumpRenderTree/win/DumpRenderTree.vcproj:
1823 * DumpRenderTree/win/DumpRenderTreeApple.vsprops: Added.
1824 * DumpRenderTree/win/DumpRenderTreeCFLite.vsprops: Added.
1825 * DumpRenderTree/win/DumpRenderTreeCURL.vsprops: Added.
1826 * DumpRenderTree/win/DumpRenderTreeCairo.vsprops: Added.
1827 * DumpRenderTree/win/DumpRenderTreeCommon.vsprops: Added.
1828 * DumpRenderTree/win/ImageDiff.vcproj:
1829 * DumpRenderTree/win/ImageDiffCommon.vsprops: Added.
1831 2010-11-17 Hayato Ito <hayato@chromium.org>
1833 Refactor TestTypeBase.compare_output().
1835 Introduce a TestOutput class and update compare_output() of each test
1836 types so that they can take both actual and expected TestOutput objects.
1838 https://bugs.webkit.org/show_bug.cgi?id=49431
1840 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
1841 * Scripts/webkitpy/layout_tests/layout_package/test_output.py: Added.
1842 * Scripts/webkitpy/layout_tests/port/base.py:
1843 * Scripts/webkitpy/layout_tests/port/chromium.py:
1844 * Scripts/webkitpy/layout_tests/port/dryrun.py:
1845 * Scripts/webkitpy/layout_tests/port/test.py:
1846 * Scripts/webkitpy/layout_tests/port/webkit.py:
1847 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1848 * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
1849 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
1850 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
1852 2010-11-17 Adam Roben <aroben@apple.com>
1854 Make each Windows Test builder use the same OS for all its slaves
1856 Currently each WebKit1 Windows Test builder has one Windows XP slave
1857 and one Windows 7 slave. Having different OSes in a single builder
1858 meant that the builders would alternate between red and green when
1859 there were OS-specific failures.
1861 Fixes <http://webkit.org/b/49688> Windows Test builders alternate
1862 between red and green because of multiple OS versions
1864 Reviewed by Mark Rowe.
1866 * BuildSlaveSupport/build.webkit.org-config/config.json: Renamed
1867 "Windows Release (Tests)" to "Windows 7 Release (Tests)", "Windows
1868 Debug (Tests)" to "Windows XP Debug (Tests)", and "Windows Release
1869 (WebKit2 Tests)" to "Windows 7 Release (WebKit2 Tests)". Updated the
1870 builders for the two WebKit1 builders so that they would all use the
1873 2010-11-17 James Robinson <jamesr@chromium.org>
1875 Reviewed by Dan Bernstein.
1877 [chromium] Set minimum font size to 0 for DRT
1878 https://bugs.webkit.org/show_bug.cgi?id=49677
1880 Followup for http://trac.webkit.org/changeset/72141.
1882 Test: http/tests/misc/acid3.html
1884 * DumpRenderTree/chromium/WebPreferences.cpp:
1885 (WebPreferences::reset):
1887 2010-11-17 Andras Becsi <abecsi@webkit.org>
1889 Unreviewed build fix.
1891 [Qt] Add missing file I forgot in r72220.
1893 * MiniBrowser/MiniBrowser.qrc: Added.
1895 2010-11-17 Andras Becsi <abecsi@webkit.org>
1897 Reviewed by Andreas Kling.
1899 [Qt][WK2] Make it possible to set custom user agent strings in MiniBrowser.
1900 https://bugs.webkit.org/show_bug.cgi?id=49627
1902 Add a user agent dialog and a resource file for useragentlist.txt to MiniBrowser.
1904 * MiniBrowser/MiniBrowser.qrc: Added.
1905 Add it here to prevent qmake from detecting it
1906 since it needs to be copied to the build directory.
1907 * MiniBrowser/qt/BrowserWindow.cpp:
1908 (BrowserWindow::BrowserWindow):
1909 (BrowserWindow::updateUserAgentList):
1910 (BrowserWindow::showUserAgentDialog):
1911 * MiniBrowser/qt/BrowserWindow.h:
1912 * MiniBrowser/qt/MiniBrowser.pro:
1914 2010-11-17 Adam Roben <aroben@apple.com>
1916 Make changes to the Mac WebKit2 Skipped file trigger Windows builds
1918 We use that file on Windows!
1920 Fixes <http://webkit.org/b/49643> Changes to
1921 LayoutTests/platform/mac-wk2 should trigger a Windows build, but don't
1923 Reviewed by Steve Falkenburg.
1925 * Scripts/webkitpy/common/config/build.py:
1926 (_should_file_trigger_build): Added the mac-wk2 directory and make it
1927 trigger builds on SnowLeopard and Windows.
1929 * Scripts/webkitpy/common/config/build_unittest.py:
1930 (ShouldBuildTest.test_should_build): Added a test.
1932 2010-11-17 Satish Sampath <satish@chromium.org>
1934 Reviewed by Jeremy Orlow.
1936 Clear the speech input mock explicitly before each test.
1937 https://bugs.webkit.org/show_bug.cgi?id=49660
1939 * DumpRenderTree/chromium/LayoutTestController.cpp:
1940 (LayoutTestController::setMockSpeechInputResult):
1941 * DumpRenderTree/chromium/LayoutTestController.h:
1942 * DumpRenderTree/chromium/WebViewHost.cpp:
1943 (WebViewHost::speechInputController):
1944 (WebViewHost::reset): Invoke speech input mock's clearResults method.
1945 * DumpRenderTree/chromium/WebViewHost.h:
1946 (WebViewHost::speechInputControllerMock): Moved mock from LayoutTestController.
1948 2010-11-17 Alexander Pavlov <apavlov@chromium.org>
1950 Unreviewed, specify IRC nickname in committers.py.
1952 * Scripts/webkitpy/common/config/committers.py:
1954 2010-11-17 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
1956 Reviewed by Tony Chang.
1958 [NRWT] Make http locking similar to perl implementation
1959 https://bugs.webkit.org/show_bug.cgi?id=49187
1961 * Scripts/webkitpy/common/system/file_lock.py: Added.
1962 * Scripts/webkitpy/common/system/file_lock_unittest.py: Added.
1963 * Scripts/webkitpy/layout_tests/port/http_lock.py:
1965 2010-11-17 MORITA Hajime <morrita@google.com>
1967 Reviewed by Kent Tamura.
1969 [Chromium][DRT] EventSender.contextClick() should aware spellchecking
1970 https://bugs.webkit.org/show_bug.cgi?id=49366
1972 - EvenSender: Checked WebContextMenuData.misspelledWord and added extra context menu entries
1973 according to the spellchecker suggestion
1974 - MockSpellCheck: add fillSuggestionList to provide fake suggestions.
1976 test_expectations.txt will be changed after this change is ported to test_shell.
1978 * DumpRenderTree/chromium/EventSender.cpp:
1979 (makeMenuItemStringsFor):
1980 (EventSender::contextClick):
1981 * DumpRenderTree/chromium/MockSpellCheck.cpp:
1982 (MockSpellCheck::fillSuggestionList):
1983 (MockSpellCheck::initializeIfNeeded):
1984 * DumpRenderTree/chromium/MockSpellCheck.h:
1985 * DumpRenderTree/chromium/WebViewHost.cpp:
1986 (WebViewHost::mockSpellCheck):
1987 * DumpRenderTree/chromium/WebViewHost.h:
1989 2010-11-16 Dave Hyatt <hyatt@apple.com>
1991 Reviewed by Sam Weinig.
1993 Make sure the pref for minimum font size is just explicitly set to 0 every time,
1994 since the bots have 1 stuck in their plist otherwise.
1996 * DumpRenderTree/mac/DumpRenderTree.mm:
1997 (resetDefaultsToConsistentValues):
1999 2010-11-16 Mihai Parparita <mihaip@chromium.org>
2001 Reviewed by Tony Chang.
2003 Rebaseline server: compute diffs client-side
2004 https://bugs.webkit.org/show_bug.cgi?id=49640
2006 The image diff output from the DRT is pretty bad on some ports (at
2007 least the Mac one), so it's better to compute diffs on the client by
2010 * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
2011 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
2012 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
2014 2010-11-16 Mihai Parparita <mihaip@chromium.org>
2016 Reviewed by Tony Chang.
2018 Rebaseline server: display test results
2019 https://bugs.webkit.org/show_bug.cgi?id=49626
2021 Adds basic result display to the rebaseline server. On the Python side
2023 - Parsing the unexpected_results.json into a dictionary.
2024 - Serving it as JSON under /results.json.
2025 (the JSON -> dict -> JSON transform isn't strictly necessary right now,
2026 but I'll need to have access to the parsed results on the Python side
2027 for follow-up changes).
2029 On the web UI side this adds:
2030 - Markup for display image and text results (expected, actual, diff),
2031 and JS for populating it.
2032 - Markup for breaking down test results by failure type and directory,
2033 and JS for populating it.
2035 * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
2036 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
2037 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
2038 * Scripts/webkitpy/tool/commands/data/rebaselineserver/util.js: Added.
2039 * Scripts/webkitpy/tool/commands/rebaselineserver.py:
2041 2010-11-16 Dirk Pranke <dpranke@chromium.org>
2043 Reviewed by Ojan Vafai.
2045 See Chromium issue http://codereview.chromium.org/5133001/ - we
2046 are modifying the build bots to pass in the builder name with
2047 the "GPU" string appended instead of appending it in the code.
2049 https://bugs.webkit.org/show_bug.cgi?id=49636
2051 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
2053 2010-11-16 Steve Falkenburg <sfalken@apple.com>
2055 Reviewed by Adam Roben.
2057 Disable LTCG for Windows Release builds. Add new Release_LTCG configuration.
2058 https://bugs.webkit.org/show_bug.cgi?id=49632
2060 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
2061 * DumpRenderTree/win/DumpRenderTree.vcproj:
2062 * DumpRenderTree/win/ImageDiff.vcproj:
2063 * MiniBrowser/MiniBrowser.vcproj:
2064 * TestWebKitAPI/win/TestWebKitAPI.vcproj:
2065 * WebKitLauncherWin/WebKitLauncherWin.vcproj:
2066 * WebKitTestRunner/win/InjectedBundle.vcproj:
2067 * WebKitTestRunner/win/WebKitTestRunner.vcproj:
2068 * WinLauncher/WinLauncher.vcproj:
2069 * record-memory-win/record-memory-win.vcproj:
2071 2010-11-16 Dirk Pranke <dpranke@chromium.org>
2073 Reviewed by Ojan Vafai.
2075 new-run-webkit-tests: rename TestInfo to TestInput, move image hash to work thread
2077 Rename the TestInfo class to TestInput to be clearer about its
2078 function, and move the checksum-reading code into dump_render_tree_thread
2079 to avoid cross-thread access.
2081 https://bugs.webkit.org/show_bug.cgi?id=49573
2083 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
2084 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2085 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2087 2010-11-16 Dave Hyatt <hyatt@apple.com>
2089 Fix bustage. Remove the minimum font size pref setting in DumpRenderTree.
2091 * DumpRenderTree/mac/DumpRenderTree.mm:
2092 (resetDefaultsToConsistentValues):
2094 2010-11-16 Stephanie Lewis <slewis@apple.com>
2096 Reviewed by Geoff Garen.
2098 <rdar://problem/8624267> Leak creating offscreen webview running fast/dom tests
2100 Use shared DeviceOrientationProviderMock. The old allocation method created a new WebDeviceOrientationProviderMock
2101 for every WebView, and the WebKit API doesn't support that ownership model.
2103 I also fixed a leak in setMockDeviceOrientation by adding a missing release.
2105 * DumpRenderTree/mac/DumpRenderTree.mm:
2106 (createWebViewAndOffscreenWindow):
2107 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2108 (LayoutTestController::setMockDeviceOrientation):
2110 2010-11-16 Dirk Pranke <dpranke@chromium.org>
2112 Reviewed by Ojan Vafai.
2114 new-run-webkit-tests: log the process id in --verbose mode
2116 As part of the switch to multi-process mode, we should log the
2117 process id when running w/ --verbose.
2119 https://bugs.webkit.org/show_bug.cgi?id=49571
2121 * Scripts/webkitpy/layout_tests/layout_package/printing.py:
2123 2010-11-16 Adam Roben <aroben@apple.com>
2125 Only trigger Windows builds when files that we actually use on Windows
2128 A new Scheduler subclass, PlatformSpecificScheduler, has been added.
2129 It uses the new webkitpy.common.config.build module to determine
2130 whether a particular change should trigger a build on a particular
2131 platform. The Windows builders have been switched to use a
2132 PlatformSpecificScheduler.
2134 The logic to determine whether or not a particular change should
2135 trigger a build on a given platform has only been implemented/tested
2136 for Windows. I tried to make it easy to add more platforms in the
2137 future, but I don't have enough familiarity with all platforms to be
2138 able to implement it for them.
2140 Fixes <http://webkit.org/b/49407> Windows builders kick off builds for
2141 lots irrelevant changes (e.g., rebaselining Chromium test results)
2143 Reviewed by Eric Seidel.
2145 * BuildSlaveSupport/build.webkit.org-config/config.json: Use a
2146 PlatformSpecificScheduler for the Windows builders.
2148 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2149 (PlatformSpecificScheduler.__init__): Added. Stores our platform, sets
2150 up a ChangeFilter that filters to our branch and will call through to
2151 our filter method, and calls up to our base class.
2152 (PlatformSpecificScheduler.filter): Calls through to
2153 build.should_build to find out whether we should trigger a build for
2156 * Scripts/webkitpy/common/net/build.py: Added.
2157 (_should_file_trigger_build): Uses a set of directories and regexp
2158 patterns to determine whether the given file should trigger a build on
2159 the given platform. As mentioned earlier, this has only been
2160 implemented for Windows, though I did try to make some guesses about
2162 (should_build): Returns true if any of the files should trigger a
2163 build on the given platform.
2165 * Scripts/webkitpy/common/net/build_unittest.py: Added.
2166 (ShouldBuildTest.test_should_build): Does some basic testing to make
2167 sure we're triggering builds for the right files. It only tests
2168 Windows for now, though I tried to make some guesses about other
2171 2010-11-16 Simon Hausmann <simon.hausmann@nokia.com>
2173 Reviewed by Andreas Kling.
2175 [Qt] Remove synchronous QWebPage::checkPermissions signal
2176 https://bugs.webkit.org/show_bug.cgi?id=46810
2178 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
2179 (WebCore::WebPage::WebPage):
2180 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2181 (LayoutTestController::grantDesktopNotificationPermission): When granting
2182 permission, grant it directly on the QWebPage/Frame, that will remember it.
2183 * QtTestBrowser/webpage.cpp:
2185 * QtTestBrowser/webpage.h:
2188 2010-11-16 Andras Becsi <abecsi@inf.u-szeged.hu>
2190 Reviewed by Csaba Osztrogonác.
2192 [Qt] Add isPrinting and setPrinting methods to DRT's LayoutTestController.
2194 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2195 (LayoutTestController::reset):
2196 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2197 (LayoutTestController::isPrinting):
2198 (LayoutTestController::setPrinting):
2200 2010-11-16 Balazs Kelemen <kbalazs@webkit.org>
2202 Reviewed by Andreas Kling.
2204 [Qt][WK2] Add a way to turn on tiled backing store in MiniBrowser
2205 https://bugs.webkit.org/show_bug.cgi?id=49587
2207 * MiniBrowser/qt/BrowserView.cpp:
2208 (BrowserView::BrowserView): Added BackingStoreType
2209 argument to ctor. Propagating it to the QGraphicsWKView.
2210 * MiniBrowser/qt/BrowserView.h:
2211 * MiniBrowser/qt/BrowserWindow.cpp:
2212 (BrowserWindow::BrowserWindow):
2213 (BrowserWindow::newWindow): Create the new BrowserWindow
2214 with the same BackingStoreType that this instance has.
2215 * MiniBrowser/qt/BrowserWindow.h: Added BackingStoreType member.
2216 * MiniBrowser/qt/main.cpp:
2217 (main): Use tiled backing store if got -tiled command line argument.
2218 Avoid redundant copy of command line args.
2220 2010-11-16 John Knottenbelt <jknotten@chromium.org>
2222 Reviewed by Jeremy Orlow.
2224 Move DeviceOrientationClientMock from LayoutTestController to WebViewHost.
2225 https://bugs.webkit.org/show_bug.cgi?id=48506
2227 This ensures that there is one mock per page WebView / WebViewHost. This is a
2228 design constraint of the DeviceOrientationClientMock because the m_controller
2229 field can only store a pointer to a single instance of the corresponding
2230 DeviceOrientationController.
2232 Test: fast/dom/DeviceOrientation/no-page-cache.html
2234 * DumpRenderTree/chromium/LayoutTestController.cpp:
2235 (LayoutTestController::setMockDeviceOrientation):
2236 (LayoutTestController::deviceOrientationClientMock):
2237 * DumpRenderTree/chromium/LayoutTestController.h:
2238 * DumpRenderTree/chromium/WebViewHost.cpp:
2239 (WebViewHost::deviceOrientationClientMock):
2240 (WebViewHost::deviceOrientationClient):
2241 (WebViewHost::reset):
2242 * DumpRenderTree/chromium/WebViewHost.h:
2244 2010-11-15 Andras Becsi <abecsi@webkit.org>
2246 Reviewed by Andreas Kling.
2248 [Qt][WK2] Avoid polling in WebKitTestRunner.
2249 https://bugs.webkit.org/show_bug.cgi?id=49542
2251 Make the WK2 testing session about 10-15% faster and decrease random flakiness
2252 resulting from timing skew by removing the millisecond polling from TestControllerQt.
2254 * WebKitTestRunner/TestController.cpp:
2255 (WTR::TestController::didFinishLoadForFrame):
2256 * WebKitTestRunner/TestController.h:
2257 * WebKitTestRunner/TestInvocation.cpp:
2258 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2259 * WebKitTestRunner/mac/TestControllerMac.mm:
2260 (WTR::TestController::notifyDone): Add method stub.
2261 * WebKitTestRunner/qt/TestControllerQt.cpp:
2262 (WTR::TestControllerRunLoop::instance):
2263 (WTR::TestControllerRunLoop::start):
2264 (WTR::TestControllerRunLoop::stop):
2265 (WTR::TestControllerRunLoop::TestControllerRunLoop):
2266 (WTR::TestControllerRunLoop::timerEvent):
2267 (WTR::TestController::notifyDone):
2268 (WTR::TestController::platformRunUntil):
2269 * WebKitTestRunner/win/TestControllerWin.cpp:
2270 (WTR::TestController::notifyDone): Add method stub.
2272 2010-11-15 Darin Adler <darin@apple.com>
2274 * Scripts/webkitpy/common/net/bugzilla: Added property svn:ignore.
2276 2010-11-15 Benjamin Poulain <benjamin.poulain@nokia.com>
2278 Reviewed by Andreas Kling.
2280 [Qt] [WK2] Add Ctrl+L shortcut to Qt Minibrowser
2281 https://bugs.webkit.org/show_bug.cgi?id=49544
2283 Add the shortcut to BrowserWindow.
2285 * MiniBrowser/qt/BrowserWindow.cpp:
2286 (BrowserWindow::BrowserWindow):
2287 (BrowserWindow::openLocation):
2288 * MiniBrowser/qt/BrowserWindow.h:
2290 2010-11-14 David Levin <levin@chromium.org>
2292 Reviewed by Daniel Bates.
2294 check-webkit-style should detect PassRefPtr usage in functions.
2295 https://bugs.webkit.org/show_bug.cgi?id=49513
2297 * Scripts/webkitpy/style/checkers/cpp.py:
2298 (check_for_function_lengths): Revert a comment change that I
2299 accidentally made in r71986.
2300 (check_pass_ptr_usage): Added the code to do the check.
2301 (process_line): Added the call to check_pass_ptr_usage.
2302 (CppChecker): Added the new error category.
2303 * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2304 (CppStyleTestBase::perform_pass_ptr_check): Runs the new check for
2306 (PassPtrTest::*): The class/functions to unit test the new
2309 2010-11-14 David Levin <levin@chromium.org>
2311 Reviewed by Shinichiro Hamaji.
2313 check-webkit-style function detection and the line count style checks should be separate.
2314 https://bugs.webkit.org/show_bug.cgi?id=49512
2316 * Scripts/webkitpy/style/checkers/cpp.py: Do the separation.
2317 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Adjust the test to
2318 call the detection function and fix line counts in two places now that
2319 the code really only counts the lines in the body of the function.
2321 2010-11-14 Andreas Kling <kling@webkit.org>
2323 Reviewed by Antonio Gomes.
2325 http/tests/plugins tests print "Unhandled variable" to stderr under Qt
2326 https://bugs.webkit.org/show_bug.cgi?id=33438
2328 Stifle "Unhandled variable" warning to match what the other
2329 TestNetscapePlugin does (NPP_GetValue in TestNetscapePlugIn/main.cpp
2330 simply returns NPERR_GENERIC_ERROR for unhandled variables.)
2332 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
2333 (webkit_test_plugin_get_value):
2335 2010-11-13 David Levin <levin@chromium.org>
2337 Reviewed by Eric Seidel.
2339 check-webkit-style function detection crashes on functions in templates.
2340 https://bugs.webkit.org/show_bug.cgi?id=49504
2342 For example "template <bool shouldClose(const Element*)>".
2344 * Scripts/webkitpy/style/checkers/cpp.py: If not function is detected, bail out.
2345 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Modified the complex
2346 function detection test to expose this issue.
2348 2010-11-12 David Levin <levin@chromium.org>
2350 Reviewed by Shinichiro Hamaji.
2352 check-webkit-style function detection doesn't detect indented functions declaractions.
2353 https://bugs.webkit.org/show_bug.cgi?id=49446
2355 Indented function declarations occur inside class definitions, so
2356 they are a pretty common (and worth detecting).
2358 * Scripts/webkitpy/style/checkers/cpp.py:
2359 Changed regex to allow indentation.
2360 Changed the function start detection to only happen when not in a
2362 Changed function end detection to work based on matching braces
2363 instead of finding a close brace at the beginning of the line.
2364 Fixed close_expression to do what it says when it doesn't find
2366 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Indented function test.
2368 2010-11-12 Daniel Bates <dbates@rim.com>
2370 Rubber-stamped by Nikolas Zimmermann.
2372 Make do-file-rename rename files in the directory WebKit2.
2374 This also makes the list of searched directories in do-file-rename
2375 consistent with the list of searched directories in the script do-webcore-rename.
2377 * Scripts/do-file-rename:
2379 2010-11-12 Dirk Pranke <dpranke@chromium.org>
2381 Reviewed by James Robinson.
2383 Attempt yet again to land the fix for bug 49360 (respecting
2384 set-webkit-configuration). We need to handle the cases where
2385 trying to run webkit-build-directory to find out where the
2386 default configuration might be fails (that shows up on some
2387 Chromium bots that apparently don't have perl installed).
2389 https://bugs.webkit.org/show_bug.cgi?id=49360
2391 * Scripts/webkitpy/layout_tests/port/config.py:
2392 * Scripts/webkitpy/layout_tests/port/config_standalone.py: Added.
2393 * Scripts/webkitpy/layout_tests/port/config_unittest.py:
2395 2010-11-12 Mihai Parparita <mihaip@chromium.org>
2397 Reviewed by Adam Barth.
2399 webkit-patch land logs commit message twice
2400 https://bugs.webkit.org/show_bug.cgi?id=49482
2402 Don't log the comment that's used by bugzilla.close_bug_as_fixed, since
2403 that's just the commit message, which we now output following the
2406 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2408 2010-11-12 Tony Chang <tony@chromium.org>
2410 Reviewed by Adam Barth.
2412 run platform/chromium/plugins/script-object-invoke.html on all platforms
2413 https://bugs.webkit.org/show_bug.cgi?id=49280
2415 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
2416 (testScriptObjectInvoke):
2419 2010-11-12 Mihai Parparita <mihaip@chromium.org>
2421 Reviewed by Adam Barth.
2423 webkit-patch land-cowboy (and other commands) should display the committed SVN revision after landing a patch
2424 https://bugs.webkit.org/show_bug.cgi?id=49471
2426 Right now there's no indication of a successful commit.
2428 * Scripts/webkitpy/tool/commands/download_unittest.py:
2429 * Scripts/webkitpy/tool/steps/commit.py:
2431 2010-11-12 Kinuko Yasuda <kinuko@chromium.org>
2433 Reviewed by Ojan Vafai.
2435 Include detailed test modifiers in results.json and enable incremental uploading for non-layout tests
2436 https://bugs.webkit.org/show_bug.cgi?id=49354
2438 Also moved/integrated the upload method from run_webkit_tests.py to json_results_generator.py.
2440 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
2441 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
2442 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
2443 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2445 2010-11-12 Tony Chang <tony@chromium.org>
2447 Reviewed by Kent Tamura.
2449 [chromium] Load a blank page when closing DRT WebViewHosts
2450 https://bugs.webkit.org/show_bug.cgi?id=49417
2452 In test_shell, when we close a window, we first load about:blank
2453 and run GC to fire the destruction logic of the page. In test_shell,
2454 this happens in ~TestShell. In DRT, we manage virtual windows as
2455 WebViewHosts, so we need to replicate this logic in ~WebViewHost.
2457 Managing focus is a bit trickier, since normally you would get window
2458 events to reset the focus to the right window. We do it manually
2461 This fixes 2 plugin tests on DRT.
2463 * DumpRenderTree/chromium/TestShell.cpp:
2464 (TestShell::~TestShell): Move window close logic to ~WebViewHost.
2465 (TestShell::closeWindow): Move widget close() to WVH destructor and
2466 manage focus manually.
2467 (TestShell::closeRemainingWindows): Comment typo.
2468 * DumpRenderTree/chromium/WebViewHost.cpp:
2469 (WebViewHost::closeWidget):
2470 (invokeCloseWidget):
2471 (WebViewHost::closeWidgetSoon): Close the window asynchronously (matches
2473 (WebViewHost::~WebViewHost):
2474 * DumpRenderTree/chromium/WebViewHost.h:
2476 2010-11-12 David Levin <levin@chromium.org>
2478 Reviewed by Adam Barth.
2480 cpp.py needs some tidying.
2481 https://bugs.webkit.org/show_bug.cgi?id=49443
2483 * Scripts/webkitpy/style/checkers/cpp.py:
2484 Fix parameter ordering for iteratively_replace_matches_with_char
2485 to mirror other similar functions (and improved comments, etc.)
2486 Also, use a python-ism (for/else) to get rid of a variable that
2487 was there to determine if something had been found in the loop.
2489 2010-11-12 Robert Kroeger <rjkroege@chromium.org>
2491 Reviewed by James Robinson.
2493 [Chromium/DRT] Make EventSendingController send complete touch events.
2494 https://bugs.webkit.org/show_bug.cgi?id=49285
2496 * DumpRenderTree/chromium/EventSender.cpp:
2497 (EventSender::addTouchPoint):
2498 (EventSender::updateTouchPoint):
2499 (EventSender::sendCurrentTouchEvent):
2501 2010-11-12 Mihai Parparita <mihaip@chromium.org>
2503 Unreviewed rollout of r71858.
2505 Rollout out r71858 since it breaks new-run-webkit-httpd as used by the
2508 * Scripts/webkitpy/layout_tests/port/config.py:
2509 * Scripts/webkitpy/layout_tests/port/config_standalone.py: Removed.
2510 * Scripts/webkitpy/layout_tests/port/config_unittest.py:
2512 2010-11-12 Benjamin Poulain <benjamin.poulain@nokia.com>
2514 Reviewed by Kenneth Rohde Christiansen.
2516 [Qt] TestController::runUntil doesn't honor the timeout parameter
2517 https://bugs.webkit.org/show_bug.cgi?id=48941
2519 Implement the missing timeout of WebKitTestRunner for Qt.
2521 A QElapsedTimer has been added to RunUntilConditionLoop in order
2522 to measure how long the loop has been running. When the timer
2523 is bigger or equal than the timeout, the loop ends even if the
2524 condition is not met.
2526 * WebKitTestRunner/qt/TestControllerQt.cpp:
2527 (WTR::RunUntilConditionLoop::start):
2528 (WTR::RunUntilConditionLoop::run):
2529 (WTR::RunUntilConditionLoop::timerEvent):
2530 (WTR::TestController::platformRunUntil):
2532 2010-11-11 David Levin <levin@chromium.org>
2534 Reviewed by Shinichiro Hamaji.
2536 check-webkit-style function detection doesn't handle templates with spaces.
2537 https://bugs.webkit.org/show_bug.cgi?id=49427
2539 * Scripts/webkitpy/style/checkers/cpp.py: Stripped out templates when
2540 finding the function name.
2541 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Made the test have a
2542 template with a space.
2544 2010-11-11 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
2546 Reviewed by Shinichiro Hamaji.
2548 Enable check-webkit-style on Qt files
2549 https://bugs.webkit.org/show_bug.cgi?id=48322
2551 Adding exception for _q_... private slots and
2552 ..._data() methods in tests
2554 * Scripts/webkitpy/style/checker.py: enable Qt dirs, add exceptions
2555 * Scripts/webkitpy/style/checker_unittest.py: improve unittests
2557 2010-11-11 David Levin <levin@chromium.org>
2559 Reviewed by Shinichiro Hamaji.
2561 check-webkit-style function detection doesn't work for templates and destructors.
2562 https://bugs.webkit.org/show_bug.cgi?id=49425
2564 * Scripts/webkitpy/style/checkers/cpp.py: Changed regex for templates and destructors.
2565 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Made the test hit this issue.
2567 2010-11-11 Joone Hur <joone@kldp.org>
2569 Reviewed by Antonio Gomes.
2571 [GTK][DRT] Implement LayoutTestController::nodesFromRect
2572 https://bugs.webkit.org/show_bug.cgi?id=46598
2574 Support nodesFromRect in DRT
2576 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2577 (LayoutTestController::nodesFromRect):
2579 2010-11-11 MORITA Hajime <morrita@google.com>
2581 Reviewed by Kent Tamura.
2583 editing/selection/context-menu-on-text.html fails on chromium
2584 https://bugs.webkit.org/show_bug.cgi?id=45898
2586 Enhance Chromium's EventSender::contextClick() to return
2587 array of menu strings. The implementation incomplete because
2588 Although actual context menu is implemented by the browser,
2589 it reflects editability of underlying context thus makes
2590 context-menu-on-text.html passed.
2592 * DumpRenderTree/chromium/EventSender.cpp:
2593 (makeMenuItemStringsFor): Added.
2594 (EventSender::contextClick): Now returns array of menu strings.
2595 * DumpRenderTree/chromium/WebViewHost.cpp:
2596 (WebViewHost::showContextMenu): Now storing given WebContextMenuData object.
2597 (WebViewHost::clearContextMenuData): Added.
2598 (WebViewHost::lastContextMenuData): Added.
2599 * DumpRenderTree/chromium/WebViewHost.h:
2601 2010-11-11 Dirk Pranke <dpranke@chromium.org>
2603 Unreviewed, build fix.
2605 fix build breakage caused by fix for bug 49380 (r71858).
2607 config_standalone needs to ensure that the packages it needs are
2610 https://bugs.webkit.org/show_bug.cgi?id=49419
2612 * Scripts/webkitpy/layout_tests/port/config_standalone.py:
2614 2010-11-11 Dirk Pranke <dpranke@chromium.org>
2616 Reviewed by Adam Roben.
2618 Fix NRWT to respect set-webkit-configuration again :(
2620 This change fixes a typo in config.py that was causing the wrong
2621 value to be read initially and us never actually looking into
2622 the filesystem to get the default configuration.
2624 * Scripts/webkitpy/layout_tests/port/config.py:
2625 * Scripts/webkitpy/layout_tests/port/config_standalone.py:
2626 * Scripts/webkitpy/layout_tests/port/config_unittest.py:
2628 2010-11-11 Eric Seidel <eric@webkit.org>
2630 Reviewed by Adam Barth.
2632 Split out Bug, Attachment and CommitterValidator from bugzilla.py
2633 https://bugs.webkit.org/show_bug.cgi?id=49403
2635 CommitterValidator really had nothing to do with bugzilla.py.
2636 I've put it next to committers.py for now since its rather tied to that file.
2638 * Scripts/webkitpy/common/config/committervalidator.py: Added.
2639 * Scripts/webkitpy/common/config/committervalidator_unittest.py: Added.
2640 * Scripts/webkitpy/common/net/bugzilla/__init__.py:
2641 * Scripts/webkitpy/common/net/bugzilla/attachment.py: Added.
2642 * Scripts/webkitpy/common/net/bugzilla/bug.py: Added.
2643 * Scripts/webkitpy/common/net/bugzilla/bug_unittest.py: Added.
2644 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2645 * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
2646 * Scripts/webkitpy/tool/bot/feeders.py:
2647 * Scripts/webkitpy/tool/commands/queues.py:
2649 2010-11-11 Dirk Pranke <dpranke@chromium.org>
2651 Reviewed by Eric Seidel.
2653 fix missing 'pid' argument for http lockfile checking on win32
2654 https://bugs.webkit.org/show_bug.cgi?id=49363
2656 * Scripts/webkitpy/common/system/executive.py:
2658 2010-11-11 Eric Seidel <eric@webkit.org>
2660 Rubber-stamped by Adam Barth.
2662 Move bugzilla.py into its own module in preparation for splitting one-file-per-class
2663 https://bugs.webkit.org/show_bug.cgi?id=49402
2665 * Scripts/webkitpy/common/net/bugzilla/__init__.py: Added.
2666 * Scripts/webkitpy/common/net/bugzilla/bugzilla.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/bugzilla.py.
2667 * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/bugzilla_unittest.py.
2669 2010-11-10 Chris Guillory <chris.guillory@google.com>
2671 Reviewed by Chris Fleizach.
2673 Use IAccessibleComparable to compare accessibility objects.
2674 https://bugs.webkit.org/show_bug.cgi?id=49118
2676 * DumpRenderTree/AccessibilityUIElement.cpp:
2677 (AccessibilityUIElement::isEqual):
2678 * DumpRenderTree/AccessibilityUIElement.h:
2679 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2681 (AccessibilityUIElement::isEqual):
2683 2010-11-10 Csaba Osztrogonác <ossy@webkit.org>
2685 Reviewed by David Hyatt.
2687 HTML5 Ruby support should be mandatory feature
2688 https://bugs.webkit.org/show_bug.cgi?id=49272
2690 Remove Ruby as optional feature.
2692 * Scripts/build-webkit:
2694 2010-11-10 Adam Roben <aroben@apple.com>
2696 Print VC++ Express build logs in the same order that the projects are
2699 Fixes <http://webkit.org/b/49326> print-vse-failure-logs prints logs
2700 in an unhelpful order
2702 Reviewed by Eric Seidel.
2704 * Scripts/print-vse-failure-logs:
2705 (PrintVisualStudioExpressLogs._build_order): Added. Uses
2706 print-msvc-project-dependencies to figure out the order in which
2708 (PrintVisualStudioExpressLogs._sort_buildlogs): Added. Sorts the logs
2709 based on their build order and project name.
2710 (PrintVisualStudioExpressLogs._obj_directory): Moved code to find the
2711 scripts directory from here...
2712 (PrintVisualStudioExpressLogs._scripts_directory): ...to here.
2713 (PrintVisualStudioExpressLogs.main): Sort the logs before printing
2716 2010-11-10 Adam Roben <aroben@apple.com>
2718 Only print the interesting text from VC++ Express build logs
2720 Fixes <http://webkit.org/b/49325> It's hard to find the interesting
2721 output from print-vse-failure-logs
2723 Reviewed by Eric Seidel.
2725 * Scripts/print-vse-failure-logs: Removed unnecessary os.path import,
2726 added newly-required imports. Removed a comment that was essentially a
2727 FIXME, and is now fixed.
2728 (PrintVisualStudioExpressLogs._relevant_text): Added. Uses
2729 BeautifulSoup to extract the relevant text from the build log.
2730 (PrintVisualStudioExpressLogs.main): Only print the relevant text.
2732 2010-11-09 Mihai Parparita <mihaip@chromium.org>
2734 Reviewed by Tony Chang.
2736 [Chromium] http/tests/security/XFrameOptions fail with Chromium DRT
2737 https://bugs.webkit.org/show_bug.cgi?id=49286
2739 The tests in http/tests/security/XFrameOptions started to fail after
2740 r71297, since it changed the WebViewHost::assignIdentifierToRequest
2741 logic to always assign identifiers to requests, even if we're not going
2742 to be dumping resource load callbacks at that point. These tests
2743 only call LayoutTestController.dumpResourceLoadCallbacks after the
2744 request is started, thus their expectations have "<unknown>" as the
2745 identifier. Change WebViewHost to the previous behavior, which also
2746 match the other ports'.
2748 * DumpRenderTree/chromium/WebViewHost.cpp:
2749 (WebViewHost::assignIdentifierToRequest):
2750 (WebViewHost::removeIdentifierForRequest):
2752 2010-11-08 Tony Chang <tony@chromium.org>
2754 Reviewed by Adam Barth.
2756 run platform/chromium/plugins/return-npobject.html on all platforms
2757 https://bugs.webkit.org/show_bug.cgi?id=49103
2759 This tests that we can get an NPObject returned through a method on
2762 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
2763 (testCallbackReturn):
2766 2010-11-09 Sheriff Bot <webkit.review.bot@gmail.com>
2768 Unreviewed, rolling out r71672.
2769 http://trac.webkit.org/changeset/71672
2770 https://bugs.webkit.org/show_bug.cgi?id=49276
2772 It doesn't work on Chromium Windows bot (Requested by Ossy on
2775 * Scripts/webkitpy/common/system/file_lock.py: Removed.
2776 * Scripts/webkitpy/common/system/file_lock_unittest.py: Removed.
2777 * Scripts/webkitpy/layout_tests/port/http_lock.py:
2779 2010-11-09 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
2781 Reviewed by Tony Chang.
2783 [NRWT] Make http locking similar to perl implementation
2784 https://bugs.webkit.org/show_bug.cgi?id=49187
2786 * Scripts/webkitpy/common/system/file_lock.py: Added.
2787 * Scripts/webkitpy/common/system/file_lock_unittest.py: Added.
2788 * Scripts/webkitpy/layout_tests/port/http_lock.py:
2790 2010-11-09 James Kozianski <koz@chromium.org>
2792 Reviewed by Eric Seidel.
2794 Clean up imports for webkit-patch.
2795 https://bugs.webkit.org/show_bug.cgi?id=49083
2797 Move some imports from commands into main.py where they are used.
2798 Move command imports into the __init__ of the commands module.
2800 * Scripts/webkitpy/tool/commands/__init__.py:
2801 * Scripts/webkitpy/tool/commands/download.py:
2802 * Scripts/webkitpy/tool/commands/queues.py:
2803 * Scripts/webkitpy/tool/main.py:
2805 2010-11-09 Yi Shen <yi.4.shen@nokia.com>
2807 Reviewed by Andreas Kling.
2809 [Qt][QtTestBrowser] Don't erase incorrect url in the Url Bar
2810 https://bugs.webkit.org/show_bug.cgi?id=49047
2812 * QtTestBrowser/mainwindow.cpp:
2813 (MainWindow::setAddressUrl):
2815 2010-11-09 Andras Becsi <abecsi@webkit.org>
2817 Reviewed by Csaba Osztrogonác.
2819 Improve old-run-webkit-tests --verbose to show DumpTool opening/closing
2820 https://bugs.webkit.org/show_bug.cgi?id=49252
2822 * Scripts/old-run-webkit-tests:
2824 2010-11-09 Csaba Osztrogonác <ossy@webkit.org>
2826 Reviewed by Tor Arne Vestbø.
2828 Output of old-run-webkit-tests is buggy in verbose mode
2829 https://bugs.webkit.org/show_bug.cgi?id=49249
2831 * Scripts/old-run-webkit-tests: Redundant outputs removed.
2833 2010-11-08 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
2835 Reviewed by Martin Robinson.
2837 [GTK] Link with target name set does not work
2838 https://bugs.webkit.org/show_bug.cgi?id=48865
2840 When a new page is created with a name (target=myFrame), the new
2841 mainFrame could not be found because they where not stored in the
2842 same PageGroup. As PageGroup are not exposed externally so the
2843 simpliest solution is to use a global page group name. This also fixes
2844 issue with visited link coloration across pages. After this change the
2845 private function webkit_web_view_set_group_name() was no longer used
2846 so it was removed completly.
2848 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2851 2010-11-08 John Knottenbelt <jknotten@chromium.org>
2853 Reviewed by Kent Tamura.
2855 WebViewHost::reset() uses placement new.
2856 https://bugs.webkit.org/show_bug.cgi?id=49069
2858 WebViewHost is using placement destruction / new to simulate a fresh
2859 WebViewHost object at the same address. This is because the WebView remains
2860 open across tests and maintains a pointer to the WebViewHost.
2861 This change resets member variables explictly instead of the placement new dance.
2863 * DumpRenderTree/chromium/WebViewHost.cpp:
2864 (WebViewHost::WebViewHost):
2865 (WebViewHost::reset):
2867 2010-11-08 Dirk Pranke <dpranke@chromium.org>
2869 Reviewed by Eric Seidel.
2871 Fix the webkit_base_dir logic in webkitpy/layout_tests/port/config.py.
2872 It turns out that NRWT can't use the code in scm.find_checkout_root()
2873 because the Chromium bots don't do full checkouts of the WebKit
2874 tree; they only check out subdirectories like WebKitTools/Scripts.
2875 Until we can figure out a better approach for this, I've
2876 restored the base_dir-detecting code from NRWT, which works in
2877 any directory tree, scm or no.
2879 This also restores the files modified in r71475 and r71474.
2881 https://bugs.webkit.org/show_bug.cgi?id=49151
2883 * WebKitTools/Scripts/webkitpy/layout_tests/port/config.py
2884 * WebKitTools/Scripts/webkitpy/layout_tests/port/config_unittest.py
2886 2010-11-08 Eric Seidel <eric@webkit.org>
2888 Reviewed by Adam Barth.
2890 webkit-patch failure-reason explodes if a build is missing
2891 https://bugs.webkit.org/show_bug.cgi?id=49195
2893 This is likely a recent regression. Adding a unit test for this case.
2895 * Scripts/webkitpy/common/net/buildbot.py:
2896 * Scripts/webkitpy/common/net/buildbot_unittest.py:
2898 2010-11-08 Dan Bernstein <mitz@apple.com>
2900 Reviewed by Darin Adler.
2902 Ignore the system scrollbar setting.
2904 * DumpRenderTree/mac/DumpRenderTree.mm:
2905 (resetDefaultsToConsistentValues): Set the scrollbar default.
2907 2010-11-05 Adam Roben <aroben@apple.com>
2909 Make webkitpy.common.system.executive_unittest pass when running under
2912 Fixes <http://webkit.org/b/49033>.
2914 Reviewed by Dave Levin and Eric Seidel.
2916 * Scripts/webkitpy/common/system/executive.py:
2917 (Executive._run_command_with_teed_output): Pass the arguments through
2918 encode_argument_if_needed rather than using Cygwin-specific code here.
2919 (Executive.run_and_throw_if_fail): Use child_process_encoding to decode
2921 (Executive.run_command): Use encode_argument_if_needed to encode the
2922 arguments and child_process_encoding to decode the output.
2923 (Executive._child_process_encoding): Returns the encoding that should be
2924 used when communicating with child processes. On Windows we use mbcs,
2925 which maps to the current code page. On all other platforms we use
2927 (Executive._should_encode_child_process_arguments): Returns True if
2928 arguments to child processes need to be encoded. This is currently
2929 only needed on Cygwin and Win32 Python 2.x.
2930 (Executive._encode_argument_if_needed): Encode the argument using
2931 child_process_encoding if we need to encode arguments to child
2932 processes on this platform.
2934 * Scripts/webkitpy/common/system/executive_unittest.py:
2935 (never_ending_command): Added. Returns arguments to run a command that
2936 will not quit until we kill it. On Windows we use wmic, on other
2937 platforms we use yes.
2938 (ExecutiveTest.test_run_command_with_unicode): Changed to expect the
2939 mbcs encoding to be used and for output from the child processes to
2940 have been roundtripped through encode/decode on Win32 Python. When
2941 UTF-8 is the encoding the roundtripping is undetectable, but with mbcs
2942 it's possible that some characters will not be able to be converted
2943 and will be replaced by question marks; the round-tripping allows us
2944 to expect this result.
2946 (ExecutiveTest.test_kill_process):
2947 (ExecutiveTest.test_kill_all):
2948 Use never_ending_command instead of invoking "yes" directly. Expect an
2949 exit code of 1 when using Win32 Python, as that's what seems to happen.
2951 2010-11-08 Adam Roben <aroben@apple.com>
2955 It broke the build for Cygwin 1.7 installs. Cygwin 1.7's default
2956 .bashrc unsets %TEMP%, which broke copy-tools.cmd.
2958 * Scripts/webkitdirs.pm:
2960 2010-11-08 Tony Chang <tony@chromium.org>
2962 Reviewed by Adam Barth.
2964 run platform/chromium/plugins/nested-plugin-objects.html on all platforms
2965 https://bugs.webkit.org/show_bug.cgi?id=49094
2967 This tests that objects created by plugins are proplery cleaned up.
2969 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
2970 (testPassTestObject):
2972 * DumpRenderTree/TestNetscapePlugIn/TestObject.cpp:
2978 2010-11-08 Adam Roben <aroben@apple.com>
2980 Mark Windows builds triggered from Perl as being non-interactive
2982 This affects whether some of our scripts will show alerts vs. printing
2985 Fixes <http://webkit.org/b/49181> Windows build fail mysteriously when
2986 .vsprops files are updated
2988 Reviewed by Steve Falkenburg.
2990 * Scripts/webkitdirs.pm:
2991 (buildVisualStudioProject): Set WEBKIT_NONINTERACTIVE_BUILD to 1.
2993 2010-11-08 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
2995 Reviewed by Ojan Vafai.
2997 Make http locking default in NRWT.
2998 https://bugs.webkit.org/show_bug.cgi?id=48053
3000 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
3001 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3003 2010-11-08 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
3005 Reviewed by Csaba Osztrogonác.
3007 [NRWT] If the http lock fails we shouldn't do any locking
3008 https://bugs.webkit.org/show_bug.cgi?id=49164
3010 If something goes wrong with the locking, the test should keep going.
3012 * Scripts/webkitpy/layout_tests/port/http_lock.py:
3014 2010-11-08 Adam Roben <aroben@apple.com>
3016 Switch back to using kCGImageAlphaPremultipliedFirst when generating
3017 pixel dumps on Windows
3019 I changed this behavior in r71418 thinking that it was required for
3020 getting plugins to show up in pixel dumps. But it doesn't seem to be
3021 necessary, and was making it impossible to compare new Windows pixel
3022 dumps with existing Windows or Mac pixel dumps (because ImageDiff won't
3023 compare an image with alpha to an image without alpha).
3025 Fixes <http://webkit.org/b/49172> REGRESION (r71418): Can't compare
3026 new Windows pixel results to existing Windows or Mac results
3028 Reviewed by Antti Koivisto.
3030 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
3031 (createBitmapContextFromWebView): Replaced kCGImageAlphaNoneSkipFirst
3032 with kCGImageAlphaPremultipliedFirst.
3034 2010-11-08 Csaba Osztrogonac <ossy@webkit.org>
3036 Unreviewed, rolling out r71466.
3037 http://trac.webkit.org/changeset/71466
3038 https://bugs.webkit.org/show_bug.cgi?id=48865
3040 It broke layout tests on GTK bots.
3042 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3045 2010-11-08 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
3047 Reviewed by Csaba Osztrogonác.
3049 Enable running of Qt API tests on BuildBot
3050 https://bugs.webkit.org/show_bug.cgi?id=49004
3052 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3054 2010-11-08 Eric Seidel <eric@webkit.org>
3056 Reviewed by Adam Barth.
3058 Add clean-review-queue command to remove closed bugs from the webkit.org/pending-review
3059 https://bugs.webkit.org/show_bug.cgi?id=49160
3061 Bugzilla doesn't automatically remove r? when a bug gets closed.
3062 This script takes care of that for webkit.org.
3064 * Scripts/webkitpy/common/net/bugzilla.py:
3065 * Scripts/webkitpy/tool/commands/upload.py:
3067 2010-11-07 Fumitoshi Ukai <ukai@chromium.org>
3069 Unreviewed, rolling out r71474.
3070 http://trac.webkit.org/changeset/71474
3071 https://bugs.webkit.org/show_bug.cgi?id=48280
3073 breaks chromium webkit tests
3074 https://bugs.webkit.org/show_bug.cgi?id=49151
3076 * Scripts/webkitpy/layout_tests/port/base.py:
3077 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
3078 * Scripts/webkitpy/layout_tests/port/config.py:
3079 * Scripts/webkitpy/layout_tests/port/config_unittest.py:
3080 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
3081 * Scripts/webkitpy/layout_tests/port/webkit.py:
3082 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3083 * Scripts/webkitpy/tool/mocktool.py:
3085 2010-11-07 Fumitoshi Ukai <ukai@chromium.org>
3087 Unreviewed, rolling out r71475.
3088 http://trac.webkit.org/changeset/71475
3090 breaks chromium webkit tests
3091 https://bugs.webkit.org/show_bug.cgi?id=49151
3093 * Scripts/webkitpy/common/newstringio.py: Removed.
3094 * Scripts/webkitpy/common/newstringio_unittest.py: Removed.
3095 * Scripts/webkitpy/common/system/executive_mock.py: Removed.
3096 * Scripts/webkitpy/common/system/filesystem_mock.py: Removed.
3097 * Scripts/webkitpy/layout_tests/port/config_mock.py: Removed.
3099 2010-11-06 Dirk Pranke <dpranke@chromium.org>
3101 Unreviewed, build fix.
3103 Add files inexplicably not committed in r71474 as part of the
3106 * Scripts/webkitpy/common/newstringio.py: Added.
3107 * Scripts/webkitpy/common/newstringio_unittest.py: Added.
3108 * Scripts/webkitpy/common/system/executive_mock.py: Added.
3109 * Scripts/webkitpy/common/system/filesystem_mock.py: Added.
3110 * Scripts/webkitpy/layout_tests/port/config_mock.py: Added.
3112 2010-11-06 Dirk Pranke <dpranke@chromium.org>
3114 Reviewed by Eric Siedel.
3116 new-run-webkit-tests: update port/base and port/webkit to use the
3117 new FileSystem and Config abstractions, pulling more logic out of
3118 the base Port classes into separate, mockable objects.
3120 Also create a MockFileSystem object, a MockConfig object, move
3121 MockExecutive into common/system to be next to executive, and
3122 update the config object to use a FileSystem.
3124 https://bugs.webkit.org/show_bug.cgi?id=48280
3126 * Scripts/webkitpy/common/newstringio.py: Added.
3127 * Scripts/webkitpy/common/newstringio_unittest.py: Added.
3128 * Scripts/webkitpy/common/system/executive_mock.py: Added.
3129 * Scripts/webkitpy/common/system/filesystem_mock.py: Added.
3130 * Scripts/webkitpy/layout_tests/port/base.py:
3131 * Scripts/webkitpy/layout_tests/port/base_unittest.py:
3132 * Scripts/webkitpy/layout_tests/port/config.py:
3133 * Scripts/webkitpy/layout_tests/port/config_mock.py:
3134 * Scripts/webkitpy/layout_tests/port/config_unittest.py:
3135 * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
3136 * Scripts/webkitpy/layout_tests/port/webkit.py:
3137 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3138 * Scripts/webkitpy/tool/mocktool.py:
3140 2010-11-06 Dirk Pranke <dpranke@chromium.org>
3142 Unreviewed, build breakage.
3144 Apparently I uploaded the wrong version of the file to fix 49122
3145 and neither Eric or I noticed - it was missing a dirname() call.
3148 https://bugs.webkit.org/show_bug.cgi?id=49122
3150 * Scripts/webkitpy/common/checkout/scm.py:
3152 2010-11-06 Dirk Pranke <dpranke@chromium.org>
3154 Reviewed by Eric Seidel.
3156 webkitpy/tool/* unittests change cwd and don't clean up properly
3158 https://bugs.webkit.org/show_bug.cgi?id=49122
3160 * Scripts/webkitpy/common/checkout/scm.py:
3162 2010-11-05 Chris Marrin <cmarrin@apple.com>
3164 Reviewed by Simon Fraser.
3166 suspendAnimations/resumeAnimations not present in WebKit2
3167 https://bugs.webkit.org/show_bug.cgi?id=49109
3169 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
3170 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
3171 (WTR::LayoutTestController::suspendAnimations):
3172 (WTR::LayoutTestController::resumeAnimations):
3173 * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
3175 2010-11-05 Tony Chang <tony@chromium.org>
3177 Reviewed by David Levin.
3179 cleanup style in TestNetscapePlugIn/PluginObject.cpp
3180 https://bugs.webkit.org/show_bug.cgi?id=49044
3182 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
3184 (pluginGetProperty):
3185 (pluginSetProperty):
3186 (variantToIdentifier):
3190 (testInvokeDefault):
3197 * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
3199 2010-11-05 Eric Seidel <eric@webkit.org>
3201 Reviewed by David Levin.
3203 Add QueueStatusServer/__init__.py so others can run the QueueStatusServer tests
3204 https://bugs.webkit.org/show_bug.cgi?id=49032
3206 I wrote this file as part of bug 47847, but I forgot to commit it.
3207 No one else noticed it missing because test-webkitpy knows how
3208 to recover in the case where it can't import QueueStatusServer
3209 (which generally occurs due to not having installed the AppEngine SDK).
3211 * QueueStatusServer/__init__.py: Added.
3212 * QueueStatusServer/model/workitems_unittest.py:
3213 - Remove a test which fails. This was probably landed (by me)
3214 from my other machine, which since this __init__.py was missing
3215 I never noticed the failure and landed this invalid test.
3216 Sadly we can't really test remove_work_item as it depends
3217 on .key() working. .key() will throw unless the object
3218 has already been saved it seems.
3219 This may be a mis-design in our remove_work_item implementation,
3220 but for now, just removing the test.
3222 2010-11-04 Adam Roben <aroben@apple.com>
3224 Teach check-webkit-style about TestNetscapePlugIn
3226 Fixes <http://webkit.org/b/49030> check-webkit-style is ignorant of
3227 TestNetscapePlugIn's coding conventions
3229 Reviewed by John Sullivan.
3231 * Scripts/webkitpy/style/checker.py: Lump TestNetscapePlugIn in with
3232 WebKitAPITest and TestWebKitAPI in having different include order and
3233 naming conventions than WebCore. Added some comments about why the
3236 2010-11-04 Adam Roben <aroben@apple.com>
3238 Add a test that shows that windowed plugins are able to paint
3240 Somehow we never had a test for this before.
3242 Fixes <http://webkit.org/b/49029> Should add a test that shows
3243 windowed plugins can paint
3245 Reviewed by Jon Honeycutt.
3247 * DumpRenderTree/TestNetscapePlugIn/Tests/win/DrawsGradient.cpp: Added.
3248 (DrawsGradient::DrawsGradient):
3249 (DrawsGradient::wndProc): We handle the WM_PAINT and WM_PRINTCLIENT messages.
3251 (DrawsGradient::onPaint):
3252 (DrawsGradient::onPrintClient):
3253 These both just call through to paint.
3255 (DrawsGradient::paint): Fills our client area with some gradients.
3257 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Link
3258 against Msimg32.lib for ::GradientFill and added DrawsGradient.
3260 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
3261 (createBitmapContextFromWebView): Use WM_PRINT instead of
3262 WM_PRINTCLIENT so that ::DefWindowProc will send
3263 WM_PRINT/WM_PRINTCLIENT messages to the WebView's child windows.
3264 Replaced kCGImageAlphaPremultipledFirst with kCGImageAlphaNoneSkipFirst
3265 because GDI doesn't support alpha and kCGImageBitmapOrder32Little with
3266 kCGImageBitmapOrder32Host because, who knows, maybe someday Windows
3267 will run on a big-endian platform.
3269 2010-11-04 Adam Roben <aroben@apple.com>
3271 Extract much of NPNInvalidateRectInvalidatesWindow's code into a
3272 WindowedPluginTest base class
3274 The base class takes care of subclassing the plugin's window so that a
3275 custom WNDPROC is called. This will make it easier to write tests that
3276 need to handle window messages.
3278 Fixes <http://webkit.org/b/49028> It's hard to write a PluginTest with
3281 Reviewed by Jon Honeycutt.
3283 * DumpRenderTree/TestNetscapePlugIn/Tests/win/NPNInvalidateRectInvalidatesWindow.cpp:
3284 (NPNInvalidateRectInvalidatesWindow::NPNInvalidateRectInvalidatesWindow):
3285 (NPNInvalidateRectInvalidatesWindow::NPP_SetWindow):
3286 (NPNInvalidateRectInvalidatesWindow::wndProc):
3287 (NPNInvalidateRectInvalidatesWindow::testInvalidateRect):
3288 Moved code from here to WindowedPluginTest. Changed to use window()
3289 instead of m_window.
3291 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
3292 Added WindowedPluginTest and added TestNetscapePlugIn/win to the
3293 include path. Also reordered the include path to make a little more
3294 sense and simplified the entry that added TestNetscapePlugIn itself to
3297 * DumpRenderTree/TestNetscapePlugIn/win/WindowedPluginTest.cpp: Added.
3298 (WindowedPluginTest::WindowedPluginTest):
3299 (WindowedPluginTest::NPP_SetWindow):
3300 (WindowedPluginTest::staticWndProc):
3301 * DumpRenderTree/TestNetscapePlugIn/win/WindowedPluginTest.h: Added.
3302 (WindowedPluginTest::window):
3303 Code came from NPNInvalidateRectInvalidatesWindow.
3305 2010-11-04 Adam Roben <aroben@apple.com>
3307 Add a plugin test to show that windowed plugins are clipped correctly
3309 Fixes <http://webkit.org/b/49024> <rdar://problem/8487847> Windowed
3310 plugins aren't clipped in WebKit2 on Windows
3312 Reviewed by Jon Honeycutt.
3314 * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowRegionIsSetToClipRect.cpp: Added.
3315 (WindowRegionIsSetToClipRect::WindowRegionIsSetToClipRect): Initialize members.
3316 (WindowRegionIsSetToClipRect::NPP_SetWindow): Check that our window
3317 region matches the clip rect we know we should have based on
3318 window-region-is-set-to-clip-rect.html, and check that our window class
3319 doesn't have the CS_PARENTDC style.
3321 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
3322 Added WindowRegionIsSetToClipRect.
3324 2010-11-05 Alejandro G. Castro <alex@igalia.com>
3326 Reviewed by Martin Robinson.
3328 [GTK] Avoid font hinting in the DRT
3329 https://bugs.webkit.org/show_bug.cgi?id=48548
3331 Change the settings to avoid font hinting, it was causing
3332 different results depending on the distribution.
3334 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3335 (initializeGtkFontSettings):
3336 * DumpRenderTree/gtk/fonts/fonts.conf:
3338 2010-11-05 Eric Seidel <eric@webkit.org>
3340 Reviewed by Adam Barth.
3342 build-webkit spams system.log by repeatedly checking for PBXProductDirectory in com.apple.Xcode
3343 https://bugs.webkit.org/show_bug.cgi?id=49051
3345 This is a speculative fix. The unit tests cover these methods, however
3346 I don't know if this will fully stop the system.log spam.
3348 * Scripts/webkitpy/layout_tests/port/base.py:
3349 * Scripts/webkitpy/layout_tests/port/webkit.py:
3351 2010-11-05 Eric Seidel <eric@webkit.org>
3353 Reviewed by Adam Barth.
3355 Add basic support for showing bot id on /queue-status/ pages
3356 https://bugs.webkit.org/show_bug.cgi?id=49037
3358 This support is really simple. Eventually we'll want to
3359 show the bot id in the lock table too, but we don't have
3360 that information stored in the server yet.
3362 * QueueStatusServer/handlers/queuestatus.py:
3363 * QueueStatusServer/handlers/queuestatus_unittest.py: Added.
3364 * QueueStatusServer/templates/includes/singlequeuestatus.html:
3366 2010-11-04 Dirk Pranke <dpranke@chromium.org>
3368 Reviewed by Adam Barth.
3370 Create a filesystem wrapper that we can use to enforce
3371 particular conventions and use for mocking and dependency
3372 injection down the line.
3374 https://bugs.webkit.org/show_bug.cgi?id=48144
3376 * Scripts/webkitpy/common/system/filesystem.py: Added.
3377 * Scripts/webkitpy/common/system/filesystem_unittest.py: Added.
3379 2010-11-04 Mihai Parparita <mihaip@chromium.org>
3381 Reviewed by Tony Chang.
3383 run_webkit_tests_unittest fails under Python 2.5
3384 https://bugs.webkit.org/show_bug.cgi?id=49043
3386 Switch from itertools.chain.from_iterable (which was added in 2.6)
3387 to using itertools.chain directly.
3389 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3391 2010-11-04 Mihai Parparita <mihaip@chromium.org>
3393 Unreviewed fix to webkit-patch rebaseline-server so that it runs under
3394 Python 2.5 (it needs an import to use the with statement).
3396 * Scripts/webkitpy/tool/commands/rebaselineserver.py:
3398 2010-11-04 Dirk Pranke <dpranke@chromium.org>
3400 Reviewed by Adam Barth.
3402 new-run-webkit-tests: split out webkit-specific configuration stuff into a new module
3404 The current NRWT code has webkit-specific configuration code (like
3405 _script_path, default configuration, etc.) mixed in with
3406 layout-test-specific stuff in port/base. The configuration code
3407 should be split out into a separate module for easier mocking,
3408 testing, and isolation.
3410 https://bugs.webkit.org/show_bug.cgi?id=48264
3412 * Scripts/webkitpy/layout_tests/port/config.py: Added.
3413 * Scripts/webkitpy/layout_tests/port/config_unittest.py: Added.
3415 2010-11-04 Mihai Parparita <mihaip@chromium.org>
3417 Reviewed by Tony Chang.
3419 Rebaseline server: initial framework
3420 https://bugs.webkit.org/show_bug.cgi?id=48892
3422 Adds the basic framework for the rebaseline server (details at
3423 http://webkit.org/b/47761). Includes the rebaseline-server webkit-patch
3424 command, which starts an HTTP server that can serve static files or
3425 invoke handler methods on a class.
3427 * Scripts/webkitpy/tool/commands/__init__.py:
3428 * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html: Added.
3429 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css: Added.
3430 * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js: Added.
3431 * Scripts/webkitpy/tool/commands/rebaselineserver.py: Added.
3433 2010-11-04 Dirk Pranke <dpranke@chromium.org>
3435 Reviewed by James Robinson.
3437 new-run-webkit-tests wasn't using DRT by default for
3438 --platform chromium-gpu
3440 The default value was set to False instead of None, which meant
3441 that the platform specific logic wasn't firing to change the
3442 value to True (b/c we were afraid we'd be overriding the user
3445 https://bugs.webkit.org/show_bug.cgi?id=49038
3447 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3449 2010-11-04 Tony Chang <tony@chromium.org>
3451 Reviewed by Adam Barth.
3453 make platform/chromium/plugins/multiple-plugins.html pass on all platforms
3454 https://bugs.webkit.org/show_bug.cgi?id=49026
3456 Have the testObject.bar property return the string "bar". This lets
3457 us run and pass platform/chromium/plugins/multiple-plugins.html on all
3460 * DumpRenderTree/TestNetscapePlugIn/TestObject.cpp:
3463 2010-11-04 Mihai Parparita <mihaip@chromium.org>
3465 Reviewed by Tony Chang.
3467 NRWT doesn't have good test coverage for --run-chunk, --batch-size, --run-part, etc.
3468 https://bugs.webkit.org/show_bug.cgi?id=48878
3470 Add get_tests_run so that it's easy to see which tests get run (and with
3471 what batching) for a given flag combination. Flesh out the various
3472 test cases that have FIXMEs.
3474 Also fixes an off-by-one error (batch sizes were one larger than
3475 expected) and makes --run-part also have wraparound behavior, like
3478 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
3479 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3480 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3482 2010-11-04 Erik Arvidsson <arv@chromium.org>
3484 Reviewed by Dimitri Glazkov.
3486 Support box-sizing without the vendor prefix
3487 https://bugs.webkit.org/show_bug.cgi?id=36713
3489 Based on patch by Peter Beverloo <peter@lvp-media.com>
3491 * iExploder/htdocs/cssproperties.in: Change -webkit-box-sizing to box-sizing.
3493 2010-11-04 Csaba Osztrogonác <ossy@webkit.org>
3495 Unreviewed rollout r71340, because it broke Chromium Windows bot.
3497 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
3498 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3500 2010-11-04 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
3502 Reviewed by Ojan Vafai.
3504 Make http locking default in NRWT.
3505 https://bugs.webkit.org/show_bug.cgi?id=48053
3507 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
3508 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3510 2010-11-04 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
3512 Reviewed by Eric Seidel.
3514 [NRWT] Clear invalid http locks on Windows platform as well
3515 https://bugs.webkit.org/show_bug.cgi?id=48515
3517 * Scripts/webkitpy/common/system/executive.py:
3518 * Scripts/webkitpy/common/system/executive_unittest.py:
3519 * Scripts/webkitpy/layout_tests/port/http_lock.py:
3521 2010-11-02 Adam Roben <aroben@apple.com>
3523 Reduce our dependence on coreutils when running Python tests
3525 This patch introduces versions of the standard echo and cat utilities
3526 implemented in Python. They are probably missing features of their
3527 coreutils equivalents, but they can do what's necessary for our Python
3528 tests. This is useful on Windows, where these utilities typically
3531 Fixes <http://webkit.org/b/48883> executive_unittest relies on echo
3532 and cat utilities from coreutils, which are not present on Windows
3534 Reviewed by Eric Seidel.
3536 * Scripts/webkitpy/common/system/executive_unittest.py: Changed to use
3537 our Python-based echo and cat.
3539 * Scripts/webkitpy/common/system/fileutils.py: Added.
3540 (make_stdout_binary): On Windows, puts sys.stdout into binary mode so
3541 that \n won't be translated into \r\n. I couldn't think of a good way
3542 to test this directly without touching the filesystem, but it is tested
3543 indirectly by echo_unittest.
3545 * Scripts/webkitpy/test/cat.py: Added.
3546 (command_arguments): Returns a list for invoking cat with the given arguments.
3547 (main): Acts like a simplified version of the coreutils cat utility.
3549 * Scripts/webkitpy/test/cat_unittest.py: Added.
3550 (CatTest.assert_cat): Runs cat with the given input and ensures the
3551 output matches the input.
3552 (CatTest.test_basic): Performs a simple test of cat.
3553 (CatTest.test_no_newline): Tests what happens when the input string
3554 doesn't have a trailing newline.
3555 (CatTest.test_unicode): Tests passing a unicode string to cat.
3556 (CatTest.test_as_command): Tests running cat as a separate command.
3558 * Scripts/webkitpy/test/echo.py: Added.
3559 (command_arguments): Returns a list for invoking echo with the given arguments.
3560 (main): Acts like a simplified version of the coreutils echo utility.
3562 * Scripts/webkitpy/test/echo_unittest.py: Added.
3563 (EchoTest.test_basic): Performs a simple test of echo.
3564 (EchoTest.test_no_newline): Tests passing -n to echo to suppress the
3566 (EchoTest.test_unicode): Tests passing unicode and non-unicode strings
3568 (EchoTest.test_argument_order): Tests what happens when -n is not the
3570 (EchoTest.test_empty_arguments): Tests what happens when you pass [] to
3572 (EchoTest.test_no_arguments): Tests what happens when you call
3573 echo.main with no arguments.
3574 (EchoTest.test_as_command): Tests running echo as a separate command.
3576 2010-11-04 Renata Hodovan <reni@inf.u-szeged.hu>
3578 Unreviewed: Add myself to the list of Committers.
3580 * Scripts/webkitpy/common/config/committers.py:
3582 2010-11-04 Andreas Kling <kling@webkit.org>
3584 Reviewed by Kenneth Rohde Christiansen.
3586 [Qt] Hook into QWebPage::scrollRequested for resizes-to-contents mode
3588 In RTC mode the QGraphicsWebView item is the size of the contents,
3589 scrolling works a bit differently (we need to react to scrollRequested.)
3591 Normally QGraphicsView will replay the last mouse event when scrolling,
3592 so to prevent WebKit from getting confused by this we temporarily make
3593 the QGraphicsView non-interactive.
3595 * QtTestBrowser/webview.cpp:
3596 (WebViewGraphicsBased::setPage):
3597 (WebViewGraphicsBased::scrollRequested):
3598 * QtTestBrowser/webview.h:
3600 2010-11-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3602 Reviewed by Andreas Kling.
3604 Use OS(MAC_OS_X) rather than PLATFORM(MAC) in TestControllerQt
3606 PLATFORM(MAC) is not defined for the Qt port, as it refers to
3607 the Mac-port, not the Mac OS X operating system.
3609 * WebKitTestRunner/qt/TestControllerQt.cpp:
3610 (WTR::isExistingLibrary):
3612 2010-11-04 Leonid Ebril <leonid.ebril@nokia.com>
3614 Reviewed by Andreas Kling.
3616 [Qt] Adding iphone user agent string the user agent list for QtTestBrowser
3617 https://bugs.webkit.org/show_bug.cgi?id=48869
3619 * QtTestBrowser/useragentlist.txt:
3621 2010-11-03 Adam Roben <aroben@apple.com>
3623 Always use uppercase drive names in strings returned by abspath_to_uri
3625 Some versions of cygpath use lowercase drive letters while others use
3626 uppercase, which makes it hard to test the output of code that uses
3629 Fixes <http://webkit.org/b/48914> webkitpy.common.system.path_unittest
3630 fails with Cygwin 1.5
3632 Reviewed by Eric Seidel.
3634 * Scripts/webkitpy/common/system/path.py:
3635 (cygpath): Updated the docstring to indicate that only absolute paths
3636 should be passed for now (though relative paths will work fine).
3637 (_Cygpath.convert): Upper-case the first letter of the converted Windows path.
3639 2010-11-03 George Guo <George.Guo@Nokia.com>
3641 Reviewed by Andreas Kling.
3643 [Qt] QtTestBrowser : set mmp rule pageddata in Symbian
3644 https://bugs.webkit.org/show_bug.cgi?id=48767
3646 Paging is needd on Symbian devices to support benchmarks tests like
3647 dromaeo.com and Celtic Kane that need a lot of memory to run
3649 * QtTestBrowser/QtTestBrowser.pro:
3651 2010-11-03 Jenn Braithwaite <jennb@chromium.org>
3653 Reviewed by Dmitry Titov.
3655 Chromium: Update resource tracking when moving a frame between documents
3656 https://bugs.webkit.org/show_bug.cgi?id=48363
3658 * DumpRenderTree/chromium/WebViewHost.cpp:
3659 (WebViewHost::assignIdentifierToRequest):
3660 Always put resource id in map so we can make assumptions about its
3662 (WebViewHost::removeIdentifierForRequest):
3664 (WebViewHost::didFinishResourceLoad):
3665 (WebViewHost::didFailResourceLoad):
3666 Check existence of resource id before removing from map.
3667 * DumpRenderTree/chromium/WebViewHost.h:
3669 2010-11-03 Victor Wang <victorw@chromium.org>
3671 Reviewed by Adam Barth.
3673 [Chromium] update buildbot names in chromium rebaseline tool.
3675 https://bugs.webkit.org/show_bug.cgi?id=48881
3677 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
3679 2010-11-03 Darin Adler <darin@apple.com>
3681 Updated Xcode projects by opening them with Xcode 3.2.4.
3682 Updated svn:ignore for Xcode projects.
3684 * MiniBrowser/MiniBrowser.xcodeproj: Added property svn:ignore.
3685 * TestWebKitAPI/TestWebKitAPI.xcodeproj: Added property svn:ignore.
3686 * WebKitLauncher/WebKitLauncher.xcodeproj: Modified property svn:ignore.
3687 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Updated with Xcode 3.2.4.
3689 2010-11-03 Adam Roben <aroben@apple.com>
3691 Stop waiting for messages from the web process after a timeout elapses
3693 TestController::runUntil now takes a timeout parameter that specifies
3694 how long to wait for the condition to become true. WebKitTestRunner
3695 takes a --timeout flag that specifies how long the timeout should be.
3696 run-webkit-tests passes this flag to WebKitTestRunner so its timeout
3697 will be similar to run-webkit-tests.
3699 Fixes <http://webkit.org/b/43047> <rdar://problem/8365833>
3700 WebKitTestRunner waits forever if the web process crashes
3702 Reviewed by Darin Adler and Anders Carlsson.
3704 * Scripts/old-run-webkit-tests:
3705 (top level): Moved the GuardMalloc timeout adjustment here from
3706 readFromDumpToolWithTimer.
3707 (openDumpTool): Make WTR use a timeout similar to but slightly shorter
3708 than the one that was specified on the command line.
3710 * WebKitTestRunner/TestController.cpp:
3711 (WTR::TestController::TestController): Initialize our timeout values.
3712 (WTR::TestController::initialize): Parse the --timeout flag and use it
3713 to modify our timeout values.
3714 (WTR::TestController::resetStateToConsistentValues): Changed to use a
3715 short timeout while waiting for the web process to reset and to return
3716 a boolean indicating whether we were able to reset the web process.
3717 Uses a 5-second timeout while waiting for the process to be reset.
3718 (WTR::TestController::runTest): Changed to return a boolean indicating
3719 whether we were able to reset the web process (and thus run the test).
3720 (WTR::TestController::runUntil): Call through to platformRunUntil.
3722 (WTR::TestController::runTestingServerLoop):
3723 (WTR::TestController::run):
3724 Changed to bail if any test can't be run. This will cause the process
3725 to exit. (Unfortunately this will make run-webkit-tests think we
3726 crashed; see <http://webkit.org/b/48943>.)
3728 * WebKitTestRunner/TestController.h: Added platformRunUntil,
3729 m_longTimeout, and m_shortTimeout.
3731 * WebKitTestRunner/TestInvocation.cpp:
3732 (WTR::TestInvocation::invoke): Use a short timeout when waiting for the
3733 initial response and a long timeout when waiting for the test to
3734 complete. Check whether runUntil timed out and print an error message
3737 * WebKitTestRunner/mac/TestControllerMac.mm:
3738 (WTR::TestController::platformRunUntil): Renamed from runUntil. Pass
3739 [NSDate distantPast] to -[NSRunLoop runMode:beforeDate:] so that we
3740 won't block waiting for the run loop. Only loop until the timeout
3743 * WebKitTestRunner/qt/TestControllerQt.cpp:
3744 (WTR::TestController::platformRunUntil): Renamed from runUntil. Added a
3745 FIXME about honoring the timeout.
3747 * WebKitTestRunner/win/TestControllerWin.cpp:
3748 (WTR::TestController::platformRunUntil): Renamed from runUntil. Use
3749 ::MsgWaitForMultipleObjectsEx to implement the timeout. Changed to use
3750 ::PeekMessageW so that we don't block waiting for messages to become
3753 2010-11-03 Adam Roben <aroben@apple.com>
3755 Add a plugin test that evaluates JS after removing the plugin element
3758 This test replaces platform/win/plugins/plugin-delayed-destroy.html.
3759 That test was made to prevent a crash very similar to this one, but
3760 unfortunately tested only the mechanism that prevented the crash and
3761 not whether the crash itself was prevented. Since WebKit2 uses a
3762 different mechanism to prevent the crash, the test was failing even
3763 though WebKit2 was not vulnerable to the crash. This new test crashes
3764 if there is no mechanism in place to prevent it and passes in both
3765 WebKit1 and WebKit2.
3767 Fixes <http://webkit.org/b/46711> <rdar://problem/8485903>
3768 platform/win/plugins/plugin-delayed-destroy.html fails in WebKit2
3770 Reviewed by Anders Carlsson.
3772 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3773 * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
3774 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
3778 * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
3779 (pluginDeallocate): Make sure we delete the PluginTest object. This
3780 prevents a leak and also allows us to test the crash.
3782 * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
3783 (PluginTest::executeScript): Made this into a non-static member
3786 (PluginTest::waitUntilDone):
3787 (PluginTest::notifyDone):
3788 Updated for changes to executeScript.
3790 * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added executeScript.
3792 * DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp: Added.
3793 (EvaluateJSAfterRemovingPluginElement::EvaluateJSAfterRemovingPluginElement):
3794 Initialize ourselves and tell the test harness to wait.
3795 (EvaluateJSAfterRemovingPluginElement::NPP_DestroyStream): Remove our
3796 plugin element from the document, then execute some JavaScript. If
3797 WebKit does not have appropriate mechanisms in place, we'll be
3798 destroyed inside the first call to executeScript and crash on the
3801 2010-11-02 Stephen White <senorblanco@chromium.org>
3803 Reviewed by Tony Chang.
3805 [chromium] Fix LayoutTestController UMRs.
3806 https://bugs.webkit.org/show_bug.cgi?id=48872
3808 * DumpRenderTree/chromium/LayoutTestController.cpp:
3809 (LayoutTestController::LayoutTestController):
3811 2010-11-03 Kent Tamura <tkent@chromium.org>
3813 Reviewed by Dimitri Glazkov.
3815 REGRESSION: rebaseline-chromium-webkit-tests uses non-zero tolerance for
3817 https://bugs.webkit.org/show_bug.cgi?id=48744
3819 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
3820 - Make a function for option parsing for ease of test
3821 - Set 0 to options.tolerance
3822 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
3823 - Add a test for this change
3825 2010-11-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3827 Unreviewed: Add myself to the list of Committers.
3829 * Scripts/webkitpy/common/config/committers.py:
3831 2010-11-02 Anders Carlsson <andersca@apple.com>
3835 * TestWebKitAPI/PlatformUtilities.cpp:
3836 (TestWebKitAPI::Util::createContextForInjectedBundleTest):
3838 2010-11-02 Sam Weinig <sam@webkit.org>
3840 Reviewed by Anders Carlsson.
3842 Add a way to send startup messages on the context which can be posted when a process launches
3843 <rdar://problem/8617928>
3844 https://bugs.webkit.org/show_bug.cgi?id=48838
3846 * MiniBrowser/mac/WebBundle/WebBundleMain.m:
3847 (WKBundleInitialize):
3848 * TestWebKitAPI/InjectedBundleController.cpp:
3849 (TestWebKitAPI::InjectedBundleController::initialize):
3850 (TestWebKitAPI::InjectedBundleController::didReceiveMessage):
3851 * TestWebKitAPI/InjectedBundleController.h:
3852 * TestWebKitAPI/InjectedBundleMain.cpp:
3853 (WKBundleInitialize):
3854 * TestWebKitAPI/PlatformUtilities.cpp:
3855 (TestWebKitAPI::Util::createContextForInjectedBundleTest):
3856 * WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp:
3857 (WKBundleInitialize):
3858 Update implementations of WKBundleInitialize to take an initial userData
3859 argument. Change TestWebKitAPI to use the new initial userData to initialize
3862 2010-11-02 Benjamin Kalman <kalman@google.com>
3864 Reviewed by Ojan Vafai.
3866 new-run-webkit-tests doesn't strip "LayoutTests/" from prefix, unlike old-run-webkit-tests
3867 https://bugs.webkit.org/show_bug.cgi?id=48794
3869 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Strip the "LayoutTests/" prefix from test argument paths.
3871 2010-11-02 Adam Roben <aroben@apple.com>
3873 Skip webkitpy.layout_tests.run_webkit_tests_unittest.MainTest on Cygwin
3876 It is known to hang on that version of Python. See
3877 <http://webkit.org/b/48614>.
3879 Reviewed by Adam Barth.
3881 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: Use
3882 skip_if to skip MainTest on Cygwin Python 2.5.x.
3884 * Scripts/webkitpy/test/skip.py: Added.
3885 (skip_if): If the passed-in condition is false, find all the test_*
3886 methods of the given class and replace them with a function that just
3887 logs that we're skipping these tests. This is loosely based on the
3888 unittest.skip_if decorator added in Python 3.1.
3889 (_skipped_method): Returns a function that just logs that the tests are
3890 being skipped. This is used in place of the actual test_* functions.
3892 * Scripts/webkitpy/test/skip_unittest.py: Added.
3893 (SkipTest.setUp): Create a logger for ourselves and give it a handler
3894 that logs to a private stream.
3895 (SkipTest.tearDown): Reset the logger.
3896 (SkipTest.create_fixture_class): Returns a class that we use to test
3897 skip_if. It has a single test_* method, test_foo, that just calls
3898 through to a callback.
3899 (SkipTest.foo_callback): Record that test_foo was called.
3900 (SkipTest.test_skip_if_false): Pass skip_if a False condition and test
3901 that test_foo does get called.
3902 (SkipTest.test_skip_if_true): Pass skip_if a True condition and test
3903 that test_foo does not get called and the appropriate message gets
3906 2010-11-02 Adam Barth <abarth@webkit.org>
3908 Reviewed by Eric Seidel.
3910 webkit-patch should tell check-webkit-style which files were changed so
3911 check-webkit-style doesn't have to stat the whole working copy again
3912 https://bugs.webkit.org/show_bug.cgi?id=48792
3914 * Scripts/webkitpy/tool/mocktool.py:
3915 * Scripts/webkitpy/tool/steps/checkstyle.py:
3917 2010-11-02 Robert Kroeger <rjkroege@chromium.org>
3919 Reviewed by James Robinson.
3921 [Chromium/DRT] Make EventSendingController honour leapForward for touch events.
3922 https://bugs.webkit.org/show_bug.cgi?id=48777
3924 * DumpRenderTree/chromium/EventSender.cpp:
3925 (EventSender::sendCurrentTouchEvent):
3927 2010-11-02 Adam Roben <aroben@apple.com>
3929 Only track resource identifiers in DRT when dumpResourceLoadCallbacks
3932 This reverts Windows to our pre-r71097 behavior. That patch made us
3933 track all resource identifiers, including the main resource, so the
3934 main resource's URL started appearing in test output instead of
3935 "<unknown>". Arguably having the main resource's URL is better, but all
3936 other platforms print "<unknown>" and we want to match.
3938 Fixes <http://webkit.org/b/48837> <rdar://problem/8620351> REGRESSION
3939 (r71097): Many http tests failing on Windows
3941 Reviewed by Anders Carlsson.
3943 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3944 (ResourceLoadDelegate::identifierForInitialRequest): Don't add the
3945 identifier to the URL map if we're not supposed to dump resource load
3947 (ResourceLoadDelegate::removeIdentifierForRequest): Always remove the
3948 identifier from the URL map even if we're already "done". There's no
3949 point in keeping out-of-date identifiers around.
3951 2010-11-01 Jenn Braithwaite <jennb@chromium.org>
3953 Reviewed by Adam Roben.
3955 Windows: Update resource tracking when moving a frame between documents
3956 https://bugs.webkit.org/show_bug.cgi?id=48364
3958 * DumpRenderTree/win/DumpRenderTree.cpp:
3959 (createWebViewAndOffscreenWindow):
3961 Give each WebView its own ResourceLoadDelegate instance in order to
3962 make assertions about resource ids on a particular WebView.
3963 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3964 (ResourceLoadDelegate::identifierForInitialRequest):
3965 Always add id to the map.
3966 (ResourceLoadDelegate::removeIdentifierForRequest):
3968 (ResourceLoadDelegate::willSendRequest):
3969 (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
3970 (ResourceLoadDelegate::didReceiveResponse):
3971 (ResourceLoadDelegate::didFinishLoadingFromDataSource):
3972 (ResourceLoadDelegate::didFailLoadingWithError):
3973 (ResourceLoadDelegate::descriptionSuitableForTestResult):
3974 Replace static descriptionSuitableForTestResult with static member function to access identifier map.
3975 * DumpRenderTree/win/ResourceLoadDelegate.h:
3976 (ResourceLoadDelegate::urlMap):
3977 Moved within class so that each WebView has its own id map.
3979 2010-11-01 Ojan Vafai <ojan@chromium.org>
3981 Reviewed by Dimitri Glazkov.
3983 remove debug code from run_webkit_tests.py
3984 https://bugs.webkit.org/show_bug.cgi?id=48800
3986 Remove temporary debug code and make --master-name required
3987 if --test-results-server is set now that all clients set
3990 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3992 2010-11-01 Tony Chang <tony@chromium.org>
3994 Reviewed by Kent Tamura.
3996 add plugin event logging for linux
3997 https://bugs.webkit.org/show_bug.cgi?id=48779
3999 This is taken from Chromium's fork of the layout test plugin:
4000 http://git.chromium.org/gitweb/?p=chromium.git/.git;a=blob;f=webkit/tools/npapi_layout_test_plugin/main.cpp;h=3ebdada2f049b3624756438cff852364f86a2ede;hb=HEAD#l348
4002 * DumpRenderTree/TestNetscapePlugIn/main.cpp:
4006 2010-11-01 Dirk Pranke <dpranke@chromium.org>
4008 Reviewed by James Robinson.
4010 new-run-webkit-tests: use DRT, child-processes=1 for GPU tests by default
4011 https://bugs.webkit.org/show_bug.cgi?id=48790
4013 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
4014 * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
4016 2010-11-01 Adam Barth <abarth@webkit.org>
4018 Reviewed by Eric Seidel.
4020 Teach check-webkit-style how to accept a list of files to diff on the
4022 https://bugs.webkit.org/show_bug.cgi?id=48784
4024 In a future patch, webkit-patch will use this option to improve
4025 performance. I'm landing this in two pieces to avoid causing a version
4026 skew problem for the style-bot.
4028 * Scripts/check-webkit-style:
4029 * Scripts/webkitpy/style/optparser.py:
4030 * Scripts/webkitpy/style/optparser_unittest.py:
4031 * Scripts/webkitpy/style_references.py:
4033 2010-11-01 Anders Carlsson <andersca@apple.com>
4035 Reviewed by John Sullivan.
4037 Tear down the related WebProcessProxy when a WebContext is deallocated
4038 https://bugs.webkit.org/show_bug.cgi?id=48769
4040 * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
4041 (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
4042 We don't support empty URLs anymore, update test to expect a null URL instead.
4044 2010-11-01 Søren Gjesse <sgjesse@chromium.org>
4046 Reviewed by Andreas Kling.
4048 Fix warning when compiling the chromium port of DumpRenderShell
4050 https://bugs.webkit.org/show_bug.cgi?id=48414
4052 * DumpRenderTree/chromium/TestShell.h:
4053 (TestShell::javaScriptFlagsForLoad):
4055 2010-11-01 Adam Roben <aroben@apple.com>
4057 Fix typo from r71022
4059 * BuildSlaveSupport/build.webkit.org-config/config.json:
4061 2010-11-01 Adam Roben <aroben@apple.com>
4063 Trigger the Windows Release WebKit2 tests when a Release build
4064 finishes, not when a Debug build finishes
4066 Fixes <http://webkit.org/b/48754> Windows Release WebKit2 tests are
4067 triggered at the wrong time
4069 Reviewed by Sam Weinig.
4071 * BuildSlaveSupport/build.webkit.org-config/config.json: Fixed
4072 triggerable name and trigger.
4074 2010-11-01 Mario Sanchez Prada <msanchez@igalia.com>
4076 Unreviewed. Adding my IRC nickname to the list of committers.
4078 * Scripts/webkitpy/common/config/committers.py:
4080 2010-10-31 Robert Hogan <robert@webkit.org>
4082 Reviewed by Antonio Gomes.
4084 [Qt] [Gtk] Plug-ins having upper case in mime type are failing to load
4086 Qt and Gtk are case-sensitive when storing the declared mime-type
4087 of plugins. Since plugin mime-types are lowercased prior to searching
4088 for them in the plugin database, ensure they are loaded with the
4089 mime-type in lower case too.
4091 Change the test netscape plugin to declare its mimetype in sentence
4092 case so that the correct behaviour is enforced.
4094 https://bugs.webkit.org/show_bug.cgi?id=36815
4096 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
4097 (NP_GetMIMEDescription):
4099 2010-10-31 Robert Hogan <robert@webkit.org>
4101 Reviewed by Antonio Gomes.
4103 [Qt] Support nodesFromRect in DRT
4105 https://bugs.webkit.org/show_bug.cgi?id=48716
4107 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4108 (LayoutTestController::nodesFromRect):
4109 * DumpRenderTree/qt/LayoutTestControllerQt.h:
4111 2010-10-30 Andreas Kling <kling@webkit.org>
4113 Reviewed by Antonio Gomes.
4115 [Qt] QtTestBrowser: Switching view type moves the embedded inspector
4116 https://bugs.webkit.org/show_bug.cgi?id=48705
4118 Reinsert the embedded inspector into the splitter after changing
4119 between QWebView/QGraphicsWebView.
4121 * QtTestBrowser/launcherwindow.cpp:
4122 (LauncherWindow::init):
4123 (LauncherWindow::initializeView):
4124 * QtTestBrowser/webinspector.h:
4125 (WebInspector::WebInspector):
4127 2010-10-28 Antonio Gomes <agomes@rim.com>
4129 Reviewed by Ojan Vafai.
4131 Needs a "LinuxEditingBehavior", perhaps with a better name
4132 https://bugs.webkit.org/show_bug.cgi?id=36627
4134 Adding support to Mac's, GTK+'s, Windows' and Chromium's LayoutTestController class to test the newly introduced Unix editing behavior.
4136 * DumpRenderTree/chromium/LayoutTestController.cpp:
4137 (LayoutTestController::setEditingBehavior):
4138 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4139 (LayoutTestController::setEditingBehavior):
4140 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4141 (LayoutTestController::setEditingBehavior):
4142 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4143 (LayoutTestController::setEditingBehavior):
4145 2010-10-29 Andreas Kling <kling@webkit.org>
4147 Reviewed by Kenneth Rohde Christiansen.
4149 [Qt] QtTestBrowser: Add keyboard shortcut to toggle full screen (F11)
4150 https://bugs.webkit.org/show_bug.cgi?id=48695
4152 * QtTestBrowser/launcherwindow.cpp:
4153 (LauncherWindow::createChrome):
4155 2010-10-29 Andreas Kling <kling@webkit.org>
4157 Reviewed by Kenneth Rohde Christiansen.
4159 [Qt] QtTestBrowser: Fix uninitialized read in FpsTimer
4160 https://bugs.webkit.org/show_bug.cgi?id=48675
4162 FpsTimer::m_timer was never initialized and passed to QObject::killTimer()
4163 on startup with in -graphicsbased mode.
4165 * QtTestBrowser/fpstimer.cpp:
4166 (FpsTimer::FpsTimer):
4167 (FpsTimer::numFrames):
4169 (FpsTimer::timerEvent):
4170 * QtTestBrowser/fpstimer.h:
4172 2010-10-29 Dirk Pranke <dpranke@chromium.org>
4174 Reviewed by Tony Chang.
4176 new-run-webkit-tests: change TestResults to be serializable
4178 In preparation for changing new-run-webkit-tests from
4179 multithreaded to multiprocess, we need to make sure the data
4180 going between the threads is easily serialized over a socket.
4182 This change adds serialization/pickling for the TestResults and
4183 TestFailure objects (using cPickle).
4185 The TestFailure objects included a "has_wdiff" flag for Text
4186 results, but the flag wasn't being used, so I've removed it,
4187 simplifying the state to basically a set of enum objects with
4190 https://bugs.webkit.org/show_bug.cgi?id=48616
4192 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
4193 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
4194 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
4195 * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
4196 * Scripts/webkitpy/layout_tests/layout_package/test_results.py: Added.
4197 * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py:Added.
4198 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
4199 * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
4201 2010-10-29 Dirk Pranke <dpranke@chromium.org>
4203 Reviewed by Ojan Vafai.
4205 new-run-webkit-tests: need to provide separate dashboard results for GPU tests
4206 https://bugs.webkit.org/show_bug.cgi?id=48687
4208 Modify the steps to upload the JSON files to the dashboards so
4209 that the GPU tests don't conflict with the regular tests on a
4210 port. We do this by modifying the --builder-name parameter to
4211 append " - GPU", which should cause the app to treat the results
4212 as a completely new builder. This is a little non-obvious, but
4213 keeps us from having to restructure the app.
4215 * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
4216 * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
4217 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
4219 2010-10-29 Ojan Vafai <ojan@chromium.org>
4221 Reviewed by Tony Chang.
4223 [chromium] add debug logging to help diagnose flakiness dashboard issues
4224 https://bugs.webkit.org/show_bug.cgi?id=48657
4226 The appengine app thinks it's getting empty files uploaded. Add some logging
4227 to see if new-run-webkit-tests agrees.
4228 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
4230 2010-10-29 Dimitri Glazkov <dglazkov@chromium.org>
4232 Reviewed by Ojan Vafai.
4234 [Chromium/DRT] Add master-name flag to new-run-webkit-tests.
4235 https://bugs.webkit.org/show_bug.cgi?id=48649
4237 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added flag.
4239 2010-10-29 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
4241 Reviewed by Martin Robinson.
4243 Enable popup window in GtkLauncher
4244 https://bugs.webkit.org/show_bug.cgi?id=48335
4246 The GtkLauncher application does not support opening new window when
4247 a link with "target=_blank" is clicked or similar call to
4248 window.open(). Instead, GtkLauncher does nothing which breaks
4249 navigation of some websites.
4251 * GtkLauncher/main.c:
4252 (activate_uri_entry_cb):
4256 (notify_load_status_cb):
4257 (notify_progress_cb):
4261 (create_web_view_cb):
4262 (web_view_ready_cb):
4263 (close_web_view_cb):
4270 2010-10-29 Adam Roben <aroben@apple.com>
4272 Teach check-webkit-style about WebKit2's idiosyncracies
4274 Fixes <http://webkit.org/b/48638> Style bot complains about a number
4275 of WebKit2 conventions
4277 Reviewed by Anders Carlsson.
4279 * Scripts/webkitpy/style/checker.py: Excluded some rules for various
4280 WebKit2-related files. Also updated the excluded rules for
4281 WebKitAPITest to match the current code.
4283 2010-10-29 Csaba Osztrogonác <ossy@webkit.org>
4285 Reviewed by Adam Roben and David Kilzer.
4287 Fix and cleanup of build systems
4288 https://bugs.webkit.org/show_bug.cgi?id=48342
4290 * Scripts/build-webkit:
4291 - Remove unnecessary ENABLE_SANDBOX option.
4292 - Add ENABLE_FULLSCREEN_API option.
4294 2010-10-28 Adam Roben <aroben@apple.com>
4296 Switch the Windows WebKit2 bot to the Release configuration
4298 We only have one machine testing WebKit2 on Windows right now, and
4299 Debug is just too slow for it to keep up.
4301 Fixes (hopefully!) <http://webkit.org/b/48615> Windows WebKit2 bot is
4304 Reviewed by Jon Honeycutt.
4306 * BuildSlaveSupport/build.webkit.org-config/config.json:
4308 2010-10-29 Leandro Gracia Gil <leandrogracia@google.com>
4310 Reviewed by Jeremy Orlow.
4312 Added a second parameter to setMockSpeechInputResult for
4313 the language used in speech input.
4314 https://bugs.webkit.org/show_bug.cgi?id=47089
4316 * DumpRenderTree/LayoutTestController.cpp:
4317 (setMockSpeechInputResultCallback):
4318 * DumpRenderTree/LayoutTestController.h:
4319 * DumpRenderTree/chromium/LayoutTestController.cpp:
4320 (LayoutTestController::setMockSpeechInputResult):
4321 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4322 (LayoutTestController::setMockSpeechInputResult):
4323 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4324 (LayoutTestController::setMockSpeechInputResult):
4325 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4326 (LayoutTestController::setMockSpeechInputResult):