Netmonitor blocking - The same string is accepted twice in the Request Blocking list
Categories
(DevTools :: Netmonitor, defect, P2)
Tracking
(firefox-esr60 disabled, firefox-esr68 disabled, firefox69 disabled, firefox70 disabled, firefox71 verified)
People
(Reporter: csasca, Assigned: davidwalsh)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Affected versions
- 71.0a1 (2019-10-1)
Affected platforms
- All available
Steps to reproduce
- Launch Firefox;
- Set devtools.netmonitor.features.requestBlocking to true in about:config;
- Access any webpage, press F12 to open the DevTools inspector and select Network tab;
- Block any request so that the Blocking UI is enabled;
- Copy the blocked string and create a new entry on the Request Blocking list;
Expected result
- The same string is not added to the list.
Actual result
- The second entry for the same string is added.
Regression Range
- Not a regression, only visible after implementation of bug 1580728;
Additional notes
- Attached a recording with the issue;
- If the method from STR doesn't work, then add another string to the list, and edit it with the first one (which is copied to clipboard).
Comment 1•5 years ago
|
||
I can't manage to create two blocking entries with the same string.
When trying to add an entry which is the same as an already existing, it isn't added after pressing the Enter key.
Is this still reproducible?
Any specific action I should do?
Honza
Reporter | ||
Comment 2•5 years ago
|
||
Ok, try this: Block an url, and copy it's string too. After that, block a different entry, to add it to the blocked list. Next, edit the second blocked entry and paste the string that was saved to clipboard.
Comment 3•5 years ago
|
||
(In reply to Catalin Sasca, QA [:csasca] from comment #2)
Ok, try this: Block an url, and copy it's string too. After that, block a different entry, to add it to the blocked list. Next, edit the second blocked entry and paste the string that was saved to clipboard.
I can reproduce that now, thanks!
Honza
Assignee | ||
Comment 4•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Pushed by dwalsh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4ec5e79bb310 Prevent URLs from being duplicated in Network Panel's request blocking r=Honza
Comment 6•5 years ago
|
||
bugherder |
Reporter | ||
Comment 7•5 years ago
|
||
The issue is fixed in latest Firefox Nightly 71.0a1 (2019-10-13).
Description
•