NASHORN-71.js revision 2:da1e581c933b
1249997Swkoszek/* 2250015Swkoszek * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. 3249997Swkoszek * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4250015Swkoszek * 5249997Swkoszek * This code is free software; you can redistribute it and/or modify it 6250015Swkoszek * under the terms of the GNU General Public License version 2 only, as 7250015Swkoszek * published by the Free Software Foundation. 8250015Swkoszek * 9250015Swkoszek * This code is distributed in the hope that it will be useful, but WITHOUT 10250015Swkoszek * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11250015Swkoszek * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12250015Swkoszek * version 2 for more details (a copy is included in the LICENSE file that 13250015Swkoszek * accompanied this code). 14250015Swkoszek * 15250015Swkoszek * You should have received a copy of the GNU General Public License version 16249997Swkoszek * 2 along with this work; if not, write to the Free Software Foundation, 17250015Swkoszek * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18250015Swkoszek * 19250015Swkoszek * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20250015Swkoszek * or visit www.oracle.com if you need additional information or have any 21250015Swkoszek * questions. 22249997Swkoszek */ 23250015Swkoszek 24250015Swkoszek/** 25249997Swkoszek * NASHORN-71 : Global functions decodeURI, decodeURICompondet are not implemdeted. 26250015Swkoszek * 27249997Swkoszek * @test 28249997Swkoszek * @run 29250015Swkoszek */ 30250015Swkoszek 31249997Swkoszekprint(decodeURI("It's%20me!!")); 32249997Swkoszekprint(decodeURI("http://en.wikipedia.org/wiki/%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B5%D0%B9")); 33249997Swkoszekprint(decodeURIComponent("Sk%C3%A5l")); 34249997Swkoszek