summaryrefslogtreecommitdiffstats
path: root/chrome/worker
Commit message (Collapse)AuthorAgeFilesLines
* Introduce all the plumbing for Session Storage. This mostly consists of ↵jorlow@chromium.org2010-01-152-6/+0
| | | | | | | | | | | creating and tracking namespace ids in conjunction with the tabs. This is essentially just a bunch of dead code at the moment, but the next patch will get rid of the old way of generating/cloning IDs (initiated by the renderer) and instead use these IDs. TEST=none BUG=none Review URL: http://codereview.chromium.org/550017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36331 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.LimitTotal is flaky even on Windows.jshin@chromium.org2010-01-131-3/+1
| | | | | | | | BUG=28445 TBR=levin Review URL: http://codereview.chromium.org/549042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36165 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary references to webkit/glue/glue_util.h indarin@chromium.org2010-01-131-1/+0
| | | | | | | | | | | | preparation for deleting that file. R=dglazkov BUG=24607 TEST=none Review URL: http://codereview.chromium.org/551012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36140 0039d316-1c4b-4281-b951-d872f2087c98
* Disable websocket worker tests on debug binary temporary until WebKit fixed.ukai@chromium.org2010-01-131-0/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/542052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36117 0039d316-1c4b-4281-b951-d872f2087c98
* Add LayoutTests/websocket/tests/worker support.ukai@chromium.org2010-01-132-11/+34
| | | | | | | | | BUG=27618 TEST=none Review URL: http://codereview.chromium.org/460106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36114 0039d316-1c4b-4281-b951-d872f2087c98
* Fix wrong macro OS_MAC -> OS_MACOSXtyoshino@google.com2010-01-121-1/+1
| | | | | | | | BUG=28445 Review URL: http://codereview.chromium.org/536027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36000 0039d316-1c4b-4281-b951-d872f2087c98
* Mark flaky test WorkerTest.WorkerFastLayoutTests0.tyoshino@google.com2010-01-091-0/+3
| | | | | | | | | | | It's failing continuously on Valgrind Mac build bot. BUG=28445 TBR=japhet,lzheng Review URL: http://codereview.chromium.org/545004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35869 0039d316-1c4b-4281-b951-d872f2087c98
* Marking WorkerTest.LimitTotal disabled.tyoshino@google.com2010-01-081-1/+1
| | | | | | | | | | | | | Already fixing work is started for this issue, but since the test hangs the builder too frequently, I'd like to disable this test until it becomes stable. BUG=30307 TBR=lzheng,japhet Review URL: http://codereview.chromium.org/523160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35777 0039d316-1c4b-4281-b951-d872f2087c98
* Shard WorkerFastLayoutTests to avoid Flakiness.ajwong@chromium.org2010-01-081-54/+76
| | | | | | | | This should make it run on reliability on Valgrind UI test bots where the previous grouping was running near the max timeout per test. Review URL: http://codereview.chromium.org/521049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35760 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.LimitPerPage as flaky on Linux.viettrungluu@chromium.org2010-01-061-0/+5
| | | | | | | | | BUG=30307 TEST=no more redness on Linux Tests (dbg)(1) due to this? Review URL: http://codereview.chromium.org/523089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35614 0039d316-1c4b-4281-b951-d872f2087c98
* Putting back tests that are excluded in bug 28808oshima@chromium.org2009-12-221-7/+0
| | | | | | | | | BUG=28808 TEST=Run ui_tests Review URL: http://codereview.chromium.org/502071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35180 0039d316-1c4b-4281-b951-d872f2087c98
* 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