WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
28297
WebInspector: Wrap console objects late (in the frontend) so that injected script was already in place.
https://bugs.webkit.org/show_bug.cgi?id=28297
Summary
WebInspector: Wrap console objects late (in the frontend) so that injected sc...
Pavel Feldman
Reported
2009-08-14 02:32:52 PDT
Otherwise, console.log being executed before frontend has started causes operation on uninitialized ScriptObject.
Attachments
patch
(9.70 KB, patch)
2009-08-14 03:11 PDT
,
Pavel Feldman
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2009-08-14 03:11:09 PDT
Created
attachment 34823
[details]
patch This patch moves stack processing back to the ConsoleMessage and introduces dependency from InspectorFrontend to the InspectorController for object wrapping. It actually reverts ConsoleMessage.* to where they were before the DOMAgent-related change.
Pavel Feldman
Comment 2
2009-08-14 04:39:56 PDT
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/inspector/ConsoleMessage.cpp M WebCore/inspector/ConsoleMessage.h M WebCore/inspector/InspectorController.cpp M WebCore/inspector/InspectorController.h M WebCore/inspector/InspectorFrontend.cpp M WebCore/inspector/InspectorFrontend.h Committed
r47277
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