Closed Bug 1220690 Opened 9 years ago Closed 6 years ago

Trimmed links in Web Console shouldn't actually point to a trimmed link

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ehsan.akhgari, Unassigned)

Details

STR:
1. Go to <https://jakearchibald.github.io/ebook-demo/publisher-site/readme/>.
2. Open the web console and type: "navigator.serviceWorker.controller"
3. See the following being dumped to the console:

ServiceWorker { scriptURL: "https://jakearchibald.github.io/ebo…", state: "activated", onstatechange: null, onerror: null }

4. Click on the scriptURL link.  You'll be navigated to <https://jakearchibald.github.io/ebo…>
Product: Firefox → DevTools
The STR does not lead to a cropped string anymore, but we are handling this case in Reps (the library we use to display variable in DevTools): https://github.com/devtools-html/debugger.html/blob/122f653b1d0c98b5a6dbed4d7cefc01a7e5e0c4f/packages/devtools-reps/src/reps/tests/string-with-url.js#L180-L195
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.