Navigator 4.0 will also support several other new features:
- In Navigator 4.0, the data-tainting security model may be
enabled by default. If so, this will substantially relax many of the
security hobbles described in Chapter 20, JavaScript Security. These hobbles will be
replaced, to some extent, with a suite of new user confirmation
dialogs that will appear when JavaScript detects a possible
security violation. Some existing scripts may have to be
rewritten to avoid posting these dialogs when they are not
strictly necessary.
- Navigator 4.0 will provide methods that allow JavaScript
programs to query the current browser window size, the screen
resolution, and screen color depth. These new methods will
presumably be implemented as part of the Navigator object.
- Navigator 4.0 will include a working Anchor object, and the
anchors in a document will finally be available through the
anchors[] array of the Document object.
Because of the absolute positioning changes described above,
properties of the anchor object will include their
x and y
coordinates within the document.
- Navigator 4.0 will provide support for embedded objects with
the <OBJECT> tag. It is not clear
what the overlap between this tag and the
<EMBED> tag will be nor in what way
the <OBJECT> tag will be accessible
to JavaScript programs.