summaryrefslogtreecommitdiffstats
path: root/chrome/worker
Commit message (Collapse)AuthorAgeFilesLines
* Switch a bunch of remaining filters to derive from BrowserMessageFilters so ↵jam@chromium.org2010-12-131-7/+9
| | | | | | | | that ResourceMessageFilter doesn't have to know about them and vice versa. A bunch of small cleanup in the process. I've added new message files for classes that want their messages dispatched on threads other than the IO. Review URL: http://codereview.chromium.org/5698008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69008 0039d316-1c4b-4281-b951-d872f2087c98
* Start deinlining non-empty virtual methods. (This will be automatically checkederg@google.com2010-12-098-11/+25
| | | | | | | | | | | for in the future.) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5574006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68746 0039d316-1c4b-4281-b951-d872f2087c98
* Add the "virtual" keyword on method overrides that are missing it.erg@google.com2010-12-081-7/+7
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5648004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68606 0039d316-1c4b-4281-b951-d872f2087c98
* Fix WorkerTest.WorkerWebSocketLayoutTests.yutak@chromium.org2010-12-021-14/+12
| | | | | | | | | | | | | The test now starts HTTPd along with the WebSocket server. Running both servers has become required because WebKit moved WebSocket tests under LayoutTests/http/ directory. BUG=49381 TEST=Run "ui_tests --gtest_filter=WorkerTest.WorkerWebSocketLayoutTests". Review URL: http://codereview.chromium.org/5432002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67946 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 64688: Expose typed arrays in Workersjianli@chromium.org2010-12-011-0/+3
| | | | | | | | | BUG=64688 TEST=Manual test Review URL: http://codereview.chromium.org/5422001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67819 0039d316-1c4b-4281-b951-d872f2087c98
* Check content settings when accessing web databases from workers.jochen@chromium.org2010-11-252-5/+22
| | | | | | | | | BUG=40095 TEST=none Review URL: http://codereview.chromium.org/3053007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67395 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some obsolete FLAKY_ markers, and add some missing bug referencesstuartmorgan@chromium.org2010-11-091-2/+1
| | | | | | | | | BUG=29020,35221,62143,62595 TEST=N/A Review URL: http://codereview.chromium.org/4759001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65589 0039d316-1c4b-4281-b951-d872f2087c98
* Split out command IDs from chrome_dll_resource.h.evan@chromium.org2010-11-081-1/+1
| | | | | | | | | | | | The name of this file is a leftover from Windows. Split the command ids (which are used on all platforms) out, leaving just the Windows-specific resource IDs in the original file. TEST=compiles Review URL: http://codereview.chromium.org/4710001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65453 0039d316-1c4b-4281-b951-d872f2087c98
* Added ability to propogate create to suggest whether or not filesystem's ↵kkanetkar@chromium.org2010-11-031-1/+1
| | | | | | | | | | | | | root should be created if the path doesn't exist. BUG=None TEST=None Review URL: http://codereview.chromium.org/4350001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64862 0039d316-1c4b-4281-b951-d872f2087c98
* Convert implicit scoped_refptr constructor calls to explicit ones, part 1thakis@chromium.org2010-11-011-2/+2
| | | | | | | | | | | This CL was created automatically by this clang rewriter: http://codereview.appspot.com/2776043/ . I manually fixed a few rough spots of the rewriter output (doh1-3) and fixed all presubmit errors. BUG=28083 TEST=None Review URL: http://codereview.chromium.org/4192012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64573 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bunch of missing bug references to FLAKY testsstuartmorgan@chromium.org2010-10-271-0/+1
| | | | | | | | | BUG=None TEST=N/A Review URL: http://codereview.chromium.org/4135007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64150 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert r63457, "WorkerWebKitClientImpl::mimeTypeForExtension should ↵levin@chromium.org2010-10-221-3/+3
| | | | | | not use WorkerThread::current"" git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63460 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r63457, "WorkerWebKitClientImpl::mimeTypeForExtension should not use ↵levin@chromium.org2010-10-221-3/+3
| | | | | | WorkerThread::current" git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63458 0039d316-1c4b-4281-b951-d872f2087c98
* WorkerWebKitClientImpl::mimeTypeForExtension should not use ↵kinuko@chromium.org2010-10-221-3/+3
| | | | | | | | | | | | | | | WorkerThread::current Currently FileEntry.file() or FileEntrySync.file() calls File::create() on the (WebKit's) worker thread but on chromium we use WorkerThread::current() (which assumes WebKit's main thread in the worker process) to process the mime request initiated by File::create(). File::create() needs to be called on the main thread (this is related to webkit.org/b/47700) or WorkerWebKitClientImpl::mimeTypeForExtension should not use WorkerThread::current() to process the request. BUG=60081 TEST=no crash in fast/filesystem/workers/file-from-file-entry.html Review URL: http://codereview.chromium.org/4012002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63454 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.WorkerClose as flaky.phajdan.jr@chromium.org2010-10-191-1/+2
| | | | | | | | | | | TBR=dimich BUG=59786 TEST=ui_tests Review URL: http://codereview.chromium.org/3820011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63055 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.WorkerCloseFast as flaky.phajdan.jr@chromium.org2010-10-191-1/+2
| | | | | | | | | | | TBR=dimich BUG=59780 TEST=ui_tests Review URL: http://codereview.chromium.org/3797015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63052 0039d316-1c4b-4281-b951-d872f2087c98
* Flip the filesystem flag from --enable to --disable.kinuko@chromium.org2010-10-161-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3750010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62835 0039d316-1c4b-4281-b951-d872f2087c98
* Support file utilities and mime-related methods on workers.kinuko@chromium.org2010-10-152-21/+86
| | | | | | | | | | | They are necessary to support File::create and File.size() on workers. BUG=none TEST=none Review URL: http://codereview.chromium.org/3660003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62692 0039d316-1c4b-4281-b951-d872f2087c98
* Add Worker tests for FileSystem API.kinuko@chromium.org2010-10-071-0/+51
| | | | | | | | | | | | Depends on the patch for webkit.org/b/46405 Currently it's disabled as the feature is not turned on by default yet (may need some trick to force enabling it for ui_tests). BUG=32277 TEST=WorkerTest.WorkerFileSystemLayoutTest Review URL: http://codereview.chromium.org/3576005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61770 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply r61237: FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-042-3/+14
| | | | | | | | | | | | | | | Removes changes to code in webkit/ that broke chrome_frame. Will debug that portion later. (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles First Review URL: http://codereview.chromium.org/3563004 Review URL: http://codereview.chromium.org/3621003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61435 0039d316-1c4b-4281-b951-d872f2087c98
* WorkerTest.WorkerWebSocketLayoutTests: disable, as it always times out.evan@chromium.org2010-10-041-2/+2
| | | | | | | | BUG=49381 Review URL: http://codereview.chromium.org/3617004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61397 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for websocket tests move under http/testsukai@chromium.org2010-10-041-0/+4
| | | | | | | | | | | | | websocket layout tests has been moved under http/tests/websocket/tests. We need to checkout these directory under src/chrome/test/data/layout_tests/LayoutTests for worker tests and extension api tests. Fix test path for worker tests. BUG=57662 TEST=trybot Review URL: http://codereview.chromium.org/3581010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61350 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "FBTF: Another big ctor/dtor cleanup found by automated tools."erg@google.com2010-10-012-14/+3
| | | | | | | | | | | This reverts commit 27ea47d65cf8767f350113d5ad9e25170efde811 (r61237). BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3609005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61240 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-012-3/+14
| | | | | | | | | | | (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61237 0039d316-1c4b-4281-b951-d872f2087c98
* Prospectively re-enabling QueuedSharedWorkerShutdown.atwilson@chromium.org2010-10-011-8/+1
| | | | | | | | | BUG=42641 TEST=the test itself Review URL: http://codereview.chromium.org/3526006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61226 0039d316-1c4b-4281-b951-d872f2087c98
* Add Worker support for FileSystem API.kinuko@chromium.org2010-09-2710-4/+49
| | | | | | | | | | | | | (corresponds to https://bugs.webkit.org/show_bug.cgi?id=45808) No support for shared workers yet. BUG=32277 TEST=none; layout tests will be added later. Review URL: http://codereview.chromium.org/3394003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60683 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.WorkerHttpLayoutTests. It always times out.evan@chromium.org2010-09-171-2/+2
| | | | | | BUG=16934 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59812 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.QueuedSharedWorkerShutdown as flaky on Mac, it times out.bauerb@chromium.org2010-09-091-1/+8
| | | | | | | BUG=42641 TBR=atwilson@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58927 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 8)thestig@chromium.org2010-09-081-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3232003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58794 0039d316-1c4b-4281-b951-d872f2087c98
* Support sending BlobData to browser process. Also support sending UploadDatajianli@chromium.org2010-08-273-0/+15
| | | | | | | | | | | with the blob info to browser process. BUG=none TEST=none Review URL: http://codereview.chromium.org/3108042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57707 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Move individual XXXMsg_Params structs to a new file.erg@google.com2010-08-241-0/+1
| | | | | | | | | | | | | | | | The new file, render_messages_params.h, is included in 57 files, while render_messages.h is included in 176 files. Moving the Params structs to their own file allow pruning the included headers. (Part 2 of this cleanup will be sorting the individual structs into themes to further minimize header inclusion.) BUG=51411 TEST=compiles Review URL: http://codereview.chromium.org/3119035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57229 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WorkerTest.QueuedSharedWorkerShutdown because it seems to work 100% now.atwilson@chromium.org2010-08-241-2/+1
| | | | | | | | | BUG=42641 TEST=WorkerTest.QueuedSharedWorkerShutdown Review URL: http://codereview.chromium.org/3153036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57144 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WebFileSystem to WebFileUtilities for corresponding WebKit API changes.kinuko@chromium.org2010-08-182-5/+5
| | | | | | | | | | | | This change depends on an upstream change (not yet rolled): http://trac.webkit.org/changeset/65482 BUG=52355 TESTS=existing tests (like ones under fast/files) should pass Review URL: http://codereview.chromium.org/3153015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56564 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Header cleanup in chrome/common. Part 1.jhawkins@chromium.org2010-08-172-0/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3106016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56444 0039d316-1c4b-4281-b951-d872f2087c98
* Test server cleanup patch of death:phajdan.jr@chromium.org2010-08-171-9/+8
| | | | | | | | | | | | | | - reduce the number of different classes - clean up the internal code - modify the interface to expose less internal details (this will allow more flexibility with port numbers) TEST=many BUG=49680 Review URL: http://codereview.chromium.org/3080029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56405 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove "obviously" unneeded standard C++ library #includes.viettrungluu@chromium.org2010-08-151-3/+1
| | | | | | | | | BUG=none TEST=builds Review URL: http://codereview.chromium.org/3179017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56171 0039d316-1c4b-4281-b951-d872f2087c98
* Add undeclared virtual destructors part 4ziadh@chromium.org2010-07-301-1/+1
| | | | | | | | | | | | | | | Preventative maintenance for abstract classes that do not declare virtual destructors. Base classes that do not declare their destructors as virtual could potentially lead to memory leaks. These files were discovered using the -Wnon-virtual-dtor flag in g++. r=jar BUG=47469 Review URL: http://codereview.chromium.org/3032046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54408 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Move more test server code from net/url_request/url_request_unittest.hphajdan.jr@chromium.org2010-07-291-3/+5
| | | | | | | | | | | | | to net/test/test_server.h No code changes, just a move. TEST=none BUG=49680 Review URL: http://codereview.chromium.org/3034038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54201 0039d316-1c4b-4281-b951-d872f2087c98
* Mark FLAKY_QueuedSharedWorkerStartedFromOtherTab flaky on all platforms.evan@chromium.org2010-07-271-9/+2
| | | | | | | | | | This fails on all platforms, not just Mac. BUG=48148 Review URL: http://codereview.chromium.org/3036022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53815 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-269-0/+9
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: test server cleanup:phajdan.jr@chromium.org2010-07-231-4/+2
| | | | | | | | | | | | | - simplify the public interface - remove unneeded methods - make it easier to understand TEST=none BUG=49680 Review URL: http://codereview.chromium.org/2881028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53509 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the only sync DB test we've been running. We need to replacedumi@chromium.org2010-07-221-5/+0
| | | | | | | | | | | | the hacky layout_test_controller.html with a real LayoutTestController implementation before running sync DB tests as UI tests. BUG=49118 TEST=none Review URL: http://codereview.chromium.org/2824067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53373 0039d316-1c4b-4281-b951-d872f2087c98
* Add more worker tests to WorkerWebSocketLayoutTests.yutak@chromium.org2010-07-221-2/+5
| | | | | | | | | BUG=none TEST=WorkerTest.WorkerWebSocketLayoutTests Review URL: http://codereview.chromium.org/3020016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53299 0039d316-1c4b-4281-b951-d872f2087c98
* Call rand_s() in a worker process before entering the sandbox.yutak@chromium.org2010-07-202-0/+5
| | | | | | | | | | | | We need to do it to cause advapi32.dll to load the sandbox is turned on. Otherwise rand_s() will fail in the sandbox. BUG=47390 TEST=Run "ui_tests --gtest_filter=WorkerTest.WorkerWebSocketLayoutTests". Review URL: http://codereview.chromium.org/2799047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53027 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.WorkerWebSocketLayoutTests as flaky.jhawkins@chromium.org2010-07-161-1/+2
| | | | | | | | | | TBR=mmoss BUG=49381 TEST=WorkerTest.WorkerWebSocketLayoutTests Review URL: http://codereview.chromium.org/3028011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52771 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52744 - Enable all sync DB layout tests.dumi@chromium.org2010-07-161-43/+28
| | | | | | | | | | | | BUG=49118 TEST=none Review URL: http://codereview.chromium.org/2813055 TBR=dumi@chromium.org Review URL: http://codereview.chromium.org/2847057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52758 0039d316-1c4b-4281-b951-d872f2087c98
* Enable all sync DB layout tests.dumi@chromium.org2010-07-161-28/+43
| | | | | | | | | BUG=49118 TEST=none Review URL: http://codereview.chromium.org/2813055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52744 0039d316-1c4b-4281-b951-d872f2087c98
* Remove FAIL flag from WorkerTest.WorkerWebSocketLayoutTests on Windows.yutak@chromium.org2010-07-161-6/+0
| | | | | | | | | | | | | This test was failing because of a bug in pywebsocket library. The bug was fixed and the new version of pywebsocket was pulled into WebKit, therefore the test should pass now. BUG=44792 TEST=Run "ui_tests --gtest_filter=WorkerTest.WorkerWebSocketLayoutTests" on Windows. Review URL: http://codereview.chromium.org/2808050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52641 0039d316-1c4b-4281-b951-d872f2087c98
* Disable failing test from r52393 to green the tree.ojan@google.com2010-07-141-1/+2
| | | | | | Review URL: http://codereview.chromium.org/2893017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52417 0039d316-1c4b-4281-b951-d872f2087c98
* TTF: Re-enable WorkerTest.QueuedSharedWorkerShutdown by marking it as FAILS_.jhawkins@chromium.org2010-07-131-1/+1
| | | | | | | | | | TBR=estade BUG=42641 TEST=WorkerTest.QueuedSharedWorkerShutdown Review URL: http://codereview.chromium.org/2950006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52221 0039d316-1c4b-4281-b951-d872f2087c98