24
edits
(Created page with '= Status = Accepted, ready for implementation. Assigned NPAPI version 24. = Problem Summary = === Specification === '''Cancel Source Stream Support''' * Last modified: Janua…') |
|||
Line 4: | Line 4: | ||
= Problem Summary = | = Problem Summary = | ||
Plugins that do their own data loading should be able to prohibit the browser from loading data from the URL specified in the "src" attribute. | |||
=== Specification === | === Specification === | ||
Line 12: | Line 14: | ||
* Author: Anders Carlsson, Apple | * Author: Anders Carlsson, Apple | ||
* Contributors: | * Contributors: | ||
Before the browser tries to load the stream for the "src" attribute, it will call NPP_GetValue for "NPPVpluginCancelSrcStream", passing a pointer to an NPBool as the value. | |||
If the plug-in returns an error or sets the pointed to value to false, the stream will be loaded. If the plug-in sets the pointed to vale to true, the stream will not be loaded. | |||
For full-frame plug-ins, where a load has already started, the browser will cancel the load if the plug-in indicates that the src stream should be skipped. |
edits