| Index: qunit/tests/url.js |
| =================================================================== |
| --- a/qunit/tests/url.js |
| +++ b/qunit/tests/url.js |
| @@ -12,17 +12,16 @@ |
| * GNU General Public License for more details. |
| * |
| * You should have received a copy of the GNU General Public License |
| * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| "use strict"; |
| -(function() |
| { |
| let {getDecodedHostname, |
| extractHostFromFrame, |
| stringifyURL, |
| isThirdParty} = require("url"); |
| module("URL/host tools"); |
| @@ -174,9 +173,9 @@ |
| "[::ffff:192.0.2.128]", "[::ffff:192.1.2.128]", true, |
| "different IPv4-mapped IPv6 address is third-party" |
| ); |
| testThirdParty("xn--f-1gaa.com", "f\u00f6\u00f6.com", false, |
| "same IDN isn't third-party"); |
| testThirdParty("example.com..", "example.com....", false, |
| "traling dots are ignored"); |
| }); |
| -}()); |
| +} |