WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
129617
Web Inspector: TypeError: null is not an object (evaluating 'document.body.classList')
https://bugs.webkit.org/show_bug.cgi?id=129617
Summary
Web Inspector: TypeError: null is not an object (evaluating 'document.body.cl...
Joseph Pecoraro
Reported
2014-03-03 12:13:59 PST
Inspecting the inspector I see: [Error] TypeError: null is not an object (evaluating 'document.body.classList') _windowFocused (Main.js, line 783) (anonymous function) ([native code], line 0) Weird.
Attachments
Patch
(3.56 KB, patch)
2014-03-03 12:45 PST
,
Timothy Hatcher
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-03-03 12:14:45 PST
<
rdar://problem/16213488
>
Timothy Hatcher
Comment 2
2014-03-03 12:40:36 PST
Well we do add the _windowFocused listener before the DOMContentLoaded event. So if it fires early it will cause this. I guess we should delay adding the listener until DOMContentLoaded.
Timothy Hatcher
Comment 3
2014-03-03 12:45:39 PST
Created
attachment 225683
[details]
Patch
WebKit Commit Bot
Comment 4
2014-03-03 13:46:53 PST
Comment on
attachment 225683
[details]
Patch Clearing flags on attachment: 225683 Committed
r165007
: <
http://trac.webkit.org/changeset/165007
>
WebKit Commit Bot
Comment 5
2014-03-03 13:46:55 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug