Last modified: 2013-10-24 21:54:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58107, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56107 - mw.loader.inspect( 'CSS' ) on IE 8 gives "sheet.cssRules is null or not a object"
mw.loader.inspect( 'CSS' ) on IE 8 gives "sheet.cssRules is null or not a obj...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.22.0
All All
: High normal (vote)
: 1.22.0 release
Assigned To: Bartosz Dziewoński
:
Depends on:
Blocks: 55683
  Show dependency treegraph
 
Reported: 2013-10-24 16:46 UTC by Umherirrender
Modified: 2013-10-24 21:54 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Umherirrender 2013-10-24 16:46:54 UTC
Enter mw.loader.inspect( 'CSS' ) in the developer tool on IE8 gives a javascript error:
"'sheet.cssRules' is null or not a object"
Comment 1 Bartosz Dziewoński 2013-10-24 16:50:02 UTC
Hmmm… I think IE8 should support this interface, so maybe they're using the non-standards-compliant 'rules' property instead of 'cssRules'? I know Chrome supports both names.
Comment 2 Umherirrender 2013-10-24 19:23:14 UTC
Should be style.styleSheet.rules
Comment 3 Gerrit Notification Bot 2013-10-24 19:32:22 UTC
Change 91657 had a related patch set uploaded by Bartosz Dziewoński:
mediawiki.inspect: Support IE8's style.sheet.rules property

https://gerrit.wikimedia.org/r/91657
Comment 4 Bartosz Dziewoński 2013-10-24 19:33:01 UTC
Umherirrender, can you test the patch above?
Comment 5 Gerrit Notification Bot 2013-10-24 20:59:17 UTC
Change 91766 had a related patch set uploaded by Bartosz Dziewoński:
mediawiki.inspect: Support IE8's style.sheet.rules property

https://gerrit.wikimedia.org/r/91766
Comment 6 Gerrit Notification Bot 2013-10-24 21:36:18 UTC
Change 91657 merged by jenkins-bot:
mediawiki.inspect: Support IE8's style.sheet.rules property

https://gerrit.wikimedia.org/r/91657
Comment 7 Gerrit Notification Bot 2013-10-24 21:42:23 UTC
Change 91766 merged by jenkins-bot:
mediawiki.inspect: Support IE8's style.sheet.rules property

https://gerrit.wikimedia.org/r/91766
Comment 8 Bartosz Dziewoński 2013-10-24 21:54:41 UTC
Fixed, backported to 1.22. Thanks.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links