Closed
Bug 593061
Opened 14 years ago
Closed 14 years ago
setTimer / setInterval don't behave as expected
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: irakli, Assigned: irakli)
References
Details
Attachments
(1 file, 1 obsolete file)
7.69 KB,
patch
|
avarma
:
review+
|
Details | Diff | Splinter Review |
setTimeout & setInterval behaves differently from the browsers native same named functions. Example: setTimeout(function(test) { console.log(Array.prototype.slice(arguments)) }, 0, 'some data', 3, 'bla'); Expected behavior: "some data,3,bla" to be logged in the console Actual behavior: ""
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → rFobic
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #471534 -
Flags: review?(avarma)
Comment 2•14 years ago
|
||
Comment on attachment 471534 [details] [diff] [review] Fix Cool, do you think you could add tests for this in tests/test-timer.js though?
Attachment #471534 -
Flags: review?(avarma) → review-
Assignee | ||
Comment 3•14 years ago
|
||
Sure!! Don't know why forgot to do that in a first patch.
Attachment #471534 -
Attachment is obsolete: true
Attachment #471795 -
Flags: review?(avarma)
Assignee | ||
Comment 4•14 years ago
|
||
diff view: http://github.com/Gozala/jetpack-sdk/compare/master...timer@593061
Comment 5•14 years ago
|
||
Comment on attachment 471795 [details] [diff] [review] adding test + docs Awesome! Do you have commit access to the repo yet, or should I commit it?
Attachment #471795 -
Flags: review?(avarma) → review+
Assignee | ||
Comment 6•14 years ago
|
||
No I don't have it yet. Wold be nice if you'll commit it.
Keywords: push-needed
Assignee | ||
Updated•14 years ago
|
Keywords: push-needed → checkin-needed
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 7•14 years ago
|
||
Hey, is this patch bit-rotted or anything? I'm trying to commit it, but I'm getting a weird "hunk failure" on test-timer.js. I'm going to keep this bug open until it's landed, if that's ok--otherwise I might lose track of it.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•14 years ago
|
||
I sew it was committed already: https://hg.mozilla.org/labs/jetpack-sdk/rev/0c846452f77c I thought it was you.. Guess you can commit because patch is already in your tip
Assignee | ||
Comment 9•14 years ago
|
||
I meant you can't because ...
Comment 10•14 years ago
|
||
Oh, nice! Sorry about that, re-marking the bug as fixed.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Keywords: checkin-needed
Comment 11•14 years ago
|
||
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product. To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•