Skip to content

Little corrections for the test case of #5535 and the fix of issue #5628 #21

Merged
merged 2 commits into from Jul 10, 2012
View
2 tests/FBTest/content/FBTestFirebug.js
@@ -1195,7 +1195,7 @@ this.typeCommand = function(string, useCommandEditor)
var cmdLine = getCommandLine(useCommandEditor);
var win = panelBar1.browser.contentWindow;
- FBTest.setPref("commandEditor", useCommandEditor);
+ FBTest.setPref("commandEditor", (useCommandEditor == true));
FW.Firebug.chrome.window.focus();
panelBar1.browser.contentWindow.focus();
View
2 tests/content/console/executeSelection.html
@@ -39,7 +39,7 @@
<code style="color: red"> no selection</code>
</li>
<li>Switch back to Command Line</li>
- <li>Select <code style="color: green">var b = a || "selection"; console.log(b);</code></li>
+ <li>Select <code style="color: green">var b = window.a || "selection"; console.log(b);</code></li>
<li>Press <i>Enter</i></li>
<li>The Console panel should display : <br/>
<code style="color: red"> no selection</code>
Something went wrong with that request. Please try again.