summaryrefslogtreecommitdiffstats
path: root/chrome/worker
Commit message (Collapse)AuthorAgeFilesLines
* Disable MultipleWorkers on Linux as it is failing sporadically.atwilson@chromium.org2009-12-151-0/+6
| | | | | | | | | BUG=30353 TEST=non Review URL: http://codereview.chromium.org/503001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34571 0039d316-1c4b-4281-b951-d872f2087c98
* Comments out WorkerTest.FLAKY_LimitTotal on Linux.hbono@chromium.org2009-12-141-0/+2
| | | | | | | | | | | | Since Build 3442, this test has been causing an error "chrome: Fatal IO error 11 (Resource temporarily unavailable) on X server :9.0" on the "Chromium Linux (x64)" bot, and making the bot hang-up. To investigate this hang-up, this change temporarily comments out this test on Linux. TBR=levin BUG=28445 TEST=none Review URL: http://codereview.chromium.org/492031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34457 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling various worker tests for valgrindatwilson@chromium.org2009-12-121-0/+3
| | | | | | | | | | BUG=28439,30212 TBR=levin TEST=none Review URL: http://codereview.chromium.org/495012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34432 0039d316-1c4b-4281-b951-d872f2087c98
* Disable crashing test on linuxatwilson@chromium.org2009-12-121-1/+4
| | | | | | | | | | BUG=22898 TEST=none TBR=levin Review URL: http://codereview.chromium.org/495011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34430 0039d316-1c4b-4281-b951-d872f2087c98
* Enabled a number of worker tests on various platforms.atwilson@chromium.org2009-12-121-21/+11
| | | | | | | | Added new SingleSharedWorker and MultipleSharedWorker tests, and enabled a bunch of other tests after marking them flaky/excluding them from valgrind. Review URL: http://codereview.chromium.org/490023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34429 0039d316-1c4b-4281-b951-d872f2087c98
* Marking failing IncognitoSharedWorkers uitest as flaky on Linux.robertshield@chromium.org2009-12-101-0/+4
| | | | | | | | TBR=wtc Review URL: http://codereview.chromium.org/488008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34276 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak in the worker tests.levin@chromium.org2009-12-101-0/+6
| | | | | | | | | | | | Clean-up suppressions: remove ones that appear to have been fixed, clarify another to be a known leak by design. BUG=26966,22923 TEST=valgrind tests (for ui and layout tests) Review URL: http://codereview.chromium.org/465075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34239 0039d316-1c4b-4281-b951-d872f2087c98
* WebSocket in Worker: commandline passing for worker process.ukai@chromium.org2009-12-071-0/+14
| | | | | | | | | | | | Pass feature control command line flags to worker process, and enable WebKit features in worker. Also, passing logging flags and prepend --render-cmd-prefix if specified. BUG=27618 TEST=none Review URL: http://codereview.chromium.org/445003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33957 0039d316-1c4b-4281-b951-d872f2087c98
* Mark a test as flaky that failed for 1/2 of yesterday on one bot. Doing ↵thomasvl@chromium.org2009-12-041-0/+4
| | | | | | | | | | fine on others. BUG=28445 TEST=none Review URL: http://codereview.chromium.org/460071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33815 0039d316-1c4b-4281-b951-d872f2087c98
* Make SystemMonitor not a Singleton and move it out of basephajdan.jr@chromium.org2009-11-261-3/+4
| | | | | | | | | | | | | SystemMonitor makes an assumption that through its lifetime a MessageLoop exists and stays the same. It is difficult and error-prone to satisfy that when it is a Singleton. It has caused problems in the past. Additionally, extract HighResoltionTimerManager out of time_win.cc, eliminating yet another Singleton. TEST=none BUG=none Review URL: http://codereview.chromium.org/431008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33214 0039d316-1c4b-4281-b951-d872f2087c98
* Changed shared worker code so incognito windows do not have access to ↵atwilson@chromium.org2009-11-262-1/+41
| | | | | | | | | | | non-incognito shared workers. BUG=27883 TEST=added new uitest Review URL: http://codereview.chromium.org/441022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33164 0039d316-1c4b-4281-b951-d872f2087c98
* Flaky tests on linux/view/64bit builds.oshima@chromium.org2009-11-251-0/+7
| | | | | | | | | | | Also updated browser_tests to use #define instead of #if/else, like other tests. BUG=28808 TEST=None Review URL: http://codereview.chromium.org/442012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33137 0039d316-1c4b-4281-b951-d872f2087c98
* Disable these only on linuxtim@chromium.org2009-11-231-4/+15
| | | | | | | | | TBR=levin BUG=28445 Review URL: http://codereview.chromium.org/437021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32865 0039d316-1c4b-4281-b951-d872f2087c98
* Disable more tests causing crashes and failures on LinuxTest(dbg) and ↵tim@chromium.org2009-11-231-3/+8
| | | | | | | | | | | valgrind (respectively). TBR=levin BUG=28445 Review URL: http://codereview.chromium.org/438007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32862 0039d316-1c4b-4281-b951-d872f2087c98
* Test continues to be flaky, but it's getting run anyway so mark it DISABLED ↵tim@chromium.org2009-11-231-6/+3
| | | | | | | | | | | to keep things green. TBR=levin BUG=28445 Review URL: http://codereview.chromium.org/437008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32813 0039d316-1c4b-4281-b951-d872f2087c98
* Launch all child processes asynchronously so as not to block the IO thread.jam@chromium.org2009-11-211-2/+1
| | | | | | | BUG=6844, 27935 Review URL: http://codereview.chromium.org/402097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32750 0039d316-1c4b-4281-b951-d872f2087c98
* Mark worker tests as flaky on mac.tim@chromium.org2009-11-211-0/+4
| | | | | | | | | | TBR=jianli BUG=28445 TEST=SharedWorkerFastLayoutTest, WorkerFastLayoutTests Review URL: http://codereview.chromium.org/429001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32724 0039d316-1c4b-4281-b951-d872f2087c98
* Rename policy_url to first_party_for_cookies in cookie-related code.wtc@chromium.org2009-11-182-5/+6
| | | | | | | | | R=abarth BUG=25133 TEST=none. A cosmetic change. Review URL: http://codereview.chromium.org/403011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32373 0039d316-1c4b-4281-b951-d872f2087c98
* Enable worker-timeout.html layout test. It's fixed upstream.dimich@chromium.org2009-11-141-3/+1
| | | | | | | | TEST=worker-timeout.html BUG=25548 Review URL: http://codereview.chromium.org/396001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31998 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on shared workers by defaultatwilson@chromium.org2009-11-141-6/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31982 0039d316-1c4b-4281-b951-d872f2087c98
* Enabling shared worker tests for Linux/Mac. Windows is blocked on b27636.atwilson@chromium.org2009-11-131-1/+7
| | | | | | | | BUG=26899 Review URL: http://codereview.chromium.org/385099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31944 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes almost all of the rest of lint errors in the chrome/ directory (minus ↵erg@google.com2009-11-136-19/+19
| | | | | | | | the really hard ones which will need actual review instead of rubber-stamping.) Review URL: http://codereview.chromium.org/386026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31932 0039d316-1c4b-4281-b951-d872f2087c98
* Added lifecycle management and sharing support for SharedWorkers. SharedWorkersatwilson@chromium.org2009-11-134-10/+18
| | | | | | | | | | | | can now outlive their parent pages and can be shared by multiple instances across multiple tabs. BUG=26233 TEST=ui tests Review URL: http://codereview.chromium.org/390017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31868 0039d316-1c4b-4281-b951-d872f2087c98
* Upstreaming WebKit.gypyaar@chromium.org2009-11-129-20/+20
| | | | | | | | | | | | This mega patch contains a few simple but tightly dependent changes: 1. Deletion of webkit/api/WebKit.gyp. The file now lives in webkit.org. 2. Rename of webkit/webkit.gyp to webkit/webkit_glue.gyp. Having two webkit.gyp was a source of developer confusion. 3. Gyp dependencies are updated across chromium to point at the upstream WebKit.gyp and the renamed webkit_glue.gyp. 4. Some 200+ files include paths fixed to point to third_party/WebKit/WebKit/chromium instead of webkit/api. The later will be deleted in a subsequent patch. Review URL: http://codereview.chromium.org/387020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31749 0039d316-1c4b-4281-b951-d872f2087c98
* Turned on shared worker tests and added test expectations.atwilson@chromium.org2009-11-101-0/+59
| | | | | | | | | | | | Updated worker_uitests to set the enable-shared-worker flag and run the shared worker tests. Several tests will remain disabled still sharing is working. BUG=26899 TEST=this is all tests Review URL: http://codereview.chromium.org/372049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31566 0039d316-1c4b-4281-b951-d872f2087c98
* Enable back some worker UI tests.ager@chromium.org2009-11-091-4/+2
| | | | | | | | | | BUG=23597, 23709 Landing for Vitaly. Review URL: http://codereview.chromium.org/371021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31425 0039d316-1c4b-4281-b951-d872f2087c98
* Changed SharedWorkerScriptLoader and WebSharedWorkerProxy to stay alive ↵atwilson@chromium.org2009-11-091-1/+1
| | | | | | | | | | | until worker initialization is complete (they were being freed before the connect event was sent to the worker. BUG=26233 TEST=none (will be enabled after a separate upstream patch is landed) Review URL: http://codereview.chromium.org/372047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31417 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for --worker-startup-dialog command line flag.atwilson@chromium.org2009-11-061-0/+5
| | | | | | | | | Added ChildProcess::WaitForDebugger() utility routine, and changed the various processes to use it. Review URL: http://codereview.chromium.org/370006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31188 0039d316-1c4b-4281-b951-d872f2087c98
* Initial WebSharedWorkerImpl implementationatwilson@chromium.org2009-11-052-0/+6
| | | | | | | | | | | | | | | Refactored WebWorkerImpl into WebWorkerBase to enable code sharing with WebSharedWorkerImpl. Changed how SharedWorkers are instantiated (now routed through WebFrameClient just like DedicatedWorkers, because WebFrameClient is the only one who knows how to send messages to RenderViewHost. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Review URL: http://codereview.chromium.org/362020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31151 0039d316-1c4b-4281-b951-d872f2087c98
* Added beginnings of browser-process support for shared workers.atwilson@chromium.org2009-11-0510-91/+311
| | | | | | | | | | | | | Refactored WebWorkerClientProxy into two classes - WebWorkerDispatcher which dispatches incoming IPCs for the worker, and WebWorkerClientProxy, which handles outgoing API calls from WebWorkerImpl. This allows WebWorkerClientProxy to be reused by WebSharedWorkerDispatcher. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31077 Review URL: http://codereview.chromium.org/351004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31096 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the URL portion of storage events. This is mostly just plumbing + a ↵jorlow@chromium.org2009-11-052-2/+2
| | | | | | | | | | | | | hack for making them work in test shell and single process mode. This replaces http://codereview.chromium.org/335034/show TEST=none BUG=24581 Review URL: http://codereview.chromium.org/363014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31081 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Added beginnings of browser-process support for shared workers."atwilson@chromium.org2009-11-0510-311/+91
| | | | | | This reverts commit 31077. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31080 0039d316-1c4b-4281-b951-d872f2087c98
* Added beginnings of browser-process support for shared workers.atwilson@chromium.org2009-11-0510-91/+311
| | | | | | | | | | | Refactored WebWorkerClientProxy into two classes - WebWorkerDispatcher which dispatches incoming IPCs for the worker, and WebWorkerClientProxy, which handles outgoing API calls from WebWorkerImpl. This allows WebWorkerClientProxy to be reused by WebSharedWorkerDispatcher. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Review URL: http://codereview.chromium.org/351004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31077 0039d316-1c4b-4281-b951-d872f2087c98
* First half of http://codereview.chromium.org/274014/showjorlow@chromium.org2009-11-042-2/+27
| | | | | | | | | | | | This fixes storage events in single process mode, fixes a bug due to the glue/webkitclient_impl not being updated when I introduced quota support, introduces a params struct for storage events, and is general cleanup. Submitting this first since the change to add the url param made things bigger than I liked. TBR=darin TEST=none BUG=25427 Review URL: http://codereview.chromium.org/348071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30945 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate mime_util dependency in FrameLoaderClientImpl.darin@chromium.org2009-11-042-18/+88
| | | | | | | | | | | | | | This is a revision of http://codereview.chromium.org/344018 that adds an implementation of WebMimeRegistry for the worker process. We need this to support the dummy WebView created for workers. R=jam BUG=24604 TEST=covered by worker ui tests Review URL: http://codereview.chromium.org/342104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30941 0039d316-1c4b-4281-b951-d872f2087c98
* Initial pass of shared workers renderer-side codeatwilson@chromium.org2009-10-302-0/+6
| | | | | | | | | | | | | Added initial interface hooks betweek WebKit code and renderer-side worker code. The proper messages are generated to fire off a shared worker, but they are currently ignored by the browser process. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Review URL: http://codereview.chromium.org/340036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30599 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enabling worker fast tests (doing a more surgical disabling of just a ↵atwilson@chromium.org2009-10-221-7/+9
| | | | | | | | | | single test). BUG=22780 Review URL: http://codereview.chromium.org/315018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29821 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerFastLayoutTests on all platforms insteadnsylvain@chromium.org2009-10-211-6/+1
| | | | | | | | | | | of just Linux, because it keeps failing on Windows too. BUG=22780 Review URL: http://codereview.chromium.org/300040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29698 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable worker-script-error.html in ui_test nowlevin@chromium.org2009-10-161-2/+1
| | | | | | | | | | that r49408 form WebKit has been rolled in. BUG=23391 TEST=enabling a test Review URL: http://codereview.chromium.org/281012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29242 0039d316-1c4b-4281-b951-d872f2087c98
* Enables use-machine-stack.html worker test.hclam@chromium.org2009-10-131-4/+0
| | | | | | | | | | | | | | | | | TBR=domincc Original review: http://codereview.chromium.org/271069 Enables use-machine-stack.html worker test. As of WebKit revision 49427 Workers now set an appropriate stack limit on OS X, so this test can be enabled. Submitt this patch for Dominic Cooney <dominicc@google.com> Review URL: http://codereview.chromium.org/271082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28913 0039d316-1c4b-4281-b951-d872f2087c98
* Try to remove the flakiness from the WorkerLimit ui test by polling for ↵jam@chromium.org2009-10-131-19/+24
| | | | | | | | | process count change. BUG=22608 Review URL: http://codereview.chromium.org/261056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28880 0039d316-1c4b-4281-b951-d872f2087c98
* TBR=dglazkovhclam@chromium.org2009-10-121-10/+6
| | | | | | | | | | - Roll WebKit to r49473 - Re-enable failing ui_tests due to last roll - Remove some failing layout tests expectations Review URL: http://codereview.chromium.org/267060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28755 0039d316-1c4b-4281-b951-d872f2087c98
* Mark some more WorkerTest as failhclam@chromium.org2009-10-121-2/+4
| | | | | | | | | | | | TBR=darin BUG=24652 WorkerTest.MultipleWorkers and WorkerTest.LimitPerPage are failing too. Review URL: http://codereview.chromium.org/270071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28736 0039d316-1c4b-4281-b951-d872f2087c98
* Disable some more tests in WorkerTesthclam@chromium.org2009-10-121-3/+6
| | | | | | | | | | | | | TBR=darin These tests are failing on xp and vista: WorkerTest.SingleWorker WorkerTest.WorkerFastLayoutTests WorkerTest.WorkerXhrHttpLayoutTests Review URL: http://codereview.chromium.org/269056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28735 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.LimitTotalhclam@chromium.org2009-10-121-1/+2
| | | | | | | | | | | | TBR=darin BUG=24652 WorkerTest.LimitTotal starts to fail consistently after WebKit merge 40414:49432, disable it. Review URL: http://codereview.chromium.org/272031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28733 0039d316-1c4b-4281-b951-d872f2087c98
* Header dependency cleanup in chrome/phajdan.jr@chromium.org2009-10-121-0/+1
| | | | | | | | | | | | - reduce header dependencies - remove things that shouldn't be #included in a header, like string_util.h and theme_resources.h! TEST=none BUG=none Review URL: http://codereview.chromium.org/245011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28705 0039d316-1c4b-4281-b951-d872f2087c98
* Fix another race condition on worker process shutdown that results in ↵jam@chromium.org2009-10-103-0/+5
| | | | | | | | | | use-after-free. Like 23018, this is happening because valgrind is slowing the worker thread shutdown enough that the backup terminate process code executes. BUG=24346 TEST=covered by valgrind Review URL: http://codereview.chromium.org/266036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28646 0039d316-1c4b-4281-b951-d872f2087c98
* Fix use-after-free in the worker process. The object was shutting down the ↵jam@chromium.org2009-10-093-23/+14
| | | | | | | | | | process so it was a race condition that the process was still running when the task executed. BUG=23018 TEST=covered by valgrind on mac Review URL: http://codereview.chromium.org/267035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28620 0039d316-1c4b-4281-b951-d872f2087c98
* Enable a lot of WorkerTest.WorkerFastLayoutTests and comment outlevin@chromium.org2009-10-091-4/+3
| | | | | | | | | | | | the only test that is failing. (The test is still being investigated but it is good to keep as much running as possible.) BUG=23391 TEST=Enabling tests. Review URL: http://codereview.chromium.org/266035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28518 0039d316-1c4b-4281-b951-d872f2087c98
* Mark a ui test as flaky on windows.estade@chromium.org2009-10-071-1/+7
| | | | | | | | | TBR=jam BUG=22608 Review URL: http://codereview.chromium.org/262003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28226 0039d316-1c4b-4281-b951-d872f2087c98