WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
154333
Add test to check scroll animator events after a history navigation
https://bugs.webkit.org/show_bug.cgi?id=154333
Summary
Add test to check scroll animator events after a history navigation
Carlos Garcia Campos
Reported
2016-02-16 23:30:27 PST
We want to check that not only scrollable areas are still scrollable but also that the scroll animator is notified when the mouse enters/exists the scrollable areas.
Attachments
Patch
(3.98 KB, patch)
2016-02-16 23:33 PST
,
Carlos Garcia Campos
mcatanzaro
: review-
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews102 for mac-yosemite
(753.23 KB, application/zip)
2016-02-17 00:21 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews114 for mac-yosemite
(815.03 KB, application/zip)
2016-02-17 00:44 PST
,
Build Bot
no flags
Details
Updated patch
(4.87 KB, patch)
2016-04-15 02:42 PDT
,
Carlos Garcia Campos
mcatanzaro
: review-
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews106 for mac-yosemite-wk2
(915.56 KB, application/zip)
2016-04-15 03:29 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews125 for ios-simulator-wk2
(621.94 KB, application/zip)
2016-04-15 03:33 PDT
,
Build Bot
no flags
Details
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2016-02-16 23:33:42 PST
Created
attachment 271541
[details]
Patch
Build Bot
Comment 2
2016-02-17 00:21:22 PST
Comment on
attachment 271541
[details]
Patch
Attachment 271541
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/843787
New failing tests: fast/scrolling/scroll-animator-events-after-history-navigation.html
Build Bot
Comment 3
2016-02-17 00:21:26 PST
Created
attachment 271544
[details]
Archive of layout-test-results from ews102 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 4
2016-02-17 00:43:58 PST
Comment on
attachment 271541
[details]
Patch
Attachment 271541
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/843788
New failing tests: fast/scrolling/scroll-animator-events-after-history-navigation.html
Build Bot
Comment 5
2016-02-17 00:44:01 PST
Created
attachment 271546
[details]
Archive of layout-test-results from ews114 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-yosemite Platform: Mac OS X 10.10.5
Carlos Garcia Campos
Comment 6
2016-02-17 08:00:37 PST
We need specific results for wk1 because of the main frames, but why is wk1 using plugins for this test? I see this in the results: CONSOLE MESSAGE: line 25: ReferenceError: Trying to access object from destroyed plug-in. I guess we can just skip this test in wk1.
Alexey Proskuryakov
Comment 7
2016-02-17 09:28:58 PST
It's presumably complaining about DumpRenderTree's injected objects having been destroyed on navigation.
Michael Catanzaro
Comment 8
2016-02-19 08:22:28 PST
Comment on
attachment 271541
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=271541&action=review
Looks good, except for the WK1 test failure that needs fixed.
> LayoutTests/fast/scrolling/scroll-animator-events-after-history-navigation.html:31 > + delete sessionStorage.didNavigate;
Why do you need to do this? The test is about to end!
> LayoutTests/fast/scrolling/scroll-animator-events-after-history-navigation.html:37 > + sessionStorage.didNavigate = true;
This is needed... why, so that the page enters the page cache?
Carlos Garcia Campos
Comment 9
2016-02-20 00:47:49 PST
(In reply to
comment #8
)
> Comment on
attachment 271541
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=271541&action=review
> > Looks good, except for the WK1 test failure that needs fixed.
We just need to skip this test in wk1, I don't see that a reason to reject the patch.
> > LayoutTests/fast/scrolling/scroll-animator-events-after-history-navigation.html:31 > > + delete sessionStorage.didNavigate; > > Why do you need to do this? The test is about to end!
To clean up the session storage so that it won't affect other tests that could use also didNavigate. It's quite common to do this in layout tests.
> > LayoutTests/fast/scrolling/scroll-animator-events-after-history-navigation.html:37 > > + sessionStorage.didNavigate = true; > > This is needed... why, so that the page enters the page cache?
No, this has nothing to do with the page cache. Please, if you have questions about the patch or you didn't understand a part of it, ask any questions before deciding to reject the patch. When a test does a navigation or reload and you want to do different things depending on every navigation you need to store some state somewhere that is alive during navigation, and we normally use the session storage for that. In this case, when the test is loaded the first time we want to navigate to another page that will navigate back. When the page is loaded the second time, we just want to finish the test. The way the test know if it's the first navigation or not is checking the sessionStorage.didNavigate value.
Carlos Garcia Campos
Comment 10
2016-04-15 02:42:09 PDT
Created
attachment 276469
[details]
Updated patch
Build Bot
Comment 11
2016-04-15 03:29:46 PDT
Comment on
attachment 276469
[details]
Updated patch
Attachment 276469
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/1162619
New failing tests: fast/scrolling/scroll-animator-events-after-history-navigation.html
Build Bot
Comment 12
2016-04-15 03:29:49 PDT
Created
attachment 276470
[details]
Archive of layout-test-results from ews106 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 13
2016-04-15 03:33:33 PDT
Comment on
attachment 276469
[details]
Updated patch
Attachment 276469
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/1162609
New failing tests: fast/scrolling/scroll-animator-events-after-history-navigation.html
Build Bot
Comment 14
2016-04-15 03:33:37 PDT
Created
attachment 276471
[details]
Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.10.5
Michael Catanzaro
Comment 15
2016-05-17 08:32:34 PDT
Comment on
attachment 276469
[details]
Updated patch I think we need to investigate why this test is failing on Mac WK2 and iOS. I don't give r- to say "this patch is bad," just to say "not ready to commit yet."
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