Closed Bug 466833 Opened 16 years ago Closed 16 years ago

Option to refresh page periodically

Categories

(Mozilla Labs :: Prism, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: matthew.gertner, Assigned: matthew.gertner)

Details

Attachments

(1 file, 2 obsolete files)

Some sites (Facebook, Twitter, etc.) aren't properly ajaxy so you have to enable navigation and refresh manually, which is a pain. Would be nice to have an option in webapp.ini to refresh automatically every X seconds.
Attached patch No sooner said than done (obsolete) — Splinter Review
Attachment #350157 - Flags: review?(mark.finkle)
Attached patch And now the whole patch (obsolete) — Splinter Review
Attachment #350157 - Attachment is obsolete: true
Attachment #350158 - Flags: review?(mark.finkle)
Attachment #350157 - Flags: review?(mark.finkle)
Attachment #350158 - Flags: review?(mark.finkle) → review+
Comment on attachment 350158 [details] [diff] [review]
And now the whole patch

We could add more error checking to the initial refresh check, instead of just null: negative #, strings

Also, what about the "Install App" dialog? We need to expose this property there too right? File a follow-up bug.
How about this? Won't it check automatically whether the value can be converted to a number that is greater than zero? Or should I check for >= 1 to make sure it's not some tiny float value?
Attachment #350158 - Attachment is obsolete: true
Attachment #352076 - Flags: review?(mark.finkle)
Comment on attachment 352076 [details] [diff] [review]
Check value of refresh

Ignore the prefs change. That's for another patch.
Comment on attachment 352076 [details] [diff] [review]
Check value of refresh

This is what I was thinking (without the "cmd_prefs" part)
Attachment #352076 - Flags: review?(mark.finkle) → review+
Although we still need a way to control/set this from the UI too, IMO

Install Dialog needs a way to set it and the Prefs page should allow changing it after the initial creation.
Sending        common/modules/WebAppProperties.jsm
Sending        runtime/chrome/content/webrunner.js
Transmitting file data ..
Committed revision 20779.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: