Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
13 | |||
14 | |||
15 | |||
16 |
|
||
17 |
|
||
18 | |||
19 | The "insertData(offset,arg)" method raises an |
||
20 | INDEX_SIZE_ERR DOMException if the specified offset |
||
21 | is negative. |
||
22 | |||
23 | Retrieve the character data of the last child of the |
||
24 | first employee and invoke its insertData"(offset,arg)" |
||
25 | method with offset=-5 and arg="ABC". It should raise |
||
26 | the desired exception since the offset is negative. |
||
27 | |||
28 | |||
29 |
|
||
30 | |||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | !DOCTYPE>!-- |