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

Unified Diff: LayoutTests/inspector/documentation/document-parser.html

Issue 460323002: DevTools: Allow dynamic module registration only in tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/inspector/documentation/document-parser.html
diff --git a/LayoutTests/inspector/documentation/document-parser.html b/LayoutTests/inspector/documentation/document-parser.html
index 1f62ae32328d799a6364cf761bd80cd9dbe5295d..02d74fb2adcd690b3cef0e2710a4b821866a7660 100644
--- a/LayoutTests/inspector/documentation/document-parser.html
+++ b/LayoutTests/inspector/documentation/document-parser.html
@@ -5,8 +5,7 @@
function test()
{
- runtime.registerModule("documentation");
- runtime.loadModule("documentation");
+ InspectorTest.registerModule("documentation", true);
var testCases = [
"{{A|B={{C|D=blablabla}}}}",
"{{CS|Init=black|Values={{CSS Property Value\n|Data Type=color\n|Description=[[css/color|CSS color value]]}}\n}}",
« no previous file with comments | « LayoutTests/http/tests/inspector/layers-test.js ('k') | LayoutTests/inspector/documentation/documentation-url-provider.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698