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

RESOLVED INCOMPLETE

Status

()

Core
DOM
P3
normal
RESOLVED INCOMPLETE
2 months ago
2 months ago

People

(Reporter: Jim Michaels, Unassigned)

Tracking

57 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 months ago
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.

Updated

2 months ago
Component: Untriaged → JavaScript Engine
Product: Firefox → Core

Updated

2 months ago
Component: JavaScript Engine → DOM

Comment 1

2 months ago
I'm sorry, but we need a reduced test case to investigate.  The steps in comment 0 work fine, as you point out.
(Reporter)

Comment 2

2 months ago
I know what I saw. it was weird watching the bug come and go.
intermittent failure.

Updated

2 months ago
Priority: -- → P3

Comment 3

2 months ago
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
Last Resolved: 2 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.