| Summary: | Web Inspector: shown() called twice on TextEditor.js | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Saam Barati <saam> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | graouts, joepeck, timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Saam Barati
2014-07-16 18:25:16 PDT
It seems like the issue is:
prepareToShow: function()
{
this._restoreFromCookie();
this.contentView.visible = true;
this.contentView.shown();
this.contentView.updateLayout();
},
If _restoreFromCookie causes the content view to be shown, there is no need to do it again. Perhaps restore from cookie should return whether or not it has been shown or not.
|