DescriptionMove the worker script loading code to the worker process (phase:2/5)
- Add content_security_policy and security_policy_type to ViewHostMsg_CreateWorker_Params and WorkerProcessMsg_CreateWorker_Params.
It is needed because WorkerMsg_StartWorkerContext will be removed.
- Implement workerScriptLoaded, workerScriptLoadFailed and selectAppChacheID.
- Queue WebMessagePortChannel in WebSharedWorkerStub::OnConnect
When we will add the script loading code in WebSharedWorkerImpl, the worker process can't respond to the connection request which is sent soon after the SharedWorker is created.
So we have to create WebMessagePortChannelImpl in WebSharedWorkerStub::OnConnect.
This is step 2 of moving the worker script loading code from the renderer process to the worker process.
See: http://crbug.com/329786
BUG=329786
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243864
Patch Set 1 #
Total comments: 8
Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : #Patch Set 5 : rebase #Patch Set 6 : Stop using forward reference to enum type. #
Total comments: 3
Patch Set 7 : Move IPC_ENUM_TRAITS(blink::WebContentSecurityPolicyType) to content_param_traits_macros.h. #Messages
Total messages: 24 (0 generated)
|