From 40b534d55537cf42f8bcd117b5b19b3ca108e8cc Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Thu, 13 Oct 2016 14:30:33 -0500 Subject: [PATCH] Bug 1308510 - Disable highlight for non-experimental WebAssembly format. r=jlongster MozReview-Commit-ID: 9LazMkxMQB6 --HG-- extra : rebase_source : 12f6dd092a507c04280718eff09c0686c0f66b78 --- devtools/client/debugger/debugger-view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/client/debugger/debugger-view.js b/devtools/client/debugger/debugger-view.js index 87fce0e632b8..964065367777 100644 --- a/devtools/client/debugger/debugger-view.js +++ b/devtools/client/debugger/debugger-view.js @@ -452,7 +452,7 @@ var DebuggerView = { } if (aContentType === "text/wasm") { - return void this.editor.setMode(Editor.modes.wasm); + return void this.editor.setMode(Editor.modes.text); } // Use HTML mode for files in which the first non whitespace character is