Closed
Bug 667485
Opened 15 years ago
Closed 15 years ago
Add windows' document size to windows size
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
FIXED
mozilla7
People
(Reporter: mounir, Assigned: mounir)
References
Details
Attachments
(1 file)
|
1.41 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
... only for inner windows.
Attachment #542176 -
Flags: review?(jst)
Comment 1•15 years ago
|
||
Comment on attachment 542176 [details] [diff] [review]
Patch v1
s/PRInt64/size_t/ here as well.
r=jst
Attachment #542176 -
Flags: review?(jst) → review+
| Assignee | ||
Updated•15 years ago
|
Flags: in-testsuite-
Whiteboard: [needs review] → [inbound]
| Assignee | ||
Comment 2•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla7
Comment 3•15 years ago
|
||
Fix visible in the /dom/base/nsGlobalWindow.h file:
2.13 + PRInt64 size = sizeof(*this);
2.14 +
2.15 + if (IsInnerWindow() && mDoc) {
2.16 + size += mDoc->SizeOf();
2.17 + }
2.18 +
2.19 + return size;
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•