Closed Bug 933513 Opened 11 years ago Closed 11 years ago

Assigning to window.performance throws "value is not a non-null object" (breaks http://google.com/nexus/5/)

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla28

People

(Reporter: johns, Assigned: peterv)

References

Details

(Whiteboard: fixed by 932320)

Doing: > window.performance = window.performance || {} Throws after bug 918345: > TypeError: value is not a non-null object I don't know if is proper per spec, but googling reveals many tutorials and stack overflow responses suggesting this or a similar assignment (e.g. window.performance = window.mozPerformance || window.performance || ...).
No, but it should be fixed by bug 932320.
Depends on: 932320
Just to be clear, this is happening in the Web Console?
No, this happens in a web page too, because "window" is a proxy.
Remove the tracking nom as bug 932320 is already tracking and this is a dependency on it.
Keywords: verifyme
Bug 932320 fixes this, and the nexus site works again \o/
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Didn't mean to re-set tracking
... nor was this uplifted, but that's tracked in 932320
Whiteboard: fixed by 932320
Assignee: nobody → peterv
Target Milestone: --- → mozilla28
Reproduce the "value is not a non-null object" error with Firefox 28.0a1 on http://google.com/nexus/5/. Verified as fixed with Firefox 28.0b4 on windows 7 64bit, Mac OS X 10.8.5 and Ubuntu 13.04 32bit.
Status: RESOLVED → VERIFIED
Keywords: verifyme
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.