Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FBTest for issue 5349 (Context menu in select, radio, check, not work)

  • Loading branch information...
commit 6b23c8c0f457b5037c1c3c7a935f149bd8cee9b8 1 parent 0c016a5
@SebastianZ SebastianZ authored
View
1  tests/content/firebug.html
@@ -61,6 +61,7 @@
{group: "firebug", uri: "firebug/2613/issue2613.js", desc: "HTML, CSS, and DOM panels do not display on reload.", testPage: "firebug/2613/issue2613.html" },
{group: "firebug", uri: "firebug/4040/issue4040.js", desc: "Switching to a about:blank page does not update the panels", testPage: "firebug/4040/issue4040.html" },
{group: "firebug", uri: "firebug/4553/issue4553.js", desc: "iframe should be content-primary", testPage: "firebug/4553/issue4553.html" },
+ {group: "firebug", uri: "firebug/5349/issue5349.js", desc: "Context menu in select, radio, check, not work", testPage: "firebug/5349/issue5349.html" },
{group: "firebug/options", uri: "firebug/options/textSize.js", desc: "Changing Firebug text size.", testPage: "firebug/options/textSize.html" },
{group: "search", uri: "search/netPanelSearch.js", desc: "Search within the Net panel", testPage: "search/netVictim.htm" },
{group: "search", uri: "search/scriptPanelSearch.js", desc: "Search within the Script panel" },
View
33 tests/content/firebug/5349/issue5349.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Issue 5349: Context menu in select, radio, check, not work</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <link href="../../_common/testcase.css" type="text/css" rel="stylesheet"/>
+ </head>
+ <body>
+ <header>
+ <h1><a href="http://code.google.com/p/fbug/issues/detail?id=5349">Issue 5349</a>: Context menu in select, radio, check, not work</h1>
+ </header>
+ <div>
+ <section id="content">
+ <select id="selectbox">
+ <option>Hello</option>
+ <option>Firebug</option>
+ <option>user!</option>
+ </select>
+ </section>
+ <section id="description">
+ <h3>Steps to reproduce</h3>
+ <ol>
+ <li>Right-click the selectbox above</li>
+ </ol>
+ <h3>Expected result</h3>
+ <ul>
+ <li>The context menu should appear including the option <em>Inspect Element with Firebug</em></li>
+ </ul>
+ </section>
+ <footer>Sebastian Zartner, sebastianzartner@gmx.de</footer>
+ </div>
+ </body>
+</html>
View
12 tests/content/firebug/5349/issue5349.js
@@ -0,0 +1,12 @@
+function runTest()
+{
+ FBTest.sysout("issue5349.START");
+
+ FBTest.openNewTab(basePath + "chrome/5349/issue5349.html", function(win)
+ {
+ FBTest.executeContextMenuCommand(win.document.getElementById("selectbox"), "menu_firebugInspect", function()
+ {
+ FBTest.testDone("issue5349.DONE");
+ });
+ });
+}
Please sign in to comment.
Something went wrong with that request. Please try again.