Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FBTest for issue 5349 (Context menu in select, radio, check, not work)
- Loading branch information
1 parent
0c016a5
commit 6b23c8c
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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"); | |||
}); | |||
}); | |||
} |