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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/svg/resources/object-svg.html

Issue 1645313002: Don't apply the SandboxPlugins flag until we know a plugin will be used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Testharness-based test Created 4 years, 10 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
Index: third_party/WebKit/LayoutTests/http/tests/svg/resources/object-svg.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/svg/resources/object-svg.html b/third_party/WebKit/LayoutTests/http/tests/svg/resources/object-svg.html
new file mode 100644
index 0000000000000000000000000000000000000000..55a490a11aabb9d47d37393985087ac450fafb0c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/svg/resources/object-svg.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+body {
+ margin: 0;
+}
+</style>
+<script>
+function notifyParent(message) {
+ parent.postMessage(message, '*');
+}
+</script>
+<object data="greenSquare.svg" type="image/svg+xml" width="100" height="200"
+ onload="notifyParent('load')" onerror="notifyParent('error')">
+ FAIL
+</object>

Powered by Google App Engine
This is Rietveld 408576698