Commit b351b2be authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

Mark LayoutTest for rebaseline for V8 change.

Inline event handlers are compiled with v8::ScriptCompiler::CompileFunctionInContext.
Previously, it compiles a wrapper script containing the event handler
and executes this wrapper script to object the event handler function.
This script execution is observable in debug stepping.

An upcoming V8 change skips this wrapper script and creates the event
handler function directly. This changes the debug stepping behavior.

R=kozyatinskiy@chromium.org, machenbach@chromium.org

Bug: v8:7172
Change-Id: I64ee3487f9ca893da305aa41dfc5d2e1e3da4ecc
Reviewed-on: https://chromium-review.googlesource.com/955594Reviewed-by: default avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542093}
parent c24cb7fb
......@@ -1433,6 +1433,9 @@ crbug.com/548765 http/tests/devtools/console-fetch-logging.js [ Failure Pass ]
crbug.com/v8/7486 http/tests/devtools/startup/console/console-format-startup-bigint.js [ Skip ]
crbug.com/v8/7486 http/tests/devtools/console/console-format-bigint.js [ Skip ]
# Temporarily disable test until we land change to v8::ScriptCompiler::CompileFunctionInContext.
crbug.com/v8/7172 inspector-protocol/debugger/step-into-inline-event-handler.js [ NeedsManualRebaseline ]
crbug.com/564109 [ Win ] http/tests/webfont/font-display-intervention.html [ Pass Failure Timeout ]
crbug.com/399951 http/tests/mime/javascript-mimetype-usecounters.html [ Pass Failure ]
......
......@@ -17,7 +17,7 @@
function dumpTopCallFrame(result) {
var frame = result.params.callFrames[0];
testRunner.log('functionName (should be empty): ' + (frame.functionName.length ? frame.functionName : 'empty'));
testRunner.log('functionName (should be onclick): ' + (frame.functionName.length ? frame.functionName : 'empty'));
}
await dp.Debugger.enable();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment