summaryrefslogtreecommitdiffstats
path: root/dom/base/nsIDocument.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-01 15:04:58 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:07 -0500
commit32f3f8826f396fd17c1c77770d073d0abf15c904 (patch)
treea1cb100c516af764e45e485a9e7d0785818aca0f /dom/base/nsIDocument.h
parenta2b56b295b8bd089b74c5d93148edafe7e6da912 (diff)
downloadUXP-32f3f8826f396fd17c1c77770d073d0abf15c904.tar
UXP-32f3f8826f396fd17c1c77770d073d0abf15c904.tar.gz
UXP-32f3f8826f396fd17c1c77770d073d0abf15c904.tar.lz
UXP-32f3f8826f396fd17c1c77770d073d0abf15c904.tar.xz
UXP-32f3f8826f396fd17c1c77770d073d0abf15c904.zip
Bug 1276438 part 2. Move the implementation of the .body setter from nsHTMLDocument to nsIDocument.
Tag UXP Issue #1344 Tag UXP Issue #252
Diffstat (limited to 'dom/base/nsIDocument.h')
-rw-r--r--dom/base/nsIDocument.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/base/nsIDocument.h b/dom/base/nsIDocument.h
index b3879c624..e44ab047e 100644
--- a/dom/base/nsIDocument.h
+++ b/dom/base/nsIDocument.h
@@ -1040,6 +1040,8 @@ public:
// Get the "body" in the sense of document.body: The first <body> or
// <frameset> that's a child of a root <html>
nsGenericHTMLElement* GetBody();
+ // Set the "body" in the sense of document.body.
+ void SetBody(nsGenericHTMLElement* aBody, mozilla::ErrorResult& rv);
/**
* Accessors to the collection of stylesheets owned by this document.