nsIURIFixupInfo 编辑
docshell/base/nsIURIFixup.idl
Scriptable Interface indicating what we found/corrected when fixing up a URI. Inherits from: nsISupports
Last changed in Gecko 1.7Attributes
Attribute | Type | Description |
consumer |
| Consumer that asked for the fixed up URI. |
preferredURI |
| Best guess of what URI consumer expects. May be null if we can't deliver (eg. the input is an invalid URI and FIXUP_FLAG_ALLOW_KEYWORD_LOOKUP is not passed). Read only. |
fixedURI |
| The fixed-up original input, *never* using a keyword search. (May be null if the original input was broken as a URL, e.g. "foo bar"!). Read only. |
keywordProviderName | AString | The keyword search provider name expected to provide a keyword search; empty string if no keyword search is performed. Read only. |
keywordAsSent | AString | The keyword used for the search (post trimming etc.); empty string if no keyword search is performed. Read only. |
fixupChangedProtocol | boolean | If we changed the protocol; instead of using one raw from the input. Read only. |
fixupCreatedAlternateURI | boolean | If we created an alternative URI. Potentially adding a prefix and/or suffix; set by the browser.fixup.alternate.prefix and .suffix prefs, their defaults "www." and ".com", respectively. Read only. |
originalInput | AUTF8String | The original input. Read only. |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论