gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #38084] Superclass prototype method call failure


From: bl0ckeduser
Subject: [Gnash-commit] [bug #38084] Superclass prototype method call failure
Date: Fri, 25 Jan 2013 23:25:44 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0

Follow-up Comment #12, bug #38084 (project gnash):

Here is the log of TEST2 running in the Adobe player, version 
"LNX 11,2,202,261":

-- RUNNING TEST2 --
About to instanciate an SC2 now
XPASSED: ret == true [./XMLSocketTest.as:123]
ENDOFTEST
*** Security Sandbox Violation ***
Connection to FSCommand:quit halted - not permitted from file:///home/b
lockeduser/Documents/custom-software/gnash-dev/gnash/testsuite/misc-min
g.all/XMLSocketTest.swf
-- Browser scripting URLs may only be executed using the getURL and nav
igateToURL functions.
Warning: fail is not a function

Because the Adobe player did not seem to like the fail function, I 
changed it to a trace. I got the same results but at the end of the
log, after some time, the following appeared:

instance onConnect called

===========================================================================

Here it is in gnash with the "alternate this" patch:

14529:1] 2474 TRACE: -- RUNNING TEST2 --
14529:1] 2474 TRACE: About to instanciate an SC2 now
14529:1] 2475 ERROR: Trying superclass prototype call hack
14529:1] 2475 SECURITY: Load from host localhost.localdomain granted (d
efault)
14529:1] 2627 ERROR: getaddrinfo() needed to change localhost, check yo
ur /etc/hosts file!
14529:1] 2628 TRACE: XPASSED: ret == true [./XMLSocketTest.as:123]
14529:1] 2628 TRACE: ENDOFTEST
PASSED: consistency check: last trace from run of test  (ENDOFTEST) mat
ches pattern (ENDOFTEST)

I also tried running the alternate-this version without the code that
stops it when ENDOFTEST is reached and with "fail" replaced with "trace",
this resulted in the following additional trace:

23215:1] 2117 TRACE: SC1 prototype onConnect called

I believe this is indeed the incorrect behaviour that you mention.

Note: I have run the logs through "fold -71" to make them fit well
in the email format.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38084>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]