[Bug 1820514]
Gijskruitbosch+bugs
1820514 at bugs.launchpad.net
Wed Mar 27 15:09:18 UTC 2019
Saving only the HTML works, "web page, complete" doesn't.
There's some issue with nsIWebBrowserPersist here. There's a `<script>`
tag on the page that has a src of
`//?loc=https://forums.tomshardware.com/threads/what-is-the-actually-
difference-between-udimm-and-dimm.1575984/` . That's a protocol-relative
URL, but you can't do that without a hostname, so creating a URL fails,
which throws an NS_ERROR_MALFORMED_URI which breaks the DOM walk at
https://dxr.mozilla.org/mozilla-
central/rev/7f816aa10a2053973c4e6977c5d6f6bf15f38820/dom/webbrowserpersist/WebBrowserPersistLocalDocument.cpp#1101-1104
. Tom's hardware can fix this by making the URL not broken, but
obviously webbrowserpersist code shouldn't fail on this.
Moving to where the source code docs say bugs in this component should
go.
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to Mozilla Firefox.
https://bugs.launchpad.net/bugs/1820514
Title:
Saving a web page from Tom's Hardware forums fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1820514/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list