jquery.textSelection.test: Fix regression in Opera
authorMatmaRex <matma.rex@gmail.com>
Sat, 23 Mar 2013 20:03:04 +0000 (21:03 +0100)
committerKrinkle <ttijhof@wikimedia.org>
Thu, 28 Mar 2013 04:56:27 +0000 (04:56 +0000)
commita9faef2a155efb9ed1619da0da71b4db0bd29ac9
treeb4bc9b2bc64117171b0da5125f641d49820adb48
parent23a8968cad32a667af1689fe8d81be318b06fa55
jquery.textSelection.test: Fix regression in Opera

Removing a window.opera-guarded part of code that was supposed to
"[c]ompensate for Opera's craziness converting \n to \r\n and counting
that as two chars". That craziness was apparently fixed some time ago
and the tests were now failing.

This makes the QUnit tests pass on Opera again.

Bug: 41931
Change-Id: Ide3a95e8e86ee65c8e1ea357aefa44dd2bbd4ed4
tests/qunit/suites/resources/jquery/jquery.textSelection.test.js