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

Unified Diff: LayoutTests/fast/dom/Document/document-current-script-expected.txt

Issue 14852011: Implement document.currentScript (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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: LayoutTests/fast/dom/Document/document-current-script-expected.txt
diff --git a/LayoutTests/fast/dom/Document/document-current-script-expected.txt b/LayoutTests/fast/dom/Document/document-current-script-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94c46a7255d975613e6ff4b3ea363d10b14318fb
--- /dev/null
+++ b/LayoutTests/fast/dom/Document/document-current-script-expected.txt
@@ -0,0 +1,26 @@
+Test basic usage of document.currentScript
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+<script id="a">
+<script id="b">
+<script id="c">
+<script id="d">
+<script id="c">
+<script id="e" src="...">
+<script id="f">
+<script id="f">
+<script id="g" src="...">
+<script id="h">
+<script id="h">
+<script id="i">
+<script id="j">
+<script id="i">
+<script id="defer-1" src="..." defer>
+<script id="defer-2" src="..." defer>
+PASS document.currentScript is null
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698