Use V8ScriptRunner::callInternalFunction in V8LazyEventListener

R=abarth,eseidel
BUG=241743
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16060005

git-svn-id: svn://svn.chromium.org/blink/trunk@151369 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark inspector/profiler/heap-snapshot-inspect-dom-wrapper.html as flaky

BUG=244761
TBR=yurys@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151370 bbb929c8-8fbe-4397-9dbb-9b2b20218538
virtual/gpu/fast/hidpi/device-scale-factor-paint.html flaky timeout on Win7 Release

Test sometimes timesout in release win7 also, add expectation for that.

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20chromium.org&tests=virtual%2Fgpu%2Ffast%2Fhidpi%2Fdevice-scale-factor-paint.html

TBR=jochen@chromium.org
BUG=238858

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151371 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [HeapProfiler] mark heap-snapshot-inspect-dom-wrapper.html as Slow

BUG=none
TEST=heap-snapshot-inspect-dom-wrapper.html
TBR= jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151372 bbb929c8-8fbe-4397-9dbb-9b2b20218538
applyAuthorStyles and resetStyleInheritance should use shadow root's setNeedsStyleRecalc, not shadow host's.

- ShadowRoot::recalcStyle should see its styleChangeType. If FullStyleChange, use Force for its children's style recalc.
- Changed applyAuthorStyles and resetStyleInheritance to check whether the modified shadow root is inert or not. If inert, we don't need style recalc.

BUG=242151

Review URL: https://chromiumcodereview.appspot.com/15536002

git-svn-id: svn://svn.chromium.org/blink/trunk@151373 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement TreeScope::comparePosition.

TreeScope::comparePosition is a treescope version of Node::compareDocumentPosition.
This method will be used in the future version of DocumentStyleSheetCollection.

TEST=fast/dom/shadow/compare-treescope-position.html
BUG=244314

Review URL: https://chromiumcodereview.appspot.com/15675006

git-svn-id: svn://svn.chromium.org/blink/trunk@151374 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Text resource charset should be detected in IFH::loadResourceSynchronously()

TextResourceDecoder is used to build the correct result string with resource contents.

BUG=243266
R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151375 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unified agent method signatures used by InspectorConsoleInstrumentation.h

BUG=232160
R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151376 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [HeapObjectsTracking] mark heap-objects-tracking.html as Pass.

Looks like the process was crashed by another test

BUG=243481
TEST=heap-objects-tracking.html
TBR=jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151377 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Disable CSS warnings in devtools console.

BUG=244776
R=apavlov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151378 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [NativeMemoryInstrumentation] fix assert in debug for nmi-webaudio-leak-test.

1) loaderMap is reported as a member of HRTFDatabaseLoader
2) old instrumentation for the map was removed from PlatformMemoryInstrumentation
3) ScriptExecutionState instrumentation now visits raw pointers in ActiveDOMObjects map because it owns them.

Side effects:
1) better retainers tree for the loaderMap. now it is owned by HRTFDatabaseLoaders
2) restored coverage for all other ActiveDOMObects

BUG=none
TEST=inspector-protocol/nmi-webaudio-leak-test.html
R= yurys@chromium.org, alph@chromium.org, crogers@google.com

Review URL: https://chromiumcodereview.appspot.com/16191002

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