[Webkit-unassigned] [Bug 12614] New: NPN_GetProperty() to get document.URL in a full page plugin gives bizzare answers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 5 11:20:47 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=12614
Summary: NPN_GetProperty() to get document.URL in a full page
plugin gives bizzare answers
Product: WebKit
Version: 416.x
Platform: PC
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Plug-ins
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: wbardwel at curl.com
If I use the npruntime in Safari 2.0.2(416.13) and do the following:
NPN_GetValue(inst->npp, NPNVWindowNPObject, &window_object)
NPN_GetProperty(inst->npp, window_object,
NPN_GetStringIdentifier("document"), &vdoc)
NPN_GetProperty(inst->npp, docObject, NPN_GetStringIdentifier("URL"), &vurl)
To try to figure out the URL of the hosting HTML page, it turns the
right answer when I load an HTML page with an OBJECT tag handled by
my plugin, but when I then browse to a page where the URL is for a page
handled by the plugin, it still returns the previous HTML page, which is
totally wrong.
I would expect it to return null, void, or empty string, or fail when used from
a full page plugin.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list