[Pkg-mozext-commits] [firebug] 07/56: Removed test case for issue 7300 as watch expressions are not cropped since issue 7591
David Prévot
taffit at moszumanska.debian.org
Wed Nov 19 21:01:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository firebug.
commit 37bf7dc317a7fd60a2cd510c60118a9bfa56f65a
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date: Wed Sep 10 23:01:15 2014 +0200
Removed test case for issue 7300 as watch expressions are not cropped
since issue 7591
---
tests/content/firebug.html | 1 -
tests/content/script/watch/7300/issue7300.html | 38 --------------------------
tests/content/script/watch/7300/issue7300.js | 36 ------------------------
3 files changed, 75 deletions(-)
diff --git a/tests/content/firebug.html b/tests/content/firebug.html
index 63a679f..0c3d78c 100644
--- a/tests/content/firebug.html
+++ b/tests/content/firebug.html
@@ -382,7 +382,6 @@ var testList = [
{group: "script/watch", uri: "script/watch/5336/issue5336.js", desc: "HTMLCollection object is undefined in the Script panel", testPage: "script/watch/5336/issue5336.html"},
{group: "script/watch", uri: "script/watch/5639/issue5639.js", desc: "Allow deleting all watch expressions at once", testPage: "script/watch/5639/issue5639.html"},
{group: "script/watch", uri: "script/watch/6855/issue6855.js", desc: "Display the returned value or the exception thrown", testPage: "script/watch/6855/issue6855.html"},
- {group: "script/watch", uri: "script/watch/7300/issue7300.js", desc: "Watch expressions are cropped when editing them", testPage: "script/watch/7300/issue7300.html"},
{group: "script/watch", uri: "script/watch/7332/issue7332.js", desc: "Cropped string can't be expanded in the Watch panel", testPage: "script/watch/7332/issue7332.html"},
{group: "dom", uri: "dom/attributes/attributes.js", desc: "Better DOM representation for element attributes", testPage: "dom/attributes/attributes.html" },
{group: "dom", uri: "dom/breakpoints/6432/issue6432.js", desc: "Long string properties don't allow to set a breakpoint for them", testPage: "dom/breakpoints/6432/issue6432.html" },
diff --git a/tests/content/script/watch/7300/issue7300.html b/tests/content/script/watch/7300/issue7300.html
deleted file mode 100644
index f5be571..0000000
--- a/tests/content/script/watch/7300/issue7300.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>Issue 7300: Watch expressions are cropped when editing them</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <link href="../../../_common/testcase.css" type="text/css" rel="stylesheet"/>
- <script type="text/javascript">
- var veryLongVariableNameToTestNameCropping = "Hello Firebug user!";
- </script>
- </head>
- <body>
- <header>
- <h1><a href="http://code.google.com/p/fbug/issues/detail?id=7300">Issue 7300</a>: Watch expressions are cropped when editing them</h1>
- </header>
- <div>
- <section id="description">
- <h3>Steps to reproduce</h3>
- <ol>
- <li>Open Firebug</li>
- <li>
- Enable and switch to the <em>Script</em> panel and there to the
- <em>Watch</em> side panel
- </li>
- <li>
- Add a new watch expression called <code>veryLongVariableNameToTestNameCropping</code><br/>
- <span class="ok">⇒ The name of the variable should be cropped to <code>veryLongVa...ameCropping</code></span>
- </li>
- <li>Right-click the watch expression and choose <em>Edit Watch...</em> from the context menu</li>
- </ol>
- <h3>Expected result</h3>
- <ul>
- <li>The editor should open and display the full name of the variable.</li>
- </ul>
- </section>
- <footer>Sebastian Zartner, sebastianzartner at gmail.com</footer>
- </div>
- </body>
-</html>
diff --git a/tests/content/script/watch/7300/issue7300.js b/tests/content/script/watch/7300/issue7300.js
deleted file mode 100644
index 65756a4..0000000
--- a/tests/content/script/watch/7300/issue7300.js
+++ /dev/null
@@ -1,36 +0,0 @@
-function runTest()
-{
- var variableName = "veryLongVariableNameToTestNameCropping";
-
- FBTest.openNewTab(basePath + "script/watch/7300/issue7300.html", (win) =>
- {
- FBTest.openFirebug(() =>
- {
- FBTest.enableScriptPanel(() =>
- {
- var panelNode = FBTest.selectPanel("watches").panelNode;
- FBTest.addWatchExpression(null, variableName,
- (value) =>
- {
- var row = FW.FBL.getAncestorByClass(value, "memberRow");
- var labelBox = row.getElementsByClassName("memberLabelBox")[0];
-
- var croppedVariableName = FW.FBL.cropString(variableName, 25);
- FBTest.compare(croppedVariableName, labelBox.textContent,
- "Expression name must be cropped");
-
- FBTest.executeContextMenuCommand(row, "EditDOMProperty", () =>
- {
- var editor = panelNode.getElementsByClassName("fixedWidthEditor completionInput")[0];
- if (FBTest.ok(editor, "The editor must be there"))
- {
- FBTest.compare(variableName, editor.value,
- "Full value must be displayed within the editor");
- }
- FBTest.testDone();
- });
- });
- });
- });
- });
-}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list