Switch the browser tag sample to actually use <browser>, now that it's supported (as of http://crrev.com/145229).

This commit is contained in:
Mihai Parparita
2012-07-03 10:30:24 -07:00
parent 1d8d488da8
commit 481d9a6363
4 changed files with 3 additions and 21 deletions

View File

@@ -1,15 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Browser tag</title>
</head>
<body>
<object id="mybrowser" src="http://news.google.com/" type="application/browser-plugin" width="640" height="480"></object>
<script src="move.js">
</script>
<browser src="http://news.google.com/" width="640" height="480"></browser>
</body>
</html>

View File

@@ -1,9 +0,0 @@
onload = function() {
var iframe = document.createElement('iframe');
iframe.className = 'sandboxed';
iframe.sandbox = 'allow-scripts';
iframe.src = chrome.extension.getURL('iframe.html');
document.body.appendChild(iframe);
}

View File

@@ -8,6 +8,7 @@
}
},
"permissions": [
"experimental"
"experimental",
"browserTag"
]
}

View File

@@ -1 +0,0 @@
mybrowser.postMessage("http://paul.kinlan.me");