Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: safari/ext/content.js

Issue 6228201961422848: Issue 2064 - Configure indistinguishable request types in the abstraction layer (Closed)
Patch Set: Created Feb. 28, 2015, 9:56 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: safari/ext/content.js
===================================================================
--- a/safari/ext/content.js
+++ b/safari/ext/content.js
@@ -78,6 +78,11 @@
case "input":
type = "IMAGE";
break;
+ case "video":
+ case "audio":
+ case "source":
+ type = "MEDIA";
kzar 2015/03/02 16:56:53 One thought I had was that you could add most of t
Sebastian Noack 2015/03/02 16:59:26 All types handled here are actually distinguishabl
kzar 2015/03/02 17:04:29 So for example I thought you could add ["MEDIA", "
Sebastian Noack 2015/03/02 17:08:49 This won't work, since "video", "audio" and "sourc
+ break;
case "object":
case "embed":
type = "OBJECT";
« chrome/ext/background.js ('K') | « safari/ext/background.js ('k') | webrequest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld