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)
commit96c6c37b18c950be0f47e62c6bd212e4b0ad7eeb
treebf1afa9527432c4d79a1ca0b9ac02f9ebd32c3f1
parentd5c94e0acc3fac6262ee13fec5fc43fc83662f34
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: http://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