NPAPI:DocumentOrigin: Difference between revisions

Line 11: Line 11:
= Problem Summary =
= Problem Summary =


Plugins frequently need to make security decisions based on document URLs. This is usually done using NPRuntime to access <code>window.location</code> in the DOM. We should provide a secure and convenient way to access and instance's document URL.
Plugins frequently need to make security decisions based on document URLs. This is usually done using NPRuntime to access <code>window.location</code> in the DOM. We should provide a secure and convenient way to access an instance's document URL.


= Current Proposal =
= Current Proposal =
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits