summaryrefslogtreecommitdiffstats
path: root/chrome/worker/worker_uitest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move worker code from chrome\worker to content\worker.jam@chromium.org2011-03-141-772/+0
| | | | | | | TBR=atwilson Review URL: http://codereview.chromium.org/6691004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78039 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable FileWriterSync ui_tests by adding a ScopedAllowIO to ↵adamk@chromium.org2011-03-101-5/+0
| | | | | | | | | | | BlobURLRequestJob. BUG=75548 TEST=ui_tests Review URL: http://codereview.chromium.org/6666001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77705 0039d316-1c4b-4281-b951-d872f2087c98
* Disable all FileWriter worker tests as r75514 causes them to fail in thread ↵adamk@chromium.org2011-03-101-1/+1
| | | | | | | | | | assertions. BUG=75548 TEST=none TBR=kinuko@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77598 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Worker-based FileSystem API ui_tests.adamk@chromium.org2011-03-101-33/+77
| | | | | | | | | | | | Also add tests created since this test framework was originally created, one of which is temporarily disabled waiting on a fix in WebKit and a roll. BUG=32277 TEST=ui_tests Review URL: http://codereview.chromium.org/6609040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77591 0039d316-1c4b-4281-b951-d872f2087c98
* Move worker_host code to content.jam@chromium.org2011-02-281-1/+1
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6592041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76263 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug when terminating queued workers that have already been started thatatwilson@chromium.org2011-02-161-2/+11
| | | | | | | | | | | would leave the worker process in a zombie state. BUG=68889 TEST=Run new TerminateQueuedWorkers ui_test. Review URL: http://codereview.chromium.org/6507005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75042 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.WorkerMapGc as flakyphajdan.jr@chromium.org2011-02-011-1/+2
| | | | | | | | | | TBR=dimich BUG=71518 TEST=ui_tests Review URL: http://codereview.chromium.org/6287038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73262 0039d316-1c4b-4281-b951-d872f2087c98
* Couple of changes in hopes of finally making ShareProcessesOnRestoresky@chromium.org2011-01-311-1/+3
| | | | | | | | | | | | | | | | | | | | | | | not flakey. Here's the set of changes: . Before getting the process count we wait for the PROCESS_LAUNCHER thread to go idle. On linux we push process shutdown to the PROCESS_LAUNCHER thread. So, it's important we wait for this thread to process all requests before getting the process count. . Makes TabRestore take a boolean indicating if it succeeded. . Change IDC_NEW_TAB from waiting for INITIAL_NEW_TAB_UI_LOAD to waiting until the tab loads. INITIAL_NEW_TAB_UI_LOAD isn't really a good indication that the new tab has finished loading. A key part of making this test not flakey is http://codereview.chromium.org/6398005/, but that'll be landed separately. BUG=52022 TEST=none Review URL: http://codereview.chromium.org/6263018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73156 0039d316-1c4b-4281-b951-d872f2087c98
* QueuedSharedWorkerShutdown is flaky.lzheng@chromium.org2011-01-261-1/+2
| | | | | | | | | BUG=70861 TEST=none Review URL: http://codereview.chromium.org/6250029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72588 0039d316-1c4b-4281-b951-d872f2087c98
* Remove action_max_timeout_ms and fix all the callers.tfarina@chromium.org2011-01-191-6/+6
| | | | | | | | | | | (This was a TODO for phajdan.jr). BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6354005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71861 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.MultipleTabsQueuedSharedWorker as flakyphajdan.jr@chromium.org2011-01-171-1/+2
| | | | | | | | | | TBR=atwilson BUG=69881 TEST=ui_tests Review URL: http://codereview.chromium.org/6347003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71597 0039d316-1c4b-4281-b951-d872f2087c98
* Added WARN_UNUSED_RESULT to ScopedTempDir methods.cbentzel@chromium.org2011-01-131-1/+2
| | | | | | | | | BUG=NONE TEST=all targets build, tests pass. Review URL: http://codereview.chromium.org/6042009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71322 0039d316-1c4b-4281-b951-d872f2087c98
* Remove sleep_timeout_ms and fix all the callers.tfarina@chromium.org2011-01-111-2/+3
| | | | | | | | | | | (This was a TODO for phajdan.jr). BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6187002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71038 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded includes of chrome_switches.h.thestig@chromium.org2011-01-111-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6086003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70978 0039d316-1c4b-4281-b951-d872f2087c98
* Moves everything related to launching and terminating the browser from ↵nirnimesh@chromium.org2011-01-081-1/+1
| | | | | | | | | | | | | UITestBase into ProxyLauncher. The primary changes are in ui_test.* and proxy_launcher.*. The changes in the remaining files are mostly just changing namespaces from UITestBase:: to ProxyLauncher::. BUG=None. TEST=All tests should pass. No functionality change. Review URL: http://codereview.chromium.org/5967003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70827 0039d316-1c4b-4281-b951-d872f2087c98
* Move platform_thread to base/threading and put in the base namespace. I left abrettw@chromium.org2010-12-311-2/+3
| | | | | | | | | | | stub and "using" declarations in the old location to avoid having to change the entire project at once. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6001010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70342 0039d316-1c4b-4281-b951-d872f2087c98
* Fix WorkerTest.WorkerWebSocketLayoutTests.yutak@chromium.org2010-12-021-14/+12
| | | | | | | | | | | | | The test now starts HTTPd along with the WebSocket server. Running both servers has become required because WebKit moved WebSocket tests under LayoutTests/http/ directory. BUG=49381 TEST=Run "ui_tests --gtest_filter=WorkerTest.WorkerWebSocketLayoutTests". Review URL: http://codereview.chromium.org/5432002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67946 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some obsolete FLAKY_ markers, and add some missing bug referencesstuartmorgan@chromium.org2010-11-091-2/+1
| | | | | | | | | BUG=29020,35221,62143,62595 TEST=N/A Review URL: http://codereview.chromium.org/4759001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65589 0039d316-1c4b-4281-b951-d872f2087c98
* Split out command IDs from chrome_dll_resource.h.evan@chromium.org2010-11-081-1/+1
| | | | | | | | | | | | The name of this file is a leftover from Windows. Split the command ids (which are used on all platforms) out, leaving just the Windows-specific resource IDs in the original file. TEST=compiles Review URL: http://codereview.chromium.org/4710001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65453 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bunch of missing bug references to FLAKY testsstuartmorgan@chromium.org2010-10-271-0/+1
| | | | | | | | | BUG=None TEST=N/A Review URL: http://codereview.chromium.org/4135007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64150 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.WorkerClose as flaky.phajdan.jr@chromium.org2010-10-191-1/+2
| | | | | | | | | | | TBR=dimich BUG=59786 TEST=ui_tests Review URL: http://codereview.chromium.org/3820011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63055 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.WorkerCloseFast as flaky.phajdan.jr@chromium.org2010-10-191-1/+2
| | | | | | | | | | | TBR=dimich BUG=59780 TEST=ui_tests Review URL: http://codereview.chromium.org/3797015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63052 0039d316-1c4b-4281-b951-d872f2087c98
* Add Worker tests for FileSystem API.kinuko@chromium.org2010-10-071-0/+51
| | | | | | | | | | | | Depends on the patch for webkit.org/b/46405 Currently it's disabled as the feature is not turned on by default yet (may need some trick to force enabling it for ui_tests). BUG=32277 TEST=WorkerTest.WorkerFileSystemLayoutTest Review URL: http://codereview.chromium.org/3576005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61770 0039d316-1c4b-4281-b951-d872f2087c98
* WorkerTest.WorkerWebSocketLayoutTests: disable, as it always times out.evan@chromium.org2010-10-041-2/+2
| | | | | | | | BUG=49381 Review URL: http://codereview.chromium.org/3617004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61397 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for websocket tests move under http/testsukai@chromium.org2010-10-041-0/+4
| | | | | | | | | | | | | websocket layout tests has been moved under http/tests/websocket/tests. We need to checkout these directory under src/chrome/test/data/layout_tests/LayoutTests for worker tests and extension api tests. Fix test path for worker tests. BUG=57662 TEST=trybot Review URL: http://codereview.chromium.org/3581010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61350 0039d316-1c4b-4281-b951-d872f2087c98
* Prospectively re-enabling QueuedSharedWorkerShutdown.atwilson@chromium.org2010-10-011-8/+1
| | | | | | | | | BUG=42641 TEST=the test itself Review URL: http://codereview.chromium.org/3526006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61226 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.WorkerHttpLayoutTests. It always times out.evan@chromium.org2010-09-171-2/+2
| | | | | | BUG=16934 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59812 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.QueuedSharedWorkerShutdown as flaky on Mac, it times out.bauerb@chromium.org2010-09-091-1/+8
| | | | | | | BUG=42641 TBR=atwilson@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58927 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WorkerTest.QueuedSharedWorkerShutdown because it seems to work 100% now.atwilson@chromium.org2010-08-241-2/+1
| | | | | | | | | BUG=42641 TEST=WorkerTest.QueuedSharedWorkerShutdown Review URL: http://codereview.chromium.org/3153036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57144 0039d316-1c4b-4281-b951-d872f2087c98
* Test server cleanup patch of death:phajdan.jr@chromium.org2010-08-171-9/+8
| | | | | | | | | | | | | | - reduce the number of different classes - clean up the internal code - modify the interface to expose less internal details (this will allow more flexibility with port numbers) TEST=many BUG=49680 Review URL: http://codereview.chromium.org/3080029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56405 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Move more test server code from net/url_request/url_request_unittest.hphajdan.jr@chromium.org2010-07-291-3/+5
| | | | | | | | | | | | | to net/test/test_server.h No code changes, just a move. TEST=none BUG=49680 Review URL: http://codereview.chromium.org/3034038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54201 0039d316-1c4b-4281-b951-d872f2087c98
* Mark FLAKY_QueuedSharedWorkerStartedFromOtherTab flaky on all platforms.evan@chromium.org2010-07-271-9/+2
| | | | | | | | | | This fails on all platforms, not just Mac. BUG=48148 Review URL: http://codereview.chromium.org/3036022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53815 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: test server cleanup:phajdan.jr@chromium.org2010-07-231-4/+2
| | | | | | | | | | | | | - simplify the public interface - remove unneeded methods - make it easier to understand TEST=none BUG=49680 Review URL: http://codereview.chromium.org/2881028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53509 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the only sync DB test we've been running. We need to replacedumi@chromium.org2010-07-221-5/+0
| | | | | | | | | | | | the hacky layout_test_controller.html with a real LayoutTestController implementation before running sync DB tests as UI tests. BUG=49118 TEST=none Review URL: http://codereview.chromium.org/2824067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53373 0039d316-1c4b-4281-b951-d872f2087c98
* Add more worker tests to WorkerWebSocketLayoutTests.yutak@chromium.org2010-07-221-2/+5
| | | | | | | | | BUG=none TEST=WorkerTest.WorkerWebSocketLayoutTests Review URL: http://codereview.chromium.org/3020016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53299 0039d316-1c4b-4281-b951-d872f2087c98
* Call rand_s() in a worker process before entering the sandbox.yutak@chromium.org2010-07-201-0/+1
| | | | | | | | | | | | We need to do it to cause advapi32.dll to load the sandbox is turned on. Otherwise rand_s() will fail in the sandbox. BUG=47390 TEST=Run "ui_tests --gtest_filter=WorkerTest.WorkerWebSocketLayoutTests". Review URL: http://codereview.chromium.org/2799047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53027 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.WorkerWebSocketLayoutTests as flaky.jhawkins@chromium.org2010-07-161-1/+2
| | | | | | | | | | TBR=mmoss BUG=49381 TEST=WorkerTest.WorkerWebSocketLayoutTests Review URL: http://codereview.chromium.org/3028011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52771 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52744 - Enable all sync DB layout tests.dumi@chromium.org2010-07-161-43/+28
| | | | | | | | | | | | BUG=49118 TEST=none Review URL: http://codereview.chromium.org/2813055 TBR=dumi@chromium.org Review URL: http://codereview.chromium.org/2847057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52758 0039d316-1c4b-4281-b951-d872f2087c98
* Enable all sync DB layout tests.dumi@chromium.org2010-07-161-28/+43
| | | | | | | | | BUG=49118 TEST=none Review URL: http://codereview.chromium.org/2813055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52744 0039d316-1c4b-4281-b951-d872f2087c98
* Remove FAIL flag from WorkerTest.WorkerWebSocketLayoutTests on Windows.yutak@chromium.org2010-07-161-6/+0
| | | | | | | | | | | | | This test was failing because of a bug in pywebsocket library. The bug was fixed and the new version of pywebsocket was pulled into WebKit, therefore the test should pass now. BUG=44792 TEST=Run "ui_tests --gtest_filter=WorkerTest.WorkerWebSocketLayoutTests" on Windows. Review URL: http://codereview.chromium.org/2808050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52641 0039d316-1c4b-4281-b951-d872f2087c98
* Disable failing test from r52393 to green the tree.ojan@google.com2010-07-141-1/+2
| | | | | | Review URL: http://codereview.chromium.org/2893017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52417 0039d316-1c4b-4281-b951-d872f2087c98
* TTF: Re-enable WorkerTest.QueuedSharedWorkerShutdown by marking it as FAILS_.jhawkins@chromium.org2010-07-131-1/+1
| | | | | | | | | | TBR=estade BUG=42641 TEST=WorkerTest.QueuedSharedWorkerShutdown Review URL: http://codereview.chromium.org/2950006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52221 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.LimitPerPage flaky also on Mac.hans@chromium.org2010-07-091-4/+2
| | | | | | | | | BUG=48664 R=jar Review URL: http://codereview.chromium.org/2958004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51950 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.QueuedSharedWorkerStartedFromOtherTab as flaky on Mac.vandebo@chromium.org2010-07-021-1/+9
| | | | | | | | | BUG=48148 TEST=green tree Review URL: http://codereview.chromium.org/2865034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51479 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51378 - Adding FAILS_ for failing worker testskinuko@chromium.org2010-07-011-2/+2
| | | | | | | | | | | TBR=yurys Review URL: http://codereview.chromium.org/2812037 TBR=kinuko@chromium.org Review URL: http://codereview.chromium.org/2878019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51382 0039d316-1c4b-4281-b951-d872f2087c98
* Adding FAILS_ for failing worker testskinuko@chromium.org2010-07-011-2/+2
| | | | | | | | TBR=yurys Review URL: http://codereview.chromium.org/2812037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51378 0039d316-1c4b-4281-b951-d872f2087c98
* Remove an obsolete comment.dumi@chromium.org2010-07-011-1/+0
| | | | | | | | | | | TBR=levin TEST=none BUG=none Review URL: http://codereview.chromium.org/2810043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51346 0039d316-1c4b-4281-b951-d872f2087c98
* Unflaky WorkerTest.OpenDatabaseSyncInputs.dumi@chromium.org2010-07-011-1/+1
| | | | | | | | | BUG=47518 TEST=none Review URL: http://codereview.chromium.org/2832042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51344 0039d316-1c4b-4281-b951-d872f2087c98
* Mark OpenDatabaseSyncInputs as flakymnaganov@chromium.org2010-06-251-1/+2
| | | | | | | | | | TBR=atwilson BUG=47518 TEST=none Review URL: http://codereview.chromium.org/2805035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50840 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bug link to DISABLED_WorkerLifecycle, and change StartupRaceCondition ↵stuartmorgan@chromium.org2010-05-271-1/+1
| | | | | | | | | | | to FAILS BUG=38572,45168 TEST=N/A Review URL: http://codereview.chromium.org/2280005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48394 0039d316-1c4b-4281-b951-d872f2087c98