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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-plugins-expected.txt

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, 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 unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: Failed to load 'data:text/plain,' as a plugin, because the frame into which the plugin is loading is sandboxed.
2 CONSOLE ERROR: Failed to load '' as a plugin, because the frame into which the p lugin is loading is sandboxed.
1 This test verifies that sandboxing of plugins works as intended. Two tests are m ade, each in one sandboxed and one non-sandboxed IFrame: embeds and objects. 3 This test verifies that sandboxing of plugins works as intended. Two tests are m ade, each in one sandboxed and one non-sandboxed IFrame: embeds and objects.
2 4
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 6
5 7
6 PASS successfullyParsed is true 8 PASS successfullyParsed is true
7 9
8 TEST COMPLETE 10 TEST COMPLETE
9 PASS (self.embedFrame1.document.getElementById('plugin').destroyStream) != undef ined is true 11 PASS (self.embedFrame1.document.getElementById('plugin').destroyStream) != undef ined is true
10 PASS (self.embedFrame2.document.getElementById('plugin').destroyStream) == undef ined is true 12 PASS (self.embedFrame2.document.getElementById('plugin').destroyStream) == undef ined is true
11 PASS (self.objectFrame1.document.getElementById('plugin').destroyStream) != unde fined is true 13 PASS (self.objectFrame1.document.getElementById('plugin').destroyStream) != unde fined is true
12 PASS (self.objectFrame2.document.getElementById('plugin').destroyStream) == unde fined is true 14 PASS (self.objectFrame2.document.getElementById('plugin').destroyStream) == unde fined is true
13 PASS successfullyParsed is true 15 PASS successfullyParsed is true
14 16
15 TEST COMPLETE 17 TEST COMPLETE
16 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698