From c7c95a3d2dd84f2cb7fff32fb34206667bbf03af Mon Sep 17 00:00:00 2001 From: tomernic Date: Fri, 31 Mar 2006 00:13:46 +0000 Subject: [PATCH] Reviewed by Geoff. Test case for issues surrounding REGRESSION: LIVECONNECT: JavaScript type for Java Strings is function, not object Unfortunately, I can only test C and ObjC instances; Java does not run correctly in DumpRenderTree. * plugins/bindings-test/bindings-test.html: Added. * plugins/bindings-test/bindings-test-expected.txt: Added. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13588 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- LayoutTests/ChangeLog | 13 ++++ .../plugins/bindings-test-expected.txt | 11 +++ LayoutTests/plugins/bindings-test.html | 75 +++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 LayoutTests/plugins/bindings-test-expected.txt create mode 100644 LayoutTests/plugins/bindings-test.html diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index 15883df952bd..50348bd36da1 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,3 +1,16 @@ +2006-03-30 Tim Omernick + + Reviewed by Geoff. + + Test case for issues surrounding REGRESSION: LIVECONNECT: + JavaScript type for Java Strings is function, not object + + Unfortunately, I can only test C and ObjC instances; Java does not run correctly + in DumpRenderTree. + + * plugins/bindings-test/bindings-test.html: Added. + * plugins/bindings-test/bindings-test-expected.txt: Added. + 2006-03-30 Justin Garcia Reviewed by darin diff --git a/LayoutTests/plugins/bindings-test-expected.txt b/LayoutTests/plugins/bindings-test-expected.txt new file mode 100644 index 000000000000..bb2cb72343c2 --- /dev/null +++ b/LayoutTests/plugins/bindings-test-expected.txt @@ -0,0 +1,11 @@ +ALERT: typeof(objCPlugin)=object +ALERT: objCPlugin()=TypeError +ALERT: typeof(objCPluginFunction)=function +ALERT: objCPluginFunction()=test +ALERT: typeof(cPlugin)=function +ALERT: cPlugin()=1 +ALERT: typeof(cPlugin)=object +ALERT: cPlugin()=TypeError +This page tests invoking as functions JavaScript objects that are provided by plugins. + + diff --git a/LayoutTests/plugins/bindings-test.html b/LayoutTests/plugins/bindings-test.html new file mode 100644 index 000000000000..59fa8b597b5d --- /dev/null +++ b/LayoutTests/plugins/bindings-test.html @@ -0,0 +1,75 @@ + + + + + +

This page tests invoking as functions JavaScript objects that are provided by plugins.

+ + + -- 2.36.0