Status: Untriaged
Owner: ----
CC: [email protected],  [email protected]
Labels: Type-Bug Pri-2 OS-All Area-BrowserBackend Size-Medium Video  
Regression

New issue 19923 by [email protected]: [HTML5-Video] Many layout tests fail  
because video's addEventListener method is missing when assigning a video  
variable to another variable
http://code.google.com/p/chromium/issues/detail?id=19923

Issue:

Currently many layout tests fail to run in 4.0.202.0 (Official Build
23673), they give a "FAIL: timed out" message and could not run properly.

After investigation on layout test script video-test.js, I find the problem  
is:

When assigning a video variable "video1"  to another variable "video2", the
addEventListener() method is missing from variable "video2", this is the
cause of failure on layout tests

A simple reduction case below:

http://go/html5media/video-pass-variable.html

In above reduction case, variable video is referring the real video
element, then it is assigned to variable media, then media.addEventListener
is called to do something, however it fails, in chrome' console it gives an
error like "Uncaught TypeError: Object #<a Media> has no method
'addEventListener'"

This should be a regression issue, because in earlier chrome build, this
issue doesn't happen.



Attachments:
        video-pass-variable.html  343 bytes

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to