我有一个在浏览器中运行的小程序。
我希望当用户拒绝小程序运行的权限时,它不应该运行并给出一个AccessControlEception
或类似的东西。
然而,令人惊讶的是,即使用户拒绝了权限,小程序仍然继续运行。这是来自 Java 控制台的跟踪的一部分。
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
security: User has denied the priviledges to the code
security: Adding certificate in Deployment denied certificate store
security: Added certificate in Deployment denied certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
不是期望用户拒绝权限后,小程序不应该加载吗?这里发生了什么?