[webkit-reviews] review granted: [Bug 201348] Remove support for load/error on link=prefetch : [Attachment 377826] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 3 02:22:36 PDT 2019


youenn fablet <youennf at gmail.com> has granted Rob Buis <rbuis at igalia.com>'s
request for review:
Bug 201348: Remove support for load/error on link=prefetch
https://bugs.webkit.org/show_bug.cgi?id=201348

Attachment 377826: Patch

https://bugs.webkit.org/attachment.cgi?id=377826&action=review




--- Comment #7 from youenn fablet <youennf at gmail.com> ---
Comment on attachment 377826
  --> https://bugs.webkit.org/attachment.cgi?id=377826
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=377826&action=review

> LayoutTests/http/tests/cache/link-prefetch-main-resource-iframe.html:39
> +    internals.addPrefetchLoadEventListener(link, () => {
loadAfterPrefetch(); });

add an if (window.internals) check.

> LayoutTests/http/tests/cache/link-prefetch-main-resource.html:17
> +    internals.addPrefetchLoadEventListener(link, () => {
loadAfterPrefetch(); });

Ditto.


More information about the webkit-reviews mailing list