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

Unified Diff: sky/tests/resources/dump-as-markup.sky

Issue 771093002: Use a JS markup serializer. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « sky/tests/parser/html-expected.txt ('k') | sky/viewer/internals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/resources/dump-as-markup.sky
diff --git a/sky/tests/resources/dump-as-markup.sky b/sky/tests/resources/dump-as-markup.sky
index 81e849faf859a051d12a3109ec9bd336fa9924cc..cebf2d49fbd11d45e2577a0d4c049ece058ecf66 100644
--- a/sky/tests/resources/dump-as-markup.sky
+++ b/sky/tests/resources/dump-as-markup.sky
@@ -1,5 +1,6 @@
+<import src="/sky/framework/dom-serializer.sky" as="DomSerializer" />
<script>
window.addEventListener('load', function() {
- internals.notifyTestComplete(internals.contentAsMarkup());
+ internals.notifyTestComplete(DomSerializer.serializeNode(document));
});
</script>
« no previous file with comments | « sky/tests/parser/html-expected.txt ('k') | sky/viewer/internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698