[Bug 26295] New: Page source not defined

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26295

            Bug ID: 26295
           Summary: Page source not defined
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: ato@mozilla.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org

The command to get page source is not yet defined in the specification.  The
DOM Parsing specification mentions an XMLSerializer interface which barancev
says FirefoxDriver is already using:

    http://domparsing.spec.whatwg.org/#xmlserializer

The algorithm they use for XML serialization is here:

    http://domparsing.spec.whatwg.org/#concept-serialize-xml

It should be made clear in a note or something that the stringified DOM we
return doesn't necessarily correctly reflect the active DOM as it would've been
seen if inspecting the DOM through a debugger.  With more tactful prose.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 9 July 2014 08:37:09 UTC