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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/infrastructure/terminology/plugins/text-plain.html

Issue 1157773008: W3C Test: Import web-platform-tests/html/{iana,infrastructure} (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: W3CImportExpectations glitch Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title id='title'>Media Types</title>
6 <link rel="author" title="Philippe Le Hegaret" href="mailto:plh@w3.org"/>
7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#plugins"/>
8 <script src="../../../../../../resources/testharness.js"></script>
9 <script src="../../../../../../resources/testharnessreport.js"></script>
10 </head>
11
12 <body>
13 <script>
14 var t = async_test("A user agent must not consider the type text/plain as having a registered plugin.");
15
16 window.onload =
17 t.step_func(function() {
18 assert_equals(document.getElementById("frameContext").contentDocument.bo dy.firstChild.nodeName, "PRE");
19 t.done();
20 });
21 </script>
22
23 <h1>Test of plugin support</h1>
24 <p class='assert'>A user agent must not consider the types text/plain and ap plication/octet-stream as having a registered plugin.</p>
25
26 <iframe id="frameContext" src="sample.txt"></iframe>
27
28
29 <div id="log">Running test...</div>
30
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698