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 Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1820514

Title:
  Saving a web page from Tom's Hardware forums fails

Status in Mozilla Firefox:
  Confirmed
Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  == Steps to reproduce ==
  1. Open 
https://forums.tomshardware.com/threads/what-is-the-actually-difference-between-udimm-and-dimm.1575984/
  2. Right-click and select 'Save page as'. Point the dialog to your directory 
of choice.

  == What I expect to happen ==
  For the directory to contain a downloaded copy of the page.

  == What happens ==
  There's no copy of the page in the target directory. Going to about:downloads 
reveals that the download has failed, without further details.

  == Other info ==
  I'm reporting this from up-to-date Disco, albeit with a 4.* kernel (as gdm 
currently fails to start in my VirtualBox VM with 5.*) but it's equally 
reproducible in Bionic.

  Any page under https://forums.tomshardware.com/ seems to trigger this,
  but I have yet to come across other sites that do. Pages can even be
  saved from the main Tom's Hardware domain
  (https://www.tomshardware.com/) without issues.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: firefox 66.0+build3-0ubuntu1
  ProcVersionSignature: Ubuntu 4.19.0-9.10-generic 4.19.8
  Uname: Linux 4.19.0-9-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  jani       1324 F.... pulseaudio
  BuildID: 20190315094614
  Channel: Unavailable
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Mar 17 15:37:04 2019
  Extensions: extensions.sqlite corrupt or missing
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  InstallationDate: Installed on 2018-09-30 (167 days ago)
  InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Beta amd64 (20180930)
  IpRoute:
   default via 10.0.2.2 dev enp0s3 proto dhcp metric 100 
   10.0.2.0/24 dev enp0s3 proto kernel scope link src 10.0.2.15 metric 100 
   169.254.0.0/16 dev enp0s3 scope link metric 1000
  Locales: extensions.sqlite corrupt or missing
  PrefSources: prefs.js
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fi_FI.UTF-8
   SHELL=/bin/bash
  Profiles: Profile0 (Default) - LastVersion=66.0/20190315094614 (In use)
  RunningIncompatibleAddons: False
  SourcePackage: firefox
  Themes: extensions.sqlite corrupt or missing
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/01/2006
  dmi.bios.vendor: innotek GmbH
  dmi.bios.version: VirtualBox
  dmi.board.name: VirtualBox
  dmi.board.vendor: Oracle Corporation
  dmi.board.version: 1.2
  dmi.chassis.type: 1
  dmi.chassis.vendor: Oracle Corporation
  dmi.modalias: 
dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
  dmi.product.family: Virtual Machine
  dmi.product.name: VirtualBox
  dmi.product.version: 1.2
  dmi.sys.vendor: innotek GmbH

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1820514/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to