Bug 7706

Summary: Document not repainted after invoking JavaScript method by Flash.
Product: WebKit Reporter: Mark Wubben <bugs+webkit>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal Keywords: HasReduction
Priority: P2    
Version: 417.x   
Hardware: Mac   
OS: OS X 10.4   
URL: http://tests.novemberborn.net/browsers/safari/fscommand-redraw/
Attachments:
Description Flags
Contains the testcases linked to in the original bug report. none

Description Mark Wubben 2006-03-10 14:44:01 PST
When calling a JavaScript function through Flash' fscommand() Safari will not repaint the document. When the browser receives an Event, either a UIEvent or (as demostrated in the testcase) an onload event, it will repaint. Other events have not been tested.

<http://tests.novemberborn.net/browsers/safari/fscommand-redraw/failing.html> contains a test with no workaround. <http://tests.novemberborn.net/browsers/safari/fscommand-redraw/workaround.html> uses an innerHTML hack in the Flash movie embed tag. <http://tests.novemberborn.net/browsers/safari/fscommand-redraw/workaround-2.html> appends an image to the document which fires an onload event.

This bug was observed in Safari 417.8 with Flash 8.0.22. The nightly of March 10, 2006, did not invoke the JavaScript function, so the behaviour could not be observed.
Comment 1 Mark Wubben 2006-03-10 14:46:57 PST
Created attachment 6995 [details]
Contains the testcases linked to in the original bug report.
Comment 2 Mark Wubben 2006-03-10 14:54:35 PST
I've attached an archive of the tests linked to above.
Comment 3 Mark Wubben 2006-03-10 15:08:06 PST
The problem with the nightlies has been addressed in bug #7708.
Comment 4 Alexey Proskuryakov 2006-03-12 11:06:05 PST
Confirmed with ToT (with a fix for bug 7708).
Comment 5 Alexey Proskuryakov 2010-04-05 11:09:28 PDT
I can no longer reproduce this with Safari 4.0.5 on Mac OS X.
Comment 6 Alexey Proskuryakov 2010-04-05 13:17:59 PDT
I meant to say, Mac OS X 10.5.8.