Closed Bug 1519822 Opened 7 years ago Closed 7 years ago

Crash in mozilla::dom::quota::(anonymous namespace)::OriginParser::HandleToken when opening Storage Inspector on a IPv6 URL

Categories

(Core :: Storage: Quota Manager, defect, P3)

64 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox-esr60 --- wontfix
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- fixed

People

(Reporter: mail, Assigned: tt)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

Actual results:

Firefox Crashed: https://crash-stats.mozilla.com/report/index/51b47cc8-056b-4f2c-bed0-0dfb80190114

Expected results:

Cookies etc should be listed

Severity: normal → critical
Crash Signature: [@ mozilla::dom::quota::(anonymous namespace)::OriginParser::HandleToken ]
Component: Untriaged → DOM: Quota Manager
Keywords: crash
Product: Firefox → Core
Summary: Crash when opening Storage Inspector on a IPv6 URL → Crash in mozilla::dom::quota::(anonymous namespace)::OriginParser::HandleToken when opening Storage Inspector on a IPv6 URL

I guess it's because OriginParser doesn't support this kind of URL. Since it's part of the initialization failure, I am going to take and fix it.

Assignee: nobody → shes050117
Blocks: 1482662
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

although it's a crash, but the number is low. I would probably work on this after fixing other crashes and issues.

Priority: -- → P3

Andrew and Jan told me that I should be careful of transferring issues while parsing into the disk. If we have this trouble, it is possible to have two different origins but having the same directory.

(In reply to Tom Tung [:tt, :ttung] from comment #3)

Andrew and Jan told me that I should be careful of transferring issues while parsing into the disk. If we have this trouble, it is possible to have two different origins but having the same directory.

Also, if someone has already had a directory from this origin, I should handle that properly.

The supporting format for IPv6 URL based on https://www.ietf.org/rfc/rfc2732.txt

Pushed by shes050117@gmail.com: https://hg.mozilla.org/integration/autoland/rev/00816819d381 Support IPv6 URL on OriginParser; r=asuth
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67

AFAICT, we're not hitting this in the wild, so we can let the fix ride the trains. Feel free to nominate for Beta uplift if you feel strongly otherwise, however.

Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: