[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r12130: Hack to fix the swfdec testc
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r12130: Hack to fix the swfdec testcase |
Date: |
Sun, 04 Apr 2010 13:14:25 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 12130
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Sun 2010-04-04 13:14:25 +0200
message:
Hack to fix the swfdec testcase
modified:
libcore/asobj/Selection_as.cpp
=== modified file 'libcore/asobj/Selection_as.cpp'
--- a/libcore/asobj/Selection_as.cpp 2010-03-11 01:47:08 +0000
+++ b/libcore/asobj/Selection_as.cpp 2010-04-04 11:14:25 +0000
@@ -219,8 +219,11 @@
// If the argument does not resolve to a DisplayObject, do nothing.
if (!ch) return as_value(false);
- // Will handle whether to set focus or not.
- mr.setFocus(ch);
+ // HACK FIXME ! This is an hack to succeed an swfdec testcase
+ if (getSWFVersion(fn) >= 6) {
+ // Will handle whether to set focus or not.
+ mr.setFocus(ch);
+ }
return as_value(false);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r12130: Hack to fix the swfdec testcase,
Sandro Santilli <=