From 22baf143d9211ec794f884ec5341481f950818ef Mon Sep 17 00:00:00 2001 From: "japhet@chromium.org" Date: Wed, 3 Mar 2010 17:13:37 +0000 Subject: Add layout test plugin functions required for plugins/netscape-plugin-property-access-exception.html and rebaseline. BUG=35115 TEST=!red Review URL: http://codereview.chromium.org/660390 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40520 0039d316-1c4b-4281-b951-d872f2087c98 --- .../netscape-plugin-property-access-exception-expected.txt | 10 ++++++++++ .../netscape-plugin-property-access-exception-expected.txt | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 webkit/data/layout_tests/platform/chromium-mac/LayoutTests/plugins/netscape-plugin-property-access-exception-expected.txt create mode 100644 webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/netscape-plugin-property-access-exception-expected.txt (limited to 'webkit/data') diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/plugins/netscape-plugin-property-access-exception-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/plugins/netscape-plugin-property-access-exception-expected.txt new file mode 100644 index 0000000..2b68fe8 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/plugins/netscape-plugin-property-access-exception-expected.txt @@ -0,0 +1,10 @@ +CONSOLE MESSAGE: line 1: Uncaught Error: plugin object testThrowExceptionProperty SUCCESS +CONSOLE MESSAGE: line 1: Uncaught Error: plugin object testThrowExceptionProperty SUCCESS + +SUCCESS: Exception caught: Error: plugin object testThrowExceptionProperty SUCCESS +SUCCESS: Exception caught: Error: plugin object testThrowExceptionProperty SUCCESS +One could expect exceptions to be raised in the below cases, too - but Firefox doesn't do that in most of these (I do get an exception in the first case, but that's inconsistent with not getting it in the seconfd one). +Exception caught: Error: Error calling method on NPObject! +Exception caught: Error: Error calling method on NPObject! +Exception caught: Error: plugin object testThrowExceptionProperty SUCCESS +Exception caught: Error: plugin object testThrowExceptionProperty SUCCESS diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/netscape-plugin-property-access-exception-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/netscape-plugin-property-access-exception-expected.txt new file mode 100644 index 0000000..2b68fe8 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/netscape-plugin-property-access-exception-expected.txt @@ -0,0 +1,10 @@ +CONSOLE MESSAGE: line 1: Uncaught Error: plugin object testThrowExceptionProperty SUCCESS +CONSOLE MESSAGE: line 1: Uncaught Error: plugin object testThrowExceptionProperty SUCCESS + +SUCCESS: Exception caught: Error: plugin object testThrowExceptionProperty SUCCESS +SUCCESS: Exception caught: Error: plugin object testThrowExceptionProperty SUCCESS +One could expect exceptions to be raised in the below cases, too - but Firefox doesn't do that in most of these (I do get an exception in the first case, but that's inconsistent with not getting it in the seconfd one). +Exception caught: Error: Error calling method on NPObject! +Exception caught: Error: Error calling method on NPObject! +Exception caught: Error: plugin object testThrowExceptionProperty SUCCESS +Exception caught: Error: plugin object testThrowExceptionProperty SUCCESS -- cgit v1.1