Block URL action doesn't work
Categories
(DevTools :: Netmonitor, defect, P2)
Tracking
(firefox-esr60 unaffected, firefox67 unaffected, firefox68 verified, firefox69 verified)
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox67 | --- | unaffected |
firefox68 | --- | verified |
firefox69 | --- | verified |
People
(Reporter: Honza, Assigned: tanhengyeow)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
Recently introduced Block URL action doesn't work since there is no selected request
STR:
- Load this page: http://janodvarko.cz/firebug/tests/601/Issue601.htm
- Open DevTools select the Network panel
- Click the POST button
- Right click on the request in the Network panel and pick: Block URL
- Click the POST button in the page again
- The request isn't blocked -> BUG
If you select the request by clicking on it and consequently executing the "Block URL" action it works properly.
The problem is in this method:
https://searchfox.org/mozilla-central/rev/662de518b1686c4769320d6b8825ce4864c4eda0/devtools/client/netmonitor/src/actions/requests.js#111-122
getSelectedRequest(getState());
returns null
Honza
Reporter | ||
Comment 1•5 years ago
|
||
@Heng Yeow: I think this is caused by bug 1466598, can you please look at that?
Honza
Reporter | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Regression range:
- Last good build_date: 2019-05-17 17:46:47.191000 changeset: c94c54aff4669f52cebc76ddad34a76f4fafd03b
- First bad build_date: 2019-05-17 17:46:47.191000 changeset: c94c54aff4669f52cebc76ddad34a76f4fafd03b
Pushlog link
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Fixed the regression! Try looks good as well :)
Updated•5 years ago
|
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8e80b2082da5 Fix Block URL action. r=Honza
Reporter | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Reporter | ||
Comment 8•5 years ago
|
||
Comment on attachment 9067423 [details]
Bug 1554095 - Fix Block URL action. r=Honza
Beta/Release Uplift Approval Request
- User impact if declined: Manual HTTP request blocking doesn't work in the Network panel (DevTools)
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Small patch, tested in Nightly, impact only on Web developers (not on regular Firefox users)
- String changes made/needed:
Updated•5 years ago
|
Comment 9•5 years ago
|
||
Comment on attachment 9067423 [details]
Bug 1554095 - Fix Block URL action. r=Honza
netmonitor fix for 68.0b8
Reporter | ||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
bugherder uplift |
Comment 11•5 years ago
|
||
Confirmed with 69.0a1 (2019-06-05) and 68.0b10.
Working fine on current versions as well, heh.
Updated•2 years ago
|
Description
•