Web Replay: memoize nondeterministic attributes of the Navigator interface
authorburg@cs.washington.edu <burg@cs.washington.edu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Apr 2014 22:01:04 +0000 (22:01 +0000)
committerburg@cs.washington.edu <burg@cs.washington.edu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Apr 2014 22:01:04 +0000 (22:01 +0000)
commitd05081198394b2ebc0b8cc99caf16a6a0ca9548b
treebf1afa9527432c4d79a1ca0b9ac02f9ebd32c3f1
parent773595e8c18d6ab785f884ac5539349da705082e
Web Replay: memoize nondeterministic attributes of the Navigator interface
https://bugs.webkit.org/show_bug.cgi?id=131340

Reviewed by Timothy Hatcher.

.:

* ManualTests/inspector/replay-window-navigator-basic.html: Added.

Source/WebCore:

Most attributes of window.navigator do not change very often, but they
could be easily changed by the user or embedder. So, memoize attribute values.

This change does not include navigator.mimeTypes and navigator.plugins,
which will be handled at a different level. <https://webkit.org/b/131341>

Test: ManualTests/inspector/replay-window-navigator-basic.html

* page/Navigator.idl: Add Nondeterministic attribute.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@167157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
ManualTests/inspector/replay-window-navigator-basic.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/page/Navigator.idl