On Tue, Feb 24, 2015 at 8:56 AM, Jonas Sicking <jo...@sicking.cc> wrote:
> On Mon, Feb 23, 2015 at 10:56 AM, Gavin Sharp <ga...@gavinsharp.com> > wrote: > > What does it mean to "save your <complex web app> for later viewing"? > > In gmail it would mean saving the set of emails that you are currently > looking at. > > For facebook it would mean the news-feed content that's currently on > the screen, or the event invitation details that you are currently > looking at. > > That's what we would get if we serialized the current DOM+CSS+images > to disk without any additional smarts. And all of these seem useful > for users. > If we serialize the current DOM + CSS + images and remove the scripts, we will present something to the user which is little more than a screenshot. Users will immediately try to interact with it and discover that's broken. That's a bad experience. To present these in a non-broken way we must run page scripts. We should not try to restrict the functionality of Web APIs for the sake of avoiding this. Rob -- oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo owohooo osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o oioso oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo owohooo osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro ooofo otohoeo ofoioroeo ooofo ohoeololo. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform