Credential Manager: Prepare to drop the WebString for error objects.

We don't need the string. We just need the enum. Unfortunately, we also
need the wrapper object in order to make the WebCallbacks templates
happy. We should fix that in the future.

Once this rolls into Chromium, we can change the implementation at
https://codereview.chromium.org/613993002/ to push the decision about
whether or not to expose the rejection to the web (by rejecting the
promise, vs fulfilling it with a null Credential) down into Blink, where
it probably belongs.

BUG=400674

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182924 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: search in files should't break the search if one file is too big.

v8 fails to convert a 300Mb blob into string handle and throws range exception.
See https://codereview.chromium.org/603393004/

BUG=414615

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
WorkerThread::terminated() needs to acquire a mutex

This is a speculative fix for bug 418040.
WorkerThread needs to grab m_threadCreationMutex when accessing WorkerThread::m_terminated.

BUG=418040
TEST=none. I couldn't reproduce it even with TSan.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use auto and Range-based loop interation in Source/core/dom/custom/

This patch adds combined usage of auto and Range-based loop
iteration as per allowed C++11 features.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Remove unused sourceData variable in InspectorStyleSheet. (patchset #1 id:1 of https://codereview.chromium.org/574963002/)

Reason for revert:
This code is still needed

Original issue's description:
> Remove unused sourceData variable in InspectorStyleSheet.
> 
> Breaks build for targets that treat unused variables as errors.
> 
> R=dgozman@chromium.org, vsevik@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182145

TBR=dgozman@chromium.org,ager@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
fast/dom/navigator-{with-content-}detached-no-crash.html no longer leaks.

With the leak addressed, sync LeakExpectations.

TBR=kouhei@chromium.org
BUG=385384
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182929 bbb929c8-8fbe-4397-9dbb-9b2b20218538