Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

view-source protocol and text/plain handling #5219

Closed

Commits on Mar 16, 2015

  1. Implement view-source protocol. Fixes #4181.

    This follows the recommendation from issue #4181. A handler
    for 'view-source' delegates to the HTTP loader. In that
    loader I check for view-source, adjust the URL to be the
    URL to be viewed and modify the Content-Type header to be
    text/plain.
    
    This doesn't actually result in the source being
    viewed as rendering text/plain is not yet implemented.
    doublec committed Mar 16, 2015

Commits on Mar 17, 2015

  1. Implement displaying of text/plain documents

    This is done by detecting the content type as text/plain
    and following the requirements from:
    https://html.spec.whatwg.org/multipage/browsers.html#read-text
    doublec committed Mar 17, 2015
You can’t perform that action at this time.