https://bugzilla.wikimedia.org/show_bug.cgi?id=72506
Bug ID: 72506
Summary: QUnit failures in browser for toggling tests
Product: MobileFrontend
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Hygiene
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
http://127.0.0.1:8080/wiki/Special:JavaScriptTest/qunit?module=MobileFrontend%20toggle.js%3A%20remember%20expanded%20sections
causes various issues.
We should really be using sinon in some way here.
Side note:
* getExpandedSections has side effects (updates local storage)
* Really this code should be refactored. The toggle code is now horribly
unreadable. We should think about giving it a complete rewrite, maybe making
use of Page.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l