summaryrefslogtreecommitdiffstats
path: root/chrome/worker
Commit message (Collapse)AuthorAgeFilesLines
* Rename Chrome threads to use a "Cr" prefix.evan@chromium.org2010-06-091-2/+1
| | | | | | | | | | | Before we carefully used the app (Chrome/Chromium) name, but: 1) these are for internal debugging use only, so why compute this name 2) on Linux the thread ids are limited to 16 characters, and "Chromium" is too long Review URL: http://codereview.chromium.org/2741003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49296 0039d316-1c4b-4281-b951-d872f2087c98
* Fully connect the dots between workers and appcache resource loading.michaeln@chromium.org2010-05-272-5/+8
| | | | | | | | | | | | | | | | | | | | | | | * Split WorkerService CreateWorker into distinct methods for 'shared' vs 'dedicated' workers. * Include additional appcache params in WorkerService CreateSharedWorker and CreateDedicatedWorker methods. * Store those additional params in WorkerInstance object. * Pass those additional params to the worker process. * Use those additional params when initiating the appcache host for the worker when calling SelectCacheForWorker and SelectCacheForSharedWorker. * Add browser process message handlers and dispatching for the SelectCacheForWorker and SelectCacheForSharedWorker IPC messages. * Runtime enable the appcache feature in the worker processes. BUG=39368 TEST=manual for now, but i need to create layout tests for this Review URL: http://codereview.chromium.org/2238001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48441 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
* Marking the WorkerTest.LimitPerPage as flaky for linux as well. This test ↵ananta@chromium.org2010-05-271-1/+1
| | | | | | | | | | | | | was initially marked as flaky only for windows. Bug=36800 TBR=tonyg Review URL: http://codereview.chromium.org/2274005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48366 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable tests whose disabling bug has been fixedstuartmorgan@chromium.org2010-05-261-32/+35
| | | | | | | | | | | Restores a bunch of tests that were disabled by bugs 36630 and 30307 (both of which were closed as fixed without the tests being re-enabled) to whatever state they had before. BUG=30307,36630 TEST=Tests should run, and hopefully not hang or crash anything Review URL: http://codereview.chromium.org/2157009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48336 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit 59900:59936.jparent@chromium.org2010-05-211-0/+6
| | | | | | | | | | TBR=victorw TEST=canaries and try servers BUG=44792 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47952 0039d316-1c4b-4281-b951-d872f2087c98
* Specify --chromium flag to run new-run-webkit-websocketserverukai@chromium.org2010-05-211-6/+0
| | | | | | | | | | | | | WebKit r59595,r59823 adds --chromium flag in new-run-webkit-websocketserver. It is necessary to use Chromium port obj in the script to set up cygwin environment on win bot. BUGS=41319,40995 TEST=none Review URL: http://codereview.chromium.org/1710007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47898 0039d316-1c4b-4281-b951-d872f2087c98
* Markes WorkerTest.WorkerScriptError as flaky.sky@chromium.org2010-05-181-0/+5
| | | | | | | | BUG=44457 TEST=none Review URL: http://codereview.chromium.org/2129011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47516 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DISABLED_ prefix from WorkerTest.OpenDatabaseSyncInputs and updatetyoshino@chromium.org2010-05-131-2/+1
| | | | | | | | | | | | ui_test.gtest_linux.txt instead to disable it only under Valgrind Linux. TEST=none TBR=rvargas,phajdan.jr BUG=43974 Review URL: http://codereview.chromium.org/2078001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47131 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.OpenDatabaseSyncInputs because it's continuously failing ontyoshino@chromium.org2010-05-131-1/+2
| | | | | | | | | | | | Valgrind bot. TEST=none BUG=43974 TBR=rvagas,tigerf Review URL: http://codereview.chromium.org/2073001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47126 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the dirfd parameter from all Chromium code. The POSIX VFSdumi@chromium.org2010-05-122-6/+3
| | | | | | | | | | | doesn't need it. BUG=43489 TEST=none Review URL: http://codereview.chromium.org/2055009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47006 0039d316-1c4b-4281-b951-d872f2087c98
* Add a worker test for ↵dumi@chromium.org2010-05-121-1/+31
| | | | | | | | | | | | LayoutTests/fast/workers/storage/open-database-sync-inputs.html. BUG=none TEST=none Review URL: http://codereview.chromium.org/2045003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47005 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some deprecated webkit api usage now that we've rolled the new api ↵michaeln@chromium.org2010-05-121-4/+1
| | | | | | | | | | | into view. BUG=39368 TEST=n/a Review URL: http://codereview.chromium.org/2021008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46998 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug REGRESSION: Extension settings / options / preferences are not being ↵jianli@chromium.org2010-05-102-0/+9
| | | | | | | | | | | saved BUG=43561 TEST=Will be added later Review URL: http://codereview.chromium.org/2020006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46874 0039d316-1c4b-4281-b951-d872f2087c98
* Stub implementation for allowDatabase callback for workers.jochen@chromium.org2010-05-101-0/+10
| | | | | | | | | BUG=40095 TEST=none Review URL: http://codereview.chromium.org/2002011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46815 0039d316-1c4b-4281-b951-d872f2087c98
* Add some more IPC plumbing and scaffolding to support having appcache work ↵michaeln@chromium.org2010-05-0813-30/+145
| | | | | | | | | | | | | | | | | | | | in workers. Everything is still stubbed out at runtime (runtime feature is still disabled in the worker process, and the values in the IPC messages are all zero'd out). * Widen the CreateWorker IPC message sent from the browser to the worker process to contain additional data needed to initialize an appcache for that worker. * Add a new worker specific WorkerWebApplicationCacheHostImpl class and instantiate one with the initialization data received in the IPC. * Give the WorkerThread an AppCacheDispatcher. * Propagate the cmd-line argument to disable the appcache to the worker process. * Fixup DEPs to show that chrome/workers depends on webkit/appcache BUG=39368 TEST=thinking about what tests to put together for this CL Review URL: http://codereview.chromium.org/1719007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46765 0039d316-1c4b-4281-b951-d872f2087c98
* More groundwork for making appcache work in workers.michaeln@chromium.org2010-05-061-1/+2
| | | | | | | | | | | | | | | Widen the IPC message used to start and initialize a worker to include the additional fields needed to initialize the appcache host for that worker. And set those values when sending that message from a renderer. BUG=39368 TEST=manual and existing tests apply Review URL: http://codereview.chromium.org/2013001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46610 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WorkerTest.WorkerContextMultiPort.dimich@chromium.org2010-05-051-6/+0
| | | | | | | | | | T2 more issues were fixed, PostTask is now used for WTF::callOnMainThread and MessagePort's QueueMessage IPC is queued on main thread to make sure it doesn't arrive in front of OnCreate. BUG=42783 TEST=itself Review URL: http://codereview.chromium.org/1843003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46501 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.WorkerContextMultiPort on Linux.dimich@chromium.org2010-04-291-0/+6
| | | | | | | | | | | It still fails intermittently, there should be another issue. TBR=atwilson BUG=42783 TEST=none Review URL: http://codereview.chromium.org/1765011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45913 0039d316-1c4b-4281-b951-d872f2087c98
* Fix browser process crash in WorkerTest.WorkerContextMultiPort.dimich@chromium.org2010-04-281-5/+0
| | | | | | | | | | Also enable that test. Crash caused by using stl::map[unexisting_key] which inserts a dummy element. Added a check. BUG=42783 TEST=WorkerTest.WorkerContextMultiPort Review URL: http://codereview.chromium.org/1737019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45875 0039d316-1c4b-4281-b951-d872f2087c98
* Mark tests that started failing after WebKit roll as DISABLEDjorlow@chromium.org2010-04-281-1/+1
| | | | | | | | | | | and not FLAKY, because they fail every time. TEST=none BUG=42641,42718 Review URL: http://codereview.chromium.org/1725012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45803 0039d316-1c4b-4281-b951-d872f2087c98
* Marks TestEvalOnCallFrame, TestSetBreakpoint, QueuedSharedWorkerShutdown as ↵bulach@chromium.org2010-04-281-1/+1
| | | | | | | | | | | | | flaky. (they started failing after rolling WebKit 58304:58400 on http://src.chromium.org/viewvc/chrome?view=rev&revision=45795) BUG=42641,42718 Review URL: http://codereview.chromium.org/1801005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45801 0039d316-1c4b-4281-b951-d872f2087c98
* Disable QueuedSharedWorkerShutdown because it's turned super flaky.jorlow@chromium.org2010-04-271-4/+5
| | | | | | | | | TEST=none BUG=42641 Review URL: http://codereview.chromium.org/1708011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45715 0039d316-1c4b-4281-b951-d872f2087c98
* Ground work for making appcache work in workers.michaeln@chromium.org2010-04-261-0/+8
| | | | | | | | | | | Put in place a noop impl of createApplicationCacheHost() on all WebCommonWorkerClient subclasses. That factory method is soon to be added to the WebKit::WebCommonWorkerClient class as a pure virtual. Adding these methods in advance so it builds when that pure virtual shows up later. BUG=39368 TEST=none Review URL: http://codereview.chromium.org/1729015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45642 0039d316-1c4b-4281-b951-d872f2087c98
* Disable Worker.WorkerContextMultiPort back.dimich@chromium.org2010-04-231-0/+5
| | | | | | | | | | | | It runs fine on try bot and fails on main one. Basically reverting http://codereview.chromium.org/1781001 TBR=levin BUG=22898 TEST=none Review URL: http://codereview.chromium.org/1742009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45470 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WorkerTest.WorkerContextMultiPort on Linux.dimich@chromium.org2010-04-231-5/+0
| | | | | | | | | BUG=22898 TEST=none Review URL: http://codereview.chromium.org/1781001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45463 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WorkerTest.WorkerClose.dimich@chromium.org2010-04-221-2/+1
| | | | | | | | | | It was disabled before due to worker termination issues (http://crbug.com/36630) but those were fixed upstream. BUG=36630 TEST=none Review URL: http://codereview.chromium.org/1763007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45382 0039d316-1c4b-4281-b951-d872f2087c98
* Enable worker-close.html on Linux.dimich@chromium.org2010-04-221-5/+0
| | | | | | | | | | Possible after changing the test to be more reliable on slow machines (http://trac.webkit.org/changeset/57916). BUG=36630 TEST=none Review URL: http://codereview.chromium.org/1703006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45327 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.MultipleTabsQueuedSharedWorker as flaky.phajdan.jr@chromium.org2010-04-221-1/+2
| | | | | | | | | | | TBR=dimich TEST=still flaky BUG=35221 Review URL: http://codereview.chromium.org/1722006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45312 0039d316-1c4b-4281-b951-d872f2087c98
* Unreviewed, disable WorkerCloseFast on Linux, not yet fixed completely.dimich@chromium.org2010-04-201-0/+5
| | | | | | Review URL: http://codereview.chromium.org/1625022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45002 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WorkerTest.WorkerCloseFastdimich@chromium.org2010-04-201-2/+1
| | | | | | | | | | | The underlying issue was fixed upstream (http://trac.webkit.org/changeset/57349) Added the generic LayoutTests/platform/chromium dir to lookup chain, since expected results for this test only differ in v8 error text formatting. BUG=36630 TEST=enabled one Review URL: http://codereview.chromium.org/1512034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44999 0039d316-1c4b-4281-b951-d872f2087c98
* 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