Summary: | SVG in <object> and <embed> should be restored from page cache | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael N. <svg> |
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Major | CC: | ahmad.saleem792, ap, beidson, dbates, lars.lehners, manian, pdr, thorton, webkit-bug-importer, zimmermann |
Priority: | P2 | Keywords: | BrowserCompat, InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://dahlström.net/svg/html/get-embedded-svg-document-script.html | ||
Attachments: |
Description
Michael N.
2013-01-05 09:25:21 PST
This might be expected behavior. Posted the previous comment prematurely. This sounds like a consequence of caching pages with plug-ins, and treating <object> and <embed> as plug-in content. Yup - we blindly treat <embed> and <object> as plug-ins even if they aren't actually backed by a plugin instance. We should be able to detect this and properly cache such elements. *** Bug 130018 has been marked as a duplicate of this bug. *** Created attachment 226517 [details] [Web Archive] http://dahlström.net/svg/html/get-embedded-svg-document-script.html For historical preservation, attached a web archive of <http://dahlström.net/svg/html/get-embedded-svg-document-script.html> as it appeared on 03/12/2014 using Safari Version 7.0.2 (9537.74.9). Created attachment 226519 [details] [Screenshot] Initial load of http://dahlström.net/svg/html/get-embedded-svg-document-script.html Screenshot of initial load of <http://dahlström.net/svg/html/get-embedded-svg-document-script.html>. Created attachment 226520 [details] [Screenshot] After navigating to another site and hitting back button Screenshot of <http://dahlström.net/svg/html/get-embedded-svg-document-script.html> after navigating to another site and hitting the back button to return to the dahlström.net page. Note, sometimes I needed to navigate to another site (e.g. apple.com), click the back button, click the forward button and then click the back button to reproduce this issue. It is still reproducible in Safari 17. 1) Go to > http://dahlström.net/svg/html/get-embedded-svg-document-script.html 2) All Green filled 3) Open 'gmail.com' or 'google.com' or any website on same tab 4) then using back button or swipe back gesture to go back to (1) page First two are now not 'green' filled. Adding 'BrowserCompat' as needed. Since Chrome Canary 119 and Firefox Nightly 120 are working fine. |