Add windows' document size to windows size

VERIFIED FIXED in mozilla7

Status

()

Core
DOM: Core & HTML
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: mounir, Assigned: mounir)

Tracking

Trunk
mozilla7
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Created attachment 542176 [details] [diff] [review]
Patch v1

... only for inner windows.
Attachment #542176 - Flags: review?(jst)
(Assignee)

Updated

6 years ago
Blocks: 667497
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

6 years ago
Flags: in-testsuite-
Whiteboard: [needs review] → [inbound]
(Assignee)

Comment 2

6 years ago
http://hg.mozilla.org/mozilla-central/rev/27e8429814c3
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla7

Comment 3

6 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.