| Summary: | Add a Layout test for r188991 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> | ||||||||||
| Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | thorton | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | iPhone / iPad | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Wenson Hsieh
2015-08-26 17:54:37 PDT
Created attachment 260015 [details]
Patch
Comment on attachment 260015 [details]
Patch
Waaaay too many long delays in here. Also, it should run on all platforms.
Created attachment 260016 [details]
Patch
Created attachment 260020 [details]
Patch
Comment on attachment 260020 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=260020&action=review > LayoutTests/animations/crash-on-removing-animation.html:4 > + <meta name="viewport" content="initial-scale=1, maximum-scale=1"> I believe we force a particular viewport in layout tests, this should be unnecessary. Comment on attachment 260020 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=260020&action=review >> LayoutTests/animations/crash-on-removing-animation.html:4 >> + <meta name="viewport" content="initial-scale=1, maximum-scale=1"> > > I believe we force a particular viewport in layout tests, this should be unnecessary. Good to know -- thanks! Created attachment 260027 [details]
Patch
Comment on attachment 260027 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=260027&action=review > LayoutTests/ChangeLog:8 > + Tests that stopping an animation early and simultaneously closing the window So glad that there's a test! It's not simultaneous, though :P > LayoutTests/animations/crash-on-removing-animation.html:24 > + if (window.testRunner == undefined) No need for the == undefined; every other test just does "if (window.testRunner)". Also possible that you might want to document.write("This test must be run in DRT/WKTR.") or something like that so that people (QA, mostly) don't open the test and see "If you are reading this, we managed to avoid crashing!" and think that the test passed. > LayoutTests/animations/crash-on-removing-animation.html:44 > +<body onload="setup();"> No need for the semicolon, and it looks funny, but it doesn't really matter. Committed r189022: <http://trac.webkit.org/changeset/189022> |