[Webkit-unassigned] [Bug 153953] New: Feature request: Webpage ZIP as alternative to PDF

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 6 11:29:41 PST 2016


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

            Bug ID: 153953
           Summary: Feature request: Webpage ZIP as alternative to PDF
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: craig+webkit at craigfrancis.co.uk

If you want to send a document to someone else (probably over email), then your main choices are PDF or a Microsoft Word document.

Instead I would like to have a single file document that I can send to someone, and they can just open it in their web browser, like they can do with a PDF.

For an example, I have a system that creates invoices, these need to be sent to someone for offline viewing / storage. This is currently done as a PDF file, and it does not work well on a small screen (e.g. mobile phone), or with assistive devices (e.g. screen readers).

---

We could create a very simple file format, maybe with a ".wdoc" extension (as in Web Doc).

This is a ZIP (or gzip) file that contains an "index.html", and all the necessary resources which are referenced by the HTML document.

When the browser is loading one of these files, it can then apply some additional restrictions:

- Cannot access files outside of the zip (e.g. /etc/passwd)
- Does not have its own local storage / cookie jar / etc.
- Cannot connect to another host.
- The file could include a password to restrict access to its contents.

---

I'm currently keeping some extra notes at:

https://github.com/craigfrancis/wdoc

Pull requests / comments welcome if you have any thoughts/ideas.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160206/f92395b9/attachment.html>


More information about the webkit-unassigned mailing list