Open Bug 733299 Opened 12 years ago Updated 7 months ago

Page Info > Media > Save As should save the (pinned) cache entry rather than revalidating/redownloading

Categories

(Firefox :: Page Info Window, defect)

defect

Tracking

()

People

(Reporter: jruderman, Unassigned, NeedInfo)

References

()

Details

On http://www.youtube.com/watch?v=FG0fTKAqZ5g, saving the video from Page Info usually redownloads it, even if it has already loaded completely in the youtube interface.
http://hg.mozilla.org/mozilla-central/annotate/7d0d1108a14e/browser/base/content/pageinfo/pageInfo.js#l822

>      saveURL(url, null, "SaveImageTitle", false, false, makeURI(item.baseURI));
The fourth parameter is aShouldBypassCache and it's false so we use:
Components.interfaces.nsIWebBrowserPersist.PERSIST_FLAGS_FROM_CACHE

So IIRC the Flash plugin uses it's own storage and not the browser cache.
OS: Mac OS X → All
Hardware: x86_64 → All
I'm not using the Flash plugin.
According to the media tab in page info:
Address; http://s.ytimg.com/yt/swfbin/watch_as3-vflVEINBz.swf
Type: application/x-shockwave-flash
Cache Source: Disk cache
Size: 244.54 KB (250,413 bytes)

Save As WFM: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120317 Firefox/14.0a1 SeaMonkey/2.11a1
It's a webm video for me, fwiw.
I fired up Minefield/Nightly and I still got a flash video. Cleared private data. Still got a flash video.
OK. Got it. Jesse forgot to mention in the STR that you need to go and join the youtube html5 beta program before you can see html5 video.
So
Location: http://o-o.preferred.tm-jhb1.v21.lscache6.c.youtube.com/videoplayback?sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cexpire&itag=43&ip=175.0.0.0&signature=29AF1840BAB1C247B0A82A6E195F10C2283C6653.49D22117D49682F9A2309296DE4606BEE11386BC&sver=3&ratebypass=yes&source=youtube&expire=1332007278&key=yt1&ipbits=8&cp=U0hSR1BLVV9MUkNOMl9IRVlDOllKMERpdURWSWJh&id=146d1f4ca02a6798
Type: video/webm
Size: 12,210.23 KB (12,503,280 bytes)

Save As is instantaneous. Only quirk is that the resulting file is videoplayback.htm :P

So still WFM.
George, please file a new bug on that (and comment with the new bug number). Your problem sounds unrelated to this bug, which is about Page Info and cache behavior.
Severity: normal → S3

Florian, did this get fixed by your patch in bug 415225 as well?

Flags: needinfo?(florian)
You need to log in before you can comment on or make changes to this bug.