Closed
Bug 596743
Opened 14 years ago
Closed 14 years ago
Need external RenderDocument API for embedding
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: tatiana, Assigned: tatiana)
References
Details
Attachments
(1 file, 1 obsolete file)
3.79 KB,
patch
|
roc
:
review+
roc
:
approval2.0+
|
Details | Diff | Splinter Review |
In qt embedding we should be able to render document to an external surface. We need to add shell->RenderDocument wrapper to nsIDOMWindowUtils, because GetShell is internal API and it's not possible to use it from external embedding library.
Assignee | ||
Updated•14 years ago
|
Attachment #475637 -
Flags: review?(roc)
Why is it not possible to use GetShell? It's inline.
Comment 2•14 years ago
|
||
It seems that the size of nsIDocument is different if you use MOZILLA_INTERNAL_API or something like that. Besides which we really don't want people using nsIDocument out of libxul.
Assignee | ||
Comment 3•14 years ago
|
||
updated uuid
Assignee: nobody → tanya.meshkova
Attachment #475637 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #475723 -
Flags: review?(roc)
Attachment #475637 -
Flags: review?(roc)
Attachment #475723 -
Flags: review?(roc) → review+
Comment 4•14 years ago
|
||
Comment on attachment 475723 [details] [diff] [review] patch I think patch is pretty safe, and useful for embedders, and native extensions. Can we get it in?
Attachment #475723 -
Flags: approval2.0?
Attachment #475723 -
Flags: approval2.0? → approval2.0+
Comment 5•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/bc10c72eb8f1
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 7•14 years ago
|
||
So... the change to nsIDOMWindowUtils is WRONG. Very very wrong. If you need to add a method to an IDL interface like this, you should make it noscript and notxpcom, but tossing it in a C++ block means that XPConnect will be confused about what the vtable looks like, and if anyone is foolish enough to add things after your code, or to inherit from this interface, calling things will jump to the wrong methods and crash.
Updated•14 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 8•14 years ago
|
||
Comment 7 was fixed by bug 605999.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•