Bug 148204 - Web Inspector: User entered console commands disappear after re-opening Web Inspector
Summary: Web Inspector: User entered console commands disappear after re-opening Web I...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Local Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-19 17:37 PDT by Nikita Vasilyev
Modified: 2015-08-19 18:32 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 2015-08-19 17:37:23 PDT
<body onload="console.info('loaded')"></body>

Steps:
1. Open data:text/html,<script>console.log('loaded')</script>
2. Log 1+1 in the console
3. Close inspector
4. Open console

Expected:
[log] loaded
> 1+1
< 2

Actual:
[log] loaded


Is it expected behavior?
Comment 1 Radar WebKit Bug Importer 2015-08-19 17:37:34 PDT
<rdar://problem/22354300>
Comment 2 Timothy Hatcher 2015-08-19 18:32:47 PDT
Yes, expected. They are only stored on the front end. The logs, errors, warnings, etc are stored on the backend. User entered things are intended to be  ephemeral.