summaryrefslogtreecommitdiffstats
path: root/chrome/worker
Commit message (Collapse)AuthorAgeFilesLines
* Merge 33164 - Changed shared worker code so incognito windows do not have ↵atwilson@chromium.org2009-11-302-1/+41
| | | | | | | | | | | | | | access to nonincognito shared workers. BUG=27883 TEST=added new uitest Review URL: http://codereview.chromium.org/441022 TBR=atwilson@chromium.org Review URL: http://codereview.chromium.org/450016 git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@33375 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 32750 - Launch all child processes asynchronously so as not to block ↵jam@chromium.org2009-11-211-2/+1
| | | | | | | | | | | | the IO thread. BUG=6844, 27935 Review URL: http://codereview.chromium.org/402097 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/418046 git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@32753 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 32373 - Rename policy_url to first_party_for_cookies in cookiewtc@chromium.org2009-11-202-5/+6
| | | | | | | | | | | | | | related code. R=abarth BUG=25133 TEST=none. A cosmetic change. Review URL: http://codereview.chromium.org/403011 TBR=wtc@chromium.org Review URL: http://codereview.chromium.org/418025 git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@32664 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
* Enable WorkerTest.LimitTotalestade@chromium.org2009-10-071-9/+13
| | | | | | | | BUG=22608 Review URL: http://codereview.chromium.org/256084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28216 0039d316-1c4b-4281-b951-d872f2087c98
* Add quota support.jorlow@chromium.org2009-10-032-16/+0
| | | | | | | | | | | Add a 5mb quota to DOM Storage. Most of the details are in an upstream patch (https://bugs.webkit.org/show_bug.cgi?id=29991 ). BUG=16876 TEST=I added a layout test upstream and it works. Review URL: http://codereview.chromium.org/255050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27942 0039d316-1c4b-4281-b951-d872f2087c98
* Disable message-port-constructor-for-deleted-document.html test for now.atwilson@chromium.org2009-10-031-1/+2
| | | | | | | | | BUG=23709 TEST=none Review URL: http://codereview.chromium.org/242137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27921 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.LimitTotalestade@chromium.org2009-10-021-6/+5
| | | | | | | | | | | | | | 1) Before, we were not doing fast render process termination. When we closed the tab, the render process was still lingering for a short while. 2) The last check didn't actually make sure there was one more worker; it was still counting the yet-to-terminate render process. 3) This hid the real failure, which is that there wasn't an extra worker process popping up. 4) Now that single tab termination is fast, we are actually shutting down the renderer in time to reveal this bug (sometimes---the failure is flaky). This test is disabled on linux and mac because it fails for some indeterminate reason; maybe they revealed the same problem, but have thus far been ignored. TBR=jam Review URL: http://codereview.chromium.org/242129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27909 0039d316-1c4b-4281-b951-d872f2087c98
* Roll deps to r48993.atwilson@chromium.org2009-10-021-1/+2
| | | | | | | | Disabled CSS tests broken by r48989 (will investigate later) Disabled broken messageport test (http://crbug.com/23597) Review URL: http://codereview.chromium.org/256035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27842 0039d316-1c4b-4281-b951-d872f2087c98
* Enabling WorkerTest.MessagePorts as the upstream regression was fixed:hamaji@chromium.org2009-10-011-1/+1
| | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=29798 BUG=23320 TEST=none Review URL: http://codereview.chromium.org/249055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27715 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize all member variables in the constructor.jhawkins@chromium.org2009-09-301-1/+6
| | | | | | | | | CID=4839 BUG=none TEST=none Review URL: http://codereview.chromium.org/242064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27593 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.WorkerFastLayoutTests.huanr@chromium.org2009-09-301-1/+3
| | | | | | | | | BUG=23391 TEST=None Review URL: http://codereview.chromium.org/255014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27579 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling failing WorkerTest.MessagePorts after WebKit roll.levin@chromium.org2009-09-291-1/+1
| | | | | | | | | | BUG=23320 TEST=None TBR=atwilson@chromium.org Review URL: http://codereview.chromium.org/245041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27467 0039d316-1c4b-4281-b951-d872f2087c98
* Disable a test that is causing valgrind problems.levin@chromium.org2009-09-261-2/+2
| | | | | | | | | BUG=23129 TEST=None Review URL: http://codereview.chromium.org/231019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27307 0039d316-1c4b-4281-b951-d872f2087c98
* More fixes for WorkerFastLayoutTests: enable them on Mac and Win, ↵dimich@google.com2009-09-251-1/+7
| | | | | | | | | | | reintroduce Linux guard that was removed by http://codereview.chromium.org/220034, since the test that fails on all platforms was disabled earlier: http://codereview.chromium.org/219033 BUG=none TEST=none TBR=jshin Review URL: http://codereview.chromium.org/224022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27158 0039d316-1c4b-4281-b951-d872f2087c98
* Re-disable all Worker tests until I can figure out exact set of failing ones.dimich@google.com2009-09-241-1/+1
| | | | | | | TBR=atwilson Review URL: http://codereview.chromium.org/239004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27126 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable WorkerFastTests and disable only one that fails.dimich@google.com2009-09-241-3/+3
| | | | | | | | BUG=22947 TEST=none Review URL: http://codereview.chromium.org/219033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27123 0039d316-1c4b-4281-b951-d872f2087c98
* Disable Worker*.WorkerFastLayoutTests for now.jshin@chromium.org2009-09-241-5/+2
| | | | | | | | | BUG=22942 TEST=Buildbots are green. TBR=dglazkov Review URL: http://codereview.chromium.org/220034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27099 0039d316-1c4b-4281-b951-d872f2087c98
* Enable and rebaseline worker-close.html after the upstream fix ↵jianli@chromium.org2009-09-241-3/+1
| | | | | | | | | | | (http://trac.webkit.org/changeset/48610) is landed. BUG=20953 TEST=worker-close.html Review URL: http://codereview.chromium.org/208069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27083 0039d316-1c4b-4281-b951-d872f2087c98