Closed Bug 539038 Opened 15 years ago Closed 3 years ago

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

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

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
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.