Remove fprintf()s I mis-committed in r179905

TBR=aandrey

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179913 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Invert the pass condition of fullscreen/full-screen-render-inline-expected.html

The bug hasn't been fixed, but now any unrelated change to the test
result will result in a failure, instead of being silently ignored.

BUG=246077

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179914 bbb929c8-8fbe-4397-9dbb-9b2b20218538
bindings: Introduces type-check for the internal pointers.

Makes the type of the internal pointers ScriptWrappableBase* so we can check
pointer conversions between the internal pointers and the native objects.
ScriptWrappableBase* is much safer than void* here because we can avoid
unintentional pointer conversions.

This CL also includes fixes of misconversions from/to the internal pointers.

Note that the definition of the internal pointers does not change by this CL.
We'll change the actual definition at the coming http://crrev.com/420233002 .

BUG=235436

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179915 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Show error message on attempt to load old Timeline data into tracing based Timeline

BUG=401953

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179916 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations: guard testRunner usages.

When testing web animations test htmls on chrome, "Uncaught ReferenceError:
testRunner is not defined" exception is fired.
So guard testRunner for convenience.

BUG=N/A

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179917 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid preloader-induced test flakiness.

If a preload request for <img> preload fails, the request will be retried
on parsing the element as per normal. This might result in more than
one request for the same resource, and consequently more than one console
error message might be output.

For img-crossorigin-no-credentials-prompt.html, avoid having the preloader
kick in by not relying on an external script.

R=
BUG=239918

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179918 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Credential Manager: Add platform-exposed Credential objects.

We're going to need to pass credentials up into Chromium, and back down
into Blink. This patch makes that possible by adding a shared
"Platform*Credential" type which can be used by both the Blink module's
"*Credential" objects, and the platform's "Platform*Credential" objects.

BUG=400674

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179919 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix crash when when detecting if LocalFrame is main frame

BUG=402043

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179920 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Sort build file contents

devtools.gyp* contents ordering is highly confusing, and it usually
takes some time to find certain snippets when modifying the deployment setup.

TBR=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179921 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Run microtasks at the end of each worker task.

This CL adds a TaskObserver that run Microtasks at the end of each Task
to WorkerThread. This CL also fixes a Promise resolution timing issue
caused by V8RecursionScope in the ScriptPromiseResolver implementation.
Because the microtask running timing has changed, We fix affected tests.

BUG=374772

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

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