Added a check for tabs that are prettyPrinted/formatted. If the tab we are attempting to open a new tab on is formatted, return and open the url of its unformatted equivalent.
Added a check for tabs that are prettyPrinted/formatted. If the tab we are attempting to open a new tab on is formatted, return and open the url of its unformatted equivalent.

1) Go to https://code.jquery.com/jquery-3.4.1.min.js
2) Open Devtools.
3) pretty print file jquery-3.4.1.min.js
4) on new pretty printed tab jquery-3.4.1.min.js:formatted, right click on the tab then click 'open in new tab' button.
expect : The url to the js file opens in a new tab
result : The url + ':formatted' opens in a new tab resulting in a 404 not found

R=dba8716ee7f8d16236046f74d2167cb94410f6ed@chromium.org

Fixed: 911623
Change-Id: I92d10e0b1fdad295c2c4aa436af3e30797ba5d25
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2769978
Reviewed-by: Tim van der Lippe <dba8716ee7f8d16236046f74d2167cb94410f6ed@chromium.org>
Commit-Queue: Tim van der Lippe <dba8716ee7f8d16236046f74d2167cb94410f6ed@chromium.org>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend