• andersca@apple.com's avatar
    Remove support for the viewsource attribute · 98ae35b6
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=127232
    
    Reviewed by Andreas Kling.
    
    Source/WebCore:
    
    The 'viewsource' attribute on frames is nonstandard, not used by anyone (the inspector has
    its own syntax highlighting) and not audited.
    
    This patch removes parsing of the viewsource attribute and the associated tests. A subsequent
    patch will remove the code as well.
    
    * html/HTMLFrameElementBase.cpp:
    (WebCore::HTMLFrameElementBase::parseAttribute):
    
    Source/WTF:
    
    * wtf/FeatureDefines.h:
    
    LayoutTests:
    
    * .gitattributes:
    * fast/frames/resources/viewsource-fake-image-file.png: Removed.
    * fast/frames/resources/viewsource-frame-1.html: Removed.
    * fast/frames/resources/viewsource-frame-2.html: Removed.
    * fast/frames/resources/viewsource-frame-3.html: Removed.
    * fast/frames/resources/viewsource-frame-4.html: Removed.
    * fast/frames/resources/viewsource-frame-5.html: Removed.
    * fast/frames/resources/viewsource-frame-unfinished-script.html: Removed.
    * fast/frames/resources/viewsource-frame-unfinished-textarea.html: Removed.
    * fast/frames/viewsource-attribute.html: Removed.
    * fast/frames/viewsource-empty-attribute-value-expected.txt: Removed.
    * fast/frames/viewsource-empty-attribute-value.html: Removed.
    * fast/frames/viewsource-linebreak-expected.txt: Removed.
    * fast/frames/viewsource-linebreak.html: Removed.
    * fast/frames/viewsource-link-on-href-value-expected.txt: Removed.
    * fast/frames/viewsource-link-on-href-value.html: Removed.
    * fast/frames/viewsource-on-image-file.html: Removed.
    * fast/frames/viewsource-plain-text-tags-expected.txt: Removed.
    * fast/frames/viewsource-plain-text-tags.html: Removed.
    * fast/frames/viewsource-unfinished-tags-expected.txt: Removed.
    * fast/frames/viewsource-unfinished-tags.html: Removed.
    * fast/frames/viewsource-xml-expected.txt: Removed.
    * fast/frames/viewsource-xml.html: Removed.
    * http/tests/security/resources/view-source-no-refresh.php: Removed.
    * http/tests/security/view-source-javascript-url-in-document-expected.txt: Removed.
    * http/tests/security/view-source-javascript-url-in-document.html: Removed.
    * http/tests/security/view-source-no-javascript-url-expected.txt: Removed.
    * http/tests/security/view-source-no-javascript-url.html: Removed.
    * http/tests/security/view-source-no-refresh-expected.txt: Removed.
    * http/tests/security/view-source-no-refresh.html: Removed.
    * platform/efl/fast/frames/viewsource-attribute-expected.png: Removed.
    * platform/efl/fast/frames/viewsource-attribute-expected.txt: Removed.
    * platform/efl/fast/frames/viewsource-on-image-file-expected.png: Removed.
    * platform/efl/fast/frames/viewsource-on-image-file-expected.txt: Removed.
    * platform/mac/fast/frames/viewsource-attribute-expected.png: Removed.
    * platform/mac/fast/frames/viewsource-attribute-expected.txt: Removed.
    * platform/mac/fast/frames/viewsource-on-image-file-expected.png: Removed.
    * platform/mac/fast/frames/viewsource-on-image-file-expected.txt: Removed.
    * platform/win/TestExpectations:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    98ae35b6
Name
Last commit
Last update
..
appcache Loading commit data...
cache Loading commit data...
canvas Loading commit data...
cookies Loading commit data...
css Loading commit data...
download Loading commit data...
eventsource Loading commit data...
fileapi Loading commit data...
fullscreen Loading commit data...
globalhistory Loading commit data...
history Loading commit data...
images Loading commit data...
incremental Loading commit data...
inspector Loading commit data...
inspector-enabled Loading commit data...
inspector-protocol Loading commit data...
loading Loading commit data...
local Loading commit data...
media Loading commit data...
messaging Loading commit data...
mime Loading commit data...
misc Loading commit data...
multipart Loading commit data...
navigation Loading commit data...
notifications Loading commit data...
permissionclient/resources Loading commit data...
plugins Loading commit data...
pointer-lock Loading commit data...
resources Loading commit data...
security Loading commit data...
ssl Loading commit data...
storage Loading commit data...
svg Loading commit data...
uri Loading commit data...
w3c Loading commit data...
webarchive Loading commit data...
webfont Loading commit data...
webgl/1.0.2 Loading commit data...
websocket Loading commit data...
workers Loading commit data...
xmlhttprequest Loading commit data...
xmlviewer Loading commit data...
xsl Loading commit data...
favicon.ico Loading commit data...