summaryrefslogtreecommitdiffstats
path: root/chrome/worker
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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