-
Bug
-
Resolution: Fixed
-
P2
-
1.4.2_01, 5.0
-
tiger
-
sparc
-
solaris_8, solaris_9
Name: dmR10075 Date: 06/04/2003
According to specification, NPP_GetValue should return the value of
variable if it recognizes it, or some error code if it doesn't or
another error occured. Instead, in JavaPluginIstance5.cpp:GetValue
plugin calls plugin_error if it doesn't recognize the variable.
plugin_error calls exit(-1) making Browser process to exit.
This breaks compatibility: if browser wants to extend the variables
interface by adding some new variable to indicate some new possible
property of plugin all previous plugins with described behavior will
exit terminating the browser.
The standard behavior is to return NS_ERROR_NOT_IMPLEMENTED.
======================================================================
###@###.### 10/27/04 08:01 GMT
According to specification, NPP_GetValue should return the value of
variable if it recognizes it, or some error code if it doesn't or
another error occured. Instead, in JavaPluginIstance5.cpp:GetValue
plugin calls plugin_error if it doesn't recognize the variable.
plugin_error calls exit(-1) making Browser process to exit.
This breaks compatibility: if browser wants to extend the variables
interface by adding some new variable to indicate some new possible
property of plugin all previous plugins with described behavior will
exit terminating the browser.
The standard behavior is to return NS_ERROR_NOT_IMPLEMENTED.
======================================================================
###@###.### 10/27/04 08:01 GMT
- duplicates
-
JDK-4923840 The implemention of GetValue should not quit the program in any case
-
- Closed
-