| Index: chrome/test/data/pdf/test-iframe-pdf.html
|
| diff --git a/chrome/test/data/pdf/test-iframe-pdf.html b/chrome/test/data/pdf/test-iframe-pdf.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a978212f58f36db8f3aef88ae46c4fb8cb3eb483
|
| --- /dev/null
|
| +++ b/chrome/test/data/pdf/test-iframe-pdf.html
|
| @@ -0,0 +1,16 @@
|
| +<html>
|
| +<body>
|
| +
|
| +<button id="link1" onclick="openPdf()">Click me to load pdf</button>
|
| +<div id="container"></div>
|
| +
|
| +<script>
|
| +function openPdf() {
|
| + var frame = document.createElement("iframe");
|
| + frame.src = "test.pdf";
|
| + document.getElementById("container").appendChild(frame);
|
| +}
|
| +</script>
|
| +
|
| +<body>
|
| +</html>
|
|
|