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

Unified Diff: LayoutTests/inspector/elements/edit-dom-test.js

Issue 675473002: DevTools: preload codemirror for edit-dom-actions test (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/elements/edit-dom-test.js
diff --git a/LayoutTests/inspector/elements/edit-dom-test.js b/LayoutTests/inspector/elements/edit-dom-test.js
index 18af497d867547769800d6cb18ca5e87f7834c59..2f558b939df9e8064ecb77af32a36d12a42d5e7b 100644
--- a/LayoutTests/inspector/elements/edit-dom-test.js
+++ b/LayoutTests/inspector/elements/edit-dom-test.js
@@ -1,6 +1,9 @@
function initialize_EditDOMTests()
{
+// Preload codemirror which is used for "Edit as HTML".
+InspectorTest.preloadPanel("sources");
+
InspectorTest.doAddAttribute = function(testName, dataNodeId, attributeText, next)
{
InspectorTest.domActionTestForNodeId(testName, dataNodeId, testBody, next);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698