Closed Bug 738111 Opened 12 years ago Closed 12 years ago

Using setTimeout in a pref listener to change the same pref doesn't emit change

Categories

(Add-on SDK Graveyard :: General, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: erikvvold, Unassigned)

References

Details

Steps:

Listen to a pref with a function that uses setTimeout to change the same pref

Expected:

The pref listener would be called at least twice without conditional logic to end a loop.

Actual:

The pref listener is called only once.
Blocks: 710117
ahh never mind user error
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.