Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/ping-attribute-no-crash.xml

Issue 2883833002: net: Do not sniff XHTML content (Closed)
Patch Set: Update tests Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <script><![CDATA[
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
7 }
8
9 function crash()
10 {
11 cur_obj = document.createElement('a');
12 eval('cur_obj.search = false;');
13 eval('cur_obj.hostname = navigator;');
14 eval('cur_obj.ping = false;');
15 e_value = eval('cur_obj.click();');
16 if (window.testRunner)
17 testRunner.notifyDone();
18 }
19 ]]></script>
20 </head>
21 <body onload="crash();">
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698