WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
171833
Web Inspector: Request/Response toggles not working
https://bugs.webkit.org/show_bug.cgi?id=171833
Summary
Web Inspector: Request/Response toggles not working
Joseph Pecoraro
Reported
2017-05-08 15:30:45 PDT
Summary: Request/Response toggles not working Steps to Reproduce: 1. Inspect
https://bugreport.apple.com/
2. Login if needed (with a non-Apple account) 3. Select "Hidden" in the sidebar on the page => makes a getSectionProblems¹ resource 4. Select "Closed" in the sidebar on the page => makes a getSectionProblems² resource 5. Show Resource tab in Inspector 6. Select getSectionProblems¹ => you are able to toggle between Request / Response just fine 7. Select getSectionProblems² => you cannot toggle between Request / Response Notes: - In step 7 the Request / Response toggles are actually for getSectionProblems¹ - The path components did not update because their "represented objects" didn't actually change, even though they are for a completely new object. See the bail in HierarchicalPathNavigationItem.js:
> let componentsEqual = function(a, b) { > let getRepresentedObjects = (component) => component.representedObject; > let representedObjectsA = a.map(getRepresentedObjects); > let representedObjectsB = b.map(getRepresentedObjects); > return Array.shallowEqual(representedObjectsA, representedObjectsB); > };
>
> if (this._components && componentsEqual(this._components, newComponents)) > return;
Attachments
[PATCH] Proposed Fix
(7.35 KB, patch)
2017-05-08 15:42 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2017-05-08 15:38:47 PDT
<
rdar://problem/31341637
>
Joseph Pecoraro
Comment 2
2017-05-08 15:42:22 PDT
Created
attachment 309422
[details]
[PATCH] Proposed Fix
Blaze Burg
Comment 3
2017-05-08 15:44:18 PDT
Comment on
attachment 309422
[details]
[PATCH] Proposed Fix r=me!
WebKit Commit Bot
Comment 4
2017-05-08 16:12:32 PDT
Comment on
attachment 309422
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 309422 Committed
r216461
: <
http://trac.webkit.org/changeset/216461
>
WebKit Commit Bot
Comment 5
2017-05-08 16:12:33 PDT
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