Closed Bug 487671 Opened 15 years ago Closed 15 years ago

Canvas drawImage() fails with Security error NS_ERROR_DOM_SECURITY_ERR after video has finished loading.

Categories

(Core :: Audio/Video, defect)

x86
Windows NT
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 486646

People

(Reporter: hansschmucker, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090409 Minefield/3.1b2pre ( LIKE Firefox/3.0 )
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090409

This must have happened sometime during the last two weeks. Canvas drawImage reliably (tested on clean profile) fails with an exception (NS_ERROR_DOM_SECURITY_ERR) if the video has finished loading. Everything works fine while it does.

Reproducible: Always

Steps to Reproduce:
1. Go to linked url
2. Quickly hit play while the video is still loading
3. Wait for it to finish loading
4. hit play again.
Actual Results:  
The canvas below the video is only updated (it should show the same image as above with anaglyph depth encoding) while the video is still loading. Afterwards you get a whole lot of errors in the console.

Expected Results:  
It should work no matter what the loading state of the video is.
Component: Layout: Canvas → Video/Audio
QA Contact: layout.canvas → video.audio
roc, I think there was an issue related to channels in the media cache triggering security problems?  I think this is a trunk build he's using so that might be an issue.
Version: unspecified → Trunk
It is a trunk built and after testing with 1.9.1 it seems like a trunk-only issue.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Depends on: 486646
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.