[Webkit-unassigned] [Bug 80170] New: Contents of noscript elements turned into strings in Web Archives

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 2 10:27:25 PST 2012


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

           Summary: Contents of noscript elements turned into strings in
                    Web Archives
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: NeedsRadar
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jberlin at webkit.org
                CC: adachan at apple.com, sfalken at apple.com


Created an attachment (id=129920)
 --> (https://bugs.webkit.org/attachment.cgi?id=129920&action=review)
Reduced case with a noscript element

When a page with the following markup:

<!DOCTYPE html>
<html>
  <head>
    <title>Page With No Script Element To Be WebArchived</title>
  </head>
  <body>
    <div>If JS is turned off, you should see red text below</div>
    <div>
      <noscript>
        <div height="200" width="200" style="color: red">Some red text</div>
      </noscript>
    </div>
  </body>
</html>

is saved as a Web Archive, the contents of the noscript element inside the Web Archive are put into a string:

<!DOCTYPE html>
<html><head>
    <title>Page With No Script Element</title>
  </head>
  <body>
    <div>If JS is turned off, you should see red text below</div>
    <div>
      <noscript>
        &lt;div height="200" width="200" style="color: red"&gt;Some red text&lt;/div&gt;
      </noscript>
    </div>
</body></html>

I first noticed this on r109561, but the comment from https://bugs.webkit.org/show_bug.cgi?id=13522 indicates that this was happening as far back as August 2010.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list