Page MenuHomePhabricator

IE6 throws JS error about csshover.htc when loading enhanced toolbar
Closed, ResolvedPublic

Description

Author: wikibugs

Description:
Wiki_2010-03-17_IE6_toolbar.pdf

Reporting against Babaco Release : r63174
Tested link :http://prototype.wikimedia.org/deployment-en/

Steps to Reproduce ::

Please refer the attachment

Test Environment::

Mozilla/4.0 (compatible;MSIE 6.0;Windows NT 5.1;SV1;.NET CLR 2.0.50727)


Version: 1.17.x
Severity: major

Attached:

Details

Reference
bz22858

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:07 PM
bzimport set Reference to bz22858.

Solved in r63866 by checking if the toolbar is supported before removing the
old one.

wikibugs wrote:

Wiki_2010-03-18_IE6.pdf

Verified on Babaco Release : r59858
Tested link :http://en.wikipedia.org

IE 6 not display the tool bar. This time IE 6 gives an error too.

Attached:

wikibugs wrote:

(In reply to comment #2)

Created an attachment (id=7218) [details]
Wiki_2010-03-18_IE6.pdf

Verified on Babaco Release : r59858
Tested link :http://en.wikipedia.org

IE 6 not display the tool bar. This time IE 6 gives an error too.

Therefore re-opening the bug

Error message from the attachment:

Access is denied to: http://bits.wikimedia.org/skins-1.5/vector/csshover.htc

Seems this is a bug in Vector's :hover-for-IE patch then.

No, this is because bits.wikimedia.org is not en.wikipedia.org or whatever the project's URL is. We need to not server this file from bits.wikimedia.org but rather go back to serving it from the project domain as it was when I designed this skin. This is why our localhost installs don't throw this error.

(In reply to comment #5)

No, this is because bits.wikimedia.org is not en.wikipedia.org or whatever the
project's URL is. We need to not server this file from bits.wikimedia.org but
rather go back to serving it from the project domain as it was when I designed
this skin. This is why our localhost installs don't throw this error.

Sounds like a relatively easy fix, considering that the file is still being served at the old en.wikipedia.org URL. Probably does need addition of an extra $wgStylePath-like var though.

Resolved in r65555 by adding $wgLocalStylePath, which shall not be changed to point to a domain different from the site, ever! Now Vector uses this when including the csshover.htc file.