Open Bug 539038 Opened 10 years ago Updated 10 years ago

NPN_GetURLNotify with malformed javascript: or data: URIs calls an unexpected NPP_URLNotify

Categories

(Core :: Plug-ins, defect)

x86
Windows 7
defect
Not set

Tracking

()

People

(Reporter: benjamin, Unassigned)

Details

Normally when a plugin calls NPN_GetURLNotify, I think this invariant holds (or should hold):

* NPN_GetURLNotify succeeds, and at some point (either immediately or later) NPP_URLNotify is called
* NPN_GetURLNotify fails and NPP_URLNotify is never called

Currently however, if you pass a malformed javascript: or data: URI to NPN_GetURLNotify, NPP_URLNotify is called *and* NPN_GetURLNotify returns a failure code.

There are disabled tests for this in test_streamNotify.html
You need to log in before you can comment on or make changes to this bug.