[Webkit-unassigned] [Bug 213543] REGRESSION(r260800): Null Ptr Deref READ @ WTF::Optional<WTF::Seconds>::clear
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 24 15:41:00 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=213543
--- Comment #8 from Pinki Gyanchandani <pgyanchandani at apple.com> ---
(In reply to Geoffrey Garen from comment #5)
> Comment on attachment 402666 [details]
> Patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=402666&action=review
>
> > LayoutTests/fast/rendering/iframe-window-animation-modifies-iframe-srcdoc-crash.html:21
> > +<video onloadstart="runTest()">
>
> Alex's suggestion helped, but I think we can do even better here.
>
> From the test harness's perspective by default, the test is over when you
> hit the closing </html> tag. So, the video loadstart and requestAnimation
> frame callbacks, which happen asynchronously on a delay, happen after the
> test harness thinks the test is over. That seems to work, but it's a bit
> fragile, since the test harness would be well within its rights to just
> terminate the test before any of that code ran.
>
> testRunner.waitUntilDone() is how we tell the test harness that we want it
> to wait until some point after the closing </html> tag. And
> testRunner.notifyDone() is how we tell the test harness we have reached that
> point.
>
> So, I think you should call testRunner.waitUntilDone() at the top, right
> after testRunner.dumpAsText(), and then call testRunner.notifyDone() as the
> last line in srcDocModify().
Making a note for future reference - waitUntilDone() and notifyDone() was not working for this test. notifyDone was never getting called.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200624/86e07fa0/attachment-0001.htm>
More information about the webkit-unassigned
mailing list