Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (54 sloc) 2.53 KB
<!DOCTYPE html>
<title>Execute Command Selection</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link href="" type="text/css" rel="stylesheet"/>
<script type="text/javascript">
window.addEventListener("load", function(){
var email = document.getElementById("email");
email.textContent = email.textContent
.replace("__AT__", String.fromCharCode(64))
.replace("__DOT__", ".");
}, false);
<h1><a href="">Issue 5535</a>: Execute Command Selection</h1>
<section id="description">
<p>This test case is intended for <em>command editor</em></p>
<li>Open Firebug</li>
<li>Enable and switch to the <em>Console</em> panel</li>
<li>Switch to the editor mode</li>
<li>Type the following commands : <br/>
<code style="color:green; white-space: normal;">var a = "no selection";<br/>
var b = window.a || "selection";<br/>
<li>Select the 2<sup>nd</sup> and the 3<sup>rd</sup> line</li>
<li>Click on "Run".</li>
<li>The console panel should display : <br/>
<code style="color: red"> selection</code>
<li>Collapse the selection</li>
<li>Click on "Run"</li>
<li>The Console panel should display : <br/>
<code style="color: red"> no selection</code>
<li>Switch back to Command Line</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>
Florent FAYOLLE, &lt;<span id="email">florent.fayolle69__AT__gmail__DOT__com</span>&gt;
Jump to Line
Something went wrong with that request. Please try again.