Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html

Issue 732593002: DevTools: Make StepInto work across script boundaries and Blink process tasks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html
diff --git a/LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html b/LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html
index 0faf9e742e8ac537bee10e26ca41371513b13093..87cd10023382aa3e6fc8b0cc20895eb3dfbe2a84 100644
--- a/LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html
+++ b/LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html
@@ -4,18 +4,23 @@
<script src="../../../http/tests/inspector/debugger-test.js"></script>
<script>
-function testFunction() {
+function testFunction()
+{
var proto = Object.create(HTMLElement.prototype);
- proto.createdCallback = function createdCallback() {
+ proto.createdCallback = function createdCallback()
+ {
output('Invoked createdCallback.');
};
- proto.attachedCallback = function attachedCallback() {
+ proto.attachedCallback = function attachedCallback()
+ {
output('Invoked attachedCallback.');
};
- proto.detachedCallback = function detachedCallback() {
+ proto.detachedCallback = function detachedCallback()
+ {
output('Invoked detachedCallback.');
};
- proto.attributeChangedCallback = function attributeChangedCallback() {
+ proto.attributeChangedCallback = function attributeChangedCallback()
+ {
output('Invoked attributeChangedCallback.');
};
var FooElement = document.registerElement('x-foo', { prototype: proto });
@@ -29,7 +34,8 @@ function testFunction() {
foo.remove();
}
-var test = function() {
+function test()
+{
InspectorTest.startDebuggerTest(step1, true);
function step1()
@@ -109,6 +115,5 @@ var test = function() {
<p>
Tests that stepping into custom element methods will lead to a pause in the callbacks.
</p>
-
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698