haikuwebkit/LayoutTests/fast/frames/sandboxed-iframe-plugins-ex...

16 lines
824 B
Plaintext

This test verifies that sandboxing of plugins works as intended. Three tests are made, each in one sandboxed and one non-sandboxed IFrame: applets, embeds, and objects.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
NOTE: The first sub-test will fail in DumpRenderTree, since DumpRenderTree does not support applets. That sub-test must be run in Safari instead.
PASS (self.embedFrame1.document.getElementById('plugin').destroyStream) != undefined is true
PASS (self.embedFrame2.document.getElementById('plugin').destroyStream) == undefined is true
PASS (self.objectFrame1.document.getElementById('plugin').destroyStream) != undefined is true
PASS (self.objectFrame2.document.getElementById('plugin').destroyStream) == undefined is true
PASS successfullyParsed is true
TEST COMPLETE