Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Issue 126070: Make XHR work in Workers. Creates a 'shadow page' in a worker process to prox... (Closed)

Created:
11 years, 6 months ago by Dmitry Titov
Modified:
9 years, 7 months ago
Reviewers:
michaeln, jam
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make XHR work in Workers. Creates a 'shadow page' in a worker process to proxy the loading requests through. BUG=4361 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18465

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 10

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -8 lines) Patch
M chrome/common/child_thread.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/renderer/renderer_glue.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/glue/webworker_impl.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M webkit/glue/webworker_impl.cc View 1 2 3 4 5 6 6 chunks +93 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Dmitry Titov
This is along the lines of creating 'fake frame' (I called it 'shadow page' because ...
11 years, 6 months ago (2009-06-12 20:22:28 UTC) #1
Dmitry Titov
Ah, this seems to be incomplete. I'll soon upload another patch with couple of fixes...
11 years, 6 months ago (2009-06-12 21:46:06 UTC) #2
Dmitry Titov
Now it's better. Instead of adding IsWorkerProcess similar to IsPluginProcess (this made some code from ...
11 years, 6 months ago (2009-06-12 23:04:45 UTC) #3
Dmitry Titov
ready for review.
11 years, 6 months ago (2009-06-12 23:05:15 UTC) #4
jam
http://codereview.chromium.org/126070/diff/1/4 File chrome/common/child_thread.h (right): http://codereview.chromium.org/126070/diff/1/4#newcode38 Line 38: static ChildThread* current(); I prefer keeping this the ...
11 years, 6 months ago (2009-06-12 23:27:41 UTC) #5
Dmitry Titov
Updated patch uploaded. http://codereview.chromium.org/126070/diff/1/4 File chrome/common/child_thread.h (right): http://codereview.chromium.org/126070/diff/1/4#newcode38 Line 38: static ChildThread* current(); On 2009/06/12 ...
11 years, 6 months ago (2009-06-13 01:29:52 UTC) #6
jam
http://codereview.chromium.org/126070/diff/1/4 File chrome/common/child_thread.h (right): http://codereview.chromium.org/126070/diff/1/4#newcode38 Line 38: static ChildThread* current(); On 2009/06/13 01:29:54, Dmitry Titov ...
11 years, 6 months ago (2009-06-13 02:15:06 UTC) #7
Dmitry Titov
On 2009/06/13 02:15:06, John Abd-El-Malek wrote: > http://codereview.chromium.org/126070/diff/1/4 > File chrome/common/child_thread.h (right): > > http://codereview.chromium.org/126070/diff/1/4#newcode38 ...
11 years, 6 months ago (2009-06-13 06:13:19 UTC) #8
michaeln
http://codereview.chromium.org/126070/diff/1/2 File webkit/glue/webworker_impl.cc (right): http://codereview.chromium.org/126070/diff/1/2#newcode186 Line 186: loading_document_ = web_frame->frame()->document(); Nice! Have you considered introducing ...
11 years, 6 months ago (2009-06-15 19:14:18 UTC) #9
Dmitry Titov
On 2009/06/13 02:15:06, John Abd-El-Malek wrote: > > > Why not just have this as ...
11 years, 6 months ago (2009-06-15 19:23:40 UTC) #10
Dmitry Titov
On 2009/06/15 19:14:18, michaeln wrote: > http://codereview.chromium.org/126070/diff/1/2 > File webkit/glue/webworker_impl.cc (right): > > http://codereview.chromium.org/126070/diff/1/2#newcode186 > ...
11 years, 6 months ago (2009-06-15 19:26:59 UTC) #11
Dmitry Titov
John, how's the last patch looking? Uploaded and some comments above.
11 years, 6 months ago (2009-06-15 20:13:34 UTC) #12
jam
On 2009/06/15 19:23:40, Dmitry Titov wrote: > On 2009/06/13 02:15:06, John Abd-El-Malek wrote: > > ...
11 years, 6 months ago (2009-06-15 21:47:10 UTC) #13
jam
btw, when I said static objects, I meant static objects with constructors. You can search ...
11 years, 6 months ago (2009-06-15 21:50:41 UTC) #14
jam
11 years, 6 months ago (2009-06-15 23:11:37 UTC) #15
lgtm

Powered by Google App Engine
This is Rietveld 408576698