Don't ignore internal requests in app/filtering
Don't ignore internal requests in app/filtering

and return details.firstPartyUrl as a fallback for main frame URL.

Internal requests (tabId == -1) were ignored in order to fix https://github.com/brave/browser-laptop/issues/5934 in https://github.com/brave/browser-laptop/commit/6023abd171eb0ec582eb96e71f18ad30dddba32e. However (1) #5934 works without ignoring internal requests now and (2) generally speaking, non-webview requests should also be protected by HTTPS Everywhere, etc.

fix #12253
fix #12252

Test Plan:
1. confirm HTTPS Everywhere and Safebrowsing are working using the test plans in https://github.com/brave/browser-laptop/issues/12253 and https://github.com/brave/browser-laptop/issues/12252
2. confirm that https://github.com/brave/browser-laptop/issues/5934 has not regressed by enabling Pocket

diasdavid/browser-laptop,diasdavid/browser-laptop,diasdavid/browser-laptop,diasdavid/browser-laptop