summaryrefslogtreecommitdiffstats
path: root/chrome/worker
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: Explicitly add a bunch of missing includes.thestig@chromium.org2010-04-151-1/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1623014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44635 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled WebSocket tests on Windows,ukai@chromium.org2010-04-141-1/+6
| | | | | | | | | | | | | | but enabled on other platform. new-run-webkit-websocketserver won't run on Windows because of https://bugs.webkit.org/show_bug.cgi?id=37518 BUG=40976,40995,41319 TEST=trybots pass Review URL: http://codereview.chromium.org/1630019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44430 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.WorkerSocketLayoutTests on all platforms.dumi@chromium.org2010-04-131-5/+2
| | | | | | | | | | | BUG=40995 TEST=none TBR=ukai Review URL: http://codereview.chromium.org/1542028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44332 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete MessageDestination parameter from ↵mnaganov@chromium.org2010-04-122-2/+11
| | | | | | | | | | | | postConsoleMessageToWorkerObject() Patch contributed by caseq@chromium.org BUG=https://bugs.webkit.org/show_bug.cgi?id=37155 TEST=none Review URL: http://codereview.chromium.org/1528029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44245 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling WorkerTest.WorkerWebSocketLayoutTests on Linux bots only.dumi@chromium.org2010-04-091-1/+5
| | | | | | | | | | TEST=none BUG=40995 Review URL: http://codereview.chromium.org/1527024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44151 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling worker-simple.html and shared-worker-simple.html indumi@chromium.org2010-04-091-1/+1
| | | | | | | | | | | | | ui_tests, because they fail on the Linux perf canary bot. TEST=none BUG=40995 TBR=antonm Review URL: http://codereview.chromium.org/1611018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44142 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WorkerTests.MultipleWorkers on Linux.dimich@chromium.org2010-04-091-6/+0
| | | | | | | | | | It was likely fixed by fixing worker process termination issues. Enabling it after running it 100 times on Linux try bot. BUG=30353 TEST=ui_test WorkerTests.MultipleWorkers Review URL: http://codereview.chromium.org/1607009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44027 0039d316-1c4b-4281-b951-d872f2087c98
* Allow synchronous messages to be sent from threads other than the main ↵jabdelmalek@google.com2010-04-061-1/+0
| | | | | | | | | thread. This simplifies code that needs to do this (i.e. webkit db and file threads). BUG=23423 Review URL: http://codereview.chromium.org/1601005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43752 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WorkerTest.WorkerScriptError which now have same results on win, ↵yurys@chromium.org2010-04-061-2/+1
| | | | | | | | | | linux and mac after http://trac.webkit.org/changeset/57147 is rolled. BUG=38918 Review URL: http://codereview.chromium.org/1596011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43712 0039d316-1c4b-4281-b951-d872f2087c98
* Change ui_tests to pull the directories it needs from the upstream webkitdpranke@chromium.org2010-04-031-5/+0
| | | | | | | | | | | | | | | | | | tree directly rather than relying on webkit/data/layout_tests for the baselines. This requires us to change a few spots in the source code because the directory naming conventions for platform-specific baselines is different upstream (it's platform/chromium-win/foo rather than platform/chromium-win/LayoutTests/foo). Once this test lands we can (in theory) remove the downstream layout test baselines. BUG=none TEST=none R=dimich@chromium.org Review URL: http://codereview.chromium.org/1547009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43557 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to the Browser to support Database access from Workers.ericu@google.com2010-04-024-6/+65
| | | | | | | | | | | | This changelist should have no visible effect until the V8 bindings for the Database get added to the Worker context in WebKit. BUG=none TEST=webkit layout tests Review URL: http://codereview.chromium.org/1387001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43427 0039d316-1c4b-4281-b951-d872f2087c98
* Enable disabled WebSocket tests (ExtensionApiTest.WebSocket and ↵ukai@chromium.org2010-04-011-4/+1
| | | | | | | | | | | | | | | WorkerWebSocketLayoutTests). These tests were not worked well, because of some bugs in websocket server implementation for tests, in Windows XP. This was fixed in webkit r56614 and r56774. BUG=38225,33247,36630 TEST=pass ExtensionApiTest.WebSocket and WorkerWebSocketLayoutTests Review URL: http://codereview.chromium.org/1575003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43324 0039d316-1c4b-4281-b951-d872f2087c98
* Disable worker-cloneport.html.dimich@chromium.org2010-04-011-5/+1
| | | | | | | | | | | This is to avoid needlessly accumulating flakiness reports. We know it's flaky and are looking for the race condition. Landing for prasadt, original CR: http://codereview.chromium.org/1566006 BUG=35965 TEST=none Review URL: http://codereview.chromium.org/1550006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43296 0039d316-1c4b-4281-b951-d872f2087c98
* Merge UiTest::GetTest* and ui_test_utils::GetTest*. Convert these utility ↵thestig@chromium.org2010-03-311-27/+58
| | | | | | | | | | functions to use FilePaths. BUG=none TEST=none Review URL: http://codereview.chromium.org/1567009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43190 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Miscellanous UI tests cleanups:phajdan.jr@chromium.org2010-03-301-8/+16
| | | | | | | | | | | | | | | - use built-in timeouts instead of "inventing" them in each test case - avoid unneeded checks and operations - use automation calls more effectively - use FLAKY mark instead of DISABLED to maintain test coverage - split some tests to make the above possible TEST=UI test based BUG=39785 Review URL: http://codereview.chromium.org/1547003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43070 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Unify polling interval in some of the polling functionsphajdan.jr@chromium.org2010-03-301-6/+6
| | | | | | | | | | | | | | | | | | | | | | in the UI test framework: - WaitUntilCookieValue - WaitUntilCookieNonEmpty - WaitUntilJavaScriptCondition This helps reduce number of arbitrary "magic timeouts" which are different in each test. We don't remove the test timeout parameter, because it varies depending on test case, and for now we don't have a better solution. Trying a "naive" way leads to hangs on flaky tests. TEST=UI-based tests BUG=none Review URL: http://codereview.chromium.org/1557001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43062 0039d316-1c4b-4281-b951-d872f2087c98
* Broke out shared worker tests into individual tests and increased worker ↵atwilson@chromium.org2010-03-301-51/+64
| | | | | | | | | | | | | test timeout. Layout tests run in ui_tests can now have their timeout set via the cmd line, and a longer timeout is passed in when valgrind is run. BUG=39570 TEST=existing tests suffice Review URL: http://codereview.chromium.org/1518001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43021 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r42426 - tests are failing because the WebKit LayoutTests directoriesdpranke@google.com2010-03-241-0/+3
| | | | | | | | | | | | | aren't checked out on the bots. We need to figure out how to deal with this since we don't want to keep expectations downstream if we can avoid it. BUG=none R=none TEST=bots stay green Review URL: http://codereview.chromium.org/1253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42427 0039d316-1c4b-4281-b951-d872f2087c98
* Use upstream layout_test baselines since the downstream ones are going away.dpranke@google.com2010-03-241-3/+0
| | | | | | | | | | BUG=none TEST=bots stay green R=eroman@chromium.org Review URL: http://codereview.chromium.org/1214001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42426 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 42327 which caused test failures on Mac.yurys@chromium.org2010-03-231-1/+2
| | | | | | | | | | Revert "Update fast/workers/worker-script-error.html expectations in Chromium. Expected results of this test need update due to WebKit change http://trac.webkit.org/changeset/56329 and reenanle WorkerTest.WorkerScriptError" TBR=pfeldman Review URL: http://codereview.chromium.org/1174001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42330 0039d316-1c4b-4281-b951-d872f2087c98
* Update fast/workers/worker-script-error.html expectations in Chromium. ↵yurys@chromium.org2010-03-231-2/+1
| | | | | | | | | | | | Expected results of this test need update due to WebKit change http://trac.webkit.org/changeset/56329 and reenanle WorkerTest.WorkerScriptError Nate, I found your name on WebKit Sheriff calendar so please update the expectations on the next WebKit roll. BUG=38918 Review URL: http://codereview.chromium.org/1163001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42327 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 56312:56350 (disables a work test due to ↵japhet@chromium.org2010-03-221-1/+2
| | | | | | | | | | | | http://trac.webkit.org/changeset/56329) BUG=38918 TEST=none TBR=ajwong Review URL: http://codereview.chromium.org/1098008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42251 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Reduce number of automation methods ending with WithTimeout.phajdan.jr@chromium.org2010-03-221-3/+1
| | | | | | | | | | | | | | | | | | | | | They are just too easy to misuse. People started inventing their own hardcoded timeouts all over the place. Also, the is_timeout return parameter was not checked consistently. Additionally, some calls actually had no timeout at all, making hangs possible. This change also removes useless DLOG statements. We should get the required info from the ASSERT/EXPECT macros in test code, which is quite well checked by WARN_UNUSED_RESULT. TEST=all ui-based BUG=none Review URL: http://codereview.chromium.org/1076005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42213 0039d316-1c4b-4281-b951-d872f2087c98
* Queue up connect messages while waiting for the shared worker to start.atwilson@chromium.org2010-03-193-4/+28
| | | | | | | | | BUG=37100 TEST=added new ui test Review URL: http://codereview.chromium.org/1047006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42144 0039d316-1c4b-4281-b951-d872f2087c98
* Adding debugging switches to Worker process startup on POSIX systems.dimich@chromium.org2010-03-171-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1023005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41852 0039d316-1c4b-4281-b951-d872f2087c98
* Add new worker-map-gc.html layout test to worker's ui_tests suite.dimich@chromium.org2010-03-161-0/+12
| | | | | | | | | BUG=none TEST=the added one Review URL: http://codereview.chromium.org/989005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41775 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Make automation framework more solid by making sure thatphajdan.jr@chromium.org2010-03-161-4/+7
| | | | | | | | | | | | | | | | | | | important return values are not ignored. The macro used here, WARN_UNUSED_RESULT, takes effect only for GCC, but that's enough since we have bots for all platforms. Adding these warnings already detected some cases where a return value was ignored. In some of them the test was trying to get the information about success "some other way", in some it could sometimes confuse test failure with test success. TEST=ui_tests BUG=none Review URL: http://codereview.chromium.org/948002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41696 0039d316-1c4b-4281-b951-d872f2087c98
* Lazy AppLauncher creation to make tests stable.oshima@chromium.org2010-03-051-5/+1
| | | | | | | | | | | | | | | | | There seems to be a timing issue in renderer deletion and io thread deletion, and the resource that has to be deleted before io thread are not deleted by the time io thread is deleted. Since this will soon be changed, i just chagned this to be created on demand for now. This also reverts commit dd6c4ab11002a308bf8eede36bb632e95d3a1382. TBR=sky@chromium.org BUG=32641 TEST=none Review URL: http://codereview.chromium.org/669196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40780 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "WebKit roll to 55572"jorlow@chromium.org2010-03-051-3/+1
| | | | | | | | | | | | | This is a speculative fix for page cycler regressions. This reverts commit 7f33868ce04ed5679e8dd3e3d9ca57d47177cfbc / 40730 TEST=none BUG=none Review URL: http://codereview.chromium.org/668152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40733 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll to 55572yurys@chromium.org2010-03-051-1/+3
| | | | | | | | TBR=levin,pfeldman Review URL: http://codereview.chromium.org/668148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40730 0039d316-1c4b-4281-b951-d872f2087c98
* ui_tests fixoshima@chromium.org2010-03-041-1/+5
| | | | | | | | | BUG=none TEST=ui_tests should cycle green Review URL: http://codereview.chromium.org/669093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40665 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WorkerTest.StressJSExecution on Linux.dimich@chromium.org2010-02-261-6/+0
| | | | | | | | | BUG=35963 TEST=itself Review URL: http://codereview.chromium.org/660207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40169 0039d316-1c4b-4281-b951-d872f2087c98
* Un-revert r39999, now with a Valgrind fix. Original change: ↵dimich@chromium.org2010-02-269-5/+52
| | | | | | | | | | | http://codereview.chromium.org/647064 BUG=35963 TEST=WorkerTest.StressJSExecution Review URL: http://codereview.chromium.org/661139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40141 0039d316-1c4b-4281-b951-d872f2087c98
* Disable flakey worker tests while investigating the flakiness.dimich@google.com2010-02-251-28/+21
| | | | | | | | BUG=36630 TEST=many worker ui_tests Review URL: http://codereview.chromium.org/660094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40035 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.LimitPerPage as flaky on Windowsrsesek@chromium.org2010-02-251-0/+3
| | | | | | | | | BUG=36800 TEST=XP and Vista UI Tests Review URL: http://codereview.chromium.org/661082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40025 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r39951 - Broke Valgrind - "Make sure the workers are given a chance ↵rsesek@chromium.org2010-02-258-50/+4
| | | | | | | | | | | | | | | | | | | | to terminate their thread when the IPC channel fails. Usually, the ChildThread::OnChannelError() simply kills the message loop. we want to give workers an opportunity to get out of their threads to avoid crashes when main thread destroys globals. BUG=35963 TEST=WorkerTest.StressJSExecution Review URL: http://codereview.chromium.org/647064" Revert r39997 - Attempted Fix - "Fix a conditional jump depending on an uninitialized value by setting it to false in the ctor." TBR=dimich BUG=none TEST=Valgrind Review URL: http://codereview.chromium.org/661068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39999 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.WorkerXhrHttpLayoutTests pending investigation.shess@chromium.org2010-02-251-1/+1
| | | | | | | | | | TBR=markus BUG=36630 TEST=none Review URL: http://codereview.chromium.org/661049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39974 0039d316-1c4b-4281-b951-d872f2087c98
* Add an WebSocket extension browsertest.rafaelw@chromium.org2010-02-251-2/+3
| | | | | | | | | | | This adds a simple browsertest that sanity checks that WebSockets can be opened and used from extension processes. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/660011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39961 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure the workers are given a chance to terminate their thread when the ↵dimich@google.com2010-02-248-4/+50
| | | | | | | | | | | | IPC channel fails. Usually, the ChildThread::OnChannelError() simply kills the message loop. we want to give workers an opportunity to get out of their threads to avoid crashes when main thread destroys globals. BUG=35963 TEST=WorkerTest.StressJSExecution Review URL: http://codereview.chromium.org/647064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39951 0039d316-1c4b-4281-b951-d872f2087c98
* Disable failing worker test.vitalyr@chromium.org2010-02-241-1/+4
| | | | | | | | | | | | Started failing after WebKit update picked up http://trac.webkit.org/changeset/55180/ BUG=36630 TBR=dimich@chromium.org Review URL: http://codereview.chromium.org/660037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39946 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable WorkerTest.WorkerCloseFast to investigate hang after ↵dimich@google.com2010-02-241-1/+2
| | | | | | | | | | | r55180 upstream. TBR=levin BUG=36630 TEST=none Review URL: http://codereview.chromium.org/657063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39864 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.WorkerClonePort as flaky.phajdan.jr@chromium.org2010-02-231-2/+4
| | | | | | | | | | | | Also add a bug reference explaining why the test is disabled on Linux and Mac. TBR=dimich TEST=still flaky BUG=36555, 35965 Review URL: http://codereview.chromium.org/652123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39736 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 39440 - WebKit roll 54944:54996dglazkov@chromium.org2010-02-191-55/+27
| | | | | | | | | | | | | | | | As described in crbug.com/36247, most of the worker tests started to fail with this roll. As I am completely unfamiliar with worker code, but also didn't want to hold up the roll I disable all failing worker tests. BUG=36247,36236,35923(succeeds) TEST=none TBR=agl,japhet,brettw Review URL: http://codereview.chromium.org/651017 TBR=rolandsteiner@chromium.org Review URL: http://codereview.chromium.org/651041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39452 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 54944:54996rolandsteiner@chromium.org2010-02-191-27/+55
| | | | | | | | | | | | | As described in crbug.com/36247, most of the worker tests started to fail with this roll. As I am completely unfamiliar with worker code, but also didn't want to hold up the roll I disable all failing worker tests. BUG=36247,36236,35923(succeeds) TEST=none TBR=agl,japhet,brettw Review URL: http://codereview.chromium.org/651017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39440 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.WorkerContextMultiPort.dimich@google.com2010-02-171-1/+6
| | | | | | | | | TBR=jianli BUG=22898 TEST=none Review URL: http://codereview.chromium.org/612007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39184 0039d316-1c4b-4281-b951-d872f2087c98
* Unbundle WorkerFastLayoutTests into actual individula tests, to get a better ↵dimich@google.com2010-02-171-58/+82
| | | | | | | | | | info on what fails. BUG=22898 TEST=none Review URL: http://codereview.chromium.org/614002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39178 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling WorkerFastLayoutTests0 since it is now failing on Windows also.finnur@chromium.org2010-02-161-2/+3
| | | | | | | | | | BUG=35867 TEST=None TBR=levin Review URL: http://codereview.chromium.org/600143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39105 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enabled test - worker-messageport-gc.html.atwilson@chromium.org2010-02-101-2/+1
| | | | | | | | | BUG=22947 TEST=re-enabled test. Review URL: http://codereview.chromium.org/602010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38647 0039d316-1c4b-4281-b951-d872f2087c98
* Changed CreateWorker to coalesce any matching queued shared workers when aatwilson@chromium.org2010-02-101-0/+81
| | | | | | | | | | | | shared worker is started. Added tests for worker close and queued shared worker cases. BUG=29998 TEST=new UI tests added. Review URL: http://codereview.chromium.org/580007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38549 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable worker tests on Windows (partial revert of r38378)dimich@google.com2010-02-081-4/+11
| | | | | | | | BUG=35023 TEST=enabled some. Review URL: http://codereview.chromium.org/588003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38387 0039d316-1c4b-4281-b951-d872f2087c98