- From: <bugzilla@jessica.w3.org>
- Date: Mon, 03 May 2010 14:06:34 +0000
- To: www-svg@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9648
Summary: typo in dom_animate.svg
Product: SVG
Version: SVG 1.2 Tiny
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Animation
AssignedTo: schepers@w3.org
ReportedBy: damien.lespiau@intel.com
QAContact: www-svg@w3.org
A "mytimer" variable is defined, but some other, undefined, variable
"someTimer" is used in the script. Spotted thanks to the JavaScript interpreter
I use (SpiderMonkey) which, configured in a strict mode, will issue a
"someTimer is not defined" warning.
A "diff -u" patch is given to illustrate a possible fix.
diff --git a/tests/dom_animate.svg b/tests/dom_animate.svg
index 0997baf..77b7b44 100644
--- a/tests/dom_animate.svg
+++ b/tests/dom_animate.svg
@@ -10,7 +10,8 @@
var maxTime = 5000;
var textElement;
var svgRoot;
- var mytimer;
+ var someTimer;
// A listener for the timer
function someListener(evt) {
showAndGrowElement();
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 3 May 2010 14:06:36 UTC