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

Unified Diff: chrome/test/data/nacl/pnacl_url_loader/pnacl_url_loader.html

Issue 1775143003: Reland of Add browser tests for FetchEvent.request.mode/credentials in the service worker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/nacl/pnacl_url_loader/pnacl_url_loader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/nacl/pnacl_url_loader/pnacl_url_loader.html
diff --git a/chrome/test/data/nacl/pnacl_url_loader/pnacl_url_loader.html b/chrome/test/data/nacl/pnacl_url_loader/pnacl_url_loader.html
new file mode 100644
index 0000000000000000000000000000000000000000..6f186ec4779b6f0faed90d81405e8bc000ed231b
--- /dev/null
+++ b/chrome/test/data/nacl/pnacl_url_loader/pnacl_url_loader.html
@@ -0,0 +1,19 @@
+<script>
+window.addEventListener('load', function() {
+ init();
+ }, false);
+
+function init() {
+ var embed = document.createElement('embed');
+ embed.addEventListener('message', function(message) {
+ window.domAutomationController.setAutomationId(0);
+ window.domAutomationController.send(message.data);
+ }, false);
+ embed.addEventListener('load', function() {
+ embed.postMessage(location.hash.substr(1));
+ }, false);
+ embed.src = 'pnacl_url_loader.nmf';
+ embed.type = 'application/x-pnacl';
+ document.body.appendChild(embed);
+}
+</script>
« no previous file with comments | « chrome/test/data/nacl/pnacl_url_loader/pnacl_url_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698