HTML APIs
- The plug-in DLL can’t contain ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The plug-in DLL should contain FileExtents which specifies file extensions, ProductName which is for plug-in name, Language for the language which is in use, FileDescription for the description, MIMEType for the MIME types, FileOpenName for file open template.
- Which of the following is not a transmission mode that plug-in can select?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
There are three transmission modes that plug-in can select. In normal mode browser sends stream data sequentially to plug-in, in Random-access mode browser allows a plug-in to request specific ranges of bytes from anywhere in the stream. In File, mode browser saves data to a local file in cache and passes the file path to plug-in.
- Which method is used for sending data to URL from memory buffer?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
For sending data to URL from file or a memory buffer we used NPN_PostURL. The result obtains from a server can also be sent to a particular browser window or frame for display, or delivered to a plug-in instance in the new stream.
- Which of the following request is used for the browser to load a URL?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
NPN_GetURL is a request for the browser to load a URL into a particular frame for display or browser window, or for delivering data of that URL to the plug-in instance in a new stream. NPN_PostURLNotify function notifies plug-in of a result when an operation completes.
- Which function helps in identifying compatibility of plug-in and browser?
-
View Hint View Answer Discuss in Forum
None of these
Correct Option: C
For determining whether plug-in and browser versions are compatible or not we use NPN_Version method It also provides alternative processing for different versions. For checking changes in major and minor version numbers it can also be used.