[Webkit-unassigned] [Bug 12617] Using NPN_SetProperty to set document.title doesn't work.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 6 09:19:48 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12617


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|                            |WORKSFORME
             Status|UNCONFIRMED                 |RESOLVED




------- Comment #3 from ap at webkit.org  2007-02-06 09:19 PDT -------
I have tried adding this code to TestNetscapePlugin, and the window title got
successfully changed after calling it.

void* window_object;
NPVariant vdoc;
browser->getvalue(obj->npp, NPNVWindowNPObject, &window_object);
browser->getproperty(obj->npp, window_object,
browser->getstringidentifier("document"), &vdoc);
browser->setproperty(obj->npp, vdoc.value.objectValue,
browser->getstringidentifier("title"), &newName);

I don't know if it was a bug in shipping WebKit, or something else. Please
re-open if you can still reproduce with TOT WebKit.


-- 
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