WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
181253
REGRESSION: Web Inspector: Debugger tab doesn't restore selected resource on reload
https://bugs.webkit.org/show_bug.cgi?id=181253
Summary
REGRESSION: Web Inspector: Debugger tab doesn't restore selected resource on ...
Joseph Pecoraro
Reported
2018-01-03 12:18:30 PST
Debugger tab doesn't restore selected resource on reload Steps to Reproduce: 1. Inspect webkit.org 2. Show Debugger tab 3. Select "global.js" 4. Reload => Expected global.js to be selected, instead webkit.org (document resource) was. Notes: - Following DebuggerSidebarPanel.prototype.restoreStateFromCookie has: ... else if (cookie[WI.DebuggerSidebarPanel.SelectedAssertionsCookieKey]) this._assertionsBreakpointTreeElement.revealAndSelect(); else if (cookie[WI.DebuggerSidebarPanel.SelectedAllRequestsCookieKey]) if (this._xhrBreakpointTreeController) this._xhrBreakpointTreeController.revealAndSelect(WI.domDebuggerManager.allRequestsBreakpoint); else super.restoreStateFromCookie(cookie, relaxedMatchDelay); Which actually executes as: ... else if (cookie[WI.DebuggerSidebarPanel.SelectedAssertionsCookieKey]) this._assertionsBreakpointTreeElement.revealAndSelect(); else if (cookie[WI.DebuggerSidebarPanel.SelectedAllRequestsCookieKey]) if (this._xhrBreakpointTreeController) this._xhrBreakpointTreeController.revealAndSelect(WI.domDebuggerManager.allRequestsBreakpoint); else super.restoreStateFromCookie(cookie, relaxedMatchDelay); Oops.
Attachments
[PATCH] Proposed Fix
(1.94 KB, patch)
2018-01-03 12:21 PST
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-01-03 12:19:35 PST
<
rdar://problem/36280564
>
Joseph Pecoraro
Comment 2
2018-01-03 12:21:30 PST
Created
attachment 330408
[details]
[PATCH] Proposed Fix
Matt Baker
Comment 3
2018-01-03 12:23:45 PST
Comment on
attachment 330408
[details]
[PATCH] Proposed Fix r=me
WebKit Commit Bot
Comment 4
2018-01-03 14:46:37 PST
Comment on
attachment 330408
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 330408 Committed
r226374
: <
https://trac.webkit.org/changeset/226374
>
WebKit Commit Bot
Comment 5
2018-01-03 14:46:38 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