Add AX attribute for input type

When Input type is url, tel, search and email,
AX attributes for them will be exposed.

BUG=323161

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

git-svn-id: svn://svn.chromium.org/blink/trunk@183119 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Credential Manager: Add type-checking methods to Web*Credential.

We need to be able to determine what type of credential a given
WebCredential object thinks that it is in a few Chromium-side patches.
This seems like a good way of exposing that information.

BUG=400674

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

git-svn-id: svn://svn.chromium.org/blink/trunk@183120 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Correct data size argument type in resource loading path to unsigned

int is used for ThreadableLoaderClient::didReceiveData()'s dataLength
argument and some of its implementations are calling strlen when
dataLength is -1. It never happens. We should give appropriate type to
the data path.

Chromium side CL: https://codereview.chromium.org/615823002/

R=tkent,kouhei
BUG=418885

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

git-svn-id: svn://svn.chromium.org/blink/trunk@183121 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[ServiceWorker] Plumbing the request credentials mode to the ServiceWorker. [1/2 blink]

Currently the credentials mode of the FetchEvent's request is always 'omit'.
But this should be 'same-origin' or 'include'.
ex:
- <img src="./test.png">
 mode: no CORS
 credentials mode: same-origin
- <img src="./test.png" crossOrigin="anonymous">
 mode: CORS
 credentials mode: same-origin
- <img src="./test.png" crossOrigin="use-credentials">
 mode: CORS
 credentials mode: include


[1/2] blink: https://codereview.chromium.org/610403002/
[2/2] chromium: https://codereview.chromium.org/615493003/

This value is passed from the renederer to the ServiceWorker in the following steps.

In the renederer process:
  blink::ResourceRequest::setFetchCredentialsMode()  // not called yet
 blink::ResourceRequest::m_fetchCredentialsMode
  content::WebURLLoaderImpl::Context::Start()
   blink::WebURLRequest::fetchCredentialsMode()
    GetFetchCredentialsMode()
 conetnt::RequestInfo::fetch_credentials_mode


In the browser process:
 conetnt::RequestInfo::fetch_credentials_mode
  content::ResourceDispatcherHostImpl::BeginRequest()
   content::ServiceWorkerRequestHandler::InitializeHandler()
    content::ServiceWorkerProviderHost::CreateRequestHandler()
     content::ServiceWorkerControlleeRequestHandler::ServiceWorkerControlleeRequestHandler()
 content::ServiceWorkerControlleeRequestHandler::request_credentials_mode_
  content::ServiceWorkerControlleeRequestHandler::MaybeCreateJob()
   content::ServiceWorkerURLRequestJob::ServiceWorkerURLRequestJob()
 content::ServiceWorkerURLRequestJob::request_credentials_mode_
  content::ServiceWorkerURLRequestJob::CreateFetchRequest()
 content::ServiceWorkerFetchRequest::credentials_mode

In the ServiceWorker process:
 content::ServiceWorkerFetchRequest::credentials_mode
   content::ServiceWorkerScriptContext::OnFetchEvent()
   GetBlinkFetchRequestCredentialsMode()
   blink::WebServiceWorkerRequest::setCredentialsMode()
 blink::WebServiceWorkerRequest::WebServiceWorkerRequestPrivate::m_credentialsMode
  blink::Request::create()
  blink::FetchRequestData::create()
 blink::FetchRequestData::m_credentials

BUG=418509

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

git-svn-id: svn://svn.chromium.org/blink/trunk@183122 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ScriptPromiseResolver leaked resource when constructed on stopped context.

ScriptPromiseResolver stops working when the associated ExecutionContext is
stopped. ScriptPromiseResolver can be constructed on a stopped
ExecutionContext. In such a case the constructed resolver is stopped as well.
Moreover, it should release the created (internal) resolver not to leak
resource.

BUG=385384

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

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