mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 675287 - Make Document.documentURI readonly; r=sicking
This commit is contained in:
parent
1a7c12e69a
commit
58b2ac48ed
@ -5966,14 +5966,6 @@ nsDocument::GetDocumentURI(nsAString& aDocumentURI)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDocument::SetDocumentURI(const nsAString& aDocumentURI)
|
||||
{
|
||||
// Not allowing this yet, need to think about security ramifications first.
|
||||
// We use mDocumentURI to get principals for this document.
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
static void BlastSubtreeToPieces(nsINode *aNode);
|
||||
|
||||
PLDHashOperator
|
||||
|
@ -66,7 +66,7 @@ interface nsIDOMLocation;
|
||||
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
|
||||
*/
|
||||
|
||||
[scriptable, uuid(CD4CD7C3-C688-4E50-9A72-4A00EABE66AB)]
|
||||
[scriptable, uuid(2008bf7d-3232-4fc2-b904-8728847d458f)]
|
||||
interface nsIDOMDocument : nsIDOMNode
|
||||
{
|
||||
readonly attribute nsIDOMDocumentType doctype;
|
||||
@ -112,7 +112,7 @@ interface nsIDOMDocument : nsIDOMNode
|
||||
attribute DOMString xmlVersion;
|
||||
// raises(DOMException) on setting
|
||||
// Introduced in DOM Level 3:
|
||||
attribute DOMString documentURI;
|
||||
readonly attribute DOMString documentURI;
|
||||
// Introduced in DOM Level 3:
|
||||
nsIDOMNode adoptNode(in nsIDOMNode source)
|
||||
raises(DOMException);
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#include "nsIDOMDocument.idl"
|
||||
|
||||
[scriptable, uuid(BB4D4D76-3802-4191-88E2-933BA609C4E1)]
|
||||
[scriptable, uuid(93c58275-d73c-4d97-9713-11b6885e0dc8)]
|
||||
interface nsIDOMXMLDocument : nsIDOMDocument
|
||||
{
|
||||
// DOM Level 3 Load & Save, DocumentLS
|
||||
|
@ -47,7 +47,7 @@
|
||||
*/
|
||||
interface nsISelection;
|
||||
|
||||
[scriptable, uuid(C94A5F14-F79F-4054-A93C-E8FF35623460)]
|
||||
[scriptable, uuid(689890ab-9190-4acc-bf69-035a468dd9da)]
|
||||
interface nsIDOMHTMLDocument : nsIDOMDocument
|
||||
{
|
||||
readonly attribute DOMString URL;
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
interface nsIDOMSVGSVGElement;
|
||||
|
||||
[scriptable, uuid(B3806DF6-7ED4-4426-84E6-545EEFE5AA9A)]
|
||||
[scriptable, uuid(d3277c06-db27-4c96-b320-f1fc766fc8d5)]
|
||||
interface nsIDOMSVGDocument : nsIDOMDocument
|
||||
{
|
||||
readonly attribute DOMString domain;
|
||||
|
Loading…
Reference in New Issue
Block a user