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

Unified Diff: sky/engine/core/html/parser/HTMLScriptRunner.cpp

Issue 688033003: Fix line numbers in JavaScript stack traces (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove unnecessary Created 6 years, 2 months 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: sky/engine/core/html/parser/HTMLScriptRunner.cpp
diff --git a/sky/engine/core/html/parser/HTMLScriptRunner.cpp b/sky/engine/core/html/parser/HTMLScriptRunner.cpp
index 7327513fe84e30e7ab3933204ea7f3b43b276291..9b63629359405df3855fbd47d708fa42b2f6efa4 100644
--- a/sky/engine/core/html/parser/HTMLScriptRunner.cpp
+++ b/sky/engine/core/html/parser/HTMLScriptRunner.cpp
@@ -59,7 +59,7 @@ void HTMLScriptRunner::executeScript(PassRefPtr<HTMLScriptElement> element, Text
TemporaryChange<bool> executingScript(m_isExecutingScript, true);
contextDocument->pushCurrentScript(element);
- frame->script().executeModuleScript(sourceDocument, source);
+ frame->script().executeModuleScript(sourceDocument, source, textPosition);
contextDocument->popCurrentScript();
}
« no previous file with comments | « sky/engine/bindings/core/v8/V8ScriptRunner.cpp ('k') | sky/tests/mutation-observer/mutation-record-nullity.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698