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

Issue 78233002: Implement initial part of WebEmbeddedWorker (Closed)

Created:
7 years, 1 month ago by kinuko
Modified:
7 years ago
CC:
blink-reviews, jamesr, dglazkov+blink, abarth-chromium, Mike West
Visibility:
Public.

Description

Implement initial part of WebEmbeddedWorker This implements: - Shadow page setup - Initial script loading - Some very basic wiring WorkerThread / WorkerGlobalScope code is not yet wired. BUG=313530 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162741

Patch Set 1 #

Total comments: 15

Patch Set 2 : updated #

Total comments: 15

Patch Set 3 : #

Patch Set 4 : Removing CSP related code #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : +comments #

Total comments: 2

Patch Set 7 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+326 lines, -8 lines) Patch
M Source/core/workers/WorkerScriptLoader.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/workers/WorkerScriptLoader.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download
M Source/platform/network/ResourceRequest.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A Source/web/WebEmbeddedWorkerImpl.h View 1 2 3 4 5 6 1 chunk +97 lines, -0 lines 0 comments Download
A Source/web/WebEmbeddedWorkerImpl.cpp View 1 2 3 4 5 6 1 chunk +200 lines, -0 lines 0 comments Download
M Source/web/web.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M public/platform/WebURLRequest.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M public/web/WebEmbeddedWorker.h View 1 chunk +1 line, -0 lines 0 comments Download
M public/web/WebEmbeddedWorkerStartData.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M public/web/WebServiceWorkerContextClient.h View 1 2 chunks +9 lines, -5 lines 0 comments Download
M public/web/WebServiceWorkerContextProxy.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
kinuko
PTL
7 years, 1 month ago (2013-11-20 12:09:09 UTC) #1
michaeln
https://codereview.chromium.org/78233002/diff/1/Source/web/WebEmbeddedWorkerImpl.cpp File Source/web/WebEmbeddedWorkerImpl.cpp (right): https://codereview.chromium.org/78233002/diff/1/Source/web/WebEmbeddedWorkerImpl.cpp#newcode97 Source/web/WebEmbeddedWorkerImpl.cpp:97: m_loading = false; Once we've retrieved the results of ...
7 years, 1 month ago (2013-11-21 02:00:40 UTC) #2
kinuko
Updated. I think it looks better.. PTAL? https://codereview.chromium.org/78233002/diff/1/Source/web/WebEmbeddedWorkerImpl.cpp File Source/web/WebEmbeddedWorkerImpl.cpp (right): https://codereview.chromium.org/78233002/diff/1/Source/web/WebEmbeddedWorkerImpl.cpp#newcode97 Source/web/WebEmbeddedWorkerImpl.cpp:97: m_loading = ...
7 years, 1 month ago (2013-11-21 06:36:05 UTC) #3
michaeln
https://codereview.chromium.org/78233002/diff/140001/Source/web/WebEmbeddedWorkerImpl.cpp File Source/web/WebEmbeddedWorkerImpl.cpp (right): https://codereview.chromium.org/78233002/diff/140001/Source/web/WebEmbeddedWorkerImpl.cpp#newcode66 Source/web/WebEmbeddedWorkerImpl.cpp:66: m_scriptLoader->setClient(0); was wondering where the that setter was used ...
7 years, 1 month ago (2013-11-21 22:05:35 UTC) #4
michaeln
https://codereview.chromium.org/78233002/diff/1/Source/web/WebEmbeddedWorkerImpl.cpp File Source/web/WebEmbeddedWorkerImpl.cpp (right): https://codereview.chromium.org/78233002/diff/1/Source/web/WebEmbeddedWorkerImpl.cpp#newcode109 Source/web/WebEmbeddedWorkerImpl.cpp:109: On 2013/11/21 06:36:05, kinuko wrote: > On 2013/11/21 02:00:40, ...
7 years, 1 month ago (2013-11-21 22:14:37 UTC) #5
kinuko
Updated, removed some parts for a next patch https://codereview.chromium.org/78233002/diff/140001/Source/web/WebEmbeddedWorkerImpl.cpp File Source/web/WebEmbeddedWorkerImpl.cpp (right): https://codereview.chromium.org/78233002/diff/140001/Source/web/WebEmbeddedWorkerImpl.cpp#newcode69 Source/web/WebEmbeddedWorkerImpl.cpp:69: virtual ...
7 years, 1 month ago (2013-11-22 02:23:33 UTC) #6
kinuko
While I was poking around CSP + Worker I learned that common usage is like ...
7 years, 1 month ago (2013-11-22 07:30:16 UTC) #7
kinuko
Some more info from Mike: > So, normal workers will inherit the CSP from the ...
7 years, 1 month ago (2013-11-22 12:25:08 UTC) #8
kinuko
...and leaving that part for now (I'll file a bug on github), can you review ...
7 years, 1 month ago (2013-11-22 12:26:28 UTC) #9
michaeln
> So current CSP document says the owner document's CSP policy should be enforced > ...
7 years, 1 month ago (2013-11-22 19:56:19 UTC) #10
michaeln
https://codereview.chromium.org/78233002/diff/140001/Source/web/WebEmbeddedWorkerImpl.cpp File Source/web/WebEmbeddedWorkerImpl.cpp (right): https://codereview.chromium.org/78233002/diff/140001/Source/web/WebEmbeddedWorkerImpl.cpp#newcode222 Source/web/WebEmbeddedWorkerImpl.cpp:222: m_workerStartData.scriptURL, On 2013/11/22 02:23:33, kinuko wrote: > On 2013/11/21 ...
7 years, 1 month ago (2013-11-22 20:01:15 UTC) #11
michaeln
lgtm
7 years, 1 month ago (2013-11-22 21:35:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/78233002/380001
7 years, 1 month ago (2013-11-23 00:22:10 UTC) #13
commit-bot: I haz the power
Failed to apply patch for Source/platform/network/ResourceRequest.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-23 00:22:15 UTC) #14
kinuko
abarth@: Could you do an owner review for public/web (minor changes only) and Source/web?
7 years ago (2013-11-25 01:30:39 UTC) #15
abarth-chromium
I don't really feel qualified to review this CL... Who is the right person to ...
7 years ago (2013-11-25 01:45:36 UTC) #16
kinuko
Thanks, added some response + comments. Let's see if adamk@ can review this (and related ...
7 years ago (2013-11-25 03:31:48 UTC) #17
kinuko
adamk@: ping, would you be able to take a look? Or I could try asking ...
7 years ago (2013-11-26 08:49:20 UTC) #18
adamk
Sorry for the delay, this got lost in my inbox yesterday. I'd be happy to ...
7 years ago (2013-11-26 18:54:34 UTC) #19
abarth-chromium
public/ <-- LGTM
7 years ago (2013-11-26 19:40:38 UTC) #20
kinuko
On 2013/11/26 18:54:34, adamk wrote: > Sorry for the delay, this got lost in my ...
7 years ago (2013-11-27 00:22:21 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/78233002/680001
7 years ago (2013-11-27 05:04:03 UTC) #22
commit-bot: I haz the power
7 years ago (2013-11-27 09:50:40 UTC) #23
Message was sent while issue was closed.
Change committed as 162741

Powered by Google App Engine
This is Rietveld 408576698