Page MenuHomePhabricator

Fix banners on IE8 and IE9
Closed, ResolvedPublic1 Estimated Story Points

Description

As uncovered by @XenoRyet, banners don't show up on IE9 platform at all!

Further digging: they're also not showing up on IE8!

From initial tests: it may not be the same issue on both.

Together these browsers represent 2.65% of our users.

Event Timeline

AndyRussG raised the priority of this task from to Medium.
AndyRussG updated the task description. (Show Details)
AndyRussG moved this task to Backlog on the Fundraising Sprint Tom Waits board.
AndyRussG added subscribers: AndyRussG, XenoRyet.
AndyRussG renamed this task from Banners not showing on IE9 to Fix banners on IE9.Sep 18 2015, 3:12 AM
AndyRussG updated the task description. (Show Details)
AndyRussG set Security to None.
AndyRussG renamed this task from Fix banners on IE9 to Fix banners on IE8 and IE9.Sep 19 2015, 12:15 AM
AndyRussG updated the task description. (Show Details)
AndyRussG edited a custom field.
AndyRussG moved this task from Backlog to Doing on the Fundraising Sprint William Shatner board.

Update:

Many thanks to @Krinkle and @matmarex for help debugging and finding that!

Change 250896 had a related patch set uploaded (by AndyRussG):
Stronger check for Object.defineProperty, to handle IE8

https://gerrit.wikimedia.org/r/250896

Change 250896 merged by Ejegg:
Stronger check for Object.defineProperty, to handle IE8

https://gerrit.wikimedia.org/r/250896

Our fix for this was deployed. Locally, banners work on IE8 for me. They also work on the beta cluster.

However, on production , they still don't! I'm still getting the same "TypeError: Object doesn't support this property or methodTypeError: Object doesn't support this property or method" error. While sometimes the message says it comes from ext.centralNotice.startUp, other times it says the error is from "module-execute".

In view of the above, it seems likely that this not the fault of CentralNotice. We could investigate further...

Just to note, it was announced that MediaWiki's JS support for IE8 is being dropped in January anyway. https://lists.wikimedia.org/pipermail/wikitech-l/2015-November/083964.html

Thanks @Pcoombe! Weeee... excellent timing. I'd definitely suggest we close this card then. :)

Marked "Resolved" rather than "Declined" since it appears likely that we fixed the only CentralNotice-related issue (not investigating to check for sure, though).