WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
62757
Have Document keep track of whether scroll listeners are registered
https://bugs.webkit.org/show_bug.cgi?id=62757
Summary
Have Document keep track of whether scroll listeners are registered
Simon Fraser (smfr)
Reported
2011-06-15 14:40:06 PDT
Have Document keep track of whether scroll listeners are registered
Attachments
Patch
(5.01 KB, patch)
2011-06-15 14:44 PDT
,
Simon Fraser (smfr)
mitz: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2011-06-15 14:44:51 PDT
Created
attachment 97365
[details]
Patch
Alexey Proskuryakov
Comment 2
2011-06-15 14:52:51 PDT
Comment on
attachment 97365
[details]
Patch Did you check that this works with both document.onscroll and window.onscroll?
Simon Fraser (smfr)
Comment 3
2011-06-15 14:56:50 PDT
Will check.
Simon Fraser (smfr)
Comment 4
2011-06-15 15:56:36 PDT
window.onscroll and document.onscroll both work fine. DOMWindow::addEventListener() calls document->addListenerTypeIfNeeded().
Simon Fraser (smfr)
Comment 5
2011-06-15 16:03:25 PDT
http://trac.webkit.org/changeset/88980
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug