Closed Bug 61982 Opened 24 years ago Closed 23 years ago

Several JavaScript properties of Window object is unaccessible for pages, loaded in Webclient

Categories

(Core Graveyard :: Java APIs to WebShell, defect, P3)

Sun
Solaris
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: avm, Assigned: ashuk)

Details

(Whiteboard: suntrak-n6)

The following properties of Window object is unaccessible for pages, loaded in
Webclient:
window.outerWidth
window.outerHeight
window.screenX
window.screenY

But same pages with JavaScript code, loded in Mozilla works well.

Reproduced on FCS-candidate(from 11/30/2000)
Add status whiteboard "suntrak-n6"
Whiteboard: suntrak-n6
reassign.
Assignee: edburns → ashuk
Changing QA contact
QA Contact: geetha.vaidyanaathan → avm
Status: NEW → ASSIGNED
I have investigated this issue and discussed it with the Mozilla Embedding
folks. The Javascript properties such as window.outerWidth, are properties of
the XULWindow holding the nsIWebBrowser. For embedding clients, there is no hook
provided for Javascript to query the chrome provider (the embedding client) to
get such property info. Also there is no compelling usage scenario for the
embedding API's to provide such hooks. As such this feature will not be provided.

Closing the bug.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.