Allow to create iframe with view-source:
Reported by
ji...@warting.se,
Sep 7
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 Steps to reproduce the problem: <iframe src="view-source:http://example.com"></iframe> What is the expected behavior? Having to use any javascript framework like highlight.js to create example code snippets are so tedious. The browser already have code highlighting built in into the browser so why can't i just simple just use it and create a iframe with the view-source protocol? wouldn't care if its sandboxed or not... the benefit would be that i don't have to use any javascript. browser can have javascript turned off and it would work nicely. view-source:blob:http://example.com/214...456 view-source:http://example.com/code-snippet.js view-source:data:;base64,AAAAA What went wrong? get a error message saying: "Not allowed to load local resource: view-source:<url>" Did this work before? No Does this work in other browsers? N/A Chrome version: 68.0.3440.106 Channel: n/a OS Version: OS X 10.13.6 Flash Version:
,
Sep 10
,
Sep 14
meacer@, do web block view-source IFRAME intentionally?
,
Oct 12
I assume this is intentional.
,
Oct 12
Yes, intentional: Bug 196636 |
||||
►
Sign in to add a comment |
||||
Comment 1 by susan.boorgula@chromium.org
, Sep 9