Closed Bug 900804 Opened 13 years ago Closed 5 years ago

Follow-up: Heisenbug in setting result in synchronous Prompt.show

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: liuche, Unassigned)

References

Details

(Whiteboard: [breaking-bug])

There seems to be a heisenbug in receiving the result from the Remote Debugging prompt from bug 888533. The amount of time to process a (non-null) result of a user clicking on a button in the prompt dialog varies from immediately to a few seconds afterwards. Somehow, the thread.processNextEvent is not unblocking to handle a result promptly. http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#6963 > // Spin this thread while we wait for a result. > let thread = Services.tm.currentThread; > while (result == null) > thread.processNextEvent(true); When a console.log statement is added to the while loop, the thread prints out the printout, and the thread processes the event immediately after the user clicks a choice.
Whiteboard: [breaking-bug]
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.