https://bugs.kde.org/show_bug.cgi?id=465374
Bug ID: 465374
Summary: enum CookieDetails should not be private
Classification: Frameworks and Libraries
Product: frameworks-kio
Version: git master
Platform: unspecified
OS: All
Status: REPORTED
Severity: normal
Priority: NOR
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
enum CookieDetails contains symbolic constants for column numbers of the cookie
table. It is contained in the cookie table implementation source file, thus
forcing Konqueror to use raw column numbers in tests.
STEPS TO REPRODUCE
1. Read the source code TestWebEnginePartCookieJar ::findTestCookies
OBSERVED RESULT
const QList<int> fields{0,1,2,3};
EXPECTED RESULT
QList <int> const fields { CF_DOMAIN, CF_PATH, CF_NAME, CF_HOST };
SOFTWARE/OS VERSIONS
ADDITIONAL INFORMATION
Of course, the test could use a specialised desktop bus proxy instead of making
a raw call to the cookie server. I do not know about any such publicly
available proxy class; if it already exists, fixing the test would be
straightforward.
--
You are receiving this mail because:
You are watching all bug changes.