What is the difference between Windows.history.back() and history.back() for Firefox OS? -


i developing apps ffos , , don't know difference between windows.history.back() , history.back() , recommend use each 1 ffos. recommendation each of following:

  • hosted apps?
  • package apps?

thanks!

@vedsa, both calls refers same method, being 'window' optional.

for security reasons history object doesn't allow non-privileged code access urls of other pages in session history, allow navigate session history.

here can find more windows properties , methods

which 1 recommended hosted x packeged apps?

as mentioned earlier, calling same method, , can considered aliases. having said that, there no difference on you're going use if it's hosted or packaged app.

the main difference between hosted vs packaged apps in first, you're hosting package on end, providing url marketplace has reference it. on other hand, when building packaged app, you're handing full self-containing app packaged marketplace, can host , distribute on marketplace.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -