[Webkit-unassigned] [Bug 256456] Fix bug in preload scanner with nested templates

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 8 14:46:07 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=256456

--- Comment #4 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
I took help from Ryosuke and he told me to look into fast/preloader/ directory and I took 'image.html' test and then changed it into:

Name - image-in-nested-template.html

Test:

<body>
    <script>
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.dumpResourceResponseMIMETypes();
    }
    </script>
    This test requires DumpRenderTree to see the log of what resources are loaded.
    <template>
        <template></template>
        <script src=resources/non-existant.js></script>
        <script>document.write("<plaintext>");</script>
        <img src=resources/image1.png>
    </template>

_________________

<template>
<template></template>
<image xxx>
</template>

________________

But when I am looking into output of text, it loads expected and does not show 'image' data.

@rniwa & @anne - any input, before I do PR?

-- 
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/20230508/8fe81e61/attachment.htm>


More information about the webkit-unassigned mailing list