Open
Bug 1729686
Opened 2 years ago
Updated 1 year ago
Mixed slashes from __FILE__ macro lead to substitution error
Categories
(Core :: Storage: Quota Manager, task, P3)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox94 | --- | affected |
People
(Reporter: jjalkanen, Unassigned)
Details
Attachments
(1 file)
564.97 KB,
image/png
|
Details |
Macro __FILE__
is what compiler receives during compilation and may contain mixed slashes on Windows.
If absolute paths or build-time resources are probed by matching the known relative path to the value of the macro, the system dependent slashes need to be handled.
This issue triggers the assert in dom::quota::GetTreeBase around line 212 during unit test
TEST(QuotaCommon_MakeSourceFileRelativePath, DomQuotaSourceFile_Exported)
in file
dom\quota\test\gtest\TestQuotaCommon.cpp
on Windows platform.
The affected function is only used to generate information for error messages and as a consequence the error messages might contain less or malformed information.
Reporter | ||
Updated•1 year ago
|
Severity: -- → S4
Type: defect → task
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•