Bug 1554095 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Recently introduced Block URL action doesn't work since there is no selected request

STR:

1) Load this page: http://janodvarko.cz/firebug/tests/601/Issue601.htm
2) Open DevTools select the Network panel
3) Click the POST button
4) Right click on the request in the Network panel and pick: Block URL
5) Click the POST button in the page again
6) 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());` return null

Honza
Recently introduced Block URL action doesn't work since there is no selected request

STR:

1) Load this page: http://janodvarko.cz/firebug/tests/601/Issue601.htm
2) Open DevTools select the Network panel
3) Click the POST button
4) Right click on the request in the Network panel and pick: Block URL
5) Click the POST button in the page again
6) 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

Back to Bug 1554095 Comment 0