Add new cases for ext02 module due to spec change
[test/tct/web/wrt.git] / tct-ext02-wrt-tests / connect-src-none / support / csp.js
1 /*
2 Copyright (c) 2013 Intel Corporation.
3
4 Redistribution and use in source and binary forms, with or without modification,
5 are permitted provided that the following conditions are met:
6
7 * Redistributions of works must retain the original copyright notice, this list
8   of conditions and the following disclaimer.
9 * Redistributions in binary form must reproduce the original copyright notice,
10   this list of conditions and the following disclaimer in the documentation
11   and/or other materials provided with the distribution.
12 * Neither the name of Intel Corporation nor the names of its contributors
13   may be used to endorse or promote products derived from this work without
14   specific prior written permission.
15
16 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
17 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
20 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
23 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
25 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
27 Authors:
28         Zhang, Zhiqiang <zhiqiang.zhang@intel.com>
29
30 */
31
32 var X = 10;
33 var Y = eval(X + 17);