NPAPI:DocumentOrigin: Difference between revisions

no edit summary
No edit summary
 
Line 1: Line 1:
= Status =
= Status =


Under Consideration
Accepted, ready for implementation.


= Contributors =
= Contributors =


* Last modified: August 8, 2011
* Last modified: September 9, 2011
* Authors: Josh Aas (Mozilla Corporation)
* Authors: Josh Aas (Mozilla Corporation)
* Contributors: Boris Zbarsky (Mozilla Corporation)
* Contributors: Boris Zbarsky (Mozilla Corporation)
Line 17: Line 17:
The following NPAPI variable will be added:
The following NPAPI variable will be added:


   NPNVdocumentOrigin = TBA
   NPNVdocumentOrigin = 22


The value for this variable will be the [http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#unicode-serialization-of-an-origin Unicode serialization] of the origin converted to NFKC-encoded (normalized) UTF-8. Memory for this string must be freed by the plugin via <code>NPN_MemFree</code>.
The value for this variable will be the [http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#unicode-serialization-of-an-origin Unicode serialization] of the origin converted to NFKC-encoded (normalized) UTF-8. Memory for this string must be freed by the plugin via <code>NPN_MemFree</code>.
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits