Closed Bug 1419559 Opened 7 years ago Closed 7 years ago

scope.clearTimeout(tid) doesn't work anymore, leaves timeout running

Categories

(Core :: DOM: Core & HTML, defect, P3)

57 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jmichae3, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171112125346

Steps to reproduce:

var t;
t=window.setTimeout("somefunction()",1000);
window.clearTimeout(t);
t=null;
function somefunction() {
...
}

somebody put a specific bug in the browser so this bug cannot be reproduced or mentioned. because it shows in my own code, but this unit test does not reproduce it. why me? are you tired?... and I noticed you turned it off. got a bug catcher?


Actual results:

somefunction is being called anyway.


Expected results:

should work as documented.
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Component: JavaScript Engine → DOM
I'm sorry, but we need a reduced test case to investigate.  The steps in comment 0 work fine, as you point out.
I know what I saw. it was weird watching the bug come and go.
intermittent failure.
Priority: -- → P3
I'm sorry, but without a reduced test case (or even a URL to look at) there is nothing we can do.  Please feel free to re-open if you have more information to share.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.