Bug 7706 - Document not repainted after invoking JavaScript method by Flash.
Summary: Document not repainted after invoking JavaScript method by Flash.
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 417.x
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://tests.novemberborn.net/browser...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2006-03-10 14:44 PST by Mark Wubben
Modified: 2010-04-05 13:17 PDT (History)
0 users

See Also:


Attachments
Contains the testcases linked to in the original bug report. (5.02 KB, application/octet-stream)
2006-03-10 14:46 PST, Mark Wubben
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.