Let ThreadableLoaderClientWrapper's client handle failures better.

If the ThreadableLoaderClientWrapper is notified of a redirect or
CORS access check failure, it forwards that notification to its client.

Do that without first moving the wrapper object to a 'done' state, so as
to allow the client to fully handle the failure -- the worker threadable
loader will for instance signal an error-cancellation failure back at
the wrapper.

R=abarth@chromium.org,tyoshino@chromium.org
BUG=386520

Review URL: https://codereview.chromium.org/340363003

git-svn-id: svn://svn.chromium.org/blink/trunk@176945 bbb929c8-8fbe-4397-9dbb-9b2b20218538
1 file changed