Closed Bug 1096083 Opened 11 years ago Closed 10 years ago

[e10s] document.commandDispatcher.focusedWindow.scrollY is 0 and can't scroll

Categories

(Firefox :: Untriaged, defect)

36 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
e10s + ---

People

(Reporter: ajnasz, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 Build ID: 20141105223254 Steps to reproduce: I am working on an extension, which scrolls the focused window. If e10n enabled, I can't query the scrollY of the window and can't scroll it. In browser console running the following code (and focusing the window) alerts the scrollY. setTimeout(function () { alert('focused window scrollY: ' + document.commandDispatcher.focusedWindow.scrollY); document.commandDispatcher.focusedWindow.scrollTo(0, 10); }, 1000); Actual results: scrollY always returns 0 and can't scroll. Expected results: ScrollY returns the correct scrollY value and scrolling.
I meant e10s instead of e10n
I'm guessing you can't do this in e10s and have to use message-passing instead https://developer.mozilla.org/en-US/Add-ons/Working_with_multiprocess_Firefox , but I'm tagging this as tracking-e10s for someone in the know to comment.
tracking-e10s: --- → ?
Summary: document.commandDispatcher.focusedWindow.scrollY is 0 and can't scroll → [e10s] document.commandDispatcher.focusedWindow.scrollY is 0 and can't scroll
The developer has been contacted through AMO.
(In reply to Jorge Villalobos [:jorgev] from comment #3) > The developer has been contacted through AMO. Wrong bug. Ignore this comment.
Hi reporter, Can you please provide a download link for your extension, so I can test this on my end? Also, please try to reproduce this on the latest Nightly(46.0a1) and provide the results. When doing this, please try to reproduce with a new clean Firefox profile, maybe even in safe mode, as some of this issues may be caused by third party installed add-ons or custom settings(https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems). Thanks, Paul.
Flags: needinfo?(ajnasz)
Since the reporter didn't provide the requested information, I will mark this issue as RESOLVED INCOMPLETE. If you still encounter this problem, please feel free to reopen this bug, or file a new one.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(ajnasz)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.