https://bugs.winehq.org/show_bug.cgi?id=37279
Bug ID: 37279 Summary: builtin IE "document.location.pathname" returns without leading slash Product: Wine Version: 1.7.26 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mshtml Assignee: wine-bugs@winehq.org Reporter: penghao@linuxdeepin.com
Created attachment 49577 --> https://bugs.winehq.org/attachment.cgi?id=49577 test case
I have upload a test html page, use jscript to get value of document.location.pathname. if it was start with a leading slash, nothing will happen; if don't, will be a alert.
this page was tested on IE8/11, Chrome, Firefox. they are all right. but in builtin IE the value will do not have leading slash.
https://bugs.winehq.org/show_bug.cgi?id=37279
--- Comment #1 from Hao Peng penghao@linuxdeepin.com --- I made a hack patch, which will make this test pass. also the original progam which case me found this problem work properly, too.
But the test fails on mshtml location part.
https://bugs.winehq.org/show_bug.cgi?id=37279
--- Comment #2 from Hao Peng penghao@linuxdeepin.com --- Created attachment 49578 --> https://bugs.winehq.org/attachment.cgi?id=49578 hack for this problem
https://bugs.winehq.org/show_bug.cgi?id=37279
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=37279
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |jacek@codeweavers.com Ever confirmed|0 |1
--- Comment #3 from Qian Hong fracting@gmail.com --- Confirming, affects QQDownload.
https://bugs.winehq.org/show_bug.cgi?id=37279
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase
https://bugs.winehq.org/show_bug.cgi?id=37279
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=37279
lizhenbo litimetal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=37279
--- Comment #4 from Jacek Caban jacek@codeweavers.com --- Patch sent: https://source.winehq.org/patches/data/165634
https://bugs.winehq.org/show_bug.cgi?id=37279
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |e33ce7c53854c1fe17921826564 | |2e9ede4152d39 Resolution|--- |FIXED
--- Comment #5 from Jacek Caban jacek@codeweavers.com --- Fixed in Git.
https://bugs.winehq.org/show_bug.cgi?id=37279
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.10.